@easyedu/js-lsm-api 1.136.0 → 1.138.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 +2 -0
- package/README.md +7 -3
- package/dist/apis/CourseApi.d.ts +21 -0
- package/dist/apis/CourseApi.js +55 -0
- package/dist/apis/DispatchApi.d.ts +21 -2
- package/dist/apis/DispatchApi.js +45 -2
- package/dist/apis/RichTextApi.d.ts +3 -0
- package/dist/apis/RichTextApi.js +5 -0
- package/dist/apis/SystemApi.d.ts +17 -0
- package/dist/apis/SystemApi.js +45 -0
- package/dist/esm/apis/CourseApi.d.ts +21 -0
- package/dist/esm/apis/CourseApi.js +55 -0
- package/dist/esm/apis/DispatchApi.d.ts +21 -2
- package/dist/esm/apis/DispatchApi.js +45 -2
- package/dist/esm/apis/RichTextApi.d.ts +3 -0
- package/dist/esm/apis/RichTextApi.js +5 -0
- package/dist/esm/apis/SystemApi.d.ts +17 -0
- package/dist/esm/apis/SystemApi.js +45 -0
- package/dist/esm/models/GetPortal.d.ts +12 -0
- package/dist/esm/models/GetPortal.js +6 -0
- package/dist/esm/models/PostCourseExport.d.ts +1 -1
- package/dist/esm/models/PutSystemPortal.d.ts +32 -0
- package/dist/esm/models/PutSystemPortal.js +41 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/GetPortal.d.ts +12 -0
- package/dist/models/GetPortal.js +6 -0
- package/dist/models/PostCourseExport.d.ts +1 -1
- package/dist/models/PutSystemPortal.d.ts +32 -0
- package/dist/models/PutSystemPortal.js +48 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/docs/CourseApi.md +79 -0
- package/docs/DispatchApi.md +77 -3
- package/docs/GetPortal.md +4 -0
- package/docs/PutSystemPortal.md +35 -0
- package/docs/RichTextApi.md +6 -1
- package/docs/SystemApi.md +71 -0
- package/package.json +1 -1
- package/src/apis/CourseApi.ts +85 -0
- package/src/apis/DispatchApi.ts +55 -2
- package/src/apis/RichTextApi.ts +7 -0
- package/src/apis/SystemApi.ts +65 -0
- package/src/models/GetPortal.ts +17 -0
- package/src/models/PostCourseExport.ts +1 -1
- package/src/models/PutSystemPortal.ts +65 -0
- package/src/models/index.ts +1 -0
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
* Platform-managed portal settings. Omitted fields are left unchanged.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PutSystemPortal
|
|
20
|
+
*/
|
|
21
|
+
export interface PutSystemPortal {
|
|
22
|
+
/**
|
|
23
|
+
* Whether the platform has verified this portal. Unverified portals cannot change their email templates.
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof PutSystemPortal
|
|
26
|
+
*/
|
|
27
|
+
verified?: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the PutSystemPortal interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfPutSystemPortal(value: object): value is PutSystemPortal {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function PutSystemPortalFromJSON(json: any): PutSystemPortal {
|
|
38
|
+
return PutSystemPortalFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function PutSystemPortalFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutSystemPortal {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'verified': json['verified'] == null ? undefined : json['verified'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function PutSystemPortalToJSON(json: any): PutSystemPortal {
|
|
52
|
+
return PutSystemPortalToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function PutSystemPortalToJSONTyped(value?: PutSystemPortal | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'verified': value['verified'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -352,6 +352,7 @@ export * from './PutResourceVersion';
|
|
|
352
352
|
export * from './PutRole';
|
|
353
353
|
export * from './PutRolePermissions';
|
|
354
354
|
export * from './PutSupportTicket';
|
|
355
|
+
export * from './PutSystemPortal';
|
|
355
356
|
export * from './PutUser';
|
|
356
357
|
export * from './PutZapierSetup';
|
|
357
358
|
export * from './QuestionImportCommitResult';
|