@easyedu/js-lsm-api 1.86.0 → 1.88.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.
Files changed (258) hide show
  1. package/.openapi-generator/FILES +66 -0
  2. package/README.md +87 -2
  3. package/dist/apis/CertificateApi.d.ts +273 -0
  4. package/dist/apis/CertificateApi.js +663 -2
  5. package/dist/apis/CertificateTemplateApi.d.ts +591 -0
  6. package/dist/apis/CertificateTemplateApi.js +1546 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/esm/apis/CertificateApi.d.ts +273 -0
  10. package/dist/esm/apis/CertificateApi.js +662 -1
  11. package/dist/esm/apis/CertificateTemplateApi.d.ts +591 -0
  12. package/dist/esm/apis/CertificateTemplateApi.js +1542 -0
  13. package/dist/esm/apis/index.d.ts +1 -0
  14. package/dist/esm/apis/index.js +1 -0
  15. package/dist/esm/models/ArtifactConflict.d.ts +52 -0
  16. package/dist/esm/models/ArtifactConflict.js +58 -0
  17. package/dist/esm/models/BadgeIssuer.d.ts +80 -0
  18. package/dist/esm/models/BadgeIssuer.js +69 -0
  19. package/dist/esm/models/Certificate.d.ts +54 -0
  20. package/dist/esm/models/Certificate.js +30 -1
  21. package/dist/esm/models/CertificateArtifact.d.ts +72 -0
  22. package/dist/esm/models/CertificateArtifact.js +62 -0
  23. package/dist/esm/models/CertificateBadgePolicy.d.ts +69 -0
  24. package/dist/esm/models/CertificateBadgePolicy.js +64 -0
  25. package/dist/esm/models/CertificateBadgePolicyAlignmentsInner.d.ts +50 -0
  26. package/dist/esm/models/CertificateBadgePolicyAlignmentsInner.js +51 -0
  27. package/dist/esm/models/CertificateCanvasDocument.d.ts +53 -0
  28. package/dist/esm/models/CertificateCanvasDocument.js +59 -0
  29. package/dist/esm/models/CertificateCanvasDocumentPage.d.ts +60 -0
  30. package/dist/esm/models/CertificateCanvasDocumentPage.js +63 -0
  31. package/dist/esm/models/CertificateCanvasElement.d.ts +39 -0
  32. package/dist/esm/models/CertificateCanvasElement.js +67 -0
  33. package/dist/esm/models/CertificateCanvasImageElement.d.ts +90 -0
  34. package/dist/esm/models/CertificateCanvasImageElement.js +83 -0
  35. package/dist/esm/models/CertificateCanvasLineElement.d.ts +81 -0
  36. package/dist/esm/models/CertificateCanvasLineElement.js +77 -0
  37. package/dist/esm/models/CertificateCanvasPortalLogoElement.d.ts +69 -0
  38. package/dist/esm/models/CertificateCanvasPortalLogoElement.js +69 -0
  39. package/dist/esm/models/CertificateCanvasShapeElement.d.ts +87 -0
  40. package/dist/esm/models/CertificateCanvasShapeElement.js +81 -0
  41. package/dist/esm/models/CertificateCanvasTextElement.d.ts +115 -0
  42. package/dist/esm/models/CertificateCanvasTextElement.js +101 -0
  43. package/dist/esm/models/CertificateCanvasVerificationQrElement.d.ts +69 -0
  44. package/dist/esm/models/CertificateCanvasVerificationQrElement.js +69 -0
  45. package/dist/esm/models/CertificateConfig.d.ts +27 -0
  46. package/dist/esm/models/CertificateConfig.js +11 -0
  47. package/dist/esm/models/CertificateEvent.d.ts +74 -0
  48. package/dist/esm/models/CertificateEvent.js +61 -0
  49. package/dist/esm/models/CertificateNotificationPolicy.d.ts +76 -0
  50. package/dist/esm/models/CertificateNotificationPolicy.js +74 -0
  51. package/dist/esm/models/CertificatePublic.d.ts +35 -0
  52. package/dist/esm/models/CertificatePublic.js +22 -0
  53. package/dist/esm/models/CertificateRenewalPolicy.d.ts +46 -0
  54. package/dist/esm/models/CertificateRenewalPolicy.js +54 -0
  55. package/dist/esm/models/CertificateTemplate.d.ts +121 -0
  56. package/dist/esm/models/CertificateTemplate.js +97 -0
  57. package/dist/esm/models/CertificateTemplateVersion.d.ts +85 -0
  58. package/dist/esm/models/CertificateTemplateVersion.js +77 -0
  59. package/dist/esm/models/EffectiveCertificateConfig.d.ts +56 -0
  60. package/dist/esm/models/EffectiveCertificateConfig.js +35 -0
  61. package/dist/esm/models/GetCertificateAssetUpload.d.ts +64 -0
  62. package/dist/esm/models/GetCertificateAssetUpload.js +66 -0
  63. package/dist/esm/models/GetCertificateEventList.d.ts +33 -0
  64. package/dist/esm/models/GetCertificateEventList.js +44 -0
  65. package/dist/esm/models/GetCertificateTemplateList.d.ts +33 -0
  66. package/dist/esm/models/GetCertificateTemplateList.js +44 -0
  67. package/dist/esm/models/GetPublicBadgeCredentialStatus200Response.d.ts +48 -0
  68. package/dist/esm/models/GetPublicBadgeCredentialStatus200Response.js +56 -0
  69. package/dist/esm/models/GetUserCourseListItemCertificate.d.ts +1 -0
  70. package/dist/esm/models/GetUserCourseListItemCertificate.js +2 -1
  71. package/dist/esm/models/PostCertificateAssetComplete.d.ts +32 -0
  72. package/dist/esm/models/PostCertificateAssetComplete.js +43 -0
  73. package/dist/esm/models/PostCertificateAssetUpload.d.ts +53 -0
  74. package/dist/esm/models/PostCertificateAssetUpload.js +59 -0
  75. package/dist/esm/models/PostCertificateConfig.d.ts +27 -0
  76. package/dist/esm/models/PostCertificateConfig.js +11 -0
  77. package/dist/esm/models/PostCertificateLifecycleAction.d.ts +38 -0
  78. package/dist/esm/models/PostCertificateLifecycleAction.js +45 -0
  79. package/dist/esm/models/PostCertificateTemplate.d.ts +51 -0
  80. package/dist/esm/models/PostCertificateTemplate.js +50 -0
  81. package/dist/esm/models/PostCertificateTemplateClone.d.ts +44 -0
  82. package/dist/esm/models/PostCertificateTemplateClone.js +47 -0
  83. package/dist/esm/models/PostCertificateTemplatePreview.d.ts +41 -0
  84. package/dist/esm/models/PostCertificateTemplatePreview.js +46 -0
  85. package/dist/esm/models/PutBadgeIssuer.d.ts +44 -0
  86. package/dist/esm/models/PutBadgeIssuer.js +47 -0
  87. package/dist/esm/models/PutCertificateConfig.d.ts +27 -0
  88. package/dist/esm/models/PutCertificateConfig.js +11 -0
  89. package/dist/esm/models/PutCertificateTemplate.d.ts +44 -0
  90. package/dist/esm/models/PutCertificateTemplate.js +45 -0
  91. package/dist/esm/models/PutCertificateTemplateDraft.d.ts +39 -0
  92. package/dist/esm/models/PutCertificateTemplateDraft.js +46 -0
  93. package/dist/esm/models/index.d.ts +32 -0
  94. package/dist/esm/models/index.js +32 -0
  95. package/dist/models/ArtifactConflict.d.ts +52 -0
  96. package/dist/models/ArtifactConflict.js +66 -0
  97. package/dist/models/BadgeIssuer.d.ts +80 -0
  98. package/dist/models/BadgeIssuer.js +76 -0
  99. package/dist/models/Certificate.d.ts +54 -0
  100. package/dist/models/Certificate.js +31 -2
  101. package/dist/models/CertificateArtifact.d.ts +72 -0
  102. package/dist/models/CertificateArtifact.js +70 -0
  103. package/dist/models/CertificateBadgePolicy.d.ts +69 -0
  104. package/dist/models/CertificateBadgePolicy.js +71 -0
  105. package/dist/models/CertificateBadgePolicyAlignmentsInner.d.ts +50 -0
  106. package/dist/models/CertificateBadgePolicyAlignmentsInner.js +58 -0
  107. package/dist/models/CertificateCanvasDocument.d.ts +53 -0
  108. package/dist/models/CertificateCanvasDocument.js +67 -0
  109. package/dist/models/CertificateCanvasDocumentPage.d.ts +60 -0
  110. package/dist/models/CertificateCanvasDocumentPage.js +71 -0
  111. package/dist/models/CertificateCanvasElement.d.ts +39 -0
  112. package/dist/models/CertificateCanvasElement.js +73 -0
  113. package/dist/models/CertificateCanvasImageElement.d.ts +90 -0
  114. package/dist/models/CertificateCanvasImageElement.js +91 -0
  115. package/dist/models/CertificateCanvasLineElement.d.ts +81 -0
  116. package/dist/models/CertificateCanvasLineElement.js +85 -0
  117. package/dist/models/CertificateCanvasPortalLogoElement.d.ts +69 -0
  118. package/dist/models/CertificateCanvasPortalLogoElement.js +77 -0
  119. package/dist/models/CertificateCanvasShapeElement.d.ts +87 -0
  120. package/dist/models/CertificateCanvasShapeElement.js +89 -0
  121. package/dist/models/CertificateCanvasTextElement.d.ts +115 -0
  122. package/dist/models/CertificateCanvasTextElement.js +109 -0
  123. package/dist/models/CertificateCanvasVerificationQrElement.d.ts +69 -0
  124. package/dist/models/CertificateCanvasVerificationQrElement.js +77 -0
  125. package/dist/models/CertificateConfig.d.ts +27 -0
  126. package/dist/models/CertificateConfig.js +11 -0
  127. package/dist/models/CertificateEvent.d.ts +74 -0
  128. package/dist/models/CertificateEvent.js +68 -0
  129. package/dist/models/CertificateNotificationPolicy.d.ts +76 -0
  130. package/dist/models/CertificateNotificationPolicy.js +82 -0
  131. package/dist/models/CertificatePublic.d.ts +35 -0
  132. package/dist/models/CertificatePublic.js +23 -1
  133. package/dist/models/CertificateRenewalPolicy.d.ts +46 -0
  134. package/dist/models/CertificateRenewalPolicy.js +62 -0
  135. package/dist/models/CertificateTemplate.d.ts +121 -0
  136. package/dist/models/CertificateTemplate.js +105 -0
  137. package/dist/models/CertificateTemplateVersion.d.ts +85 -0
  138. package/dist/models/CertificateTemplateVersion.js +85 -0
  139. package/dist/models/EffectiveCertificateConfig.d.ts +56 -0
  140. package/dist/models/EffectiveCertificateConfig.js +36 -0
  141. package/dist/models/GetCertificateAssetUpload.d.ts +64 -0
  142. package/dist/models/GetCertificateAssetUpload.js +74 -0
  143. package/dist/models/GetCertificateEventList.d.ts +33 -0
  144. package/dist/models/GetCertificateEventList.js +51 -0
  145. package/dist/models/GetCertificateTemplateList.d.ts +33 -0
  146. package/dist/models/GetCertificateTemplateList.js +51 -0
  147. package/dist/models/GetPublicBadgeCredentialStatus200Response.d.ts +48 -0
  148. package/dist/models/GetPublicBadgeCredentialStatus200Response.js +64 -0
  149. package/dist/models/GetUserCourseListItemCertificate.d.ts +1 -0
  150. package/dist/models/GetUserCourseListItemCertificate.js +2 -1
  151. package/dist/models/PostCertificateAssetComplete.d.ts +32 -0
  152. package/dist/models/PostCertificateAssetComplete.js +50 -0
  153. package/dist/models/PostCertificateAssetUpload.d.ts +53 -0
  154. package/dist/models/PostCertificateAssetUpload.js +67 -0
  155. package/dist/models/PostCertificateConfig.d.ts +27 -0
  156. package/dist/models/PostCertificateConfig.js +11 -0
  157. package/dist/models/PostCertificateLifecycleAction.d.ts +38 -0
  158. package/dist/models/PostCertificateLifecycleAction.js +52 -0
  159. package/dist/models/PostCertificateTemplate.d.ts +51 -0
  160. package/dist/models/PostCertificateTemplate.js +57 -0
  161. package/dist/models/PostCertificateTemplateClone.d.ts +44 -0
  162. package/dist/models/PostCertificateTemplateClone.js +54 -0
  163. package/dist/models/PostCertificateTemplatePreview.d.ts +41 -0
  164. package/dist/models/PostCertificateTemplatePreview.js +53 -0
  165. package/dist/models/PutBadgeIssuer.d.ts +44 -0
  166. package/dist/models/PutBadgeIssuer.js +54 -0
  167. package/dist/models/PutCertificateConfig.d.ts +27 -0
  168. package/dist/models/PutCertificateConfig.js +11 -0
  169. package/dist/models/PutCertificateTemplate.d.ts +44 -0
  170. package/dist/models/PutCertificateTemplate.js +52 -0
  171. package/dist/models/PutCertificateTemplateDraft.d.ts +39 -0
  172. package/dist/models/PutCertificateTemplateDraft.js +53 -0
  173. package/dist/models/index.d.ts +32 -0
  174. package/dist/models/index.js +32 -0
  175. package/docs/ArtifactConflict.md +38 -0
  176. package/docs/BadgeIssuer.md +50 -0
  177. package/docs/Certificate.md +14 -0
  178. package/docs/CertificateApi.md +1119 -48
  179. package/docs/CertificateArtifact.md +44 -0
  180. package/docs/CertificateBadgePolicy.md +46 -0
  181. package/docs/CertificateBadgePolicyAlignmentsInner.md +40 -0
  182. package/docs/CertificateCanvasDocument.md +39 -0
  183. package/docs/CertificateCanvasDocumentPage.md +38 -0
  184. package/docs/CertificateCanvasElement.md +65 -0
  185. package/docs/CertificateCanvasImageElement.md +48 -0
  186. package/docs/CertificateCanvasLineElement.md +48 -0
  187. package/docs/CertificateCanvasPortalLogoElement.md +44 -0
  188. package/docs/CertificateCanvasShapeElement.md +50 -0
  189. package/docs/CertificateCanvasTextElement.md +54 -0
  190. package/docs/CertificateCanvasVerificationQrElement.md +44 -0
  191. package/docs/CertificateConfig.md +8 -0
  192. package/docs/CertificateEvent.md +46 -0
  193. package/docs/CertificateNotificationPolicy.md +46 -0
  194. package/docs/CertificatePublic.md +8 -0
  195. package/docs/CertificateRenewalPolicy.md +36 -0
  196. package/docs/CertificateTemplate.md +60 -0
  197. package/docs/CertificateTemplateApi.md +2493 -0
  198. package/docs/CertificateTemplateVersion.md +48 -0
  199. package/docs/EffectiveCertificateConfig.md +14 -0
  200. package/docs/GetCertificateAssetUpload.md +42 -0
  201. package/docs/GetCertificateEventList.md +34 -0
  202. package/docs/GetCertificateTemplateList.md +34 -0
  203. package/docs/GetPublicBadgeCredentialStatus200Response.md +36 -0
  204. package/docs/PostCertificateAssetComplete.md +34 -0
  205. package/docs/PostCertificateAssetUpload.md +38 -0
  206. package/docs/PostCertificateConfig.md +8 -0
  207. package/docs/PostCertificateLifecycleAction.md +36 -0
  208. package/docs/PostCertificateTemplate.md +40 -0
  209. package/docs/PostCertificateTemplateClone.md +38 -0
  210. package/docs/PostCertificateTemplatePreview.md +36 -0
  211. package/docs/PutBadgeIssuer.md +38 -0
  212. package/docs/PutCertificateConfig.md +8 -0
  213. package/docs/PutCertificateTemplate.md +38 -0
  214. package/docs/PutCertificateTemplateDraft.md +36 -0
  215. package/package.json +1 -1
  216. package/src/apis/CertificateApi.ts +952 -98
  217. package/src/apis/CertificateTemplateApi.ts +2020 -0
  218. package/src/apis/index.ts +1 -0
  219. package/src/models/ArtifactConflict.ts +95 -0
  220. package/src/models/BadgeIssuer.ts +135 -0
  221. package/src/models/Certificate.ts +79 -1
  222. package/src/models/CertificateArtifact.ts +119 -0
  223. package/src/models/CertificateBadgePolicy.ts +126 -0
  224. package/src/models/CertificateBadgePolicyAlignmentsInner.ts +91 -0
  225. package/src/models/CertificateCanvasDocument.ts +109 -0
  226. package/src/models/CertificateCanvasDocumentPage.ts +103 -0
  227. package/src/models/CertificateCanvasElement.ts +116 -0
  228. package/src/models/CertificateCanvasImageElement.ts +148 -0
  229. package/src/models/CertificateCanvasLineElement.ts +139 -0
  230. package/src/models/CertificateCanvasPortalLogoElement.ts +121 -0
  231. package/src/models/CertificateCanvasShapeElement.ts +148 -0
  232. package/src/models/CertificateCanvasTextElement.ts +183 -0
  233. package/src/models/CertificateCanvasVerificationQrElement.ts +121 -0
  234. package/src/models/CertificateConfig.ts +54 -0
  235. package/src/models/CertificateEvent.ts +117 -0
  236. package/src/models/CertificateNotificationPolicy.ts +131 -0
  237. package/src/models/CertificatePublic.ts +46 -0
  238. package/src/models/CertificateRenewalPolicy.ts +86 -0
  239. package/src/models/CertificateTemplate.ts +200 -0
  240. package/src/models/CertificateTemplateVersion.ts +148 -0
  241. package/src/models/EffectiveCertificateConfig.ts +96 -0
  242. package/src/models/GetCertificateAssetUpload.ts +113 -0
  243. package/src/models/GetCertificateEventList.ts +74 -0
  244. package/src/models/GetCertificateTemplateList.ts +74 -0
  245. package/src/models/GetPublicBadgeCredentialStatus200Response.ts +88 -0
  246. package/src/models/GetUserCourseListItemCertificate.ts +2 -1
  247. package/src/models/PostCertificateAssetComplete.ts +66 -0
  248. package/src/models/PostCertificateAssetUpload.ts +96 -0
  249. package/src/models/PostCertificateConfig.ts +54 -0
  250. package/src/models/PostCertificateLifecycleAction.ts +74 -0
  251. package/src/models/PostCertificateTemplate.ts +98 -0
  252. package/src/models/PostCertificateTemplateClone.ts +82 -0
  253. package/src/models/PostCertificateTemplatePreview.ts +82 -0
  254. package/src/models/PutBadgeIssuer.ts +82 -0
  255. package/src/models/PutCertificateConfig.ts +54 -0
  256. package/src/models/PutCertificateTemplate.ts +81 -0
  257. package/src/models/PutCertificateTemplateDraft.ts +82 -0
  258. package/src/models/index.ts +32 -0
