@easyedu/js-lsm-api 1.87.0 → 1.89.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 (44) hide show
  1. package/README.md +2 -2
  2. package/dist/esm/models/CertificateCanvasElement.d.ts +13 -1
  3. package/dist/esm/models/CertificateCanvasElement.js +36 -48
  4. package/dist/esm/models/CertificateCanvasImageElement.d.ts +0 -13
  5. package/dist/esm/models/CertificateCanvasImageElement.js +0 -10
  6. package/dist/esm/models/CertificateCanvasLineElement.d.ts +0 -13
  7. package/dist/esm/models/CertificateCanvasLineElement.js +0 -10
  8. package/dist/esm/models/CertificateCanvasPortalLogoElement.d.ts +0 -13
  9. package/dist/esm/models/CertificateCanvasPortalLogoElement.js +0 -10
  10. package/dist/esm/models/CertificateCanvasShapeElement.d.ts +0 -13
  11. package/dist/esm/models/CertificateCanvasShapeElement.js +0 -10
  12. package/dist/esm/models/CertificateCanvasTextElement.d.ts +0 -13
  13. package/dist/esm/models/CertificateCanvasTextElement.js +0 -10
  14. package/dist/esm/models/CertificateCanvasVerificationQrElement.d.ts +0 -13
  15. package/dist/esm/models/CertificateCanvasVerificationQrElement.js +0 -10
  16. package/dist/models/CertificateCanvasElement.d.ts +13 -1
  17. package/dist/models/CertificateCanvasElement.js +30 -42
  18. package/dist/models/CertificateCanvasImageElement.d.ts +0 -13
  19. package/dist/models/CertificateCanvasImageElement.js +1 -11
  20. package/dist/models/CertificateCanvasLineElement.d.ts +0 -13
  21. package/dist/models/CertificateCanvasLineElement.js +0 -11
  22. package/dist/models/CertificateCanvasPortalLogoElement.d.ts +0 -13
  23. package/dist/models/CertificateCanvasPortalLogoElement.js +0 -11
  24. package/dist/models/CertificateCanvasShapeElement.d.ts +0 -13
  25. package/dist/models/CertificateCanvasShapeElement.js +0 -11
  26. package/dist/models/CertificateCanvasTextElement.d.ts +0 -13
  27. package/dist/models/CertificateCanvasTextElement.js +1 -11
  28. package/dist/models/CertificateCanvasVerificationQrElement.d.ts +0 -13
  29. package/dist/models/CertificateCanvasVerificationQrElement.js +0 -11
  30. package/docs/CertificateCanvasElement.md +2 -2
  31. package/docs/CertificateCanvasImageElement.md +0 -2
  32. package/docs/CertificateCanvasLineElement.md +0 -2
  33. package/docs/CertificateCanvasPortalLogoElement.md +0 -2
  34. package/docs/CertificateCanvasShapeElement.md +0 -2
  35. package/docs/CertificateCanvasTextElement.md +0 -2
  36. package/docs/CertificateCanvasVerificationQrElement.md +0 -2
  37. package/package.json +1 -1
  38. package/src/models/CertificateCanvasElement.ts +31 -43
  39. package/src/models/CertificateCanvasImageElement.ts +0 -17
  40. package/src/models/CertificateCanvasLineElement.ts +0 -19
  41. package/src/models/CertificateCanvasPortalLogoElement.ts +0 -19
  42. package/src/models/CertificateCanvasShapeElement.ts +0 -19
  43. package/src/models/CertificateCanvasTextElement.ts +0 -17
  44. package/src/models/CertificateCanvasVerificationQrElement.ts +0 -19
