@vibe-flats/booking-engine-common-server 1.0.141 → 1.0.144
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.
|
@@ -109,6 +109,12 @@ export interface UnitDocument extends mongoose.Document {
|
|
|
109
109
|
salesBlockWarning: string;
|
|
110
110
|
hasOpenExtensionLink: boolean;
|
|
111
111
|
lengthOfStayType: 'monthly' | 'hybrid' | 'nightly';
|
|
112
|
+
guesty?: {
|
|
113
|
+
sync?: {
|
|
114
|
+
name?: string;
|
|
115
|
+
description?: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
112
118
|
}
|
|
113
119
|
export declare const UnitModel: (connection: mongoose.Connection) => mongoose.Model<UnitDocument, {}, {}, {}, mongoose.Document<unknown, {}, UnitDocument> & UnitDocument & Required<{
|
|
114
120
|
_id: unknown;
|
|
@@ -158,7 +158,21 @@ const schema = new mongoose_1.default.Schema({
|
|
|
158
158
|
},
|
|
159
159
|
salesBlockWarning: { type: String, required: false },
|
|
160
160
|
hasOpenExtensionLink: { type: Boolean, required: false },
|
|
161
|
-
lengthOfStayType: { type: String, required: false }
|
|
161
|
+
lengthOfStayType: { type: String, required: false },
|
|
162
|
+
guesty: {
|
|
163
|
+
type: new mongoose_1.default.Schema({
|
|
164
|
+
sync: {
|
|
165
|
+
type: new mongoose_1.default.Schema({
|
|
166
|
+
name: { type: String, required: false },
|
|
167
|
+
description: { type: String, required: false }
|
|
168
|
+
}),
|
|
169
|
+
required: false,
|
|
170
|
+
_id: false
|
|
171
|
+
}
|
|
172
|
+
}),
|
|
173
|
+
required: false,
|
|
174
|
+
_id: false
|
|
175
|
+
}
|
|
162
176
|
}, {
|
|
163
177
|
timestamps: true,
|
|
164
178
|
versionKey: false,
|