hububb-models 1.0.2 → 1.0.4

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.2",
3
+ "version": "1.0.4",
4
4
  "description": "Models for Hububb application",
5
5
  "main": "index.js",
6
6
  "types": "./src/index.d.ts",
@@ -12,9 +12,11 @@ export interface Listing {
12
12
  bedType?: string;
13
13
  accommodates?: number;
14
14
  bedrooms?: number;
15
+ bathrooms?: number;
16
+ beds?: number;
15
17
  areaSquareFeet?: number;
16
18
  address: Address;
17
- publishedAddress: {
19
+ publishedAddress?: {
18
20
  full: string;
19
21
  lng: number;
20
22
  lat: number;
@@ -47,11 +49,11 @@ export interface Listing {
47
49
  currency: string;
48
50
  cleaningFee: number;
49
51
  };
50
- netIncomeFormula: string;
51
- commissionFormula: string;
52
- commissionTaxPrecentage: string;
52
+ netIncomeFormula?: string;
53
+ commissionFormula?: string;
54
+ commissionTaxPrecentage?: string;
53
55
 
54
- paymentProcessing: {
56
+ paymentProcessing?: {
55
57
  active: boolean;
56
58
  paymentProviders: {
57
59
  stripe: {
@@ -13,9 +13,10 @@ export interface Listing {
13
13
  accommodates?: number;
14
14
  bedrooms?: number;
15
15
  bathrooms?: number;
16
+ beds?: number;
16
17
  areaSquareFeet?: number;
17
18
  address: Address;
18
- publishedAddress: {
19
+ publishedAddress?: {
19
20
  full: string;
20
21
  lng: number;
21
22
  lat: number;
@@ -48,11 +49,11 @@ export interface Listing {
48
49
  currency: string;
49
50
  cleaningFee: number;
50
51
  };
51
- netIncomeFormula: string;
52
- commissionFormula: string;
53
- commissionTaxPrecentage: string;
52
+ netIncomeFormula?: string;
53
+ commissionFormula?: string;
54
+ commissionTaxPrecentage?: string;
54
55
 
55
- paymentProcessing: {
56
+ paymentProcessing?: {
56
57
  active: boolean;
57
58
  paymentProviders: {
58
59
  stripe: {