Skip to content

Commit 762889e

Browse files
SP-18211 - update models
1 parent 60a55af commit 762889e

File tree

4 files changed

+56
-185
lines changed

4 files changed

+56
-185
lines changed

client/src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public ChosenDocumentType rotated180(@javax.annotation.Nonnull Integer rotated18
171171
}
172172

173173
/**
174-
* true if the document of the given type is rotated by 180 degrees
174+
* Indicates if the document of the given type is rotated by 180 degrees
175175
*
176176
* @return rotated180
177177
*/

client/src/main/generated/com/regula/documentreader/webclient/model/Light.java

Lines changed: 15 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -23,157 +23,28 @@
2323
@JsonAdapter(Light.Adapter.class)
2424
public enum Light {
2525

26-
/** Lighting schemes are off */
27-
OFF(0l),
26+
/** No Light */
27+
OFF(0),
2828

29-
/** OVI scheme */
30-
OVI(1l),
29+
/** White */
30+
WHITE(6),
3131

32-
/** Upper/lower lighters of white light scheme */
33-
WHITE_TOP(2l),
32+
/** Infrared */
33+
IR(24),
3434

35-
/** Side lighters of white light scheme */
36-
WHITE_SIDE(4l),
37-
38-
/** General white light without separate control of side and upper/lower lighters scheme */
39-
WHITE_FRONT(8388608l),
40-
41-
/** Upper/lower and side lighters of white light scheme */
42-
WHITE(6l),
43-
44-
/** Upper/lower lighters of IR light scheme */
45-
IR_TOP(8l),
46-
47-
/** Side lighters of IR light scheme */
48-
IR_SIDE(16l),
49-
50-
/** General IR light without separate control of side and upper/lower lighters scheme */
51-
IR_FRONT(16777216l),
52-
53-
/** Upper/lower and side lighters of IR light scheme */
54-
IR(24l),
55-
56-
/** general white image converted to grayscale */
57-
WHITE_GRAY(33554432l),
58-
59-
/** General UV light scheme */
60-
UV(128l),
61-
62-
/** OVD light for hologram visualization */
63-
OVD(67108864l),
64-
65-
/** Video detection light for internal use only */
66-
VIDEODETECTION(134217728l),
67-
68-
/** Light IR 870 oblique */
69-
IR_870_OBL(268435456l),
70-
71-
/** IR luminescence */
72-
IR_LUMINESCENCE(256l),
73-
74-
/** Left lighter of white coaxial light scheme */
75-
AXIAL_WHITE_LEFT(1024l),
76-
77-
/** Right lighter of white coaxial light scheme */
78-
AXIAL_WHITE_RIGHT(2048l),
79-
80-
/** Coaxial white light without separate control of left and right lighters scheme */
81-
AXIAL_WHITE_FRONT(512l),
82-
83-
/** IR720 */
84-
IR_720(4096l),
85-
86-
/** IR940 */
87-
IR_940(8192l),
35+
/** Ultraviolet */
36+
UV(128),
8837

8938
/** Right and left lighters of white coaxial light scheme */
90-
AXIAL_WHITE_FULL(3072l),
91-
92-
/** For internal use */
93-
RAW_DATA(2147483648l),
94-
95-
/** For internal use */
96-
RAW_DATA_GRBG(2415919104l),
97-
98-
/** For internal use */
99-
RAW_DATA_GBGR(2684354560l),
100-
101-
/** For internal use */
102-
RAW_DATA_RGGB(2952790016l),
103-
104-
/** For internal use */
105-
RAW_DATA_BGGR(3221225472l),
106-
107-
/** Transmitted */
108-
TRANSMITTED(32l),
109-
110-
/** Transmitted IR */
111-
TRANSMITTED_IR(64l),
112-
113-
/** Transmitted AntiStokes */
114-
ANTI_STOKES(65536l),
115-
116-
/** Transmitted IR940 */
117-
TRANSMITTED_IR940(16384l),
118-
119-
/** OVD right */
120-
OVD_RIGHT(262144l),
121-
122-
/** OVD left */
123-
OVD_LEFT(131072l),
124-
125-
/** IR 700 */
126-
IR_700(32768l),
127-
128-
/** Front IR870 (mod. 8803) */
129-
IR_870(16777216l),
130-
131-
/** OVD light (hologram visualization) (mod. 8850) */
132-
HOLO(67108864l),
133-
134-
/** For internal use */
135-
IR_BOTTOM(64l),
136-
137-
/** For internal use */
138-
WHITE_BOTTOM(32l),
139-
140-
/** UVС 254 (mod. 88X0) */
141-
UVC(524288l),
142-
143-
/** UVB 313 (mod. 88X0) */
144-
UVB(1048576l),
145-
146-
/** White oblique light */
147-
WHITE_OBL(2097152l),
148-
149-
/** For internal use */
150-
WHITE_SPECIAL(4194304l),
151-
152-
/** White UV */
153-
WHITE_UV(134l),
154-
155-
/** White full hologram */
156-
WHITE_FULL_HOLO(67108870l),
157-
158-
/** HR light */
159-
HR_LIGHT(1073741824l),
160-
161-
/** HR white */
162-
HR_WHITE(1073741830l),
163-
164-
/** HR UV */
165-
HR_UV(1073741952l),
166-
167-
/** HR IR */
168-
HR_IR(1073741848l);
39+
AXIAL_WHITE_FULL(3072);
16940

170-
private Long value;
41+
private Integer value;
17142

172-
Light(Long value) {
43+
Light(Integer value) {
17344
this.value = value;
17445
}
17546

176-
public Long getValue() {
47+
public Integer getValue() {
17748
return value;
17849
}
17950

@@ -182,7 +53,7 @@ public String toString() {
18253
return String.valueOf(value);
18354
}
18455

185-
public static Light fromValue(Long value) {
56+
public static Light fromValue(Integer value) {
18657
for (Light b : Light.values()) {
18758
if (b.value.equals(value)) {
18859
return b;
@@ -199,13 +70,13 @@ public void write(final JsonWriter jsonWriter, final Light enumeration) throws I
19970

20071
@Override
20172
public Light read(final JsonReader jsonReader) throws IOException {
202-
Long value = jsonReader.nextLong();
73+
Integer value = jsonReader.nextInt();
20374
return Light.fromValue(value);
20475
}
20576
}
20677

20778
public static void validateJsonElement(JsonElement jsonElement) throws IOException {
208-
Long value = jsonElement.getAsLong();
79+
Integer value = jsonElement.getAsInt();
20980
Light.fromValue(value);
21081
}
21182
}

client/src/main/generated/com/regula/documentreader/webclient/model/OneCandidate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public OneCandidate rotated180(@javax.annotation.Nonnull Integer rotated180) {
171171
}
172172

173173
/**
174-
* true if the document of the given type is rotated by 180 degrees
174+
* Indicates if the document of the given type is rotated by 180 degrees
175175
*
176176
* @return rotated180
177177
*/

client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataGroupTypeTag.java

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
@JsonAdapter(RfidDataGroupTypeTag.Adapter.class)
2828
public enum RfidDataGroupTypeTag {
2929

30-
/** Common Data Group Type */
30+
/** Common Data Element */
3131
COM(96),
3232

3333
/** Data Group 1 */
@@ -78,118 +78,118 @@ public enum RfidDataGroupTypeTag {
7878
/** Data Group 16 */
7979
DG16(112),
8080

81-
/** Start of Data */
81+
/** Security Object Document */
8282
SOD(119),
8383

84-
/** Extended Interoperable Data, Data Group 1 */
84+
/** eID, Data Group 1 */
8585
EID_DG1(97),
8686

87-
/** Extended Interoperable Data, Data Group 2 */
87+
/** eID, Data Group 2 */
8888
EID_DG2(98),
8989

90-
/** Extended Interoperable Data, Data Group 3 */
90+
/** eID, Data Group 3 */
9191
EID_DG3(99),
9292

93-
/** Extended Interoperable Data, Data Group 4 */
93+
/** eID, Data Group 4 */
9494
EID_DG4(100),
9595

96-
/** Extended Interoperable Data, Data Group 5 */
96+
/** eID, Data Group 5 */
9797
EID_DG5(101),
9898

99-
/** Extended Interoperable Data, Data Group 6 */
99+
/** eID, Data Group 6 */
100100
EID_DG6(102),
101101

102-
/** Extended Interoperable Data, Data Group 7 */
102+
/** eID, Data Group 7 */
103103
EID_DG7(103),
104104

105-
/** Extended Interoperable Data, Data Group 8 */
105+
/** eID, Data Group 8 */
106106
EID_DG8(104),
107107

108-
/** Extended Interoperable Data, Data Group 9 */
108+
/** eID, Data Group 9 */
109109
EID_DG9(105),
110110

111-
/** Extended Interoperable Data, Data Group 10 */
111+
/** eID, Data Group 10 */
112112
EID_DG10(106),
113113

114-
/** Extended Interoperable Data, Data Group 11 */
114+
/** eID, Data Group 11 */
115115
EID_DG11(107),
116116

117-
/** Extended Interoperable Data, Data Group 12 */
117+
/** eID, Data Group 12 */
118118
EID_DG12(108),
119119

120-
/** Extended Interoperable Data, Data Group 13 */
120+
/** eID, Data Group 13 */
121121
EID_DG13(109),
122122

123-
/** Extended Interoperable Data, Data Group 14 */
123+
/** eID, Data Group 14 */
124124
EID_DG14(110),
125125

126-
/** Extended Interoperable Data, Data Group 15 */
126+
/** eID, Data Group 15 */
127127
EID_DG15(111),
128128

129-
/** Extended Interoperable Data, Data Group 16 */
129+
/** eID, Data Group 16 */
130130
EID_DG16(112),
131131

132-
/** Extended Interoperable Data, Data Group 17 */
132+
/** eID, Data Group 17 */
133133
EID_DG17(113),
134134

135-
/** Extended Interoperable Data, Data Group 18 */
135+
/** eID, Data Group 18 */
136136
EID_DG18(114),
137137

138-
/** Extended Interoperable Data, Data Group 19 */
138+
/** eID, Data Group 19 */
139139
EID_DG19(115),
140140

141-
/** Extended Interoperable Data, Data Group 20 */
141+
/** eID, Data Group 20 */
142142
EID_DG20(116),
143143

144-
/** Extended Interoperable Data, Data Group 21 */
144+
/** eID, Data Group 21 */
145145
EID_DG21(117),
146146

147-
/** Extended Length Data, Common Data Group Type */
147+
/** eDL, Common Data Element */
148148
EDL_COM(96),
149149

150-
/** Extended Length Data, Start of Data */
150+
/** eDL, Security Object Document */
151151
EDL_SOD(119),
152152

153-
/** Extended Length Data, Certificate Holder Authorization */
153+
/** eDL, Card Entitlement */
154154
EDL_CE(119),
155155

156-
/** Extended Length Data, Data Group 1 */
156+
/** eDL, Data Group 1 */
157157
EDL_DG1(97),
158158

159-
/** Extended Length Data, Data Group 2 */
159+
/** eDL, Data Group 2 */
160160
EDL_DG2(107),
161161

162-
/** Extended Length Data, Data Group 3 */
162+
/** eDL, Data Group 3 */
163163
EDL_DG3(108),
164164

165-
/** Extended Length Data, Data Group 4 */
165+
/** eDL, Data Group 4 */
166166
EDL_DG4(101),
167167

168-
/** Extended Length Data, Data Group 5 */
168+
/** eDL, Data Group 5 */
169169
EDL_DG5(103),
170170

171-
/** Extended Length Data, Data Group 6 */
171+
/** eDL, Data Group 6 */
172172
EDL_DG6(117),
173173

174-
/** Extended Length Data, Data Group 7 */
174+
/** eDL, Data Group 7 */
175175
EDL_DG7(99),
176176

177-
/** Extended Length Data, Data Group 8 */
177+
/** eDL, Data Group 8 */
178178
EDL_DG8(118),
179179

180-
/** Extended Length Data, Data Group 9 */
180+
/** eDL, Data Group 9 */
181181
EDL_DG9(112),
182182

183-
/** Extended Length Data, Data Group 11 */
183+
/** eDL, Data Group 11 */
184184
EDL_DG11(109),
185185

186-
/** Extended Length Data, Data Group 12 */
186+
/** eDL, Data Group 12 */
187187
EDL_DG12(113),
188188

189-
/** Extended Length Data, Data Group 13 */
189+
/** eDL, Data Group 13 */
190190
EDL_DG13(111),
191191

192-
/** Extended Length Data, Data Group 14 */
192+
/** eDL, Data Group 14 */
193193
EDL_DG14(110);
194194

195195
private Integer value;

0 commit comments

Comments
 (0)