@transfergratis/react-native-sdk 0.1.11 → 0.1.12
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.
|
@@ -28,10 +28,16 @@ export interface VerificationResult {
|
|
|
28
28
|
full_name: string;
|
|
29
29
|
first_name: string | null;
|
|
30
30
|
last_name: string | null;
|
|
31
|
-
date_of_birth: string
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
date_of_birth: string;
|
|
32
|
+
sex: string;
|
|
33
|
+
expiry_date: string;
|
|
34
|
+
issue_date: string;
|
|
35
|
+
issue_place: string | null;
|
|
34
36
|
place_of_birth: string | null;
|
|
37
|
+
address: string | null;
|
|
38
|
+
city: string | null;
|
|
39
|
+
postal_code: string | null;
|
|
40
|
+
country: string | null;
|
|
35
41
|
};
|
|
36
42
|
};
|
|
37
43
|
selfie_info: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/modules/api/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB;AAGD,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,uBAAuB,CAAC;IAC9B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAA;CACjB;AAID,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAG1D,MAAM,WAA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EAAE,MAAM,CAAC;oBAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;oBAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;oBACzB,aAAa,EAAE,MAAM,CAAC;oBACtB,GAAG,EAAE,MAAM,CAAC;oBACZ,WAAW,EAAE,MAAM,CAAE;oBACrB,UAAU,EAAE,MAAM,CAAC;oBACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;oBAC3B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;oBAC9B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;oBACvB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;oBACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;oBAC3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;iBAC1B,CAAC;aACL,CAAC;YACF,WAAW,EAAE;gBACT,QAAQ,EAAE,OAAO,CAAC;gBAClB,UAAU,EAAE,MAAM,CAAC;gBACnB,KAAK,EAAE,MAAM,CAAC;aACjB,CAAC;SACL,CAAC;KACL,CAAC;CACL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/modules/api/types.ts"],"names":[],"mappings":"","sourcesContent":["export interface SessionResponse {\n id: number;\n session_id: string;\n status: string;\n created_at: string;\n updated_at: string;\n metadata: string;\n user: number;\n module: number;\n}\n\n\nexport interface VerificationSessionRequest {\n step: number;\n data: VerificationSessionData;\n templateId: string | null;\n session_id: string;\n token: string;\n action: string\n}\n\n\n// dynamic type\nexport type VerificationSessionData = Record<string, any>;\n\n\nexport interface VerificationResult {\n [key: string]: {\n data: {\n verification_id: string;\n verification_status: string;\n completion_timestamp: string;\n user_data: {\n personal_information: {\n full_name: string;\n first_name: string | null;\n last_name: string | null;\n date_of_birth: string | null;\n
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/modules/api/types.ts"],"names":[],"mappings":"","sourcesContent":["export interface SessionResponse {\n id: number;\n session_id: string;\n status: string;\n created_at: string;\n updated_at: string;\n metadata: string;\n user: number;\n module: number;\n}\n\n\nexport interface VerificationSessionRequest {\n step: number;\n data: VerificationSessionData;\n templateId: string | null;\n session_id: string;\n token: string;\n action: string\n}\n\n\n// dynamic type\nexport type VerificationSessionData = Record<string, any>;\n\n\nexport interface VerificationResult {\n [key: string]: {\n data: {\n verification_id: string;\n verification_status: string;\n completion_timestamp: string;\n user_data: {\n personal_information: {\n full_name: string;\n first_name: string | null;\n last_name: string | null;\n date_of_birth: string;\n sex: string;\n expiry_date: string ;\n issue_date: string;\n issue_place: string | null;\n place_of_birth: string | null;\n address: string | null;\n city: string | null;\n postal_code: string | null;\n country: string | null;\n };\n };\n selfie_info: {\n is_match: boolean;\n similarity: number;\n image: string;\n };\n };\n };\n}"]}
|
package/package.json
CHANGED
package/src/modules/api/types.ts
CHANGED
|
@@ -35,10 +35,16 @@ export interface VerificationResult {
|
|
|
35
35
|
full_name: string;
|
|
36
36
|
first_name: string | null;
|
|
37
37
|
last_name: string | null;
|
|
38
|
-
date_of_birth: string
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
date_of_birth: string;
|
|
39
|
+
sex: string;
|
|
40
|
+
expiry_date: string ;
|
|
41
|
+
issue_date: string;
|
|
42
|
+
issue_place: string | null;
|
|
41
43
|
place_of_birth: string | null;
|
|
44
|
+
address: string | null;
|
|
45
|
+
city: string | null;
|
|
46
|
+
postal_code: string | null;
|
|
47
|
+
country: string | null;
|
|
42
48
|
};
|
|
43
49
|
};
|
|
44
50
|
selfie_info: {
|