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