@easyedu/js-lsm-api 1.135.0 → 1.137.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 +8 -2
- package/dist/apis/EmailTemplateApi.d.ts +25 -0
- package/dist/apis/EmailTemplateApi.js +71 -0
- package/dist/apis/SystemApi.d.ts +17 -0
- package/dist/apis/SystemApi.js +45 -0
- package/dist/esm/apis/EmailTemplateApi.d.ts +25 -0
- package/dist/esm/apis/EmailTemplateApi.js +71 -0
- package/dist/esm/apis/SystemApi.d.ts +17 -0
- package/dist/esm/apis/SystemApi.js +45 -0
- package/dist/esm/models/GetEmailTemplateTestRecipientList.d.ts +33 -0
- package/dist/esm/models/GetEmailTemplateTestRecipientList.js +44 -0
- package/dist/esm/models/GetEmailTemplateTestRecipientListItemsInner.d.ts +38 -0
- package/dist/esm/models/GetEmailTemplateTestRecipientListItemsInner.js +47 -0
- package/dist/esm/models/GetPortal.d.ts +12 -0
- package/dist/esm/models/GetPortal.js +6 -0
- package/dist/esm/models/PutSystemPortal.d.ts +32 -0
- package/dist/esm/models/PutSystemPortal.js +41 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/GetEmailTemplateTestRecipientList.d.ts +33 -0
- package/dist/models/GetEmailTemplateTestRecipientList.js +51 -0
- package/dist/models/GetEmailTemplateTestRecipientListItemsInner.d.ts +38 -0
- package/dist/models/GetEmailTemplateTestRecipientListItemsInner.js +54 -0
- package/dist/models/GetPortal.d.ts +12 -0
- package/dist/models/GetPortal.js +6 -0
- package/dist/models/PutSystemPortal.d.ts +32 -0
- package/dist/models/PutSystemPortal.js +48 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/EmailTemplateApi.md +118 -0
- package/docs/GetEmailTemplateTestRecipientList.md +35 -0
- package/docs/GetEmailTemplateTestRecipientListItemsInner.md +36 -0
- package/docs/GetPortal.md +4 -0
- package/docs/PutSystemPortal.md +35 -0
- package/docs/SystemApi.md +71 -0
- package/package.json +1 -1
- package/src/apis/EmailTemplateApi.ts +79 -0
- package/src/apis/SystemApi.ts +65 -0
- package/src/models/GetEmailTemplateTestRecipientList.ts +74 -0
- package/src/models/GetEmailTemplateTestRecipientListItemsInner.ts +75 -0
- package/src/models/GetPortal.ts +17 -0
- package/src/models/PutSystemPortal.ts +65 -0
- package/src/models/index.ts +3 -0
|
@@ -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 GetEmailTemplateTestRecipientListItemsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface GetEmailTemplateTestRecipientListItemsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetEmailTemplateTestRecipientListItemsInner
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
* Display name for the recipient.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetEmailTemplateTestRecipientListItemsInner
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetEmailTemplateTestRecipientListItemsInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetEmailTemplateTestRecipientListItemsInner(value: object): value is GetEmailTemplateTestRecipientListItemsInner;
|
|
35
|
+
export declare function GetEmailTemplateTestRecipientListItemsInnerFromJSON(json: any): GetEmailTemplateTestRecipientListItemsInner;
|
|
36
|
+
export declare function GetEmailTemplateTestRecipientListItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetEmailTemplateTestRecipientListItemsInner;
|
|
37
|
+
export declare function GetEmailTemplateTestRecipientListItemsInnerToJSON(json: any): GetEmailTemplateTestRecipientListItemsInner;
|
|
38
|
+
export declare function GetEmailTemplateTestRecipientListItemsInnerToJSONTyped(value?: GetEmailTemplateTestRecipientListItemsInner | 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 GetEmailTemplateTestRecipientListItemsInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetEmailTemplateTestRecipientListItemsInner(value) {
|
|
18
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function GetEmailTemplateTestRecipientListItemsInnerFromJSON(json) {
|
|
25
|
+
return GetEmailTemplateTestRecipientListItemsInnerFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GetEmailTemplateTestRecipientListItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'email': json['email'],
|
|
33
|
+
'name': json['name'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function GetEmailTemplateTestRecipientListItemsInnerToJSON(json) {
|
|
37
|
+
return GetEmailTemplateTestRecipientListItemsInnerToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function GetEmailTemplateTestRecipientListItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'email': value['email'],
|
|
45
|
+
'name': value['name'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -78,6 +78,18 @@ export interface GetPortal {
|
|
|
78
78
|
* @memberof GetPortal
|
|
79
79
|
*/
|
|
80
80
|
brandingTheme: PortalBrandThemeV1;
|
|
81
|
+
/**
|
|
82
|
+
* Whether the platform has verified this portal. Email templates can only be changed on verified portals.
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
* @memberof GetPortal
|
|
85
|
+
*/
|
|
86
|
+
verified: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* When the portal was verified, as Unix seconds.
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof GetPortal
|
|
91
|
+
*/
|
|
92
|
+
verifiedAt?: number | null;
|
|
81
93
|
/**
|
|
82
94
|
* The user's highest-privilege role base type for this portal
|
|
83
95
|
* @type {GetPortalBaseTypeEnum}
|
|
@@ -38,6 +38,8 @@ export function instanceOfGetPortal(value) {
|
|
|
38
38
|
return false;
|
|
39
39
|
if (!('brandingTheme' in value) || value['brandingTheme'] === undefined)
|
|
40
40
|
return false;
|
|
41
|
+
if (!('verified' in value) || value['verified'] === undefined)
|
|
42
|
+
return false;
|
|
41
43
|
return true;
|
|
42
44
|
}
|
|
43
45
|
export function GetPortalFromJSON(json) {
|
|
@@ -58,6 +60,8 @@ export function GetPortalFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'headerBackgroundColor': json['header_background_color'],
|
|
59
61
|
'headerTextColor': json['header_text_color'],
|
|
60
62
|
'brandingTheme': PortalBrandThemeV1FromJSON(json['branding_theme']),
|
|
63
|
+
'verified': json['verified'],
|
|
64
|
+
'verifiedAt': json['verified_at'] == null ? undefined : json['verified_at'],
|
|
61
65
|
'baseType': json['base_type'] == null ? undefined : json['base_type'],
|
|
62
66
|
};
|
|
63
67
|
}
|
|
@@ -79,6 +83,8 @@ export function GetPortalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
79
83
|
'header_background_color': value['headerBackgroundColor'],
|
|
80
84
|
'header_text_color': value['headerTextColor'],
|
|
81
85
|
'branding_theme': PortalBrandThemeV1ToJSON(value['brandingTheme']),
|
|
86
|
+
'verified': value['verified'],
|
|
87
|
+
'verified_at': value['verifiedAt'],
|
|
82
88
|
'base_type': value['baseType'],
|
|
83
89
|
};
|
|
84
90
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
* Platform-managed portal settings. Omitted fields are left unchanged.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PutSystemPortal
|
|
16
|
+
*/
|
|
17
|
+
export interface PutSystemPortal {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the platform has verified this portal. Unverified portals cannot change their email templates.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof PutSystemPortal
|
|
22
|
+
*/
|
|
23
|
+
verified?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PutSystemPortal interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPutSystemPortal(value: object): value is PutSystemPortal;
|
|
29
|
+
export declare function PutSystemPortalFromJSON(json: any): PutSystemPortal;
|
|
30
|
+
export declare function PutSystemPortalFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutSystemPortal;
|
|
31
|
+
export declare function PutSystemPortalToJSON(json: any): PutSystemPortal;
|
|
32
|
+
export declare function PutSystemPortalToJSONTyped(value?: PutSystemPortal | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 PutSystemPortal interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPutSystemPortal(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PutSystemPortalFromJSON(json) {
|
|
21
|
+
return PutSystemPortalFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PutSystemPortalFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'verified': json['verified'] == null ? undefined : json['verified'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function PutSystemPortalToJSON(json) {
|
|
32
|
+
return PutSystemPortalToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function PutSystemPortalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'verified': value['verified'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -95,6 +95,8 @@ export * from './GetEmailDeliveryList';
|
|
|
95
95
|
export * from './GetEmailTemplate';
|
|
96
96
|
export * from './GetEmailTemplateList';
|
|
97
97
|
export * from './GetEmailTemplatePreview';
|
|
98
|
+
export * from './GetEmailTemplateTestRecipientList';
|
|
99
|
+
export * from './GetEmailTemplateTestRecipientListItemsInner';
|
|
98
100
|
export * from './GetHostedScormRegistration';
|
|
99
101
|
export * from './GetHostedScormRegistrationList';
|
|
100
102
|
export * from './GetLearnerDashboard';
|
|
@@ -348,6 +350,7 @@ export * from './PutResourceVersion';
|
|
|
348
350
|
export * from './PutRole';
|
|
349
351
|
export * from './PutRolePermissions';
|
|
350
352
|
export * from './PutSupportTicket';
|
|
353
|
+
export * from './PutSystemPortal';
|
|
351
354
|
export * from './PutUser';
|
|
352
355
|
export * from './PutZapierSetup';
|
|
353
356
|
export * from './QuestionImportCommitResult';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -97,6 +97,8 @@ export * from './GetEmailDeliveryList';
|
|
|
97
97
|
export * from './GetEmailTemplate';
|
|
98
98
|
export * from './GetEmailTemplateList';
|
|
99
99
|
export * from './GetEmailTemplatePreview';
|
|
100
|
+
export * from './GetEmailTemplateTestRecipientList';
|
|
101
|
+
export * from './GetEmailTemplateTestRecipientListItemsInner';
|
|
100
102
|
export * from './GetHostedScormRegistration';
|
|
101
103
|
export * from './GetHostedScormRegistrationList';
|
|
102
104
|
export * from './GetLearnerDashboard';
|
|
@@ -350,6 +352,7 @@ export * from './PutResourceVersion';
|
|
|
350
352
|
export * from './PutRole';
|
|
351
353
|
export * from './PutRolePermissions';
|
|
352
354
|
export * from './PutSupportTicket';
|
|
355
|
+
export * from './PutSystemPortal';
|
|
353
356
|
export * from './PutUser';
|
|
354
357
|
export * from './PutZapierSetup';
|
|
355
358
|
export * from './QuestionImportCommitResult';
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { GetEmailTemplateTestRecipientListItemsInner } from './GetEmailTemplateTestRecipientListItemsInner';
|
|
13
|
+
/**
|
|
14
|
+
* Addresses allowed to receive template test emails: enabled admins and instructors of the caller's selected portal who accepted their portal invitation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetEmailTemplateTestRecipientList
|
|
17
|
+
*/
|
|
18
|
+
export interface GetEmailTemplateTestRecipientList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<GetEmailTemplateTestRecipientListItemsInner>}
|
|
22
|
+
* @memberof GetEmailTemplateTestRecipientList
|
|
23
|
+
*/
|
|
24
|
+
items: Array<GetEmailTemplateTestRecipientListItemsInner>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the GetEmailTemplateTestRecipientList interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfGetEmailTemplateTestRecipientList(value: object): value is GetEmailTemplateTestRecipientList;
|
|
30
|
+
export declare function GetEmailTemplateTestRecipientListFromJSON(json: any): GetEmailTemplateTestRecipientList;
|
|
31
|
+
export declare function GetEmailTemplateTestRecipientListFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetEmailTemplateTestRecipientList;
|
|
32
|
+
export declare function GetEmailTemplateTestRecipientListToJSON(json: any): GetEmailTemplateTestRecipientList;
|
|
33
|
+
export declare function GetEmailTemplateTestRecipientListToJSONTyped(value?: GetEmailTemplateTestRecipientList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfGetEmailTemplateTestRecipientList = instanceOfGetEmailTemplateTestRecipientList;
|
|
17
|
+
exports.GetEmailTemplateTestRecipientListFromJSON = GetEmailTemplateTestRecipientListFromJSON;
|
|
18
|
+
exports.GetEmailTemplateTestRecipientListFromJSONTyped = GetEmailTemplateTestRecipientListFromJSONTyped;
|
|
19
|
+
exports.GetEmailTemplateTestRecipientListToJSON = GetEmailTemplateTestRecipientListToJSON;
|
|
20
|
+
exports.GetEmailTemplateTestRecipientListToJSONTyped = GetEmailTemplateTestRecipientListToJSONTyped;
|
|
21
|
+
const GetEmailTemplateTestRecipientListItemsInner_1 = require("./GetEmailTemplateTestRecipientListItemsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetEmailTemplateTestRecipientList interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetEmailTemplateTestRecipientList(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function GetEmailTemplateTestRecipientListFromJSON(json) {
|
|
31
|
+
return GetEmailTemplateTestRecipientListFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function GetEmailTemplateTestRecipientListFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'items': (json['items'].map(GetEmailTemplateTestRecipientListItemsInner_1.GetEmailTemplateTestRecipientListItemsInnerFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GetEmailTemplateTestRecipientListToJSON(json) {
|
|
42
|
+
return GetEmailTemplateTestRecipientListToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GetEmailTemplateTestRecipientListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'items': (value['items'].map(GetEmailTemplateTestRecipientListItemsInner_1.GetEmailTemplateTestRecipientListItemsInnerToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 GetEmailTemplateTestRecipientListItemsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface GetEmailTemplateTestRecipientListItemsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetEmailTemplateTestRecipientListItemsInner
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
* Display name for the recipient.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetEmailTemplateTestRecipientListItemsInner
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetEmailTemplateTestRecipientListItemsInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetEmailTemplateTestRecipientListItemsInner(value: object): value is GetEmailTemplateTestRecipientListItemsInner;
|
|
35
|
+
export declare function GetEmailTemplateTestRecipientListItemsInnerFromJSON(json: any): GetEmailTemplateTestRecipientListItemsInner;
|
|
36
|
+
export declare function GetEmailTemplateTestRecipientListItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetEmailTemplateTestRecipientListItemsInner;
|
|
37
|
+
export declare function GetEmailTemplateTestRecipientListItemsInnerToJSON(json: any): GetEmailTemplateTestRecipientListItemsInner;
|
|
38
|
+
export declare function GetEmailTemplateTestRecipientListItemsInnerToJSONTyped(value?: GetEmailTemplateTestRecipientListItemsInner | 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.instanceOfGetEmailTemplateTestRecipientListItemsInner = instanceOfGetEmailTemplateTestRecipientListItemsInner;
|
|
17
|
+
exports.GetEmailTemplateTestRecipientListItemsInnerFromJSON = GetEmailTemplateTestRecipientListItemsInnerFromJSON;
|
|
18
|
+
exports.GetEmailTemplateTestRecipientListItemsInnerFromJSONTyped = GetEmailTemplateTestRecipientListItemsInnerFromJSONTyped;
|
|
19
|
+
exports.GetEmailTemplateTestRecipientListItemsInnerToJSON = GetEmailTemplateTestRecipientListItemsInnerToJSON;
|
|
20
|
+
exports.GetEmailTemplateTestRecipientListItemsInnerToJSONTyped = GetEmailTemplateTestRecipientListItemsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetEmailTemplateTestRecipientListItemsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetEmailTemplateTestRecipientListItemsInner(value) {
|
|
25
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetEmailTemplateTestRecipientListItemsInnerFromJSON(json) {
|
|
32
|
+
return GetEmailTemplateTestRecipientListItemsInnerFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetEmailTemplateTestRecipientListItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'email': json['email'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetEmailTemplateTestRecipientListItemsInnerToJSON(json) {
|
|
44
|
+
return GetEmailTemplateTestRecipientListItemsInnerToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetEmailTemplateTestRecipientListItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'email': value['email'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -78,6 +78,18 @@ export interface GetPortal {
|
|
|
78
78
|
* @memberof GetPortal
|
|
79
79
|
*/
|
|
80
80
|
brandingTheme: PortalBrandThemeV1;
|
|
81
|
+
/**
|
|
82
|
+
* Whether the platform has verified this portal. Email templates can only be changed on verified portals.
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
* @memberof GetPortal
|
|
85
|
+
*/
|
|
86
|
+
verified: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* When the portal was verified, as Unix seconds.
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof GetPortal
|
|
91
|
+
*/
|
|
92
|
+
verifiedAt?: number | null;
|
|
81
93
|
/**
|
|
82
94
|
* The user's highest-privilege role base type for this portal
|
|
83
95
|
* @type {GetPortalBaseTypeEnum}
|
package/dist/models/GetPortal.js
CHANGED
|
@@ -46,6 +46,8 @@ function instanceOfGetPortal(value) {
|
|
|
46
46
|
return false;
|
|
47
47
|
if (!('brandingTheme' in value) || value['brandingTheme'] === undefined)
|
|
48
48
|
return false;
|
|
49
|
+
if (!('verified' in value) || value['verified'] === undefined)
|
|
50
|
+
return false;
|
|
49
51
|
return true;
|
|
50
52
|
}
|
|
51
53
|
function GetPortalFromJSON(json) {
|
|
@@ -66,6 +68,8 @@ function GetPortalFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
68
|
'headerBackgroundColor': json['header_background_color'],
|
|
67
69
|
'headerTextColor': json['header_text_color'],
|
|
68
70
|
'brandingTheme': (0, PortalBrandThemeV1_1.PortalBrandThemeV1FromJSON)(json['branding_theme']),
|
|
71
|
+
'verified': json['verified'],
|
|
72
|
+
'verifiedAt': json['verified_at'] == null ? undefined : json['verified_at'],
|
|
69
73
|
'baseType': json['base_type'] == null ? undefined : json['base_type'],
|
|
70
74
|
};
|
|
71
75
|
}
|
|
@@ -87,6 +91,8 @@ function GetPortalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
87
91
|
'header_background_color': value['headerBackgroundColor'],
|
|
88
92
|
'header_text_color': value['headerTextColor'],
|
|
89
93
|
'branding_theme': (0, PortalBrandThemeV1_1.PortalBrandThemeV1ToJSON)(value['brandingTheme']),
|
|
94
|
+
'verified': value['verified'],
|
|
95
|
+
'verified_at': value['verifiedAt'],
|
|
90
96
|
'base_type': value['baseType'],
|
|
91
97
|
};
|
|
92
98
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
* Platform-managed portal settings. Omitted fields are left unchanged.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PutSystemPortal
|
|
16
|
+
*/
|
|
17
|
+
export interface PutSystemPortal {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the platform has verified this portal. Unverified portals cannot change their email templates.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof PutSystemPortal
|
|
22
|
+
*/
|
|
23
|
+
verified?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PutSystemPortal interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPutSystemPortal(value: object): value is PutSystemPortal;
|
|
29
|
+
export declare function PutSystemPortalFromJSON(json: any): PutSystemPortal;
|
|
30
|
+
export declare function PutSystemPortalFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutSystemPortal;
|
|
31
|
+
export declare function PutSystemPortalToJSON(json: any): PutSystemPortal;
|
|
32
|
+
export declare function PutSystemPortalToJSONTyped(value?: PutSystemPortal | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.instanceOfPutSystemPortal = instanceOfPutSystemPortal;
|
|
17
|
+
exports.PutSystemPortalFromJSON = PutSystemPortalFromJSON;
|
|
18
|
+
exports.PutSystemPortalFromJSONTyped = PutSystemPortalFromJSONTyped;
|
|
19
|
+
exports.PutSystemPortalToJSON = PutSystemPortalToJSON;
|
|
20
|
+
exports.PutSystemPortalToJSONTyped = PutSystemPortalToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PutSystemPortal interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPutSystemPortal(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PutSystemPortalFromJSON(json) {
|
|
28
|
+
return PutSystemPortalFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PutSystemPortalFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'verified': json['verified'] == null ? undefined : json['verified'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function PutSystemPortalToJSON(json) {
|
|
39
|
+
return PutSystemPortalToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function PutSystemPortalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'verified': value['verified'],
|
|
47
|
+
};
|
|
48
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -95,6 +95,8 @@ export * from './GetEmailDeliveryList';
|
|
|
95
95
|
export * from './GetEmailTemplate';
|
|
96
96
|
export * from './GetEmailTemplateList';
|
|
97
97
|
export * from './GetEmailTemplatePreview';
|
|
98
|
+
export * from './GetEmailTemplateTestRecipientList';
|
|
99
|
+
export * from './GetEmailTemplateTestRecipientListItemsInner';
|
|
98
100
|
export * from './GetHostedScormRegistration';
|
|
99
101
|
export * from './GetHostedScormRegistrationList';
|
|
100
102
|
export * from './GetLearnerDashboard';
|
|
@@ -348,6 +350,7 @@ export * from './PutResourceVersion';
|
|
|
348
350
|
export * from './PutRole';
|
|
349
351
|
export * from './PutRolePermissions';
|
|
350
352
|
export * from './PutSupportTicket';
|
|
353
|
+
export * from './PutSystemPortal';
|
|
351
354
|
export * from './PutUser';
|
|
352
355
|
export * from './PutZapierSetup';
|
|
353
356
|
export * from './QuestionImportCommitResult';
|
package/dist/models/index.js
CHANGED
|
@@ -113,6 +113,8 @@ __exportStar(require("./GetEmailDeliveryList"), exports);
|
|
|
113
113
|
__exportStar(require("./GetEmailTemplate"), exports);
|
|
114
114
|
__exportStar(require("./GetEmailTemplateList"), exports);
|
|
115
115
|
__exportStar(require("./GetEmailTemplatePreview"), exports);
|
|
116
|
+
__exportStar(require("./GetEmailTemplateTestRecipientList"), exports);
|
|
117
|
+
__exportStar(require("./GetEmailTemplateTestRecipientListItemsInner"), exports);
|
|
116
118
|
__exportStar(require("./GetHostedScormRegistration"), exports);
|
|
117
119
|
__exportStar(require("./GetHostedScormRegistrationList"), exports);
|
|
118
120
|
__exportStar(require("./GetLearnerDashboard"), exports);
|
|
@@ -366,6 +368,7 @@ __exportStar(require("./PutResourceVersion"), exports);
|
|
|
366
368
|
__exportStar(require("./PutRole"), exports);
|
|
367
369
|
__exportStar(require("./PutRolePermissions"), exports);
|
|
368
370
|
__exportStar(require("./PutSupportTicket"), exports);
|
|
371
|
+
__exportStar(require("./PutSystemPortal"), exports);
|
|
369
372
|
__exportStar(require("./PutUser"), exports);
|
|
370
373
|
__exportStar(require("./PutZapierSetup"), exports);
|
|
371
374
|
__exportStar(require("./QuestionImportCommitResult"), exports);
|