Skip to content

Commit 0cab0b6

Browse files
SP-18211 - update models
1 parent e64e7b2 commit 0cab0b6

18 files changed

+822
-350
lines changed

src/models/certificate-data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ export interface CertificateData {
2828
'Data': string;
2929
/**
3030
*
31-
* @type {string}
31+
* @type {number}
3232
* @memberof CertificateData
3333
*/
34-
'Length': string;
34+
'Length': number;
3535
}
3636

src/models/fiber-item.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,6 @@ export interface FiberItem {
8080
* @memberof FiberItem
8181
*/
8282
'ColorValues': Array<number>;
83-
/**
84-
*
85-
* @type {number}
86-
* @memberof FiberItem
87-
*/
88-
'ErrorCode'?: number;
8983
}
9084

9185

src/models/ident-item.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@ export interface IdentItem {
7777
* @memberof IdentItem
7878
*/
7979
'ElementID'?: number;
80-
/**
81-
*
82-
* @type {number}
83-
* @memberof IdentItem
84-
*/
85-
'Result'?: number;
8680
}
8781

8882

src/models/light.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ export enum Light {
2626
*/
2727
OFF = 0,
2828
/**
29+
* Upper/lower lighters of white light scheme
30+
*/
31+
WHITE_TOP = 2,
32+
/**
33+
* Side lighters of white light scheme
34+
*/
35+
WHITE_SIDE = 4,
36+
/**
2937
* White
3038
*/
3139
WHITE = 6,
@@ -38,9 +46,9 @@ export enum Light {
3846
*/
3947
UV = 128,
4048
/**
41-
* Right and left lighters of white coaxial light scheme
49+
* White coaxial
4250
*/
43-
AXIAL_WHITE_FULL = 3072
51+
AXIAL_WHITE = 3072
4452
}
4553

4654

src/models/ocrsecurity-text-item.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ export interface OCRSecurityTextItem {
8686
* @memberof OCRSecurityTextItem
8787
*/
8888
'EtalonResultOCR': string;
89-
/**
90-
*
91-
* @type {number}
92-
* @memberof OCRSecurityTextItem
93-
*/
94-
'ResultCode'?: number;
9589
/**
9690
*
9791
* @type {number}

src/models/parsing-error-codes.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,38 @@ export enum ParsingErrorCodes {
142142
*/
143143
errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData = 2147483687,
144144
/**
145+
* ASN DTC Signer info: Incorrect data
146+
*/
147+
errLDS_ASN_DTC_SignerInfo_IncorrectData = 2147483712,
148+
/**
149+
* ASN DTC Signer info: Certificate incorrect data
150+
*/
151+
errLDS_ASN_DTC_SignerInfo_Certificate_IncorrectData = 2147483713,
152+
/**
153+
* ASN DTC Signer info: Digest algorithms incorrect data
154+
*/
155+
errLDS_ASN_DTC_SignerInfo_DigestAlg_IncorrectData = 2147483714,
156+
/**
157+
* ASN DTC Signer info: Signed attributes incorrect data
158+
*/
159+
errLDS_ASN_DTC_SignerInfo_SignedAttrs_IncorrectData = 2147483715,
160+
/**
161+
* ASN DTC Signer info: Sign algorithms incorrect data
162+
*/
163+
errLDS_ASN_DTC_SignerInfo_SignAlg_IncorrectData = 2147483716,
164+
/**
165+
* ASN DTC Signer info: Signature incorrect data
166+
*/
167+
errLDS_ASN_DTC_SignerInfo_Signature_IncorrectData = 2147483717,
168+
/**
169+
* ASN DTC Security info: Incorrect data
170+
*/
171+
errLDS_ASN_DTC_SecurityInfo_IncorrectData = 2147483718,
172+
/**
173+
* ASN DTC Content info: Incorrect data
174+
*/
175+
errLDS_ASN_DTC_ContentInfo_IncorrectData = 2147483719,
176+
/**
145177
* ICAO LDS object: Unsupported digest algorithm
146178
*/
147179
errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm = 2147483696,

0 commit comments

Comments
 (0)