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
1 change: 1 addition & 0 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ models/out-data-transaction-images-field-value.ts
models/out-data.ts
models/parray-field.ts
models/parsed-data.ts
models/parsing-error-codes.ts
models/parsing-notification-codes.ts
models/per-document-config.ts
models/photo-ident-item.ts
Expand Down
22 changes: 1 addition & 21 deletions src/models/authenticity-result-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
*/

export enum AuthenticityResultType {
/**
* No authenticity control procedure
*/
NONE = 0,
/**
* Document luminescence check in UV light
*/
Expand Down Expand Up @@ -58,10 +54,6 @@ export enum AuthenticityResultType {
*/
IPI = 128,
/**
* Document photo check in IR light
*/
IR_PHOTO = 256,
/**
* Owner's photo embedding check (is photo printed or sticked)
*/
PHOTO_EMBED_TYPE = 512,
Expand All @@ -70,10 +62,6 @@ export enum AuthenticityResultType {
*/
OVI = 1024,
/**
* IR luminescence check
*/
IR_LUMINESCENCE = 2048,
/**
* Hologram presence check. Deprecated
*/
HOLOGRAMS = 4096,
Expand All @@ -82,10 +70,6 @@ export enum AuthenticityResultType {
*/
PHOTO_AREA = 8192,
/**
* UV background check
*/
UV_BACKGROUND = 16384,
/**
* Portrait comparison check (document printed vs chip vs live)
*/
PORTRAIT_COMPARISON = 32768,
Expand Down Expand Up @@ -124,11 +108,7 @@ export enum AuthenticityResultType {
/**
* Encrypted IPI
*/
ENCRYPTED_IPI = 16777216,
/**
* Flag for status-only authenticity
*/
STATUS_ONLY = 2147483648
ENCRYPTED_IPI = 16777216
}


Expand Down
44 changes: 20 additions & 24 deletions src/models/barcode-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,89 +22,85 @@

export enum BarcodeType {
/**
* Unknown type
* Unknown
*/
UNKNOWN = 0,
/**
* One-dimensional bar-code, ISO 15417 (ANSI/AIM BC4-1999 Code 128)
* Code 128
*/
CODE128 = 1,
/**
* One-dimensional bar-code, ISO 16388 (ANSI/AIM BC1-1995 Code 39)
* Code 39
*/
CODE39 = 2,
/**
* One-dimensional bar-code, EAN8, ISO 15418
* EAN-8
*/
EAN8 = 3,
/**
* One-dimensional bar-code, Interleaved 2 of 5, ISO 16390 (ANSI/AIM BC2-1995 Interleaved 2 of 5)
* ITF
*/
ITF = 4,
/**
* Two-dimensional bar-code, ISO 15438 (AIM USS PDF417)
* PDF417
*/
PDF417 = 5,
/**
* One-dimensional bar-code, Standard 2 of 5 (Industrial)
* STF
*/
STF = 6,
/**
* One-dimensional bar-code, Matrix 2 of 5
* MTF
*/
MTF = 7,
/**
* One-dimensional bar-code, IATA 2 of 5 (Airline)
* IATA
*/
IATA = 8,
/**
* One-dimensional bar-code, (ANSI/AIM BC3-1995, USS - Codabar)
* Codabar
*/
CODABAR = 9,
/**
* One-dimensional bar-code, UPC-A
* UPC-A
*/
UPCA = 10,
/**
* One-dimensional bar-code, (ANSI/AIM BC5-1995, USS - Code 93)
* Code 93
*/
CODE93 = 11,
/**
* One-dimensional bar-code, UPC-E
* UPC-E
*/
UPCE = 12,
/**
* One-dimensional bar-code, EAN13, ISO 15418
* EAN-13
*/
EAN13 = 13,
/**
* Two-dimensional QRCODE bar-code
* QR code
*/
QRCODE = 14,
/**
* Two-dimensional AZTEC bar-code
* Aztec code
*/
AZTEC = 15,
/**
* Two-dimensional DATAMATRIX bar-code
* Datamatrix
*/
DATAMATRIX = 16,
/**
* Type for internal use, representing all 1D bar-codes
* All 1D barcodes
*/
ALL_1D = 17,
/**
* One-dimensional bar-code CODE11
* Code 11
*/
CODE11 = 18,
/**
* JAB code
*/
JABCODE = 19,
/**
* For internal use
*/
END = 20
JABCODE = 19
}


Expand Down
2 changes: 1 addition & 1 deletion src/models/document-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface DocumentImage {
* @type {string}
* @memberof DocumentImage
*/
'image': string;
'image'?: string;
/**
* Image format
* @type {string}
Expand Down
6 changes: 6 additions & 0 deletions src/models/fiber-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ export interface FiberItem {
* @memberof FiberItem
*/
'ColorValues': Array<number>;
/**
*
* @type {number}
* @memberof FiberItem
*/
'ErrorCode'?: number;
}


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


Expand Down
2 changes: 1 addition & 1 deletion src/models/image-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface ImageData {
* @type {string}
* @memberof ImageData
*/
'image': string;
'image'?: string;
/**
* Image format
* @type {string}
Expand Down
1 change: 1 addition & 0 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export * from './out-data';
export * from './out-data-transaction-images-field-value';
export * from './parray-field';
export * from './parsed-data';
export * from './parsing-error-codes';
export * from './parsing-notification-codes';
export * from './per-document-config';
export * from './photo-ident-item';
Expand Down
6 changes: 6 additions & 0 deletions src/models/ocrsecurity-text-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ export interface OCRSecurityTextItem {
* @memberof OCRSecurityTextItem
*/
'EtalonResultOCR': string;
/**
*
* @type {number}
* @memberof OCRSecurityTextItem
*/
'ResultCode'?: number;
/**
*
* @type {number}
Expand Down
Loading