hububb-models 1.0.46 → 1.0.48

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.46",
3
+ "version": "1.0.48",
4
4
  "description": "Models for Hububb application",
5
5
  "main": "index.js",
6
6
  "types": "./src/index.d.ts",
@@ -80,6 +80,8 @@ export interface Listing {
80
80
  externalId?: string;
81
81
  requestToBook?: boolean;
82
82
  nickname?: string;
83
+ listingType?: "parent" | "child";
84
+ parentId?: string;
83
85
  }
84
86
  export interface Door {
85
87
  id?: string;
@@ -84,6 +84,8 @@ export interface Listing {
84
84
  externalId?: string;
85
85
  requestToBook?: boolean;
86
86
  nickname?: string;
87
+ listingType?: "parent" | "child";
88
+ parentId?: string;
87
89
  }
88
90
  export interface Door {
89
91
  id?: string;
@@ -2,11 +2,15 @@ export interface User {
2
2
  id: string;
3
3
  phoneNumber: string;
4
4
  fullName: string;
5
+ firstName?: string;
6
+ lastName?: string;
7
+ dateOfBirth?: string;
8
+ profilePicture?: string;
5
9
  email: string;
6
10
  verified?: boolean;
7
11
  kyc?: {
8
12
  verified?: boolean;
9
- state?: 'processing' | 'success' | 'declined';
13
+ state?: "processing" | "success" | "declined";
10
14
  declinedReason?: string;
11
15
  form: {
12
16
  firstName?: string;
@@ -2,11 +2,15 @@ export interface User {
2
2
  id: string;
3
3
  phoneNumber: string;
4
4
  fullName: string;
5
+ firstName?: string;
6
+ lastName?: string;
7
+ dateOfBirth?: string;
8
+ profilePicture?: string;
5
9
  email: string;
6
10
  verified?: boolean;
7
11
  kyc?: {
8
12
  verified?: boolean;
9
- state?: 'processing' | 'success' | 'declined';
13
+ state?: "processing" | "success" | "declined";
10
14
  declinedReason?: string;
11
15
  form: {
12
16
  firstName?: string;