@easyedu/js-lsm-api 1.51.0 → 1.52.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 +26 -0
- package/README.md +29 -2
- package/dist/apis/CourseCatalogApi.d.ts +123 -0
- package/dist/apis/CourseCatalogApi.js +313 -0
- package/dist/apis/CourseShareApi.d.ts +153 -0
- package/dist/apis/CourseShareApi.js +385 -0
- package/dist/apis/PortalSublicenseApi.d.ts +36 -0
- package/dist/apis/PortalSublicenseApi.js +79 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/esm/apis/CourseCatalogApi.d.ts +123 -0
- package/dist/esm/apis/CourseCatalogApi.js +309 -0
- package/dist/esm/apis/CourseShareApi.d.ts +153 -0
- package/dist/esm/apis/CourseShareApi.js +381 -0
- package/dist/esm/apis/PortalSublicenseApi.d.ts +36 -0
- package/dist/esm/apis/PortalSublicenseApi.js +75 -0
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/models/CourseCatalog.d.ts +44 -0
- package/dist/esm/models/CourseCatalog.js +51 -0
- package/dist/esm/models/CourseShare.d.ts +88 -0
- package/dist/esm/models/CourseShare.js +85 -0
- package/dist/esm/models/PortalSublicense.d.ts +65 -0
- package/dist/esm/models/PortalSublicense.js +61 -0
- package/dist/esm/models/PostCourseCatalog.d.ts +38 -0
- package/dist/esm/models/PostCourseCatalog.js +45 -0
- package/dist/esm/models/PostOfferCatalog.d.ts +59 -0
- package/dist/esm/models/PostOfferCatalog.js +59 -0
- package/dist/esm/models/PostOfferCatalogResponse.d.ts +32 -0
- package/dist/esm/models/PostOfferCatalogResponse.js +43 -0
- package/dist/esm/models/PostOfferCourse.d.ts +59 -0
- package/dist/esm/models/PostOfferCourse.js +59 -0
- package/dist/esm/models/PostOfferCourseResponse.d.ts +49 -0
- package/dist/esm/models/PostOfferCourseResponse.js +57 -0
- package/dist/esm/models/PutCourseCatalog.d.ts +38 -0
- package/dist/esm/models/PutCourseCatalog.js +43 -0
- package/dist/esm/models/PutPortalSublicense.d.ts +46 -0
- package/dist/esm/models/PutPortalSublicense.js +45 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/models/CourseCatalog.d.ts +44 -0
- package/dist/models/CourseCatalog.js +58 -0
- package/dist/models/CourseShare.d.ts +88 -0
- package/dist/models/CourseShare.js +93 -0
- package/dist/models/PortalSublicense.d.ts +65 -0
- package/dist/models/PortalSublicense.js +69 -0
- package/dist/models/PostCourseCatalog.d.ts +38 -0
- package/dist/models/PostCourseCatalog.js +52 -0
- package/dist/models/PostOfferCatalog.d.ts +59 -0
- package/dist/models/PostOfferCatalog.js +67 -0
- package/dist/models/PostOfferCatalogResponse.d.ts +32 -0
- package/dist/models/PostOfferCatalogResponse.js +50 -0
- package/dist/models/PostOfferCourse.d.ts +59 -0
- package/dist/models/PostOfferCourse.js +67 -0
- package/dist/models/PostOfferCourseResponse.d.ts +49 -0
- package/dist/models/PostOfferCourseResponse.js +65 -0
- package/dist/models/PutCourseCatalog.d.ts +38 -0
- package/dist/models/PutCourseCatalog.js +50 -0
- package/dist/models/PutPortalSublicense.d.ts +46 -0
- package/dist/models/PutPortalSublicense.js +52 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/docs/CourseCatalog.md +38 -0
- package/docs/CourseCatalogApi.md +476 -0
- package/docs/CourseShare.md +46 -0
- package/docs/CourseShareApi.md +609 -0
- package/docs/PortalSublicense.md +42 -0
- package/docs/PortalSublicenseApi.md +81 -0
- package/docs/PostCourseCatalog.md +36 -0
- package/docs/PostOfferCatalog.md +40 -0
- package/docs/PostOfferCatalogResponse.md +34 -0
- package/docs/PostOfferCourse.md +40 -0
- package/docs/PostOfferCourseResponse.md +36 -0
- package/docs/PutCourseCatalog.md +36 -0
- package/docs/PutPortalSublicense.md +39 -0
- package/package.json +1 -1
- package/src/apis/CourseCatalogApi.ts +395 -0
- package/src/apis/CourseShareApi.ts +480 -0
- package/src/apis/PortalSublicenseApi.ts +95 -0
- package/src/apis/index.ts +3 -0
- package/src/models/CourseCatalog.ts +84 -0
- package/src/models/CourseShare.ts +144 -0
- package/src/models/PortalSublicense.ts +111 -0
- package/src/models/PostCourseCatalog.ts +74 -0
- package/src/models/PostOfferCatalog.ts +103 -0
- package/src/models/PostOfferCatalogResponse.ts +66 -0
- package/src/models/PostOfferCourse.ts +103 -0
- package/src/models/PostOfferCourseResponse.ts +89 -0
- package/src/models/PutCourseCatalog.ts +73 -0
- package/src/models/PutPortalSublicense.ts +83 -0
- package/src/models/index.ts +10 -0
|
@@ -0,0 +1,59 @@
|
|
|
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 PostOfferCourseAllowedModeEnum = {
|
|
18
|
+
Mirror: 'mirror',
|
|
19
|
+
Clone: 'clone',
|
|
20
|
+
Either: 'either'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PostOfferCourse interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfPostOfferCourse(value) {
|
|
26
|
+
if (!('targetPortalId' in value) || value['targetPortalId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('allowedMode' in value) || value['allowedMode'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function PostOfferCourseFromJSON(json) {
|
|
33
|
+
return PostOfferCourseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function PostOfferCourseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'targetPortalId': json['target_portal_id'],
|
|
41
|
+
'allowedMode': json['allowed_mode'],
|
|
42
|
+
'allowResharing': json['allow_resharing'] == null ? undefined : json['allow_resharing'],
|
|
43
|
+
'seatLimit': json['seat_limit'] == null ? undefined : json['seat_limit'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function PostOfferCourseToJSON(json) {
|
|
47
|
+
return PostOfferCourseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function PostOfferCourseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'target_portal_id': value['targetPortalId'],
|
|
55
|
+
'allowed_mode': value['allowedMode'],
|
|
56
|
+
'allow_resharing': value['allowResharing'],
|
|
57
|
+
'seat_limit': value['seatLimit'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PostOfferCourseResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PostOfferCourseResponse {
|
|
18
|
+
/**
|
|
19
|
+
* External ID of the new course_share row
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostOfferCourseResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {PostOfferCourseResponseStateEnum}
|
|
27
|
+
* @memberof PostOfferCourseResponse
|
|
28
|
+
*/
|
|
29
|
+
state: PostOfferCourseResponseStateEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const PostOfferCourseResponseStateEnum: {
|
|
35
|
+
readonly Offered: "Offered";
|
|
36
|
+
readonly AcceptedMirror: "AcceptedMirror";
|
|
37
|
+
readonly AcceptedClone: "AcceptedClone";
|
|
38
|
+
readonly Declined: "Declined";
|
|
39
|
+
readonly Revoked: "Revoked";
|
|
40
|
+
};
|
|
41
|
+
export type PostOfferCourseResponseStateEnum = typeof PostOfferCourseResponseStateEnum[keyof typeof PostOfferCourseResponseStateEnum];
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the PostOfferCourseResponse interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfPostOfferCourseResponse(value: object): value is PostOfferCourseResponse;
|
|
46
|
+
export declare function PostOfferCourseResponseFromJSON(json: any): PostOfferCourseResponse;
|
|
47
|
+
export declare function PostOfferCourseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostOfferCourseResponse;
|
|
48
|
+
export declare function PostOfferCourseResponseToJSON(json: any): PostOfferCourseResponse;
|
|
49
|
+
export declare function PostOfferCourseResponseToJSONTyped(value?: PostOfferCourseResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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 PostOfferCourseResponseStateEnum = {
|
|
18
|
+
Offered: 'Offered',
|
|
19
|
+
AcceptedMirror: 'AcceptedMirror',
|
|
20
|
+
AcceptedClone: 'AcceptedClone',
|
|
21
|
+
Declined: 'Declined',
|
|
22
|
+
Revoked: 'Revoked'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the PostOfferCourseResponse interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfPostOfferCourseResponse(value) {
|
|
28
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function PostOfferCourseResponseFromJSON(json) {
|
|
35
|
+
return PostOfferCourseResponseFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PostOfferCourseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'state': json['state'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function PostOfferCourseResponseToJSON(json) {
|
|
47
|
+
return PostOfferCourseResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function PostOfferCourseResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'state': value['state'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PutCourseCatalog
|
|
16
|
+
*/
|
|
17
|
+
export interface PutCourseCatalog {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PutCourseCatalog
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PutCourseCatalog
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PutCourseCatalog interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPutCourseCatalog(value: object): value is PutCourseCatalog;
|
|
35
|
+
export declare function PutCourseCatalogFromJSON(json: any): PutCourseCatalog;
|
|
36
|
+
export declare function PutCourseCatalogFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutCourseCatalog;
|
|
37
|
+
export declare function PutCourseCatalogToJSON(json: any): PutCourseCatalog;
|
|
38
|
+
export declare function PutCourseCatalogToJSONTyped(value?: PutCourseCatalog | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 PutCourseCatalog interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPutCourseCatalog(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PutCourseCatalogFromJSON(json) {
|
|
21
|
+
return PutCourseCatalogFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PutCourseCatalogFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
29
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function PutCourseCatalogToJSON(json) {
|
|
33
|
+
return PutCourseCatalogToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function PutCourseCatalogToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'name': value['name'],
|
|
41
|
+
'description': value['description'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* All fields are optional. Omit a field to leave it unchanged. Send `null` to
|
|
14
|
+
* clear it (unlimited seats / no license window).
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PutPortalSublicense
|
|
18
|
+
*/
|
|
19
|
+
export interface PutPortalSublicense {
|
|
20
|
+
/**
|
|
21
|
+
* Maximum active enrollments. null = unlimited.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof PutPortalSublicense
|
|
24
|
+
*/
|
|
25
|
+
seatLimit?: number | null;
|
|
26
|
+
/**
|
|
27
|
+
* Unix epoch seconds when the license becomes active. null = no start gate.
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof PutPortalSublicense
|
|
30
|
+
*/
|
|
31
|
+
licenseStartAt?: number | null;
|
|
32
|
+
/**
|
|
33
|
+
* Unix epoch seconds when the license expires. null = never expires.
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof PutPortalSublicense
|
|
36
|
+
*/
|
|
37
|
+
licenseEndAt?: number | null;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the PutPortalSublicense interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfPutPortalSublicense(value: object): value is PutPortalSublicense;
|
|
43
|
+
export declare function PutPortalSublicenseFromJSON(json: any): PutPortalSublicense;
|
|
44
|
+
export declare function PutPortalSublicenseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutPortalSublicense;
|
|
45
|
+
export declare function PutPortalSublicenseToJSON(json: any): PutPortalSublicense;
|
|
46
|
+
export declare function PutPortalSublicenseToJSONTyped(value?: PutPortalSublicense | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 PutPortalSublicense interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPutPortalSublicense(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PutPortalSublicenseFromJSON(json) {
|
|
21
|
+
return PutPortalSublicenseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PutPortalSublicenseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'seatLimit': json['seat_limit'] == null ? undefined : json['seat_limit'],
|
|
29
|
+
'licenseStartAt': json['license_start_at'] == null ? undefined : json['license_start_at'],
|
|
30
|
+
'licenseEndAt': json['license_end_at'] == null ? undefined : json['license_end_at'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PutPortalSublicenseToJSON(json) {
|
|
34
|
+
return PutPortalSublicenseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PutPortalSublicenseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'seat_limit': value['seatLimit'],
|
|
42
|
+
'license_start_at': value['licenseStartAt'],
|
|
43
|
+
'license_end_at': value['licenseEndAt'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './Certificate';
|
|
2
2
|
export * from './CertificateConfig';
|
|
3
3
|
export * from './CertificatePublic';
|
|
4
|
+
export * from './CourseCatalog';
|
|
5
|
+
export * from './CourseShare';
|
|
4
6
|
export * from './CriteriaBasedSelection';
|
|
5
7
|
export * from './CriteriaBasedSelectionCriteria';
|
|
6
8
|
export * from './CriteriaBasedSelectionDistribution';
|
|
@@ -156,6 +158,7 @@ export * from './MultipleAnswer';
|
|
|
156
158
|
export * from './MultipleAnswer1';
|
|
157
159
|
export * from './NoAnswer';
|
|
158
160
|
export * from './Paginated';
|
|
161
|
+
export * from './PortalSublicense';
|
|
159
162
|
export * from './PostCertificate';
|
|
160
163
|
export * from './PostCertificateConfig';
|
|
161
164
|
export * from './PostContentQuiz';
|
|
@@ -167,6 +170,7 @@ export * from './PostContentUpload';
|
|
|
167
170
|
export * from './PostConversation';
|
|
168
171
|
export * from './PostConversationResponse';
|
|
169
172
|
export * from './PostCourse';
|
|
173
|
+
export * from './PostCourseCatalog';
|
|
170
174
|
export * from './PostCourseEnrollment';
|
|
171
175
|
export * from './PostCourseExport';
|
|
172
176
|
export * from './PostLogin';
|
|
@@ -174,6 +178,10 @@ export * from './PostManualQuestionSelection';
|
|
|
174
178
|
export * from './PostMessage';
|
|
175
179
|
export * from './PostMessageResponse';
|
|
176
180
|
export * from './PostModule';
|
|
181
|
+
export * from './PostOfferCatalog';
|
|
182
|
+
export * from './PostOfferCatalogResponse';
|
|
183
|
+
export * from './PostOfferCourse';
|
|
184
|
+
export * from './PostOfferCourseResponse';
|
|
177
185
|
export * from './PostPortal';
|
|
178
186
|
export * from './PostPortalInvite';
|
|
179
187
|
export * from './PostQuestion';
|
|
@@ -206,10 +214,12 @@ export * from './PutContent';
|
|
|
206
214
|
export * from './PutContentReorder';
|
|
207
215
|
export * from './PutContentVersion';
|
|
208
216
|
export * from './PutCourse';
|
|
217
|
+
export * from './PutCourseCatalog';
|
|
209
218
|
export * from './PutCourseEnrollment';
|
|
210
219
|
export * from './PutModule';
|
|
211
220
|
export * from './PutModuleReorder';
|
|
212
221
|
export * from './PutPortalBranding';
|
|
222
|
+
export * from './PutPortalSublicense';
|
|
213
223
|
export * from './PutQuestion';
|
|
214
224
|
export * from './PutQuestionAnswerChoicesInner';
|
|
215
225
|
export * from './PutQuiz';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
export * from './Certificate';
|
|
4
4
|
export * from './CertificateConfig';
|
|
5
5
|
export * from './CertificatePublic';
|
|
6
|
+
export * from './CourseCatalog';
|
|
7
|
+
export * from './CourseShare';
|
|
6
8
|
export * from './CriteriaBasedSelection';
|
|
7
9
|
export * from './CriteriaBasedSelectionCriteria';
|
|
8
10
|
export * from './CriteriaBasedSelectionDistribution';
|
|
@@ -158,6 +160,7 @@ export * from './MultipleAnswer';
|
|
|
158
160
|
export * from './MultipleAnswer1';
|
|
159
161
|
export * from './NoAnswer';
|
|
160
162
|
export * from './Paginated';
|
|
163
|
+
export * from './PortalSublicense';
|
|
161
164
|
export * from './PostCertificate';
|
|
162
165
|
export * from './PostCertificateConfig';
|
|
163
166
|
export * from './PostContentQuiz';
|
|
@@ -169,6 +172,7 @@ export * from './PostContentUpload';
|
|
|
169
172
|
export * from './PostConversation';
|
|
170
173
|
export * from './PostConversationResponse';
|
|
171
174
|
export * from './PostCourse';
|
|
175
|
+
export * from './PostCourseCatalog';
|
|
172
176
|
export * from './PostCourseEnrollment';
|
|
173
177
|
export * from './PostCourseExport';
|
|
174
178
|
export * from './PostLogin';
|
|
@@ -176,6 +180,10 @@ export * from './PostManualQuestionSelection';
|
|
|
176
180
|
export * from './PostMessage';
|
|
177
181
|
export * from './PostMessageResponse';
|
|
178
182
|
export * from './PostModule';
|
|
183
|
+
export * from './PostOfferCatalog';
|
|
184
|
+
export * from './PostOfferCatalogResponse';
|
|
185
|
+
export * from './PostOfferCourse';
|
|
186
|
+
export * from './PostOfferCourseResponse';
|
|
179
187
|
export * from './PostPortal';
|
|
180
188
|
export * from './PostPortalInvite';
|
|
181
189
|
export * from './PostQuestion';
|
|
@@ -208,10 +216,12 @@ export * from './PutContent';
|
|
|
208
216
|
export * from './PutContentReorder';
|
|
209
217
|
export * from './PutContentVersion';
|
|
210
218
|
export * from './PutCourse';
|
|
219
|
+
export * from './PutCourseCatalog';
|
|
211
220
|
export * from './PutCourseEnrollment';
|
|
212
221
|
export * from './PutModule';
|
|
213
222
|
export * from './PutModuleReorder';
|
|
214
223
|
export * from './PutPortalBranding';
|
|
224
|
+
export * from './PutPortalSublicense';
|
|
215
225
|
export * from './PutQuestion';
|
|
216
226
|
export * from './PutQuestionAnswerChoicesInner';
|
|
217
227
|
export * from './PutQuiz';
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CourseCatalog
|
|
16
|
+
*/
|
|
17
|
+
export interface CourseCatalog {
|
|
18
|
+
/**
|
|
19
|
+
* External ID (UUID) of the catalog
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CourseCatalog
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CourseCatalog
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CourseCatalog
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CourseCatalog interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCourseCatalog(value: object): value is CourseCatalog;
|
|
41
|
+
export declare function CourseCatalogFromJSON(json: any): CourseCatalog;
|
|
42
|
+
export declare function CourseCatalogFromJSONTyped(json: any, ignoreDiscriminator: boolean): CourseCatalog;
|
|
43
|
+
export declare function CourseCatalogToJSON(json: any): CourseCatalog;
|
|
44
|
+
export declare function CourseCatalogToJSONTyped(value?: CourseCatalog | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCourseCatalog = instanceOfCourseCatalog;
|
|
17
|
+
exports.CourseCatalogFromJSON = CourseCatalogFromJSON;
|
|
18
|
+
exports.CourseCatalogFromJSONTyped = CourseCatalogFromJSONTyped;
|
|
19
|
+
exports.CourseCatalogToJSON = CourseCatalogToJSON;
|
|
20
|
+
exports.CourseCatalogToJSONTyped = CourseCatalogToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CourseCatalog interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCourseCatalog(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function CourseCatalogFromJSON(json) {
|
|
34
|
+
return CourseCatalogFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function CourseCatalogFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'description': json['description'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function CourseCatalogToJSON(json) {
|
|
47
|
+
return CourseCatalogToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function CourseCatalogToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'description': value['description'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CourseShare
|
|
16
|
+
*/
|
|
17
|
+
export interface CourseShare {
|
|
18
|
+
/**
|
|
19
|
+
* External ID (UUID) of the share
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CourseShare
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Internal ID of the offering portal
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CourseShare
|
|
28
|
+
*/
|
|
29
|
+
sourcePortalId: number;
|
|
30
|
+
/**
|
|
31
|
+
* Internal ID of the receiving portal
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CourseShare
|
|
34
|
+
*/
|
|
35
|
+
targetPortalId: number;
|
|
36
|
+
/**
|
|
37
|
+
* Internal ID of the offered course
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CourseShare
|
|
40
|
+
*/
|
|
41
|
+
courseId: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {CourseShareAllowedModeEnum}
|
|
45
|
+
* @memberof CourseShare
|
|
46
|
+
*/
|
|
47
|
+
allowedMode: CourseShareAllowedModeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {CourseShareStateEnum}
|
|
51
|
+
* @memberof CourseShare
|
|
52
|
+
*/
|
|
53
|
+
state: CourseShareStateEnum;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof CourseShare
|
|
58
|
+
*/
|
|
59
|
+
allowResharing: boolean;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const CourseShareAllowedModeEnum: {
|
|
65
|
+
readonly Mirror: "Mirror";
|
|
66
|
+
readonly Clone: "Clone";
|
|
67
|
+
readonly Either: "Either";
|
|
68
|
+
};
|
|
69
|
+
export type CourseShareAllowedModeEnum = typeof CourseShareAllowedModeEnum[keyof typeof CourseShareAllowedModeEnum];
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export declare const CourseShareStateEnum: {
|
|
74
|
+
readonly Offered: "Offered";
|
|
75
|
+
readonly AcceptedMirror: "AcceptedMirror";
|
|
76
|
+
readonly AcceptedClone: "AcceptedClone";
|
|
77
|
+
readonly Declined: "Declined";
|
|
78
|
+
readonly Revoked: "Revoked";
|
|
79
|
+
};
|
|
80
|
+
export type CourseShareStateEnum = typeof CourseShareStateEnum[keyof typeof CourseShareStateEnum];
|
|
81
|
+
/**
|
|
82
|
+
* Check if a given object implements the CourseShare interface.
|
|
83
|
+
*/
|
|
84
|
+
export declare function instanceOfCourseShare(value: object): value is CourseShare;
|
|
85
|
+
export declare function CourseShareFromJSON(json: any): CourseShare;
|
|
86
|
+
export declare function CourseShareFromJSONTyped(json: any, ignoreDiscriminator: boolean): CourseShare;
|
|
87
|
+
export declare function CourseShareToJSON(json: any): CourseShare;
|
|
88
|
+
export declare function CourseShareToJSONTyped(value?: CourseShare | null, ignoreDiscriminator?: boolean): any;
|