hububb-models 1.0.23 → 1.0.25

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "Models for Hububb application",
5
5
  "main": "index.js",
6
6
  "types": "./src/index.d.ts",
@@ -3,6 +3,7 @@ export interface User {
3
3
  phoneNumber: string;
4
4
  fullName: string;
5
5
  email: string;
6
+ verified?:boolean;
6
7
  kyc?:{
7
8
  verified?:boolean,
8
9
  state?: 'processing'| 'success' | "declined",
@@ -11,10 +12,12 @@ export interface User {
11
12
  firstName?:string,
12
13
  lastName?:string,
13
14
  dob?:string,
14
- phoneNumber?:string,
15
15
  document?:string,
16
16
  face?:string,
17
- country?:string,
17
+ country?:{
18
+ code?:string;
19
+ name?:string;
20
+ }
18
21
  documentType?:string
19
22
  }
20
23
  };
@@ -3,6 +3,7 @@ export interface User {
3
3
  phoneNumber: string;
4
4
  fullName: string;
5
5
  email: string;
6
+ verified?:boolean;
6
7
  kyc?:{
7
8
  verified?:boolean,
8
9
  state?: 'processing'| 'success' | "declined",
@@ -11,10 +12,12 @@ export interface User {
11
12
  firstName?:string,
12
13
  lastName?:string,
13
14
  dob?:string,
14
- phoneNumber?:string,
15
15
  document?:string,
16
16
  face?:string,
17
- country?:string,
17
+ country?:{
18
+ code?:string;
19
+ name?:string;
20
+ }
18
21
  documentType?:string
19
22
  }
20
23
  };