hububb-models 1.1.14 → 1.1.16
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 +42 -42
- 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 +37 -37
- package/dist/schemas/thread.d.ts +84 -81
- package/dist/schemas/thread.js +1 -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 * as admin from "firebase-admin";
|
2
2
|
import { z } from "zod";
|
3
|
-
export declare const firestoreTimestampSchema: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
|
3
|
+
export declare const firestoreTimestampSchema: z.ZodType<admin.firestore.Timestamp, z.ZodTypeDef, admin.firestore.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 admin = require("firebase-admin");
|
5
5
|
const zod_1 = require("zod");
|
6
|
-
exports.firestoreTimestampSchema = zod_1.z.instanceof(
|
6
|
+
exports.firestoreTimestampSchema = zod_1.z.instanceof(admin.firestore.Timestamp);
|
@@ -154,8 +154,8 @@ declare const blockSchema: import("zod").ZodObject<{
|
|
154
154
|
id: string;
|
155
155
|
name: string;
|
156
156
|
};
|
157
|
-
modified: string;
|
158
157
|
from: string;
|
158
|
+
modified: 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
|
-
modified: string;
|
211
210
|
from: string;
|
211
|
+
modified: 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;
|
258
256
|
net: {
|
259
257
|
currency: string;
|
260
258
|
amount: number;
|
261
259
|
};
|
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;
|
269
267
|
net: {
|
270
268
|
currency: string;
|
271
269
|
amount: number;
|
272
270
|
};
|
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;
|
368
366
|
net: {
|
369
367
|
currency: string;
|
370
368
|
amount: number;
|
371
369
|
};
|
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;
|
456
454
|
net: {
|
457
455
|
currency: string;
|
458
456
|
amount: number;
|
459
457
|
};
|
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;
|
740
738
|
net: {
|
741
739
|
currency: string;
|
742
740
|
amount: number;
|
743
741
|
};
|
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;
|
751
749
|
net: {
|
752
750
|
currency: string;
|
753
751
|
amount: number;
|
754
752
|
};
|
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;
|
850
848
|
net: {
|
851
849
|
currency: string;
|
852
850
|
amount: number;
|
853
851
|
};
|
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;
|
938
936
|
net: {
|
939
937
|
currency: string;
|
940
938
|
amount: number;
|
941
939
|
};
|
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;
|
1034
1032
|
net: {
|
1035
1033
|
currency: string;
|
1036
1034
|
amount: number;
|
1037
1035
|
};
|
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;
|
1130
1128
|
net: {
|
1131
1129
|
currency: string;
|
1132
1130
|
amount: number;
|
1133
1131
|
};
|
1132
|
+
vatType: string;
|
1133
|
+
vatPercent: number;
|
1134
1134
|
tax: {
|
1135
1135
|
currency: string;
|
1136
1136
|
amount: number;
|
@@ -75,6 +75,7 @@ declare const ApaleoPropertySchema: z.ZodObject<{
|
|
75
75
|
timeZone: string;
|
76
76
|
currencyCode: string;
|
77
77
|
isArchived: boolean;
|
78
|
+
actions?: any[] | undefined;
|
78
79
|
propertyTemplateId?: string | undefined;
|
79
80
|
managingDirectors?: string | undefined;
|
80
81
|
bankAccount?: {
|
@@ -82,7 +83,6 @@ declare const ApaleoPropertySchema: z.ZodObject<{
|
|
82
83
|
bic?: string | undefined;
|
83
84
|
bank?: string | undefined;
|
84
85
|
} | undefined;
|
85
|
-
actions?: any[] | undefined;
|
86
86
|
}, {
|
87
87
|
code: string;
|
88
88
|
location: {
|
@@ -106,6 +106,7 @@ declare const ApaleoPropertySchema: z.ZodObject<{
|
|
106
106
|
timeZone: string;
|
107
107
|
currencyCode: string;
|
108
108
|
isArchived: boolean;
|
109
|
+
actions?: any[] | undefined;
|
109
110
|
propertyTemplateId?: string | undefined;
|
110
111
|
managingDirectors?: string | undefined;
|
111
112
|
bankAccount?: {
|
@@ -113,6 +114,5 @@ declare const ApaleoPropertySchema: z.ZodObject<{
|
|
113
114
|
bic?: string | undefined;
|
114
115
|
bank?: string | undefined;
|
115
116
|
} | 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;
|
201
199
|
net: {
|
202
200
|
currency: string;
|
203
201
|
amount: number;
|
204
202
|
};
|
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;
|
212
210
|
net: {
|
213
211
|
currency: string;
|
214
212
|
amount: number;
|
215
213
|
};
|
214
|
+
vatType: string;
|
215
|
+
vatPercent: number;
|
216
216
|
tax: {
|
217
217
|
currency: string;
|
218
218
|
amount: number;
|
@@ -323,6 +323,7 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
323
323
|
}>;
|
324
324
|
isMandatory: import("zod").ZodBoolean;
|
325
325
|
}, "strip", import("zod").ZodTypeAny, {
|
326
|
+
count: number;
|
326
327
|
amount: {
|
327
328
|
currency: string;
|
328
329
|
grossAmount: number;
|
@@ -330,10 +331,10 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
330
331
|
vatType: string;
|
331
332
|
vatPercent: number;
|
332
333
|
};
|
333
|
-
count: number;
|
334
334
|
serviceDate: string;
|
335
335
|
isMandatory: boolean;
|
336
336
|
}, {
|
337
|
+
count: number;
|
337
338
|
amount: {
|
338
339
|
currency: string;
|
339
340
|
grossAmount: number;
|
@@ -341,18 +342,10 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
341
342
|
vatType: string;
|
342
343
|
vatPercent: number;
|
343
344
|
};
|
344
|
-
count: number;
|
345
345
|
serviceDate: string;
|
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
|
-
};
|
356
349
|
service: {
|
357
350
|
code: string;
|
358
351
|
id: string;
|
@@ -364,7 +357,15 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
364
357
|
amount: number;
|
365
358
|
};
|
366
359
|
};
|
360
|
+
totalAmount: {
|
361
|
+
currency: string;
|
362
|
+
grossAmount: number;
|
363
|
+
netAmount: number;
|
364
|
+
vatType: string;
|
365
|
+
vatPercent: number;
|
366
|
+
};
|
367
367
|
dates: {
|
368
|
+
count: number;
|
368
369
|
amount: {
|
369
370
|
currency: string;
|
370
371
|
grossAmount: number;
|
@@ -372,18 +373,10 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
372
373
|
vatType: string;
|
373
374
|
vatPercent: number;
|
374
375
|
};
|
375
|
-
count: number;
|
376
376
|
serviceDate: string;
|
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
|
-
};
|
387
380
|
service: {
|
388
381
|
code: string;
|
389
382
|
id: string;
|
@@ -395,7 +388,15 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
395
388
|
amount: number;
|
396
389
|
};
|
397
390
|
};
|
391
|
+
totalAmount: {
|
392
|
+
currency: string;
|
393
|
+
grossAmount: number;
|
394
|
+
netAmount: number;
|
395
|
+
vatType: string;
|
396
|
+
vatPercent: number;
|
397
|
+
};
|
398
398
|
dates: {
|
399
|
+
count: number;
|
399
400
|
amount: {
|
400
401
|
currency: string;
|
401
402
|
grossAmount: number;
|
@@ -403,7 +404,6 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
403
404
|
vatType: string;
|
404
405
|
vatPercent: number;
|
405
406
|
};
|
406
|
-
count: number;
|
407
407
|
serviceDate: string;
|
408
408
|
isMandatory: boolean;
|
409
409
|
}[];
|
@@ -426,13 +426,6 @@ 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
|
-
};
|
436
429
|
service: {
|
437
430
|
code: string;
|
438
431
|
id: string;
|
@@ -444,7 +437,15 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
444
437
|
amount: number;
|
445
438
|
};
|
446
439
|
};
|
440
|
+
totalAmount: {
|
441
|
+
currency: string;
|
442
|
+
grossAmount: number;
|
443
|
+
netAmount: number;
|
444
|
+
vatType: string;
|
445
|
+
vatPercent: number;
|
446
|
+
};
|
447
447
|
dates: {
|
448
|
+
count: number;
|
448
449
|
amount: {
|
449
450
|
currency: string;
|
450
451
|
grossAmount: number;
|
@@ -452,7 +453,6 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
452
453
|
vatType: string;
|
453
454
|
vatPercent: number;
|
454
455
|
};
|
455
|
-
count: number;
|
456
456
|
serviceDate: string;
|
457
457
|
isMandatory: boolean;
|
458
458
|
}[];
|
@@ -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;
|
481
479
|
net: {
|
482
480
|
currency: string;
|
483
481
|
amount: number;
|
484
482
|
};
|
483
|
+
vatType: string;
|
484
|
+
vatPercent: number;
|
485
485
|
tax: {
|
486
486
|
currency: string;
|
487
487
|
amount: number;
|
@@ -549,13 +549,6 @@ 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
|
-
};
|
559
552
|
service: {
|
560
553
|
code: string;
|
561
554
|
id: string;
|
@@ -567,7 +560,15 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
567
560
|
amount: number;
|
568
561
|
};
|
569
562
|
};
|
563
|
+
totalAmount: {
|
564
|
+
currency: string;
|
565
|
+
grossAmount: number;
|
566
|
+
netAmount: number;
|
567
|
+
vatType: string;
|
568
|
+
vatPercent: number;
|
569
|
+
};
|
570
570
|
dates: {
|
571
|
+
count: number;
|
571
572
|
amount: {
|
572
573
|
currency: string;
|
573
574
|
grossAmount: number;
|
@@ -575,7 +576,6 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
575
576
|
vatType: string;
|
576
577
|
vatPercent: number;
|
577
578
|
};
|
578
|
-
count: number;
|
579
579
|
serviceDate: string;
|
580
580
|
isMandatory: boolean;
|
581
581
|
}[];
|
@@ -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;
|
604
602
|
net: {
|
605
603
|
currency: string;
|
606
604
|
amount: number;
|
607
605
|
};
|
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<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.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: FirebaseFirestore.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: FirebaseFirestore.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
|
-
notes?: string | null | undefined;
|
266
265
|
agent?: string | null | undefined;
|
266
|
+
notes?: 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
|
-
notes?: string | null | undefined;
|
343
342
|
agent?: string | null | undefined;
|
343
|
+
notes?: 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
|
-
notes?: string | null | undefined;
|
424
423
|
agent?: string | null | undefined;
|
424
|
+
notes?: 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
|
-
notes?: string | null | undefined;
|
505
504
|
agent?: string | null | undefined;
|
505
|
+
notes?: string | null | undefined;
|
506
506
|
arrival_hour?: string | null | undefined;
|
507
507
|
guarantee?: {} | null | undefined;
|
508
508
|
secondary_ota?: string | null | undefined;
|
@@ -87,10 +87,6 @@ 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;
|
94
90
|
settings: {
|
95
91
|
min_stay_type: string;
|
96
92
|
allow_availability_autoupdate: boolean;
|
@@ -103,6 +99,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
103
99
|
max_price?: number | null | undefined;
|
104
100
|
min_price?: number | null | undefined;
|
105
101
|
};
|
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;
|
118
119
|
logo_url?: string | null | undefined;
|
119
120
|
default_cancellation_policy_id?: string | null | undefined;
|
120
121
|
hotel_policy_id?: string | null | undefined;
|
121
122
|
default_tax_set_id?: string | null | undefined;
|
122
123
|
location_precision?: string | null | undefined;
|
123
124
|
property_type?: string | null | undefined;
|
124
|
-
website?: string | null | undefined;
|
125
125
|
property_category?: string | null | undefined;
|
126
126
|
}, {
|
127
127
|
id: string;
|
@@ -133,10 +133,6 @@ 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;
|
140
136
|
settings: {
|
141
137
|
min_stay_type: string;
|
142
138
|
allow_availability_autoupdate: boolean;
|
@@ -149,6 +145,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
149
145
|
max_price?: number | null | undefined;
|
150
146
|
min_price?: number | null | undefined;
|
151
147
|
};
|
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;
|
164
165
|
logo_url?: string | null | undefined;
|
165
166
|
default_cancellation_policy_id?: string | null | undefined;
|
166
167
|
hotel_policy_id?: string | null | undefined;
|
167
168
|
default_tax_set_id?: string | null | undefined;
|
168
169
|
location_precision?: string | null | undefined;
|
169
170
|
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,10 +384,6 @@ 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;
|
391
387
|
settings: {
|
392
388
|
min_stay_type: string;
|
393
389
|
allow_availability_autoupdate: boolean;
|
@@ -400,6 +396,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
400
396
|
max_price?: number | null | undefined;
|
401
397
|
min_price?: number | null | undefined;
|
402
398
|
};
|
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;
|
415
416
|
logo_url?: string | null | undefined;
|
416
417
|
default_cancellation_policy_id?: string | null | undefined;
|
417
418
|
hotel_policy_id?: string | null | undefined;
|
418
419
|
default_tax_set_id?: string | null | undefined;
|
419
420
|
location_precision?: string | null | undefined;
|
420
421
|
property_type?: string | null | undefined;
|
421
|
-
website?: string | null | undefined;
|
422
422
|
property_category?: string | null | undefined;
|
423
423
|
};
|
424
424
|
relationships: {
|
@@ -469,10 +469,6 @@ 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;
|
476
472
|
settings: {
|
477
473
|
min_stay_type: string;
|
478
474
|
allow_availability_autoupdate: boolean;
|
@@ -485,6 +481,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
|
|
485
481
|
max_price?: number | null | undefined;
|
486
482
|
min_price?: number | null | undefined;
|
487
483
|
};
|
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;
|
500
501
|
logo_url?: string | null | undefined;
|
501
502
|
default_cancellation_policy_id?: string | null | undefined;
|
502
503
|
hotel_policy_id?: string | null | undefined;
|
503
504
|
default_tax_set_id?: string | null | undefined;
|
504
505
|
location_precision?: string | null | undefined;
|
505
506
|
property_type?: string | null | undefined;
|
506
|
-
website?: string | null | undefined;
|
507
507
|
property_category?: string | null | undefined;
|
508
508
|
};
|
509
509
|
relationships: {
|
@@ -278,6 +278,7 @@ 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;
|
281
282
|
payload: {
|
282
283
|
message: string;
|
283
284
|
id: string;
|
@@ -291,10 +292,10 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
291
292
|
ota_message_id: string;
|
292
293
|
};
|
293
294
|
property_id: string;
|
294
|
-
timestamp: string;
|
295
295
|
user_id?: string | null | undefined;
|
296
296
|
}, {
|
297
297
|
event: string;
|
298
|
+
timestamp: string;
|
298
299
|
payload: {
|
299
300
|
message: string;
|
300
301
|
id: string;
|
@@ -308,6 +309,5 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
308
309
|
ota_message_id: string;
|
309
310
|
};
|
310
311
|
property_id: string;
|
311
|
-
timestamp: string;
|
312
312
|
user_id?: string | null | undefined;
|
313
313
|
}>;
|