@@ -0,0 +1,64 @@
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.GetPublicBadgeCredentialStatus200ResponseStatusEnum = void 0;
17
+ exports.instanceOfGetPublicBadgeCredentialStatus200Response = instanceOfGetPublicBadgeCredentialStatus200Response;
18
+ exports.GetPublicBadgeCredentialStatus200ResponseFromJSON = GetPublicBadgeCredentialStatus200ResponseFromJSON;
19
+ exports.GetPublicBadgeCredentialStatus200ResponseFromJSONTyped = GetPublicBadgeCredentialStatus200ResponseFromJSONTyped;
20
+ exports.GetPublicBadgeCredentialStatus200ResponseToJSON = GetPublicBadgeCredentialStatus200ResponseToJSON;
21
+ exports.GetPublicBadgeCredentialStatus200ResponseToJSONTyped = GetPublicBadgeCredentialStatus200ResponseToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.GetPublicBadgeCredentialStatus200ResponseStatusEnum = {
26
+ Active: 'active',
27
+ Revoked: 'revoked',
28
+ Superseded: 'superseded',
29
+ Expired: 'expired'
30
+ };
31
+ /**
32
+ * Check if a given object implements the GetPublicBadgeCredentialStatus200Response interface.
33
+ */
34
+ function instanceOfGetPublicBadgeCredentialStatus200Response(value) {
35
+ if (!('active' in value) || value['active'] === undefined)
36
+ return false;
37
+ if (!('status' in value) || value['status'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function GetPublicBadgeCredentialStatus200ResponseFromJSON(json) {
42
+ return GetPublicBadgeCredentialStatus200ResponseFromJSONTyped(json, false);
43
+ }
44
+ function GetPublicBadgeCredentialStatus200ResponseFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'active': json['active'],
50
+ 'status': json['status'],
51
+ };
52
+ }
53
+ function GetPublicBadgeCredentialStatus200ResponseToJSON(json) {
54
+ return GetPublicBadgeCredentialStatus200ResponseToJSONTyped(json, false);
55
+ }
56
+ function GetPublicBadgeCredentialStatus200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'active': value['active'],
62
+ 'status': value['status'],
63
+ };
64
+ }
@@ -53,6 +53,7 @@ export declare const GetUserCourseListItemCertificateStatusEnum: {
53
53
  readonly Active: "active";
54
54
  readonly Expired: "expired";
55
55
  readonly Revoked: "revoked";
56
+ readonly Superseded: "superseded";
56
57
  };
