hububb-models 1.1.16 → 1.1.18
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/dist/helpers/index.d.ts +2 -2
- package/dist/helpers/index.js +2 -2
- package/dist/schemas/apaleo/block.d.ts +2 -2
- package/dist/schemas/apaleo/offer.d.ts +20 -20
- package/dist/schemas/apaleo/property.d.ts +2 -2
- package/dist/schemas/apaleo/reservation.d.ts +36 -36
- package/dist/schemas/blog.d.ts +3 -3
- package/dist/schemas/channex/booking.d.ts +4 -4
- package/dist/schemas/channex/property.d.ts +20 -20
- package/dist/schemas/channex/thread.d.ts +2 -2
- package/dist/schemas/listing.d.ts +49 -49
- package/dist/schemas/reservation.d.ts +25 -25
- package/dist/schemas/thread.d.ts +89 -83
- package/dist/schemas/thread.js +2 -0
- package/dist/schemas/user.d.ts +3 -3
- package/package.json +1 -1
package/dist/helpers/index.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import
|
1
|
+
import { Timestamp } from "@firebase/firestore";
|
2
2
|
import { z } from "zod";
|
3
|
-
export declare const firestoreTimestampSchema: z.ZodType<
|
3
|
+
export declare const firestoreTimestampSchema: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
|
package/dist/helpers/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.firestoreTimestampSchema = void 0;
|
4
|
-
const
|
4
|
+
const firestore_1 = require("@firebase/firestore");
|
5
5
|
const zod_1 = require("zod");
|
6
|
-
exports.firestoreTimestampSchema = zod_1.z.instanceof(
|
6
|
+
exports.firestoreTimestampSchema = zod_1.z.instanceof(firestore_1.Timestamp);
|
@@ -154,8 +154,8 @@ declare const blockSchema: import("zod").ZodObject<{
|
|
154
154
|
id: string;
|
155
155
|
name: string;
|
156
156
|
};
|
157
|
-
from: string;
|
158
157
|
modified: string;
|
158
|
+
from: string;
|
159
159
|
to: string;
|
160
160
|
timeSlices: {
|
161
161
|
from: string;
|
@@ -207,8 +207,8 @@ declare const blockSchema: import("zod").ZodObject<{
|
|
207
207
|
id: string;
|
208
208
|
name: string;
|
209
209
|
};
|
210
|
-
from: string;
|
211
210
|
modified: string;
|
211
|
+
from: string;
|
212
212
|
to: string;
|
213
213
|
timeSlices: {
|
214
214
|
from: string;
|
@@ -253,23 +253,23 @@ export declare const offerSchema: import("zod").ZodObject<{
|
|
253
253
|
amount: number;
|
254
254
|
}>;
|
255
255
|
}, "strip", import("zod").ZodTypeAny, {
|
256
|
+
vatType: string;
|
257
|
+
vatPercent: number;
|
256
258
|
net: {
|
257
259
|
currency: string;
|
258
260
|
amount: number;
|
259
261
|
};
|
260
|
-
vatType: string;
|
261
|
-
vatPercent: number;
|
262
262
|
tax: {
|
263
263
|
currency: string;
|
264
264
|
amount: number;
|
265
265
|
};
|
266
266
|
}, {
|
267
|
+
vatType: string;
|
268
|
+
vatPercent: number;
|
267
269
|
net: {
|
268
270
|
currency: string;
|
269
271
|
amount: number;
|
270
272
|
};
|
271
|
-
vatType: string;
|
272
|
-
vatPercent: number;
|
273
273
|
tax: {
|
274
274
|
currency: string;
|
275
275
|
amount: number;
|
@@ -363,12 +363,12 @@ export declare const offerSchema: import("zod").ZodObject<{
|
|
363
363
|
};
|
364
364
|
}[] | undefined;
|
365
365
|
taxDetails?: {
|
366
|
+
vatType: string;
|
367
|
+
vatPercent: number;
|
366
368
|
net: {
|
367
369
|
currency: string;
|
368
370
|
amount: number;
|
369
371
|
};
|
370
|
-
vatType: string;
|
371
|
-
vatPercent: number;
|
372
372
|
tax: {
|
373
373
|
currency: string;
|
374
374
|
amount: number;
|
@@ -451,12 +451,12 @@ export declare const offerSchema: import("zod").ZodObject<{
|
|
451
451
|
};
|
452
452
|
}[] | undefined;
|
453
453
|
taxDetails?: {
|
454
|
+
vatType: string;
|
455
|
+
vatPercent: number;
|
454
456
|
net: {
|
455
457
|
currency: string;
|
456
458
|
amount: number;
|
457
459
|
};
|
458
|
-
vatType: string;
|
459
|
-
vatPercent: number;
|
460
460
|
tax: {
|
461
461
|
currency: string;
|
462
462
|
amount: number;
|
@@ -735,23 +735,23 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
|
|
735
735
|
amount: number;
|
736
736
|
}>;
|
737
737
|
}, "strip", import("zod").ZodTypeAny, {
|
738
|
+
vatType: string;
|
739
|
+
vatPercent: number;
|
738
740
|
net: {
|
739
741
|
currency: string;
|
740
742
|
amount: number;
|
741
743
|
};
|
742
|
-
vatType: string;
|
743
|
-
vatPercent: number;
|
744
744
|
tax: {
|
745
745
|
currency: string;
|
746
746
|
amount: number;
|
747
747
|
};
|
748
748
|
}, {
|
749
|
+
vatType: string;
|
750
|
+
vatPercent: number;
|
749
751
|
net: {
|
750
752
|
currency: string;
|
751
753
|
amount: number;
|
752
754
|
};
|
753
|
-
vatType: string;
|
754
|
-
vatPercent: number;
|
755
755
|
tax: {
|
756
756
|
currency: string;
|
757
757
|
amount: number;
|
@@ -845,12 +845,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
|
|
845
845
|
};
|
846
846
|
}[] | undefined;
|
847
847
|
taxDetails?: {
|
848
|
+
vatType: string;
|
849
|
+
vatPercent: number;
|
848
850
|
net: {
|
849
851
|
currency: string;
|
850
852
|
amount: number;
|
851
853
|
};
|
852
|
-
vatType: string;
|
853
|
-
vatPercent: number;
|
854
854
|
tax: {
|
855
855
|
currency: string;
|
856
856
|
amount: number;
|
@@ -933,12 +933,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
|
|
933
933
|
};
|
934
934
|
}[] | undefined;
|
935
935
|
taxDetails?: {
|
936
|
+
vatType: string;
|
937
|
+
vatPercent: number;
|
936
938
|
net: {
|
937
939
|
currency: string;
|
938
940
|
amount: number;
|
939
941
|
};
|
940
|
-
vatType: string;
|
941
|
-
vatPercent: number;
|
942
942
|
tax: {
|
943
943
|
currency: string;
|
944
944
|
amount: number;
|
@@ -1029,12 +1029,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
|
|
1029
1029
|
};
|
1030
1030
|
}[] | undefined;
|
1031
1031
|
taxDetails?: {
|
1032
|
+
vatType: string;
|
1033
|
+
vatPercent: number;
|
1032
1034
|
net: {
|
1033
1035
|
currency: string;
|
1034
1036
|
amount: number;
|
1035
1037
|
};
|
1036
|
-
vatType: string;
|
1037
|
-
vatPercent: number;
|
1038
1038
|
tax: {
|
1039
1039
|
currency: string;
|
1040
1040
|
amount: number;
|
@@ -1125,12 +1125,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
|
|
1125
1125
|
};
|
1126
1126
|
}[] | undefined;
|
1127
1127
|
taxDetails?: {
|
1128
|
+
vatType: string;
|
1129
|
+
vatPercent: number;
|
1128
1130
|
net: {
|
1129
1131
|
currency: string;
|
1130
1132
|
amount: number;
|
1131
1133
|
};
|
1132
|
-
vatType: string;
|
1133
|
-
vatPercent: number;
|
1134
1134
|
tax: {
|
1135
1135
|
currency: string;
|
1136
1136
|
amount: number;
|
@@ -75,7 +75,6 @@ declare const ApaleoPropertySchema: z.ZodObject<{
|
|
75
75
|
timeZone: string;
|
76
76
|
currencyCode: string;
|
77
77
|
isArchived: boolean;
|
78
|
-
actions?: any[] | undefined;
|
79
78
|
propertyTemplateId?: string | undefined;
|
80
79
|
managingDirectors?: string | undefined;
|
81
80
|
bankAccount?: {
|
@@ -83,6 +82,7 @@ declare const ApaleoPropertySchema: z.ZodObject<{
|
|
83
82
|
bic?: string | undefined;
|
84
83
|
bank?: string | undefined;
|
85
84
|
} | undefined;
|
85
|
+
actions?: any[] | undefined;
|
86
86
|
}, {
|
87
87
|
code: string;
|
88
88
|
location: {
|
@@ -106,7 +106,6 @@ declare const ApaleoPropertySchema: z.ZodObject<{
|
|
106
106
|
timeZone: string;
|
107
107
|
currencyCode: string;
|
108
108
|
isArchived: boolean;
|
109
|
-
actions?: any[] | undefined;
|
110
109
|
propertyTemplateId?: string | undefined;
|
111
110
|
managingDirectors?: string | undefined;
|
112
111
|
bankAccount?: {
|
@@ -114,5 +113,6 @@ declare const ApaleoPropertySchema: z.ZodObject<{
|
|
114
113
|
bic?: string | undefined;
|
115
114
|
bank?: string | undefined;
|
116
115
|
} | undefined;
|
116
|
+
actions?: any[] | undefined;
|
117
117
|
}>;
|
118
118
|
export default ApaleoPropertySchema;
|
@@ -196,23 +196,23 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
196
196
|
amount: number;
|
197
197
|
}>;
|
198
198
|
}, "strip", import("zod").ZodTypeAny, {
|
199
|
+
vatType: string;
|
200
|
+
vatPercent: number;
|
199
201
|
net: {
|
200
202
|
currency: string;
|
201
203
|
amount: number;
|
202
204
|
};
|
203
|
-
vatType: string;
|
204
|
-
vatPercent: number;
|
205
205
|
tax: {
|
206
206
|
currency: string;
|
207
207
|
amount: number;
|
208
208
|
};
|
209
209
|
}, {
|
210
|
+
vatType: string;
|
211
|
+
vatPercent: number;
|
210
212
|
net: {
|
211
213
|
currency: string;
|
212
214
|
amount: number;
|
213
215
|
};
|
214
|
-
vatType: string;
|
215
|
-
vatPercent: number;
|
216
216
|
tax: {
|
217
217
|
currency: string;
|
218
218
|
amount: number;
|
@@ -346,6 +346,13 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
346
346
|
isMandatory: boolean;
|
347
347
|
}>, "many">;
|
348
348
|
}, "strip", import("zod").ZodTypeAny, {
|
349
|
+
totalAmount: {
|
350
|
+
currency: string;
|
351
|
+
grossAmount: number;
|
352
|
+
netAmount: number;
|
353
|
+
vatType: string;
|
354
|
+
vatPercent: number;
|
355
|
+
};
|
349
356
|
service: {
|
350
357
|
code: string;
|
351
358
|
id: string;
|
@@ -357,13 +364,6 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
357
364
|
amount: number;
|
358
365
|
};
|
359
366
|
};
|
360
|
-
totalAmount: {
|
361
|
-
currency: string;
|
362
|
-
grossAmount: number;
|
363
|
-
netAmount: number;
|
364
|
-
vatType: string;
|
365
|
-
vatPercent: number;
|
366
|
-
};
|
367
367
|
dates: {
|
368
368
|
count: number;
|
369
369
|
amount: {
|
@@ -377,6 +377,13 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
377
377
|
isMandatory: boolean;
|
378
378
|
}[];
|
379
379
|
}, {
|
380
|
+
totalAmount: {
|
381
|
+
currency: string;
|
382
|
+
grossAmount: number;
|
383
|
+
netAmount: number;
|
384
|
+
vatType: string;
|
385
|
+
vatPercent: number;
|
386
|
+
};
|
380
387
|
service: {
|
381
388
|
code: string;
|
382
389
|
id: string;
|
@@ -388,13 +395,6 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
388
395
|
amount: number;
|
389
396
|
};
|
390
397
|
};
|
391
|
-
totalAmount: {
|
392
|
-
currency: string;
|
393
|
-
grossAmount: number;
|
394
|
-
netAmount: number;
|
395
|
-
vatType: string;
|
396
|
-
vatPercent: number;
|
397
|
-
};
|
398
398
|
dates: {
|
399
399
|
count: number;
|
400
400
|
amount: {
|
@@ -426,6 +426,13 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
426
426
|
firstName?: string | undefined;
|
427
427
|
};
|
428
428
|
services: {
|
429
|
+
totalAmount: {
|
430
|
+
currency: string;
|
431
|
+
grossAmount: number;
|
432
|
+
netAmount: number;
|
433
|
+
vatType: string;
|
434
|
+
vatPercent: number;
|
435
|
+
};
|
429
436
|
service: {
|
430
437
|
code: string;
|
431
438
|
id: string;
|
@@ -437,13 +444,6 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
437
444
|
amount: number;
|
438
445
|
};
|
439
446
|
};
|
440
|
-
totalAmount: {
|
441
|
-
currency: string;
|
442
|
-
grossAmount: number;
|
443
|
-
netAmount: number;
|
444
|
-
vatType: string;
|
445
|
-
vatPercent: number;
|
446
|
-
};
|
447
447
|
dates: {
|
448
448
|
count: number;
|
449
449
|
amount: {
|
@@ -476,12 +476,12 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
476
476
|
isSubjectToCityTax: boolean;
|
477
477
|
};
|
478
478
|
taxDetails: {
|
479
|
+
vatType: string;
|
480
|
+
vatPercent: number;
|
479
481
|
net: {
|
480
482
|
currency: string;
|
481
483
|
amount: number;
|
482
484
|
};
|
483
|
-
vatType: string;
|
484
|
-
vatPercent: number;
|
485
485
|
tax: {
|
486
486
|
currency: string;
|
487
487
|
amount: number;
|
@@ -549,6 +549,13 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
549
549
|
firstName?: string | undefined;
|
550
550
|
};
|
551
551
|
services: {
|
552
|
+
totalAmount: {
|
553
|
+
currency: string;
|
554
|
+
grossAmount: number;
|
555
|
+
netAmount: number;
|
556
|
+
vatType: string;
|
557
|
+
vatPercent: number;
|
558
|
+
};
|
552
559
|
service: {
|
553
560
|
code: string;
|
554
561
|
id: string;
|
@@ -560,13 +567,6 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
560
567
|
amount: number;
|
561
568
|
};
|
562
569
|
};
|
563
|
-
totalAmount: {
|
564
|
-
currency: string;
|
565
|
-
grossAmount: number;
|
566
|
-
netAmount: number;
|
567
|
-
vatType: string;
|
568
|
-
vatPercent: number;
|
569
|
-
};
|
570
570
|
dates: {
|
571
571
|
count: number;
|
572
572
|
amount: {
|
@@ -599,12 +599,12 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
599
599
|
isSubjectToCityTax: boolean;
|
600
600
|
};
|
601
601
|
taxDetails: {
|
602
|
+
vatType: string;
|
603
|
+
vatPercent: number;
|
602
604
|
net: {
|
603
605
|
currency: string;
|
604
606
|
amount: number;
|
605
607
|
};
|
606
|
-
vatType: string;
|
607
|
-
vatPercent: number;
|
608
608
|
tax: {
|
609
609
|
currency: string;
|
610
610
|
amount: number;
|
package/dist/schemas/blog.d.ts
CHANGED
@@ -2,7 +2,7 @@ export declare const BlogSchema: import("zod").ZodObject<{
|
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
metaTitle: import("zod").ZodString;
|
4
4
|
metaDescription: import("zod").ZodString;
|
5
|
-
createdAt: import("zod").ZodType<
|
5
|
+
createdAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
|
6
6
|
title: import("zod").ZodString;
|
7
7
|
subtitle: import("zod").ZodString;
|
8
8
|
contentSections: import("zod").ZodArray<import("zod").ZodObject<{
|
@@ -56,7 +56,7 @@ export declare const BlogSchema: import("zod").ZodObject<{
|
|
56
56
|
}, "strip", import("zod").ZodTypeAny, {
|
57
57
|
id: string;
|
58
58
|
title: string;
|
59
|
-
createdAt:
|
59
|
+
createdAt: import("@firebase/firestore").Timestamp;
|
60
60
|
metaTitle: string;
|
61
61
|
metaDescription: string;
|
62
62
|
subtitle: string;
|
@@ -79,7 +79,7 @@ export declare const BlogSchema: import("zod").ZodObject<{
|
|
79
79
|
}, {
|
80
80
|
id: string;
|
81
81
|
title: string;
|
82
|
-
createdAt:
|
82
|
+
createdAt: import("@firebase/firestore").Timestamp;
|
83
83
|
metaTitle: string;
|
84
84
|
metaDescription: string;
|
85
85
|
subtitle: string;
|
@@ -262,8 +262,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
|
|
262
262
|
ota_reservation_code: string;
|
263
263
|
raw_message: string;
|
264
264
|
revision_id: string;
|
265
|
-
agent?: string | null | undefined;
|
266
265
|
notes?: string | null | undefined;
|
266
|
+
agent?: string | null | undefined;
|
267
267
|
arrival_hour?: string | null | undefined;
|
268
268
|
guarantee?: {} | null | undefined;
|
269
269
|
secondary_ota?: string | null | undefined;
|
@@ -339,8 +339,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
|
|
339
339
|
ota_reservation_code: string;
|
340
340
|
raw_message: string;
|
341
341
|
revision_id: string;
|
342
|
-
agent?: string | null | undefined;
|
343
342
|
notes?: string | null | undefined;
|
343
|
+
agent?: string | null | undefined;
|
344
344
|
arrival_hour?: string | null | undefined;
|
345
345
|
guarantee?: {} | null | undefined;
|
346
346
|
secondary_ota?: string | null | undefined;
|
@@ -420,8 +420,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
|
|
420
420
|
ota_reservation_code: string;
|
421
421
|
raw_message: string;
|
422
422
|
revision_id: string;
|
423
|
-
agent?: string | null | undefined;
|
424
423
|
notes?: string | null | undefined;
|
424
|
+
agent?: string | null | undefined;
|
425
425
|
arrival_hour?: string | null | undefined;
|
426
426
|
guarantee?: {} | null | undefined;
|
427
427
|
secondary_ota?: string | null | undefined;
|
@@ -501,8 +501,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
|
|
501
501
|
ota_reservation_code: string;
|
502
502
|
raw_message: string;
|
503
503
|
revision_id: string;
|
504
|
-
agent?: string | null | undefined;
|
505
504
|
notes?: string | null | undefined;
|
505
|
+
agent?: string | null | undefined;
|
506
506
|
arrival_hour?: string | null | undefined;
|
507
507
|
guarantee?: {} | null | undefined;
|
508
508
|
secondary_ota?: string | null | undefined;
|
@@ -87,6 +87,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
87
87
|
};
|
88
88
|
title: string;
|
89
89
|
currency: string;
|
90
|
+
country: string;
|
91
|
+
city: string;
|
92
|
+
timezone: string;
|
93
|
+
min_stay_type: string;
|
90
94
|
settings: {
|
91
95
|
min_stay_type: string;
|
92
96
|
allow_availability_autoupdate: boolean;
|
@@ -99,10 +103,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
99
103
|
max_price?: number | null | undefined;
|
100
104
|
min_price?: number | null | undefined;
|
101
105
|
};
|
102
|
-
country: string;
|
103
|
-
city: string;
|
104
|
-
timezone: string;
|
105
|
-
min_stay_type: string;
|
106
106
|
is_active: boolean;
|
107
107
|
max_count_of_occupancies: number;
|
108
108
|
max_count_of_rate_plans: number;
|
@@ -115,13 +115,13 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
115
115
|
state?: string | null | undefined;
|
116
116
|
email?: string | null | undefined;
|
117
117
|
phone?: string | null | undefined;
|
118
|
-
website?: string | null | undefined;
|
119
118
|
logo_url?: string | null | undefined;
|
120
119
|
default_cancellation_policy_id?: string | null | undefined;
|
121
120
|
hotel_policy_id?: string | null | undefined;
|
122
121
|
default_tax_set_id?: string | null | undefined;
|
123
122
|
location_precision?: string | null | undefined;
|
124
123
|
property_type?: string | null | undefined;
|
124
|
+
website?: string | null | undefined;
|
125
125
|
property_category?: string | null | undefined;
|
126
126
|
}, {
|
127
127
|
id: string;
|
@@ -133,6 +133,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
133
133
|
};
|
134
134
|
title: string;
|
135
135
|
currency: string;
|
136
|
+
country: string;
|
137
|
+
city: string;
|
138
|
+
timezone: string;
|
139
|
+
min_stay_type: string;
|
136
140
|
settings: {
|
137
141
|
min_stay_type: string;
|
138
142
|
allow_availability_autoupdate: boolean;
|
@@ -145,10 +149,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
145
149
|
max_price?: number | null | undefined;
|
146
150
|
min_price?: number | null | undefined;
|
147
151
|
};
|
148
|
-
country: string;
|
149
|
-
city: string;
|
150
|
-
timezone: string;
|
151
|
-
min_stay_type: string;
|
152
152
|
is_active: boolean;
|
153
153
|
max_count_of_occupancies: number;
|
154
154
|
max_count_of_rate_plans: number;
|
@@ -161,13 +161,13 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
161
161
|
state?: string | null | undefined;
|
162
162
|
email?: string | null | undefined;
|
163
163
|
phone?: string | null | undefined;
|
164
|
-
website?: string | null | undefined;
|
165
164
|
logo_url?: string | null | undefined;
|
166
165
|
default_cancellation_policy_id?: string | null | undefined;
|
167
166
|
hotel_policy_id?: string | null | undefined;
|
168
167
|
default_tax_set_id?: string | null | undefined;
|
169
168
|
location_precision?: string | null | undefined;
|
170
169
|
property_type?: string | null | undefined;
|
170
|
+
website?: string | null | undefined;
|
171
171
|
property_category?: string | null | undefined;
|
172
172
|
}>;
|
173
173
|
relationships: import("zod").ZodObject<{
|
@@ -384,6 +384,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
384
384
|
};
|
385
385
|
title: string;
|
386
386
|
currency: string;
|
387
|
+
country: string;
|
388
|
+
city: string;
|
389
|
+
timezone: string;
|
390
|
+
min_stay_type: string;
|
387
391
|
settings: {
|
388
392
|
min_stay_type: string;
|
389
393
|
allow_availability_autoupdate: boolean;
|
@@ -396,10 +400,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
396
400
|
max_price?: number | null | undefined;
|
397
401
|
min_price?: number | null | undefined;
|
398
402
|
};
|
399
|
-
country: string;
|
400
|
-
city: string;
|
401
|
-
timezone: string;
|
402
|
-
min_stay_type: string;
|
403
403
|
is_active: boolean;
|
404
404
|
max_count_of_occupancies: number;
|
405
405
|
max_count_of_rate_plans: number;
|
@@ -412,13 +412,13 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
412
412
|
state?: string | null | undefined;
|
413
413
|
email?: string | null | undefined;
|
414
414
|
phone?: string | null | undefined;
|
415
|
-
website?: string | null | undefined;
|
416
415
|
logo_url?: string | null | undefined;
|
417
416
|
default_cancellation_policy_id?: string | null | undefined;
|
418
417
|
hotel_policy_id?: string | null | undefined;
|
419
418
|
default_tax_set_id?: string | null | undefined;
|
420
419
|
location_precision?: string | null | undefined;
|
421
420
|
property_type?: string | null | undefined;
|
421
|
+
website?: string | null | undefined;
|
422
422
|
property_category?: string | null | undefined;
|
423
423
|
};
|
424
424
|
relationships: {
|
@@ -469,6 +469,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
469
469
|
};
|
470
470
|
title: string;
|
471
471
|
currency: string;
|
472
|
+
country: string;
|
473
|
+
city: string;
|
474
|
+
timezone: string;
|
475
|
+
min_stay_type: string;
|
472
476
|
settings: {
|
473
477
|
min_stay_type: string;
|
474
478
|
allow_availability_autoupdate: boolean;
|
@@ -481,10 +485,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
481
485
|
max_price?: number | null | undefined;
|
482
486
|
min_price?: number | null | undefined;
|
483
487
|
};
|
484
|
-
country: string;
|
485
|
-
city: string;
|
486
|
-
timezone: string;
|
487
|
-
min_stay_type: string;
|
488
488
|
is_active: boolean;
|
489
489
|
max_count_of_occupancies: number;
|
490
490
|
max_count_of_rate_plans: number;
|
@@ -497,13 +497,13 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
497
497
|
state?: string | null | undefined;
|
498
498
|
email?: string | null | undefined;
|
499
499
|
phone?: string | null | undefined;
|
500
|
-
website?: string | null | undefined;
|
501
500
|
logo_url?: string | null | undefined;
|
502
501
|
default_cancellation_policy_id?: string | null | undefined;
|
503
502
|
hotel_policy_id?: string | null | undefined;
|
504
503
|
default_tax_set_id?: string | null | undefined;
|
505
504
|
location_precision?: string | null | undefined;
|
506
505
|
property_type?: string | null | undefined;
|
506
|
+
website?: string | null | undefined;
|
507
507
|
property_category?: string | null | undefined;
|
508
508
|
};
|
509
509
|
relationships: {
|
@@ -278,7 +278,6 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
278
278
|
property_id: import("zod").ZodString;
|
279
279
|
}, "strip", import("zod").ZodTypeAny, {
|
280
280
|
event: string;
|
281
|
-
timestamp: string;
|
282
281
|
payload: {
|
283
282
|
message: string;
|
284
283
|
id: string;
|
@@ -292,10 +291,10 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
292
291
|
ota_message_id: string;
|
293
292
|
};
|
294
293
|
property_id: string;
|
294
|
+
timestamp: string;
|
295
295
|
user_id?: string | null | undefined;
|
296
296
|
}, {
|
297
297
|
event: string;
|
298
|
-
timestamp: string;
|
299
298
|
payload: {
|
300
299
|
message: string;
|
301
300
|
id: string;
|
@@ -309,5 +308,6 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
309
308
|
ota_message_id: string;
|
310
309
|
};
|
311
310
|
property_id: string;
|
311
|
+
timestamp: string;
|
312
312
|
user_id?: string | null | undefined;
|
313
313
|
}>;
|