@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,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,65 @@
|
|
|
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.PostOfferCourseResponseStateEnum = void 0;
|
|
17
|
+
exports.instanceOfPostOfferCourseResponse = instanceOfPostOfferCourseResponse;
|
|
18
|
+
exports.PostOfferCourseResponseFromJSON = PostOfferCourseResponseFromJSON;
|
|
19
|
+
exports.PostOfferCourseResponseFromJSONTyped = PostOfferCourseResponseFromJSONTyped;
|
|
20
|
+
exports.PostOfferCourseResponseToJSON = PostOfferCourseResponseToJSON;
|
|
21
|
+
exports.PostOfferCourseResponseToJSONTyped = PostOfferCourseResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PostOfferCourseResponseStateEnum = {
|
|
26
|
+
Offered: 'Offered',
|
|
27
|
+
AcceptedMirror: 'AcceptedMirror',
|
|
28
|
+
AcceptedClone: 'AcceptedClone',
|
|
29
|
+
Declined: 'Declined',
|
|
30
|
+
Revoked: 'Revoked'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PostOfferCourseResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfPostOfferCourseResponse(value) {
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function PostOfferCourseResponseFromJSON(json) {
|
|
43
|
+
return PostOfferCourseResponseFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function PostOfferCourseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'state': json['state'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function PostOfferCourseResponseToJSON(json) {
|
|
55
|
+
return PostOfferCourseResponseToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function PostOfferCourseResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
'state': value['state'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -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,50 @@
|
|
|
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.instanceOfPutCourseCatalog = instanceOfPutCourseCatalog;
|
|
17
|
+
exports.PutCourseCatalogFromJSON = PutCourseCatalogFromJSON;
|
|
18
|
+
exports.PutCourseCatalogFromJSONTyped = PutCourseCatalogFromJSONTyped;
|
|
19
|
+
exports.PutCourseCatalogToJSON = PutCourseCatalogToJSON;
|
|
20
|
+
exports.PutCourseCatalogToJSONTyped = PutCourseCatalogToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PutCourseCatalog interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPutCourseCatalog(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PutCourseCatalogFromJSON(json) {
|
|
28
|
+
return PutCourseCatalogFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PutCourseCatalogFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
36
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function PutCourseCatalogToJSON(json) {
|
|
40
|
+
return PutCourseCatalogToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function PutCourseCatalogToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'name': value['name'],
|
|
48
|
+
'description': value['description'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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,52 @@
|
|
|
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.instanceOfPutPortalSublicense = instanceOfPutPortalSublicense;
|
|
17
|
+
exports.PutPortalSublicenseFromJSON = PutPortalSublicenseFromJSON;
|
|
18
|
+
exports.PutPortalSublicenseFromJSONTyped = PutPortalSublicenseFromJSONTyped;
|
|
19
|
+
exports.PutPortalSublicenseToJSON = PutPortalSublicenseToJSON;
|
|
20
|
+
exports.PutPortalSublicenseToJSONTyped = PutPortalSublicenseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PutPortalSublicense interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPutPortalSublicense(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PutPortalSublicenseFromJSON(json) {
|
|
28
|
+
return PutPortalSublicenseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PutPortalSublicenseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'seatLimit': json['seat_limit'] == null ? undefined : json['seat_limit'],
|
|
36
|
+
'licenseStartAt': json['license_start_at'] == null ? undefined : json['license_start_at'],
|
|
37
|
+
'licenseEndAt': json['license_end_at'] == null ? undefined : json['license_end_at'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PutPortalSublicenseToJSON(json) {
|
|
41
|
+
return PutPortalSublicenseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PutPortalSublicenseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'seat_limit': value['seatLimit'],
|
|
49
|
+
'license_start_at': value['licenseStartAt'],
|
|
50
|
+
'license_end_at': value['licenseEndAt'],
|
|
51
|
+
};
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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/models/index.js
CHANGED
|
@@ -19,6 +19,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
__exportStar(require("./Certificate"), exports);
|
|
20
20
|
__exportStar(require("./CertificateConfig"), exports);
|
|
21
21
|
__exportStar(require("./CertificatePublic"), exports);
|
|
22
|
+
__exportStar(require("./CourseCatalog"), exports);
|
|
23
|
+
__exportStar(require("./CourseShare"), exports);
|
|
22
24
|
__exportStar(require("./CriteriaBasedSelection"), exports);
|
|
23
25
|
__exportStar(require("./CriteriaBasedSelectionCriteria"), exports);
|
|
24
26
|
__exportStar(require("./CriteriaBasedSelectionDistribution"), exports);
|
|
@@ -174,6 +176,7 @@ __exportStar(require("./MultipleAnswer"), exports);
|
|
|
174
176
|
__exportStar(require("./MultipleAnswer1"), exports);
|
|
175
177
|
__exportStar(require("./NoAnswer"), exports);
|
|
176
178
|
__exportStar(require("./Paginated"), exports);
|
|
179
|
+
__exportStar(require("./PortalSublicense"), exports);
|
|
177
180
|
__exportStar(require("./PostCertificate"), exports);
|
|
178
181
|
__exportStar(require("./PostCertificateConfig"), exports);
|
|
179
182
|
__exportStar(require("./PostContentQuiz"), exports);
|
|
@@ -185,6 +188,7 @@ __exportStar(require("./PostContentUpload"), exports);
|
|
|
185
188
|
__exportStar(require("./PostConversation"), exports);
|
|
186
189
|
__exportStar(require("./PostConversationResponse"), exports);
|
|
187
190
|
__exportStar(require("./PostCourse"), exports);
|
|
191
|
+
__exportStar(require("./PostCourseCatalog"), exports);
|
|
188
192
|
__exportStar(require("./PostCourseEnrollment"), exports);
|
|
189
193
|
__exportStar(require("./PostCourseExport"), exports);
|
|
190
194
|
__exportStar(require("./PostLogin"), exports);
|
|
@@ -192,6 +196,10 @@ __exportStar(require("./PostManualQuestionSelection"), exports);
|
|
|
192
196
|
__exportStar(require("./PostMessage"), exports);
|
|
193
197
|
__exportStar(require("./PostMessageResponse"), exports);
|
|
194
198
|
__exportStar(require("./PostModule"), exports);
|
|
199
|
+
__exportStar(require("./PostOfferCatalog"), exports);
|
|
200
|
+
__exportStar(require("./PostOfferCatalogResponse"), exports);
|
|
201
|
+
__exportStar(require("./PostOfferCourse"), exports);
|
|
202
|
+
__exportStar(require("./PostOfferCourseResponse"), exports);
|
|
195
203
|
__exportStar(require("./PostPortal"), exports);
|
|
196
204
|
__exportStar(require("./PostPortalInvite"), exports);
|
|
197
205
|
__exportStar(require("./PostQuestion"), exports);
|
|
@@ -224,10 +232,12 @@ __exportStar(require("./PutContent"), exports);
|
|
|
224
232
|
__exportStar(require("./PutContentReorder"), exports);
|
|
225
233
|
__exportStar(require("./PutContentVersion"), exports);
|
|
226
234
|
__exportStar(require("./PutCourse"), exports);
|
|
235
|
+
__exportStar(require("./PutCourseCatalog"), exports);
|
|
227
236
|
__exportStar(require("./PutCourseEnrollment"), exports);
|
|
228
237
|
__exportStar(require("./PutModule"), exports);
|
|
229
238
|
__exportStar(require("./PutModuleReorder"), exports);
|
|
230
239
|
__exportStar(require("./PutPortalBranding"), exports);
|
|
240
|
+
__exportStar(require("./PutPortalSublicense"), exports);
|
|
231
241
|
__exportStar(require("./PutQuestion"), exports);
|
|
232
242
|
__exportStar(require("./PutQuestionAnswerChoicesInner"), exports);
|
|
233
243
|
__exportStar(require("./PutQuiz"), exports);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# CourseCatalog
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`name` | string
|
|
11
|
+
`description` | string
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { CourseCatalog } from '@easyedu/js-lsm-api'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"id": null,
|
|
21
|
+
"name": null,
|
|
22
|
+
"description": null,
|
|
23
|
+
} satisfies CourseCatalog
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as CourseCatalog
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|