@sanctum-key/react-native-sdk 1.0.56 → 1.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/build/package.json +6 -1
  2. package/build/src/components/KYCElements/IDCardCapture.js +3 -3
  3. package/build/src/components/KYCElements/IDCardCapture.js.map +1 -1
  4. package/build/src/config/countriesData.d.ts.map +1 -1
  5. package/build/src/config/countriesData.js +249 -77
  6. package/build/src/config/countriesData.js.map +1 -1
  7. package/build/src/config/region_mapping.d.ts.map +1 -1
  8. package/build/src/config/region_mapping.js +45 -15
  9. package/build/src/config/region_mapping.js.map +1 -1
  10. package/build/src/utils/cameraPermissions.d.ts +7 -0
  11. package/build/src/utils/cameraPermissions.d.ts.map +1 -0
  12. package/build/src/utils/cameraPermissions.js +8 -0
  13. package/build/src/utils/cameraPermissions.js.map +1 -0
  14. package/build/src/utils/cameraPermissions.web.d.ts +7 -0
  15. package/build/src/utils/cameraPermissions.web.d.ts.map +1 -0
  16. package/build/src/utils/cameraPermissions.web.js +7 -0
  17. package/build/src/utils/cameraPermissions.web.js.map +1 -0
  18. package/build/src/utils/logger.d.ts +1 -0
  19. package/build/src/utils/logger.d.ts.map +1 -1
  20. package/build/src/utils/logger.js +37 -73
  21. package/build/src/utils/logger.js.map +1 -1
  22. package/build/src/web/WebKYCEntry.d.ts.map +1 -1
  23. package/build/src/web/WebKYCEntry.js +0 -2
  24. package/build/src/web/WebKYCEntry.js.map +1 -1
  25. package/package.json +6 -1
  26. package/src/components/KYCElements/IDCardCapture.tsx +3 -3
  27. package/src/config/countriesData.ts +250 -78
  28. package/src/config/region_mapping.ts +700 -670
  29. package/src/utils/cameraPermissions.ts +9 -0
  30. package/src/utils/cameraPermissions.web.ts +7 -0
  31. package/src/utils/logger.ts +42 -93
  32. package/src/web/WebKYCEntry.tsx +0 -2
@@ -3,728 +3,758 @@ import { ICountryMapping } from "../types/KYC.types";
3
3
  export const countryMapping: Record<string, Record<string, Record<string, ICountryMapping[]>>> =
