Skip to content

Commit 21ad597

Browse files
Merge pull request #268 from regulaforensics/c19a94c4
Commit: c19a94c4
2 parents 9b494f5 + 7206dd6 commit 21ad597

File tree

10 files changed

+291
-232
lines changed

10 files changed

+291
-232
lines changed

examples/basic/package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 202 additions & 196 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@
4343
"pako": "^2.1.0"
4444
},
4545
"devDependencies": {
46-
"@eslint/js": "^9.31.0",
47-
"@types/pako": "^2.0.3",
48-
"eslint": "^9.31.0",
46+
"@eslint/js": "^9.35.0",
47+
"@types/pako": "^2.0.4",
48+
"eslint": "^9.35.0",
4949
"eslint-config-prettier": "^10.1.8",
50-
"eslint-plugin-prettier": "^5.5.3",
51-
"globals": "^16.3.0",
50+
"eslint-plugin-prettier": "^5.5.4",
51+
"globals": "^16.4.0",
5252
"husky": "^9.1.7",
53-
"lint-staged": "^16.1.2",
53+
"lint-staged": "^16.1.6",
5454
"prettier": "^3.6.2",
55-
"typescript": "^5.8.3",
56-
"typescript-eslint": "^8.38.0",
57-
"vite": "^6.3.5",
55+
"typescript": "^5.9.2",
56+
"typescript-eslint": "^8.43.0",
57+
"vite": "^7.1.5",
5858
"vite-plugin-dts": "^4.5.4"
5959
}
6060
}

src/.openapi-generator/FILES

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ models/authenticity-check-result.ts
1515
models/authenticity-result-type.ts
1616
models/authenticity-result.ts
1717
models/bar-code-module-type.ts
18+
models/barcode-position-item.ts
19+
models/barcode-position-result.ts
1820
models/barcode-type.ts
1921
models/bc-pdf417-info.ts
2022
models/bc-roidetect.ts
@@ -168,7 +170,6 @@ models/rfid-certificate-origin.ts
168170
models/rfid-certificate-type.ts
169171
models/rfid-data-file-type.ts
170172
models/rfid-data-file.ts
171-
models/rfid-data-group-type-tag.ts
172173
models/rfid-dg1.ts
173174
models/rfid-distinguished-name.ts
174175
models/rfid-location.ts
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* NOTE: This file is auto generated by OpenAPI Generator.
5+
* Do not edit the file manually.
6+
*/
7+
8+
9+
// May contain unused imports in some cases
10+
// @ts-ignore
11+
import type { DocumentPosition } from './document-position';
12+
13+
/**
14+
*
15+
* @export
16+
* @interface BarcodePositionItem
17+
*/
18+
export interface BarcodePositionItem {
19+
/**
20+
*
21+
* @type {DocumentPosition}
22+
* @memberof BarcodePositionItem
23+
*/
24+
'BarcodePosition': DocumentPosition;
25+
}
26+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* NOTE: This file is auto generated by OpenAPI Generator.
5+
* Do not edit the file manually.
6+
*/
7+
8+
9+
// May contain unused imports in some cases
10+
// @ts-ignore
11+
import type { BarcodePositionItem } from './barcode-position-item';
12+
// May contain unused imports in some cases
13+
// @ts-ignore
14+
import type { DocumentPosition } from './document-position';
15+
// May contain unused imports in some cases
16+
// @ts-ignore
17+
import type { Result } from './result';
18+
// May contain unused imports in some cases
19+
// @ts-ignore
20+
import type { ResultItem } from './result-item';
21+
22+
/**
23+
* @type BarcodePositionResult
24+
* Contains information about barcode position on the input image, its center, angle, etc
25+
* @export
26+
*/
27+
export type BarcodePositionResult = BarcodePositionItem & ResultItem;
28+
29+

