@easyedu/js-lsm-api 1.33.0 → 1.34.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/README.md +2 -2
- package/dist/esm/models/GetPortal.d.ts +0 -30
- package/dist/esm/models/GetPortal.js +0 -20
- package/dist/models/GetPortal.d.ts +0 -30
- package/dist/models/GetPortal.js +1 -21
- package/docs/GetPortal.md +0 -4
- package/package.json +1 -1
- package/src/models/GetPortal.ts +0 -36
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.34.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -369,7 +369,7 @@ and is automatically generated by the
|
|
|
369
369
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
370
370
|
|
|
371
371
|
- API version: `1.0.0`
|
|
372
|
-
- Package version: `1.
|
|
372
|
+
- Package version: `1.34.0`
|
|
373
373
|
- Generator version: `7.21.0`
|
|
374
374
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
375
375
|
|
|
@@ -51,18 +51,6 @@ export interface GetPortal {
|
|
|
51
51
|
* @memberof GetPortal
|
|
52
52
|
*/
|
|
53
53
|
headerTextColor: string;
|
|
54
|
-
/**
|
|
55
|
-
* The user's current active role (mapped from base_type for backwards compatibility)
|
|
56
|
-
* @type {GetPortalSelectedUserRoleEnum}
|
|
57
|
-
* @memberof GetPortal
|
|
58
|
-
*/
|
|
59
|
-
selectedUserRole?: GetPortalSelectedUserRoleEnum;
|
|
60
|
-
/**
|
|
61
|
-
* The user's base role (mapped from base_type for backwards compatibility)
|
|
62
|
-
* @type {GetPortalBaseUserRoleEnum}
|
|
63
|
-
* @memberof GetPortal
|
|
64
|
-
*/
|
|
65
|
-
baseUserRole?: GetPortalBaseUserRoleEnum;
|
|
66
54
|
/**
|
|
67
55
|
* The user's highest-privilege role base type for this portal
|
|
68
56
|
* @type {GetPortalBaseTypeEnum}
|
|
@@ -70,24 +58,6 @@ export interface GetPortal {
|
|
|
70
58
|
*/
|
|
71
59
|
baseType?: GetPortalBaseTypeEnum;
|
|
72
60
|
}
|
|
73
|
-
/**
|
|
74
|
-
* @export
|
|
75
|
-
*/
|
|
76
|
-
export declare const GetPortalSelectedUserRoleEnum: {
|
|
77
|
-
readonly Admin: "Admin";
|
|
78
|
-
readonly Instructor: "Instructor";
|
|
79
|
-
readonly Learner: "Learner";
|
|
80
|
-
};
|
|
81
|
-
export type GetPortalSelectedUserRoleEnum = typeof GetPortalSelectedUserRoleEnum[keyof typeof GetPortalSelectedUserRoleEnum];
|
|
82
|
-
/**
|
|
83
|
-
* @export
|
|
84
|
-
*/
|
|
85
|
-
export declare const GetPortalBaseUserRoleEnum: {
|
|
86
|
-
readonly Admin: "Admin";
|
|
87
|
-
readonly Instructor: "Instructor";
|
|
88
|
-
readonly Learner: "Learner";
|
|
89
|
-
};
|
|
90
|
-
export type GetPortalBaseUserRoleEnum = typeof GetPortalBaseUserRoleEnum[keyof typeof GetPortalBaseUserRoleEnum];
|
|
91
61
|
/**
|
|
92
62
|
* @export
|
|
93
63
|
*/
|
|
@@ -11,22 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
/**
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const GetPortalSelectedUserRoleEnum = {
|
|
18
|
-
Admin: 'Admin',
|
|
19
|
-
Instructor: 'Instructor',
|
|
20
|
-
Learner: 'Learner'
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
export const GetPortalBaseUserRoleEnum = {
|
|
26
|
-
Admin: 'Admin',
|
|
27
|
-
Instructor: 'Instructor',
|
|
28
|
-
Learner: 'Learner'
|
|
29
|
-
};
|
|
30
14
|
/**
|
|
31
15
|
* @export
|
|
32
16
|
*/
|
|
@@ -69,8 +53,6 @@ export function GetPortalFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
53
|
'logoUrl': json['logo_url'],
|
|
70
54
|
'headerBackgroundColor': json['header_background_color'],
|
|
71
55
|
'headerTextColor': json['header_text_color'],
|
|
72
|
-
'selectedUserRole': json['selected_user_role'] == null ? undefined : json['selected_user_role'],
|
|
73
|
-
'baseUserRole': json['base_user_role'] == null ? undefined : json['base_user_role'],
|
|
74
56
|
'baseType': json['base_type'] == null ? undefined : json['base_type'],
|
|
75
57
|
};
|
|
76
58
|
}
|
|
@@ -88,8 +70,6 @@ export function GetPortalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
88
70
|
'logo_url': value['logoUrl'],
|
|
89
71
|
'header_background_color': value['headerBackgroundColor'],
|
|
90
72
|
'header_text_color': value['headerTextColor'],
|
|
91
|
-
'selected_user_role': value['selectedUserRole'],
|
|
92
|
-
'base_user_role': value['baseUserRole'],
|
|
93
73
|
'base_type': value['baseType'],
|
|
94
74
|
};
|
|
95
75
|
}
|
|
@@ -51,18 +51,6 @@ export interface GetPortal {
|
|
|
51
51
|
* @memberof GetPortal
|
|
52
52
|
*/
|
|
53
53
|
headerTextColor: string;
|
|
54
|
-
/**
|
|
55
|
-
* The user's current active role (mapped from base_type for backwards compatibility)
|
|
56
|
-
* @type {GetPortalSelectedUserRoleEnum}
|
|
57
|
-
* @memberof GetPortal
|
|
58
|
-
*/
|
|
59
|
-
selectedUserRole?: GetPortalSelectedUserRoleEnum;
|
|
60
|
-
/**
|
|
61
|
-
* The user's base role (mapped from base_type for backwards compatibility)
|
|
62
|
-
* @type {GetPortalBaseUserRoleEnum}
|
|
63
|
-
* @memberof GetPortal
|
|
64
|
-
*/
|
|
65
|
-
baseUserRole?: GetPortalBaseUserRoleEnum;
|
|
66
54
|
/**
|
|
67
55
|
* The user's highest-privilege role base type for this portal
|
|
68
56
|
* @type {GetPortalBaseTypeEnum}
|
|
@@ -70,24 +58,6 @@ export interface GetPortal {
|
|
|
70
58
|
*/
|
|
71
59
|
baseType?: GetPortalBaseTypeEnum;
|
|
72
60
|
}
|
|
73
|
-
/**
|
|
74
|
-
* @export
|
|
75
|
-
*/
|
|
76
|
-
export declare const GetPortalSelectedUserRoleEnum: {
|
|
77
|
-
readonly Admin: "Admin";
|
|
78
|
-
readonly Instructor: "Instructor";
|
|
79
|
-
readonly Learner: "Learner";
|
|
80
|
-
};
|
|
81
|
-
export type GetPortalSelectedUserRoleEnum = typeof GetPortalSelectedUserRoleEnum[keyof typeof GetPortalSelectedUserRoleEnum];
|
|
82
|
-
/**
|
|
83
|
-
* @export
|
|
84
|
-
*/
|
|
85
|
-
export declare const GetPortalBaseUserRoleEnum: {
|
|
86
|
-
readonly Admin: "Admin";
|
|
87
|
-
readonly Instructor: "Instructor";
|
|
88
|
-
readonly Learner: "Learner";
|
|
89
|
-
};
|
|
90
|
-
export type GetPortalBaseUserRoleEnum = typeof GetPortalBaseUserRoleEnum[keyof typeof GetPortalBaseUserRoleEnum];
|
|
91
61
|
/**
|
|
92
62
|
* @export
|
|
93
63
|
*/
|
package/dist/models/GetPortal.js
CHANGED
|
@@ -13,28 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GetPortalBaseTypeEnum =
|
|
16
|
+
exports.GetPortalBaseTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfGetPortal = instanceOfGetPortal;
|
|
18
18
|
exports.GetPortalFromJSON = GetPortalFromJSON;
|
|
19
19
|
exports.GetPortalFromJSONTyped = GetPortalFromJSONTyped;
|
|
20
20
|
exports.GetPortalToJSON = GetPortalToJSON;
|
|
21
21
|
exports.GetPortalToJSONTyped = GetPortalToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.GetPortalSelectedUserRoleEnum = {
|
|
26
|
-
Admin: 'Admin',
|
|
27
|
-
Instructor: 'Instructor',
|
|
28
|
-
Learner: 'Learner'
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* @export
|
|
32
|
-
*/
|
|
33
|
-
exports.GetPortalBaseUserRoleEnum = {
|
|
34
|
-
Admin: 'Admin',
|
|
35
|
-
Instructor: 'Instructor',
|
|
36
|
-
Learner: 'Learner'
|
|
37
|
-
};
|
|
38
22
|
/**
|
|
39
23
|
* @export
|
|
40
24
|
*/
|
|
@@ -77,8 +61,6 @@ function GetPortalFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
77
61
|
'logoUrl': json['logo_url'],
|
|
78
62
|
'headerBackgroundColor': json['header_background_color'],
|
|
79
63
|
'headerTextColor': json['header_text_color'],
|
|
80
|
-
'selectedUserRole': json['selected_user_role'] == null ? undefined : json['selected_user_role'],
|
|
81
|
-
'baseUserRole': json['base_user_role'] == null ? undefined : json['base_user_role'],
|
|
82
64
|
'baseType': json['base_type'] == null ? undefined : json['base_type'],
|
|
83
65
|
};
|
|
84
66
|
}
|
|
@@ -96,8 +78,6 @@ function GetPortalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
96
78
|
'logo_url': value['logoUrl'],
|
|
97
79
|
'header_background_color': value['headerBackgroundColor'],
|
|
98
80
|
'header_text_color': value['headerTextColor'],
|
|
99
|
-
'selected_user_role': value['selectedUserRole'],
|
|
100
|
-
'base_user_role': value['baseUserRole'],
|
|
101
81
|
'base_type': value['baseType'],
|
|
102
82
|
};
|
|
103
83
|
}
|
package/docs/GetPortal.md
CHANGED
|
@@ -12,8 +12,6 @@ Name | Type
|
|
|
12
12
|
`logoUrl` | string
|
|
13
13
|
`headerBackgroundColor` | string
|
|
14
14
|
`headerTextColor` | string
|
|
15
|
-
`selectedUserRole` | string
|
|
16
|
-
`baseUserRole` | string
|
|
17
15
|
`baseType` | string
|
|
18
16
|
|
|
19
17
|
## Example
|
|
@@ -29,8 +27,6 @@ const example = {
|
|
|
29
27
|
"logoUrl": null,
|
|
30
28
|
"headerBackgroundColor": null,
|
|
31
29
|
"headerTextColor": null,
|
|
32
|
-
"selectedUserRole": null,
|
|
33
|
-
"baseUserRole": null,
|
|
34
30
|
"baseType": null,
|
|
35
31
|
} satisfies GetPortal
|
|
36
32
|
|
package/package.json
CHANGED
package/src/models/GetPortal.ts
CHANGED
|
@@ -55,18 +55,6 @@ export interface GetPortal {
|
|
|
55
55
|
* @memberof GetPortal
|
|
56
56
|
*/
|
|
57
57
|
headerTextColor: string;
|
|
58
|
-
/**
|
|
59
|
-
* The user's current active role (mapped from base_type for backwards compatibility)
|
|
60
|
-
* @type {GetPortalSelectedUserRoleEnum}
|
|
61
|
-
* @memberof GetPortal
|
|
62
|
-
*/
|
|
63
|
-
selectedUserRole?: GetPortalSelectedUserRoleEnum;
|
|
64
|
-
/**
|
|
65
|
-
* The user's base role (mapped from base_type for backwards compatibility)
|
|
66
|
-
* @type {GetPortalBaseUserRoleEnum}
|
|
67
|
-
* @memberof GetPortal
|
|
68
|
-
*/
|
|
69
|
-
baseUserRole?: GetPortalBaseUserRoleEnum;
|
|
70
58
|
/**
|
|
71
59
|
* The user's highest-privilege role base type for this portal
|
|
72
60
|
* @type {GetPortalBaseTypeEnum}
|
|
@@ -76,26 +64,6 @@ export interface GetPortal {
|
|
|
76
64
|
}
|
|
77
65
|
|
|
78
66
|
|
|
79
|
-
/**
|
|
80
|
-
* @export
|
|
81
|
-
*/
|
|
82
|
-
export const GetPortalSelectedUserRoleEnum = {
|
|
83
|
-
Admin: 'Admin',
|
|
84
|
-
Instructor: 'Instructor',
|
|
85
|
-
Learner: 'Learner'
|
|
86
|
-
} as const;
|
|
87
|
-
export type GetPortalSelectedUserRoleEnum = typeof GetPortalSelectedUserRoleEnum[keyof typeof GetPortalSelectedUserRoleEnum];
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* @export
|
|
91
|
-
*/
|
|
92
|
-
export const GetPortalBaseUserRoleEnum = {
|
|
93
|
-
Admin: 'Admin',
|
|
94
|
-
Instructor: 'Instructor',
|
|
95
|
-
Learner: 'Learner'
|
|
96
|
-
} as const;
|
|
97
|
-
export type GetPortalBaseUserRoleEnum = typeof GetPortalBaseUserRoleEnum[keyof typeof GetPortalBaseUserRoleEnum];
|
|
98
|
-
|
|
99
67
|
/**
|
|
100
68
|
* @export
|
|
101
69
|
*/
|
|
@@ -139,8 +107,6 @@ export function GetPortalFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
139
107
|
'logoUrl': json['logo_url'],
|
|
140
108
|
'headerBackgroundColor': json['header_background_color'],
|
|
141
109
|
'headerTextColor': json['header_text_color'],
|
|
142
|
-
'selectedUserRole': json['selected_user_role'] == null ? undefined : json['selected_user_role'],
|
|
143
|
-
'baseUserRole': json['base_user_role'] == null ? undefined : json['base_user_role'],
|
|
144
110
|
'baseType': json['base_type'] == null ? undefined : json['base_type'],
|
|
145
111
|
};
|
|
146
112
|
}
|
|
@@ -162,8 +128,6 @@ export function GetPortalToJSONTyped(value?: GetPortal | null, ignoreDiscriminat
|
|
|
162
128
|
'logo_url': value['logoUrl'],
|
|
163
129
|
'header_background_color': value['headerBackgroundColor'],
|
|
164
130
|
'header_text_color': value['headerTextColor'],
|
|
165
|
-
'selected_user_role': value['selectedUserRole'],
|
|
166
|
-
'base_user_role': value['baseUserRole'],
|
|
167
131
|
'base_type': value['baseType'],
|
|
168
132
|
};
|
|
169
133
|
}
|