@easyedu/js-lsm-api 1.105.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 +6 -0
- package/README.md +6 -3
- package/dist/apis/PortalApi.d.ts +2 -2
- package/dist/apis/PortalApi.js +2 -2
- package/dist/esm/apis/PortalApi.d.ts +2 -2
- package/dist/esm/apis/PortalApi.js +2 -2
- package/dist/esm/models/GetPortal.d.ts +11 -2
- package/dist/esm/models/GetPortal.js +5 -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 +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/GetPortal.d.ts +11 -2
- package/dist/models/GetPortal.js +5 -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 +3 -0
- package/dist/models/index.js +3 -0
- package/docs/GetPortal.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/PortalApi.ts +2 -2
- package/src/models/GetPortal.ts +21 -2
- 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 +3 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -175,6 +175,9 @@ docs/OtherApi.md
|
|
|
175
175
|
docs/Paginated.md
|
|
176
176
|
docs/PlayerApi.md
|
|
177
177
|
docs/PortalApi.md
|
|
178
|
+
docs/PortalBrandColorsV1.md
|
|
179
|
+
docs/PortalBrandThemeV1.md
|
|
180
|
+
docs/PortalBrandTypographyV1.md
|
|
178
181
|
docs/PortalSublicense.md
|
|
179
182
|
docs/PortalSublicenseApi.md
|
|
180
183
|
docs/PortalUserFieldConfig.md
|
|
@@ -484,6 +487,9 @@ src/models/LoginResAuthData.ts
|
|
|
484
487
|
src/models/LoginResUserData.ts
|
|
485
488
|
src/models/LoginResUserDataSelectedPortal.ts
|
|
486
489
|
src/models/Paginated.ts
|
|
490
|
+
src/models/PortalBrandColorsV1.ts
|
|
491
|
+
src/models/PortalBrandThemeV1.ts
|
|
492
|
+
src/models/PortalBrandTypographyV1.ts
|
|
487
493
|
src/models/PortalSublicense.ts
|
|
488
494
|
src/models/PortalUserFieldConfig.ts
|
|
489
495
|
src/models/PortalUserFieldDefinition.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.106.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -299,7 +299,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
299
299
|
*PortalApi* | [**postPortal**](docs/PortalApi.md#postportal) | **POST** /portals | Create a new portal as a child of the current selected portal
|
|
300
300
|
*PortalApi* | [**postPortalFaviconUpload**](docs/PortalApi.md#postportalfaviconupload) | **POST** /portals/{portalId}/branding/favicon | Upload a favicon image for portal branding
|
|
301
301
|
*PortalApi* | [**postPortalLogoUpload**](docs/PortalApi.md#postportallogoupload) | **POST** /portals/{portalId}/branding/logo | Upload a logo image for portal branding
|
|
302
|
-
*PortalApi* | [**putPortalBranding**](docs/PortalApi.md#putportalbranding) | **PUT** /portals/{portalId} | Update portal branding
|
|
302
|
+
*PortalApi* | [**putPortalBranding**](docs/PortalApi.md#putportalbranding) | **PUT** /portals/{portalId} | Update portal branding and complete application theme
|
|
303
303
|
*PortalApi* | [**putPortalUserFieldConfig**](docs/PortalApi.md#putportaluserfieldconfig) | **PUT** /portals/{portalId}/user-field-config | Replace portal user field configuration
|
|
304
304
|
*PortalApi* | [**putPortalUserFieldValues**](docs/PortalApi.md#putportaluserfieldvalues) | **PUT** /portals/{portalId}/users/{userId}/user-field-values | Bulk upsert a user\'s portal field values
|
|
305
305
|
*PortalApi* | [**removePortalUser**](docs/PortalApi.md#removeportaluser) | **DELETE** /portals/{portalId}/users/{userId} | Remove a user from a portal
|
|
@@ -517,6 +517,9 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
517
517
|
- [LoginResUserData](docs/LoginResUserData.md)
|
|
518
518
|
- [LoginResUserDataSelectedPortal](docs/LoginResUserDataSelectedPortal.md)
|
|
519
519
|
- [Paginated](docs/Paginated.md)
|
|
520
|
+
- [PortalBrandColorsV1](docs/PortalBrandColorsV1.md)
|
|
521
|
+
- [PortalBrandThemeV1](docs/PortalBrandThemeV1.md)
|
|
522
|
+
- [PortalBrandTypographyV1](docs/PortalBrandTypographyV1.md)
|
|
520
523
|
- [PortalSublicense](docs/PortalSublicense.md)
|
|
521
524
|
- [PortalUserFieldConfig](docs/PortalUserFieldConfig.md)
|
|
522
525
|
- [PortalUserFieldDefinition](docs/PortalUserFieldDefinition.md)
|
|
@@ -647,7 +650,7 @@ and is automatically generated by the
|
|
|
647
650
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
648
651
|
|
|
649
652
|
- API version: `1.0.0`
|
|
650
|
-
- Package version: `1.
|
|
653
|
+
- Package version: `1.106.0`
|
|
651
654
|
- Generator version: `7.22.0`
|
|
652
655
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
653
656
|
|
package/dist/apis/PortalApi.d.ts
CHANGED
|
@@ -295,11 +295,11 @@ export declare class PortalApi extends runtime.BaseAPI {
|
|
|
295
295
|
*/
|
|
296
296
|
putPortalBrandingRequestOpts(requestParameters: PutPortalBrandingRequest): Promise<runtime.RequestOpts>;
|
|
297
297
|
/**
|
|
298
|
-
* Update portal branding
|
|
298
|
+
* Update portal branding and complete application theme
|
|
299
299
|
*/
|
|
300
300
|
putPortalBrandingRaw(requestParameters: PutPortalBrandingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPortal>>;
|
|
301
301
|
/**
|
|
302
|
-
* Update portal branding
|
|
302
|
+
* Update portal branding and complete application theme
|
|
303
303
|
*/
|
|
304
304
|
putPortalBranding(requestParameters: PutPortalBrandingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPortal>;
|
|
305
305
|
/**
|
package/dist/apis/PortalApi.js
CHANGED
|
@@ -747,7 +747,7 @@ class PortalApi extends runtime.BaseAPI {
|
|
|
747
747
|
});
|
|
748
748
|
}
|
|
749
749
|
/**
|
|
750
|
-
* Update portal branding
|
|
750
|
+
* Update portal branding and complete application theme
|
|
751
751
|
*/
|
|
752
752
|
putPortalBrandingRaw(requestParameters, initOverrides) {
|
|
753
753
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -757,7 +757,7 @@ class PortalApi extends runtime.BaseAPI {
|
|
|
757
757
|
});
|
|
758
758
|
}
|
|
759
759
|
/**
|
|
760
|
-
* Update portal branding
|
|
760
|
+
* Update portal branding and complete application theme
|
|
761
761
|
*/
|
|
762
762
|
putPortalBranding(requestParameters, initOverrides) {
|
|
763
763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -295,11 +295,11 @@ export declare class PortalApi extends runtime.BaseAPI {
|
|
|
295
295
|
*/
|
|
296
296
|
putPortalBrandingRequestOpts(requestParameters: PutPortalBrandingRequest): Promise<runtime.RequestOpts>;
|
|
297
297
|
/**
|
|
298
|
-
* Update portal branding
|
|
298
|
+
* Update portal branding and complete application theme
|
|
299
299
|
*/
|
|
300
300
|
putPortalBrandingRaw(requestParameters: PutPortalBrandingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPortal>>;
|
|
301
301
|
/**
|
|
302
|
-
* Update portal branding
|
|
302
|
+
* Update portal branding and complete application theme
|
|
303
303
|
*/
|
|
304
304
|
putPortalBranding(requestParameters: PutPortalBrandingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPortal>;
|
|
305
305
|
/**
|
|
@@ -744,7 +744,7 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
744
744
|
});
|
|
745
745
|
}
|
|
746
746
|
/**
|
|
747
|
-
* Update portal branding
|
|
747
|
+
* Update portal branding and complete application theme
|
|
748
748
|
*/
|
|
749
749
|
putPortalBrandingRaw(requestParameters, initOverrides) {
|
|
750
750
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -754,7 +754,7 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
754
754
|
});
|
|
755
755
|
}
|
|
756
756
|
/**
|
|
757
|
-
* Update portal branding
|
|
757
|
+
* Update portal branding and complete application theme
|
|
758
758
|
*/
|
|
759
759
|
putPortalBranding(requestParameters, initOverrides) {
|
|
760
760
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -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
|
*
|
|
14
15
|
* @export
|
|
@@ -58,17 +59,25 @@ export interface GetPortal {
|
|
|
58
59
|
*/
|
|
59
60
|
faviconUrl?: string | null;
|
|
60
61
|
/**
|
|
61
|
-
*
|
|
62
|
+
* Deprecated compatibility alias for branding_theme.colors.header_background.
|
|
62
63
|
* @type {string}
|
|
63
64
|
* @memberof GetPortal
|
|
65
|
+
* @deprecated
|
|
64
66
|
*/
|
|
65
67
|
headerBackgroundColor: string;
|
|
66
68
|
/**
|
|
67
|
-
*
|
|
69
|
+
* Deprecated compatibility alias for branding_theme.colors.header_foreground.
|
|
68
70
|
* @type {string}
|
|
69
71
|
* @memberof GetPortal
|
|
72
|
+
* @deprecated
|
|
70
73
|
*/
|
|
71
74
|
headerTextColor: string;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {PortalBrandThemeV1}
|
|
78
|
+
* @memberof GetPortal
|
|
79
|
+
*/
|
|
80
|
+
brandingTheme: PortalBrandThemeV1;
|
|
72
81
|
/**
|
|
73
82
|
* The user's highest-privilege role base type for this portal
|
|
74
83
|
* @type {GetPortalBaseTypeEnum}
|
|
@@ -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
|
* @export
|
|
16
17
|
*/
|
|
@@ -35,6 +36,8 @@ export function instanceOfGetPortal(value) {
|
|
|
35
36
|
return false;
|
|
36
37
|
if (!('headerTextColor' in value) || value['headerTextColor'] === undefined)
|
|
37
38
|
return false;
|
|
39
|
+
if (!('brandingTheme' in value) || value['brandingTheme'] === undefined)
|
|
40
|
+
return false;
|
|
38
41
|
return true;
|
|
39
42
|
}
|
|
40
43
|
export function GetPortalFromJSON(json) {
|
|
@@ -54,6 +57,7 @@ export function GetPortalFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
57
|
'faviconUrl': json['favicon_url'] == null ? undefined : json['favicon_url'],
|
|
55
58
|
'headerBackgroundColor': json['header_background_color'],
|
|
56
59
|
'headerTextColor': json['header_text_color'],
|
|
60
|
+
'brandingTheme': PortalBrandThemeV1FromJSON(json['branding_theme']),
|
|
57
61
|
'baseType': json['base_type'] == null ? undefined : json['base_type'],
|
|
58
62
|
};
|
|
59
63
|
}
|
|
@@ -74,6 +78,7 @@ export function GetPortalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
78
|
'favicon_url': value['faviconUrl'],
|
|
75
79
|
'header_background_color': value['headerBackgroundColor'],
|
|
76
80
|
'header_text_color': value['headerTextColor'],
|
|
81
|
+
'branding_theme': PortalBrandThemeV1ToJSON(value['brandingTheme']),
|
|
77
82
|
'base_type': value['baseType'],
|
|
78
83
|
};
|
|
79
84
|
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { PortalBrandColorsV1 } from './PortalBrandColorsV1';
|
|
13
|
+
import type { PortalBrandTypographyV1 } from './PortalBrandTypographyV1';
|
|
14
|
+
/**
|
|
15
|
+
* Complete version 1 portal application theme. Updates replace this object as a whole.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PortalBrandThemeV1
|
|
18
|
+
*/
|
|
19
|
+
export interface PortalBrandThemeV1 {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {PortalBrandThemeV1SchemaVersionEnum}
|
|
23
|
+
* @memberof PortalBrandThemeV1
|
|
24
|
+
*/
|
|
25
|
+
schemaVersion: PortalBrandThemeV1SchemaVersionEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PortalBrandTypographyV1}
|
|
29
|
+
* @memberof PortalBrandThemeV1
|
|
30
|
+
*/
|
|
31
|
+
typography: PortalBrandTypographyV1;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {PortalBrandColorsV1}
|
|
35
|
+
* @memberof PortalBrandThemeV1
|
|
36
|
+
*/
|
|
37
|
+
colors: PortalBrandColorsV1;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export declare const PortalBrandThemeV1SchemaVersionEnum: {
|
|
43
|
+
readonly V1: "v1";
|
|
44
|
+
};
|
|
45
|
+
export type PortalBrandThemeV1SchemaVersionEnum = typeof PortalBrandThemeV1SchemaVersionEnum[keyof typeof PortalBrandThemeV1SchemaVersionEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the PortalBrandThemeV1 interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfPortalBrandThemeV1(value: object): value is PortalBrandThemeV1;
|
|
50
|
+
export declare function PortalBrandThemeV1FromJSON(json: any): PortalBrandThemeV1;
|
|
51
|
+
export declare function PortalBrandThemeV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): PortalBrandThemeV1;
|
|
52
|
+
export declare function PortalBrandThemeV1ToJSON(json: any): PortalBrandThemeV1;
|
|
53
|
+
export declare function PortalBrandThemeV1ToJSONTyped(value?: PortalBrandThemeV1 | null, ignoreDiscriminator?: boolean): any;
|