@@ -25,12 +25,6 @@ export interface CertificateCanvasImageElement {
25
25
  * @memberof CertificateCanvasImageElement
26
26
  */
27
27
  id: string;
28
- /**
29
- *
30
- * @type {CertificateCanvasImageElementTypeEnum}
31
- * @memberof CertificateCanvasImageElement
32
- */
33
- type: CertificateCanvasImageElementTypeEnum;
34
28
  /**
35
29
  *
36
30
  * @type {number}
@@ -70,14 +64,6 @@ export interface CertificateCanvasImageElement {
70
64
  }
71
65
 
72
66
 
73
- /**
74
- * @export
75
- */
76
- export const CertificateCanvasImageElementTypeEnum = {
77
- Image: 'image'
78
- } as const;
79
- export type CertificateCanvasImageElementTypeEnum = typeof CertificateCanvasImageElementTypeEnum[keyof typeof CertificateCanvasImageElementTypeEnum];
80
-
81
67
  /**
82
68
  * @export
83
69
  */
@@ -94,7 +80,6 @@ export type CertificateCanvasImageElementFitEnum = typeof CertificateCanvasImage
94
80
  */
95
81
  export function instanceOfCertificateCanvasImageElement(value: object): value is CertificateCanvasImageElement {
96
82
  if (!('id' in value) || value['id'] === undefined) return false;
97
- if (!('type' in value) || value['type'] === undefined) return false;
98
83
  if (!('x' in value) || value['x'] === undefined) return false;
99
84
  if (!('y' in value) || value['y'] === undefined) return false;
100
85
  if (!('width' in value) || value['width'] === undefined) return false;
@@ -114,7 +99,6 @@ export function CertificateCanvasImageElementFromJSONTyped(json: any, ignoreDisc
114
99
  return {
115
100
 
116
101
  'id': json['id'],
117
- 'type': json['type'],
118
102
  'x': json['x'],
119
103
  'y': json['y'],
120
104
  'width': json['width'],
@@ -136,7 +120,6 @@ export function CertificateCanvasImageElementToJSONTyped(value?: CertificateCanv
136
120
  return {
137
121
 
138
122
  'id': value['id'],
139
- 'type': value['type'],
140
123
  'x': value['x'],
141
124
  'y': value['y'],
142
125
  'width': value['width'],
@@ -25,12 +25,6 @@ export interface CertificateCanvasLineElement {
25
25
  * @memberof CertificateCanvasLineElement
26
26
  */
27
27
  id: string;
28
- /**
29
- *
30
- * @type {CertificateCanvasLineElementTypeEnum}
31
- * @memberof CertificateCanvasLineElement
32
- */
33
- type: CertificateCanvasLineElementTypeEnum;
34
28
  /**
35
29
  *
36
30
  * @type {number}
@@ -69,22 +63,11 @@ export interface CertificateCanvasLineElement {
69
63
  strokeWidth: number;
70
64
  }
71
65
 
72
-
73
- /**
74
- * @export
75
- */
76
- export const CertificateCanvasLineElementTypeEnum = {
77
- Line: 'line'
78
- } as const;
79
- export type CertificateCanvasLineElementTypeEnum = typeof CertificateCanvasLineElementTypeEnum[keyof typeof CertificateCanvasLineElementTypeEnum];
80
-
81
-
82
66
  /**
83
67
  * Check if a given object implements the CertificateCanvasLineElement interface.
84
68
  */
85
69
  export function instanceOfCertificateCanvasLineElement(value: object): value is CertificateCanvasLineElement {
86
70
  if (!('id' in value) || value['id'] === undefined) return false;
87
- if (!('type' in value) || value['type'] === undefined) return false;
88
71
  if (!('x' in value) || value['x'] === undefined) return false;
89
72
  if (!('y' in value) || value['y'] === undefined) return false;
90
73
  if (!('width' in value) || value['width'] === undefined) return false;
@@ -105,7 +88,6 @@ export function CertificateCanvasLineElementFromJSONTyped(json: any, ignoreDiscr
105
88
  return {
106
89
 
107
90
  'id': json['id'],
108
- 'type': json['type'],
109
91
  'x': json['x'],
110
92
  'y': json['y'],
111
93
  'width': json['width'],
@@ -127,7 +109,6 @@ export function CertificateCanvasLineElementToJSONTyped(value?: CertificateCanva
127
109
  return {
128
110
 
129
111
  'id': value['id'],
130
- 'type': value['type'],
131
112
  'x': value['x'],
132
113
  'y': value['y'],
133
114
  'width': value['width'],
@@ -25,12 +25,6 @@ export interface CertificateCanvasPortalLogoElement {
25
25
  * @memberof CertificateCanvasPortalLogoElement
26
26
  */
27
27
  id: string;
28
- /**
29
- *
30
- * @type {CertificateCanvasPortalLogoElementTypeEnum}
31
- * @memberof CertificateCanvasPortalLogoElement
32
- */
33
- type: CertificateCanvasPortalLogoElementTypeEnum;
34
28
  /**
35
29
  *
36
30
  * @type {number}
@@ -57,22 +51,11 @@ export interface CertificateCanvasPortalLogoElement {
57
51
  height: number;
58
52
  }
59
53
 
60
-
61
- /**
62
- * @export
63
- */
64
- export const CertificateCanvasPortalLogoElementTypeEnum = {
65
- PortalLogo: 'portal_logo'
66
- } as const;
67
- export type CertificateCanvasPortalLogoElementTypeEnum = typeof CertificateCanvasPortalLogoElementTypeEnum[keyof typeof CertificateCanvasPortalLogoElementTypeEnum];
68
-
69
-
70
54
  /**
71
55
  * Check if a given object implements the CertificateCanvasPortalLogoElement interface.
72
56
  */
73
57
  export function instanceOfCertificateCanvasPortalLogoElement(value: object): value is CertificateCanvasPortalLogoElement {
74
58
  if (!('id' in value) || value['id'] === undefined) return false;
75
- if (!('type' in value) || value['type'] === undefined) return false;
76
59
  if (!('x' in value) || value['x'] === undefined) return false;
77
60
  if (!('y' in value) || value['y'] === undefined) return false;
78
61
  if (!('width' in value) || value['width'] === undefined) return false;
@@ -91,7 +74,6 @@ export function CertificateCanvasPortalLogoElementFromJSONTyped(json: any, ignor
91
74
  return {
92
75
 
93
76
  'id': json['id'],
94
- 'type': json['type'],
95
77
  'x': json['x'],
96
78
  'y': json['y'],
97
79
  'width': json['width'],
@@ -111,7 +93,6 @@ export function CertificateCanvasPortalLogoElementToJSONTyped(value?: Certificat
111
93
  return {
112
94
 
113
95
  'id': value['id'],
114
- 'type': value['type'],
115
96
  'x': value['x'],
116
97
  'y': value['y'],
117
98
  'width': value['width'],
@@ -25,12 +25,6 @@ export interface CertificateCanvasShapeElement {
25
25
  * @memberof CertificateCanvasShapeElement
26
26
  */
27
27
  id: string;
28
- /**
29
- *
30
- * @type {CertificateCanvasShapeElementTypeEnum}
31
- * @memberof CertificateCanvasShapeElement
32
- */
33
- type: CertificateCanvasShapeElementTypeEnum;
34
28
  /**
35
29
  *
36
30
  * @type {number}
@@ -75,22 +69,11 @@ export interface CertificateCanvasShapeElement {
75
69
  strokeWidth: number;
76
70
  }
77
71
 
78
-
79
- /**
80
- * @export
81
- */
82
- export const CertificateCanvasShapeElementTypeEnum = {
83
- Shape: 'shape'
84
- } as const;
85
- export type CertificateCanvasShapeElementTypeEnum = typeof CertificateCanvasShapeElementTypeEnum[keyof typeof CertificateCanvasShapeElementTypeEnum];
86
-
87
-
88
72
  /**
89
73
  * Check if a given object implements the CertificateCanvasShapeElement interface.
90
74
  */
91
75
  export function instanceOfCertificateCanvasShapeElement(value: object): value is CertificateCanvasShapeElement {
92
76
  if (!('id' in value) || value['id'] === undefined) return false;
93
- if (!('type' in value) || value['type'] === undefined) return false;
94
77
  if (!('x' in value) || value['x'] === undefined) return false;
95
78
  if (!('y' in value) || value['y'] === undefined) return false;
96
79
  if (!('width' in value) || value['width'] === undefined) return false;
@@ -112,7 +95,6 @@ export function CertificateCanvasShapeElementFromJSONTyped(json: any, ignoreDisc
112
95
  return {
113
96
 
114
97
  'id': json['id'],
115
- 'type': json['type'],
116
98
  'x': json['x'],
117
99
  'y': json['y'],
118
100
  'width': json['width'],
@@ -135,7 +117,6 @@ export function CertificateCanvasShapeElementToJSONTyped(value?: CertificateCanv
135
117
  return {
136
118
 
137
119
  'id': value['id'],
138
- 'type': value['type'],
139
120
  'x': value['x'],
140
121
  'y': value['y'],
141
122
  'width': value['width'],
@@ -25,12 +25,6 @@ export interface CertificateCanvasTextElement {
25
25
  * @memberof CertificateCanvasTextElement
26
26
  */
27
27
  id: string;
28
- /**
29
- *
30
- * @type {CertificateCanvasTextElementTypeEnum}
31
- * @memberof CertificateCanvasTextElement
32
- */
33
- type: CertificateCanvasTextElementTypeEnum;
34
28
  /**
35
29
  *
36
30
  * @type {number}
@@ -88,14 +82,6 @@ export interface CertificateCanvasTextElement {
88
82
  }
89
83
 
90
84
 
91
- /**
92
- * @export
93
- */
94
- export const CertificateCanvasTextElementTypeEnum = {
95
- Text: 'text'
96
- } as const;
97
- export type CertificateCanvasTextElementTypeEnum = typeof CertificateCanvasTextElementTypeEnum[keyof typeof CertificateCanvasTextElementTypeEnum];
98
-
99
85
  /**
100
86
  * @export
101
87
  */
@@ -120,7 +106,6 @@ export type CertificateCanvasTextElementAlignEnum = typeof CertificateCanvasText
120
106
  */
121
107
  export function instanceOfCertificateCanvasTextElement(value: object): value is CertificateCanvasTextElement {
122
108
  if (!('id' in value) || value['id'] === undefined) return false;
123
- if (!('type' in value) || value['type'] === undefined) return false;
124
109
  if (!('x' in value) || value['x'] === undefined) return false;
125
110
  if (!('y' in value) || value['y'] === undefined) return false;
126
111
  if (!('width' in value) || value['width'] === undefined) return false;
@@ -143,7 +128,6 @@ export function CertificateCanvasTextElementFromJSONTyped(json: any, ignoreDiscr
143
128
  return {
144
129
 
145
130
  'id': json['id'],
146
- 'type': json['type'],
147
131
  'x': json['x'],
148
132
  'y': json['y'],
149
133
  'width': json['width'],
@@ -168,7 +152,6 @@ export function CertificateCanvasTextElementToJSONTyped(value?: CertificateCanva
168
152
  return {
169
153
 
170
154
  'id': value['id'],
171
- 'type': value['type'],
172
155
  'x': value['x'],
173
156
  'y': value['y'],
174
157
  'width': value['width'],
@@ -25,12 +25,6 @@ export interface CertificateCanvasVerificationQrElement {
25
25
  * @memberof CertificateCanvasVerificationQrElement
26
26
  */
27
27
  id: string;
28
- /**
29
- *
30
- * @type {CertificateCanvasVerificationQrElementTypeEnum}
31
- * @memberof CertificateCanvasVerificationQrElement
32
- */
33
- type: CertificateCanvasVerificationQrElementTypeEnum;
34
28
  /**
35
29
  *
36
30
  * @type {number}
@@ -57,22 +51,11 @@ export interface CertificateCanvasVerificationQrElement {
57
51
  height: number;
58
52
  }
59
53
 
60
-
61
- /**
62
- * @export
63
- */
64
- export const CertificateCanvasVerificationQrElementTypeEnum = {
65
- VerificationQr: 'verification_qr'
66
- } as const;
67
- export type CertificateCanvasVerificationQrElementTypeEnum = typeof CertificateCanvasVerificationQrElementTypeEnum[keyof typeof CertificateCanvasVerificationQrElementTypeEnum];
68
-
69
-
70
54
  /**
71
55
  * Check if a given object implements the CertificateCanvasVerificationQrElement interface.
72
56
  */
73
57
  export function instanceOfCertificateCanvasVerificationQrElement(value: object): value is CertificateCanvasVerificationQrElement {
74
58
  if (!('id' in value) || value['id'] === undefined) return false;
75
- if (!('type' in value) || value['type'] === undefined) return false;
76
59
  if (!('x' in value) || value['x'] === undefined) return false;
77
60
  if (!('y' in value) || value['y'] === undefined) return false;
78
61
  if (!('width' in value) || value['width'] === undefined) return false;
@@ -91,7 +74,6 @@ export function CertificateCanvasVerificationQrElementFromJSONTyped(json: any, i
91
74
  return {
92
75
 
93
76
  'id': json['id'],
94
- 'type': json['type'],
95
77
  'x': json['x'],
96
78
  'y': json['y'],
97
79
  'width': json['width'],
@@ -111,7 +93,6 @@ export function CertificateCanvasVerificationQrElementToJSONTyped(value?: Certif
111
93
  return {
112
94
 
113
95
  'id': value['id'],
114
- 'type': value['type'],
115
96
  'x': value['x'],
116
97
  'y': value['y'],
117
98
  'width': value['width'],