4
4
  {
5
5
  "BE": {
6
- "passport": {
7
- "root": [
8
- {
9
- "py_file": "belgium_01.py",
10
- "front": "MRZ",
11
- "mrz_type": "TD3"
12
- }
13
- ]
14
- }
6
+ "passport": {
7
+ "root": [
8
+ {
9
+ "py_file": "belgium_01.py",
10
+ "front": "MRZ",
11
+ "mrz_type": "TD3"
12
+ }
13
+ ]
14
+ }
15
15
  },
16
16
  "BJ": {
17
- "passport": {
18
- "root": [
19
- {
20
- "py_file": "benin_01.py",
21
- "front": "MRZ",
22
- "mrz_type": "TD3"
23
- },
24
- {
25
- "py_file": "benin_02.py",
26
- "front": "MRZ",
27
- "mrz_type": "TD3"
28
- }
29
- ]
30
- }
17
+ "passport": {
18
+ "root": [
19
+ {
20
+ "py_file": "benin_01.py",
21
+ "front": "MRZ",
22
+ "mrz_type": "TD3"
23
+ },
24
+ {
25
+ "py_file": "benin_02.py",
26
+ "front": "MRZ",
27
+ "mrz_type": "TD3"
28
+ }
29
+ ]
30
+ }
31
31
  },
32
32
  "BR": {
33
- "passport": {
34
- "root": [
35
- {
36
- "py_file": "brazil_01.py",
37
- "front": "MRZ",
38
- "mrz_type": "TD3"
39
- },
40
- {
41
- "py_file": "brazil_02.py",
42
- "front": "MRZ",
43
- "mrz_type": "TD3"
44
- }
45
- ]
46
- }
33
+ "passport": {
34
+ "root": [
35
+ {
36
+ "py_file": "brazil_01.py",
37
+ "front": "MRZ",
38
+ "mrz_type": "TD3"
39
+ },
40
+ {
41
+ "py_file": "brazil_02.py",
42
+ "front": "MRZ",
43
+ "mrz_type": "TD3"
44
+ }
45
+ ]
46
+ }
47
47
  },
48
48
  "GB": {
49
- "passport": {
50
- "root": [
51
- {
52
- "py_file": "britain_01.py",
53
- "front": "MRZ",
54
- "mrz_type": "TD3"
55
- },
56
- {
57
- "py_file": "britain_02.py",
58
- "front": "MRZ",
59
- "mrz_type": "TD3"
60
- }
61
- ]
62
- }
49
+ "passport": {
50
+ "root": [
51
+ {
52
+ "py_file": "britain_01.py",
53
+ "front": "MRZ",
54
+ "mrz_type": "TD3"
55
+ },
56
+ {
57
+ "py_file": "britain_02.py",
58
+ "front": "MRZ",
59
+ "mrz_type": "TD3"
60
+ }
61
+ ]
62
+ }
63
63
  },
64
64
  "BF": {
65
- "passport": {
66
- "root": [
67
- {
68
- "py_file": "burkina_faso_01.py",
69
- "front": "MRZ",
70
- "mrz_type": "TD3"
71
- }
72
- ]
73
- }
65
+ "passport": {
66
+ "root": [
67
+ {
68
+ "py_file": "burkina_faso_01.py",
69
+ "front": "MRZ",
70
+ "mrz_type": "TD3"
71
+ }
72
+ ]
73
+ }
74
74
  },
75
75
  "CM": {
76
- "identity_card": {
77
- "root": [
78
- {
79
- "py_file": "cameroon_id_back_1_1_new.py",
80
- "back": "MRZ",
81
- "mrz_type": "TD1"
82
- },
83
- {
84
- "py_file": "cameroon_id_back_2_1.py",
85
- "keys_found": null
86
- },
87
- {
88
- "py_file": "cameroon_id_back_2_2.py",
89
- "keys_found": null
90
- },
91
- {
92
- "py_file": "cameroon_id_back_3_1.py",
93
- "back": "MRZ",
94
- "mrz_type": "TD2"
95
- },
96
- {
97
- "py_file": "cameroon_id_back_3_2.py",
98
- "back": "MRZ",
99
- "mrz_type": "TD1"
100
- },
101
- {
102
- "py_file": "cameroon_id_front_1_1_new.py",
103
- "keys_found": null
104
- },
105
- {
106
- "py_file": "cameroon_id_front_2_2.py",
107
- "keys_found": null
108
- },
109
- {
110
- "py_file": "cameroon_id_front_3_1.py",
111
- "keys_found": null
112
- },
113
- {
114
- "py_file": "cameroon_id_front_3_2.py",
115
- "keys_found": null
116
- }
117
- ]
118
- },
119
- "passport": {
120
- "root": [
121
- {
122
- "py_file": "cameroon_01.py",
123
- "front": "MRZ",
124
- "mrz_type": "TD3"
125
- },
126
- {
127
- "py_file": "cameroon_02.py",
128
- "front": "MRZ",
129
- "mrz_type": "TD3"
130
- }
131
- ]
132
- }
76
+ "identity_card": {
77
+ "root": [
78
+ {
79
+ "py_file": "cameroon_id_back_1_1_new.py",
80
+ "back": "MRZ",
81
+ "mrz_type": "TD1"
82
+ },
83
+ {
84
+ "py_file": "cameroon_id_back_2_1.py",
85
+ "keys_found": null
86
+ },
87
+ {
88
+ "py_file": "cameroon_id_back_2_2.py",
89
+ "keys_found": null
90
+ },
91
+ {
92
+ "py_file": "cameroon_id_back_3_1.py",
93
+ "back": "MRZ",
94
+ "mrz_type": "TD2"
95
+ },
96
+ {
97
+ "py_file": "cameroon_id_back_3_2.py",
98
+ "back": "MRZ",
99
+ "mrz_type": "TD1"
100
+ },
101
+ {
102
+ "py_file": "cameroon_id_front_1_1_new.py",
103
+ "keys_found": null
104
+ },
105
+ {
106
+ "py_file": "cameroon_id_front_2_2.py",
107
+ "keys_found": null
108
+ },
109
+ {
110
+ "py_file": "cameroon_id_front_3_1.py",
111
+ "keys_found": null
112
+ },
113
+ {
114
+ "py_file": "cameroon_id_front_3_2.py",
115
+ "keys_found": null
116
+ }
117
+ ]
118
+ },
119
+ "passport": {
120
+ "root": [
121
+ {
122
+ "py_file": "cameroon_01.py",
123
+ "front": "MRZ",
124
+ "mrz_type": "TD3"
125
+ },
126
+ {
127
+ "py_file": "cameroon_02.py",
128
+ "front": "MRZ",
129
+ "mrz_type": "TD3"
130
+ }
131
+ ]
132
+ }
133
133
  },
134
134
  "CA": {
135
- "drivers_licence": {
136
- "Alberta": [
137
- {
138
- "py_file": "alberta_back.py",
139
- "back": "2D_barcode"
140
- },
141
- {
142
- "py_file": "alberta_front.py",
143
- "front": "2D_barcode"
144
- }
145
- ],
146
- "British Columbia": [
147
- {
148
- "py_file": "british_columbia_back.py",
149
- "back": "2D_barcode"
150
- },
151
- {
152
- "py_file": "british_columbia_front.py",
153
- "keys_found": null
154
- },
155
- {
156
- "py_file": "british_columbia_front_01.py",
157
- "keys_found": null
158
- }
159
- ],
160
- "Manitoba": [
161
- {
162
- "py_file": "manitoba_back.py",
163
- "back": "2D_barcode"
164
- },
165
- {
166
- "py_file": "manitoba_front.py",
167
- "keys_found": null
168
- }
169
- ],
170
- "New Brunswick": [
171
- {
172
- "py_file": "new_brunswick_back.py",
173
- "back": "2D_barcode"
174
- },
175
- {
176
- "py_file": "new_brunswick_front.py",
177
- "keys_found": null
178
- }
179
- ],
180
- "Newfoundland and Labrador": [
181
- {
182
- "py_file": "newfoundland_back.py",
183
- "back": "2D_barcode"
184
- },
185
- {
186
- "py_file": "newfoundland_front.py",
187
- "keys_found": null
188
- }
189
- ],
190
- "Northwest Territories": [
191
- {
192
- "py_file": "northwest_back.py",
193
- "back": "2D_barcode"
194
- },
195
- {
196
- "py_file": "northwest_front.py",
197
- "keys_found": null
198
- }
199
- ],
200
- "Nova Scotia": [
201
- {
202
- "py_file": "nova_scotia_back.py",
203
- "back": "2D_barcode"
204
- },
205
- {
206
- "py_file": "nova_scotia_front.py",
207
- "keys_found": null
208
- }
209
- ],
210
- "Nunavut": [
211
- {
212
- "py_file": "nunavut_back.py",
213
- "back": "2D_barcode"
214
- },
215
- {
216
- "py_file": "nunavut_front.py",
217
- "keys_found": null
218
- }
219
- ],
220
- "Ontario": [
221
- {
222
- "py_file": "ontario_back.py",
223
- "back": "2D_barcode"
224
- },
225
- {
226
- "py_file": "ontario_front.py",
227
- "keys_found": null
228
- }
229
- ],
230
- "Prince Edward Island": [
231
- {
232
- "py_file": "pe_back.py",
233
- "back": "2D_barcode"
234
- },
235
- {
236
- "py_file": "pe_front.py",
237
- "keys_found": null
238
- }
239
- ],
240
- "Quebec": [
241
- {
242
- "py_file": "quebec_back.py",
243
- "back": "2D_barcode"
244
- },
245
- {
246
- "py_file": "quebec_front.py",
247
- "keys_found": null
248
- }
249
- ],
250
- "Saskatchewan": [
251
- {
252
- "py_file": "saskatchewan_back.py",
253
- "back": "2D_barcode"
254
- },
255
- {
256
- "py_file": "saskatchewan_front.py",
257
- "keys_found": null
258
- }
259
- ],
260
- "Yukon": [
261
- {
262
- "py_file": "yukon_back.py",
263
- "back": "2D_barcode"
264
- },
265
- {
266
- "py_file": "yukon_front.py",
267
- "keys_found": null
268
- }
269
- ]
270
- },
271
- "health_insurance_card": {
272
- "Ontario": [
273
- {
274
- "py_file": "ontario_back.py",
275
- "back": "2D_barcode"
276
- },
277
- {
278
- "py_file": "ontario_front.py",
279
- "keys_found": null
280
- }
281
- ],
282
- // "Quebec": [
283
- // {
284
- // "py_file": "quebec_01_back.py",
285
- // "back": "2D_barcode"
286
- // },
287
- // {
288
- // "py_file": "quebec_01_front.py",
289
- // "keys_found": null
290
- // },
291
- // {
292
- // "py_file": "quebec_02_front.py",
293
- // "front": "2D_barcode"
294
- // }
295
- // ]
296
- },
297
- "identity_card": {
298
- "Alberta": [
299
- {
300
- "py_file": "alberta_id_back.py",
301
- "back": "2D_barcode"
302
- },
303
- {
304
- "py_file": "alberta_id_front.py",
305
- "front": "2D_barcode"
306
- }
307
- ],
308
- "British Columbia": [
309
- {
310
- "py_file": "british_columbia_id_back.py",
311
- "back": "2D_barcode"
312
- },
313
- {
314
- "py_file": "british_columbia_id_front.py",
315
- "keys_found": null
316
- }
317
- ],
318
- "New Brunswick": [
319
- {
320
- "py_file": "new_brunswick_id_back.py",
321
- "back": "2D_barcode"
322
- },
323
- {
324
- "py_file": "new_brunswick_id_front.py",
325
- "keys_found": null
326
- }
327
- ],
328
- "Nova Scotia": [
329
- {
330
- "py_file": "nova_scotia_id_back.py",
331
- "back": "2D_barcode"
332
- },
333
- {
334
- "py_file": "nova_scotia_id_front.py",
335
- "keys_found": null
336
- }
337
- ],
338
- "Ontario": [
339
- {
340
- "py_file": "ontario_id_back.py",
341
- "back": "2D_barcode"
342
- },
343
- {
344
- "py_file": "ontario_id_front.py",
345
- "keys_found": null
346
- }
347
- ],
348
- "Saskatchewan": [
349
- {
350
- "py_file": "saskatchewan_id_back.py",
351
- "back": "2D_barcode"
352
- },
353
- {
354
- "py_file": "saskatchewan_id_front.py",
355
- "keys_found": null
356
- }
357
- ]
358
- },
359
- "passport": {
360
- "root": [
361
- {
362
- "py_file": "canada_01.py",
363
- "front": "MRZ",
364
- "mrz_type": "TD3"
365
- },
366
- {
367
- "py_file": "canada_02.py",
368
- "front": "MRZ",
369
- "mrz_type": "TD3"
370
- }
371
- ]
372
- },
373
- "permanent_residence": {
374
- "root": [
375
- {
376
- "py_file": "pr_01_back.py",
377
- "back": "MRZ",
378
- "mrz_type": "TD1"
379
- },
380
- {
381
- "py_file": "pr_01_front.py",
382
- "keys_found": null
383
- },
384
- {
385
- "py_file": "pr_02_back.py",
386
- "back": "MRZ",
387
- "mrz_type": "TD1"
388
- },
389
- {
390
- "py_file": "pr_02_front.py",
391
- "keys_found": null
392
- },
393
- {
394
- "py_file": "pr_03_back.py",
395
- "back": "MRZ",
396
- "mrz_type": "TD1"
397
- },
398
- {
399
- "py_file": "pr_03_front.py",
400
- "keys_found": null
401
- }
402
- ]
403
- }
135
+ "drivers_licence": {
136
+ "Alberta": [
137
+ {
138
+ "py_file": "alberta_back.py",
139
+ "back": "2D_barcode"
140
+ },
141
+ {
142
+ "py_file": "alberta_front.py",
143
+ "front": "2D_barcode"
144
+ }
145
+ ],
146
+ "British Columbia": [
147
+ {
148
+ "py_file": "british_columbia_back.py",
149
+ "back": "2D_barcode"
150
+ },
151
+ {
152
+ "py_file": "british_columbia_front.py",
153
+ "keys_found": null
154
+ },
155
+ {
156
+ "py_file": "british_columbia_front_01.py",
157
+ "keys_found": null
158
+ }
159
+ ],
160
+ "Manitoba": [
161
+ {
162
+ "py_file": "manitoba_back.py",
163
+ "back": "2D_barcode"
164
+ },
165
+ {
166
+ "py_file": "manitoba_front.py",
167
+ "keys_found": null
168
+ }
169
+ ],
170
+ "New Brunswick": [
171
+ {
172
+ "py_file": "new_brunswick_back.py",
173
+ "back": "2D_barcode"
174
+ },
175
+ {
176
+ "py_file": "new_brunswick_front.py",
177
+ "keys_found": null
178
+ }
179
+ ],
180
+ "Newfoundland and Labrador": [
181
+ {
182
+ "py_file": "newfoundland_back.py",
183
+ "back": "2D_barcode"
184
+ },
185
+ {
186
+ "py_file": "newfoundland_front.py",
187
+ "keys_found": null
188
+ }
189
+ ],
190
+ "Northwest Territories": [
191
+ {
192
+ "py_file": "northwest_back.py",
193
+ "back": "2D_barcode"
194
+ },
195
+ {
196
+ "py_file": "northwest_front.py",
197
+ "keys_found": null
198
+ }
199
+ ],
200
+ "Nova Scotia": [
201
+ {
202
+ "py_file": "nova_scotia_back.py",
203
+ "back": "2D_barcode"
204
+ },
205
+ {
206
+ "py_file": "nova_scotia_front.py",
207
+ "keys_found": null
208
+ }
209
+ ],
210
+ "Nunavut": [
211
+ {
212
+ "py_file": "nunavut_back.py",
213
+ "back": "2D_barcode"
214
+ },
215
+ {
216
+ "py_file": "nunavut_front.py",
217
+ "keys_found": null
218
+ }
219
+ ],
220
+ "Ontario": [
221
+ {
222
+ "py_file": "ontario_back.py",
223
+ "back": "2D_barcode"
224
+ },
225
+ {
226
+ "py_file": "ontario_front.py",
227
+ "keys_found": null
228
+ }
229
+ ],
230
+ "Prince Edward Island": [
231
+ {
232
+ "py_file": "pe_back.py",
233
+ "back": "2D_barcode"
234
+ },
235
+ {
236
+ "py_file": "pe_front.py",
237
+ "keys_found": null
238
+ }
239
+ ],
240
+ "Quebec": [
241
+ {
242
+ "py_file": "quebec_back.py",
243
+ "back": "2D_barcode"
244
+ },
245
+ {
246
+ "py_file": "quebec_front.py",
247
+ "keys_found": null
248
+ }
249
+ ],
250
+ "Saskatchewan": [
251
+ {
252
+ "py_file": "saskatchewan_back.py",
253
+ "back": "2D_barcode"
254
+ },
255
+ {
256
+ "py_file": "saskatchewan_front.py",
257
+ "keys_found": null
258
+ }
259
+ ],
260
+ "Yukon": [
261
+ {
262
+ "py_file": "yukon_back.py",
263
+ "back": "2D_barcode"
264
+ },
265
+ {
266
+ "py_file": "yukon_front.py",
267
+ "keys_found": null
268
+ }
269
+ ]
270
+ },
271
+ "health_insurance_card": {
272
+ "Ontario": [
273
+ {
274
+ "py_file": "ontario_back.py",
275
+ "back": "2D_barcode"
276
+ },
277
+ {
278
+ "py_file": "ontario_front.py",
279
+ "keys_found": null
280
+ }
281
+ ]
282
+ },
283
+ "identity_card": {
284
+ "Alberta": [
285
+ {
286
+ "py_file": "alberta_id_back.py",
287
+ "back": "2D_barcode"
288
+ },
289
+ {
290
+ "py_file": "alberta_id_front.py",
291
+ "front": "2D_barcode"
292
+ }
293
+ ],
294
+ "British Columbia": [
295
+ {
296
+ "py_file": "british_columbia_id_back.py",
297
+ "back": "2D_barcode"
298
+ },
299
+ {
300
+ "py_file": "british_columbia_id_front.py",
301
+ "keys_found": null
302
+ }
303
+ ],
304
+ "New Brunswick": [
305
+ {
306
+ "py_file": "new_brunswick_id_back.py",
307
+ "back": "2D_barcode"
308
+ },
309
+ {
310
+ "py_file": "new_brunswick_id_front.py",
311
+ "keys_found": null
312
+ }
313
+ ],
314
+ "Nova Scotia": [
315
+ {
316
+ "py_file": "nova_scotia_id_back.py",
317
+ "back": "2D_barcode"
318
+ },
319
+ {
320
+ "py_file": "nova_scotia_id_front.py",
321
+ "keys_found": null
322
+ }
323
+ ],
324
+ "Ontario": [
325
+ {
326
+ "py_file": "ontario_id_back.py",
327
+ "back": "2D_barcode"
328
+ },
329
+ {
330
+ "py_file": "ontario_id_front.py",
331
+ "keys_found": null
332
+ }
333
+ ],
334
+ "Saskatchewan": [
335
+ {
336
+ "py_file": "saskatchewan_id_back.py",
337
+ "back": "2D_barcode"
338
+ },
339
+ {
340
+ "py_file": "saskatchewan_id_front.py",
341
+ "keys_found": null
342
+ }
343
+ ]
344
+ },
345
+ "passport": {
346
+ "root": [
347
+ {
348
+ "py_file": "canada_01.py",
349
+ "front": "MRZ",
350
+ "mrz_type": "TD3"
351
+ },
352
+ {
353
+ "py_file": "canada_02.py",
354
+ "front": "MRZ",
355
+ "mrz_type": "TD3"
356
+ }
357
+ ]
358
+ },
359
+ "permanent_residence": {
360
+ "root": [
361
+ {
362
+ "py_file": "pr_01_back.py",
363
+ "back": "MRZ",
364
+ "mrz_type": "TD1"
365
+ },
366
+ {
367
+ "py_file": "pr_01_front.py",
368
+ "keys_found": null
369
+ },
370
+ {
371
+ "py_file": "pr_02_back.py",
372
+ "back": "MRZ",
373
+ "mrz_type": "TD1"
374
+ },
375
+ {
376
+ "py_file": "pr_02_front.py",
377
+ "keys_found": null
378
+ },
379
+ {
380
+ "py_file": "pr_03_back.py",
381
+ "back": "MRZ",
382
+ "mrz_type": "TD1"
383
+ },
384
+ {
385
+ "py_file": "pr_03_front.py",
386
+ "keys_found": null
387
+ }
388
+ ]
389
+ }
404
390
  },
405
391
  "CF": {
406
- "passport": {
407
- "root": [
408
- {
409
- "py_file": "caf_01.py",
410
- "front": "MRZ",
411
- "mrz_type": "TD3"
412
- }
413
- ]
414
- }
392
+ "passport": {
393
+ "root": [
394
+ {
395
+ "py_file": "caf_01.py",
396
+ "front": "MRZ",
397
+ "mrz_type": "TD3"
398
+ }
399
+ ]
400
+ }
415
401
  },
416
402
  "TD": {
417
- "passport": {
418
- "root": [
419
- {
420
- "py_file": "tchad_01.py",
421
- "front": "MRZ",
422
- "mrz_type": "TD3"
423
- }
424
- ]
425
- }
403
+ "passport": {
404
+ "root": [
405
+ {
406
+ "py_file": "tchad_01.py",
407
+ "front": "MRZ",
408
+ "mrz_type": "TD3"
409
+ }
410
+ ]
411
+ }
426
412
  },
427
413
  "CG": {
428
- "passport": {
429
- "root": [
430
- {
431
- "py_file": "congo_01.py",
432
- "front": "MRZ",
433
- "mrz_type": "TD3"
434
- }
435
- ]
436
- }
414
+ "passport": {
415
+ "root": [
416
+ {
417
+ "py_file": "congo_01.py",
418
+ "front": "MRZ",
419
+ "mrz_type": "TD3"
420
+ }
421
+ ]
422
+ }
437
423
  },
438
424
  "GQ": {
439
- "passport": {
440
- "root": [
441
- {
442
- "py_file": "ecuatorial_guinea_01.py",
443
- "front": "MRZ",
444
- "mrz_type": "TD3"
445
- }
446
- ]
447
- }
425
+ "passport": {
426
+ "root": [
427
+ {
428
+ "py_file": "ecuatorial_guinea_01.py",
429
+ "front": "MRZ",
430
+ "mrz_type": "TD3"
431
+ }
432
+ ]
433
+ }
448
434
  },
449
435
  "ET": {
450
- "passport": {
451
- "root": [
452
- {
453
- "py_file": "ethiopia_01.py",
454
- "front": "MRZ",
455
- "mrz_type": "TD3"
456
- }
457
- ]
458
- }
436
+ "passport": {
437
+ "root": [
438
+ {
439
+ "py_file": "ethiopia_01.py",
440
+ "front": "MRZ",
441
+ "mrz_type": "TD3"
442
+ }
443
+ ]
444
+ }
459
445
  },
460
446
  "FR": {
461
- "passport": {
462
- "root": [
463
- {
464
- "py_file": "france_01.py",
465
- "front": "MRZ",
466
- "mrz_type": "TD3"
467
- }
468
- ]
469
- }
447
+ "passport": {
448
+ "root": [
449
+ {
450
+ "py_file": "france_01.py",
451
+ "front": "MRZ",
452
+ "mrz_type": "TD3"
453
+ }
454
+ ]
455
+ }
470
456
  },
471
457
  "GA": {
472
- "passport": {
473
- "root": [
474
- {
475
- "py_file": "gabon_01.py",
476
- "front": "MRZ",
477
- "mrz_type": "TD3"
478
- },
479
- {
480
- "py_file": "gabon_02.py",
481
- "front": "MRZ",
482
- "mrz_type": "TD3"
483
- }
484
- ]
485
- }
458
+ "passport": {
459
+ "root": [
460
+ {
461
+ "py_file": "gabon_01.py",
462
+ "front": "MRZ",
463
+ "mrz_type": "TD3"
464
+ },
465
+ {
466
+ "py_file": "gabon_02.py",
467
+ "front": "MRZ",
468
+ "mrz_type": "TD3"
469
+ }
470
+ ]
471
+ }
472
+ },
473
+ "GM": {
474
+ "passport": {
475
+ "root": [
476
+ {
477
+ "py_file": "passport_1.py",
478
+ "front": "MRZ",
479
+ "mrz_type": "TD3"
480
+ }
481
+ ]
482
+ }
486
483
  },
487
484
  "DE": {
488
- "passport": {
489
- "root": [
490
- {
491
- "py_file": "germany_01.py",
492
- "front": "MRZ",
493
- "mrz_type": "TD3"
494
- },
495
- {
496
- "py_file": "germany_02.py",
497
- "front": "MRZ",
498
- "mrz_type": "TD3"
499
- }
500
- ]
501
- }
485
+ "passport": {
486
+ "root": [
487
+ {
488
+ "py_file": "germany_01.py",
489
+ "front": "MRZ",
490
+ "mrz_type": "TD3"
491
+ },
492
+ {
493
+ "py_file": "germany_02.py",
494
+ "front": "MRZ",
495
+ "mrz_type": "TD3"
496
+ }
497
+ ]
498
+ }
502
499
  },
503
500
  "GH": {
504
- "identity_card": {
505
- "root": [
506
- {
507
- "py_file": "back_1.py",
508
- "back": "MRZ",
509
- "mrz_type": "TD1"
510
- },
511
- {
512
- "py_file": "back_2.py",
513
- "back": "MRZ",
514
- "mrz_type": "TD1"
515
- },
516
- {
517
- "py_file": "front_1.py",
518
- "keys_found": null
519
- },
520
- {
521
- "py_file": "front_2.py",
522
- "keys_found": null
523
- }
524
- ]
525
- },
526
- "passport": {
527
- "root": [
528
- {
529
- "py_file": "ghana_01.py",
530
- "front": "MRZ",
531
- "mrz_type": "TD3"
532
- }
533
- ]
534
- }
501
+ "identity_card": {
502
+ "root": [
503
+ {
504
+ "py_file": "back_1.py",
505
+ "back": "MRZ",
506
+ "mrz_type": "TD1"
507
+ },
508
+ {
509
+ "py_file": "back_2.py",
510
+ "back": "MRZ",
511
+ "mrz_type": "TD1"
512
+ },
513
+ {
514
+ "py_file": "front_1.py",
515
+ "keys_found": null
516
+ },
517
+ {
518
+ "py_file": "front_2.py",
519
+ "keys_found": null
520
+ }
521
+ ]
522
+ },
523
+ "passport": {
524
+ "root": [
525
+ {
526
+ "py_file": "ghana_01.py",
527
+ "front": "MRZ",
528
+ "mrz_type": "TD3"
529
+ }
530
+ ]
531
+ }
535
532
  },
536
533
  "GN": {
537
- "passport": {
538
- "root": [
539
- {
540
- "py_file": "guinee_01.py",
541
- "front": "MRZ",
542
- "mrz_type": "TD3"
543
- }
544
- ]
545
- }
534
+ "passport": {
535
+ "root": [
536
+ {
537
+ "py_file": "guinee_01.py",
538
+ "front": "MRZ",
539
+ "mrz_type": "TD3"
540
+ }
541
+ ]
542
+ }
546
543
  },
547
544
  "HT": {
548
- "passport": {
549
- "root": [
550
- {
551
- "py_file": "haiti_01.py",
552
- "front": "MRZ",
553
- "mrz_type": "TD3"
554
- }
555
- ]
556
- }
545
+ "passport": {
546
+ "root": [
547
+ {
548
+ "py_file": "haiti_01.py",
549
+ "front": "MRZ",
550
+ "mrz_type": "TD3"
551
+ }
552
+ ]
553
+ }
557
554
  },
558
555
  "IT": {
559
- "passport": {
560
- "root": [
561
- {
562
- "py_file": "italy_01.py",
563
- "front": "MRZ",
564
- "mrz_type": "TD3"
565
- }
566
- ]
567
- }
556
+ "passport": {
557
+ "root": [
558
+ {
559
+ "py_file": "italy_01.py",
560
+ "front": "MRZ",
561
+ "mrz_type": "TD3"
562
+ }
563
+ ]
564
+ }
568
565
  },
569
566
  "CI": {
570
- "identity_card": {
571
- "root": [
572
- {
573
- "py_file": "back_1.py",
574
- "keys_found": null
575
- },
576
- {
577
- "py_file": "front_1.py",
578
- "keys_found": null
579
- }
580
- ]
581
- },
582
- "passport": {
583
- "root": [
584
- {
585
- "py_file": "ivory_coast_01.py",
586
- "front": "MRZ",
587
- "mrz_type": "TD3"
588
- },
589
- {
590
- "py_file": "ivory_coast_02.py",
591
- "front": "MRZ",
592
- "mrz_type": "TD3"
593
- }
594
- ]
595
- }
567
+ "identity_card": {
568
+ "root": [
569
+ {
570
+ "py_file": "back_1.py",
571
+ "keys_found": null
572
+ },
573
+ {
574
+ "py_file": "front_1.py",
575
+ "keys_found": null
576
+ }
577
+ ]
578
+ },
579
+ "passport": {
580
+ "root": [
581
+ {
582
+ "py_file": "ivory_coast_01.py",
583
+ "front": "MRZ",
584
+ "mrz_type": "TD3"
585
+ },
586
+ {
587
+ "py_file": "ivory_coast_02.py",
588
+ "front": "MRZ",
589
+ "mrz_type": "TD3"
590
+ }
591
+ ]
592
+ }
596
593
  },
597
594
  "KE": {
598
- "identity_card": {
599
- "root": [
600
- {
601
- "py_file": "back_2.py",
602
- "back": "MRZ",
603
- "mrz_type": "TD1"
604
- },
605
- {
606
- "py_file": "front_3.py",
607
- "keys_found": null
608
- },
609
- {
610
- "py_file": "kenya_back_1.py",
611
- "back": "MRZ",
612
- "mrz_type": "TD1"
613
- },
614
- {
615
- "py_file": "kenya_back_3.py",
616
- "back": "MRZ",
617
- "mrz_type": "TD1"
618
- },
619
- {
620
- "py_file": "kenya_front_2.py",
621
- "keys_found": null
622
- }
623
- ]
624
- },
625
- "passport": {
626
- "root": [
627
- {
628
- "py_file": "passport_1.py",
629
- "front": "MRZ",
630
- "mrz_type": "TD3"
631
- }
632
- ]
633
- }
595
+ "identity_card": {
596
+ "root": [
597
+ {
598
+ "py_file": "back_2.py",
599
+ "back": "MRZ",
600
+ "mrz_type": "TD1"
601
+ },
602
+ {
603
+ "py_file": "front_3.py",
604
+ "keys_found": null
605
+ },
606
+ {
607
+ "py_file": "kenya_back_1.py",
608
+ "back": "MRZ",
609
+ "mrz_type": "TD1"
610
+ },
611
+ {
612
+ "py_file": "kenya_back_3.py",
613
+ "back": "MRZ",
614
+ "mrz_type": "TD1"
615
+ },
616
+ {
617
+ "py_file": "kenya_front_2.py",
618
+ "keys_found": null
619
+ }
620
+ ]
621
+ },
622
+ "passport": {
623
+ "root": [
624
+ {
625
+ "py_file": "passport_1.py",
626
+ "front": "MRZ",
627
+ "mrz_type": "TD3"
628
+ }
629
+ ]
630
+ }
634
631
  },
635
632
  "ML": {
636
- "passport": {
637
- "root": [
638
- {
639
- "py_file": "mali_01.py",
640
- "front": "MRZ",
641
- "mrz_type": "TD3"
642
- }
643
- ]
644
- }
633
+ "passport": {
634
+ "root": [
635
+ {
636
+ "py_file": "mali_01.py",
637
+ "front": "MRZ",
638
+ "mrz_type": "TD3"
639
+ }
640
+ ]
641
+ }
645
642
  },
646
643
  "NL": {
647
- "passport": {
648
- "root": [
649
- {
650
- "py_file": "netherlands_01.py",
651
- "front": "MRZ",
652
- "mrz_type": "TD3"
653
- }
654
- ]
655
- }
644
+ "passport": {
645
+ "root": [
646
+ {
647
+ "py_file": "netherlands_01.py",
648
+ "front": "MRZ",
649
+ "mrz_type": "TD3"
650
+ }
651
+ ]
652
+ }
656
653
  },
657
654
  "NE": {
658
- "passport": {
659
- "root": [
660
- {
661
- "py_file": "niger_01.py",
662
- "front": "MRZ",
663
- "mrz_type": "TD3"
664
- }
665
- ]
666
- }
655
+ "passport": {
656
+ "root": [
657
+ {
658
+ "py_file": "niger_01.py",
659
+ "front": "MRZ",
660
+ "mrz_type": "TD3"
661
+ }
662
+ ]
663
+ }
667
664
  },
668
665
  "NG": {
669
- "identity_card": {
670
- "root": [
671
- {
672
- "py_file": "nigeria_id_back_1.py",
673
- "back": "MRZ",
674
- "mrz_type": "TD1"
675
- },
676
- {
677
- "py_file": "nigeria_id_front_1.py",
678
- "keys_found": null
679
- }
680
- ]
681
- },
682
- "passport": {
683
- "root": [
684
- {
685
- "py_file": "nigeria_01.py",
686
- "front": "MRZ",
687
- "mrz_type": "TD3"
688
- },
689
- {
690
- "py_file": "nigeria_02.py",
691
- "front": "MRZ",
692
- "mrz_type": "TD3"
693
- }
694
- ]
695
- }
666
+ "identity_card": {
667
+ "root": [
668
+ {
669
+ "py_file": "nigeria_id_back_1.py",
670
+ "back": "MRZ",
671
+ "mrz_type": "TD1"
672
+ },
673
+ {
674
+ "py_file": "nigeria_id_front_1.py",
675
+ "keys_found": null
676
+ }
677
+ ]
678
+ },
679
+ "passport": {
680
+ "root": [
681
+ {
682
+ "py_file": "nigeria_01.py",
683
+ "front": "MRZ",
684
+ "mrz_type": "TD3"
685
+ },
686
+ {
687
+ "py_file": "nigeria_02.py",
688
+ "front": "MRZ",
689
+ "mrz_type": "TD3"
690
+ }
691
+ ]
692
+ }
693
+ },
694
+ "RW": {
695
+ "passport": {
696
+ "root": [
697
+ {
698
+ "py_file": "passport_1.py",
699
+ "front": "MRZ",
700
+ "mrz_type": "TD3"
701
+ }
702
+ ]
703
+ }
696
704
  },
697
705
  "SN": {
698
- "passport": {
699
- "root": [
700
- {
701
- "py_file": "senegal_01.py",
702
- "front": "MRZ",
703
- "mrz_type": "TD3"
704
- }
705
- ]
706
- }
706
+ "passport": {
707
+ "root": [
708
+ {
709
+ "py_file": "senegal_01.py",
710
+ "front": "MRZ",
711
+ "mrz_type": "TD3"
712
+ }
713
+ ]
714
+ }
707
715
  },
708
716
  "ES": {
709
- "passport": {
710
- "root": [
711
- {
712
- "py_file": "spain_01.py",
713
- "front": "MRZ",
714
- "mrz_type": "TD3"
715
- }
716
- ]
717
- }
717
+ "passport": {
718
+ "root": [
719
+ {
720
+ "py_file": "spain_01.py",
721
+ "front": "MRZ",
722
+ "mrz_type": "TD3"
723
+ }
724
+ ]
725
+ }
726
+ },
727
+ "TZ": {
728
+ "passport": {
729
+ "root": [
730
+ {
731
+ "py_file": "passport_1.py",
732
+ "front": "MRZ",
733
+ "mrz_type": "TD3"
734
+ }
735
+ ]
736
+ }
718
737
  },
719
738
  "TG": {
720
- "passport": {
721
- "root": [
722
- {
723
- "py_file": "togo_01.py",
724
- "front": "MRZ",
725
- "mrz_type": "TD3"
726
- }
727
- ]
728
- }
739
+ "passport": {
740
+ "root": [
741
+ {
742
+ "py_file": "togo_01.py",
743
+ "front": "MRZ",
744
+ "mrz_type": "TD3"
745
+ }
746
+ ]
747
+ }
748
+ },
749
+ "UG": {
750
+ "passport": {
751
+ "root": [
752
+ {
753
+ "py_file": "passport_1.py",
754
+ "front": "MRZ",
755
+ "mrz_type": "TD3"
756
+ }
757
+ ]
758
+ }
729
759
  }
730
- }
760
+ }