@easyedu/js-lsm-api 1.48.0 → 1.50.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 +22 -0
- package/README.md +31 -8
- package/dist/apis/CertificateApi.d.ts +237 -0
- package/dist/apis/CertificateApi.js +587 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/CertificateApi.d.ts +237 -0
- package/dist/esm/apis/CertificateApi.js +583 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/Certificate.d.ts +151 -0
- package/dist/esm/models/Certificate.js +114 -0
- package/dist/esm/models/CertificateConfig.d.ts +86 -0
- package/dist/esm/models/CertificateConfig.js +69 -0
- package/dist/esm/models/CertificatePublic.d.ts +98 -0
- package/dist/esm/models/CertificatePublic.js +87 -0
- package/dist/esm/models/EffectiveCertificateConfig.d.ts +62 -0
- package/dist/esm/models/EffectiveCertificateConfig.js +55 -0
- package/dist/esm/models/GetCertificateConfigList.d.ts +33 -0
- package/dist/esm/models/GetCertificateConfigList.js +44 -0
- package/dist/esm/models/GetCertificateList.d.ts +33 -0
- package/dist/esm/models/GetCertificateList.js +44 -0
- package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.d.ts +24 -0
- package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.js +16 -0
- package/dist/esm/models/PostCertificate.d.ts +50 -0
- package/dist/esm/models/PostCertificate.js +49 -0
- package/dist/esm/models/PostCertificateConfig.d.ts +62 -0
- package/dist/esm/models/PostCertificateConfig.js +53 -0
- package/dist/esm/models/PostRevokeCertificate.d.ts +32 -0
- package/dist/esm/models/PostRevokeCertificate.js +41 -0
- package/dist/esm/models/PutCertificateConfig.d.ts +56 -0
- package/dist/esm/models/PutCertificateConfig.js +49 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/models/Certificate.d.ts +151 -0
- package/dist/models/Certificate.js +122 -0
- package/dist/models/CertificateConfig.d.ts +86 -0
- package/dist/models/CertificateConfig.js +76 -0
- package/dist/models/CertificatePublic.d.ts +98 -0
- package/dist/models/CertificatePublic.js +95 -0
- package/dist/models/EffectiveCertificateConfig.d.ts +62 -0
- package/dist/models/EffectiveCertificateConfig.js +62 -0
- package/dist/models/GetCertificateConfigList.d.ts +33 -0
- package/dist/models/GetCertificateConfigList.js +51 -0
- package/dist/models/GetCertificateList.d.ts +33 -0
- package/dist/models/GetCertificateList.js +51 -0
- package/dist/models/GetModuleInstructorBasicReportingEngagement.d.ts +24 -0
- package/dist/models/GetModuleInstructorBasicReportingEngagement.js +16 -0
- package/dist/models/PostCertificate.d.ts +50 -0
- package/dist/models/PostCertificate.js +56 -0
- package/dist/models/PostCertificateConfig.d.ts +62 -0
- package/dist/models/PostCertificateConfig.js +60 -0
- package/dist/models/PostRevokeCertificate.d.ts +32 -0
- package/dist/models/PostRevokeCertificate.js +48 -0
- package/dist/models/PutCertificateConfig.d.ts +56 -0
- package/dist/models/PutCertificateConfig.js +56 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/docs/Certificate.md +68 -0
- package/docs/CertificateApi.md +903 -0
- package/docs/CertificateConfig.md +52 -0
- package/docs/CertificatePublic.md +51 -0
- package/docs/EffectiveCertificateConfig.md +45 -0
- package/docs/GetCertificateConfigList.md +34 -0
- package/docs/GetCertificateList.md +34 -0
- package/docs/GetModuleInstructorBasicReportingEngagement.md +8 -0
- package/docs/PostCertificate.md +41 -0
- package/docs/PostCertificateConfig.md +44 -0
- package/docs/PostRevokeCertificate.md +34 -0
- package/docs/PutCertificateConfig.md +42 -0
- package/package.json +1 -1
- package/src/apis/CertificateApi.ts +765 -0
- package/src/apis/index.ts +1 -0
- package/src/models/Certificate.ts +234 -0
- package/src/models/CertificateConfig.ts +142 -0
- package/src/models/CertificatePublic.ts +158 -0
- package/src/models/EffectiveCertificateConfig.ts +107 -0
- package/src/models/GetCertificateConfigList.ts +74 -0
- package/src/models/GetCertificateList.ts +74 -0
- package/src/models/GetModuleInstructorBasicReportingEngagement.ts +36 -0
- package/src/models/PostCertificate.ts +90 -0
- package/src/models/PostCertificateConfig.ts +106 -0
- package/src/models/PostRevokeCertificate.ts +65 -0
- package/src/models/PutCertificateConfig.ts +97 -0
- package/src/models/index.ts +10 -0
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfPostCertificateConfig = instanceOfPostCertificateConfig;
|
|
17
|
+
exports.PostCertificateConfigFromJSON = PostCertificateConfigFromJSON;
|
|
18
|
+
exports.PostCertificateConfigFromJSONTyped = PostCertificateConfigFromJSONTyped;
|
|
19
|
+
exports.PostCertificateConfigToJSON = PostCertificateConfigToJSON;
|
|
20
|
+
exports.PostCertificateConfigToJSONTyped = PostCertificateConfigToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PostCertificateConfig interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPostCertificateConfig(value) {
|
|
25
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PostCertificateConfigFromJSON(json) {
|
|
30
|
+
return PostCertificateConfigFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PostCertificateConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'courseId': json['course_id'] == null ? undefined : json['course_id'],
|
|
38
|
+
'enabled': json['enabled'],
|
|
39
|
+
'expiryMonths': json['expiry_months'] == null ? undefined : json['expiry_months'],
|
|
40
|
+
'requireQuizPass': json['require_quiz_pass'] == null ? undefined : json['require_quiz_pass'],
|
|
41
|
+
'minQuizScore': json['min_quiz_score'] == null ? undefined : json['min_quiz_score'],
|
|
42
|
+
'quizConfigId': json['quiz_config_id'] == null ? undefined : json['quiz_config_id'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PostCertificateConfigToJSON(json) {
|
|
46
|
+
return PostCertificateConfigToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PostCertificateConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'course_id': value['courseId'],
|
|
54
|
+
'enabled': value['enabled'],
|
|
55
|
+
'expiry_months': value['expiryMonths'],
|
|
56
|
+
'require_quiz_pass': value['requireQuizPass'],
|
|
57
|
+
'min_quiz_score': value['minQuizScore'],
|
|
58
|
+
'quiz_config_id': value['quizConfigId'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 PostRevokeCertificate
|
|
16
|
+
*/
|
|
17
|
+
export interface PostRevokeCertificate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostRevokeCertificate
|
|
22
|
+
*/
|
|
23
|
+
reason?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PostRevokeCertificate interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPostRevokeCertificate(value: object): value is PostRevokeCertificate;
|
|
29
|
+
export declare function PostRevokeCertificateFromJSON(json: any): PostRevokeCertificate;
|
|
30
|
+
export declare function PostRevokeCertificateFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostRevokeCertificate;
|
|
31
|
+
export declare function PostRevokeCertificateToJSON(json: any): PostRevokeCertificate;
|
|
32
|
+
export declare function PostRevokeCertificateToJSONTyped(value?: PostRevokeCertificate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.instanceOfPostRevokeCertificate = instanceOfPostRevokeCertificate;
|
|
17
|
+
exports.PostRevokeCertificateFromJSON = PostRevokeCertificateFromJSON;
|
|
18
|
+
exports.PostRevokeCertificateFromJSONTyped = PostRevokeCertificateFromJSONTyped;
|
|
19
|
+
exports.PostRevokeCertificateToJSON = PostRevokeCertificateToJSON;
|
|
20
|
+
exports.PostRevokeCertificateToJSONTyped = PostRevokeCertificateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PostRevokeCertificate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPostRevokeCertificate(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PostRevokeCertificateFromJSON(json) {
|
|
28
|
+
return PostRevokeCertificateFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PostRevokeCertificateFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function PostRevokeCertificateToJSON(json) {
|
|
39
|
+
return PostRevokeCertificateToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function PostRevokeCertificateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'reason': value['reason'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 PutCertificateConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface PutCertificateConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof PutCertificateConfig
|
|
22
|
+
*/
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PutCertificateConfig
|
|
28
|
+
*/
|
|
29
|
+
expiryMonths?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof PutCertificateConfig
|
|
34
|
+
*/
|
|
35
|
+
requireQuizPass?: boolean | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PutCertificateConfig
|
|
40
|
+
*/
|
|
41
|
+
minQuizScore?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PutCertificateConfig
|
|
46
|
+
*/
|
|
47
|
+
quizConfigId?: string | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PutCertificateConfig interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfPutCertificateConfig(value: object): value is PutCertificateConfig;
|
|
53
|
+
export declare function PutCertificateConfigFromJSON(json: any): PutCertificateConfig;
|
|
54
|
+
export declare function PutCertificateConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutCertificateConfig;
|
|
55
|
+
export declare function PutCertificateConfigToJSON(json: any): PutCertificateConfig;
|
|
56
|
+
export declare function PutCertificateConfigToJSONTyped(value?: PutCertificateConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfPutCertificateConfig = instanceOfPutCertificateConfig;
|
|
17
|
+
exports.PutCertificateConfigFromJSON = PutCertificateConfigFromJSON;
|
|
18
|
+
exports.PutCertificateConfigFromJSONTyped = PutCertificateConfigFromJSONTyped;
|
|
19
|
+
exports.PutCertificateConfigToJSON = PutCertificateConfigToJSON;
|
|
20
|
+
exports.PutCertificateConfigToJSONTyped = PutCertificateConfigToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PutCertificateConfig interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPutCertificateConfig(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PutCertificateConfigFromJSON(json) {
|
|
28
|
+
return PutCertificateConfigFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PutCertificateConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
36
|
+
'expiryMonths': json['expiry_months'] == null ? undefined : json['expiry_months'],
|
|
37
|
+
'requireQuizPass': json['require_quiz_pass'] == null ? undefined : json['require_quiz_pass'],
|
|
38
|
+
'minQuizScore': json['min_quiz_score'] == null ? undefined : json['min_quiz_score'],
|
|
39
|
+
'quizConfigId': json['quiz_config_id'] == null ? undefined : json['quiz_config_id'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function PutCertificateConfigToJSON(json) {
|
|
43
|
+
return PutCertificateConfigToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function PutCertificateConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'enabled': value['enabled'],
|
|
51
|
+
'expiry_months': value['expiryMonths'],
|
|
52
|
+
'require_quiz_pass': value['requireQuizPass'],
|
|
53
|
+
'min_quiz_score': value['minQuizScore'],
|
|
54
|
+
'quiz_config_id': value['quizConfigId'],
|
|
55
|
+
};
|
|
56
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
export * from './Certificate';
|
|
2
|
+
export * from './CertificateConfig';
|
|
3
|
+
export * from './CertificatePublic';
|
|
1
4
|
export * from './CriteriaBasedSelection';
|
|
2
5
|
export * from './CriteriaBasedSelectionCriteria';
|
|
3
6
|
export * from './CriteriaBasedSelectionDistribution';
|
|
4
7
|
export * from './DownloadSupportTicketAttachment200Response';
|
|
8
|
+
export * from './EffectiveCertificateConfig';
|
|
5
9
|
export * from './Essay';
|
|
6
10
|
export * from './Essay1';
|
|
7
11
|
export * from './FillInBlank';
|
|
8
12
|
export * from './FillInBlank1';
|
|
13
|
+
export * from './GetCertificateConfigList';
|
|
14
|
+
export * from './GetCertificateList';
|
|
9
15
|
export * from './GetChatMessage';
|
|
10
16
|
export * from './GetContent';
|
|
11
17
|
export * from './GetContentContentData';
|
|
@@ -150,6 +156,8 @@ export * from './MultipleAnswer';
|
|
|
150
156
|
export * from './MultipleAnswer1';
|
|
151
157
|
export * from './NoAnswer';
|
|
152
158
|
export * from './Paginated';
|
|
159
|
+
export * from './PostCertificate';
|
|
160
|
+
export * from './PostCertificateConfig';
|
|
153
161
|
export * from './PostContentQuiz';
|
|
154
162
|
export * from './PostContentQuizAssignment';
|
|
155
163
|
export * from './PostContentQuizQuestionSelection';
|
|
@@ -185,6 +193,7 @@ export * from './PostQuizQuestions';
|
|
|
185
193
|
export * from './PostQuizQuestionsQuestionsInner';
|
|
186
194
|
export * from './PostQuizSettings';
|
|
187
195
|
export * from './PostResetPassword';
|
|
196
|
+
export * from './PostRevokeCertificate';
|
|
188
197
|
export * from './PostRole';
|
|
189
198
|
export * from './PostSendResetPassword';
|
|
190
199
|
export * from './PostSupportTicket';
|
|
@@ -192,6 +201,7 @@ export * from './PostSupportTicketComment';
|
|
|
192
201
|
export * from './PostVerifyManifest';
|
|
193
202
|
export * from './PostVerifyManifestItemsInner';
|
|
194
203
|
export * from './PostVerifyManifestResourcesInner';
|
|
204
|
+
export * from './PutCertificateConfig';
|
|
195
205
|
export * from './PutContent';
|
|
196
206
|
export * from './PutContentReorder';
|
|
197
207
|
export * from './PutContentVersion';
|
package/dist/models/index.js
CHANGED
|
@@ -16,14 +16,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./Certificate"), exports);
|
|
20
|
+
__exportStar(require("./CertificateConfig"), exports);
|
|
21
|
+
__exportStar(require("./CertificatePublic"), exports);
|
|
19
22
|
__exportStar(require("./CriteriaBasedSelection"), exports);
|
|
20
23
|
__exportStar(require("./CriteriaBasedSelectionCriteria"), exports);
|
|
21
24
|
__exportStar(require("./CriteriaBasedSelectionDistribution"), exports);
|
|
22
25
|
__exportStar(require("./DownloadSupportTicketAttachment200Response"), exports);
|
|
26
|
+
__exportStar(require("./EffectiveCertificateConfig"), exports);
|
|
23
27
|
__exportStar(require("./Essay"), exports);
|
|
24
28
|
__exportStar(require("./Essay1"), exports);
|
|
25
29
|
__exportStar(require("./FillInBlank"), exports);
|
|
26
30
|
__exportStar(require("./FillInBlank1"), exports);
|
|
31
|
+
__exportStar(require("./GetCertificateConfigList"), exports);
|
|
32
|
+
__exportStar(require("./GetCertificateList"), exports);
|
|
27
33
|
__exportStar(require("./GetChatMessage"), exports);
|
|
28
34
|
__exportStar(require("./GetContent"), exports);
|
|
29
35
|
__exportStar(require("./GetContentContentData"), exports);
|
|
@@ -168,6 +174,8 @@ __exportStar(require("./MultipleAnswer"), exports);
|
|
|
168
174
|
__exportStar(require("./MultipleAnswer1"), exports);
|
|
169
175
|
__exportStar(require("./NoAnswer"), exports);
|
|
170
176
|
__exportStar(require("./Paginated"), exports);
|
|
177
|
+
__exportStar(require("./PostCertificate"), exports);
|
|
178
|
+
__exportStar(require("./PostCertificateConfig"), exports);
|
|
171
179
|
__exportStar(require("./PostContentQuiz"), exports);
|
|
172
180
|
__exportStar(require("./PostContentQuizAssignment"), exports);
|
|
173
181
|
__exportStar(require("./PostContentQuizQuestionSelection"), exports);
|
|
@@ -203,6 +211,7 @@ __exportStar(require("./PostQuizQuestions"), exports);
|
|
|
203
211
|
__exportStar(require("./PostQuizQuestionsQuestionsInner"), exports);
|
|
204
212
|
__exportStar(require("./PostQuizSettings"), exports);
|
|
205
213
|
__exportStar(require("./PostResetPassword"), exports);
|
|
214
|
+
__exportStar(require("./PostRevokeCertificate"), exports);
|
|
206
215
|
__exportStar(require("./PostRole"), exports);
|
|
207
216
|
__exportStar(require("./PostSendResetPassword"), exports);
|
|
208
217
|
__exportStar(require("./PostSupportTicket"), exports);
|
|
@@ -210,6 +219,7 @@ __exportStar(require("./PostSupportTicketComment"), exports);
|
|
|
210
219
|
__exportStar(require("./PostVerifyManifest"), exports);
|
|
211
220
|
__exportStar(require("./PostVerifyManifestItemsInner"), exports);
|
|
212
221
|
__exportStar(require("./PostVerifyManifestResourcesInner"), exports);
|
|
222
|
+
__exportStar(require("./PutCertificateConfig"), exports);
|
|
213
223
|
__exportStar(require("./PutContent"), exports);
|
|
214
224
|
__exportStar(require("./PutContentReorder"), exports);
|
|
215
225
|
__exportStar(require("./PutContentVersion"), exports);
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
|
|
2
|
+
# Certificate
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`portalId` | string
|
|
11
|
+
`userId` | string
|
|
12
|
+
`courseId` | string
|
|
13
|
+
`enrollmentId` | string
|
|
14
|
+
`issuedAt` | number
|
|
15
|
+
`expiresAt` | number
|
|
16
|
+
`issuedByUserId` | string
|
|
17
|
+
`issuanceReason` | string
|
|
18
|
+
`status` | string
|
|
19
|
+
`revokedAt` | number
|
|
20
|
+
`revokedByUserId` | string
|
|
21
|
+
`revocationReason` | string
|
|
22
|
+
`learnerName` | string
|
|
23
|
+
`courseName` | string
|
|
24
|
+
`portalName` | string
|
|
25
|
+
`createdAt` | number
|
|
26
|
+
`updatedAt` | number
|
|
27
|
+
|
|
28
|
+
## Example
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
import type { Certificate } from '@easyedu/js-lsm-api'
|
|
32
|
+
|
|
33
|
+
// TODO: Update the object below with actual values
|
|
34
|
+
const example = {
|
|
35
|
+
"id": null,
|
|
36
|
+
"portalId": null,
|
|
37
|
+
"userId": null,
|
|
38
|
+
"courseId": null,
|
|
39
|
+
"enrollmentId": null,
|
|
40
|
+
"issuedAt": null,
|
|
41
|
+
"expiresAt": null,
|
|
42
|
+
"issuedByUserId": null,
|
|
43
|
+
"issuanceReason": null,
|
|
44
|
+
"status": null,
|
|
45
|
+
"revokedAt": null,
|
|
46
|
+
"revokedByUserId": null,
|
|
47
|
+
"revocationReason": null,
|
|
48
|
+
"learnerName": null,
|
|
49
|
+
"courseName": null,
|
|
50
|
+
"portalName": null,
|
|
51
|
+
"createdAt": null,
|
|
52
|
+
"updatedAt": null,
|
|
53
|
+
} satisfies Certificate
|
|
54
|
+
|
|
55
|
+
console.log(example)
|
|
56
|
+
|
|
57
|
+
// Convert the instance to a JSON string
|
|
58
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
59
|
+
console.log(exampleJSON)
|
|
60
|
+
|
|
61
|
+
// Parse the JSON string back to an object
|
|
62
|
+
const exampleParsed = JSON.parse(exampleJSON) as Certificate
|
|
63
|
+
console.log(exampleParsed)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
67
|
+
|
|
68
|
+
|