Skip to content

Commit 0dfa102

Browse files
SP-22413 - Update models
1 parent e8dec07 commit 0dfa102

13 files changed

+605
-54
lines changed

src/.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ models/out-data-transaction-images-field-value.ts
130130
models/out-data.ts
131131
models/parray-field.ts
132132
models/parsed-data.ts
133+
models/parsing-error-codes.ts
133134
models/parsing-notification-codes.ts
134135
models/per-document-config.ts
135136
models/photo-ident-item.ts

src/models/authenticity-result-type.ts

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
*/
2222

2323
export enum AuthenticityResultType {
24-
/**
25-
* No authenticity control procedure
26-
*/
27-
NONE = 0,
2824
/**
2925
* Document luminescence check in UV light
3026
*/
@@ -58,10 +54,6 @@ export enum AuthenticityResultType {
5854
*/
5955
IPI = 128,
6056
/**
61-
* Document photo check in IR light
62-
*/
63-
IR_PHOTO = 256,
64-
/**
6557
* Owner's photo embedding check (is photo printed or sticked)
6658
*/
6759
PHOTO_EMBED_TYPE = 512,
@@ -70,10 +62,6 @@ export enum AuthenticityResultType {
7062
*/
7163
OVI = 1024,
7264
/**
73-
* IR luminescence check
74-
*/
75-
IR_LUMINESCENCE = 2048,
76-
/**
7765
* Hologram presence check. Deprecated
7866
*/
7967
HOLOGRAMS = 4096,
@@ -82,10 +70,6 @@ export enum AuthenticityResultType {
8270
*/
8371
PHOTO_AREA = 8192,
8472
/**
85-
* UV background check
86-
*/
87-
UV_BACKGROUND = 16384,
88-
/**
8973
* Portrait comparison check (document printed vs chip vs live)
9074
*/
9175
PORTRAIT_COMPARISON = 32768,
@@ -124,11 +108,7 @@ export enum AuthenticityResultType {
124108
/**
125109
* Encrypted IPI
126110
*/
127-
ENCRYPTED_IPI = 16777216,
128-
/**
129-
* Flag for status-only authenticity
130-
*/
131-
STATUS_ONLY = 2147483648
111+
ENCRYPTED_IPI = 16777216
132112
}
133113

134114

src/models/barcode-type.ts

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,89 +22,85 @@
2222

2323
export enum BarcodeType {
2424
/**
25-
* Unknown type
25+
* Unknown
2626
*/
2727
UNKNOWN = 0,
2828
/**
29-
* One-dimensional bar-code, ISO 15417 (ANSI/AIM BC4-1999 Code 128)
29+
* Code 128
3030
*/
3131
CODE128 = 1,
3232
/**
33-
* One-dimensional bar-code, ISO 16388 (ANSI/AIM BC1-1995 Code 39)
33+
* Code 39
3434
*/
3535
CODE39 = 2,
3636
/**
37-
* One-dimensional bar-code, EAN8, ISO 15418
37+
* EAN-8
3838
*/
3939
EAN8 = 3,
4040
/**
41-
* One-dimensional bar-code, Interleaved 2 of 5, ISO 16390 (ANSI/AIM BC2-1995 Interleaved 2 of 5)
41+
* ITF
4242
*/
4343
ITF = 4,
4444
/**
45-
* Two-dimensional bar-code, ISO 15438 (AIM USS PDF417)
45+
* PDF417
4646
*/
4747
PDF417 = 5,
4848
/**
49-
* One-dimensional bar-code, Standard 2 of 5 (Industrial)
49+
* STF
5050
*/
5151
STF = 6,
5252
/**
53-
* One-dimensional bar-code, Matrix 2 of 5
53+
* MTF
5454
*/
5555
MTF = 7,
5656
/**
57-
* One-dimensional bar-code, IATA 2 of 5 (Airline)
57+
* IATA
5858
*/
5959
IATA = 8,
6060
/**
61-
* One-dimensional bar-code, (ANSI/AIM BC3-1995, USS - Codabar)
61+
* Codabar
6262
*/
6363
CODABAR = 9,
6464
/**
65-
* One-dimensional bar-code, UPC-A
65+
* UPC-A
6666
*/
6767
UPCA = 10,
6868
/**
69-
* One-dimensional bar-code, (ANSI/AIM BC5-1995, USS - Code 93)
69+
* Code 93
7070
*/
7171
CODE93 = 11,
7272
/**
73-
* One-dimensional bar-code, UPC-E
73+
* UPC-E
7474
*/
7575
UPCE = 12,
7676
/**
77-
* One-dimensional bar-code, EAN13, ISO 15418
77+
* EAN-13
7878
*/
7979
EAN13 = 13,
8080
/**
81-
* Two-dimensional QRCODE bar-code
81+
* QR code
8282
*/
8383
QRCODE = 14,
8484
/**
85-
* Two-dimensional AZTEC bar-code
85+
* Aztec code
8686
*/
8787
AZTEC = 15,
8888
/**
89-
* Two-dimensional DATAMATRIX bar-code
89+
* Datamatrix
9090
*/
9191
DATAMATRIX = 16,
9292
/**
93-
* Type for internal use, representing all 1D bar-codes
93+
* All 1D barcodes
9494
*/
9595
ALL_1D = 17,
9696
/**
97-
* One-dimensional bar-code CODE11
97+
* Code 11
9898
*/
9999
CODE11 = 18,
100100
/**
101101
* JAB code
102102
*/
103-
JABCODE = 19,
104-
/**
105-
* For internal use
106-
*/
107-
END = 20
103+
JABCODE = 19
108104
}
109105

110106

src/models/document-image.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface DocumentImage {
2525
* @type {string}
2626
* @memberof DocumentImage
2727
*/
28-
'image': string;
28+
'image'?: string;
2929
/**
3030
* Image format
3131
* @type {string}

src/models/fiber-item.ts

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

8591

src/models/ident-item.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,18 @@ export interface IdentItem {
7171
* @memberof IdentItem
7272
*/
7373
'AreaList'?: AreaContainer;
74+
/**
75+
*
76+
* @type {number}
77+
* @memberof IdentItem
78+
*/
79+
'ElementID'?: number;
80+
/**
81+
*
82+
* @type {number}
83+
* @memberof IdentItem
84+
*/
85+
'Result'?: number;
7486
}
7587

7688

src/models/image-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface ImageData {
2525
* @type {string}
2626
* @memberof ImageData
2727
*/
28-
'image': string;
28+
'image'?: string;
2929
/**
3030
* Image format
3131
* @type {string}

src/models/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export * from './out-data';
123123
export * from './out-data-transaction-images-field-value';
124124
export * from './parray-field';
125125
export * from './parsed-data';
126+
export * from './parsing-error-codes';
126127
export * from './parsing-notification-codes';
127128
export * from './per-document-config';
128129
export * from './photo-ident-item';

src/models/ocrsecurity-text-item.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ export interface OCRSecurityTextItem {
8383
* @memberof OCRSecurityTextItem
8484
*/
8585
'EtalonResultOCR': string;
86+
/**
87+
*
88+
* @type {number}
89+
* @memberof OCRSecurityTextItem
90+
*/
91+
'ResultCode'?: number;
8692
/**
8793
*
8894
* @type {number}

0 commit comments

Comments
 (0)