@transfergratis/react-native-sdk 0.1.4 → 0.1.6

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