Skip to content

Commit 0efd0de

Browse files
committed
Regenerate model on last openapi
1 parent 17d57a8 commit 0efd0de

23 files changed

+475
-25
lines changed

src/.openapi-generator/FILES

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
base.ts
22
configuration.ts
3-
models/available-source.ts
43
models/check-result.ts
54
models/chosen-document-type-result-all-of.ts
65
models/chosen-document-type-result.ts
@@ -22,13 +21,20 @@ models/graphic-fields-list.ts
2221
models/graphics-result-all-of.ts
2322
models/graphics-result.ts
2423
models/image-data.ts
24+
models/images-available-source.ts
25+
models/images-field-value.ts
26+
models/images-field.ts
27+
models/images-result-all-of.ts
28+
models/images-result.ts
29+
models/images.ts
2530
models/index.ts
2631
models/lcid.ts
2732
models/lexical-analysis-result-all-of.ts
2833
models/lexical-analysis-result.ts
2934
models/light.ts
3035
models/list-verified-fields.ts
3136
models/one-candidate.ts
37+
models/original-symbol.ts
3238
models/process-params.ts
3339
models/process-request-image.ts
3440
models/process-request.ts
@@ -41,6 +47,7 @@ models/rectangle-coordinates.ts
4147
models/result-item.ts
4248
models/result.ts
4349
models/rfid-location.ts
50+
models/rfid-origin.ts
4451
models/scenario.ts
4552
models/source-validity.ts
4653
models/source.ts
@@ -50,6 +57,7 @@ models/status.ts
5057
models/string-recognition-result.ts
5158
models/symbol-candidate.ts
5259
models/symbol-recognition-result.ts
60+
models/text-available-source.ts
5361
models/text-data-result-all-of.ts
5462
models/text-data-result.ts
5563
models/text-field-type.ts

