@vibe-flats/booking-engine-common-server 1.0.136 → 1.0.139

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.
@@ -23,6 +23,13 @@ export declare const COMMON_SERVER: {
23
23
  ticket: string;
24
24
  reservation: string;
25
25
  };
26
+ contacts: {
27
+ associations: {
28
+ reservation: {
29
+ guest: number;
30
+ };
31
+ };
32
+ };
26
33
  reservations: {
27
34
  associations: {
28
35
  guest: number;
@@ -32,6 +39,7 @@ export declare const COMMON_SERVER: {
32
39
  airbnb: string;
33
40
  vrbo: string;
34
41
  bookingcom: string;
42
+ expedia: string;
35
43
  };
36
44
  stages: {
37
45
  inquiry: {
@@ -26,6 +26,13 @@ exports.COMMON_SERVER = {
26
26
  ticket: '0-5',
27
27
  reservation: '2-30640026'
28
28
  },
29
+ contacts: {
30
+ associations: {
31
+ reservation: {
32
+ guest: 42
33
+ }
34
+ }
35
+ },
29
36
  reservations: {
30
37
  associations: {
31
38
  guest: 41
@@ -34,7 +41,8 @@ exports.COMMON_SERVER = {
34
41
  direct: 'Direct',
35
42
  airbnb: 'Airbnb',
36
43
  vrbo: 'Vrbo',
37
- bookingcom: 'Booking.com'
44
+ bookingcom: 'Booking.com',
45
+ expedia: 'Expedia'
38
46
  },
39
47
  stages: {
40
48
  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;
@@ -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.136",
3
+ "version": "1.0.139",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",