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
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"prettier": "^3.6.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.43.0",
"vite": "^7.1.5",
"vite": "^7.1.11",
"vite-plugin-dts": "^4.5.4"
}
}
1 change: 1 addition & 0 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ models/fiber-result.ts
models/field-item.ts
models/file-image.ts
models/get-transactions-by-tag-response.ts
models/glares-check-params.ts
models/graph-data.ts
models/graphic-field-type.ts
models/graphic-field.ts
Expand Down
2 changes: 2 additions & 0 deletions src/models/check-diagnose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ export enum CheckDiagnose {
FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR = 84,
FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR = 85,
FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION = 86,
FIELD_POS_CORRECTOR_AGE_CHECK_ERROR = 87,
FIELD_POS_CORRECTOR_SEX_CHECK_ERROR = 88,
OVI_IR_INVISIBLE = 90,
OVI_INSUFFICIENT_AREA = 91,
OVI_COLOR_INVARIABLE = 92,
Expand Down
29 changes: 29 additions & 0 deletions src/models/glares-check-params.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This file is auto generated by OpenAPI Generator.
* Do not edit the file manually.
*/



/**
*
* @export
* @interface GlaresCheckParams
*/
export interface GlaresCheckParams {
/**
* Margin from the edges of the image. 0.35 = 35%
* @type {number}
* @memberof GlaresCheckParams
*/
'imgMarginPart'?: number;
/**
* The maximum allowable part of the area occupied by the glare. The same: 0.06 = 6%
* @type {number}
* @memberof GlaresCheckParams
*/
'maxGlaringPart'?: number;
}

9 changes: 9 additions & 0 deletions src/models/image-qa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import type { GlaresCheckParams } from './glares-check-params';
// May contain unused imports in some cases
// @ts-ignore
import type { InputImageQualityChecks } from './input-image-quality-checks';
Expand Down Expand Up @@ -70,5 +73,11 @@ export interface ImageQA {
* @memberof ImageQA
*/
'expectedPass'?: Array<InputImageQualityChecks>;
/**
*
* @type {GlaresCheckParams}
* @memberof ImageQA
*/
'glaresCheckParams'?: GlaresCheckParams;
}

1 change: 1 addition & 0 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export * from './fiber-result';
export * from './field-item';
export * from './file-image';
export * from './get-transactions-by-tag-response';
export * from './glares-check-params';
export * from './graph-data';
export * from './graphic-field';
export * from './graphic-field-type';
Expand Down
10 changes: 9 additions & 1 deletion src/models/security-feature-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,15 @@ export enum SecurityFeatureType {
/**
* Liveness geometry check
*/
LIVENESS_GEOMETRY_CHECK = 55
LIVENESS_GEOMETRY_CHECK = 55,
/**
* Age check
*/
AGE_CHECK = 56,
/**
* Sex check
*/
SEX_CHECK = 57
}


Expand Down