@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.
@@ -32,6 +32,7 @@ export declare const COMMON_SERVER: {
32
32
  airbnb: string;
33
33
  vrbo: string;
34
34
  bookingcom: string;
35
+ expedia: string;
35
36
  };
36
37
  stages: {
37
38
  inquiry: {
@@ -34,7 +34,8 @@ exports.COMMON_SERVER = {
34
34
  direct: 'Direct',
35
35
  airbnb: 'Airbnb',
36
36
  vrbo: 'Vrbo',
37
- bookingcom: 'Booking.com'
37
+ bookingcom: 'Booking.com',
38
+ expedia: 'Expedia'
38
39
  },
39
40
  stages: {
40
41
  inquiry: {
@@ -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: 'long_term' | 'hybrid' | 'nightly';
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-flats/booking-engine-common-server",
3
- "version": "1.0.135",
3
+ "version": "1.0.138",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",