@easyedu/js-lsm-api 1.6.0 → 1.8.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 +4 -0
- package/README.md +2 -2
- package/dist/apis/PortalApi.d.ts +47 -1
- package/dist/apis/PortalApi.js +109 -1
- package/dist/esm/apis/PortalApi.d.ts +47 -1
- package/dist/esm/apis/PortalApi.js +109 -1
- package/dist/esm/models/GetPortalUser.d.ts +71 -0
- package/dist/esm/models/GetPortalUser.js +71 -0
- package/dist/esm/models/GetPortalUserList.d.ts +57 -0
- package/dist/esm/models/GetPortalUserList.js +60 -0
- package/dist/esm/models/PostPortal.d.ts +44 -0
- package/dist/esm/models/PostPortal.js +47 -0
- package/dist/esm/models/PutPortalBranding.d.ts +44 -0
- package/dist/esm/models/PutPortalBranding.js +45 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/models/GetPortalUser.d.ts +71 -0
- package/dist/models/GetPortalUser.js +79 -0
- package/dist/models/GetPortalUserList.d.ts +57 -0
- package/dist/models/GetPortalUserList.js +67 -0
- package/dist/models/PostPortal.d.ts +44 -0
- package/dist/models/PostPortal.js +54 -0
- package/dist/models/PutPortalBranding.d.ts +44 -0
- package/dist/models/PutPortalBranding.js +52 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/PortalApi.ts +159 -0
- package/src/models/GetPortalUser.ts +123 -0
- package/src/models/GetPortalUserList.ts +110 -0
- package/src/models/PostPortal.ts +82 -0
- package/src/models/PutPortalBranding.ts +81 -0
- package/src/models/index.ts +4 -0
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PutPortalBranding
|
|
20
|
+
*/
|
|
21
|
+
export interface PutPortalBranding {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PutPortalBranding
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Hex color value for portal background (e.g.,
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PutPortalBranding
|
|
32
|
+
*/
|
|
33
|
+
headerBackgroundColor?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Hex color value for portal text (e.g.,
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PutPortalBranding
|
|
38
|
+
*/
|
|
39
|
+
headerTextColor?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the PutPortalBranding interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfPutPortalBranding(value: object): value is PutPortalBranding {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function PutPortalBrandingFromJSON(json: any): PutPortalBranding {
|
|
50
|
+
return PutPortalBrandingFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function PutPortalBrandingFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutPortalBranding {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
60
|
+
'headerBackgroundColor': json['header_background_color'] == null ? undefined : json['header_background_color'],
|
|
61
|
+
'headerTextColor': json['header_text_color'] == null ? undefined : json['header_text_color'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function PutPortalBrandingToJSON(json: any): PutPortalBranding {
|
|
66
|
+
return PutPortalBrandingToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function PutPortalBrandingToJSONTyped(value?: PutPortalBranding | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'name': value['name'],
|
|
77
|
+
'header_background_color': value['headerBackgroundColor'],
|
|
78
|
+
'header_text_color': value['headerTextColor'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -18,6 +18,8 @@ export * from './GetModule';
|
|
|
18
18
|
export * from './GetModuleList';
|
|
19
19
|
export * from './GetPortal';
|
|
20
20
|
export * from './GetPortalList';
|
|
21
|
+
export * from './GetPortalUser';
|
|
22
|
+
export * from './GetPortalUserList';
|
|
21
23
|
export * from './GetQuestion';
|
|
22
24
|
export * from './GetQuestionAnswerChoicesInner';
|
|
23
25
|
export * from './GetQuestionList';
|
|
@@ -90,6 +92,7 @@ export * from './PostCourse';
|
|
|
90
92
|
export * from './PostCourseEnrollment';
|
|
91
93
|
export * from './PostLogin';
|
|
92
94
|
export * from './PostModule';
|
|
95
|
+
export * from './PostPortal';
|
|
93
96
|
export * from './PostPortalInvite';
|
|
94
97
|
export * from './PostQuestion';
|
|
95
98
|
export * from './PostQuestionAnswerChoicesInner';
|
|
@@ -112,6 +115,7 @@ export * from './PostSendResetPassword';
|
|
|
112
115
|
export * from './PutContent';
|
|
113
116
|
export * from './PutCourse';
|
|
114
117
|
export * from './PutModule';
|
|
118
|
+
export * from './PutPortalBranding';
|
|
115
119
|
export * from './PutQuestion';
|
|
116
120
|
export * from './PutQuestionAnswerChoicesInner';
|
|
117
121
|
export * from './PutQuiz';
|