src/models/container-list-list-inner.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import type { AuthenticityCheckList } from './authenticity-check-list';
1414
import type { AuthenticityResult } from './authenticity-result';
1515
// May contain unused imports in some cases
1616
// @ts-ignore
17+
import type { BarcodePositionResult } from './barcode-position-result';
18+
// May contain unused imports in some cases
19+
// @ts-ignore
1720
import type { ByteArrayResult } from './byte-array-result';
1821
// May contain unused imports in some cases
1922
// @ts-ignore
@@ -137,6 +140,6 @@ import type { TextResult } from './text-result';
137140
* @type ContainerListListInner
138141
* @export
139142
*/
140-
export type ContainerListListInner = AuthenticityResult | ByteArrayResult | ChosenDocumentTypeResult | DocBarCodeInfo | DocumentBinaryInfoResult | DocumentImageResult | DocumentPositionResult | DocumentTypesCandidatesResult | EncryptedRCLResult | FaceDetectionResult | GraphicsResult | ImageQualityResult | ImagesResult | LexicalAnalysisResult | LicenseResult | MRZDetectorResult | MRZPositionResult | MRZTestQualityResult | RFIDGraphicsInfoResult | RFIDTextDataResult | StatusResult | TextDataResult | TextResult;
143+
export type ContainerListListInner = AuthenticityResult | BarcodePositionResult | ByteArrayResult | ChosenDocumentTypeResult | DocBarCodeInfo | DocumentBinaryInfoResult | DocumentImageResult | DocumentPositionResult | DocumentTypesCandidatesResult | EncryptedRCLResult | FaceDetectionResult | GraphicsResult | ImageQualityResult | ImagesResult | LexicalAnalysisResult | LicenseResult | MRZDetectorResult | MRZPositionResult | MRZTestQualityResult | RFIDGraphicsInfoResult | RFIDTextDataResult | StatusResult | TextDataResult | TextResult;
141144

142145

src/models/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export * from './authenticity-check-result-list-inner';
99
export * from './authenticity-result';
1010
export * from './authenticity-result-type';
1111
export * from './bar-code-module-type';
12+
export * from './barcode-position-item';
13+
export * from './barcode-position-result';
1214
export * from './barcode-type';
1315
export * from './bc-pdf417-info';
1416
export * from './bc-roidetect';
@@ -170,7 +172,6 @@ export * from './rfid-certificate-type';
170172
export * from './rfid-dg1';
171173
export * from './rfid-data-file';
172174
export * from './rfid-data-file-type';
173-
export * from './rfid-data-group-type-tag';
174175
export * from './rfid-distinguished-name';
175176
export * from './rfid-location';
176177
export * from './rfid-origin';

src/models/rfid-application-type.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
export enum RfidApplicationType {
1717
/**
18-
* Not defined
18+
* Root files
1919
*/
20-
UNSPECIFIED = 0,
20+
ROOT_FILES = 0,
2121
/**
2222
* ePassport application
2323
*/
@@ -49,11 +49,7 @@ export enum RfidApplicationType {
4949
/**
5050
* Digital Travel Credentials
5151
*/
52-
eDTC_PC = 8,
53-
/**
54-
* Master File
55-
*/
56-
ROOT_FILES = 0
52+
eDTC_PC = 8
5753
}
5854

5955

src/models/rfid-dg1.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
// May contain unused imports in some cases
1010
// @ts-ignore
1111
import type { DocumentFormat } from './document-format';
12-
// May contain unused imports in some cases
13-
// @ts-ignore
14-
import type { RfidDataGroupTypeTag } from './rfid-data-group-type-tag';
1512

1613
/**
1714
* Structure used to store the contents of EF.DG1 informational data group of ePassport application – document MRZ data
@@ -21,10 +18,10 @@ import type { RfidDataGroupTypeTag } from './rfid-data-group-type-tag';
2118
export interface RfidDG1 {
2219
/**
2320
*
24-
* @type {RfidDataGroupTypeTag}
21+
* @type {number}
2522
* @memberof RfidDG1
2623
*/
27-
'Type': RfidDataGroupTypeTag;
24+
'Type': number;
2825
/**
2926
*
3027
* @type {DocumentFormat}

0 commit comments

Comments
 (0)