57
58
  export type GetUserCourseListItemCertificateStatusEnum = typeof GetUserCourseListItemCertificateStatusEnum[keyof typeof GetUserCourseListItemCertificateStatusEnum];
58
59
  /**
@@ -25,7 +25,8 @@ exports.GetUserCourseListItemCertificateToJSONTyped = GetUserCourseListItemCerti
25
25
  exports.GetUserCourseListItemCertificateStatusEnum = {
26
26
  Active: 'active',
27
27
  Expired: 'expired',
28
- Revoked: 'revoked'
28
+ Revoked: 'revoked',
29
+ Superseded: 'superseded'
29
30
  };
30
31
  /**
31
32
  * @export
@@ -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 PostCertificateAssetComplete
16
+ */
17
+ export interface PostCertificateAssetComplete {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostCertificateAssetComplete
22
+ */
23
+ checksumSha256: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PostCertificateAssetComplete interface.
27
+ */
28
+ export declare function instanceOfPostCertificateAssetComplete(value: object): value is PostCertificateAssetComplete;
29
+ export declare function PostCertificateAssetCompleteFromJSON(json: any): PostCertificateAssetComplete;
30
+ export declare function PostCertificateAssetCompleteFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostCertificateAssetComplete;
31
+ export declare function PostCertificateAssetCompleteToJSON(json: any): PostCertificateAssetComplete;
32
+ export declare function PostCertificateAssetCompleteToJSONTyped(value?: PostCertificateAssetComplete | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LMS API
6
+ * LMS API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPostCertificateAssetComplete = instanceOfPostCertificateAssetComplete;
17
+ exports.PostCertificateAssetCompleteFromJSON = PostCertificateAssetCompleteFromJSON;
18
+ exports.PostCertificateAssetCompleteFromJSONTyped = PostCertificateAssetCompleteFromJSONTyped;
19
+ exports.PostCertificateAssetCompleteToJSON = PostCertificateAssetCompleteToJSON;
20
+ exports.PostCertificateAssetCompleteToJSONTyped = PostCertificateAssetCompleteToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PostCertificateAssetComplete interface.
23
+ */
24
+ function instanceOfPostCertificateAssetComplete(value) {
25
+ if (!('checksumSha256' in value) || value['checksumSha256'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function PostCertificateAssetCompleteFromJSON(json) {
30
+ return PostCertificateAssetCompleteFromJSONTyped(json, false);
31
+ }
32
+ function PostCertificateAssetCompleteFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'checksumSha256': json['checksum_sha256'],
38
+ };
39
+ }
40
+ function PostCertificateAssetCompleteToJSON(json) {
41
+ return PostCertificateAssetCompleteToJSONTyped(json, false);
42
+ }
43
+ function PostCertificateAssetCompleteToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'checksum_sha256': value['checksumSha256'],
49
+ };
50
+ }
@@ -0,0 +1,53 @@
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 PostCertificateAssetUpload
16
+ */
17
+ export interface PostCertificateAssetUpload {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostCertificateAssetUpload
22
+ */
23
+ filename: string;
24
+ /**
25
+ *
26
+ * @type {PostCertificateAssetUploadContentTypeEnum}
27
+ * @memberof PostCertificateAssetUpload
28
+ */
29
+ contentType: PostCertificateAssetUploadContentTypeEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof PostCertificateAssetUpload
34
+ */
35
+ byteSize: number;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const PostCertificateAssetUploadContentTypeEnum: {
41
+ readonly ImagePng: "image/png";
42
+ readonly ImageJpeg: "image/jpeg";
43
+ readonly ImageWebp: "image/webp";
44
+ };
45
+ export type PostCertificateAssetUploadContentTypeEnum = typeof PostCertificateAssetUploadContentTypeEnum[keyof typeof PostCertificateAssetUploadContentTypeEnum];
46
+ /**
47
+ * Check if a given object implements the PostCertificateAssetUpload interface.
48
+ */
49
+ export declare function instanceOfPostCertificateAssetUpload(value: object): value is PostCertificateAssetUpload;
50
+ export declare function PostCertificateAssetUploadFromJSON(json: any): PostCertificateAssetUpload;
51
+ export declare function PostCertificateAssetUploadFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostCertificateAssetUpload;
52
+ export declare function PostCertificateAssetUploadToJSON(json: any): PostCertificateAssetUpload;
53
+ export declare function PostCertificateAssetUploadToJSONTyped(value?: PostCertificateAssetUpload | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.PostCertificateAssetUploadContentTypeEnum = void 0;
17
+ exports.instanceOfPostCertificateAssetUpload = instanceOfPostCertificateAssetUpload;
18
+ exports.PostCertificateAssetUploadFromJSON = PostCertificateAssetUploadFromJSON;
19
+ exports.PostCertificateAssetUploadFromJSONTyped = PostCertificateAssetUploadFromJSONTyped;
20
+ exports.PostCertificateAssetUploadToJSON = PostCertificateAssetUploadToJSON;
21
+ exports.PostCertificateAssetUploadToJSONTyped = PostCertificateAssetUploadToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PostCertificateAssetUploadContentTypeEnum = {
26
+ ImagePng: 'image/png',
27
+ ImageJpeg: 'image/jpeg',
28
+ ImageWebp: 'image/webp'
29
+ };
30
+ /**
31
+ * Check if a given object implements the PostCertificateAssetUpload interface.
32
+ */
33
+ function instanceOfPostCertificateAssetUpload(value) {
34
+ if (!('filename' in value) || value['filename'] === undefined)
35
+ return false;
36
+ if (!('contentType' in value) || value['contentType'] === undefined)
37
+ return false;
38
+ if (!('byteSize' in value) || value['byteSize'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function PostCertificateAssetUploadFromJSON(json) {
43
+ return PostCertificateAssetUploadFromJSONTyped(json, false);
44
+ }
45
+ function PostCertificateAssetUploadFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'filename': json['filename'],
51
+ 'contentType': json['content_type'],
52
+ 'byteSize': json['byte_size'],
53
+ };
54
+ }
55
+ function PostCertificateAssetUploadToJSON(json) {
56
+ return PostCertificateAssetUploadToJSONTyped(json, false);
57
+ }
58
+ function PostCertificateAssetUploadToJSONTyped(value, ignoreDiscriminator = false) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'filename': value['filename'],
64
+ 'content_type': value['contentType'],
65
+ 'byte_size': value['byteSize'],
66
+ };
67
+ }
@@ -9,6 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { CertificateNotificationPolicy } from './CertificateNotificationPolicy';
13
+ import type { CertificateRenewalPolicy } from './CertificateRenewalPolicy';
14
+ import type { CertificateBadgePolicy } from './CertificateBadgePolicy';
12
15
  /**
13
16
  *
14
17
  * @export
@@ -51,6 +54,30 @@ export interface PostCertificateConfig {
51
54
  * @memberof PostCertificateConfig
52
55
  */
53
56
  quizConfigId?: string | null;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof PostCertificateConfig
61
+ */
62
+ certificateTemplateId?: string | null;
63
+ /**
64
+ *
65
+ * @type {CertificateRenewalPolicy}
66
+ * @memberof PostCertificateConfig
67
+ */
68
+ renewalPolicy?: CertificateRenewalPolicy | null;
69
+ /**
70
+ *
71
+ * @type {CertificateNotificationPolicy}
72
+ * @memberof PostCertificateConfig
73
+ */
74
+ notificationPolicy?: CertificateNotificationPolicy | null;
75
+ /**
76
+ *
77
+ * @type {CertificateBadgePolicy}
78
+ * @memberof PostCertificateConfig
79
+ */
80
+ badgePolicy?: CertificateBadgePolicy | null;
54
81
  }
55
82
  /**
56
83
  * Check if a given object implements the PostCertificateConfig interface.
@@ -18,6 +18,9 @@ exports.PostCertificateConfigFromJSON = PostCertificateConfigFromJSON;
18
18
  exports.PostCertificateConfigFromJSONTyped = PostCertificateConfigFromJSONTyped;
19
19
  exports.PostCertificateConfigToJSON = PostCertificateConfigToJSON;
20
20
  exports.PostCertificateConfigToJSONTyped = PostCertificateConfigToJSONTyped;
21
+ const CertificateNotificationPolicy_1 = require("./CertificateNotificationPolicy");
22
+ const CertificateRenewalPolicy_1 = require("./CertificateRenewalPolicy");
23
+ const CertificateBadgePolicy_1 = require("./CertificateBadgePolicy");
21
24
  /**
22
25
  * Check if a given object implements the PostCertificateConfig interface.
23
26
  */
@@ -40,6 +43,10 @@ function PostCertificateConfigFromJSONTyped(json, ignoreDiscriminator) {
40
43
  'requireQuizPass': json['require_quiz_pass'] == null ? undefined : json['require_quiz_pass'],
41
44
  'minQuizScore': json['min_quiz_score'] == null ? undefined : json['min_quiz_score'],
42
45
  'quizConfigId': json['quiz_config_id'] == null ? undefined : json['quiz_config_id'],
46
+ 'certificateTemplateId': json['certificate_template_id'] == null ? undefined : json['certificate_template_id'],
47
+ 'renewalPolicy': json['renewal_policy'] == null ? undefined : (0, CertificateRenewalPolicy_1.CertificateRenewalPolicyFromJSON)(json['renewal_policy']),
48
+ 'notificationPolicy': json['notification_policy'] == null ? undefined : (0, CertificateNotificationPolicy_1.CertificateNotificationPolicyFromJSON)(json['notification_policy']),
49
+ 'badgePolicy': json['badge_policy'] == null ? undefined : (0, CertificateBadgePolicy_1.CertificateBadgePolicyFromJSON)(json['badge_policy']),
43
50
  };
44
51
  }
