hububb-models 1.0.31 → 1.0.32

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "Models for Hububb application",
5
5
  "main": "index.js",
6
6
  "types": "./src/index.d.ts",
@@ -80,11 +80,12 @@ export interface Listing {
80
80
  mainDoor?: Door;
81
81
  noAptKey?: boolean;
82
82
  aptKey?: string;
83
- keyMethod?: "unlock" | "open"
83
+ keyMethod?: "unlock" | "open";
84
+ externalId?: number;
84
85
  }
85
- export interface Door{
86
- id?:string;
87
- method?: "unlock" | "open"
86
+ export interface Door {
87
+ id?: string;
88
+ method?: "unlock" | "open";
88
89
  }
89
90
  export interface Address {
90
91
  full: string;
@@ -80,11 +80,12 @@ export interface Listing {
80
80
  mainDoor?: Door;
81
81
  noAptKey?: boolean;
82
82
  aptKey?: string;
83
- keyMethod?: "unlock" | "open"
83
+ keyMethod?: "unlock" | "open";
84
+ externalId?: number;
84
85
  }
85
- export interface Door{
86
- id?:string;
87
- method?: "unlock" | "open"
86
+ export interface Door {
87
+ id?: string;
88
+ method?: "unlock" | "open";
88
89
  }
89
90
  export interface Address {
90
91
  full: string;
@@ -2,18 +2,20 @@ import { Timestamp } from "@firebase/firestore-types";
2
2
 
3
3
  export interface Reservation {
4
4
  id: string;
5
- guestyId?: string;
5
+ externalId?: number;
6
6
  checkIn?: Timestamp;
7
7
  checkOut?: Timestamp;
8
+ status?: string;
9
+ statusDescription?: string;
8
10
  guest?: {
9
11
  id?: string;
10
- guestyId?: string;
12
+ externalId?: number;
11
13
  fullName?: string;
12
14
  email?: string;
13
15
  };
14
16
  listing?: {
15
17
  id?: string;
16
- guestyId?: string;
18
+ externalId?: number;
17
19
  title?: string;
18
20
  };
19
21
  klevio?: {
@@ -25,6 +27,11 @@ export interface Reservation {
25
27
  propertyId?: string;
26
28
  };
27
29
  refNumber?: string;
28
- money?:any
29
- status?:string;
30
+ money?: any;
31
+ source?: string;
32
+ total?: number;
33
+ guests?: number;
34
+ adults?: number;
35
+ children?: number;
36
+ inboxId?: number;
30
37
  }
@@ -2,18 +2,20 @@ import { Timestamp } from "@firebase/firestore-types";
2
2
 
3
3
  export interface Reservation {
4
4
  id: string;
5
- guestyId?: string;
5
+ externalId?: number;
6
6
  checkIn?: Timestamp;
7
7
  checkOut?: Timestamp;
8
+ status?: string;
9
+ statusDescription?: string;
8
10
  guest?: {
9
11
  id?: string;
10
- guestyId?: string;
12
+ externalId?: number;
11
13
  fullName?: string;
12
14
  email?: string;
13
15
  };
14
16
  listing?: {
15
17
  id?: string;
16
- guestyId?: string;
18
+ externalId?: number;
17
19
  title?: string;
18
20
  };
19
21
  klevio?: {
@@ -25,6 +27,11 @@ export interface Reservation {
25
27
  propertyId?: string;
26
28
  };
27
29
  refNumber?: string;
28
- money?:any;
29
- status?:string;
30
+ money?: any;
31
+ source?: string;
32
+ total?: number;
33
+ guests?: number;
34
+ adults?: number;
35
+ children?: number;
36
+ inboxId?: number;
30
37
  }