Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/models/authenticity-check-result-list-inner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ import type { SecurityFeatureResult } from './security-feature-result';
import type { SecurityFeatureType } from './security-feature-type';
// May contain unused imports in some cases
// @ts-ignore
import type { TextFieldType } from './text-field-type';
// May contain unused imports in some cases
// @ts-ignore
import type { Visibility } from './visibility';

/**
Expand Down
4 changes: 2 additions & 2 deletions src/models/certificate-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export interface CertificateData {
'Data': string;
/**
*
* @type {string}
* @type {number}
* @memberof CertificateData
*/
'Length': string;
'Length': number;
}

6 changes: 0 additions & 6 deletions src/models/fiber-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@ export interface FiberItem {
* @memberof FiberItem
*/
'ColorValues': Array<number>;
/**
*
* @type {number}
* @memberof FiberItem
*/
'ErrorCode'?: number;
}


Expand Down
6 changes: 0 additions & 6 deletions src/models/ident-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ export interface IdentItem {
* @memberof IdentItem
*/
'ElementID'?: number;
/**
*
* @type {number}
* @memberof IdentItem
*/
'Result'?: number;
}


Expand Down
12 changes: 10 additions & 2 deletions src/models/light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ export enum Light {
*/
OFF = 0,
/**
* Upper/lower lighters of white light scheme
*/
WHITE_TOP = 2,
/**
* Side lighters of white light scheme
*/
WHITE_SIDE = 4,
/**
* White
*/
WHITE = 6,
Expand All @@ -38,9 +46,9 @@ export enum Light {
*/
UV = 128,
/**
* Right and left lighters of white coaxial light scheme
* White coaxial
*/
AXIAL_WHITE_FULL = 3072
AXIAL_WHITE = 3072
}


Expand Down
19 changes: 8 additions & 11 deletions src/models/ocrsecurity-text-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ import type { Light } from './light';
// May contain unused imports in some cases
// @ts-ignore
import type { RectangleCoordinates } from './rectangle-coordinates';
// May contain unused imports in some cases
// @ts-ignore
import type { TextFieldType } from './text-field-type';

/**
*
Expand All @@ -48,23 +51,23 @@ export interface OCRSecurityTextItem {
*/
'FieldRect': RectangleCoordinates;
/**
*
* Same as Result type, but used for safe parsing of not-described values. See Result type.
* @type {number}
* @memberof OCRSecurityTextItem
*/
'EtalonResultType': number;
/**
*
* @type {number}
* @type {TextFieldType}
* @memberof OCRSecurityTextItem
*/
'EtalonFieldType': number;
'EtalonFieldType': TextFieldType;
/**
*
* @type {number}
* @type {Light}
* @memberof OCRSecurityTextItem
*/
'EtalonLightType': number;
'EtalonLightType': Light;
/**
*
* @type {RectangleCoordinates}
Expand All @@ -83,12 +86,6 @@ export interface OCRSecurityTextItem {
* @memberof OCRSecurityTextItem
*/
'EtalonResultOCR': string;
/**
*
* @type {number}
* @memberof OCRSecurityTextItem
*/
'ResultCode'?: number;
/**
*
* @type {number}
Expand Down
3 changes: 3 additions & 0 deletions src/models/ocrsecurity-text-result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ import type { OCRSecurityTextItem } from './ocrsecurity-text-item';
// May contain unused imports in some cases
// @ts-ignore
import type { RectangleCoordinates } from './rectangle-coordinates';
// May contain unused imports in some cases
// @ts-ignore
import type { TextFieldType } from './text-field-type';

/**
* @type OCRSecurityTextResult
Expand Down
7 changes: 5 additions & 2 deletions src/models/parray-field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ import type { BcROIDETECT } from './bc-roidetect';
// May contain unused imports in some cases
// @ts-ignore
import type { DataModule } from './data-module';
// May contain unused imports in some cases
// @ts-ignore
import type { TextFieldType } from './text-field-type';

/**
*
Expand Down Expand Up @@ -76,10 +79,10 @@ export interface PArrayField {
'bcTextDecoderTypes'?: number;
/**
*
* @type {number}
* @type {TextFieldType}
* @memberof PArrayField
*/
'bcTextFieldType'?: number;
'bcTextFieldType'?: TextFieldType;
/**
*
* @type {BarcodeType}
Expand Down
32 changes: 32 additions & 0 deletions src/models/parsing-error-codes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,38 @@ export enum ParsingErrorCodes {
*/
errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData = 2147483687,
/**
* ASN DTC Signer info: Incorrect data
*/
errLDS_ASN_DTC_SignerInfo_IncorrectData = 2147483712,
/**
* ASN DTC Signer info: Certificate incorrect data
*/
errLDS_ASN_DTC_SignerInfo_Certificate_IncorrectData = 2147483713,
/**
* ASN DTC Signer info: Digest algorithms incorrect data
*/
errLDS_ASN_DTC_SignerInfo_DigestAlg_IncorrectData = 2147483714,
/**
* ASN DTC Signer info: Signed attributes incorrect data
*/
errLDS_ASN_DTC_SignerInfo_SignedAttrs_IncorrectData = 2147483715,
/**
* ASN DTC Signer info: Sign algorithms incorrect data
*/
errLDS_ASN_DTC_SignerInfo_SignAlg_IncorrectData = 2147483716,
/**
* ASN DTC Signer info: Signature incorrect data
*/
errLDS_ASN_DTC_SignerInfo_Signature_IncorrectData = 2147483717,
/**
* ASN DTC Security info: Incorrect data
*/
errLDS_ASN_DTC_SecurityInfo_IncorrectData = 2147483718,
/**
* ASN DTC Content info: Incorrect data
*/
errLDS_ASN_DTC_ContentInfo_IncorrectData = 2147483719,
/**
* ICAO LDS object: Unsupported digest algorithm
*/
errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm = 2147483696,
Expand Down
Loading