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 +1 -1
- package/src/models/listing.d.ts +7 -5
- package/src/models/listing.ts +6 -5
package/package.json
CHANGED
package/src/models/listing.d.ts
CHANGED
@@ -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
|
51
|
-
commissionFormula
|
52
|
-
commissionTaxPrecentage
|
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: {
|
package/src/models/listing.ts
CHANGED
@@ -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
|
52
|
-
commissionFormula
|
53
|
-
commissionTaxPrecentage
|
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: {
|