more-apartments-astro-integration 1.2.0 → 1.3.0
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.
- package/.more-apartments/availability.json +11 -6
- package/.more-apartments/properties.json +300 -75
- package/dist/cli/index.js +8 -6
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.mts +167 -1779
- package/dist/index.d.ts +167 -1779
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -6,17 +6,7 @@ declare const PaginationLinksSchema: z.ZodObject<{
|
|
|
6
6
|
last: z.ZodNullable<z.ZodString>;
|
|
7
7
|
prev: z.ZodNullable<z.ZodString>;
|
|
8
8
|
next: z.ZodNullable<z.ZodString>;
|
|
9
|
-
},
|
|
10
|
-
first: string | null;
|
|
11
|
-
last: string | null;
|
|
12
|
-
prev: string | null;
|
|
13
|
-
next: string | null;
|
|
14
|
-
}, {
|
|
15
|
-
first: string | null;
|
|
16
|
-
last: string | null;
|
|
17
|
-
prev: string | null;
|
|
18
|
-
next: string | null;
|
|
19
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
20
10
|
declare const PaginationMetaSchema: z.ZodObject<{
|
|
21
11
|
current_page: z.ZodNumber;
|
|
22
12
|
from: z.ZodNullable<z.ZodNumber>;
|
|
@@ -25,64 +15,20 @@ declare const PaginationMetaSchema: z.ZodObject<{
|
|
|
25
15
|
url: z.ZodNullable<z.ZodString>;
|
|
26
16
|
label: z.ZodString;
|
|
27
17
|
active: z.ZodBoolean;
|
|
28
|
-
},
|
|
29
|
-
url: string | null;
|
|
30
|
-
label: string;
|
|
31
|
-
active: boolean;
|
|
32
|
-
}, {
|
|
33
|
-
url: string | null;
|
|
34
|
-
label: string;
|
|
35
|
-
active: boolean;
|
|
36
|
-
}>, "many">;
|
|
18
|
+
}, z.core.$strip>>;
|
|
37
19
|
path: z.ZodString;
|
|
38
20
|
per_page: z.ZodNumber;
|
|
39
21
|
to: z.ZodNullable<z.ZodNumber>;
|
|
40
22
|
total: z.ZodNumber;
|
|
41
|
-
},
|
|
42
|
-
path: string;
|
|
43
|
-
current_page: number;
|
|
44
|
-
from: number | null;
|
|
45
|
-
last_page: number;
|
|
46
|
-
links: {
|
|
47
|
-
url: string | null;
|
|
48
|
-
label: string;
|
|
49
|
-
active: boolean;
|
|
50
|
-
}[];
|
|
51
|
-
per_page: number;
|
|
52
|
-
to: number | null;
|
|
53
|
-
total: number;
|
|
54
|
-
}, {
|
|
55
|
-
path: string;
|
|
56
|
-
current_page: number;
|
|
57
|
-
from: number | null;
|
|
58
|
-
last_page: number;
|
|
59
|
-
links: {
|
|
60
|
-
url: string | null;
|
|
61
|
-
label: string;
|
|
62
|
-
active: boolean;
|
|
63
|
-
}[];
|
|
64
|
-
per_page: number;
|
|
65
|
-
to: number | null;
|
|
66
|
-
total: number;
|
|
67
|
-
}>;
|
|
23
|
+
}, z.core.$strip>;
|
|
68
24
|
declare const PaginatedResponseSchema: <T extends z.ZodTypeAny>(dataSchema: T) => z.ZodObject<{
|
|
69
|
-
data: z.ZodArray<T
|
|
25
|
+
data: z.ZodArray<T>;
|
|
70
26
|
links: z.ZodObject<{
|
|
71
27
|
first: z.ZodNullable<z.ZodString>;
|
|
72
28
|
last: z.ZodNullable<z.ZodString>;
|
|
73
29
|
prev: z.ZodNullable<z.ZodString>;
|
|
74
30
|
next: z.ZodNullable<z.ZodString>;
|
|
75
|
-
},
|
|
76
|
-
first: string | null;
|
|
77
|
-
last: string | null;
|
|
78
|
-
prev: string | null;
|
|
79
|
-
next: string | null;
|
|
80
|
-
}, {
|
|
81
|
-
first: string | null;
|
|
82
|
-
last: string | null;
|
|
83
|
-
prev: string | null;
|
|
84
|
-
next: string | null;
|
|
85
|
-
}>;
|
|
31
|
+
}, z.core.$strip>;
|
|
86
32
|
meta: z.ZodObject<{
|
|
87
33
|
current_page: z.ZodNumber;
|
|
88
34
|
from: z.ZodNullable<z.ZodNumber>;
|
|
@@ -91,101 +37,17 @@ declare const PaginatedResponseSchema: <T extends z.ZodTypeAny>(dataSchema: T) =
|
|
|
91
37
|
url: z.ZodNullable<z.ZodString>;
|
|
92
38
|
label: z.ZodString;
|
|
93
39
|
active: z.ZodBoolean;
|
|
94
|
-
},
|
|
95
|
-
url: string | null;
|
|
96
|
-
label: string;
|
|
97
|
-
active: boolean;
|
|
98
|
-
}, {
|
|
99
|
-
url: string | null;
|
|
100
|
-
label: string;
|
|
101
|
-
active: boolean;
|
|
102
|
-
}>, "many">;
|
|
40
|
+
}, z.core.$strip>>;
|
|
103
41
|
path: z.ZodString;
|
|
104
42
|
per_page: z.ZodNumber;
|
|
105
43
|
to: z.ZodNullable<z.ZodNumber>;
|
|
106
44
|
total: z.ZodNumber;
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
current_page: number;
|
|
110
|
-
from: number | null;
|
|
111
|
-
last_page: number;
|
|
112
|
-
links: {
|
|
113
|
-
url: string | null;
|
|
114
|
-
label: string;
|
|
115
|
-
active: boolean;
|
|
116
|
-
}[];
|
|
117
|
-
per_page: number;
|
|
118
|
-
to: number | null;
|
|
119
|
-
total: number;
|
|
120
|
-
}, {
|
|
121
|
-
path: string;
|
|
122
|
-
current_page: number;
|
|
123
|
-
from: number | null;
|
|
124
|
-
last_page: number;
|
|
125
|
-
links: {
|
|
126
|
-
url: string | null;
|
|
127
|
-
label: string;
|
|
128
|
-
active: boolean;
|
|
129
|
-
}[];
|
|
130
|
-
per_page: number;
|
|
131
|
-
to: number | null;
|
|
132
|
-
total: number;
|
|
133
|
-
}>;
|
|
134
|
-
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
links: {
|
|
136
|
-
first: string | null;
|
|
137
|
-
last: string | null;
|
|
138
|
-
prev: string | null;
|
|
139
|
-
next: string | null;
|
|
140
|
-
};
|
|
141
|
-
data: T["_output"][];
|
|
142
|
-
meta: {
|
|
143
|
-
path: string;
|
|
144
|
-
current_page: number;
|
|
145
|
-
from: number | null;
|
|
146
|
-
last_page: number;
|
|
147
|
-
links: {
|
|
148
|
-
url: string | null;
|
|
149
|
-
label: string;
|
|
150
|
-
active: boolean;
|
|
151
|
-
}[];
|
|
152
|
-
per_page: number;
|
|
153
|
-
to: number | null;
|
|
154
|
-
total: number;
|
|
155
|
-
};
|
|
156
|
-
}, {
|
|
157
|
-
links: {
|
|
158
|
-
first: string | null;
|
|
159
|
-
last: string | null;
|
|
160
|
-
prev: string | null;
|
|
161
|
-
next: string | null;
|
|
162
|
-
};
|
|
163
|
-
data: T["_input"][];
|
|
164
|
-
meta: {
|
|
165
|
-
path: string;
|
|
166
|
-
current_page: number;
|
|
167
|
-
from: number | null;
|
|
168
|
-
last_page: number;
|
|
169
|
-
links: {
|
|
170
|
-
url: string | null;
|
|
171
|
-
label: string;
|
|
172
|
-
active: boolean;
|
|
173
|
-
}[];
|
|
174
|
-
per_page: number;
|
|
175
|
-
to: number | null;
|
|
176
|
-
total: number;
|
|
177
|
-
};
|
|
178
|
-
}>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
}, z.core.$strip>;
|
|
179
47
|
declare const ApiErrorSchema: z.ZodObject<{
|
|
180
48
|
message: z.ZodString;
|
|
181
|
-
errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString
|
|
182
|
-
},
|
|
183
|
-
message: string;
|
|
184
|
-
errors?: Record<string, string[]> | undefined;
|
|
185
|
-
}, {
|
|
186
|
-
message: string;
|
|
187
|
-
errors?: Record<string, string[]> | undefined;
|
|
188
|
-
}>;
|
|
49
|
+
errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
189
51
|
type PaginationLinks = z.infer<typeof PaginationLinksSchema>;
|
|
190
52
|
type PaginationMeta = z.infer<typeof PaginationMetaSchema>;
|
|
191
53
|
type PaginatedResponse<T> = {
|
|
@@ -199,15 +61,7 @@ declare const PropertyImageSchema: z.ZodObject<{
|
|
|
199
61
|
id: z.ZodNumber;
|
|
200
62
|
url: z.ZodString;
|
|
201
63
|
alt: z.ZodOptional<z.ZodString>;
|
|
202
|
-
},
|
|
203
|
-
id: number;
|
|
204
|
-
url: string;
|
|
205
|
-
alt?: string | undefined;
|
|
206
|
-
}, {
|
|
207
|
-
id: number;
|
|
208
|
-
url: string;
|
|
209
|
-
alt?: string | undefined;
|
|
210
|
-
}>;
|
|
64
|
+
}, z.core.$strip>;
|
|
211
65
|
declare const PropertySchema: z.ZodObject<{
|
|
212
66
|
id: z.ZodNumber;
|
|
213
67
|
external_id: z.ZodNullable<z.ZodString>;
|
|
@@ -248,9 +102,9 @@ declare const PropertySchema: z.ZodObject<{
|
|
|
248
102
|
heating: z.ZodBoolean;
|
|
249
103
|
internet: z.ZodNullable<z.ZodString>;
|
|
250
104
|
internet_connection: z.ZodNullable<z.ZodString>;
|
|
251
|
-
tv: z.ZodString
|
|
105
|
+
tv: z.ZodNullable<z.ZodString>;
|
|
252
106
|
tv_connection: z.ZodNullable<z.ZodString>;
|
|
253
|
-
dvd: z.ZodString
|
|
107
|
+
dvd: z.ZodNullable<z.ZodString>;
|
|
254
108
|
computer: z.ZodBoolean;
|
|
255
109
|
printer: z.ZodBoolean;
|
|
256
110
|
dishwasher: z.ZodBoolean;
|
|
@@ -271,9 +125,9 @@ declare const PropertySchema: z.ZodObject<{
|
|
|
271
125
|
shower_regular: z.ZodBoolean;
|
|
272
126
|
shower_steam: z.ZodBoolean;
|
|
273
127
|
hairdryer: z.ZodBoolean;
|
|
274
|
-
swimmingpool: z.ZodString
|
|
275
|
-
sauna: z.ZodString
|
|
276
|
-
parking: z.ZodString
|
|
128
|
+
swimmingpool: z.ZodNullable<z.ZodString>;
|
|
129
|
+
sauna: z.ZodNullable<z.ZodString>;
|
|
130
|
+
parking: z.ZodNullable<z.ZodString>;
|
|
277
131
|
elevator: z.ZodNullable<z.ZodBoolean>;
|
|
278
132
|
entresol: z.ZodBoolean;
|
|
279
133
|
wheelchair_friendly: z.ZodBoolean;
|
|
@@ -295,6 +149,7 @@ declare const PropertySchema: z.ZodObject<{
|
|
|
295
149
|
tax_other_type: z.ZodNullable<z.ZodString>;
|
|
296
150
|
minimal_nights: z.ZodNullable<z.ZodNumber>;
|
|
297
151
|
maximal_nights: z.ZodNullable<z.ZodNumber>;
|
|
152
|
+
min_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
298
153
|
available_start: z.ZodNullable<z.ZodString>;
|
|
299
154
|
available_end: z.ZodNullable<z.ZodString>;
|
|
300
155
|
check_in: z.ZodNullable<z.ZodString>;
|
|
@@ -307,255 +162,19 @@ declare const PropertySchema: z.ZodObject<{
|
|
|
307
162
|
large_url: z.ZodString;
|
|
308
163
|
srcset: z.ZodString;
|
|
309
164
|
url: z.ZodString;
|
|
310
|
-
},
|
|
311
|
-
id: number;
|
|
312
|
-
alt: string;
|
|
313
|
-
small_url: string;
|
|
314
|
-
medium_url: string;
|
|
315
|
-
large_url: string;
|
|
316
|
-
srcset: string;
|
|
317
|
-
url: string;
|
|
318
|
-
}, {
|
|
319
|
-
id: number;
|
|
320
|
-
alt: string;
|
|
321
|
-
small_url: string;
|
|
322
|
-
medium_url: string;
|
|
323
|
-
large_url: string;
|
|
324
|
-
srcset: string;
|
|
325
|
-
url: string;
|
|
326
|
-
}>, "many">>;
|
|
165
|
+
}, z.core.$strip>>>;
|
|
327
166
|
status: z.ZodNullable<z.ZodString>;
|
|
328
167
|
provider_name: z.ZodNullable<z.ZodString>;
|
|
329
168
|
created_at: z.ZodString;
|
|
330
169
|
updated_at: z.ZodString;
|
|
331
|
-
},
|
|
332
|
-
type: string | null;
|
|
333
|
-
status: string | null;
|
|
334
|
-
id: number;
|
|
335
|
-
external_id: string | null;
|
|
336
|
-
name: string;
|
|
337
|
-
slug: string;
|
|
338
|
-
short_description: string | null;
|
|
339
|
-
description: string;
|
|
340
|
-
area_description: string | null;
|
|
341
|
-
arrival_description: string | null;
|
|
342
|
-
payment_description: string | null;
|
|
343
|
-
max_persons: number | null;
|
|
344
|
-
bedrooms: number | null;
|
|
345
|
-
bathrooms: number | null;
|
|
346
|
-
toilets: number | null;
|
|
347
|
-
size: number | null;
|
|
348
|
-
floor: number | null;
|
|
349
|
-
stairs: boolean | null;
|
|
350
|
-
street: string | null;
|
|
351
|
-
zipcode: string | null;
|
|
352
|
-
area: string | null;
|
|
353
|
-
city: string;
|
|
354
|
-
country: string;
|
|
355
|
-
latitude: number;
|
|
356
|
-
longitude: number;
|
|
357
|
-
single_bed: number | null;
|
|
358
|
-
double_bed: number | null;
|
|
359
|
-
single_sofa: number | null;
|
|
360
|
-
double_sofa: number | null;
|
|
361
|
-
single_bunk: number | null;
|
|
362
|
-
balcony: boolean;
|
|
363
|
-
patio: boolean | null;
|
|
364
|
-
garden: boolean | null;
|
|
365
|
-
roof_terrace: boolean | null;
|
|
366
|
-
view: string | null;
|
|
367
|
-
airco: boolean;
|
|
368
|
-
fans: boolean;
|
|
369
|
-
heating: boolean;
|
|
370
|
-
internet: string | null;
|
|
371
|
-
internet_connection: string | null;
|
|
372
|
-
tv: string;
|
|
373
|
-
tv_connection: string | null;
|
|
374
|
-
dvd: string;
|
|
375
|
-
computer: boolean;
|
|
376
|
-
printer: boolean;
|
|
377
|
-
dishwasher: boolean;
|
|
378
|
-
oven: boolean;
|
|
379
|
-
microwave: boolean;
|
|
380
|
-
grill: number | null;
|
|
381
|
-
hob: number | null;
|
|
382
|
-
fridge: boolean;
|
|
383
|
-
freezer: boolean;
|
|
384
|
-
toaster: boolean;
|
|
385
|
-
kettle: boolean;
|
|
386
|
-
coffeemachine: boolean;
|
|
387
|
-
washingmachine: boolean;
|
|
388
|
-
dryer: boolean;
|
|
389
|
-
iron: boolean;
|
|
390
|
-
bathtub: boolean;
|
|
391
|
-
jacuzzi: boolean;
|
|
392
|
-
shower_regular: boolean;
|
|
393
|
-
shower_steam: boolean;
|
|
394
|
-
hairdryer: boolean;
|
|
395
|
-
swimmingpool: string;
|
|
396
|
-
sauna: string;
|
|
397
|
-
parking: string;
|
|
398
|
-
elevator: boolean | null;
|
|
399
|
-
entresol: boolean;
|
|
400
|
-
wheelchair_friendly: boolean;
|
|
401
|
-
smoking_allowed: boolean;
|
|
402
|
-
pets_allowed: boolean;
|
|
403
|
-
supplies_coffee: boolean;
|
|
404
|
-
supplies_tea: boolean;
|
|
405
|
-
supplies_milk: boolean;
|
|
406
|
-
supplies_sugar: boolean;
|
|
407
|
-
supplies_dishwasher_tablets: boolean;
|
|
408
|
-
service_linen: boolean;
|
|
409
|
-
service_towels: boolean;
|
|
410
|
-
cleaning_costs: number | null;
|
|
411
|
-
deposit_costs: number | null;
|
|
412
|
-
prepayment: number | null;
|
|
413
|
-
fee: number | null;
|
|
414
|
-
tax_vat: number | null;
|
|
415
|
-
tax_other: number | null;
|
|
416
|
-
tax_other_type: string | null;
|
|
417
|
-
minimal_nights: number | null;
|
|
418
|
-
maximal_nights: number | null;
|
|
419
|
-
available_start: string | null;
|
|
420
|
-
available_end: string | null;
|
|
421
|
-
check_in: string | null;
|
|
422
|
-
check_out: string | null;
|
|
423
|
-
provider_name: string | null;
|
|
424
|
-
created_at: string;
|
|
425
|
-
updated_at: string;
|
|
426
|
-
images?: {
|
|
427
|
-
id: number;
|
|
428
|
-
alt: string;
|
|
429
|
-
small_url: string;
|
|
430
|
-
medium_url: string;
|
|
431
|
-
large_url: string;
|
|
432
|
-
srcset: string;
|
|
433
|
-
url: string;
|
|
434
|
-
}[] | undefined;
|
|
435
|
-
}, {
|
|
436
|
-
type: string | null;
|
|
437
|
-
status: string | null;
|
|
438
|
-
id: number;
|
|
439
|
-
external_id: string | null;
|
|
440
|
-
name: string;
|
|
441
|
-
slug: string;
|
|
442
|
-
short_description: string | null;
|
|
443
|
-
description: string;
|
|
444
|
-
area_description: string | null;
|
|
445
|
-
arrival_description: string | null;
|
|
446
|
-
payment_description: string | null;
|
|
447
|
-
max_persons: number | null;
|
|
448
|
-
bedrooms: number | null;
|
|
449
|
-
bathrooms: number | null;
|
|
450
|
-
toilets: number | null;
|
|
451
|
-
size: number | null;
|
|
452
|
-
floor: number | null;
|
|
453
|
-
stairs: boolean | null;
|
|
454
|
-
street: string | null;
|
|
455
|
-
zipcode: string | null;
|
|
456
|
-
area: string | null;
|
|
457
|
-
city: string;
|
|
458
|
-
country: string;
|
|
459
|
-
latitude: number;
|
|
460
|
-
longitude: number;
|
|
461
|
-
single_bed: number | null;
|
|
462
|
-
double_bed: number | null;
|
|
463
|
-
single_sofa: number | null;
|
|
464
|
-
double_sofa: number | null;
|
|
465
|
-
single_bunk: number | null;
|
|
466
|
-
balcony: boolean;
|
|
467
|
-
patio: boolean | null;
|
|
468
|
-
garden: boolean | null;
|
|
469
|
-
roof_terrace: boolean | null;
|
|
470
|
-
view: string | null;
|
|
471
|
-
airco: boolean;
|
|
472
|
-
fans: boolean;
|
|
473
|
-
heating: boolean;
|
|
474
|
-
internet: string | null;
|
|
475
|
-
internet_connection: string | null;
|
|
476
|
-
tv: string;
|
|
477
|
-
tv_connection: string | null;
|
|
478
|
-
dvd: string;
|
|
479
|
-
computer: boolean;
|
|
480
|
-
printer: boolean;
|
|
481
|
-
dishwasher: boolean;
|
|
482
|
-
oven: boolean;
|
|
483
|
-
microwave: boolean;
|
|
484
|
-
grill: number | null;
|
|
485
|
-
hob: number | null;
|
|
486
|
-
fridge: boolean;
|
|
487
|
-
freezer: boolean;
|
|
488
|
-
toaster: boolean;
|
|
489
|
-
kettle: boolean;
|
|
490
|
-
coffeemachine: boolean;
|
|
491
|
-
washingmachine: boolean;
|
|
492
|
-
dryer: boolean;
|
|
493
|
-
iron: boolean;
|
|
494
|
-
bathtub: boolean;
|
|
495
|
-
jacuzzi: boolean;
|
|
496
|
-
shower_regular: boolean;
|
|
497
|
-
shower_steam: boolean;
|
|
498
|
-
hairdryer: boolean;
|
|
499
|
-
swimmingpool: string;
|
|
500
|
-
sauna: string;
|
|
501
|
-
parking: string;
|
|
502
|
-
elevator: boolean | null;
|
|
503
|
-
entresol: boolean;
|
|
504
|
-
wheelchair_friendly: boolean;
|
|
505
|
-
smoking_allowed: boolean;
|
|
506
|
-
pets_allowed: boolean;
|
|
507
|
-
supplies_coffee: boolean;
|
|
508
|
-
supplies_tea: boolean;
|
|
509
|
-
supplies_milk: boolean;
|
|
510
|
-
supplies_sugar: boolean;
|
|
511
|
-
supplies_dishwasher_tablets: boolean;
|
|
512
|
-
service_linen: boolean;
|
|
513
|
-
service_towels: boolean;
|
|
514
|
-
cleaning_costs: number | null;
|
|
515
|
-
deposit_costs: number | null;
|
|
516
|
-
prepayment: number | null;
|
|
517
|
-
fee: number | null;
|
|
518
|
-
tax_vat: number | null;
|
|
519
|
-
tax_other: number | null;
|
|
520
|
-
tax_other_type: string | null;
|
|
521
|
-
minimal_nights: number | null;
|
|
522
|
-
maximal_nights: number | null;
|
|
523
|
-
available_start: string | null;
|
|
524
|
-
available_end: string | null;
|
|
525
|
-
check_in: string | null;
|
|
526
|
-
check_out: string | null;
|
|
527
|
-
provider_name: string | null;
|
|
528
|
-
created_at: string;
|
|
529
|
-
updated_at: string;
|
|
530
|
-
images?: {
|
|
531
|
-
id: number;
|
|
532
|
-
alt: string;
|
|
533
|
-
small_url: string;
|
|
534
|
-
medium_url: string;
|
|
535
|
-
large_url: string;
|
|
536
|
-
srcset: string;
|
|
537
|
-
url: string;
|
|
538
|
-
}[] | undefined;
|
|
539
|
-
}>;
|
|
170
|
+
}, z.core.$strip>;
|
|
540
171
|
declare const AvailableDay: z.ZodObject<{
|
|
541
172
|
available: z.ZodBoolean;
|
|
542
173
|
morning_available: z.ZodBoolean;
|
|
543
174
|
date: z.ZodString;
|
|
544
175
|
day: z.ZodNumber;
|
|
545
176
|
stay_minimum: z.ZodNumber;
|
|
546
|
-
},
|
|
547
|
-
date: string;
|
|
548
|
-
available: boolean;
|
|
549
|
-
morning_available: boolean;
|
|
550
|
-
day: number;
|
|
551
|
-
stay_minimum: number;
|
|
552
|
-
}, {
|
|
553
|
-
date: string;
|
|
554
|
-
available: boolean;
|
|
555
|
-
morning_available: boolean;
|
|
556
|
-
day: number;
|
|
557
|
-
stay_minimum: number;
|
|
558
|
-
}>;
|
|
177
|
+
}, z.core.$strip>;
|
|
559
178
|
declare const AvailabilitySchema: z.ZodObject<{
|
|
560
179
|
days: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
561
180
|
available: z.ZodBoolean;
|
|
@@ -563,36 +182,8 @@ declare const AvailabilitySchema: z.ZodObject<{
|
|
|
563
182
|
date: z.ZodString;
|
|
564
183
|
day: z.ZodNumber;
|
|
565
184
|
stay_minimum: z.ZodNumber;
|
|
566
|
-
},
|
|
567
|
-
|
|
568
|
-
available: boolean;
|
|
569
|
-
morning_available: boolean;
|
|
570
|
-
day: number;
|
|
571
|
-
stay_minimum: number;
|
|
572
|
-
}, {
|
|
573
|
-
date: string;
|
|
574
|
-
available: boolean;
|
|
575
|
-
morning_available: boolean;
|
|
576
|
-
day: number;
|
|
577
|
-
stay_minimum: number;
|
|
578
|
-
}>>;
|
|
579
|
-
}, "strip", z.ZodTypeAny, {
|
|
580
|
-
days: Record<string, {
|
|
581
|
-
date: string;
|
|
582
|
-
available: boolean;
|
|
583
|
-
morning_available: boolean;
|
|
584
|
-
day: number;
|
|
585
|
-
stay_minimum: number;
|
|
586
|
-
}>;
|
|
587
|
-
}, {
|
|
588
|
-
days: Record<string, {
|
|
589
|
-
date: string;
|
|
590
|
-
available: boolean;
|
|
591
|
-
morning_available: boolean;
|
|
592
|
-
day: number;
|
|
593
|
-
stay_minimum: number;
|
|
594
|
-
}>;
|
|
595
|
-
}>;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
}, z.core.$strip>;
|
|
596
187
|
declare const PropertySearchParamsSchema: z.ZodObject<{
|
|
597
188
|
arrival: z.ZodOptional<z.ZodString>;
|
|
598
189
|
departure: z.ZodOptional<z.ZodString>;
|
|
@@ -608,37 +199,7 @@ declare const PropertySearchParamsSchema: z.ZodObject<{
|
|
|
608
199
|
elevator: z.ZodOptional<z.ZodBoolean>;
|
|
609
200
|
parking: z.ZodOptional<z.ZodString>;
|
|
610
201
|
balcony: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
-
},
|
|
612
|
-
bedrooms?: number | undefined;
|
|
613
|
-
bathrooms?: number | undefined;
|
|
614
|
-
area?: string | undefined;
|
|
615
|
-
city?: string | undefined;
|
|
616
|
-
balcony?: boolean | undefined;
|
|
617
|
-
parking?: string | undefined;
|
|
618
|
-
elevator?: boolean | undefined;
|
|
619
|
-
arrival?: string | undefined;
|
|
620
|
-
departure?: string | undefined;
|
|
621
|
-
guests?: number | undefined;
|
|
622
|
-
destination?: string | undefined;
|
|
623
|
-
segment?: string | undefined;
|
|
624
|
-
propertyType?: string | undefined;
|
|
625
|
-
maxPersons?: number | undefined;
|
|
626
|
-
}, {
|
|
627
|
-
bedrooms?: number | undefined;
|
|
628
|
-
bathrooms?: number | undefined;
|
|
629
|
-
area?: string | undefined;
|
|
630
|
-
city?: string | undefined;
|
|
631
|
-
balcony?: boolean | undefined;
|
|
632
|
-
parking?: string | undefined;
|
|
633
|
-
elevator?: boolean | undefined;
|
|
634
|
-
arrival?: string | undefined;
|
|
635
|
-
departure?: string | undefined;
|
|
636
|
-
guests?: number | undefined;
|
|
637
|
-
destination?: string | undefined;
|
|
638
|
-
segment?: string | undefined;
|
|
639
|
-
propertyType?: string | undefined;
|
|
640
|
-
maxPersons?: number | undefined;
|
|
641
|
-
}>;
|
|
202
|
+
}, z.core.$strip>;
|
|
642
203
|
declare const PropertySearchResultSchema: z.ZodObject<{
|
|
643
204
|
data: z.ZodArray<z.ZodObject<{
|
|
644
205
|
id: z.ZodNumber;
|
|
@@ -680,9 +241,9 @@ declare const PropertySearchResultSchema: z.ZodObject<{
|
|
|
680
241
|
heating: z.ZodBoolean;
|
|
681
242
|
internet: z.ZodNullable<z.ZodString>;
|
|
682
243
|
internet_connection: z.ZodNullable<z.ZodString>;
|
|
683
|
-
tv: z.ZodString
|
|
244
|
+
tv: z.ZodNullable<z.ZodString>;
|
|
684
245
|
tv_connection: z.ZodNullable<z.ZodString>;
|
|
685
|
-
dvd: z.ZodString
|
|
246
|
+
dvd: z.ZodNullable<z.ZodString>;
|
|
686
247
|
computer: z.ZodBoolean;
|
|
687
248
|
printer: z.ZodBoolean;
|
|
688
249
|
dishwasher: z.ZodBoolean;
|
|
@@ -703,9 +264,9 @@ declare const PropertySearchResultSchema: z.ZodObject<{
|
|
|
703
264
|
shower_regular: z.ZodBoolean;
|
|
704
265
|
shower_steam: z.ZodBoolean;
|
|
705
266
|
hairdryer: z.ZodBoolean;
|
|
706
|
-
swimmingpool: z.ZodString
|
|
707
|
-
sauna: z.ZodString
|
|
708
|
-
parking: z.ZodString
|
|
267
|
+
swimmingpool: z.ZodNullable<z.ZodString>;
|
|
268
|
+
sauna: z.ZodNullable<z.ZodString>;
|
|
269
|
+
parking: z.ZodNullable<z.ZodString>;
|
|
709
270
|
elevator: z.ZodNullable<z.ZodBoolean>;
|
|
710
271
|
entresol: z.ZodBoolean;
|
|
711
272
|
wheelchair_friendly: z.ZodBoolean;
|
|
@@ -727,6 +288,7 @@ declare const PropertySearchResultSchema: z.ZodObject<{
|
|
|
727
288
|
tax_other_type: z.ZodNullable<z.ZodString>;
|
|
728
289
|
minimal_nights: z.ZodNullable<z.ZodNumber>;
|
|
729
290
|
maximal_nights: z.ZodNullable<z.ZodNumber>;
|
|
291
|
+
min_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
730
292
|
available_start: z.ZodNullable<z.ZodString>;
|
|
731
293
|
available_end: z.ZodNullable<z.ZodString>;
|
|
732
294
|
check_in: z.ZodNullable<z.ZodString>;
|
|
@@ -739,586 +301,38 @@ declare const PropertySearchResultSchema: z.ZodObject<{
|
|
|
739
301
|
large_url: z.ZodString;
|
|
740
302
|
srcset: z.ZodString;
|
|
741
303
|
url: z.ZodString;
|
|
742
|
-
},
|
|
743
|
-
id: number;
|
|
744
|
-
alt: string;
|
|
745
|
-
small_url: string;
|
|
746
|
-
medium_url: string;
|
|
747
|
-
large_url: string;
|
|
748
|
-
srcset: string;
|
|
749
|
-
url: string;
|
|
750
|
-
}, {
|
|
751
|
-
id: number;
|
|
752
|
-
alt: string;
|
|
753
|
-
small_url: string;
|
|
754
|
-
medium_url: string;
|
|
755
|
-
large_url: string;
|
|
756
|
-
srcset: string;
|
|
757
|
-
url: string;
|
|
758
|
-
}>, "many">>;
|
|
304
|
+
}, z.core.$strip>>>;
|
|
759
305
|
status: z.ZodNullable<z.ZodString>;
|
|
760
306
|
provider_name: z.ZodNullable<z.ZodString>;
|
|
761
307
|
created_at: z.ZodString;
|
|
762
308
|
updated_at: z.ZodString;
|
|
763
|
-
},
|
|
764
|
-
|
|
765
|
-
status: string | null;
|
|
766
|
-
id: number;
|
|
767
|
-
external_id: string | null;
|
|
768
|
-
name: string;
|
|
769
|
-
slug: string;
|
|
770
|
-
short_description: string | null;
|
|
771
|
-
description: string;
|
|
772
|
-
area_description: string | null;
|
|
773
|
-
arrival_description: string | null;
|
|
774
|
-
payment_description: string | null;
|
|
775
|
-
max_persons: number | null;
|
|
776
|
-
bedrooms: number | null;
|
|
777
|
-
bathrooms: number | null;
|
|
778
|
-
toilets: number | null;
|
|
779
|
-
size: number | null;
|
|
780
|
-
floor: number | null;
|
|
781
|
-
stairs: boolean | null;
|
|
782
|
-
street: string | null;
|
|
783
|
-
zipcode: string | null;
|
|
784
|
-
area: string | null;
|
|
785
|
-
city: string;
|
|
786
|
-
country: string;
|
|
787
|
-
latitude: number;
|
|
788
|
-
longitude: number;
|
|
789
|
-
single_bed: number | null;
|
|
790
|
-
double_bed: number | null;
|
|
791
|
-
single_sofa: number | null;
|
|
792
|
-
double_sofa: number | null;
|
|
793
|
-
single_bunk: number | null;
|
|
794
|
-
balcony: boolean;
|
|
795
|
-
patio: boolean | null;
|
|
796
|
-
garden: boolean | null;
|
|
797
|
-
roof_terrace: boolean | null;
|
|
798
|
-
view: string | null;
|
|
799
|
-
airco: boolean;
|
|
800
|
-
fans: boolean;
|
|
801
|
-
heating: boolean;
|
|
802
|
-
internet: string | null;
|
|
803
|
-
internet_connection: string | null;
|
|
804
|
-
tv: string;
|
|
805
|
-
tv_connection: string | null;
|
|
806
|
-
dvd: string;
|
|
807
|
-
computer: boolean;
|
|
808
|
-
printer: boolean;
|
|
809
|
-
dishwasher: boolean;
|
|
810
|
-
oven: boolean;
|
|
811
|
-
microwave: boolean;
|
|
812
|
-
grill: number | null;
|
|
813
|
-
hob: number | null;
|
|
814
|
-
fridge: boolean;
|
|
815
|
-
freezer: boolean;
|
|
816
|
-
toaster: boolean;
|
|
817
|
-
kettle: boolean;
|
|
818
|
-
coffeemachine: boolean;
|
|
819
|
-
washingmachine: boolean;
|
|
820
|
-
dryer: boolean;
|
|
821
|
-
iron: boolean;
|
|
822
|
-
bathtub: boolean;
|
|
823
|
-
jacuzzi: boolean;
|
|
824
|
-
shower_regular: boolean;
|
|
825
|
-
shower_steam: boolean;
|
|
826
|
-
hairdryer: boolean;
|
|
827
|
-
swimmingpool: string;
|
|
828
|
-
sauna: string;
|
|
829
|
-
parking: string;
|
|
830
|
-
elevator: boolean | null;
|
|
831
|
-
entresol: boolean;
|
|
832
|
-
wheelchair_friendly: boolean;
|
|
833
|
-
smoking_allowed: boolean;
|
|
834
|
-
pets_allowed: boolean;
|
|
835
|
-
supplies_coffee: boolean;
|
|
836
|
-
supplies_tea: boolean;
|
|
837
|
-
supplies_milk: boolean;
|
|
838
|
-
supplies_sugar: boolean;
|
|
839
|
-
supplies_dishwasher_tablets: boolean;
|
|
840
|
-
service_linen: boolean;
|
|
841
|
-
service_towels: boolean;
|
|
842
|
-
cleaning_costs: number | null;
|
|
843
|
-
deposit_costs: number | null;
|
|
844
|
-
prepayment: number | null;
|
|
845
|
-
fee: number | null;
|
|
846
|
-
tax_vat: number | null;
|
|
847
|
-
tax_other: number | null;
|
|
848
|
-
tax_other_type: string | null;
|
|
849
|
-
minimal_nights: number | null;
|
|
850
|
-
maximal_nights: number | null;
|
|
851
|
-
available_start: string | null;
|
|
852
|
-
available_end: string | null;
|
|
853
|
-
check_in: string | null;
|
|
854
|
-
check_out: string | null;
|
|
855
|
-
provider_name: string | null;
|
|
856
|
-
created_at: string;
|
|
857
|
-
updated_at: string;
|
|
858
|
-
images?: {
|
|
859
|
-
id: number;
|
|
860
|
-
alt: string;
|
|
861
|
-
small_url: string;
|
|
862
|
-
medium_url: string;
|
|
863
|
-
large_url: string;
|
|
864
|
-
srcset: string;
|
|
865
|
-
url: string;
|
|
866
|
-
}[] | undefined;
|
|
867
|
-
}, {
|
|
868
|
-
type: string | null;
|
|
869
|
-
status: string | null;
|
|
870
|
-
id: number;
|
|
871
|
-
external_id: string | null;
|
|
872
|
-
name: string;
|
|
873
|
-
slug: string;
|
|
874
|
-
short_description: string | null;
|
|
875
|
-
description: string;
|
|
876
|
-
area_description: string | null;
|
|
877
|
-
arrival_description: string | null;
|
|
878
|
-
payment_description: string | null;
|
|
879
|
-
max_persons: number | null;
|
|
880
|
-
bedrooms: number | null;
|
|
881
|
-
bathrooms: number | null;
|
|
882
|
-
toilets: number | null;
|
|
883
|
-
size: number | null;
|
|
884
|
-
floor: number | null;
|
|
885
|
-
stairs: boolean | null;
|
|
886
|
-
street: string | null;
|
|
887
|
-
zipcode: string | null;
|
|
888
|
-
area: string | null;
|
|
889
|
-
city: string;
|
|
890
|
-
country: string;
|
|
891
|
-
latitude: number;
|
|
892
|
-
longitude: number;
|
|
893
|
-
single_bed: number | null;
|
|
894
|
-
double_bed: number | null;
|
|
895
|
-
single_sofa: number | null;
|
|
896
|
-
double_sofa: number | null;
|
|
897
|
-
single_bunk: number | null;
|
|
898
|
-
balcony: boolean;
|
|
899
|
-
patio: boolean | null;
|
|
900
|
-
garden: boolean | null;
|
|
901
|
-
roof_terrace: boolean | null;
|
|
902
|
-
view: string | null;
|
|
903
|
-
airco: boolean;
|
|
904
|
-
fans: boolean;
|
|
905
|
-
heating: boolean;
|
|
906
|
-
internet: string | null;
|
|
907
|
-
internet_connection: string | null;
|
|
908
|
-
tv: string;
|
|
909
|
-
tv_connection: string | null;
|
|
910
|
-
dvd: string;
|
|
911
|
-
computer: boolean;
|
|
912
|
-
printer: boolean;
|
|
913
|
-
dishwasher: boolean;
|
|
914
|
-
oven: boolean;
|
|
915
|
-
microwave: boolean;
|
|
916
|
-
grill: number | null;
|
|
917
|
-
hob: number | null;
|
|
918
|
-
fridge: boolean;
|
|
919
|
-
freezer: boolean;
|
|
920
|
-
toaster: boolean;
|
|
921
|
-
kettle: boolean;
|
|
922
|
-
coffeemachine: boolean;
|
|
923
|
-
washingmachine: boolean;
|
|
924
|
-
dryer: boolean;
|
|
925
|
-
iron: boolean;
|
|
926
|
-
bathtub: boolean;
|
|
927
|
-
jacuzzi: boolean;
|
|
928
|
-
shower_regular: boolean;
|
|
929
|
-
shower_steam: boolean;
|
|
930
|
-
hairdryer: boolean;
|
|
931
|
-
swimmingpool: string;
|
|
932
|
-
sauna: string;
|
|
933
|
-
parking: string;
|
|
934
|
-
elevator: boolean | null;
|
|
935
|
-
entresol: boolean;
|
|
936
|
-
wheelchair_friendly: boolean;
|
|
937
|
-
smoking_allowed: boolean;
|
|
938
|
-
pets_allowed: boolean;
|
|
939
|
-
supplies_coffee: boolean;
|
|
940
|
-
supplies_tea: boolean;
|
|
941
|
-
supplies_milk: boolean;
|
|
942
|
-
supplies_sugar: boolean;
|
|
943
|
-
supplies_dishwasher_tablets: boolean;
|
|
944
|
-
service_linen: boolean;
|
|
945
|
-
service_towels: boolean;
|
|
946
|
-
cleaning_costs: number | null;
|
|
947
|
-
deposit_costs: number | null;
|
|
948
|
-
prepayment: number | null;
|
|
949
|
-
fee: number | null;
|
|
950
|
-
tax_vat: number | null;
|
|
951
|
-
tax_other: number | null;
|
|
952
|
-
tax_other_type: string | null;
|
|
953
|
-
minimal_nights: number | null;
|
|
954
|
-
maximal_nights: number | null;
|
|
955
|
-
available_start: string | null;
|
|
956
|
-
available_end: string | null;
|
|
957
|
-
check_in: string | null;
|
|
958
|
-
check_out: string | null;
|
|
959
|
-
provider_name: string | null;
|
|
960
|
-
created_at: string;
|
|
961
|
-
updated_at: string;
|
|
962
|
-
images?: {
|
|
963
|
-
id: number;
|
|
964
|
-
alt: string;
|
|
965
|
-
small_url: string;
|
|
966
|
-
medium_url: string;
|
|
967
|
-
large_url: string;
|
|
968
|
-
srcset: string;
|
|
969
|
-
url: string;
|
|
970
|
-
}[] | undefined;
|
|
971
|
-
}>, "many">;
|
|
972
|
-
}, "strip", z.ZodTypeAny, {
|
|
973
|
-
data: {
|
|
974
|
-
type: string | null;
|
|
975
|
-
status: string | null;
|
|
976
|
-
id: number;
|
|
977
|
-
external_id: string | null;
|
|
978
|
-
name: string;
|
|
979
|
-
slug: string;
|
|
980
|
-
short_description: string | null;
|
|
981
|
-
description: string;
|
|
982
|
-
area_description: string | null;
|
|
983
|
-
arrival_description: string | null;
|
|
984
|
-
payment_description: string | null;
|
|
985
|
-
max_persons: number | null;
|
|
986
|
-
bedrooms: number | null;
|
|
987
|
-
bathrooms: number | null;
|
|
988
|
-
toilets: number | null;
|
|
989
|
-
size: number | null;
|
|
990
|
-
floor: number | null;
|
|
991
|
-
stairs: boolean | null;
|
|
992
|
-
street: string | null;
|
|
993
|
-
zipcode: string | null;
|
|
994
|
-
area: string | null;
|
|
995
|
-
city: string;
|
|
996
|
-
country: string;
|
|
997
|
-
latitude: number;
|
|
998
|
-
longitude: number;
|
|
999
|
-
single_bed: number | null;
|
|
1000
|
-
double_bed: number | null;
|
|
1001
|
-
single_sofa: number | null;
|
|
1002
|
-
double_sofa: number | null;
|
|
1003
|
-
single_bunk: number | null;
|
|
1004
|
-
balcony: boolean;
|
|
1005
|
-
patio: boolean | null;
|
|
1006
|
-
garden: boolean | null;
|
|
1007
|
-
roof_terrace: boolean | null;
|
|
1008
|
-
view: string | null;
|
|
1009
|
-
airco: boolean;
|
|
1010
|
-
fans: boolean;
|
|
1011
|
-
heating: boolean;
|
|
1012
|
-
internet: string | null;
|
|
1013
|
-
internet_connection: string | null;
|
|
1014
|
-
tv: string;
|
|
1015
|
-
tv_connection: string | null;
|
|
1016
|
-
dvd: string;
|
|
1017
|
-
computer: boolean;
|
|
1018
|
-
printer: boolean;
|
|
1019
|
-
dishwasher: boolean;
|
|
1020
|
-
oven: boolean;
|
|
1021
|
-
microwave: boolean;
|
|
1022
|
-
grill: number | null;
|
|
1023
|
-
hob: number | null;
|
|
1024
|
-
fridge: boolean;
|
|
1025
|
-
freezer: boolean;
|
|
1026
|
-
toaster: boolean;
|
|
1027
|
-
kettle: boolean;
|
|
1028
|
-
coffeemachine: boolean;
|
|
1029
|
-
washingmachine: boolean;
|
|
1030
|
-
dryer: boolean;
|
|
1031
|
-
iron: boolean;
|
|
1032
|
-
bathtub: boolean;
|
|
1033
|
-
jacuzzi: boolean;
|
|
1034
|
-
shower_regular: boolean;
|
|
1035
|
-
shower_steam: boolean;
|
|
1036
|
-
hairdryer: boolean;
|
|
1037
|
-
swimmingpool: string;
|
|
1038
|
-
sauna: string;
|
|
1039
|
-
parking: string;
|
|
1040
|
-
elevator: boolean | null;
|
|
1041
|
-
entresol: boolean;
|
|
1042
|
-
wheelchair_friendly: boolean;
|
|
1043
|
-
smoking_allowed: boolean;
|
|
1044
|
-
pets_allowed: boolean;
|
|
1045
|
-
supplies_coffee: boolean;
|
|
1046
|
-
supplies_tea: boolean;
|
|
1047
|
-
supplies_milk: boolean;
|
|
1048
|
-
supplies_sugar: boolean;
|
|
1049
|
-
supplies_dishwasher_tablets: boolean;
|
|
1050
|
-
service_linen: boolean;
|
|
1051
|
-
service_towels: boolean;
|
|
1052
|
-
cleaning_costs: number | null;
|
|
1053
|
-
deposit_costs: number | null;
|
|
1054
|
-
prepayment: number | null;
|
|
1055
|
-
fee: number | null;
|
|
1056
|
-
tax_vat: number | null;
|
|
1057
|
-
tax_other: number | null;
|
|
1058
|
-
tax_other_type: string | null;
|
|
1059
|
-
minimal_nights: number | null;
|
|
1060
|
-
maximal_nights: number | null;
|
|
1061
|
-
available_start: string | null;
|
|
1062
|
-
available_end: string | null;
|
|
1063
|
-
check_in: string | null;
|
|
1064
|
-
check_out: string | null;
|
|
1065
|
-
provider_name: string | null;
|
|
1066
|
-
created_at: string;
|
|
1067
|
-
updated_at: string;
|
|
1068
|
-
images?: {
|
|
1069
|
-
id: number;
|
|
1070
|
-
alt: string;
|
|
1071
|
-
small_url: string;
|
|
1072
|
-
medium_url: string;
|
|
1073
|
-
large_url: string;
|
|
1074
|
-
srcset: string;
|
|
1075
|
-
url: string;
|
|
1076
|
-
}[] | undefined;
|
|
1077
|
-
}[];
|
|
1078
|
-
}, {
|
|
1079
|
-
data: {
|
|
1080
|
-
type: string | null;
|
|
1081
|
-
status: string | null;
|
|
1082
|
-
id: number;
|
|
1083
|
-
external_id: string | null;
|
|
1084
|
-
name: string;
|
|
1085
|
-
slug: string;
|
|
1086
|
-
short_description: string | null;
|
|
1087
|
-
description: string;
|
|
1088
|
-
area_description: string | null;
|
|
1089
|
-
arrival_description: string | null;
|
|
1090
|
-
payment_description: string | null;
|
|
1091
|
-
max_persons: number | null;
|
|
1092
|
-
bedrooms: number | null;
|
|
1093
|
-
bathrooms: number | null;
|
|
1094
|
-
toilets: number | null;
|
|
1095
|
-
size: number | null;
|
|
1096
|
-
floor: number | null;
|
|
1097
|
-
stairs: boolean | null;
|
|
1098
|
-
street: string | null;
|
|
1099
|
-
zipcode: string | null;
|
|
1100
|
-
area: string | null;
|
|
1101
|
-
city: string;
|
|
1102
|
-
country: string;
|
|
1103
|
-
latitude: number;
|
|
1104
|
-
longitude: number;
|
|
1105
|
-
single_bed: number | null;
|
|
1106
|
-
double_bed: number | null;
|
|
1107
|
-
single_sofa: number | null;
|
|
1108
|
-
double_sofa: number | null;
|
|
1109
|
-
single_bunk: number | null;
|
|
1110
|
-
balcony: boolean;
|
|
1111
|
-
patio: boolean | null;
|
|
1112
|
-
garden: boolean | null;
|
|
1113
|
-
roof_terrace: boolean | null;
|
|
1114
|
-
view: string | null;
|
|
1115
|
-
airco: boolean;
|
|
1116
|
-
fans: boolean;
|
|
1117
|
-
heating: boolean;
|
|
1118
|
-
internet: string | null;
|
|
1119
|
-
internet_connection: string | null;
|
|
1120
|
-
tv: string;
|
|
1121
|
-
tv_connection: string | null;
|
|
1122
|
-
dvd: string;
|
|
1123
|
-
computer: boolean;
|
|
1124
|
-
printer: boolean;
|
|
1125
|
-
dishwasher: boolean;
|
|
1126
|
-
oven: boolean;
|
|
1127
|
-
microwave: boolean;
|
|
1128
|
-
grill: number | null;
|
|
1129
|
-
hob: number | null;
|
|
1130
|
-
fridge: boolean;
|
|
1131
|
-
freezer: boolean;
|
|
1132
|
-
toaster: boolean;
|
|
1133
|
-
kettle: boolean;
|
|
1134
|
-
coffeemachine: boolean;
|
|
1135
|
-
washingmachine: boolean;
|
|
1136
|
-
dryer: boolean;
|
|
1137
|
-
iron: boolean;
|
|
1138
|
-
bathtub: boolean;
|
|
1139
|
-
jacuzzi: boolean;
|
|
1140
|
-
shower_regular: boolean;
|
|
1141
|
-
shower_steam: boolean;
|
|
1142
|
-
hairdryer: boolean;
|
|
1143
|
-
swimmingpool: string;
|
|
1144
|
-
sauna: string;
|
|
1145
|
-
parking: string;
|
|
1146
|
-
elevator: boolean | null;
|
|
1147
|
-
entresol: boolean;
|
|
1148
|
-
wheelchair_friendly: boolean;
|
|
1149
|
-
smoking_allowed: boolean;
|
|
1150
|
-
pets_allowed: boolean;
|
|
1151
|
-
supplies_coffee: boolean;
|
|
1152
|
-
supplies_tea: boolean;
|
|
1153
|
-
supplies_milk: boolean;
|
|
1154
|
-
supplies_sugar: boolean;
|
|
1155
|
-
supplies_dishwasher_tablets: boolean;
|
|
1156
|
-
service_linen: boolean;
|
|
1157
|
-
service_towels: boolean;
|
|
1158
|
-
cleaning_costs: number | null;
|
|
1159
|
-
deposit_costs: number | null;
|
|
1160
|
-
prepayment: number | null;
|
|
1161
|
-
fee: number | null;
|
|
1162
|
-
tax_vat: number | null;
|
|
1163
|
-
tax_other: number | null;
|
|
1164
|
-
tax_other_type: string | null;
|
|
1165
|
-
minimal_nights: number | null;
|
|
1166
|
-
maximal_nights: number | null;
|
|
1167
|
-
available_start: string | null;
|
|
1168
|
-
available_end: string | null;
|
|
1169
|
-
check_in: string | null;
|
|
1170
|
-
check_out: string | null;
|
|
1171
|
-
provider_name: string | null;
|
|
1172
|
-
created_at: string;
|
|
1173
|
-
updated_at: string;
|
|
1174
|
-
images?: {
|
|
1175
|
-
id: number;
|
|
1176
|
-
alt: string;
|
|
1177
|
-
small_url: string;
|
|
1178
|
-
medium_url: string;
|
|
1179
|
-
large_url: string;
|
|
1180
|
-
srcset: string;
|
|
1181
|
-
url: string;
|
|
1182
|
-
}[] | undefined;
|
|
1183
|
-
}[];
|
|
1184
|
-
}>;
|
|
309
|
+
}, z.core.$strip>>;
|
|
310
|
+
}, z.core.$strip>;
|
|
1185
311
|
declare const PropertyPageSettingsSchema: z.ZodObject<{
|
|
1186
312
|
routing: z.ZodObject<{
|
|
1187
313
|
base_url: z.ZodString;
|
|
1188
|
-
},
|
|
1189
|
-
base_url: string;
|
|
1190
|
-
}, {
|
|
1191
|
-
base_url: string;
|
|
1192
|
-
}>;
|
|
314
|
+
}, z.core.$strip>;
|
|
1193
315
|
index: z.ZodObject<{
|
|
1194
316
|
seo: z.ZodObject<{
|
|
1195
317
|
title: z.ZodString;
|
|
1196
318
|
description: z.ZodString;
|
|
1197
319
|
openGraphTitle: z.ZodOptional<z.ZodString>;
|
|
1198
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1199
|
-
},
|
|
1200
|
-
|
|
1201
|
-
title: string;
|
|
1202
|
-
tags?: string[] | undefined;
|
|
1203
|
-
openGraphTitle?: string | undefined;
|
|
1204
|
-
}, {
|
|
1205
|
-
description: string;
|
|
1206
|
-
title: string;
|
|
1207
|
-
tags?: string[] | undefined;
|
|
1208
|
-
openGraphTitle?: string | undefined;
|
|
1209
|
-
}>;
|
|
1210
|
-
}, "strip", z.ZodTypeAny, {
|
|
1211
|
-
seo: {
|
|
1212
|
-
description: string;
|
|
1213
|
-
title: string;
|
|
1214
|
-
tags?: string[] | undefined;
|
|
1215
|
-
openGraphTitle?: string | undefined;
|
|
1216
|
-
};
|
|
1217
|
-
}, {
|
|
1218
|
-
seo: {
|
|
1219
|
-
description: string;
|
|
1220
|
-
title: string;
|
|
1221
|
-
tags?: string[] | undefined;
|
|
1222
|
-
openGraphTitle?: string | undefined;
|
|
1223
|
-
};
|
|
1224
|
-
}>;
|
|
320
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
321
|
+
}, z.core.$strip>;
|
|
322
|
+
}, z.core.$strip>;
|
|
1225
323
|
show: z.ZodOptional<z.ZodObject<{
|
|
1226
324
|
hero: z.ZodOptional<z.ZodObject<{
|
|
1227
325
|
provider: z.ZodOptional<z.ZodBoolean>;
|
|
1228
326
|
address: z.ZodOptional<z.ZodBoolean>;
|
|
1229
|
-
},
|
|
1230
|
-
address?: boolean | undefined;
|
|
1231
|
-
provider?: boolean | undefined;
|
|
1232
|
-
}, {
|
|
1233
|
-
address?: boolean | undefined;
|
|
1234
|
-
provider?: boolean | undefined;
|
|
1235
|
-
}>>;
|
|
327
|
+
}, z.core.$strip>>;
|
|
1236
328
|
cancellation_policy: z.ZodOptional<z.ZodObject<{
|
|
1237
329
|
description: z.ZodString;
|
|
1238
|
-
},
|
|
1239
|
-
description: string;
|
|
1240
|
-
}, {
|
|
1241
|
-
description: string;
|
|
1242
|
-
}>>;
|
|
330
|
+
}, z.core.$strip>>;
|
|
1243
331
|
related_properties: z.ZodOptional<z.ZodObject<{
|
|
1244
332
|
title: z.ZodString;
|
|
1245
|
-
},
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
title: string;
|
|
1249
|
-
}>>;
|
|
1250
|
-
}, "strip", z.ZodTypeAny, {
|
|
1251
|
-
hero?: {
|
|
1252
|
-
address?: boolean | undefined;
|
|
1253
|
-
provider?: boolean | undefined;
|
|
1254
|
-
} | undefined;
|
|
1255
|
-
cancellation_policy?: {
|
|
1256
|
-
description: string;
|
|
1257
|
-
} | undefined;
|
|
1258
|
-
related_properties?: {
|
|
1259
|
-
title: string;
|
|
1260
|
-
} | undefined;
|
|
1261
|
-
}, {
|
|
1262
|
-
hero?: {
|
|
1263
|
-
address?: boolean | undefined;
|
|
1264
|
-
provider?: boolean | undefined;
|
|
1265
|
-
} | undefined;
|
|
1266
|
-
cancellation_policy?: {
|
|
1267
|
-
description: string;
|
|
1268
|
-
} | undefined;
|
|
1269
|
-
related_properties?: {
|
|
1270
|
-
title: string;
|
|
1271
|
-
} | undefined;
|
|
1272
|
-
}>>;
|
|
1273
|
-
}, "strip", z.ZodTypeAny, {
|
|
1274
|
-
routing: {
|
|
1275
|
-
base_url: string;
|
|
1276
|
-
};
|
|
1277
|
-
index: {
|
|
1278
|
-
seo: {
|
|
1279
|
-
description: string;
|
|
1280
|
-
title: string;
|
|
1281
|
-
tags?: string[] | undefined;
|
|
1282
|
-
openGraphTitle?: string | undefined;
|
|
1283
|
-
};
|
|
1284
|
-
};
|
|
1285
|
-
show?: {
|
|
1286
|
-
hero?: {
|
|
1287
|
-
address?: boolean | undefined;
|
|
1288
|
-
provider?: boolean | undefined;
|
|
1289
|
-
} | undefined;
|
|
1290
|
-
cancellation_policy?: {
|
|
1291
|
-
description: string;
|
|
1292
|
-
} | undefined;
|
|
1293
|
-
related_properties?: {
|
|
1294
|
-
title: string;
|
|
1295
|
-
} | undefined;
|
|
1296
|
-
} | undefined;
|
|
1297
|
-
}, {
|
|
1298
|
-
routing: {
|
|
1299
|
-
base_url: string;
|
|
1300
|
-
};
|
|
1301
|
-
index: {
|
|
1302
|
-
seo: {
|
|
1303
|
-
description: string;
|
|
1304
|
-
title: string;
|
|
1305
|
-
tags?: string[] | undefined;
|
|
1306
|
-
openGraphTitle?: string | undefined;
|
|
1307
|
-
};
|
|
1308
|
-
};
|
|
1309
|
-
show?: {
|
|
1310
|
-
hero?: {
|
|
1311
|
-
address?: boolean | undefined;
|
|
1312
|
-
provider?: boolean | undefined;
|
|
1313
|
-
} | undefined;
|
|
1314
|
-
cancellation_policy?: {
|
|
1315
|
-
description: string;
|
|
1316
|
-
} | undefined;
|
|
1317
|
-
related_properties?: {
|
|
1318
|
-
title: string;
|
|
1319
|
-
} | undefined;
|
|
1320
|
-
} | undefined;
|
|
1321
|
-
}>;
|
|
333
|
+
}, z.core.$strip>>;
|
|
334
|
+
}, z.core.$strip>>;
|
|
335
|
+
}, z.core.$strip>;
|
|
1322
336
|
type PropertyImage = z.infer<typeof PropertyImageSchema>;
|
|
1323
337
|
type Property = z.infer<typeof PropertySchema>;
|
|
1324
338
|
type Availability = z.infer<typeof AvailabilitySchema>;
|
|
@@ -1332,48 +346,14 @@ declare const PageSchema: z.ZodObject<{
|
|
|
1332
346
|
title: z.ZodNullable<z.ZodString>;
|
|
1333
347
|
description: z.ZodNullable<z.ZodString>;
|
|
1334
348
|
content: z.ZodNullable<z.ZodString>;
|
|
1335
|
-
sections: z.ZodArray<z.ZodAny
|
|
349
|
+
sections: z.ZodArray<z.ZodAny>;
|
|
1336
350
|
seo: z.ZodObject<{
|
|
1337
351
|
title: z.ZodString;
|
|
1338
352
|
description: z.ZodString;
|
|
1339
353
|
image: z.ZodNullable<z.ZodString>;
|
|
1340
|
-
},
|
|
1341
|
-
description: string;
|
|
1342
|
-
title: string;
|
|
1343
|
-
image: string | null;
|
|
1344
|
-
}, {
|
|
1345
|
-
description: string;
|
|
1346
|
-
title: string;
|
|
1347
|
-
image: string | null;
|
|
1348
|
-
}>;
|
|
354
|
+
}, z.core.$strip>;
|
|
1349
355
|
route_name: z.ZodString;
|
|
1350
|
-
},
|
|
1351
|
-
id: string;
|
|
1352
|
-
slug: string;
|
|
1353
|
-
description: string | null;
|
|
1354
|
-
title: string | null;
|
|
1355
|
-
content: string | null;
|
|
1356
|
-
sections: any[];
|
|
1357
|
-
seo: {
|
|
1358
|
-
description: string;
|
|
1359
|
-
title: string;
|
|
1360
|
-
image: string | null;
|
|
1361
|
-
};
|
|
1362
|
-
route_name: string;
|
|
1363
|
-
}, {
|
|
1364
|
-
id: string;
|
|
1365
|
-
slug: string;
|
|
1366
|
-
description: string | null;
|
|
1367
|
-
title: string | null;
|
|
1368
|
-
content: string | null;
|
|
1369
|
-
sections: any[];
|
|
1370
|
-
seo: {
|
|
1371
|
-
description: string;
|
|
1372
|
-
title: string;
|
|
1373
|
-
image: string | null;
|
|
1374
|
-
};
|
|
1375
|
-
route_name: string;
|
|
1376
|
-
}>;
|
|
356
|
+
}, z.core.$strip>;
|
|
1377
357
|
declare const PostSchema: z.ZodObject<{
|
|
1378
358
|
id: z.ZodString;
|
|
1379
359
|
slug: z.ZodString;
|
|
@@ -1384,112 +364,34 @@ declare const PostSchema: z.ZodObject<{
|
|
|
1384
364
|
author: z.ZodNullable<z.ZodString>;
|
|
1385
365
|
date: z.ZodString;
|
|
1386
366
|
image: z.ZodNullable<z.ZodString>;
|
|
1387
|
-
tags: z.ZodArray<z.ZodString
|
|
367
|
+
tags: z.ZodArray<z.ZodString>;
|
|
1388
368
|
reading_time: z.ZodNullable<z.ZodString>;
|
|
1389
|
-
sections: z.ZodArray<z.ZodAny
|
|
369
|
+
sections: z.ZodArray<z.ZodAny>;
|
|
1390
370
|
seo: z.ZodObject<{
|
|
1391
371
|
title: z.ZodString;
|
|
1392
372
|
description: z.ZodString;
|
|
1393
373
|
image: z.ZodNullable<z.ZodString>;
|
|
1394
|
-
},
|
|
1395
|
-
description: string;
|
|
1396
|
-
title: string;
|
|
1397
|
-
image: string | null;
|
|
1398
|
-
}, {
|
|
1399
|
-
description: string;
|
|
1400
|
-
title: string;
|
|
1401
|
-
image: string | null;
|
|
1402
|
-
}>;
|
|
374
|
+
}, z.core.$strip>;
|
|
1403
375
|
route_name: z.ZodString;
|
|
1404
|
-
},
|
|
1405
|
-
id: string;
|
|
1406
|
-
slug: string;
|
|
1407
|
-
description: string | null;
|
|
1408
|
-
date: string;
|
|
1409
|
-
title: string;
|
|
1410
|
-
content: string | null;
|
|
1411
|
-
sections: any[];
|
|
1412
|
-
seo: {
|
|
1413
|
-
description: string;
|
|
1414
|
-
title: string;
|
|
1415
|
-
image: string | null;
|
|
1416
|
-
};
|
|
1417
|
-
image: string | null;
|
|
1418
|
-
route_name: string;
|
|
1419
|
-
excerpt: string | null;
|
|
1420
|
-
author: string | null;
|
|
1421
|
-
tags: string[];
|
|
1422
|
-
reading_time: string | null;
|
|
1423
|
-
}, {
|
|
1424
|
-
id: string;
|
|
1425
|
-
slug: string;
|
|
1426
|
-
description: string | null;
|
|
1427
|
-
date: string;
|
|
1428
|
-
title: string;
|
|
1429
|
-
content: string | null;
|
|
1430
|
-
sections: any[];
|
|
1431
|
-
seo: {
|
|
1432
|
-
description: string;
|
|
1433
|
-
title: string;
|
|
1434
|
-
image: string | null;
|
|
1435
|
-
};
|
|
1436
|
-
image: string | null;
|
|
1437
|
-
route_name: string;
|
|
1438
|
-
excerpt: string | null;
|
|
1439
|
-
author: string | null;
|
|
1440
|
-
tags: string[];
|
|
1441
|
-
reading_time: string | null;
|
|
1442
|
-
}>;
|
|
376
|
+
}, z.core.$strip>;
|
|
1443
377
|
declare const CategorySchema: z.ZodObject<{
|
|
1444
378
|
slug: z.ZodString;
|
|
1445
379
|
name: z.ZodString;
|
|
1446
380
|
title: z.ZodString;
|
|
1447
381
|
description: z.ZodNullable<z.ZodString>;
|
|
1448
382
|
content: z.ZodNullable<z.ZodString>;
|
|
1449
|
-
segments: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString
|
|
1450
|
-
},
|
|
1451
|
-
name: string;
|
|
1452
|
-
slug: string;
|
|
1453
|
-
description: string | null;
|
|
1454
|
-
title: string;
|
|
1455
|
-
content: string | null;
|
|
1456
|
-
segments?: number | string[] | undefined;
|
|
1457
|
-
}, {
|
|
1458
|
-
name: string;
|
|
1459
|
-
slug: string;
|
|
1460
|
-
description: string | null;
|
|
1461
|
-
title: string;
|
|
1462
|
-
content: string | null;
|
|
1463
|
-
segments?: number | string[] | undefined;
|
|
1464
|
-
}>;
|
|
383
|
+
segments: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodNumber]>>;
|
|
384
|
+
}, z.core.$strip>;
|
|
1465
385
|
declare const CategorySegmentSchema: z.ZodObject<{
|
|
1466
386
|
name: z.ZodString;
|
|
1467
387
|
slug: z.ZodString;
|
|
1468
388
|
title: z.ZodString;
|
|
1469
389
|
description: z.ZodNullable<z.ZodString>;
|
|
1470
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1471
|
-
sections: z.ZodArray<z.ZodAny
|
|
390
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
391
|
+
sections: z.ZodArray<z.ZodAny>;
|
|
1472
392
|
content: z.ZodNullable<z.ZodString>;
|
|
1473
393
|
image: z.ZodString;
|
|
1474
|
-
},
|
|
1475
|
-
name: string;
|
|
1476
|
-
slug: string;
|
|
1477
|
-
description: string | null;
|
|
1478
|
-
title: string;
|
|
1479
|
-
content: string | null;
|
|
1480
|
-
sections: any[];
|
|
1481
|
-
image: string;
|
|
1482
|
-
tags?: string[] | undefined;
|
|
1483
|
-
}, {
|
|
1484
|
-
name: string;
|
|
1485
|
-
slug: string;
|
|
1486
|
-
description: string | null;
|
|
1487
|
-
title: string;
|
|
1488
|
-
content: string | null;
|
|
1489
|
-
sections: any[];
|
|
1490
|
-
image: string;
|
|
1491
|
-
tags?: string[] | undefined;
|
|
1492
|
-
}>;
|
|
394
|
+
}, z.core.$strip>;
|
|
1493
395
|
type Page = z.infer<typeof PageSchema>;
|
|
1494
396
|
type Post = z.infer<typeof PostSchema>;
|
|
1495
397
|
type Category = z.infer<typeof CategorySchema>;
|
|
@@ -1500,60 +402,22 @@ declare const MainSettingsSchema: z.ZodObject<{
|
|
|
1500
402
|
name: z.ZodString;
|
|
1501
403
|
domain: z.ZodString;
|
|
1502
404
|
locale: z.ZodString;
|
|
1503
|
-
},
|
|
1504
|
-
name: string;
|
|
1505
|
-
domain: string;
|
|
1506
|
-
locale: string;
|
|
1507
|
-
}, {
|
|
1508
|
-
name: string;
|
|
1509
|
-
domain: string;
|
|
1510
|
-
locale: string;
|
|
1511
|
-
}>;
|
|
405
|
+
}, z.core.$strip>;
|
|
1512
406
|
contact: z.ZodObject<{
|
|
1513
407
|
email: z.ZodString;
|
|
1514
408
|
phone: z.ZodOptional<z.ZodString>;
|
|
1515
|
-
},
|
|
1516
|
-
email: string;
|
|
1517
|
-
phone?: string | undefined;
|
|
1518
|
-
}, {
|
|
1519
|
-
email: string;
|
|
1520
|
-
phone?: string | undefined;
|
|
1521
|
-
}>;
|
|
409
|
+
}, z.core.$strip>;
|
|
1522
410
|
social: z.ZodOptional<z.ZodObject<{
|
|
1523
411
|
facebook: z.ZodOptional<z.ZodString>;
|
|
1524
412
|
instagram: z.ZodOptional<z.ZodString>;
|
|
1525
|
-
},
|
|
1526
|
-
facebook?: string | undefined;
|
|
1527
|
-
instagram?: string | undefined;
|
|
1528
|
-
}, {
|
|
1529
|
-
facebook?: string | undefined;
|
|
1530
|
-
instagram?: string | undefined;
|
|
1531
|
-
}>>;
|
|
413
|
+
}, z.core.$strip>>;
|
|
1532
414
|
mail: z.ZodOptional<z.ZodObject<{
|
|
1533
415
|
from: z.ZodObject<{
|
|
1534
416
|
address: z.ZodString;
|
|
1535
417
|
name: z.ZodString;
|
|
1536
|
-
},
|
|
1537
|
-
name: string;
|
|
1538
|
-
address: string;
|
|
1539
|
-
}, {
|
|
1540
|
-
name: string;
|
|
1541
|
-
address: string;
|
|
1542
|
-
}>;
|
|
418
|
+
}, z.core.$strip>;
|
|
1543
419
|
contact_form_to: z.ZodString;
|
|
1544
|
-
},
|
|
1545
|
-
from: {
|
|
1546
|
-
name: string;
|
|
1547
|
-
address: string;
|
|
1548
|
-
};
|
|
1549
|
-
contact_form_to: string;
|
|
1550
|
-
}, {
|
|
1551
|
-
from: {
|
|
1552
|
-
name: string;
|
|
1553
|
-
address: string;
|
|
1554
|
-
};
|
|
1555
|
-
contact_form_to: string;
|
|
1556
|
-
}>>;
|
|
420
|
+
}, z.core.$strip>>;
|
|
1557
421
|
pms: z.ZodOptional<z.ZodObject<{
|
|
1558
422
|
property_providers: z.ZodArray<z.ZodObject<{
|
|
1559
423
|
name: z.ZodString;
|
|
@@ -1562,489 +426,83 @@ declare const MainSettingsSchema: z.ZodObject<{
|
|
|
1562
426
|
base_url: z.ZodOptional<z.ZodString>;
|
|
1563
427
|
discount: z.ZodOptional<z.ZodNumber>;
|
|
1564
428
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1565
|
-
},
|
|
1566
|
-
|
|
1567
|
-
system: string;
|
|
1568
|
-
enabled?: boolean | undefined;
|
|
1569
|
-
api_key?: string | undefined;
|
|
1570
|
-
base_url?: string | undefined;
|
|
1571
|
-
discount?: number | undefined;
|
|
1572
|
-
}, {
|
|
1573
|
-
name: string;
|
|
1574
|
-
system: string;
|
|
1575
|
-
enabled?: boolean | undefined;
|
|
1576
|
-
api_key?: string | undefined;
|
|
1577
|
-
base_url?: string | undefined;
|
|
1578
|
-
discount?: number | undefined;
|
|
1579
|
-
}>, "many">;
|
|
1580
|
-
}, "strip", z.ZodTypeAny, {
|
|
1581
|
-
property_providers: {
|
|
1582
|
-
name: string;
|
|
1583
|
-
system: string;
|
|
1584
|
-
enabled?: boolean | undefined;
|
|
1585
|
-
api_key?: string | undefined;
|
|
1586
|
-
base_url?: string | undefined;
|
|
1587
|
-
discount?: number | undefined;
|
|
1588
|
-
}[];
|
|
1589
|
-
}, {
|
|
1590
|
-
property_providers: {
|
|
1591
|
-
name: string;
|
|
1592
|
-
system: string;
|
|
1593
|
-
enabled?: boolean | undefined;
|
|
1594
|
-
api_key?: string | undefined;
|
|
1595
|
-
base_url?: string | undefined;
|
|
1596
|
-
discount?: number | undefined;
|
|
1597
|
-
}[];
|
|
1598
|
-
}>>;
|
|
429
|
+
}, z.core.$strip>>;
|
|
430
|
+
}, z.core.$strip>>;
|
|
1599
431
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
1600
432
|
vat: z.ZodNumber;
|
|
1601
433
|
tourist_tax: z.ZodObject<{
|
|
1602
434
|
type: z.ZodString;
|
|
1603
435
|
value: z.ZodNumber;
|
|
1604
|
-
},
|
|
1605
|
-
|
|
1606
|
-
type: string;
|
|
1607
|
-
}, {
|
|
1608
|
-
value: number;
|
|
1609
|
-
type: string;
|
|
1610
|
-
}>;
|
|
1611
|
-
}, "strip", z.ZodTypeAny, {
|
|
1612
|
-
vat: number;
|
|
1613
|
-
tourist_tax: {
|
|
1614
|
-
value: number;
|
|
1615
|
-
type: string;
|
|
1616
|
-
};
|
|
1617
|
-
}, {
|
|
1618
|
-
vat: number;
|
|
1619
|
-
tourist_tax: {
|
|
1620
|
-
value: number;
|
|
1621
|
-
type: string;
|
|
1622
|
-
};
|
|
1623
|
-
}>>;
|
|
436
|
+
}, z.core.$strip>;
|
|
437
|
+
}, z.core.$strip>>;
|
|
1624
438
|
discount: z.ZodOptional<z.ZodNumber>;
|
|
1625
|
-
},
|
|
1626
|
-
site: {
|
|
1627
|
-
name: string;
|
|
1628
|
-
domain: string;
|
|
1629
|
-
locale: string;
|
|
1630
|
-
};
|
|
1631
|
-
contact: {
|
|
1632
|
-
email: string;
|
|
1633
|
-
phone?: string | undefined;
|
|
1634
|
-
};
|
|
1635
|
-
social?: {
|
|
1636
|
-
facebook?: string | undefined;
|
|
1637
|
-
instagram?: string | undefined;
|
|
1638
|
-
} | undefined;
|
|
1639
|
-
mail?: {
|
|
1640
|
-
from: {
|
|
1641
|
-
name: string;
|
|
1642
|
-
address: string;
|
|
1643
|
-
};
|
|
1644
|
-
contact_form_to: string;
|
|
1645
|
-
} | undefined;
|
|
1646
|
-
discount?: number | undefined;
|
|
1647
|
-
pms?: {
|
|
1648
|
-
property_providers: {
|
|
1649
|
-
name: string;
|
|
1650
|
-
system: string;
|
|
1651
|
-
enabled?: boolean | undefined;
|
|
1652
|
-
api_key?: string | undefined;
|
|
1653
|
-
base_url?: string | undefined;
|
|
1654
|
-
discount?: number | undefined;
|
|
1655
|
-
}[];
|
|
1656
|
-
} | undefined;
|
|
1657
|
-
pricing?: {
|
|
1658
|
-
vat: number;
|
|
1659
|
-
tourist_tax: {
|
|
1660
|
-
value: number;
|
|
1661
|
-
type: string;
|
|
1662
|
-
};
|
|
1663
|
-
} | undefined;
|
|
1664
|
-
}, {
|
|
1665
|
-
site: {
|
|
1666
|
-
name: string;
|
|
1667
|
-
domain: string;
|
|
1668
|
-
locale: string;
|
|
1669
|
-
};
|
|
1670
|
-
contact: {
|
|
1671
|
-
email: string;
|
|
1672
|
-
phone?: string | undefined;
|
|
1673
|
-
};
|
|
1674
|
-
social?: {
|
|
1675
|
-
facebook?: string | undefined;
|
|
1676
|
-
instagram?: string | undefined;
|
|
1677
|
-
} | undefined;
|
|
1678
|
-
mail?: {
|
|
1679
|
-
from: {
|
|
1680
|
-
name: string;
|
|
1681
|
-
address: string;
|
|
1682
|
-
};
|
|
1683
|
-
contact_form_to: string;
|
|
1684
|
-
} | undefined;
|
|
1685
|
-
discount?: number | undefined;
|
|
1686
|
-
pms?: {
|
|
1687
|
-
property_providers: {
|
|
1688
|
-
name: string;
|
|
1689
|
-
system: string;
|
|
1690
|
-
enabled?: boolean | undefined;
|
|
1691
|
-
api_key?: string | undefined;
|
|
1692
|
-
base_url?: string | undefined;
|
|
1693
|
-
discount?: number | undefined;
|
|
1694
|
-
}[];
|
|
1695
|
-
} | undefined;
|
|
1696
|
-
pricing?: {
|
|
1697
|
-
vat: number;
|
|
1698
|
-
tourist_tax: {
|
|
1699
|
-
value: number;
|
|
1700
|
-
type: string;
|
|
1701
|
-
};
|
|
1702
|
-
} | undefined;
|
|
1703
|
-
}>;
|
|
439
|
+
}, z.core.$strip>;
|
|
1704
440
|
declare const ThemeSettingsSchema: z.ZodObject<{
|
|
1705
441
|
logo: z.ZodOptional<z.ZodObject<{
|
|
1706
442
|
path: z.ZodString;
|
|
1707
443
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1708
|
-
},
|
|
1709
|
-
path: string;
|
|
1710
|
-
height?: number | undefined;
|
|
1711
|
-
}, {
|
|
1712
|
-
path: string;
|
|
1713
|
-
height?: number | undefined;
|
|
1714
|
-
}>>;
|
|
444
|
+
}, z.core.$strip>>;
|
|
1715
445
|
favicon_path: z.ZodOptional<z.ZodString>;
|
|
1716
446
|
colors: z.ZodObject<{
|
|
1717
447
|
primary: z.ZodString;
|
|
1718
448
|
secondary: z.ZodString;
|
|
1719
|
-
},
|
|
1720
|
-
primary: string;
|
|
1721
|
-
secondary: string;
|
|
1722
|
-
}, {
|
|
1723
|
-
primary: string;
|
|
1724
|
-
secondary: string;
|
|
1725
|
-
}>;
|
|
449
|
+
}, z.core.$strip>;
|
|
1726
450
|
layout: z.ZodOptional<z.ZodObject<{
|
|
1727
451
|
homepage_style: z.ZodOptional<z.ZodString>;
|
|
1728
452
|
navigation: z.ZodOptional<z.ZodObject<{
|
|
1729
453
|
variant: z.ZodOptional<z.ZodString>;
|
|
1730
|
-
items: z.ZodArray<z.ZodAny
|
|
1731
|
-
buttons: z.ZodOptional<z.ZodArray<z.ZodAny
|
|
1732
|
-
},
|
|
1733
|
-
items: any[];
|
|
1734
|
-
variant?: string | undefined;
|
|
1735
|
-
buttons?: any[] | undefined;
|
|
1736
|
-
}, {
|
|
1737
|
-
items: any[];
|
|
1738
|
-
variant?: string | undefined;
|
|
1739
|
-
buttons?: any[] | undefined;
|
|
1740
|
-
}>>;
|
|
454
|
+
items: z.ZodArray<z.ZodAny>;
|
|
455
|
+
buttons: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
456
|
+
}, z.core.$strip>>;
|
|
1741
457
|
footer: z.ZodOptional<z.ZodObject<{
|
|
1742
458
|
blog_title: z.ZodOptional<z.ZodString>;
|
|
1743
459
|
contact_title: z.ZodOptional<z.ZodString>;
|
|
1744
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodAny
|
|
1745
|
-
},
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
categories?: any[] | undefined;
|
|
1749
|
-
}, {
|
|
1750
|
-
blog_title?: string | undefined;
|
|
1751
|
-
contact_title?: string | undefined;
|
|
1752
|
-
categories?: any[] | undefined;
|
|
1753
|
-
}>>;
|
|
1754
|
-
}, "strip", z.ZodTypeAny, {
|
|
1755
|
-
homepage_style?: string | undefined;
|
|
1756
|
-
navigation?: {
|
|
1757
|
-
items: any[];
|
|
1758
|
-
variant?: string | undefined;
|
|
1759
|
-
buttons?: any[] | undefined;
|
|
1760
|
-
} | undefined;
|
|
1761
|
-
footer?: {
|
|
1762
|
-
blog_title?: string | undefined;
|
|
1763
|
-
contact_title?: string | undefined;
|
|
1764
|
-
categories?: any[] | undefined;
|
|
1765
|
-
} | undefined;
|
|
1766
|
-
}, {
|
|
1767
|
-
homepage_style?: string | undefined;
|
|
1768
|
-
navigation?: {
|
|
1769
|
-
items: any[];
|
|
1770
|
-
variant?: string | undefined;
|
|
1771
|
-
buttons?: any[] | undefined;
|
|
1772
|
-
} | undefined;
|
|
1773
|
-
footer?: {
|
|
1774
|
-
blog_title?: string | undefined;
|
|
1775
|
-
contact_title?: string | undefined;
|
|
1776
|
-
categories?: any[] | undefined;
|
|
1777
|
-
} | undefined;
|
|
1778
|
-
}>>;
|
|
1779
|
-
}, "strip", z.ZodTypeAny, {
|
|
1780
|
-
colors: {
|
|
1781
|
-
primary: string;
|
|
1782
|
-
secondary: string;
|
|
1783
|
-
};
|
|
1784
|
-
logo?: {
|
|
1785
|
-
path: string;
|
|
1786
|
-
height?: number | undefined;
|
|
1787
|
-
} | undefined;
|
|
1788
|
-
favicon_path?: string | undefined;
|
|
1789
|
-
layout?: {
|
|
1790
|
-
homepage_style?: string | undefined;
|
|
1791
|
-
navigation?: {
|
|
1792
|
-
items: any[];
|
|
1793
|
-
variant?: string | undefined;
|
|
1794
|
-
buttons?: any[] | undefined;
|
|
1795
|
-
} | undefined;
|
|
1796
|
-
footer?: {
|
|
1797
|
-
blog_title?: string | undefined;
|
|
1798
|
-
contact_title?: string | undefined;
|
|
1799
|
-
categories?: any[] | undefined;
|
|
1800
|
-
} | undefined;
|
|
1801
|
-
} | undefined;
|
|
1802
|
-
}, {
|
|
1803
|
-
colors: {
|
|
1804
|
-
primary: string;
|
|
1805
|
-
secondary: string;
|
|
1806
|
-
};
|
|
1807
|
-
logo?: {
|
|
1808
|
-
path: string;
|
|
1809
|
-
height?: number | undefined;
|
|
1810
|
-
} | undefined;
|
|
1811
|
-
favicon_path?: string | undefined;
|
|
1812
|
-
layout?: {
|
|
1813
|
-
homepage_style?: string | undefined;
|
|
1814
|
-
navigation?: {
|
|
1815
|
-
items: any[];
|
|
1816
|
-
variant?: string | undefined;
|
|
1817
|
-
buttons?: any[] | undefined;
|
|
1818
|
-
} | undefined;
|
|
1819
|
-
footer?: {
|
|
1820
|
-
blog_title?: string | undefined;
|
|
1821
|
-
contact_title?: string | undefined;
|
|
1822
|
-
categories?: any[] | undefined;
|
|
1823
|
-
} | undefined;
|
|
1824
|
-
} | undefined;
|
|
1825
|
-
}>;
|
|
460
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
461
|
+
}, z.core.$strip>>;
|
|
462
|
+
}, z.core.$strip>>;
|
|
463
|
+
}, z.core.$strip>;
|
|
1826
464
|
declare const PropertySettingsSchema: z.ZodObject<{
|
|
1827
|
-
routing: z.ZodObject<{
|
|
1828
|
-
base_url: z.ZodString;
|
|
1829
|
-
},
|
|
1830
|
-
base_url: string;
|
|
1831
|
-
}, {
|
|
1832
|
-
base_url: string;
|
|
1833
|
-
}>;
|
|
465
|
+
routing: z.ZodObject<{
|
|
466
|
+
base_url: z.ZodString;
|
|
467
|
+
}, z.core.$strip>;
|
|
1834
468
|
seo: z.ZodOptional<z.ZodObject<{
|
|
1835
469
|
title: z.ZodString;
|
|
1836
470
|
description: z.ZodString;
|
|
1837
471
|
openGraphTitle: z.ZodOptional<z.ZodString>;
|
|
1838
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1839
|
-
},
|
|
1840
|
-
description: string;
|
|
1841
|
-
title: string;
|
|
1842
|
-
tags?: string[] | undefined;
|
|
1843
|
-
openGraphTitle?: string | undefined;
|
|
1844
|
-
}, {
|
|
1845
|
-
description: string;
|
|
1846
|
-
title: string;
|
|
1847
|
-
tags?: string[] | undefined;
|
|
1848
|
-
openGraphTitle?: string | undefined;
|
|
1849
|
-
}>>;
|
|
472
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
473
|
+
}, z.core.$strip>>;
|
|
1850
474
|
index: z.ZodObject<{
|
|
1851
475
|
seo: z.ZodObject<{
|
|
1852
476
|
title: z.ZodString;
|
|
1853
477
|
description: z.ZodString;
|
|
1854
478
|
openGraphTitle: z.ZodOptional<z.ZodString>;
|
|
1855
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1856
|
-
},
|
|
1857
|
-
|
|
1858
|
-
title: string;
|
|
1859
|
-
tags?: string[] | undefined;
|
|
1860
|
-
openGraphTitle?: string | undefined;
|
|
1861
|
-
}, {
|
|
1862
|
-
description: string;
|
|
1863
|
-
title: string;
|
|
1864
|
-
tags?: string[] | undefined;
|
|
1865
|
-
openGraphTitle?: string | undefined;
|
|
1866
|
-
}>;
|
|
1867
|
-
}, "strip", z.ZodTypeAny, {
|
|
1868
|
-
seo: {
|
|
1869
|
-
description: string;
|
|
1870
|
-
title: string;
|
|
1871
|
-
tags?: string[] | undefined;
|
|
1872
|
-
openGraphTitle?: string | undefined;
|
|
1873
|
-
};
|
|
1874
|
-
}, {
|
|
1875
|
-
seo: {
|
|
1876
|
-
description: string;
|
|
1877
|
-
title: string;
|
|
1878
|
-
tags?: string[] | undefined;
|
|
1879
|
-
openGraphTitle?: string | undefined;
|
|
1880
|
-
};
|
|
1881
|
-
}>;
|
|
479
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
480
|
+
}, z.core.$strip>;
|
|
481
|
+
}, z.core.$strip>;
|
|
1882
482
|
show: z.ZodOptional<z.ZodObject<{
|
|
1883
483
|
hero: z.ZodOptional<z.ZodObject<{
|
|
1884
484
|
provider: z.ZodOptional<z.ZodBoolean>;
|
|
1885
485
|
address: z.ZodOptional<z.ZodBoolean>;
|
|
1886
|
-
},
|
|
1887
|
-
address?: boolean | undefined;
|
|
1888
|
-
provider?: boolean | undefined;
|
|
1889
|
-
}, {
|
|
1890
|
-
address?: boolean | undefined;
|
|
1891
|
-
provider?: boolean | undefined;
|
|
1892
|
-
}>>;
|
|
486
|
+
}, z.core.$strip>>;
|
|
1893
487
|
cancellation_policy: z.ZodOptional<z.ZodObject<{
|
|
1894
488
|
description: z.ZodString;
|
|
1895
|
-
},
|
|
1896
|
-
description: string;
|
|
1897
|
-
}, {
|
|
1898
|
-
description: string;
|
|
1899
|
-
}>>;
|
|
489
|
+
}, z.core.$strip>>;
|
|
1900
490
|
related_properties: z.ZodOptional<z.ZodObject<{
|
|
1901
491
|
title: z.ZodString;
|
|
1902
|
-
},
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
title: string;
|
|
1906
|
-
}>>;
|
|
1907
|
-
}, "strip", z.ZodTypeAny, {
|
|
1908
|
-
hero?: {
|
|
1909
|
-
address?: boolean | undefined;
|
|
1910
|
-
provider?: boolean | undefined;
|
|
1911
|
-
} | undefined;
|
|
1912
|
-
cancellation_policy?: {
|
|
1913
|
-
description: string;
|
|
1914
|
-
} | undefined;
|
|
1915
|
-
related_properties?: {
|
|
1916
|
-
title: string;
|
|
1917
|
-
} | undefined;
|
|
1918
|
-
}, {
|
|
1919
|
-
hero?: {
|
|
1920
|
-
address?: boolean | undefined;
|
|
1921
|
-
provider?: boolean | undefined;
|
|
1922
|
-
} | undefined;
|
|
1923
|
-
cancellation_policy?: {
|
|
1924
|
-
description: string;
|
|
1925
|
-
} | undefined;
|
|
1926
|
-
related_properties?: {
|
|
1927
|
-
title: string;
|
|
1928
|
-
} | undefined;
|
|
1929
|
-
}>>;
|
|
1930
|
-
}, "strip", z.ZodTypeAny, {
|
|
1931
|
-
routing: {
|
|
1932
|
-
base_url: string;
|
|
1933
|
-
};
|
|
1934
|
-
index: {
|
|
1935
|
-
seo: {
|
|
1936
|
-
description: string;
|
|
1937
|
-
title: string;
|
|
1938
|
-
tags?: string[] | undefined;
|
|
1939
|
-
openGraphTitle?: string | undefined;
|
|
1940
|
-
};
|
|
1941
|
-
};
|
|
1942
|
-
seo?: {
|
|
1943
|
-
description: string;
|
|
1944
|
-
title: string;
|
|
1945
|
-
tags?: string[] | undefined;
|
|
1946
|
-
openGraphTitle?: string | undefined;
|
|
1947
|
-
} | undefined;
|
|
1948
|
-
show?: {
|
|
1949
|
-
hero?: {
|
|
1950
|
-
address?: boolean | undefined;
|
|
1951
|
-
provider?: boolean | undefined;
|
|
1952
|
-
} | undefined;
|
|
1953
|
-
cancellation_policy?: {
|
|
1954
|
-
description: string;
|
|
1955
|
-
} | undefined;
|
|
1956
|
-
related_properties?: {
|
|
1957
|
-
title: string;
|
|
1958
|
-
} | undefined;
|
|
1959
|
-
} | undefined;
|
|
1960
|
-
}, {
|
|
1961
|
-
routing: {
|
|
1962
|
-
base_url: string;
|
|
1963
|
-
};
|
|
1964
|
-
index: {
|
|
1965
|
-
seo: {
|
|
1966
|
-
description: string;
|
|
1967
|
-
title: string;
|
|
1968
|
-
tags?: string[] | undefined;
|
|
1969
|
-
openGraphTitle?: string | undefined;
|
|
1970
|
-
};
|
|
1971
|
-
};
|
|
1972
|
-
seo?: {
|
|
1973
|
-
description: string;
|
|
1974
|
-
title: string;
|
|
1975
|
-
tags?: string[] | undefined;
|
|
1976
|
-
openGraphTitle?: string | undefined;
|
|
1977
|
-
} | undefined;
|
|
1978
|
-
show?: {
|
|
1979
|
-
hero?: {
|
|
1980
|
-
address?: boolean | undefined;
|
|
1981
|
-
provider?: boolean | undefined;
|
|
1982
|
-
} | undefined;
|
|
1983
|
-
cancellation_policy?: {
|
|
1984
|
-
description: string;
|
|
1985
|
-
} | undefined;
|
|
1986
|
-
related_properties?: {
|
|
1987
|
-
title: string;
|
|
1988
|
-
} | undefined;
|
|
1989
|
-
} | undefined;
|
|
1990
|
-
}>;
|
|
492
|
+
}, z.core.$strip>>;
|
|
493
|
+
}, z.core.$strip>>;
|
|
494
|
+
}, z.core.$strip>;
|
|
1991
495
|
declare const BookingSettingsSchema: z.ZodObject<{
|
|
1992
496
|
booking_confirmation: z.ZodOptional<z.ZodObject<{
|
|
1993
497
|
sections: z.ZodOptional<z.ZodObject<{
|
|
1994
498
|
arrival_description: z.ZodOptional<z.ZodBoolean>;
|
|
1995
|
-
},
|
|
1996
|
-
arrival_description?: boolean | undefined;
|
|
1997
|
-
}, {
|
|
1998
|
-
arrival_description?: boolean | undefined;
|
|
1999
|
-
}>>;
|
|
499
|
+
}, z.core.$strip>>;
|
|
2000
500
|
content: z.ZodOptional<z.ZodObject<{
|
|
2001
501
|
body: z.ZodOptional<z.ZodString>;
|
|
2002
502
|
help: z.ZodOptional<z.ZodString>;
|
|
2003
|
-
},
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
}, {
|
|
2007
|
-
body?: string | undefined;
|
|
2008
|
-
help?: string | undefined;
|
|
2009
|
-
}>>;
|
|
2010
|
-
}, "strip", z.ZodTypeAny, {
|
|
2011
|
-
content?: {
|
|
2012
|
-
body?: string | undefined;
|
|
2013
|
-
help?: string | undefined;
|
|
2014
|
-
} | undefined;
|
|
2015
|
-
sections?: {
|
|
2016
|
-
arrival_description?: boolean | undefined;
|
|
2017
|
-
} | undefined;
|
|
2018
|
-
}, {
|
|
2019
|
-
content?: {
|
|
2020
|
-
body?: string | undefined;
|
|
2021
|
-
help?: string | undefined;
|
|
2022
|
-
} | undefined;
|
|
2023
|
-
sections?: {
|
|
2024
|
-
arrival_description?: boolean | undefined;
|
|
2025
|
-
} | undefined;
|
|
2026
|
-
}>>;
|
|
2027
|
-
}, "strip", z.ZodTypeAny, {
|
|
2028
|
-
booking_confirmation?: {
|
|
2029
|
-
content?: {
|
|
2030
|
-
body?: string | undefined;
|
|
2031
|
-
help?: string | undefined;
|
|
2032
|
-
} | undefined;
|
|
2033
|
-
sections?: {
|
|
2034
|
-
arrival_description?: boolean | undefined;
|
|
2035
|
-
} | undefined;
|
|
2036
|
-
} | undefined;
|
|
2037
|
-
}, {
|
|
2038
|
-
booking_confirmation?: {
|
|
2039
|
-
content?: {
|
|
2040
|
-
body?: string | undefined;
|
|
2041
|
-
help?: string | undefined;
|
|
2042
|
-
} | undefined;
|
|
2043
|
-
sections?: {
|
|
2044
|
-
arrival_description?: boolean | undefined;
|
|
2045
|
-
} | undefined;
|
|
2046
|
-
} | undefined;
|
|
2047
|
-
}>;
|
|
503
|
+
}, z.core.$strip>>;
|
|
504
|
+
}, z.core.$strip>>;
|
|
505
|
+
}, z.core.$strip>;
|
|
2048
506
|
type MainSettings = z.infer<typeof MainSettingsSchema>;
|
|
2049
507
|
type ThemeSettings = z.infer<typeof ThemeSettingsSchema>;
|
|
2050
508
|
type PropertySettings = z.infer<typeof PropertySettingsSchema>;
|
|
@@ -2061,69 +519,34 @@ declare const BookingRequestSchema: z.ZodObject<{
|
|
|
2061
519
|
phone: z.ZodOptional<z.ZodString>;
|
|
2062
520
|
notes: z.ZodOptional<z.ZodString>;
|
|
2063
521
|
total_amount: z.ZodNumber;
|
|
2064
|
-
payment_method: z.ZodOptional<z.ZodEnum<
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
property_id: number;
|
|
2071
|
-
first_name: string;
|
|
2072
|
-
last_name: string;
|
|
2073
|
-
total_amount: number;
|
|
2074
|
-
phone?: string | undefined;
|
|
2075
|
-
notes?: string | undefined;
|
|
2076
|
-
payment_method?: "stripe" | "cash" | "bank_transfer" | undefined;
|
|
2077
|
-
}, {
|
|
2078
|
-
check_in: string;
|
|
2079
|
-
check_out: string;
|
|
2080
|
-
email: string;
|
|
2081
|
-
guests: number;
|
|
2082
|
-
property_id: number;
|
|
2083
|
-
first_name: string;
|
|
2084
|
-
last_name: string;
|
|
2085
|
-
total_amount: number;
|
|
2086
|
-
phone?: string | undefined;
|
|
2087
|
-
notes?: string | undefined;
|
|
2088
|
-
payment_method?: "stripe" | "cash" | "bank_transfer" | undefined;
|
|
2089
|
-
}>;
|
|
522
|
+
payment_method: z.ZodOptional<z.ZodEnum<{
|
|
523
|
+
stripe: "stripe";
|
|
524
|
+
cash: "cash";
|
|
525
|
+
bank_transfer: "bank_transfer";
|
|
526
|
+
}>>;
|
|
527
|
+
}, z.core.$strip>;
|
|
2090
528
|
declare const BookingResponseSchema: z.ZodObject<{
|
|
2091
529
|
id: z.ZodString;
|
|
2092
530
|
property_id: z.ZodNumber;
|
|
2093
531
|
check_in: z.ZodString;
|
|
2094
532
|
check_out: z.ZodString;
|
|
2095
533
|
guests: z.ZodNumber;
|
|
2096
|
-
status: z.ZodEnum<
|
|
534
|
+
status: z.ZodEnum<{
|
|
535
|
+
pending: "pending";
|
|
536
|
+
confirmed: "confirmed";
|
|
537
|
+
cancelled: "cancelled";
|
|
538
|
+
completed: "completed";
|
|
539
|
+
}>;
|
|
2097
540
|
total_amount: z.ZodNumber;
|
|
2098
|
-
payment_status: z.ZodEnum<
|
|
541
|
+
payment_status: z.ZodEnum<{
|
|
542
|
+
pending: "pending";
|
|
543
|
+
paid: "paid";
|
|
544
|
+
refunded: "refunded";
|
|
545
|
+
}>;
|
|
2099
546
|
confirmation_code: z.ZodString;
|
|
2100
547
|
created_at: z.ZodString;
|
|
2101
548
|
updated_at: z.ZodString;
|
|
2102
|
-
},
|
|
2103
|
-
status: "pending" | "confirmed" | "cancelled" | "completed";
|
|
2104
|
-
id: string;
|
|
2105
|
-
check_in: string;
|
|
2106
|
-
check_out: string;
|
|
2107
|
-
created_at: string;
|
|
2108
|
-
updated_at: string;
|
|
2109
|
-
guests: number;
|
|
2110
|
-
property_id: number;
|
|
2111
|
-
total_amount: number;
|
|
2112
|
-
payment_status: "pending" | "paid" | "refunded";
|
|
2113
|
-
confirmation_code: string;
|
|
2114
|
-
}, {
|
|
2115
|
-
status: "pending" | "confirmed" | "cancelled" | "completed";
|
|
2116
|
-
id: string;
|
|
2117
|
-
check_in: string;
|
|
2118
|
-
check_out: string;
|
|
2119
|
-
created_at: string;
|
|
2120
|
-
updated_at: string;
|
|
2121
|
-
guests: number;
|
|
2122
|
-
property_id: number;
|
|
2123
|
-
total_amount: number;
|
|
2124
|
-
payment_status: "pending" | "paid" | "refunded";
|
|
2125
|
-
confirmation_code: string;
|
|
2126
|
-
}>;
|
|
549
|
+
}, z.core.$strip>;
|
|
2127
550
|
type BookingRequest = z.infer<typeof BookingRequestSchema>;
|
|
2128
551
|
type BookingResponse = z.infer<typeof BookingResponseSchema>;
|
|
2129
552
|
|
|
@@ -2135,50 +558,12 @@ declare const MoreApartmentsConfigSchema: z.ZodObject<{
|
|
|
2135
558
|
retry: z.ZodOptional<z.ZodObject<{
|
|
2136
559
|
attempts: z.ZodNumber;
|
|
2137
560
|
delay: z.ZodNumber;
|
|
2138
|
-
},
|
|
2139
|
-
attempts: number;
|
|
2140
|
-
delay: number;
|
|
2141
|
-
}, {
|
|
2142
|
-
attempts: number;
|
|
2143
|
-
delay: number;
|
|
2144
|
-
}>>;
|
|
561
|
+
}, z.core.$strip>>;
|
|
2145
562
|
cache: z.ZodOptional<z.ZodObject<{
|
|
2146
563
|
enabled: z.ZodBoolean;
|
|
2147
564
|
ttl: z.ZodNumber;
|
|
2148
|
-
},
|
|
2149
|
-
|
|
2150
|
-
ttl: number;
|
|
2151
|
-
}, {
|
|
2152
|
-
enabled: boolean;
|
|
2153
|
-
ttl: number;
|
|
2154
|
-
}>>;
|
|
2155
|
-
}, "strip", z.ZodTypeAny, {
|
|
2156
|
-
baseUrl?: string | undefined;
|
|
2157
|
-
apiKey?: string | undefined;
|
|
2158
|
-
instance?: string | undefined;
|
|
2159
|
-
timeout?: number | undefined;
|
|
2160
|
-
retry?: {
|
|
2161
|
-
attempts: number;
|
|
2162
|
-
delay: number;
|
|
2163
|
-
} | undefined;
|
|
2164
|
-
cache?: {
|
|
2165
|
-
enabled: boolean;
|
|
2166
|
-
ttl: number;
|
|
2167
|
-
} | undefined;
|
|
2168
|
-
}, {
|
|
2169
|
-
baseUrl?: string | undefined;
|
|
2170
|
-
apiKey?: string | undefined;
|
|
2171
|
-
instance?: string | undefined;
|
|
2172
|
-
timeout?: number | undefined;
|
|
2173
|
-
retry?: {
|
|
2174
|
-
attempts: number;
|
|
2175
|
-
delay: number;
|
|
2176
|
-
} | undefined;
|
|
2177
|
-
cache?: {
|
|
2178
|
-
enabled: boolean;
|
|
2179
|
-
ttl: number;
|
|
2180
|
-
} | undefined;
|
|
2181
|
-
}>;
|
|
565
|
+
}, z.core.$strip>>;
|
|
566
|
+
}, z.core.$strip>;
|
|
2182
567
|
type MoreApartmentsConfig = z.infer<typeof MoreApartmentsConfigSchema>;
|
|
2183
568
|
|
|
2184
569
|
declare class MoreApartmentsClient {
|
|
@@ -2353,8 +738,6 @@ declare function fetchProperties(client: MoreApartmentsClient, params?: {
|
|
|
2353
738
|
page?: number;
|
|
2354
739
|
per_page?: number;
|
|
2355
740
|
}): Promise<PaginatedResponse<{
|
|
2356
|
-
type: string | null;
|
|
2357
|
-
status: string | null;
|
|
2358
741
|
id: number;
|
|
2359
742
|
external_id: string | null;
|
|
2360
743
|
name: string;
|
|
@@ -2364,6 +747,7 @@ declare function fetchProperties(client: MoreApartmentsClient, params?: {
|
|
|
2364
747
|
area_description: string | null;
|
|
2365
748
|
arrival_description: string | null;
|
|
2366
749
|
payment_description: string | null;
|
|
750
|
+
type: string | null;
|
|
2367
751
|
max_persons: number | null;
|
|
2368
752
|
bedrooms: number | null;
|
|
2369
753
|
bathrooms: number | null;
|
|
@@ -2393,9 +777,9 @@ declare function fetchProperties(client: MoreApartmentsClient, params?: {
|
|
|
2393
777
|
heating: boolean;
|
|
2394
778
|
internet: string | null;
|
|
2395
779
|
internet_connection: string | null;
|
|
2396
|
-
tv: string;
|
|
780
|
+
tv: string | null;
|
|
2397
781
|
tv_connection: string | null;
|
|
2398
|
-
dvd: string;
|
|
782
|
+
dvd: string | null;
|
|
2399
783
|
computer: boolean;
|
|
2400
784
|
printer: boolean;
|
|
2401
785
|
dishwasher: boolean;
|
|
@@ -2416,9 +800,9 @@ declare function fetchProperties(client: MoreApartmentsClient, params?: {
|
|
|
2416
800
|
shower_regular: boolean;
|
|
2417
801
|
shower_steam: boolean;
|
|
2418
802
|
hairdryer: boolean;
|
|
2419
|
-
swimmingpool: string;
|
|
2420
|
-
sauna: string;
|
|
2421
|
-
parking: string;
|
|
803
|
+
swimmingpool: string | null;
|
|
804
|
+
sauna: string | null;
|
|
805
|
+
parking: string | null;
|
|
2422
806
|
elevator: boolean | null;
|
|
2423
807
|
entresol: boolean;
|
|
2424
808
|
wheelchair_friendly: boolean;
|
|
@@ -2444,9 +828,11 @@ declare function fetchProperties(client: MoreApartmentsClient, params?: {
|
|
|
2444
828
|
available_end: string | null;
|
|
2445
829
|
check_in: string | null;
|
|
2446
830
|
check_out: string | null;
|
|
831
|
+
status: string | null;
|
|
2447
832
|
provider_name: string | null;
|
|
2448
833
|
created_at: string;
|
|
2449
834
|
updated_at: string;
|
|
835
|
+
min_rate?: number | null | undefined;
|
|
2450
836
|
images?: {
|
|
2451
837
|
id: number;
|
|
2452
838
|
alt: string;
|
|
@@ -2474,8 +860,6 @@ declare function fetchProperties(client: MoreApartmentsClient, params?: {
|
|
|
2474
860
|
* ```
|
|
2475
861
|
*/
|
|
2476
862
|
declare function fetchProperty(client: MoreApartmentsClient, idOrSlug: number | string): Promise<{
|
|
2477
|
-
type: string | null;
|
|
2478
|
-
status: string | null;
|
|
2479
863
|
id: number;
|
|
2480
864
|
external_id: string | null;
|
|
2481
865
|
name: string;
|
|
@@ -2485,6 +869,7 @@ declare function fetchProperty(client: MoreApartmentsClient, idOrSlug: number |
|
|
|
2485
869
|
area_description: string | null;
|
|
2486
870
|
arrival_description: string | null;
|
|
2487
871
|
payment_description: string | null;
|
|
872
|
+
type: string | null;
|
|
2488
873
|
max_persons: number | null;
|
|
2489
874
|
bedrooms: number | null;
|
|
2490
875
|
bathrooms: number | null;
|
|
@@ -2514,9 +899,9 @@ declare function fetchProperty(client: MoreApartmentsClient, idOrSlug: number |
|
|
|
2514
899
|
heating: boolean;
|
|
2515
900
|
internet: string | null;
|
|
2516
901
|
internet_connection: string | null;
|
|
2517
|
-
tv: string;
|
|
902
|
+
tv: string | null;
|
|
2518
903
|
tv_connection: string | null;
|
|
2519
|
-
dvd: string;
|
|
904
|
+
dvd: string | null;
|
|
2520
905
|
computer: boolean;
|
|
2521
906
|
printer: boolean;
|
|
2522
907
|
dishwasher: boolean;
|
|
@@ -2537,9 +922,9 @@ declare function fetchProperty(client: MoreApartmentsClient, idOrSlug: number |
|
|
|
2537
922
|
shower_regular: boolean;
|
|
2538
923
|
shower_steam: boolean;
|
|
2539
924
|
hairdryer: boolean;
|
|
2540
|
-
swimmingpool: string;
|
|
2541
|
-
sauna: string;
|
|
2542
|
-
parking: string;
|
|
925
|
+
swimmingpool: string | null;
|
|
926
|
+
sauna: string | null;
|
|
927
|
+
parking: string | null;
|
|
2543
928
|
elevator: boolean | null;
|
|
2544
929
|
entresol: boolean;
|
|
2545
930
|
wheelchair_friendly: boolean;
|
|
@@ -2565,9 +950,11 @@ declare function fetchProperty(client: MoreApartmentsClient, idOrSlug: number |
|
|
|
2565
950
|
available_end: string | null;
|
|
2566
951
|
check_in: string | null;
|
|
2567
952
|
check_out: string | null;
|
|
953
|
+
status: string | null;
|
|
2568
954
|
provider_name: string | null;
|
|
2569
955
|
created_at: string;
|
|
2570
956
|
updated_at: string;
|
|
957
|
+
min_rate?: number | null | undefined;
|
|
2571
958
|
images?: {
|
|
2572
959
|
id: number;
|
|
2573
960
|
alt: string;
|
|
@@ -2594,9 +981,9 @@ declare function fetchProperty(client: MoreApartmentsClient, idOrSlug: number |
|
|
|
2594
981
|
*/
|
|
2595
982
|
declare function fetchAvailability(client: MoreApartmentsClient, propertySlug: string, startDate: string, endDate: string): Promise<{
|
|
2596
983
|
days: Record<string, {
|
|
2597
|
-
date: string;
|
|
2598
984
|
available: boolean;
|
|
2599
985
|
morning_available: boolean;
|
|
986
|
+
date: string;
|
|
2600
987
|
day: number;
|
|
2601
988
|
stay_minimum: number;
|
|
2602
989
|
}>;
|
|
@@ -2609,13 +996,13 @@ declare function fetchAvailability(client: MoreApartmentsClient, propertySlug: s
|
|
|
2609
996
|
declare function fetchPages(client: MoreApartmentsClient): Promise<{
|
|
2610
997
|
id: string;
|
|
2611
998
|
slug: string;
|
|
2612
|
-
description: string | null;
|
|
2613
999
|
title: string | null;
|
|
1000
|
+
description: string | null;
|
|
2614
1001
|
content: string | null;
|
|
2615
1002
|
sections: any[];
|
|
2616
1003
|
seo: {
|
|
2617
|
-
description: string;
|
|
2618
1004
|
title: string;
|
|
1005
|
+
description: string;
|
|
2619
1006
|
image: string | null;
|
|
2620
1007
|
};
|
|
2621
1008
|
route_name: string;
|
|
@@ -2629,13 +1016,13 @@ declare function fetchPages(client: MoreApartmentsClient): Promise<{
|
|
|
2629
1016
|
declare function fetchPage(client: MoreApartmentsClient, slug: string): Promise<{
|
|
2630
1017
|
id: string;
|
|
2631
1018
|
slug: string;
|
|
2632
|
-
description: string | null;
|
|
2633
1019
|
title: string | null;
|
|
1020
|
+
description: string | null;
|
|
2634
1021
|
content: string | null;
|
|
2635
1022
|
sections: any[];
|
|
2636
1023
|
seo: {
|
|
2637
|
-
description: string;
|
|
2638
1024
|
title: string;
|
|
1025
|
+
description: string;
|
|
2639
1026
|
image: string | null;
|
|
2640
1027
|
};
|
|
2641
1028
|
route_name: string;
|
|
@@ -2653,22 +1040,22 @@ declare function fetchPosts(client: MoreApartmentsClient, params?: {
|
|
|
2653
1040
|
}): Promise<{
|
|
2654
1041
|
id: string;
|
|
2655
1042
|
slug: string;
|
|
2656
|
-
description: string | null;
|
|
2657
|
-
date: string;
|
|
2658
1043
|
title: string;
|
|
1044
|
+
description: string | null;
|
|
2659
1045
|
content: string | null;
|
|
1046
|
+
excerpt: string | null;
|
|
1047
|
+
author: string | null;
|
|
1048
|
+
date: string;
|
|
1049
|
+
image: string | null;
|
|
1050
|
+
tags: string[];
|
|
1051
|
+
reading_time: string | null;
|
|
2660
1052
|
sections: any[];
|
|
2661
1053
|
seo: {
|
|
2662
|
-
description: string;
|
|
2663
1054
|
title: string;
|
|
1055
|
+
description: string;
|
|
2664
1056
|
image: string | null;
|
|
2665
1057
|
};
|
|
2666
|
-
image: string | null;
|
|
2667
1058
|
route_name: string;
|
|
2668
|
-
excerpt: string | null;
|
|
2669
|
-
author: string | null;
|
|
2670
|
-
tags: string[];
|
|
2671
|
-
reading_time: string | null;
|
|
2672
1059
|
}[] | {
|
|
2673
1060
|
data: never[];
|
|
2674
1061
|
links: {};
|
|
@@ -2683,22 +1070,22 @@ declare function fetchPosts(client: MoreApartmentsClient, params?: {
|
|
|
2683
1070
|
declare function fetchPost(client: MoreApartmentsClient, slug: string): Promise<{
|
|
2684
1071
|
id: string;
|
|
2685
1072
|
slug: string;
|
|
2686
|
-
description: string | null;
|
|
2687
|
-
date: string;
|
|
2688
1073
|
title: string;
|
|
1074
|
+
description: string | null;
|
|
2689
1075
|
content: string | null;
|
|
1076
|
+
excerpt: string | null;
|
|
1077
|
+
author: string | null;
|
|
1078
|
+
date: string;
|
|
1079
|
+
image: string | null;
|
|
1080
|
+
tags: string[];
|
|
1081
|
+
reading_time: string | null;
|
|
2690
1082
|
sections: any[];
|
|
2691
1083
|
seo: {
|
|
2692
|
-
description: string;
|
|
2693
1084
|
title: string;
|
|
1085
|
+
description: string;
|
|
2694
1086
|
image: string | null;
|
|
2695
1087
|
};
|
|
2696
|
-
image: string | null;
|
|
2697
1088
|
route_name: string;
|
|
2698
|
-
excerpt: string | null;
|
|
2699
|
-
author: string | null;
|
|
2700
|
-
tags: string[];
|
|
2701
|
-
reading_time: string | null;
|
|
2702
1089
|
} | null>;
|
|
2703
1090
|
/**
|
|
2704
1091
|
* Fetch settings by type with error handling
|
|
@@ -2729,29 +1116,29 @@ declare function fetchSettings(client: MoreApartmentsClient, type: 'main' | 'the
|
|
|
2729
1116
|
} | undefined;
|
|
2730
1117
|
mail?: {
|
|
2731
1118
|
from: {
|
|
2732
|
-
name: string;
|
|
2733
1119
|
address: string;
|
|
1120
|
+
name: string;
|
|
2734
1121
|
};
|
|
2735
1122
|
contact_form_to: string;
|
|
2736
1123
|
} | undefined;
|
|
2737
|
-
discount?: number | undefined;
|
|
2738
1124
|
pms?: {
|
|
2739
1125
|
property_providers: {
|
|
2740
1126
|
name: string;
|
|
2741
1127
|
system: string;
|
|
2742
|
-
enabled?: boolean | undefined;
|
|
2743
1128
|
api_key?: string | undefined;
|
|
2744
1129
|
base_url?: string | undefined;
|
|
2745
1130
|
discount?: number | undefined;
|
|
1131
|
+
enabled?: boolean | undefined;
|
|
2746
1132
|
}[];
|
|
2747
1133
|
} | undefined;
|
|
2748
1134
|
pricing?: {
|
|
2749
1135
|
vat: number;
|
|
2750
1136
|
tourist_tax: {
|
|
2751
|
-
value: number;
|
|
2752
1137
|
type: string;
|
|
1138
|
+
value: number;
|
|
2753
1139
|
};
|
|
2754
1140
|
} | undefined;
|
|
1141
|
+
discount?: number | undefined;
|
|
2755
1142
|
} | {
|
|
2756
1143
|
colors: {
|
|
2757
1144
|
primary: string;
|
|
@@ -2781,22 +1168,22 @@ declare function fetchSettings(client: MoreApartmentsClient, type: 'main' | 'the
|
|
|
2781
1168
|
};
|
|
2782
1169
|
index: {
|
|
2783
1170
|
seo: {
|
|
2784
|
-
description: string;
|
|
2785
1171
|
title: string;
|
|
2786
|
-
|
|
1172
|
+
description: string;
|
|
2787
1173
|
openGraphTitle?: string | undefined;
|
|
1174
|
+
tags?: string[] | undefined;
|
|
2788
1175
|
};
|
|
2789
1176
|
};
|
|
2790
1177
|
seo?: {
|
|
2791
|
-
description: string;
|
|
2792
1178
|
title: string;
|
|
2793
|
-
|
|
1179
|
+
description: string;
|
|
2794
1180
|
openGraphTitle?: string | undefined;
|
|
1181
|
+
tags?: string[] | undefined;
|
|
2795
1182
|
} | undefined;
|
|
2796
1183
|
show?: {
|
|
2797
1184
|
hero?: {
|
|
2798
|
-
address?: boolean | undefined;
|
|
2799
1185
|
provider?: boolean | undefined;
|
|
1186
|
+
address?: boolean | undefined;
|
|
2800
1187
|
} | undefined;
|
|
2801
1188
|
cancellation_policy?: {
|
|
2802
1189
|
description: string;
|
|
@@ -2807,13 +1194,13 @@ declare function fetchSettings(client: MoreApartmentsClient, type: 'main' | 'the
|
|
|
2807
1194
|
} | undefined;
|
|
2808
1195
|
} | {
|
|
2809
1196
|
booking_confirmation?: {
|
|
1197
|
+
sections?: {
|
|
1198
|
+
arrival_description?: boolean | undefined;
|
|
1199
|
+
} | undefined;
|
|
2810
1200
|
content?: {
|
|
2811
1201
|
body?: string | undefined;
|
|
2812
1202
|
help?: string | undefined;
|
|
2813
1203
|
} | undefined;
|
|
2814
|
-
sections?: {
|
|
2815
|
-
arrival_description?: boolean | undefined;
|
|
2816
|
-
} | undefined;
|
|
2817
1204
|
} | undefined;
|
|
2818
1205
|
} | null>;
|
|
2819
1206
|
/**
|
|
@@ -2834,8 +1221,6 @@ declare function generateBookingUrl(propertyExternalId: number, arrival: string,
|
|
|
2834
1221
|
* @returns Array of matching properties
|
|
2835
1222
|
*/
|
|
2836
1223
|
declare function searchProperties(client: MoreApartmentsClient, params: PropertySearchParams): Promise<{
|
|
2837
|
-
type: string | null;
|
|
2838
|
-
status: string | null;
|
|
2839
1224
|
id: number;
|
|
2840
1225
|
external_id: string | null;
|
|
2841
1226
|
name: string;
|
|
@@ -2845,6 +1230,7 @@ declare function searchProperties(client: MoreApartmentsClient, params: Property
|
|
|
2845
1230
|
area_description: string | null;
|
|
2846
1231
|
arrival_description: string | null;
|
|
2847
1232
|
payment_description: string | null;
|
|
1233
|
+
type: string | null;
|
|
2848
1234
|
max_persons: number | null;
|
|
2849
1235
|
bedrooms: number | null;
|
|
2850
1236
|
bathrooms: number | null;
|
|
@@ -2874,9 +1260,9 @@ declare function searchProperties(client: MoreApartmentsClient, params: Property
|
|
|
2874
1260
|
heating: boolean;
|
|
2875
1261
|
internet: string | null;
|
|
2876
1262
|
internet_connection: string | null;
|
|
2877
|
-
tv: string;
|
|
1263
|
+
tv: string | null;
|
|
2878
1264
|
tv_connection: string | null;
|
|
2879
|
-
dvd: string;
|
|
1265
|
+
dvd: string | null;
|
|
2880
1266
|
computer: boolean;
|
|
2881
1267
|
printer: boolean;
|
|
2882
1268
|
dishwasher: boolean;
|
|
@@ -2897,9 +1283,9 @@ declare function searchProperties(client: MoreApartmentsClient, params: Property
|
|
|
2897
1283
|
shower_regular: boolean;
|
|
2898
1284
|
shower_steam: boolean;
|
|
2899
1285
|
hairdryer: boolean;
|
|
2900
|
-
swimmingpool: string;
|
|
2901
|
-
sauna: string;
|
|
2902
|
-
parking: string;
|
|
1286
|
+
swimmingpool: string | null;
|
|
1287
|
+
sauna: string | null;
|
|
1288
|
+
parking: string | null;
|
|
2903
1289
|
elevator: boolean | null;
|
|
2904
1290
|
entresol: boolean;
|
|
2905
1291
|
wheelchair_friendly: boolean;
|
|
@@ -2925,9 +1311,11 @@ declare function searchProperties(client: MoreApartmentsClient, params: Property
|
|
|
2925
1311
|
available_end: string | null;
|
|
2926
1312
|
check_in: string | null;
|
|
2927
1313
|
check_out: string | null;
|
|
1314
|
+
status: string | null;
|
|
2928
1315
|
provider_name: string | null;
|
|
2929
1316
|
created_at: string;
|
|
2930
1317
|
updated_at: string;
|
|
1318
|
+
min_rate?: number | null | undefined;
|
|
2931
1319
|
images?: {
|
|
2932
1320
|
id: number;
|
|
2933
1321
|
alt: string;
|