hububb-models 1.0.48 → 1.0.50

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.48",
3
+ "version": "1.0.50",
4
4
  "description": "Models for Hububb application",
5
5
  "main": "index.js",
6
6
  "types": "./src/index.d.ts",
@@ -36,14 +36,14 @@ export interface Listing {
36
36
  cancellation: string;
37
37
  };
38
38
  prices: {
39
- guestsIncludedInRegularFee: number;
40
- extraPersonFee: number;
39
+ guestsIncludedInRegularFee?: number;
40
+ extraPersonFee?: number;
41
41
  basePrice: number;
42
- basePriceUSD: number;
43
- monthlyPriceFactor: number;
44
- weeklyPriceFactor: number;
45
- weeendBasePrice: number;
46
- securityDepositFee: number;
42
+ basePriceUSD?: number;
43
+ monthlyPriceFactor?: number;
44
+ weeklyPriceFactor?: number;
45
+ weekendBasePrice?: number;
46
+ securityDepositFee?: number;
47
47
  currency: string;
48
48
  cleaningFee: number;
49
49
  };
@@ -94,6 +94,8 @@ export interface Address {
94
94
  street: string;
95
95
  city: string;
96
96
  country: string;
97
+ state?: string;
98
+ zipcode?: string;
97
99
  }
98
100
  export interface Picture {
99
101
  regular?: string;
@@ -39,14 +39,14 @@ export interface Listing {
39
39
  cancellation: string;
40
40
  };
41
41
  prices: {
42
- guestsIncludedInRegularFee: number;
43
- extraPersonFee: number;
42
+ guestsIncludedInRegularFee?: number;
43
+ extraPersonFee?: number;
44
44
  basePrice: number;
45
- basePriceUSD: number;
46
- monthlyPriceFactor: number;
47
- weeklyPriceFactor: number;
48
- weeendBasePrice: number;
49
- securityDepositFee: number;
45
+ basePriceUSD?: number;
46
+ monthlyPriceFactor?: number;
47
+ weeklyPriceFactor?: number;
48
+ weekendBasePrice?: number;
49
+ securityDepositFee?: number;
50
50
  currency: string;
51
51
  cleaningFee: number;
52
52
  };
@@ -98,6 +98,8 @@ export interface Address {
98
98
  street: string;
99
99
  city: string;
100
100
  country: string;
101
+ state?: string;
102
+ zipcode?: string;
101
103
  }
102
104
  export interface Picture {
103
105
  regular?: string;
@@ -26,4 +26,5 @@ export interface User {
26
26
  };
27
27
  };
28
28
  klevioId?: string;
29
+ favorites?: string[];
29
30
  }
@@ -26,4 +26,5 @@ export interface User {
26
26
  };
27
27
  };
28
28
  klevioId?: string;
29
+ favorites?: string[];
29
30
  }