@kohost/api-client 3.0.0-beta.62 → 3.0.0-beta.63

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.
@@ -19,6 +19,8 @@ export interface Property {
19
19
  * Reference (id) to the organization that owns this property
20
20
  */
21
21
  organization: string;
22
+ checkInTime?: string;
23
+ checkOutTime?: string;
22
24
  address?: {
23
25
  street?: string;
24
26
  city?: string;
@@ -70,14 +72,24 @@ export interface Property {
70
72
  identification?: unknown;
71
73
  earlyCheckIn?: {
72
74
  dynamic: boolean;
73
- checkInTime: string;
74
- checkOutTime: string;
75
+ minimumPrice?: number;
76
+ maximumPrice?: number;
77
+ priceRatioPerHour?: number;
75
78
  [k: string]: unknown;
76
79
  };
77
80
  roomUpgrades?: unknown;
78
81
  [k: string]: unknown;
79
82
  };
80
- CheckOut?: unknown;
83
+ CheckOut?: {
84
+ lateCheckOut?: {
85
+ dynamic: boolean;
86
+ minimumPrice?: number;
87
+ maximumPrice?: number;
88
+ priceRatioPerHour?: number;
89
+ [k: string]: unknown;
90
+ };
91
+ [k: string]: unknown;
92
+ };
81
93
  Concierge?: unknown;
82
94
  DigitalKey?: {
83
95
  system?: "salto";
@@ -29,6 +29,12 @@
29
29
  "type": "string",
30
30
  "description": "Reference (id) to the organization that owns this property"
31
31
  },
32
+ "checkInTime": {
33
+ "type": "string"
34
+ },
35
+ "checkOutTime": {
36
+ "type": "string"
37
+ },
32
38
  "address": {
33
39
  "type": "object",
34
40
  "properties": {
@@ -187,24 +193,55 @@
187
193
  "identification": {},
188
194
  "earlyCheckIn": {
189
195
  "type": "object",
190
- "required": ["dynamic", "checkInTime", "checkOutTime"],
196
+ "required": ["dynamic"],
191
197
  "properties": {
192
198
  "dynamic": {
193
199
  "type": "boolean",
194
200
  "default": false
195
201
  },
196
- "checkInTime": {
197
- "type": "string"
202
+ "minimumPrice": {
203
+ "type": "number",
204
+ "default": 10
205
+ },
206
+ "maximumPrice": {
207
+ "type": "number",
208
+ "default": 50
198
209
  },
199
- "checkOutTime": {
200
- "type": "string"
210
+ "priceRatioPerHour": {
211
+ "type": "number",
212
+ "default": 0.1
201
213
  }
202
214
  }
203
215
  },
204
216
  "roomUpgrades": {}
205
217
  }
206
218
  },
207
- "CheckOut": {},
219
+ "CheckOut": {
220
+ "properties": {
221
+ "lateCheckOut": {
222
+ "type": "object",
223
+ "required": ["dynamic"],
224
+ "properties": {
225
+ "dynamic": {
226
+ "type": "boolean",
227
+ "default": false
228
+ },
229
+ "minimumPrice": {
230
+ "type": "number",
231
+ "default": 10
232
+ },
233
+ "maximumPrice": {
234
+ "type": "number",
235
+ "default": 50
236
+ },
237
+ "priceRatioPerHour": {
238
+ "type": "number",
239
+ "default": 0.1
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
208
245
  "Concierge": {},
209
246
  "DigitalKey": {
210
247
  "type": "object",
@@ -15443,6 +15443,12 @@ var require_property = __commonJS({
15443
15443
  type: "string",
15444
15444
  description: "Reference (id) to the organization that owns this property"
15445
15445
  },
15446
+ checkInTime: {
15447
+ type: "string"
15448
+ },
15449
+ checkOutTime: {
15450
+ type: "string"
15451
+ },
15446
15452
  address: {
15447
15453
  type: "object",
15448
15454
  properties: {
@@ -15600,24 +15606,55 @@ var require_property = __commonJS({
15600
15606
  identification: {},
15601
15607
  earlyCheckIn: {
15602
15608
  type: "object",
15603
- required: ["dynamic", "checkInTime", "checkOutTime"],
15609
+ required: ["dynamic"],
15604
15610
  properties: {
15605
15611
  dynamic: {
15606
15612
  type: "boolean",
15607
15613
  default: false
15608
15614
  },
15609
- checkInTime: {
15610
- type: "string"
15615
+ minimumPrice: {
15616
+ type: "number",
15617
+ default: 10
15611
15618
  },
15612
- checkOutTime: {
15613
- type: "string"
15619
+ maximumPrice: {
15620
+ type: "number",
15621
+ default: 50
15622
+ },
15623
+ priceRatioPerHour: {
15624
+ type: "number",
15625
+ default: 0.1
15614
15626
  }
15615
15627
  }
15616
15628
  },
15617
15629
  roomUpgrades: {}
15618
15630
  }
15619
15631
  },
15620
- CheckOut: {},
15632
+ CheckOut: {
15633
+ properties: {
15634
+ lateCheckOut: {
15635
+ type: "object",
15636
+ required: ["dynamic"],
15637
+ properties: {
15638
+ dynamic: {
15639
+ type: "boolean",
15640
+ default: false
15641
+ },
15642
+ minimumPrice: {
15643
+ type: "number",
15644
+ default: 10
15645
+ },
15646
+ maximumPrice: {
15647
+ type: "number",
15648
+ default: 50
15649
+ },
15650
+ priceRatioPerHour: {
15651
+ type: "number",
15652
+ default: 0.1
15653
+ }
15654
+ }
15655
+ }
15656
+ }
15657
+ },
15621
15658
  Concierge: {},
15622
15659
  DigitalKey: {
15623
15660
  type: "object",