@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
|
@@ -0,0 +1,85 @@
|
|
|
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.CertificateCanvasElementFromJSON = CertificateCanvasElementFromJSON;
|
|
17
|
+
exports.CertificateCanvasElementFromJSONTyped = CertificateCanvasElementFromJSONTyped;
|
|
18
|
+
exports.CertificateCanvasElementToJSON = CertificateCanvasElementToJSON;
|
|
19
|
+
exports.CertificateCanvasElementToJSONTyped = CertificateCanvasElementToJSONTyped;
|
|
20
|
+
const CertificateCanvasImageElement_1 = require("./CertificateCanvasImageElement");
|
|
21
|
+
const CertificateCanvasLineElement_1 = require("./CertificateCanvasLineElement");
|
|
22
|
+
const CertificateCanvasPortalLogoElement_1 = require("./CertificateCanvasPortalLogoElement");
|
|
23
|
+
const CertificateCanvasShapeElement_1 = require("./CertificateCanvasShapeElement");
|
|
24
|
+
const CertificateCanvasTextElement_1 = require("./CertificateCanvasTextElement");
|
|
25
|
+
const CertificateCanvasVerificationQrElement_1 = require("./CertificateCanvasVerificationQrElement");
|
|
26
|
+
function CertificateCanvasElementFromJSON(json) {
|
|
27
|
+
return CertificateCanvasElementFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function CertificateCanvasElementFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
if (typeof json !== 'object') {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
if ((0, CertificateCanvasImageElement_1.instanceOfCertificateCanvasImageElement)(json)) {
|
|
37
|
+
return (0, CertificateCanvasImageElement_1.CertificateCanvasImageElementFromJSONTyped)(json, true);
|
|
38
|
+
}
|
|
39
|
+
if ((0, CertificateCanvasLineElement_1.instanceOfCertificateCanvasLineElement)(json)) {
|
|
40
|
+
return (0, CertificateCanvasLineElement_1.CertificateCanvasLineElementFromJSONTyped)(json, true);
|
|
41
|
+
}
|
|
42
|
+
if ((0, CertificateCanvasPortalLogoElement_1.instanceOfCertificateCanvasPortalLogoElement)(json)) {
|
|
43
|
+
return (0, CertificateCanvasPortalLogoElement_1.CertificateCanvasPortalLogoElementFromJSONTyped)(json, true);
|
|
44
|
+
}
|
|
45
|
+
if ((0, CertificateCanvasShapeElement_1.instanceOfCertificateCanvasShapeElement)(json)) {
|
|
46
|
+
return (0, CertificateCanvasShapeElement_1.CertificateCanvasShapeElementFromJSONTyped)(json, true);
|
|
47
|
+
}
|
|
48
|
+
if ((0, CertificateCanvasTextElement_1.instanceOfCertificateCanvasTextElement)(json)) {
|
|
49
|
+
return (0, CertificateCanvasTextElement_1.CertificateCanvasTextElementFromJSONTyped)(json, true);
|
|
50
|
+
}
|
|
51
|
+
if ((0, CertificateCanvasVerificationQrElement_1.instanceOfCertificateCanvasVerificationQrElement)(json)) {
|
|
52
|
+
return (0, CertificateCanvasVerificationQrElement_1.CertificateCanvasVerificationQrElementFromJSONTyped)(json, true);
|
|
53
|
+
}
|
|
54
|
+
return {};
|
|
55
|
+
}
|
|
56
|
+
function CertificateCanvasElementToJSON(json) {
|
|
57
|
+
return CertificateCanvasElementToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function CertificateCanvasElementToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
if (typeof value !== 'object') {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
if ((0, CertificateCanvasImageElement_1.instanceOfCertificateCanvasImageElement)(value)) {
|
|
67
|
+
return (0, CertificateCanvasImageElement_1.CertificateCanvasImageElementToJSON)(value);
|
|
68
|
+
}
|
|
69
|
+
if ((0, CertificateCanvasLineElement_1.instanceOfCertificateCanvasLineElement)(value)) {
|
|
70
|
+
return (0, CertificateCanvasLineElement_1.CertificateCanvasLineElementToJSON)(value);
|
|
71
|
+
}
|
|
72
|
+
if ((0, CertificateCanvasPortalLogoElement_1.instanceOfCertificateCanvasPortalLogoElement)(value)) {
|
|
73
|
+
return (0, CertificateCanvasPortalLogoElement_1.CertificateCanvasPortalLogoElementToJSON)(value);
|
|
74
|
+
}
|
|
75
|
+
if ((0, CertificateCanvasShapeElement_1.instanceOfCertificateCanvasShapeElement)(value)) {
|
|
76
|
+
return (0, CertificateCanvasShapeElement_1.CertificateCanvasShapeElementToJSON)(value);
|
|
77
|
+
}
|
|
78
|
+
if ((0, CertificateCanvasTextElement_1.instanceOfCertificateCanvasTextElement)(value)) {
|
|
79
|
+
return (0, CertificateCanvasTextElement_1.CertificateCanvasTextElementToJSON)(value);
|
|
80
|
+
}
|
|
81
|
+
if ((0, CertificateCanvasVerificationQrElement_1.instanceOfCertificateCanvasVerificationQrElement)(value)) {
|
|
82
|
+
return (0, CertificateCanvasVerificationQrElement_1.CertificateCanvasVerificationQrElementToJSON)(value);
|
|
83
|
+
}
|
|
84
|
+
return {};
|
|
85
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 CertificateCanvasImageElement
|
|
16
|
+
*/
|
|
17
|
+
export interface CertificateCanvasImageElement {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CertificateCanvasImageElement
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {CertificateCanvasImageElementTypeEnum}
|
|
27
|
+
* @memberof CertificateCanvasImageElement
|
|
28
|
+
*/
|
|
29
|
+
type: CertificateCanvasImageElementTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CertificateCanvasImageElement
|
|
34
|
+
*/
|
|
35
|
+
x: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CertificateCanvasImageElement
|
|
40
|
+
*/
|
|
41
|
+
y: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CertificateCanvasImageElement
|
|
46
|
+
*/
|
|
47
|
+
width: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CertificateCanvasImageElement
|
|
52
|
+
*/
|
|
53
|
+
height: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CertificateCanvasImageElement
|
|
58
|
+
*/
|
|
59
|
+
assetId: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {CertificateCanvasImageElementFitEnum}
|
|
63
|
+
* @memberof CertificateCanvasImageElement
|
|
64
|
+
*/
|
|
65
|
+
fit?: CertificateCanvasImageElementFitEnum;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const CertificateCanvasImageElementTypeEnum: {
|
|
71
|
+
readonly Image: "image";
|
|
72
|
+
};
|
|
73
|
+
export type CertificateCanvasImageElementTypeEnum = typeof CertificateCanvasImageElementTypeEnum[keyof typeof CertificateCanvasImageElementTypeEnum];
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
export declare const CertificateCanvasImageElementFitEnum: {
|
|
78
|
+
readonly Contain: "contain";
|
|
79
|
+
readonly Cover: "cover";
|
|
80
|
+
readonly Stretch: "stretch";
|
|
81
|
+
};
|
|
82
|
+
export type CertificateCanvasImageElementFitEnum = typeof CertificateCanvasImageElementFitEnum[keyof typeof CertificateCanvasImageElementFitEnum];
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the CertificateCanvasImageElement interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfCertificateCanvasImageElement(value: object): value is CertificateCanvasImageElement;
|
|
87
|
+
export declare function CertificateCanvasImageElementFromJSON(json: any): CertificateCanvasImageElement;
|
|
88
|
+
export declare function CertificateCanvasImageElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertificateCanvasImageElement;
|
|
89
|
+
export declare function CertificateCanvasImageElementToJSON(json: any): CertificateCanvasImageElement;
|
|
90
|
+
export declare function CertificateCanvasImageElementToJSONTyped(value?: CertificateCanvasImageElement | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,91 @@
|
|
|
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.CertificateCanvasImageElementFitEnum = exports.CertificateCanvasImageElementTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfCertificateCanvasImageElement = instanceOfCertificateCanvasImageElement;
|
|
18
|
+
exports.CertificateCanvasImageElementFromJSON = CertificateCanvasImageElementFromJSON;
|
|
19
|
+
exports.CertificateCanvasImageElementFromJSONTyped = CertificateCanvasImageElementFromJSONTyped;
|
|
20
|
+
exports.CertificateCanvasImageElementToJSON = CertificateCanvasImageElementToJSON;
|
|
21
|
+
exports.CertificateCanvasImageElementToJSONTyped = CertificateCanvasImageElementToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CertificateCanvasImageElementTypeEnum = {
|
|
26
|
+
Image: 'image'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
exports.CertificateCanvasImageElementFitEnum = {
|
|
32
|
+
Contain: 'contain',
|
|
33
|
+
Cover: 'cover',
|
|
34
|
+
Stretch: 'stretch'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the CertificateCanvasImageElement interface.
|
|
38
|
+
*/
|
|
39
|
+
function instanceOfCertificateCanvasImageElement(value) {
|
|
40
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('x' in value) || value['x'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('y' in value) || value['y'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('width' in value) || value['width'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('height' in value) || value['height'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('assetId' in value) || value['assetId'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
function CertificateCanvasImageElementFromJSON(json) {
|
|
57
|
+
return CertificateCanvasImageElementFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function CertificateCanvasImageElementFromJSONTyped(json, ignoreDiscriminator) {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': json['id'],
|
|
65
|
+
'type': json['type'],
|
|
66
|
+
'x': json['x'],
|
|
67
|
+
'y': json['y'],
|
|
68
|
+
'width': json['width'],
|
|
69
|
+
'height': json['height'],
|
|
70
|
+
'assetId': json['asset_id'],
|
|
71
|
+
'fit': json['fit'] == null ? undefined : json['fit'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function CertificateCanvasImageElementToJSON(json) {
|
|
75
|
+
return CertificateCanvasImageElementToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
function CertificateCanvasImageElementToJSONTyped(value, ignoreDiscriminator = false) {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
'id': value['id'],
|
|
83
|
+
'type': value['type'],
|
|
84
|
+
'x': value['x'],
|
|
85
|
+
'y': value['y'],
|
|
86
|
+
'width': value['width'],
|
|
87
|
+
'height': value['height'],
|
|
88
|
+
'asset_id': value['assetId'],
|
|
89
|
+
'fit': value['fit'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 CertificateCanvasLineElement
|
|
16
|
+
*/
|
|
17
|
+
export interface CertificateCanvasLineElement {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CertificateCanvasLineElement
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {CertificateCanvasLineElementTypeEnum}
|
|
27
|
+
* @memberof CertificateCanvasLineElement
|
|
28
|
+
*/
|
|
29
|
+
type: CertificateCanvasLineElementTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CertificateCanvasLineElement
|
|
34
|
+
*/
|
|
35
|
+
x: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CertificateCanvasLineElement
|
|
40
|
+
*/
|
|
41
|
+
y: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CertificateCanvasLineElement
|
|
46
|
+
*/
|
|
47
|
+
width: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CertificateCanvasLineElement
|
|
52
|
+
*/
|
|
53
|
+
height: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CertificateCanvasLineElement
|
|
58
|
+
*/
|
|
59
|
+
color: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof CertificateCanvasLineElement
|
|
64
|
+
*/
|
|
65
|
+
strokeWidth: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const CertificateCanvasLineElementTypeEnum: {
|
|
71
|
+
readonly Line: "line";
|
|
72
|
+
};
|
|
73
|
+
export type CertificateCanvasLineElementTypeEnum = typeof CertificateCanvasLineElementTypeEnum[keyof typeof CertificateCanvasLineElementTypeEnum];
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the CertificateCanvasLineElement interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfCertificateCanvasLineElement(value: object): value is CertificateCanvasLineElement;
|
|
78
|
+
export declare function CertificateCanvasLineElementFromJSON(json: any): CertificateCanvasLineElement;
|
|
79
|
+
export declare function CertificateCanvasLineElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertificateCanvasLineElement;
|
|
80
|
+
export declare function CertificateCanvasLineElementToJSON(json: any): CertificateCanvasLineElement;
|
|
81
|
+
export declare function CertificateCanvasLineElementToJSONTyped(value?: CertificateCanvasLineElement | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
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.CertificateCanvasLineElementTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfCertificateCanvasLineElement = instanceOfCertificateCanvasLineElement;
|
|
18
|
+
exports.CertificateCanvasLineElementFromJSON = CertificateCanvasLineElementFromJSON;
|
|
19
|
+
exports.CertificateCanvasLineElementFromJSONTyped = CertificateCanvasLineElementFromJSONTyped;
|
|
20
|
+
exports.CertificateCanvasLineElementToJSON = CertificateCanvasLineElementToJSON;
|
|
21
|
+
exports.CertificateCanvasLineElementToJSONTyped = CertificateCanvasLineElementToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CertificateCanvasLineElementTypeEnum = {
|
|
26
|
+
Line: 'line'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the CertificateCanvasLineElement interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfCertificateCanvasLineElement(value) {
|
|
32
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('x' in value) || value['x'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('y' in value) || value['y'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('width' in value) || value['width'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('height' in value) || value['height'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('color' in value) || value['color'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('strokeWidth' in value) || value['strokeWidth'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
function CertificateCanvasLineElementFromJSON(json) {
|
|
51
|
+
return CertificateCanvasLineElementFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function CertificateCanvasLineElementFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': json['id'],
|
|
59
|
+
'type': json['type'],
|
|
60
|
+
'x': json['x'],
|
|
61
|
+
'y': json['y'],
|
|
62
|
+
'width': json['width'],
|
|
63
|
+
'height': json['height'],
|
|
64
|
+
'color': json['color'],
|
|
65
|
+
'strokeWidth': json['stroke_width'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function CertificateCanvasLineElementToJSON(json) {
|
|
69
|
+
return CertificateCanvasLineElementToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
function CertificateCanvasLineElementToJSONTyped(value, ignoreDiscriminator = false) {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'id': value['id'],
|
|
77
|
+
'type': value['type'],
|
|
78
|
+
'x': value['x'],
|
|
79
|
+
'y': value['y'],
|
|
80
|
+
'width': value['width'],
|
|
81
|
+
'height': value['height'],
|
|
82
|
+
'color': value['color'],
|
|
83
|
+
'stroke_width': value['strokeWidth'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 CertificateCanvasPortalLogoElement
|
|
16
|
+
*/
|
|
17
|
+
export interface CertificateCanvasPortalLogoElement {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CertificateCanvasPortalLogoElement
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {CertificateCanvasPortalLogoElementTypeEnum}
|
|
27
|
+
* @memberof CertificateCanvasPortalLogoElement
|
|
28
|
+
*/
|
|
29
|
+
type: CertificateCanvasPortalLogoElementTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CertificateCanvasPortalLogoElement
|
|
34
|
+
*/
|
|
35
|
+
x: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CertificateCanvasPortalLogoElement
|
|
40
|
+
*/
|
|
41
|
+
y: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CertificateCanvasPortalLogoElement
|
|
46
|
+
*/
|
|
47
|
+
width: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CertificateCanvasPortalLogoElement
|
|
52
|
+
*/
|
|
53
|
+
height: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const CertificateCanvasPortalLogoElementTypeEnum: {
|
|
59
|
+
readonly PortalLogo: "portal_logo";
|
|
60
|
+
};
|
|
61
|
+
export type CertificateCanvasPortalLogoElementTypeEnum = typeof CertificateCanvasPortalLogoElementTypeEnum[keyof typeof CertificateCanvasPortalLogoElementTypeEnum];
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the CertificateCanvasPortalLogoElement interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfCertificateCanvasPortalLogoElement(value: object): value is CertificateCanvasPortalLogoElement;
|
|
66
|
+
export declare function CertificateCanvasPortalLogoElementFromJSON(json: any): CertificateCanvasPortalLogoElement;
|
|
67
|
+
export declare function CertificateCanvasPortalLogoElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertificateCanvasPortalLogoElement;
|
|
68
|
+
export declare function CertificateCanvasPortalLogoElementToJSON(json: any): CertificateCanvasPortalLogoElement;
|
|
69
|
+
export declare function CertificateCanvasPortalLogoElementToJSONTyped(value?: CertificateCanvasPortalLogoElement | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,77 @@
|
|
|
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.CertificateCanvasPortalLogoElementTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfCertificateCanvasPortalLogoElement = instanceOfCertificateCanvasPortalLogoElement;
|
|
18
|
+
exports.CertificateCanvasPortalLogoElementFromJSON = CertificateCanvasPortalLogoElementFromJSON;
|
|
19
|
+
exports.CertificateCanvasPortalLogoElementFromJSONTyped = CertificateCanvasPortalLogoElementFromJSONTyped;
|
|
20
|
+
exports.CertificateCanvasPortalLogoElementToJSON = CertificateCanvasPortalLogoElementToJSON;
|
|
21
|
+
exports.CertificateCanvasPortalLogoElementToJSONTyped = CertificateCanvasPortalLogoElementToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CertificateCanvasPortalLogoElementTypeEnum = {
|
|
26
|
+
PortalLogo: 'portal_logo'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the CertificateCanvasPortalLogoElement interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfCertificateCanvasPortalLogoElement(value) {
|
|
32
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('x' in value) || value['x'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('y' in value) || value['y'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('width' in value) || value['width'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('height' in value) || value['height'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function CertificateCanvasPortalLogoElementFromJSON(json) {
|
|
47
|
+
return CertificateCanvasPortalLogoElementFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function CertificateCanvasPortalLogoElementFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': json['id'],
|
|
55
|
+
'type': json['type'],
|
|
56
|
+
'x': json['x'],
|
|
57
|
+
'y': json['y'],
|
|
58
|
+
'width': json['width'],
|
|
59
|
+
'height': json['height'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function CertificateCanvasPortalLogoElementToJSON(json) {
|
|
63
|
+
return CertificateCanvasPortalLogoElementToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function CertificateCanvasPortalLogoElementToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'type': value['type'],
|
|
72
|
+
'x': value['x'],
|
|
73
|
+
'y': value['y'],
|
|
74
|
+
'width': value['width'],
|
|
75
|
+
'height': value['height'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 CertificateCanvasShapeElement
|
|
16
|
+
*/
|
|
17
|
+
export interface CertificateCanvasShapeElement {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CertificateCanvasShapeElement
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {CertificateCanvasShapeElementTypeEnum}
|
|
27
|
+
* @memberof CertificateCanvasShapeElement
|
|
28
|
+
*/
|
|
29
|
+
type: CertificateCanvasShapeElementTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CertificateCanvasShapeElement
|
|
34
|
+
*/
|
|
35
|
+
x: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CertificateCanvasShapeElement
|
|
40
|
+
*/
|
|
41
|
+
y: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CertificateCanvasShapeElement
|
|
46
|
+
*/
|
|
47
|
+
width: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CertificateCanvasShapeElement
|
|
52
|
+
*/
|
|
53
|
+
height: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CertificateCanvasShapeElement
|
|
58
|
+
*/
|
|
59
|
+
fillColor: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CertificateCanvasShapeElement
|
|
64
|
+
*/
|
|
65
|
+
strokeColor: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof CertificateCanvasShapeElement
|
|
70
|
+
*/
|
|
71
|
+
strokeWidth: number;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const CertificateCanvasShapeElementTypeEnum: {
|
|
77
|
+
readonly Shape: "shape";
|
|
78
|
+
};
|
|
79
|
+
export type CertificateCanvasShapeElementTypeEnum = typeof CertificateCanvasShapeElementTypeEnum[keyof typeof CertificateCanvasShapeElementTypeEnum];
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the CertificateCanvasShapeElement interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfCertificateCanvasShapeElement(value: object): value is CertificateCanvasShapeElement;
|
|
84
|
+
export declare function CertificateCanvasShapeElementFromJSON(json: any): CertificateCanvasShapeElement;
|
|
85
|
+
export declare function CertificateCanvasShapeElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertificateCanvasShapeElement;
|
|
86
|
+
export declare function CertificateCanvasShapeElementToJSON(json: any): CertificateCanvasShapeElement;
|
|
87
|
+
export declare function CertificateCanvasShapeElementToJSONTyped(value?: CertificateCanvasShapeElement | null, ignoreDiscriminator?: boolean): any;
|