File tree Expand file tree Collapse file tree 10 files changed +24
-36
lines changed Expand file tree Collapse file tree 10 files changed +24
-36
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ import type { SecurityFeatureResult } from './security-feature-result';
6060import type { SecurityFeatureType } from './security-feature-type' ;
6161// May contain unused imports in some cases
6262// @ts -ignore
63+ import type { TextFieldType } from './text-field-type' ;
64+ // May contain unused imports in some cases
65+ // @ts -ignore
6366import type { Visibility } from './visibility' ;
6467
6568/**
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ import type { Light } from './light';
2222// May contain unused imports in some cases
2323// @ts -ignore
2424import type { RectangleCoordinates } from './rectangle-coordinates' ;
25+ // May contain unused imports in some cases
26+ // @ts -ignore
27+ import type { TextFieldType } from './text-field-type' ;
2528
2629/**
2730 *
@@ -48,23 +51,23 @@ export interface OCRSecurityTextItem {
4851 */
4952 'FieldRect' : RectangleCoordinates ;
5053 /**
51- *
54+ * Same as Result type, but used for safe parsing of not-described values. See Result type.
5255 * @type {number }
5356 * @memberof OCRSecurityTextItem
5457 */
5558 'EtalonResultType' : number ;
5659 /**
5760 *
58- * @type {number }
61+ * @type {TextFieldType }
5962 * @memberof OCRSecurityTextItem
6063 */
61- 'EtalonFieldType' : number ;
64+ 'EtalonFieldType' : TextFieldType ;
6265 /**
6366 *
64- * @type {number }
67+ * @type {Light }
6568 * @memberof OCRSecurityTextItem
6669 */
67- 'EtalonLightType' : number ;
70+ 'EtalonLightType' : Light ;
6871 /**
6972 *
7073 * @type {RectangleCoordinates }
Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ import type { OCRSecurityTextItem } from './ocrsecurity-text-item';
3737// May contain unused imports in some cases
3838// @ts -ignore
3939import type { RectangleCoordinates } from './rectangle-coordinates' ;
40+ // May contain unused imports in some cases
41+ // @ts -ignore
42+ import type { TextFieldType } from './text-field-type' ;
4043
4144/**
4245 * @type OCRSecurityTextResult
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ import type { BcROIDETECT } from './bc-roidetect';
2525// May contain unused imports in some cases
2626// @ts -ignore
2727import type { DataModule } from './data-module' ;
28+ // May contain unused imports in some cases
29+ // @ts -ignore
30+ import type { TextFieldType } from './text-field-type' ;
2831
2932/**
3033 *
@@ -76,10 +79,10 @@ export interface PArrayField {
7679 'bcTextDecoderTypes' ?: number ;
7780 /**
7881 *
79- * @type {number }
82+ * @type {TextFieldType }
8083 * @memberof PArrayField
8184 */
82- 'bcTextFieldType' ?: number ;
85+ 'bcTextFieldType' ?: TextFieldType ;
8386 /**
8487 *
8588 * @type {BarcodeType }
Original file line number Diff line number Diff line change 1818import type { AuthParams } from './auth-params' ;
1919// May contain unused imports in some cases
2020// @ts -ignore
21- import type { AuthenticityResultType } from './authenticity-result-type' ;
22- // May contain unused imports in some cases
23- // @ts -ignore
2421import type { DocumentFormat } from './document-format' ;
2522// May contain unused imports in some cases
2623// @ts -ignore
@@ -355,10 +352,10 @@ export interface ProcessParams {
355352 'documentGroupFilter' ?: Array < DocumentType > ;
356353 /**
357354 *
358- * @type {AuthenticityResultType }
355+ * @type {number }
359356 * @memberof ProcessParams
360357 */
361- 'processAuth' ?: AuthenticityResultType ;
358+ 'processAuth' ?: number ;
362359 /**
363360 * This parameter is used to specify the document reader device type from which input images were captured. Default 0.
364361 * @type {number }
Original file line number Diff line number Diff line change 1818import type { ContainerList } from './container-list' ;
1919// May contain unused imports in some cases
2020// @ts -ignore
21- import type { LCID } from './lcid' ;
22- // May contain unused imports in some cases
23- // @ts -ignore
2421import type { ProcessParams } from './process-params' ;
2522// May contain unused imports in some cases
2623// @ts -ignore
@@ -107,11 +104,5 @@ export interface ProcessRequest {
107104 * @memberof ProcessRequest
108105 */
109106 'ImageUrls' ?: Array < string > ;
110- /**
111- * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default.
112- * @type {Array<LCID> }
113- * @memberof ProcessRequest
114- */
115- 'lcidFilter' ?: Array < LCID > ;
116107}
117108
Original file line number Diff line number Diff line change @@ -122,11 +122,11 @@ export enum Result {
122122 */
123123 LICENSE = 50 ,
124124 /**
125- * Contains result of DocumentPosition
125+ * Contains result of MRZ position
126126 */
127127 MRZ_POSITION = 61 ,
128128 /**
129- * Contains result of DocumentPosition
129+ * Contains result of barcode position
130130 */
131131 BARCODE_POSITION = 62 ,
132132 /**
Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ export enum RFIDErrorCodes {
468468 /**
469469 * RFID: Failed
470470 */
471- RFID_ERROR_FAILED = 4294967295 ,
471+ RFID_ERROR_FAILED = - 1 ,
472472 /**
473473 * RFID: No error
474474 */
Original file line number Diff line number Diff line change @@ -65,12 +65,6 @@ export interface SecurityFeatureItem {
6565 * @memberof SecurityFeatureItem
6666 */
6767 'AreaList' ?: AreaContainer ;
68- /**
69- *
70- * @type {number }
71- * @memberof SecurityFeatureItem
72- */
73- 'Result' ?: number ;
7468 /**
7569 *
7670 * @type {number }
Original file line number Diff line number Diff line change @@ -71,12 +71,6 @@ export interface VerifiedFieldMap {
7171 * @memberof VerifiedFieldMap
7272 */
7373 'Matrix' : Array < VerificationResult > ;
74- /**
75- *
76- * @type {number }
77- * @memberof VerifiedFieldMap
78- */
79- 'FieldType' ?: number ;
8074}
8175
8276
You can’t perform that action at this time.
0 commit comments