@vibe-flats/booking-engine-common-server 1.0.135 → 1.0.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/src/config/app.js
CHANGED
|
@@ -5,7 +5,7 @@ import { CityDocument } from './cities';
|
|
|
5
5
|
import { MarketDocument } from './markets';
|
|
6
6
|
import { GuestDocument } from './guests';
|
|
7
7
|
export type UnitReviewCategory = 'cleanliness' | 'communication' | 'checkin' | 'accuracy' | 'location' | 'value' | 'service';
|
|
8
|
-
export type UnitReviewPlatform = 'direct' | 'airbnb' | 'vrbo' | 'booking';
|
|
8
|
+
export type UnitReviewPlatform = 'direct' | 'airbnb' | 'vrbo' | 'booking' | 'expedia';
|
|
9
9
|
export interface UnitDocument extends mongoose.Document {
|
|
10
10
|
name: string;
|
|
11
11
|
code: number;
|
|
@@ -73,6 +73,7 @@ export interface UnitDocument extends mongoose.Document {
|
|
|
73
73
|
airbnb: string;
|
|
74
74
|
vrbo: string;
|
|
75
75
|
booking: string;
|
|
76
|
+
expedia: string;
|
|
76
77
|
};
|
|
77
78
|
website: {
|
|
78
79
|
description: string;
|
|
@@ -107,7 +108,7 @@ export interface UnitDocument extends mongoose.Document {
|
|
|
107
108
|
}[];
|
|
108
109
|
salesBlockWarning: string;
|
|
109
110
|
hasOpenExtensionLink: boolean;
|
|
110
|
-
lengthOfStayType: '
|
|
111
|
+
lengthOfStayType: 'monthly' | 'hybrid' | 'nightly';
|
|
111
112
|
}
|
|
112
113
|
export declare const UnitModel: (connection: mongoose.Connection) => mongoose.Model<UnitDocument, {}, {}, {}, mongoose.Document<unknown, {}, UnitDocument> & UnitDocument & Required<{
|
|
113
114
|
_id: unknown;
|
|
@@ -101,7 +101,8 @@ const schema = new mongoose_1.default.Schema({
|
|
|
101
101
|
type: new mongoose_1.default.Schema({
|
|
102
102
|
airbnb: { type: String, required: false },
|
|
103
103
|
vrbo: { type: String, required: false },
|
|
104
|
-
booking: { type: String, required: false }
|
|
104
|
+
booking: { type: String, required: false },
|
|
105
|
+
expedia: { type: String, required: false }
|
|
105
106
|
}),
|
|
106
107
|
required: false,
|
|
107
108
|
_id: false
|