@easyedu/js-lsm-api 1.104.0 → 1.106.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 +8 -3
- package/dist/apis/EmailTemplateApi.d.ts +32 -0
- package/dist/apis/EmailTemplateApi.js +64 -1
- package/dist/apis/PortalApi.d.ts +2 -2
- package/dist/apis/PortalApi.js +2 -2
- package/dist/esm/apis/EmailTemplateApi.d.ts +32 -0
- package/dist/esm/apis/EmailTemplateApi.js +63 -0
- package/dist/esm/apis/PortalApi.d.ts +2 -2
- package/dist/esm/apis/PortalApi.js +2 -2
- package/dist/esm/models/GetEmailDelivery.d.ts +31 -0
- package/dist/esm/models/GetEmailDelivery.js +13 -0
- package/dist/esm/models/GetPortal.d.ts +11 -2
- package/dist/esm/models/GetPortal.js +5 -0
- package/dist/esm/models/GetPortalInvitationSummary.d.ts +102 -0
- package/dist/esm/models/GetPortalInvitationSummary.js +87 -0
- package/dist/esm/models/GetPortalUser.d.ts +7 -0
- package/dist/esm/models/GetPortalUser.js +3 -0
- package/dist/esm/models/GetPublicPortalBranding.d.ts +11 -2
- package/dist/esm/models/GetPublicPortalBranding.js +5 -0
- package/dist/esm/models/PortalBrandColorsV1.d.ts +194 -0
- package/dist/esm/models/PortalBrandColorsV1.js +151 -0
- package/dist/esm/models/PortalBrandThemeV1.d.ts +53 -0
- package/dist/esm/models/PortalBrandThemeV1.js +59 -0
- package/dist/esm/models/PortalBrandTypographyV1.d.ts +80 -0
- package/dist/esm/models/PortalBrandTypographyV1.js +78 -0
- package/dist/esm/models/PostPortal.d.ts +9 -0
- package/dist/esm/models/PostPortal.js +3 -0
- package/dist/esm/models/PutPortalBranding.d.ts +9 -0
- package/dist/esm/models/PutPortalBranding.js +3 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/models/GetEmailDelivery.d.ts +31 -0
- package/dist/models/GetEmailDelivery.js +13 -0
- package/dist/models/GetPortal.d.ts +11 -2
- package/dist/models/GetPortal.js +5 -0
- package/dist/models/GetPortalInvitationSummary.d.ts +102 -0
- package/dist/models/GetPortalInvitationSummary.js +95 -0
- package/dist/models/GetPortalUser.d.ts +7 -0
- package/dist/models/GetPortalUser.js +3 -0
- package/dist/models/GetPublicPortalBranding.d.ts +11 -2
- package/dist/models/GetPublicPortalBranding.js +5 -0
- package/dist/models/PortalBrandColorsV1.d.ts +194 -0
- package/dist/models/PortalBrandColorsV1.js +158 -0
- package/dist/models/PortalBrandThemeV1.d.ts +53 -0
- package/dist/models/PortalBrandThemeV1.js +67 -0
- package/dist/models/PortalBrandTypographyV1.d.ts +80 -0
- package/dist/models/PortalBrandTypographyV1.js +86 -0
- package/dist/models/PostPortal.d.ts +9 -0
- package/dist/models/PostPortal.js +3 -0
- package/dist/models/PutPortalBranding.d.ts +9 -0
- package/dist/models/PutPortalBranding.js +3 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/docs/EmailTemplateApi.md +82 -1
- package/docs/GetEmailDelivery.md +10 -0
- package/docs/GetPortal.md +2 -0
- package/docs/GetPortalInvitationSummary.md +51 -0
- package/docs/GetPortalUser.md +2 -0
- package/docs/GetPublicPortalBranding.md +2 -0
- package/docs/PortalApi.md +2 -2
- package/docs/PortalBrandColorsV1.md +89 -0
- package/docs/PortalBrandThemeV1.md +39 -0
- package/docs/PortalBrandTypographyV1.md +47 -0
- package/docs/PostPortal.md +2 -0
- package/docs/PutPortalBranding.md +2 -0
- package/package.json +1 -1
- package/src/apis/EmailTemplateApi.ts +83 -0
- package/src/apis/PortalApi.ts +2 -2
- package/src/models/GetEmailDelivery.ts +49 -0
- package/src/models/GetPortal.ts +21 -2
- package/src/models/GetPortalInvitationSummary.ts +160 -0
- package/src/models/GetPortalUser.ts +16 -0
- package/src/models/GetPublicPortalBranding.ts +21 -2
- package/src/models/PortalBrandColorsV1.ts +309 -0
- package/src/models/PortalBrandThemeV1.ts +109 -0
- package/src/models/PortalBrandTypographyV1.ts +135 -0
- package/src/models/PostPortal.ts +18 -0
- package/src/models/PutPortalBranding.ts +18 -0
- package/src/models/index.ts +4 -0
|
@@ -0,0 +1,102 @@
|
|
|
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
|
+
* Invitation lifecycle and latest email delivery state for a portal user.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetPortalInvitationSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPortalInvitationSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetPortalInvitationSummary
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {GetPortalInvitationSummaryStatusEnum}
|
|
27
|
+
* @memberof GetPortalInvitationSummary
|
|
28
|
+
*/
|
|
29
|
+
status: GetPortalInvitationSummaryStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetPortalInvitationSummary
|
|
34
|
+
*/
|
|
35
|
+
invitedAt: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetPortalInvitationSummary
|
|
40
|
+
*/
|
|
41
|
+
expiresAt: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetPortalInvitationSummary
|
|
46
|
+
*/
|
|
47
|
+
acceptedAt?: number | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof GetPortalInvitationSummary
|
|
52
|
+
*/
|
|
53
|
+
lastSentAt?: number | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {GetPortalInvitationSummaryLatestDeliveryStatusEnum}
|
|
57
|
+
* @memberof GetPortalInvitationSummary
|
|
58
|
+
*/
|
|
59
|
+
latestDeliveryStatus?: GetPortalInvitationSummaryLatestDeliveryStatusEnum | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof GetPortalInvitationSummary
|
|
64
|
+
*/
|
|
65
|
+
canResend: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof GetPortalInvitationSummary
|
|
70
|
+
*/
|
|
71
|
+
resendBlockedReason?: string | null;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const GetPortalInvitationSummaryStatusEnum: {
|
|
77
|
+
readonly Pending: "pending";
|
|
78
|
+
readonly Expired: "expired";
|
|
79
|
+
readonly Accepted: "accepted";
|
|
80
|
+
};
|
|
81
|
+
export type GetPortalInvitationSummaryStatusEnum = typeof GetPortalInvitationSummaryStatusEnum[keyof typeof GetPortalInvitationSummaryStatusEnum];
|
|
82
|
+
/**
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
85
|
+
export declare const GetPortalInvitationSummaryLatestDeliveryStatusEnum: {
|
|
86
|
+
readonly Queued: "queued";
|
|
87
|
+
readonly Processing: "processing";
|
|
88
|
+
readonly Accepted: "accepted";
|
|
89
|
+
readonly Delivered: "delivered";
|
|
90
|
+
readonly Deferred: "deferred";
|
|
91
|
+
readonly Failed: "failed";
|
|
92
|
+
readonly Complained: "complained";
|
|
93
|
+
};
|
|
94
|
+
export type GetPortalInvitationSummaryLatestDeliveryStatusEnum = typeof GetPortalInvitationSummaryLatestDeliveryStatusEnum[keyof typeof GetPortalInvitationSummaryLatestDeliveryStatusEnum];
|
|
95
|
+
/**
|
|
96
|
+
* Check if a given object implements the GetPortalInvitationSummary interface.
|
|
97
|
+
*/
|
|
98
|
+
export declare function instanceOfGetPortalInvitationSummary(value: object): value is GetPortalInvitationSummary;
|
|
99
|
+
export declare function GetPortalInvitationSummaryFromJSON(json: any): GetPortalInvitationSummary;
|
|
100
|
+
export declare function GetPortalInvitationSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalInvitationSummary;
|
|
101
|
+
export declare function GetPortalInvitationSummaryToJSON(json: any): GetPortalInvitationSummary;
|
|
102
|
+
export declare function GetPortalInvitationSummaryToJSONTyped(value?: GetPortalInvitationSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,87 @@
|
|
|
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 GetPortalInvitationSummaryStatusEnum = {
|
|
18
|
+
Pending: 'pending',
|
|
19
|
+
Expired: 'expired',
|
|
20
|
+
Accepted: 'accepted'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export const GetPortalInvitationSummaryLatestDeliveryStatusEnum = {
|
|
26
|
+
Queued: 'queued',
|
|
27
|
+
Processing: 'processing',
|
|
28
|
+
Accepted: 'accepted',
|
|
29
|
+
Delivered: 'delivered',
|
|
30
|
+
Deferred: 'deferred',
|
|
31
|
+
Failed: 'failed',
|
|
32
|
+
Complained: 'complained'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the GetPortalInvitationSummary interface.
|
|
36
|
+
*/
|
|
37
|
+
export function instanceOfGetPortalInvitationSummary(value) {
|
|
38
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('invitedAt' in value) || value['invitedAt'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('canResend' in value) || value['canResend'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
export function GetPortalInvitationSummaryFromJSON(json) {
|
|
51
|
+
return GetPortalInvitationSummaryFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function GetPortalInvitationSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': json['id'],
|
|
59
|
+
'status': json['status'],
|
|
60
|
+
'invitedAt': json['invited_at'],
|
|
61
|
+
'expiresAt': json['expires_at'],
|
|
62
|
+
'acceptedAt': json['accepted_at'] == null ? undefined : json['accepted_at'],
|
|
63
|
+
'lastSentAt': json['last_sent_at'] == null ? undefined : json['last_sent_at'],
|
|
64
|
+
'latestDeliveryStatus': json['latest_delivery_status'] == null ? undefined : json['latest_delivery_status'],
|
|
65
|
+
'canResend': json['can_resend'],
|
|
66
|
+
'resendBlockedReason': json['resend_blocked_reason'] == null ? undefined : json['resend_blocked_reason'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
export function GetPortalInvitationSummaryToJSON(json) {
|
|
70
|
+
return GetPortalInvitationSummaryToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
export function GetPortalInvitationSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'id': value['id'],
|
|
78
|
+
'status': value['status'],
|
|
79
|
+
'invited_at': value['invitedAt'],
|
|
80
|
+
'expires_at': value['expiresAt'],
|
|
81
|
+
'accepted_at': value['acceptedAt'],
|
|
82
|
+
'last_sent_at': value['lastSentAt'],
|
|
83
|
+
'latest_delivery_status': value['latestDeliveryStatus'],
|
|
84
|
+
'can_resend': value['canResend'],
|
|
85
|
+
'resend_blocked_reason': value['resendBlockedReason'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { GetPortalInvitationSummary } from './GetPortalInvitationSummary';
|
|
12
13
|
/**
|
|
13
14
|
* A user with their portal access information
|
|
14
15
|
* @export
|
|
@@ -51,6 +52,12 @@ export interface GetPortalUser {
|
|
|
51
52
|
* @memberof GetPortalUser
|
|
52
53
|
*/
|
|
53
54
|
isActive: boolean;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {GetPortalInvitationSummary}
|
|
58
|
+
* @memberof GetPortalUser
|
|
59
|
+
*/
|
|
60
|
+
invitation?: GetPortalInvitationSummary | null;
|
|
54
61
|
}
|
|
55
62
|
/**
|
|
56
63
|
* Check if a given object implements the GetPortalUser interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { GetPortalInvitationSummaryFromJSON, GetPortalInvitationSummaryToJSON, } from './GetPortalInvitationSummary';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the GetPortalUser interface.
|
|
16
17
|
*/
|
|
@@ -43,6 +44,7 @@ export function GetPortalUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
44
|
'lastName': json['last_name'],
|
|
44
45
|
'role': json['role'],
|
|
45
46
|
'isActive': json['is_active'],
|
|
47
|
+
'invitation': json['invitation'] == null ? undefined : GetPortalInvitationSummaryFromJSON(json['invitation']),
|
|
46
48
|
};
|
|
47
49
|
}
|
|
48
50
|
export function GetPortalUserToJSON(json) {
|
|
@@ -59,5 +61,6 @@ export function GetPortalUserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
59
61
|
'last_name': value['lastName'],
|
|
60
62
|
'role': value['role'],
|
|
61
63
|
'is_active': value['isActive'],
|
|
64
|
+
'invitation': GetPortalInvitationSummaryToJSON(value['invitation']),
|
|
62
65
|
};
|
|
63
66
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { PortalBrandThemeV1 } from './PortalBrandThemeV1';
|
|
12
13
|
/**
|
|
13
14
|
* Public portal branding resolved from the browser host.
|
|
14
15
|
* @export
|
|
@@ -46,17 +47,25 @@ export interface GetPublicPortalBranding {
|
|
|
46
47
|
*/
|
|
47
48
|
faviconUrl: string | null;
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
+
* Deprecated compatibility alias for branding_theme.colors.header_background.
|
|
50
51
|
* @type {string}
|
|
51
52
|
* @memberof GetPublicPortalBranding
|
|
53
|
+
* @deprecated
|
|
52
54
|
*/
|
|
53
55
|
headerBackgroundColor: string;
|
|
54
56
|
/**
|
|
55
|
-
*
|
|
57
|
+
* Deprecated compatibility alias for branding_theme.colors.header_foreground.
|
|
56
58
|
* @type {string}
|
|
57
59
|
* @memberof GetPublicPortalBranding
|
|
60
|
+
* @deprecated
|
|
58
61
|
*/
|
|
59
62
|
headerTextColor: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {PortalBrandThemeV1}
|
|
66
|
+
* @memberof GetPublicPortalBranding
|
|
67
|
+
*/
|
|
68
|
+
brandingTheme: PortalBrandThemeV1;
|
|
60
69
|
}
|
|
61
70
|
/**
|
|
62
71
|
* Check if a given object implements the GetPublicPortalBranding interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { PortalBrandThemeV1FromJSON, PortalBrandThemeV1ToJSON, } from './PortalBrandThemeV1';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the GetPublicPortalBranding interface.
|
|
16
17
|
*/
|
|
@@ -29,6 +30,8 @@ export function instanceOfGetPublicPortalBranding(value) {
|
|
|
29
30
|
return false;
|
|
30
31
|
if (!('headerTextColor' in value) || value['headerTextColor'] === undefined)
|
|
31
32
|
return false;
|
|
33
|
+
if (!('brandingTheme' in value) || value['brandingTheme'] === undefined)
|
|
34
|
+
return false;
|
|
32
35
|
return true;
|
|
33
36
|
}
|
|
34
37
|
export function GetPublicPortalBrandingFromJSON(json) {
|
|
@@ -46,6 +49,7 @@ export function GetPublicPortalBrandingFromJSONTyped(json, ignoreDiscriminator)
|
|
|
46
49
|
'faviconUrl': json['favicon_url'],
|
|
47
50
|
'headerBackgroundColor': json['header_background_color'],
|
|
48
51
|
'headerTextColor': json['header_text_color'],
|
|
52
|
+
'brandingTheme': PortalBrandThemeV1FromJSON(json['branding_theme']),
|
|
49
53
|
};
|
|
50
54
|
}
|
|
51
55
|
export function GetPublicPortalBrandingToJSON(json) {
|
|
@@ -63,5 +67,6 @@ export function GetPublicPortalBrandingToJSONTyped(value, ignoreDiscriminator =
|
|
|
63
67
|
'favicon_url': value['faviconUrl'],
|
|
64
68
|
'header_background_color': value['headerBackgroundColor'],
|
|
65
69
|
'header_text_color': value['headerTextColor'],
|
|
70
|
+
'branding_theme': PortalBrandThemeV1ToJSON(value['brandingTheme']),
|
|
66
71
|
};
|
|
67
72
|
}
|
|
@@ -0,0 +1,194 @@
|
|
|
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
|
+
* Semantic colors for a portal-owned light application theme. Every value is an opaque hexadecimal color.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PortalBrandColorsV1
|
|
16
|
+
*/
|
|
17
|
+
export interface PortalBrandColorsV1 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PortalBrandColorsV1
|
|
22
|
+
*/
|
|
23
|
+
headerBackground: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PortalBrandColorsV1
|
|
28
|
+
*/
|
|
29
|
+
headerForeground: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PortalBrandColorsV1
|
|
34
|
+
*/
|
|
35
|
+
navigationBackground: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PortalBrandColorsV1
|
|
40
|
+
*/
|
|
41
|
+
navigationForeground: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PortalBrandColorsV1
|
|
46
|
+
*/
|
|
47
|
+
primaryAction: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PortalBrandColorsV1
|
|
52
|
+
*/
|
|
53
|
+
onPrimaryAction: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PortalBrandColorsV1
|
|
58
|
+
*/
|
|
59
|
+
secondaryAction: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PortalBrandColorsV1
|
|
64
|
+
*/
|
|
65
|
+
onSecondaryAction: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PortalBrandColorsV1
|
|
70
|
+
*/
|
|
71
|
+
pageBackground: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PortalBrandColorsV1
|
|
76
|
+
*/
|
|
77
|
+
surfaceBackground: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PortalBrandColorsV1
|
|
82
|
+
*/
|
|
83
|
+
textPrimary: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PortalBrandColorsV1
|
|
88
|
+
*/
|
|
89
|
+
textSecondary: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof PortalBrandColorsV1
|
|
94
|
+
*/
|
|
95
|
+
divider: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PortalBrandColorsV1
|
|
100
|
+
*/
|
|
101
|
+
link: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PortalBrandColorsV1
|
|
106
|
+
*/
|
|
107
|
+
linkHover: string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PortalBrandColorsV1
|
|
112
|
+
*/
|
|
113
|
+
active: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof PortalBrandColorsV1
|
|
118
|
+
*/
|
|
119
|
+
onActive: string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof PortalBrandColorsV1
|
|
124
|
+
*/
|
|
125
|
+
focusRing: string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof PortalBrandColorsV1
|
|
130
|
+
*/
|
|
131
|
+
progress: string;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof PortalBrandColorsV1
|
|
136
|
+
*/
|
|
137
|
+
progressTrack: string;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof PortalBrandColorsV1
|
|
142
|
+
*/
|
|
143
|
+
success: string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof PortalBrandColorsV1
|
|
148
|
+
*/
|
|
149
|
+
onSuccess: string;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof PortalBrandColorsV1
|
|
154
|
+
*/
|
|
155
|
+
warning: string;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof PortalBrandColorsV1
|
|
160
|
+
*/
|
|
161
|
+
onWarning: string;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof PortalBrandColorsV1
|
|
166
|
+
*/
|
|
167
|
+
error: string;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof PortalBrandColorsV1
|
|
172
|
+
*/
|
|
173
|
+
onError: string;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {string}
|
|
177
|
+
* @memberof PortalBrandColorsV1
|
|
178
|
+
*/
|
|
179
|
+
info: string;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof PortalBrandColorsV1
|
|
184
|
+
*/
|
|
185
|
+
onInfo: string;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Check if a given object implements the PortalBrandColorsV1 interface.
|
|
189
|
+
*/
|
|
190
|
+
export declare function instanceOfPortalBrandColorsV1(value: object): value is PortalBrandColorsV1;
|
|
191
|
+
export declare function PortalBrandColorsV1FromJSON(json: any): PortalBrandColorsV1;
|
|
192
|
+
export declare function PortalBrandColorsV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): PortalBrandColorsV1;
|
|
193
|
+
export declare function PortalBrandColorsV1ToJSON(json: any): PortalBrandColorsV1;
|
|
194
|
+
export declare function PortalBrandColorsV1ToJSONTyped(value?: PortalBrandColorsV1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,151 @@
|
|
|
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 PortalBrandColorsV1 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPortalBrandColorsV1(value) {
|
|
18
|
+
if (!('headerBackground' in value) || value['headerBackground'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('headerForeground' in value) || value['headerForeground'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('navigationBackground' in value) || value['navigationBackground'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('navigationForeground' in value) || value['navigationForeground'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('primaryAction' in value) || value['primaryAction'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('onPrimaryAction' in value) || value['onPrimaryAction'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('secondaryAction' in value) || value['secondaryAction'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('onSecondaryAction' in value) || value['onSecondaryAction'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('pageBackground' in value) || value['pageBackground'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('surfaceBackground' in value) || value['surfaceBackground'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('textPrimary' in value) || value['textPrimary'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('textSecondary' in value) || value['textSecondary'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('divider' in value) || value['divider'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('link' in value) || value['link'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('linkHover' in value) || value['linkHover'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('active' in value) || value['active'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('onActive' in value) || value['onActive'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('focusRing' in value) || value['focusRing'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('progress' in value) || value['progress'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('progressTrack' in value) || value['progressTrack'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('onSuccess' in value) || value['onSuccess'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('warning' in value) || value['warning'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
if (!('onWarning' in value) || value['onWarning'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
if (!('error' in value) || value['error'] === undefined)
|
|
67
|
+
return false;
|
|
68
|
+
if (!('onError' in value) || value['onError'] === undefined)
|
|
69
|
+
return false;
|
|
70
|
+
if (!('info' in value) || value['info'] === undefined)
|
|
71
|
+
return false;
|
|
72
|
+
if (!('onInfo' in value) || value['onInfo'] === undefined)
|
|
73
|
+
return false;
|
|
74
|
+
return true;
|
|
75
|
+
}
|
|
76
|
+
export function PortalBrandColorsV1FromJSON(json) {
|
|
77
|
+
return PortalBrandColorsV1FromJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
export function PortalBrandColorsV1FromJSONTyped(json, ignoreDiscriminator) {
|
|
80
|
+
if (json == null) {
|
|
81
|
+
return json;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
'headerBackground': json['header_background'],
|
|
85
|
+
'headerForeground': json['header_foreground'],
|
|
86
|
+
'navigationBackground': json['navigation_background'],
|
|
87
|
+
'navigationForeground': json['navigation_foreground'],
|
|
88
|
+
'primaryAction': json['primary_action'],
|
|
89
|
+
'onPrimaryAction': json['on_primary_action'],
|
|
90
|
+
'secondaryAction': json['secondary_action'],
|
|
91
|
+
'onSecondaryAction': json['on_secondary_action'],
|
|
92
|
+
'pageBackground': json['page_background'],
|
|
93
|
+
'surfaceBackground': json['surface_background'],
|
|
94
|
+
'textPrimary': json['text_primary'],
|
|
95
|
+
'textSecondary': json['text_secondary'],
|
|
96
|
+
'divider': json['divider'],
|
|
97
|
+
'link': json['link'],
|
|
98
|
+
'linkHover': json['link_hover'],
|
|
99
|
+
'active': json['active'],
|
|
100
|
+
'onActive': json['on_active'],
|
|
101
|
+
'focusRing': json['focus_ring'],
|
|
102
|
+
'progress': json['progress'],
|
|
103
|
+
'progressTrack': json['progress_track'],
|
|
104
|
+
'success': json['success'],
|
|
105
|
+
'onSuccess': json['on_success'],
|
|
106
|
+
'warning': json['warning'],
|
|
107
|
+
'onWarning': json['on_warning'],
|
|
108
|
+
'error': json['error'],
|
|
109
|
+
'onError': json['on_error'],
|
|
110
|
+
'info': json['info'],
|
|
111
|
+
'onInfo': json['on_info'],
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
export function PortalBrandColorsV1ToJSON(json) {
|
|
115
|
+
return PortalBrandColorsV1ToJSONTyped(json, false);
|
|
116
|
+
}
|
|
117
|
+
export function PortalBrandColorsV1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
118
|
+
if (value == null) {
|
|
119
|
+
return value;
|
|
120
|
+
}
|
|
121
|
+
return {
|
|
122
|
+
'header_background': value['headerBackground'],
|
|
123
|
+
'header_foreground': value['headerForeground'],
|
|
124
|
+
'navigation_background': value['navigationBackground'],
|
|
125
|
+
'navigation_foreground': value['navigationForeground'],
|
|
126
|
+
'primary_action': value['primaryAction'],
|
|
127
|
+
'on_primary_action': value['onPrimaryAction'],
|
|
128
|
+
'secondary_action': value['secondaryAction'],
|
|
129
|
+
'on_secondary_action': value['onSecondaryAction'],
|
|
130
|
+
'page_background': value['pageBackground'],
|
|
131
|
+
'surface_background': value['surfaceBackground'],
|
|
132
|
+
'text_primary': value['textPrimary'],
|
|
133
|
+
'text_secondary': value['textSecondary'],
|
|
134
|
+
'divider': value['divider'],
|
|
135
|
+
'link': value['link'],
|
|
136
|
+
'link_hover': value['linkHover'],
|
|
137
|
+
'active': value['active'],
|
|
138
|
+
'on_active': value['onActive'],
|
|
139
|
+
'focus_ring': value['focusRing'],
|
|
140
|
+
'progress': value['progress'],
|
|
141
|
+
'progress_track': value['progressTrack'],
|
|
142
|
+
'success': value['success'],
|
|
143
|
+
'on_success': value['onSuccess'],
|
|
144
|
+
'warning': value['warning'],
|
|
145
|
+
'on_warning': value['onWarning'],
|
|
146
|
+
'error': value['error'],
|
|
147
|
+
'on_error': value['onError'],
|
|
148
|
+
'info': value['info'],
|
|
149
|
+
'on_info': value['onInfo'],
|
|
150
|
+
};
|
|
151
|
+
}
|