@easyedu/js-lsm-api 1.86.0 → 1.87.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 +66 -0
- package/README.md +87 -2
- package/dist/apis/CertificateApi.d.ts +273 -0
- package/dist/apis/CertificateApi.js +663 -2
- package/dist/apis/CertificateTemplateApi.d.ts +591 -0
- package/dist/apis/CertificateTemplateApi.js +1546 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/CertificateApi.d.ts +273 -0
- package/dist/esm/apis/CertificateApi.js +662 -1
- package/dist/esm/apis/CertificateTemplateApi.d.ts +591 -0
- package/dist/esm/apis/CertificateTemplateApi.js +1542 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/ArtifactConflict.d.ts +52 -0
- package/dist/esm/models/ArtifactConflict.js +58 -0
- package/dist/esm/models/BadgeIssuer.d.ts +80 -0
- package/dist/esm/models/BadgeIssuer.js +69 -0
- package/dist/esm/models/Certificate.d.ts +54 -0
- package/dist/esm/models/Certificate.js +30 -1
- package/dist/esm/models/CertificateArtifact.d.ts +72 -0
- package/dist/esm/models/CertificateArtifact.js +62 -0
- package/dist/esm/models/CertificateBadgePolicy.d.ts +69 -0
- package/dist/esm/models/CertificateBadgePolicy.js +64 -0
- package/dist/esm/models/CertificateBadgePolicyAlignmentsInner.d.ts +50 -0
- package/dist/esm/models/CertificateBadgePolicyAlignmentsInner.js +51 -0
- package/dist/esm/models/CertificateCanvasDocument.d.ts +53 -0
- package/dist/esm/models/CertificateCanvasDocument.js +59 -0
- package/dist/esm/models/CertificateCanvasDocumentPage.d.ts +60 -0
- package/dist/esm/models/CertificateCanvasDocumentPage.js +63 -0
- package/dist/esm/models/CertificateCanvasElement.d.ts +27 -0
- package/dist/esm/models/CertificateCanvasElement.js +79 -0
- package/dist/esm/models/CertificateCanvasImageElement.d.ts +90 -0
- package/dist/esm/models/CertificateCanvasImageElement.js +83 -0
- package/dist/esm/models/CertificateCanvasLineElement.d.ts +81 -0
- package/dist/esm/models/CertificateCanvasLineElement.js +77 -0
- package/dist/esm/models/CertificateCanvasPortalLogoElement.d.ts +69 -0
- package/dist/esm/models/CertificateCanvasPortalLogoElement.js +69 -0
- package/dist/esm/models/CertificateCanvasShapeElement.d.ts +87 -0
- package/dist/esm/models/CertificateCanvasShapeElement.js +81 -0
- package/dist/esm/models/CertificateCanvasTextElement.d.ts +115 -0
- package/dist/esm/models/CertificateCanvasTextElement.js +101 -0
- package/dist/esm/models/CertificateCanvasVerificationQrElement.d.ts +69 -0
- package/dist/esm/models/CertificateCanvasVerificationQrElement.js +69 -0
- package/dist/esm/models/CertificateConfig.d.ts +27 -0
- package/dist/esm/models/CertificateConfig.js +11 -0
- package/dist/esm/models/CertificateEvent.d.ts +74 -0
- package/dist/esm/models/CertificateEvent.js +61 -0
- package/dist/esm/models/CertificateNotificationPolicy.d.ts +76 -0
- package/dist/esm/models/CertificateNotificationPolicy.js +74 -0
- package/dist/esm/models/CertificatePublic.d.ts +35 -0
- package/dist/esm/models/CertificatePublic.js +22 -0
- package/dist/esm/models/CertificateRenewalPolicy.d.ts +46 -0
- package/dist/esm/models/CertificateRenewalPolicy.js +54 -0
- package/dist/esm/models/CertificateTemplate.d.ts +121 -0
- package/dist/esm/models/CertificateTemplate.js +97 -0
- package/dist/esm/models/CertificateTemplateVersion.d.ts +85 -0
- package/dist/esm/models/CertificateTemplateVersion.js +77 -0
- package/dist/esm/models/EffectiveCertificateConfig.d.ts +56 -0
- package/dist/esm/models/EffectiveCertificateConfig.js +35 -0
- package/dist/esm/models/GetCertificateAssetUpload.d.ts +64 -0
- package/dist/esm/models/GetCertificateAssetUpload.js +66 -0
- package/dist/esm/models/GetCertificateEventList.d.ts +33 -0
- package/dist/esm/models/GetCertificateEventList.js +44 -0
- package/dist/esm/models/GetCertificateTemplateList.d.ts +33 -0
- package/dist/esm/models/GetCertificateTemplateList.js +44 -0
- package/dist/esm/models/GetPublicBadgeCredentialStatus200Response.d.ts +48 -0
- package/dist/esm/models/GetPublicBadgeCredentialStatus200Response.js +56 -0
- package/dist/esm/models/GetUserCourseListItemCertificate.d.ts +1 -0
- package/dist/esm/models/GetUserCourseListItemCertificate.js +2 -1
- package/dist/esm/models/PostCertificateAssetComplete.d.ts +32 -0
- package/dist/esm/models/PostCertificateAssetComplete.js +43 -0
- package/dist/esm/models/PostCertificateAssetUpload.d.ts +53 -0
- package/dist/esm/models/PostCertificateAssetUpload.js +59 -0
- package/dist/esm/models/PostCertificateConfig.d.ts +27 -0
- package/dist/esm/models/PostCertificateConfig.js +11 -0
- package/dist/esm/models/PostCertificateLifecycleAction.d.ts +38 -0
- package/dist/esm/models/PostCertificateLifecycleAction.js +45 -0
- package/dist/esm/models/PostCertificateTemplate.d.ts +51 -0
- package/dist/esm/models/PostCertificateTemplate.js +50 -0
- package/dist/esm/models/PostCertificateTemplateClone.d.ts +44 -0
- package/dist/esm/models/PostCertificateTemplateClone.js +47 -0
- package/dist/esm/models/PostCertificateTemplatePreview.d.ts +41 -0
- package/dist/esm/models/PostCertificateTemplatePreview.js +46 -0
- package/dist/esm/models/PutBadgeIssuer.d.ts +44 -0
- package/dist/esm/models/PutBadgeIssuer.js +47 -0
- package/dist/esm/models/PutCertificateConfig.d.ts +27 -0
- package/dist/esm/models/PutCertificateConfig.js +11 -0
- package/dist/esm/models/PutCertificateTemplate.d.ts +44 -0
- package/dist/esm/models/PutCertificateTemplate.js +45 -0
- package/dist/esm/models/PutCertificateTemplateDraft.d.ts +39 -0
- package/dist/esm/models/PutCertificateTemplateDraft.js +46 -0
- package/dist/esm/models/index.d.ts +32 -0
- package/dist/esm/models/index.js +32 -0
- package/dist/models/ArtifactConflict.d.ts +52 -0
- package/dist/models/ArtifactConflict.js +66 -0
- package/dist/models/BadgeIssuer.d.ts +80 -0
- package/dist/models/BadgeIssuer.js +76 -0
- package/dist/models/Certificate.d.ts +54 -0
- package/dist/models/Certificate.js +31 -2
- package/dist/models/CertificateArtifact.d.ts +72 -0
- package/dist/models/CertificateArtifact.js +70 -0
- package/dist/models/CertificateBadgePolicy.d.ts +69 -0
- package/dist/models/CertificateBadgePolicy.js +71 -0
- package/dist/models/CertificateBadgePolicyAlignmentsInner.d.ts +50 -0
- package/dist/models/CertificateBadgePolicyAlignmentsInner.js +58 -0
- package/dist/models/CertificateCanvasDocument.d.ts +53 -0
- package/dist/models/CertificateCanvasDocument.js +67 -0
- package/dist/models/CertificateCanvasDocumentPage.d.ts +60 -0
- package/dist/models/CertificateCanvasDocumentPage.js +71 -0
- package/dist/models/CertificateCanvasElement.d.ts +27 -0
- package/dist/models/CertificateCanvasElement.js +85 -0
- package/dist/models/CertificateCanvasImageElement.d.ts +90 -0
- package/dist/models/CertificateCanvasImageElement.js +91 -0
- package/dist/models/CertificateCanvasLineElement.d.ts +81 -0
- package/dist/models/CertificateCanvasLineElement.js +85 -0
- package/dist/models/CertificateCanvasPortalLogoElement.d.ts +69 -0
- package/dist/models/CertificateCanvasPortalLogoElement.js +77 -0
- package/dist/models/CertificateCanvasShapeElement.d.ts +87 -0
- package/dist/models/CertificateCanvasShapeElement.js +89 -0
- package/dist/models/CertificateCanvasTextElement.d.ts +115 -0
- package/dist/models/CertificateCanvasTextElement.js +109 -0
- package/dist/models/CertificateCanvasVerificationQrElement.d.ts +69 -0
- package/dist/models/CertificateCanvasVerificationQrElement.js +77 -0
- package/dist/models/CertificateConfig.d.ts +27 -0
- package/dist/models/CertificateConfig.js +11 -0
- package/dist/models/CertificateEvent.d.ts +74 -0
- package/dist/models/CertificateEvent.js +68 -0
- package/dist/models/CertificateNotificationPolicy.d.ts +76 -0
- package/dist/models/CertificateNotificationPolicy.js +82 -0
- package/dist/models/CertificatePublic.d.ts +35 -0
- package/dist/models/CertificatePublic.js +23 -1
- package/dist/models/CertificateRenewalPolicy.d.ts +46 -0
- package/dist/models/CertificateRenewalPolicy.js +62 -0
- package/dist/models/CertificateTemplate.d.ts +121 -0
- package/dist/models/CertificateTemplate.js +105 -0
- package/dist/models/CertificateTemplateVersion.d.ts +85 -0
- package/dist/models/CertificateTemplateVersion.js +85 -0
- package/dist/models/EffectiveCertificateConfig.d.ts +56 -0
- package/dist/models/EffectiveCertificateConfig.js +36 -0
- package/dist/models/GetCertificateAssetUpload.d.ts +64 -0
- package/dist/models/GetCertificateAssetUpload.js +74 -0
- package/dist/models/GetCertificateEventList.d.ts +33 -0
- package/dist/models/GetCertificateEventList.js +51 -0
- package/dist/models/GetCertificateTemplateList.d.ts +33 -0
- package/dist/models/GetCertificateTemplateList.js +51 -0
- package/dist/models/GetPublicBadgeCredentialStatus200Response.d.ts +48 -0
- package/dist/models/GetPublicBadgeCredentialStatus200Response.js +64 -0
- package/dist/models/GetUserCourseListItemCertificate.d.ts +1 -0
- package/dist/models/GetUserCourseListItemCertificate.js +2 -1
- package/dist/models/PostCertificateAssetComplete.d.ts +32 -0
- package/dist/models/PostCertificateAssetComplete.js +50 -0
- package/dist/models/PostCertificateAssetUpload.d.ts +53 -0
- package/dist/models/PostCertificateAssetUpload.js +67 -0
- package/dist/models/PostCertificateConfig.d.ts +27 -0
- package/dist/models/PostCertificateConfig.js +11 -0
- package/dist/models/PostCertificateLifecycleAction.d.ts +38 -0
- package/dist/models/PostCertificateLifecycleAction.js +52 -0
- package/dist/models/PostCertificateTemplate.d.ts +51 -0
- package/dist/models/PostCertificateTemplate.js +57 -0
- package/dist/models/PostCertificateTemplateClone.d.ts +44 -0
- package/dist/models/PostCertificateTemplateClone.js +54 -0
- package/dist/models/PostCertificateTemplatePreview.d.ts +41 -0
- package/dist/models/PostCertificateTemplatePreview.js +53 -0
- package/dist/models/PutBadgeIssuer.d.ts +44 -0
- package/dist/models/PutBadgeIssuer.js +54 -0
- package/dist/models/PutCertificateConfig.d.ts +27 -0
- package/dist/models/PutCertificateConfig.js +11 -0
- package/dist/models/PutCertificateTemplate.d.ts +44 -0
- package/dist/models/PutCertificateTemplate.js +52 -0
- package/dist/models/PutCertificateTemplateDraft.d.ts +39 -0
- package/dist/models/PutCertificateTemplateDraft.js +53 -0
- package/dist/models/index.d.ts +32 -0
- package/dist/models/index.js +32 -0
- package/docs/ArtifactConflict.md +38 -0
- package/docs/BadgeIssuer.md +50 -0
- package/docs/Certificate.md +14 -0
- package/docs/CertificateApi.md +1119 -48
- package/docs/CertificateArtifact.md +44 -0
- package/docs/CertificateBadgePolicy.md +46 -0
- package/docs/CertificateBadgePolicyAlignmentsInner.md +40 -0
- package/docs/CertificateCanvasDocument.md +39 -0
- package/docs/CertificateCanvasDocumentPage.md +38 -0
- package/docs/CertificateCanvasElement.md +65 -0
- package/docs/CertificateCanvasImageElement.md +48 -0
- package/docs/CertificateCanvasLineElement.md +48 -0
- package/docs/CertificateCanvasPortalLogoElement.md +44 -0
- package/docs/CertificateCanvasShapeElement.md +50 -0
- package/docs/CertificateCanvasTextElement.md +54 -0
- package/docs/CertificateCanvasVerificationQrElement.md +44 -0
- package/docs/CertificateConfig.md +8 -0
- package/docs/CertificateEvent.md +46 -0
- package/docs/CertificateNotificationPolicy.md +46 -0
- package/docs/CertificatePublic.md +8 -0
- package/docs/CertificateRenewalPolicy.md +36 -0
- package/docs/CertificateTemplate.md +60 -0
- package/docs/CertificateTemplateApi.md +2493 -0
- package/docs/CertificateTemplateVersion.md +48 -0
- package/docs/EffectiveCertificateConfig.md +14 -0
- package/docs/GetCertificateAssetUpload.md +42 -0
- package/docs/GetCertificateEventList.md +34 -0
- package/docs/GetCertificateTemplateList.md +34 -0
- package/docs/GetPublicBadgeCredentialStatus200Response.md +36 -0
- package/docs/PostCertificateAssetComplete.md +34 -0
- package/docs/PostCertificateAssetUpload.md +38 -0
- package/docs/PostCertificateConfig.md +8 -0
- package/docs/PostCertificateLifecycleAction.md +36 -0
- package/docs/PostCertificateTemplate.md +40 -0
- package/docs/PostCertificateTemplateClone.md +38 -0
- package/docs/PostCertificateTemplatePreview.md +36 -0
- package/docs/PutBadgeIssuer.md +38 -0
- package/docs/PutCertificateConfig.md +8 -0
- package/docs/PutCertificateTemplate.md +38 -0
- package/docs/PutCertificateTemplateDraft.md +36 -0
- package/package.json +1 -1
- package/src/apis/CertificateApi.ts +952 -98
- package/src/apis/CertificateTemplateApi.ts +2020 -0
- package/src/apis/index.ts +1 -0
- package/src/models/ArtifactConflict.ts +95 -0
- package/src/models/BadgeIssuer.ts +135 -0
- package/src/models/Certificate.ts +79 -1
- package/src/models/CertificateArtifact.ts +119 -0
- package/src/models/CertificateBadgePolicy.ts +126 -0
- package/src/models/CertificateBadgePolicyAlignmentsInner.ts +91 -0
- package/src/models/CertificateCanvasDocument.ts +109 -0
- package/src/models/CertificateCanvasDocumentPage.ts +103 -0
- package/src/models/CertificateCanvasElement.ts +128 -0
- package/src/models/CertificateCanvasImageElement.ts +148 -0
- package/src/models/CertificateCanvasLineElement.ts +139 -0
- package/src/models/CertificateCanvasPortalLogoElement.ts +121 -0
- package/src/models/CertificateCanvasShapeElement.ts +148 -0
- package/src/models/CertificateCanvasTextElement.ts +183 -0
- package/src/models/CertificateCanvasVerificationQrElement.ts +121 -0
- package/src/models/CertificateConfig.ts +54 -0
- package/src/models/CertificateEvent.ts +117 -0
- package/src/models/CertificateNotificationPolicy.ts +131 -0
- package/src/models/CertificatePublic.ts +46 -0
- package/src/models/CertificateRenewalPolicy.ts +86 -0
- package/src/models/CertificateTemplate.ts +200 -0
- package/src/models/CertificateTemplateVersion.ts +148 -0
- package/src/models/EffectiveCertificateConfig.ts +96 -0
- package/src/models/GetCertificateAssetUpload.ts +113 -0
- package/src/models/GetCertificateEventList.ts +74 -0
- package/src/models/GetCertificateTemplateList.ts +74 -0
- package/src/models/GetPublicBadgeCredentialStatus200Response.ts +88 -0
- package/src/models/GetUserCourseListItemCertificate.ts +2 -1
- package/src/models/PostCertificateAssetComplete.ts +66 -0
- package/src/models/PostCertificateAssetUpload.ts +96 -0
- package/src/models/PostCertificateConfig.ts +54 -0
- package/src/models/PostCertificateLifecycleAction.ts +74 -0
- package/src/models/PostCertificateTemplate.ts +98 -0
- package/src/models/PostCertificateTemplateClone.ts +82 -0
- package/src/models/PostCertificateTemplatePreview.ts +82 -0
- package/src/models/PutBadgeIssuer.ts +82 -0
- package/src/models/PutCertificateConfig.ts +54 -0
- package/src/models/PutCertificateTemplate.ts +81 -0
- package/src/models/PutCertificateTemplateDraft.ts +82 -0
- package/src/models/index.ts +32 -0
|
@@ -1,6 +1,25 @@
|
|
|
1
|
+
export * from './ArtifactConflict';
|
|
2
|
+
export * from './BadgeIssuer';
|
|
1
3
|
export * from './Certificate';
|
|
4
|
+
export * from './CertificateArtifact';
|
|
5
|
+
export * from './CertificateBadgePolicy';
|
|
6
|
+
export * from './CertificateBadgePolicyAlignmentsInner';
|
|
7
|
+
export * from './CertificateCanvasDocument';
|
|
8
|
+
export * from './CertificateCanvasDocumentPage';
|
|
9
|
+
export * from './CertificateCanvasElement';
|
|
10
|
+
export * from './CertificateCanvasImageElement';
|
|
11
|
+
export * from './CertificateCanvasLineElement';
|
|
12
|
+
export * from './CertificateCanvasPortalLogoElement';
|
|
13
|
+
export * from './CertificateCanvasShapeElement';
|
|
14
|
+
export * from './CertificateCanvasTextElement';
|
|
15
|
+
export * from './CertificateCanvasVerificationQrElement';
|
|
2
16
|
export * from './CertificateConfig';
|
|
17
|
+
export * from './CertificateEvent';
|
|
18
|
+
export * from './CertificateNotificationPolicy';
|
|
3
19
|
export * from './CertificatePublic';
|
|
20
|
+
export * from './CertificateRenewalPolicy';
|
|
21
|
+
export * from './CertificateTemplate';
|
|
22
|
+
export * from './CertificateTemplateVersion';
|
|
4
23
|
export * from './ContentAttemptItem';
|
|
5
24
|
export * from './ContentAttemptRollupScore';
|
|
6
25
|
export * from './ContentAttemptScore';
|
|
@@ -21,8 +40,11 @@ export * from './Essay';
|
|
|
21
40
|
export * from './Essay1';
|
|
22
41
|
export * from './FillInBlank';
|
|
23
42
|
export * from './FillInBlank1';
|
|
43
|
+
export * from './GetCertificateAssetUpload';
|
|
24
44
|
export * from './GetCertificateConfigList';
|
|
45
|
+
export * from './GetCertificateEventList';
|
|
25
46
|
export * from './GetCertificateList';
|
|
47
|
+
export * from './GetCertificateTemplateList';
|
|
26
48
|
export * from './GetChatMessage';
|
|
27
49
|
export * from './GetContent';
|
|
28
50
|
export * from './GetContentAttempts';
|
|
@@ -104,6 +126,7 @@ export * from './GetPortalStudentReportingPortalInfo';
|
|
|
104
126
|
export * from './GetPortalUser';
|
|
105
127
|
export * from './GetPortalUserFieldValues';
|
|
106
128
|
export * from './GetPortalUserList';
|
|
129
|
+
export * from './GetPublicBadgeCredentialStatus200Response';
|
|
107
130
|
export * from './GetPublicPortalBranding';
|
|
108
131
|
export * from './GetQuestion';
|
|
109
132
|
export * from './GetQuestionAnswerChoicesInner';
|
|
@@ -212,7 +235,13 @@ export * from './PortalUserFieldValueField';
|
|
|
212
235
|
export * from './PortalUserFieldValueGroup';
|
|
213
236
|
export * from './PortalUserFieldValueInput';
|
|
214
237
|
export * from './PostCertificate';
|
|
238
|
+
export * from './PostCertificateAssetComplete';
|
|
239
|
+
export * from './PostCertificateAssetUpload';
|
|
215
240
|
export * from './PostCertificateConfig';
|
|
241
|
+
export * from './PostCertificateLifecycleAction';
|
|
242
|
+
export * from './PostCertificateTemplate';
|
|
243
|
+
export * from './PostCertificateTemplateClone';
|
|
244
|
+
export * from './PostCertificateTemplatePreview';
|
|
216
245
|
export * from './PostContentQuiz';
|
|
217
246
|
export * from './PostContentQuizAssignment';
|
|
218
247
|
export * from './PostContentQuizQuestionSelection';
|
|
@@ -281,7 +310,10 @@ export * from './PostSupportTicketComment';
|
|
|
281
310
|
export * from './PostVerifyManifest';
|
|
282
311
|
export * from './PostVerifyManifestItemsInner';
|
|
283
312
|
export * from './PostVerifyManifestResourcesInner';
|
|
313
|
+
export * from './PutBadgeIssuer';
|
|
284
314
|
export * from './PutCertificateConfig';
|
|
315
|
+
export * from './PutCertificateTemplate';
|
|
316
|
+
export * from './PutCertificateTemplateDraft';
|
|
285
317
|
export * from './PutContent';
|
|
286
318
|
export * from './PutContentAttemptSettings';
|
|
287
319
|
export * from './PutContentReorder';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './ArtifactConflict';
|
|
4
|
+
export * from './BadgeIssuer';
|
|
3
5
|
export * from './Certificate';
|
|
6
|
+
export * from './CertificateArtifact';
|
|
7
|
+
export * from './CertificateBadgePolicy';
|
|
8
|
+
export * from './CertificateBadgePolicyAlignmentsInner';
|
|
9
|
+
export * from './CertificateCanvasDocument';
|
|
10
|
+
export * from './CertificateCanvasDocumentPage';
|
|
11
|
+
export * from './CertificateCanvasElement';
|
|
12
|
+
export * from './CertificateCanvasImageElement';
|
|
13
|
+
export * from './CertificateCanvasLineElement';
|
|
14
|
+
export * from './CertificateCanvasPortalLogoElement';
|
|
15
|
+
export * from './CertificateCanvasShapeElement';
|
|
16
|
+
export * from './CertificateCanvasTextElement';
|
|
17
|
+
export * from './CertificateCanvasVerificationQrElement';
|
|
4
18
|
export * from './CertificateConfig';
|
|
19
|
+
export * from './CertificateEvent';
|
|
20
|
+
export * from './CertificateNotificationPolicy';
|
|
5
21
|
export * from './CertificatePublic';
|
|
22
|
+
export * from './CertificateRenewalPolicy';
|
|
23
|
+
export * from './CertificateTemplate';
|
|
24
|
+
export * from './CertificateTemplateVersion';
|
|
6
25
|
export * from './ContentAttemptItem';
|
|
7
26
|
export * from './ContentAttemptRollupScore';
|
|
8
27
|
export * from './ContentAttemptScore';
|
|
@@ -23,8 +42,11 @@ export * from './Essay';
|
|
|
23
42
|
export * from './Essay1';
|
|
24
43
|
export * from './FillInBlank';
|
|
25
44
|
export * from './FillInBlank1';
|
|
45
|
+
export * from './GetCertificateAssetUpload';
|
|
26
46
|
export * from './GetCertificateConfigList';
|
|
47
|
+
export * from './GetCertificateEventList';
|
|
27
48
|
export * from './GetCertificateList';
|
|
49
|
+
export * from './GetCertificateTemplateList';
|
|
28
50
|
export * from './GetChatMessage';
|
|
29
51
|
export * from './GetContent';
|
|
30
52
|
export * from './GetContentAttempts';
|
|
@@ -106,6 +128,7 @@ export * from './GetPortalStudentReportingPortalInfo';
|
|
|
106
128
|
export * from './GetPortalUser';
|
|
107
129
|
export * from './GetPortalUserFieldValues';
|
|
108
130
|
export * from './GetPortalUserList';
|
|
131
|
+
export * from './GetPublicBadgeCredentialStatus200Response';
|
|
109
132
|
export * from './GetPublicPortalBranding';
|
|
110
133
|
export * from './GetQuestion';
|
|
111
134
|
export * from './GetQuestionAnswerChoicesInner';
|
|
@@ -214,7 +237,13 @@ export * from './PortalUserFieldValueField';
|
|
|
214
237
|
export * from './PortalUserFieldValueGroup';
|
|
215
238
|
export * from './PortalUserFieldValueInput';
|
|
216
239
|
export * from './PostCertificate';
|
|
240
|
+
export * from './PostCertificateAssetComplete';
|
|
241
|
+
export * from './PostCertificateAssetUpload';
|
|
217
242
|
export * from './PostCertificateConfig';
|
|
243
|
+
export * from './PostCertificateLifecycleAction';
|
|
244
|
+
export * from './PostCertificateTemplate';
|
|
245
|
+
export * from './PostCertificateTemplateClone';
|
|
246
|
+
export * from './PostCertificateTemplatePreview';
|
|
218
247
|
export * from './PostContentQuiz';
|
|
219
248
|
export * from './PostContentQuizAssignment';
|
|
220
249
|
export * from './PostContentQuizQuestionSelection';
|
|
@@ -283,7 +312,10 @@ export * from './PostSupportTicketComment';
|
|
|
283
312
|
export * from './PostVerifyManifest';
|
|
284
313
|
export * from './PostVerifyManifestItemsInner';
|
|
285
314
|
export * from './PostVerifyManifestResourcesInner';
|
|
315
|
+
export * from './PutBadgeIssuer';
|
|
286
316
|
export * from './PutCertificateConfig';
|
|
317
|
+
export * from './PutCertificateTemplate';
|
|
318
|
+
export * from './PutCertificateTemplateDraft';
|
|
287
319
|
export * from './PutContent';
|
|
288
320
|
export * from './PutContentAttemptSettings';
|
|
289
321
|
export * from './PutContentReorder';
|
|
@@ -0,0 +1,52 @@
|
|
|
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 ArtifactConflict
|
|
16
|
+
*/
|
|
17
|
+
export interface ArtifactConflict {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {ArtifactConflictCodeEnum}
|
|
21
|
+
* @memberof ArtifactConflict
|
|
22
|
+
*/
|
|
23
|
+
code: ArtifactConflictCodeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ArtifactConflict
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ArtifactConflict
|
|
34
|
+
*/
|
|
35
|
+
retryable: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const ArtifactConflictCodeEnum: {
|
|
41
|
+
readonly ArtifactPending: "artifact_pending";
|
|
42
|
+
readonly ArtifactFailed: "artifact_failed";
|
|
43
|
+
};
|
|
44
|
+
export type ArtifactConflictCodeEnum = typeof ArtifactConflictCodeEnum[keyof typeof ArtifactConflictCodeEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the ArtifactConflict interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfArtifactConflict(value: object): value is ArtifactConflict;
|
|
49
|
+
export declare function ArtifactConflictFromJSON(json: any): ArtifactConflict;
|
|
50
|
+
export declare function ArtifactConflictFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactConflict;
|
|
51
|
+
export declare function ArtifactConflictToJSON(json: any): ArtifactConflict;
|
|
52
|
+
export declare function ArtifactConflictToJSONTyped(value?: ArtifactConflict | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.ArtifactConflictCodeEnum = void 0;
|
|
17
|
+
exports.instanceOfArtifactConflict = instanceOfArtifactConflict;
|
|
18
|
+
exports.ArtifactConflictFromJSON = ArtifactConflictFromJSON;
|
|
19
|
+
exports.ArtifactConflictFromJSONTyped = ArtifactConflictFromJSONTyped;
|
|
20
|
+
exports.ArtifactConflictToJSON = ArtifactConflictToJSON;
|
|
21
|
+
exports.ArtifactConflictToJSONTyped = ArtifactConflictToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ArtifactConflictCodeEnum = {
|
|
26
|
+
ArtifactPending: 'artifact_pending',
|
|
27
|
+
ArtifactFailed: 'artifact_failed'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the ArtifactConflict interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfArtifactConflict(value) {
|
|
33
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('retryable' in value) || value['retryable'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function ArtifactConflictFromJSON(json) {
|
|
42
|
+
return ArtifactConflictFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ArtifactConflictFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'code': json['code'],
|
|
50
|
+
'message': json['message'],
|
|
51
|
+
'retryable': json['retryable'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function ArtifactConflictToJSON(json) {
|
|
55
|
+
return ArtifactConflictToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function ArtifactConflictToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'code': value['code'],
|
|
63
|
+
'message': value['message'],
|
|
64
|
+
'retryable': value['retryable'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 BadgeIssuer
|
|
16
|
+
*/
|
|
17
|
+
export interface BadgeIssuer {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BadgeIssuer
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BadgeIssuer
|
|
28
|
+
*/
|
|
29
|
+
portalId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BadgeIssuer
|
|
34
|
+
*/
|
|
35
|
+
displayName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BadgeIssuer
|
|
40
|
+
*/
|
|
41
|
+
description?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BadgeIssuer
|
|
46
|
+
*/
|
|
47
|
+
websiteUrl?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BadgeIssuer
|
|
52
|
+
*/
|
|
53
|
+
did: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BadgeIssuer
|
|
58
|
+
*/
|
|
59
|
+
activeKeyId?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof BadgeIssuer
|
|
64
|
+
*/
|
|
65
|
+
createdAt: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof BadgeIssuer
|
|
70
|
+
*/
|
|
71
|
+
updatedAt: number;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the BadgeIssuer interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfBadgeIssuer(value: object): value is BadgeIssuer;
|
|
77
|
+
export declare function BadgeIssuerFromJSON(json: any): BadgeIssuer;
|
|
78
|
+
export declare function BadgeIssuerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadgeIssuer;
|
|
79
|
+
export declare function BadgeIssuerToJSON(json: any): BadgeIssuer;
|
|
80
|
+
export declare function BadgeIssuerToJSONTyped(value?: BadgeIssuer | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.instanceOfBadgeIssuer = instanceOfBadgeIssuer;
|
|
17
|
+
exports.BadgeIssuerFromJSON = BadgeIssuerFromJSON;
|
|
18
|
+
exports.BadgeIssuerFromJSONTyped = BadgeIssuerFromJSONTyped;
|
|
19
|
+
exports.BadgeIssuerToJSON = BadgeIssuerToJSON;
|
|
20
|
+
exports.BadgeIssuerToJSONTyped = BadgeIssuerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BadgeIssuer interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBadgeIssuer(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('portalId' in value) || value['portalId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('did' in value) || value['did'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function BadgeIssuerFromJSON(json) {
|
|
40
|
+
return BadgeIssuerFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function BadgeIssuerFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'portalId': json['portal_id'],
|
|
49
|
+
'displayName': json['display_name'],
|
|
50
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
51
|
+
'websiteUrl': json['website_url'] == null ? undefined : json['website_url'],
|
|
52
|
+
'did': json['did'],
|
|
53
|
+
'activeKeyId': json['active_key_id'] == null ? undefined : json['active_key_id'],
|
|
54
|
+
'createdAt': json['created_at'],
|
|
55
|
+
'updatedAt': json['updated_at'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function BadgeIssuerToJSON(json) {
|
|
59
|
+
return BadgeIssuerToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function BadgeIssuerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'portal_id': value['portalId'],
|
|
68
|
+
'display_name': value['displayName'],
|
|
69
|
+
'description': value['description'],
|
|
70
|
+
'website_url': value['websiteUrl'],
|
|
71
|
+
'did': value['did'],
|
|
72
|
+
'active_key_id': value['activeKeyId'],
|
|
73
|
+
'created_at': value['createdAt'],
|
|
74
|
+
'updated_at': value['updatedAt'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CertificateArtifact } from './CertificateArtifact';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -69,12 +70,54 @@ export interface Certificate {
|
|
|
69
70
|
* @memberof Certificate
|
|
70
71
|
*/
|
|
71
72
|
issuanceReason: CertificateIssuanceReasonEnum;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {CertificateIssuanceTypeEnum}
|
|
76
|
+
* @memberof Certificate
|
|
77
|
+
*/
|
|
78
|
+
issuanceType: CertificateIssuanceTypeEnum;
|
|
72
79
|
/**
|
|
73
80
|
*
|
|
74
81
|
* @type {CertificateStatusEnum}
|
|
75
82
|
* @memberof Certificate
|
|
76
83
|
*/
|
|
77
84
|
status: CertificateStatusEnum;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof Certificate
|
|
89
|
+
*/
|
|
90
|
+
supersedesCertificateId?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof Certificate
|
|
95
|
+
*/
|
|
96
|
+
supersededByCertificateId?: string | null;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {number}
|
|
100
|
+
* @memberof Certificate
|
|
101
|
+
*/
|
|
102
|
+
supersededAt?: number | null;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof Certificate
|
|
107
|
+
*/
|
|
108
|
+
templateVersionId?: string | null;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {CertificateArtifact}
|
|
112
|
+
* @memberof Certificate
|
|
113
|
+
*/
|
|
114
|
+
artifact: CertificateArtifact;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof Certificate
|
|
119
|
+
*/
|
|
120
|
+
badgeCredentialId?: string | null;
|
|
78
121
|
/**
|
|
79
122
|
*
|
|
80
123
|
* @type {number}
|
|
@@ -133,12 +176,23 @@ export declare const CertificateIssuanceReasonEnum: {
|
|
|
133
176
|
readonly Manual: "manual";
|
|
134
177
|
};
|
|
135
178
|
export type CertificateIssuanceReasonEnum = typeof CertificateIssuanceReasonEnum[keyof typeof CertificateIssuanceReasonEnum];
|
|
179
|
+
/**
|
|
180
|
+
* @export
|
|
181
|
+
*/
|
|
182
|
+
export declare const CertificateIssuanceTypeEnum: {
|
|
183
|
+
readonly Original: "original";
|
|
184
|
+
readonly Renewal: "renewal";
|
|
185
|
+
readonly Replacement: "replacement";
|
|
186
|
+
readonly Correction: "correction";
|
|
187
|
+
};
|
|
188
|
+
export type CertificateIssuanceTypeEnum = typeof CertificateIssuanceTypeEnum[keyof typeof CertificateIssuanceTypeEnum];
|
|
136
189
|
/**
|
|
137
190
|
* @export
|
|
138
191
|
*/
|
|
139
192
|
export declare const CertificateStatusEnum: {
|
|
140
193
|
readonly Active: "active";
|
|
141
194
|
readonly Revoked: "revoked";
|
|
195
|
+
readonly Superseded: "superseded";
|
|
142
196
|
};
|
|
143
197
|
export type CertificateStatusEnum = typeof CertificateStatusEnum[keyof typeof CertificateStatusEnum];
|
|
144
198
|
/**
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CertificateStatusEnum = exports.CertificateIssuanceReasonEnum = void 0;
|
|
16
|
+
exports.CertificateStatusEnum = exports.CertificateIssuanceTypeEnum = exports.CertificateIssuanceReasonEnum = void 0;
|
|
17
17
|
exports.instanceOfCertificate = instanceOfCertificate;
|
|
18
18
|
exports.CertificateFromJSON = CertificateFromJSON;
|
|
19
19
|
exports.CertificateFromJSONTyped = CertificateFromJSONTyped;
|
|
20
20
|
exports.CertificateToJSON = CertificateToJSON;
|
|
21
21
|
exports.CertificateToJSONTyped = CertificateToJSONTyped;
|
|
22
|
+
const CertificateArtifact_1 = require("./CertificateArtifact");
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
@@ -27,12 +28,22 @@ exports.CertificateIssuanceReasonEnum = {
|
|
|
27
28
|
QuizPassed: 'quiz_passed',
|
|
28
29
|
Manual: 'manual'
|
|
29
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.CertificateIssuanceTypeEnum = {
|
|
35
|
+
Original: 'original',
|
|
36
|
+
Renewal: 'renewal',
|
|
37
|
+
Replacement: 'replacement',
|
|
38
|
+
Correction: 'correction'
|
|
39
|
+
};
|
|
30
40
|
/**
|
|
31
41
|
* @export
|
|
32
42
|
*/
|
|
33
43
|
exports.CertificateStatusEnum = {
|
|
34
44
|
Active: 'active',
|
|
35
|
-
Revoked: 'revoked'
|
|
45
|
+
Revoked: 'revoked',
|
|
46
|
+
Superseded: 'superseded'
|
|
36
47
|
};
|
|
37
48
|
/**
|
|
38
49
|
* Check if a given object implements the Certificate interface.
|
|
@@ -50,8 +61,12 @@ function instanceOfCertificate(value) {
|
|
|
50
61
|
return false;
|
|
51
62
|
if (!('issuanceReason' in value) || value['issuanceReason'] === undefined)
|
|
52
63
|
return false;
|
|
64
|
+
if (!('issuanceType' in value) || value['issuanceType'] === undefined)
|
|
65
|
+
return false;
|
|
53
66
|
if (!('status' in value) || value['status'] === undefined)
|
|
54
67
|
return false;
|
|
68
|
+
if (!('artifact' in value) || value['artifact'] === undefined)
|
|
69
|
+
return false;
|
|
55
70
|
if (!('learnerName' in value) || value['learnerName'] === undefined)
|
|
56
71
|
return false;
|
|
57
72
|
if (!('courseName' in value) || value['courseName'] === undefined)
|
|
@@ -81,7 +96,14 @@ function CertificateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
81
96
|
'expiresAt': json['expires_at'] == null ? undefined : json['expires_at'],
|
|
82
97
|
'issuedByUserId': json['issued_by_user_id'] == null ? undefined : json['issued_by_user_id'],
|
|
83
98
|
'issuanceReason': json['issuance_reason'],
|
|
99
|
+
'issuanceType': json['issuance_type'],
|
|
84
100
|
'status': json['status'],
|
|
101
|
+
'supersedesCertificateId': json['supersedes_certificate_id'] == null ? undefined : json['supersedes_certificate_id'],
|
|
102
|
+
'supersededByCertificateId': json['superseded_by_certificate_id'] == null ? undefined : json['superseded_by_certificate_id'],
|
|
103
|
+
'supersededAt': json['superseded_at'] == null ? undefined : json['superseded_at'],
|
|
104
|
+
'templateVersionId': json['template_version_id'] == null ? undefined : json['template_version_id'],
|
|
105
|
+
'artifact': (0, CertificateArtifact_1.CertificateArtifactFromJSON)(json['artifact']),
|
|
106
|
+
'badgeCredentialId': json['badge_credential_id'] == null ? undefined : json['badge_credential_id'],
|
|
85
107
|
'revokedAt': json['revoked_at'] == null ? undefined : json['revoked_at'],
|
|
86
108
|
'revokedByUserId': json['revoked_by_user_id'] == null ? undefined : json['revoked_by_user_id'],
|
|
87
109
|
'revocationReason': json['revocation_reason'] == null ? undefined : json['revocation_reason'],
|
|
@@ -109,7 +131,14 @@ function CertificateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
109
131
|
'expires_at': value['expiresAt'],
|
|
110
132
|
'issued_by_user_id': value['issuedByUserId'],
|
|
111
133
|
'issuance_reason': value['issuanceReason'],
|
|
134
|
+
'issuance_type': value['issuanceType'],
|
|
112
135
|
'status': value['status'],
|
|
136
|
+
'supersedes_certificate_id': value['supersedesCertificateId'],
|
|
137
|
+
'superseded_by_certificate_id': value['supersededByCertificateId'],
|
|
138
|
+
'superseded_at': value['supersededAt'],
|
|
139
|
+
'template_version_id': value['templateVersionId'],
|
|
140
|
+
'artifact': (0, CertificateArtifact_1.CertificateArtifactToJSON)(value['artifact']),
|
|
141
|
+
'badge_credential_id': value['badgeCredentialId'],
|
|
113
142
|
'revoked_at': value['revokedAt'],
|
|
114
143
|
'revoked_by_user_id': value['revokedByUserId'],
|
|
115
144
|
'revocation_reason': value['revocationReason'],
|
|
@@ -0,0 +1,72 @@
|
|
|
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 CertificateArtifact
|
|
16
|
+
*/
|
|
17
|
+
export interface CertificateArtifact {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {CertificateArtifactStatusEnum}
|
|
21
|
+
* @memberof CertificateArtifact
|
|
22
|
+
*/
|
|
23
|
+
status: CertificateArtifactStatusEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CertificateArtifact
|
|
28
|
+
*/
|
|
29
|
+
byteSize?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CertificateArtifact
|
|
34
|
+
*/
|
|
35
|
+
checksumSha256?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CertificateArtifact
|
|
40
|
+
*/
|
|
41
|
+
rendererVersion?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CertificateArtifact
|
|
46
|
+
*/
|
|
47
|
+
generatedAt?: number | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CertificateArtifact
|
|
52
|
+
*/
|
|
53
|
+
lastErrorCode?: string | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const CertificateArtifactStatusEnum: {
|
|
59
|
+
readonly Queued: "queued";
|
|
60
|
+
readonly Processing: "processing";
|
|
61
|
+
readonly Ready: "ready";
|
|
62
|
+
readonly Failed: "failed";
|
|
63
|
+
};
|
|
64
|
+
export type CertificateArtifactStatusEnum = typeof CertificateArtifactStatusEnum[keyof typeof CertificateArtifactStatusEnum];
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the CertificateArtifact interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfCertificateArtifact(value: object): value is CertificateArtifact;
|
|
69
|
+
export declare function CertificateArtifactFromJSON(json: any): CertificateArtifact;
|
|
70
|
+
export declare function CertificateArtifactFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertificateArtifact;
|
|
71
|
+
export declare function CertificateArtifactToJSON(json: any): CertificateArtifact;
|
|
72
|
+
export declare function CertificateArtifactToJSONTyped(value?: CertificateArtifact | null, ignoreDiscriminator?: boolean): any;
|