src/ext/text.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {
2-
AvailableSource,
2+
TextAvailableSource as AvailableSource,
33
CheckResult,
44

55
Text as BaseText,

src/models/container-list.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import { ChosenDocumentTypeResult } from './chosen-document-type-result';
1717
import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
1818
import { GraphicsResult } from './graphics-result';
19+
import { ImagesResult } from './images-result';
1920
import { LexicalAnalysisResult } from './lexical-analysis-result';
2021
import { RawImageResult } from './raw-image-result';
2122
import { StatusResult } from './status-result';
@@ -30,10 +31,10 @@ import { TextResult } from './text-result';
3031
export interface ContainerList {
3132
/**
3233
*
33-
* @type {Array<RawImageResult | TextResult | StatusResult | TextDataResult | GraphicsResult | LexicalAnalysisResult | ChosenDocumentTypeResult | DocumentTypesCandidatesResult>}
34+
* @type {Array<RawImageResult | TextResult | StatusResult | TextDataResult | GraphicsResult | LexicalAnalysisResult | ChosenDocumentTypeResult | DocumentTypesCandidatesResult | ImagesResult>}
3435
* @memberof ContainerList
3536
*/
36-
List: Array<RawImageResult | TextResult | StatusResult | TextDataResult | GraphicsResult | LexicalAnalysisResult | ChosenDocumentTypeResult | DocumentTypesCandidatesResult>;
37+
List: Array<RawImageResult | TextResult | StatusResult | TextDataResult | GraphicsResult | LexicalAnalysisResult | ChosenDocumentTypeResult | DocumentTypesCandidatesResult | ImagesResult>;
3738
}
3839

3940

src/models/graphic-field.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,25 @@ export interface GraphicField {
4242
*/
4343
FieldRect?: RectangleCoordinates;
4444
/**
45-
* Information data group. Only for Result.RFID_TEXT results.
45+
* Source data group file. Only for Result.RFID_GRAPHICS result.
4646
* @type {number}
4747
* @memberof GraphicField
4848
*/
4949
RFID_OriginDG?: number;
5050
/**
51-
* Index of the source record of the image with biometric information in the information data group. Only for Result.RFID_TEXT results.
51+
* Index of the source record of the image with biometric information in the information data group. Only for Result.RFID_GRAPHICS result.
5252
* @type {number}
5353
* @memberof GraphicField
5454
*/
5555
RFID_OriginDGTag?: number;
5656
/**
57-
* Index of the text field record in information data group. Only for Result.RFID_TEXT results.
57+
* Index of the template in the record with biometric data. Only for Result.RFID_GRAPHICS result.
5858
* @type {number}
5959
* @memberof GraphicField
6060
*/
6161
RFID_OriginTagEntry?: number;
6262
/**
63-
* Biometric sample variant index. Only for Result.RFID_TEXT results.
63+
* Index of the variant of the biometric data template. Only for Result.RFID_GRAPHICS result.
6464
* @type {number}
6565
* @memberof GraphicField
6666
*/

src/models/image-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
export interface ImageData {
2323
/**
24-
* base64 encoded image
24+
* Base64 encoded image
2525
* @type {string}
2626
* @memberof ImageData
2727
*/
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Regula Document Reader Web API
5+
* Regula Document Reader Web API
6+
*
7+
* The version of the OpenAPI document: 5.1.0
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
import { Source } from './source';
17+
18+
/**
19+
*
20+
* @export
21+
* @interface ImagesAvailableSource
22+
*/
23+
export interface ImagesAvailableSource {
24+
/**
25+
* Same as Result type, but used for safe parsing of not-described values. See Result type.
26+
* @type {number}
27+
* @memberof ImagesAvailableSource
28+
*/
29+
containerType?: number;
30+
/**
31+
*
32+
* @type {Source}
33+
* @memberof ImagesAvailableSource
34+
*/
35+
source: Source;
36+
}
37+
38+

src/models/images-field-value.ts

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Regula Document Reader Web API
5+
* Regula Document Reader Web API
6+
*
7+
* The version of the OpenAPI document: 5.1.0
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
import { Light } from './light';
17+
import { RectangleCoordinates } from './rectangle-coordinates';
18+
import { RfidOrigin } from './rfid-origin';
19+
import { Source } from './source';
20+
21+
/**
22+
*
23+
* @export
24+
* @interface ImagesFieldValue
25+
*/
26+
export interface ImagesFieldValue {
27+
/**
28+
*
29+
* @type {Source}
30+
* @memberof ImagesFieldValue
31+
*/
32+
source: Source;
33+
/**
34+
* Base64 encoded image
35+
* @type {string}
36+
* @memberof ImagesFieldValue
37+
*/
38+
value: string;
39+
/**
40+
* Base64 encoded image
41+
* @type {string}
42+
* @memberof ImagesFieldValue
43+
*/
44+
originalValue?: string;
45+
/**
46+
* Page index of the image from input list
47+
* @type {number}
48+
* @memberof ImagesFieldValue
49+
*/
50+
pageIndex: number;
51+
/**
52+
*
53+
* @type {Light}
54+
* @memberof ImagesFieldValue
55+
*/
56+
lightIndex: Light;
57+
/**
58+
* Same as Result type, but used for safe parsing of not-described values. See Result type.
59+
* @type {number}
60+
* @memberof ImagesFieldValue
61+
*/
62+
containerType: number;
63+
/**
64+
*
65+
* @type {RectangleCoordinates}
66+
* @memberof ImagesFieldValue
67+
*/
68+
fieldRect?: RectangleCoordinates;
69+
/**
70+
*
71+
* @type {RfidOrigin}
72+
* @memberof ImagesFieldValue
73+
*/
74+
rfidOrigin?: RfidOrigin;
75+
}
76+
77+

src/models/images-field.ts

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Regula Document Reader Web API
5+
* Regula Document Reader Web API
6+
*
7+
* The version of the OpenAPI document: 5.1.0
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
import { GraphicFieldType } from './graphic-field-type';
17+
import { ImagesFieldValue } from './images-field-value';
18+
19+
/**
20+
*
21+
* @export
22+
* @interface ImagesField
23+
*/
24+
export interface ImagesField {
25+
/**
26+
* Human readable field name. Do not bind to this name - use GraphicFieldType instead.
27+
* @type {string}
28+
* @memberof ImagesField
29+
*/
30+
fieldName: string;
31+
/**
32+
*
33+
* @type {GraphicFieldType}
34+
* @memberof ImagesField
35+
*/
36+
fieldType: GraphicFieldType;
37+
/**
38+
*
39+
* @type {Array<ImagesFieldValue>}
40+
* @memberof ImagesField
41+
*/
42+
valueList: Array<ImagesFieldValue>;
43+
}
44+
45+

src/models/images-result-all-of.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Regula Document Reader Web API
5+
* Regula Document Reader Web API
6+
*
7+
* The version of the OpenAPI document: 5.1.0
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
import { Images } from './images';
17+
18+
/**
19+
*
20+
* @export
21+
* @interface ImagesResultAllOf
22+
*/
23+
export interface ImagesResultAllOf {
24+
/**
25+
*
26+
* @type {Images}
27+
* @memberof ImagesResultAllOf
28+
*/
29+
Images: Images;
30+
}
31+
32+

src/models/images-result.ts

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Regula Document Reader Web API
5+
* Regula Document Reader Web API
6+
*
7+
* The version of the OpenAPI document: 5.1.0
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
import { ChosenDocumentTypeResult } from './chosen-document-type-result';
17+
import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
18+
import { GraphicsResult } from './graphics-result';
19+
import { Images } from './images';
20+
import { ImagesResultAllOf } from './images-result-all-of';
21+
import { LexicalAnalysisResult } from './lexical-analysis-result';
22+
import { RawImageResult } from './raw-image-result';
23+
import { ResultItem } from './result-item';
24+
import { StatusResult } from './status-result';
25+
import { TextDataResult } from './text-data-result';
26+
import { TextResult } from './text-result';
27+
28+
/**
29+
* @type ImagesResult
30+
* @export
31+
*/
32+
export type ImagesResult = ImagesResultAllOf & ResultItem;
33+
34+
35+

0 commit comments

Comments
 (0)