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