45
52
  function PostCertificateConfigToJSON(json) {
@@ -56,5 +63,9 @@ function PostCertificateConfigToJSONTyped(value, ignoreDiscriminator = false) {
56
63
  'require_quiz_pass': value['requireQuizPass'],
57
64
  'min_quiz_score': value['minQuizScore'],
58
65
  'quiz_config_id': value['quizConfigId'],
66
+ 'certificate_template_id': value['certificateTemplateId'],
67
+ 'renewal_policy': (0, CertificateRenewalPolicy_1.CertificateRenewalPolicyToJSON)(value['renewalPolicy']),
68
+ 'notification_policy': (0, CertificateNotificationPolicy_1.CertificateNotificationPolicyToJSON)(value['notificationPolicy']),
69
+ 'badge_policy': (0, CertificateBadgePolicy_1.CertificateBadgePolicyToJSON)(value['badgePolicy']),
59
70
  };
60
71
  }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostCertificateLifecycleAction
16
+ */
17
+ export interface PostCertificateLifecycleAction {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostCertificateLifecycleAction
22
+ */
23
+ reason: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof PostCertificateLifecycleAction
28
+ */
29
+ expiresAt?: number | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PostCertificateLifecycleAction interface.
33
+ */
34
+ export declare function instanceOfPostCertificateLifecycleAction(value: object): value is PostCertificateLifecycleAction;
35
+ export declare function PostCertificateLifecycleActionFromJSON(json: any): PostCertificateLifecycleAction;
36
+ export declare function PostCertificateLifecycleActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostCertificateLifecycleAction;
37
+ export declare function PostCertificateLifecycleActionToJSON(json: any): PostCertificateLifecycleAction;
38
+ export declare function PostCertificateLifecycleActionToJSONTyped(value?: PostCertificateLifecycleAction | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LMS API
6
+ * LMS API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPostCertificateLifecycleAction = instanceOfPostCertificateLifecycleAction;
17
+ exports.PostCertificateLifecycleActionFromJSON = PostCertificateLifecycleActionFromJSON;
18
+ exports.PostCertificateLifecycleActionFromJSONTyped = PostCertificateLifecycleActionFromJSONTyped;
19
+ exports.PostCertificateLifecycleActionToJSON = PostCertificateLifecycleActionToJSON;
20
+ exports.PostCertificateLifecycleActionToJSONTyped = PostCertificateLifecycleActionToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PostCertificateLifecycleAction interface.
23
+ */
24
+ function instanceOfPostCertificateLifecycleAction(value) {
25
+ if (!('reason' in value) || value['reason'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function PostCertificateLifecycleActionFromJSON(json) {
30
+ return PostCertificateLifecycleActionFromJSONTyped(json, false);
31
+ }
32
+ function PostCertificateLifecycleActionFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'reason': json['reason'],
38
+ 'expiresAt': json['expires_at'] == null ? undefined : json['expires_at'],
39
+ };
40
+ }
41
+ function PostCertificateLifecycleActionToJSON(json) {
42
+ return PostCertificateLifecycleActionToJSONTyped(json, false);
43
+ }
44
+ function PostCertificateLifecycleActionToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'reason': value['reason'],
50
+ 'expires_at': value['expiresAt'],
51
+ };
52
+ }
@@ -0,0 +1,51 @@
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
+ import type { CertificateCanvasDocument } from './CertificateCanvasDocument';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PostCertificateTemplate
17
+ */
18
+ export interface PostCertificateTemplate {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof PostCertificateTemplate
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof PostCertificateTemplate
29
+ */
30
+ description?: string;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof PostCertificateTemplate
35
+ */
36
+ isDefault?: boolean;
37
+ /**
38
+ *
39
+ * @type {CertificateCanvasDocument}
40
+ * @memberof PostCertificateTemplate
41
+ */
42
+ designDocument?: CertificateCanvasDocument;
43
+ }
44
+ /**
45
+ * Check if a given object implements the PostCertificateTemplate interface.
46
+ */
47
+ export declare function instanceOfPostCertificateTemplate(value: object): value is PostCertificateTemplate;
48
+ export declare function PostCertificateTemplateFromJSON(json: any): PostCertificateTemplate;
49
+ export declare function PostCertificateTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostCertificateTemplate;
50
+ export declare function PostCertificateTemplateToJSON(json: any): PostCertificateTemplate;
51
+ export declare function PostCertificateTemplateToJSONTyped(value?: PostCertificateTemplate | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,57 @@
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.instanceOfPostCertificateTemplate = instanceOfPostCertificateTemplate;
17
+ exports.PostCertificateTemplateFromJSON = PostCertificateTemplateFromJSON;
18
+ exports.PostCertificateTemplateFromJSONTyped = PostCertificateTemplateFromJSONTyped;
19
+ exports.PostCertificateTemplateToJSON = PostCertificateTemplateToJSON;
20
+ exports.PostCertificateTemplateToJSONTyped = PostCertificateTemplateToJSONTyped;
21
+ const CertificateCanvasDocument_1 = require("./CertificateCanvasDocument");
22
+ /**
23
+ * Check if a given object implements the PostCertificateTemplate interface.
24
+ */
25
+ function instanceOfPostCertificateTemplate(value) {
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function PostCertificateTemplateFromJSON(json) {
31
+ return PostCertificateTemplateFromJSONTyped(json, false);
32
+ }
33
+ function PostCertificateTemplateFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'name': json['name'],
39
+ 'description': json['description'] == null ? undefined : json['description'],
40
+ 'isDefault': json['is_default'] == null ? undefined : json['is_default'],
41
+ 'designDocument': json['design_document'] == null ? undefined : (0, CertificateCanvasDocument_1.CertificateCanvasDocumentFromJSON)(json['design_document']),
42
+ };
43
+ }
44
+ function PostCertificateTemplateToJSON(json) {
45
+ return PostCertificateTemplateToJSONTyped(json, false);
46
+ }
47
+ function PostCertificateTemplateToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'name': value['name'],
53
+ 'description': value['description'],
54
+ 'is_default': value['isDefault'],
55
+ 'design_document': (0, CertificateCanvasDocument_1.CertificateCanvasDocumentToJSON)(value['designDocument']),
56
+ };
57
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostCertificateTemplateClone
16
+ */
17
+ export interface PostCertificateTemplateClone {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostCertificateTemplateClone
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostCertificateTemplateClone
28
+ */
29
+ description?: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof PostCertificateTemplateClone
34
+ */
35
+ isDefault?: boolean;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PostCertificateTemplateClone interface.
39
+ */
40
+ export declare function instanceOfPostCertificateTemplateClone(value: object): value is PostCertificateTemplateClone;
41
+ export declare function PostCertificateTemplateCloneFromJSON(json: any): PostCertificateTemplateClone;
42
+ export declare function PostCertificateTemplateCloneFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostCertificateTemplateClone;
43
+ export declare function PostCertificateTemplateCloneToJSON(json: any): PostCertificateTemplateClone;
44
+ export declare function PostCertificateTemplateCloneToJSONTyped(value?: PostCertificateTemplateClone | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfPostCertificateTemplateClone = instanceOfPostCertificateTemplateClone;
17
+ exports.PostCertificateTemplateCloneFromJSON = PostCertificateTemplateCloneFromJSON;
18
+ exports.PostCertificateTemplateCloneFromJSONTyped = PostCertificateTemplateCloneFromJSONTyped;
19
+ exports.PostCertificateTemplateCloneToJSON = PostCertificateTemplateCloneToJSON;
20
+ exports.PostCertificateTemplateCloneToJSONTyped = PostCertificateTemplateCloneToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PostCertificateTemplateClone interface.
23
+ */
24
+ function instanceOfPostCertificateTemplateClone(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function PostCertificateTemplateCloneFromJSON(json) {
30
+ return PostCertificateTemplateCloneFromJSONTyped(json, false);
31
+ }
32
+ function PostCertificateTemplateCloneFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'],
38
+ 'description': json['description'] == null ? undefined : json['description'],
39
+ 'isDefault': json['is_default'] == null ? undefined : json['is_default'],
40
+ };
41
+ }
42
+ function PostCertificateTemplateCloneToJSON(json) {
43
+ return PostCertificateTemplateCloneToJSONTyped(json, false);
44
+ }
45
+ function PostCertificateTemplateCloneToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'name': value['name'],
51
+ 'description': value['description'],
52
+ 'is_default': value['isDefault'],
53
+ };
54
+ }