hububb-saas-shared 1.0.5 → 1.0.6

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.
@@ -0,0 +1,1287 @@
1
+ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
2
+ timestamp: import("zod").ZodString;
3
+ event: import("zod").ZodString;
4
+ user_id: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNull, import("zod").ZodString]>>;
5
+ payload: import("zod").ZodObject<{
6
+ data: import("zod").ZodObject<{
7
+ id: import("zod").ZodString;
8
+ type: import("zod").ZodString;
9
+ attributes: import("zod").ZodObject<{
10
+ amount: import("zod").ZodString;
11
+ ota_commission: import("zod").ZodNullable<import("zod").ZodString>;
12
+ arrival_date: import("zod").ZodString;
13
+ arrival_hour: import("zod").ZodNullable<import("zod").ZodString>;
14
+ currency: import("zod").ZodString;
15
+ customer: import("zod").ZodObject<{
16
+ address: import("zod").ZodNullable<import("zod").ZodString>;
17
+ city: import("zod").ZodNullable<import("zod").ZodString>;
18
+ company: import("zod").ZodNullable<import("zod").ZodString>;
19
+ country: import("zod").ZodNullable<import("zod").ZodString>;
20
+ language: import("zod").ZodNullable<import("zod").ZodString>;
21
+ mail: import("zod").ZodString;
22
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
23
+ is_genius: import("zod").ZodOptional<import("zod").ZodBoolean>;
24
+ }, "strip", import("zod").ZodTypeAny, {
25
+ is_genius?: boolean | undefined;
26
+ }, {
27
+ is_genius?: boolean | undefined;
28
+ }>>;
29
+ name: import("zod").ZodString;
30
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
31
+ surname: import("zod").ZodString;
32
+ zip: import("zod").ZodNullable<import("zod").ZodString>;
33
+ }, "strip", import("zod").ZodTypeAny, {
34
+ name: string;
35
+ address: string | null;
36
+ country: string | null;
37
+ language: string | null;
38
+ city: string | null;
39
+ company: string | null;
40
+ mail: string;
41
+ phone: string | null;
42
+ surname: string;
43
+ zip: string | null;
44
+ meta?: {
45
+ is_genius?: boolean | undefined;
46
+ } | undefined;
47
+ }, {
48
+ name: string;
49
+ address: string | null;
50
+ country: string | null;
51
+ language: string | null;
52
+ city: string | null;
53
+ company: string | null;
54
+ mail: string;
55
+ phone: string | null;
56
+ surname: string;
57
+ zip: string | null;
58
+ meta?: {
59
+ is_genius?: boolean | undefined;
60
+ } | undefined;
61
+ }>;
62
+ departure_date: import("zod").ZodString;
63
+ guarantee: import("zod").ZodNullable<import("zod").ZodObject<{
64
+ card_number: import("zod").ZodString;
65
+ card_type: import("zod").ZodString;
66
+ cardholder_name: import("zod").ZodString;
67
+ cvv: import("zod").ZodString;
68
+ expiration_date: import("zod").ZodString;
69
+ is_virtual: import("zod").ZodBoolean;
70
+ }, "strip", import("zod").ZodTypeAny, {
71
+ card_number: string;
72
+ card_type: string;
73
+ cardholder_name: string;
74
+ cvv: string;
75
+ expiration_date: string;
76
+ is_virtual: boolean;
77
+ }, {
78
+ card_number: string;
79
+ card_type: string;
80
+ cardholder_name: string;
81
+ cvv: string;
82
+ expiration_date: string;
83
+ is_virtual: boolean;
84
+ }>>;
85
+ id: import("zod").ZodString;
86
+ inserted_at: import("zod").ZodString;
87
+ notes: import("zod").ZodNullable<import("zod").ZodString>;
88
+ occupancy: import("zod").ZodObject<{
89
+ adults: import("zod").ZodNumber;
90
+ children: import("zod").ZodNumber;
91
+ infants: import("zod").ZodNumber;
92
+ }, "strip", import("zod").ZodTypeAny, {
93
+ children: number;
94
+ adults: number;
95
+ infants: number;
96
+ }, {
97
+ children: number;
98
+ adults: number;
99
+ infants: number;
100
+ }>;
101
+ ota_name: import("zod").ZodString;
102
+ ota_reservation_code: import("zod").ZodString;
103
+ payment_collect: import("zod").ZodNullable<import("zod").ZodString>;
104
+ payment_type: import("zod").ZodNullable<import("zod").ZodString>;
105
+ property_id: import("zod").ZodString;
106
+ revision_id: import("zod").ZodString;
107
+ rooms: import("zod").ZodArray<import("zod").ZodObject<{
108
+ amount: import("zod").ZodString;
109
+ booking_room_id: import("zod").ZodString;
110
+ checkin_date: import("zod").ZodString;
111
+ checkout_date: import("zod").ZodString;
112
+ days: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
113
+ guests: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
114
+ name: import("zod").ZodString;
115
+ surname: import("zod").ZodString;
116
+ }, "strip", import("zod").ZodTypeAny, {
117
+ name: string;
118
+ surname: string;
119
+ }, {
120
+ name: string;
121
+ surname: string;
122
+ }>, "many">>;
123
+ meta: import("zod").ZodNullable<import("zod").ZodObject<{
124
+ additional_details: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
125
+ cancel_penalties: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
126
+ amount: import("zod").ZodString;
127
+ currency: import("zod").ZodString;
128
+ from: import("zod").ZodString;
129
+ }, "strip", import("zod").ZodTypeAny, {
130
+ currency: string;
131
+ amount: string;
132
+ from: string;
133
+ }, {
134
+ currency: string;
135
+ amount: string;
136
+ from: string;
137
+ }>, "many">>;
138
+ days_breakdown: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodOptional<import("zod").ZodObject<{
139
+ amount: import("zod").ZodString;
140
+ date: import("zod").ZodString;
141
+ promotion: import("zod").ZodNullable<import("zod").ZodObject<{
142
+ id: import("zod").ZodString;
143
+ title: import("zod").ZodString;
144
+ }, "strip", import("zod").ZodTypeAny, {
145
+ id: string;
146
+ title: string;
147
+ }, {
148
+ id: string;
149
+ title: string;
150
+ }>>;
151
+ rate_code: import("zod").ZodNumber;
152
+ rate_plan: import("zod").ZodString;
153
+ }, "strip", import("zod").ZodTypeAny, {
154
+ date: string;
155
+ amount: string;
156
+ promotion: {
157
+ id: string;
158
+ title: string;
159
+ } | null;
160
+ rate_code: number;
161
+ rate_plan: string;
162
+ }, {
163
+ date: string;
164
+ amount: string;
165
+ promotion: {
166
+ id: string;
167
+ title: string;
168
+ } | null;
169
+ rate_code: number;
170
+ rate_plan: string;
171
+ }>>, "many">>;
172
+ meal_plan: import("zod").ZodNullable<import("zod").ZodString>;
173
+ policies: import("zod").ZodNullable<import("zod").ZodString>;
174
+ promotion: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
175
+ from_code: import("zod").ZodString;
176
+ from_name: import("zod").ZodString;
177
+ promotion_id: import("zod").ZodString;
178
+ to_code: import("zod").ZodString;
179
+ }, "strip", import("zod").ZodTypeAny, {
180
+ from_code: string;
181
+ from_name: string;
182
+ promotion_id: string;
183
+ to_code: string;
184
+ }, {
185
+ from_code: string;
186
+ from_name: string;
187
+ promotion_id: string;
188
+ to_code: string;
189
+ }>, "many">>;
190
+ room_type_code: import("zod").ZodNullable<import("zod").ZodString>;
191
+ smoking_preferences: import("zod").ZodNullable<import("zod").ZodString>;
192
+ }, "strip", import("zod").ZodTypeAny, {
193
+ meal_plan: string | null;
194
+ policies: string | null;
195
+ room_type_code: string | null;
196
+ smoking_preferences: string | null;
197
+ promotion?: {
198
+ from_code: string;
199
+ from_name: string;
200
+ promotion_id: string;
201
+ to_code: string;
202
+ }[] | undefined;
203
+ additional_details?: any[] | undefined;
204
+ cancel_penalties?: {
205
+ currency: string;
206
+ amount: string;
207
+ from: string;
208
+ }[] | undefined;
209
+ days_breakdown?: ({
210
+ date: string;
211
+ amount: string;
212
+ promotion: {
213
+ id: string;
214
+ title: string;
215
+ } | null;
216
+ rate_code: number;
217
+ rate_plan: string;
218
+ } | undefined)[] | undefined;
219
+ }, {
220
+ meal_plan: string | null;
221
+ policies: string | null;
222
+ room_type_code: string | null;
223
+ smoking_preferences: string | null;
224
+ promotion?: {
225
+ from_code: string;
226
+ from_name: string;
227
+ promotion_id: string;
228
+ to_code: string;
229
+ }[] | undefined;
230
+ additional_details?: any[] | undefined;
231
+ cancel_penalties?: {
232
+ currency: string;
233
+ amount: string;
234
+ from: string;
235
+ }[] | undefined;
236
+ days_breakdown?: ({
237
+ date: string;
238
+ amount: string;
239
+ promotion: {
240
+ id: string;
241
+ title: string;
242
+ } | null;
243
+ rate_code: number;
244
+ rate_plan: string;
245
+ } | undefined)[] | undefined;
246
+ }>>;
247
+ occupancy: import("zod").ZodObject<{
248
+ adults: import("zod").ZodNumber;
249
+ children: import("zod").ZodNumber;
250
+ infants: import("zod").ZodNumber;
251
+ }, "strip", import("zod").ZodTypeAny, {
252
+ children: number;
253
+ adults: number;
254
+ infants: number;
255
+ }, {
256
+ children: number;
257
+ adults: number;
258
+ infants: number;
259
+ }>;
260
+ rate_plan_id: import("zod").ZodString;
261
+ room_type_id: import("zod").ZodString;
262
+ services: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
263
+ taxes: import("zod").ZodArray<import("zod").ZodObject<{
264
+ is_inclusive: import("zod").ZodBoolean;
265
+ name: import("zod").ZodString;
266
+ nights: import("zod").ZodNumber;
267
+ persons: import("zod").ZodNumber;
268
+ price_mode: import("zod").ZodString;
269
+ price_per_unit: import("zod").ZodString;
270
+ total_price: import("zod").ZodString;
271
+ type: import("zod").ZodString;
272
+ }, "strip", import("zod").ZodTypeAny, {
273
+ name: string;
274
+ type: string;
275
+ is_inclusive: boolean;
276
+ nights: number;
277
+ persons: number;
278
+ price_mode: string;
279
+ price_per_unit: string;
280
+ total_price: string;
281
+ }, {
282
+ name: string;
283
+ type: string;
284
+ is_inclusive: boolean;
285
+ nights: number;
286
+ persons: number;
287
+ price_mode: string;
288
+ price_per_unit: string;
289
+ total_price: string;
290
+ }>, "many">;
291
+ }, "strip", import("zod").ZodTypeAny, {
292
+ meta: {
293
+ meal_plan: string | null;
294
+ policies: string | null;
295
+ room_type_code: string | null;
296
+ smoking_preferences: string | null;
297
+ promotion?: {
298
+ from_code: string;
299
+ from_name: string;
300
+ promotion_id: string;
301
+ to_code: string;
302
+ }[] | undefined;
303
+ additional_details?: any[] | undefined;
304
+ cancel_penalties?: {
305
+ currency: string;
306
+ amount: string;
307
+ from: string;
308
+ }[] | undefined;
309
+ days_breakdown?: ({
310
+ date: string;
311
+ amount: string;
312
+ promotion: {
313
+ id: string;
314
+ title: string;
315
+ } | null;
316
+ rate_code: number;
317
+ rate_plan: string;
318
+ } | undefined)[] | undefined;
319
+ } | null;
320
+ days: Record<string, string>;
321
+ occupancy: {
322
+ children: number;
323
+ adults: number;
324
+ infants: number;
325
+ };
326
+ amount: string;
327
+ booking_room_id: string;
328
+ checkin_date: string;
329
+ checkout_date: string;
330
+ guests: {
331
+ name: string;
332
+ surname: string;
333
+ }[] | null;
334
+ rate_plan_id: string;
335
+ room_type_id: string;
336
+ taxes: {
337
+ name: string;
338
+ type: string;
339
+ is_inclusive: boolean;
340
+ nights: number;
341
+ persons: number;
342
+ price_mode: string;
343
+ price_per_unit: string;
344
+ total_price: string;
345
+ }[];
346
+ services?: any[] | undefined;
347
+ }, {
348
+ meta: {
349
+ meal_plan: string | null;
350
+ policies: string | null;
351
+ room_type_code: string | null;
352
+ smoking_preferences: string | null;
353
+ promotion?: {
354
+ from_code: string;
355
+ from_name: string;
356
+ promotion_id: string;
357
+ to_code: string;
358
+ }[] | undefined;
359
+ additional_details?: any[] | undefined;
360
+ cancel_penalties?: {
361
+ currency: string;
362
+ amount: string;
363
+ from: string;
364
+ }[] | undefined;
365
+ days_breakdown?: ({
366
+ date: string;
367
+ amount: string;
368
+ promotion: {
369
+ id: string;
370
+ title: string;
371
+ } | null;
372
+ rate_code: number;
373
+ rate_plan: string;
374
+ } | undefined)[] | undefined;
375
+ } | null;
376
+ days: Record<string, string>;
377
+ occupancy: {
378
+ children: number;
379
+ adults: number;
380
+ infants: number;
381
+ };
382
+ amount: string;
383
+ booking_room_id: string;
384
+ checkin_date: string;
385
+ checkout_date: string;
386
+ guests: {
387
+ name: string;
388
+ surname: string;
389
+ }[] | null;
390
+ rate_plan_id: string;
391
+ room_type_id: string;
392
+ taxes: {
393
+ name: string;
394
+ type: string;
395
+ is_inclusive: boolean;
396
+ nights: number;
397
+ persons: number;
398
+ price_mode: string;
399
+ price_per_unit: string;
400
+ total_price: string;
401
+ }[];
402
+ services?: any[] | undefined;
403
+ }>, "many">;
404
+ services: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodAny, "many">>;
405
+ status: import("zod").ZodString;
406
+ unique_id: import("zod").ZodString;
407
+ }, "strip", import("zod").ZodTypeAny, {
408
+ currency: string;
409
+ id: string;
410
+ status: string;
411
+ occupancy: {
412
+ children: number;
413
+ adults: number;
414
+ infants: number;
415
+ };
416
+ amount: string;
417
+ services: any[] | null;
418
+ ota_commission: string | null;
419
+ arrival_date: string;
420
+ arrival_hour: string | null;
421
+ customer: {
422
+ name: string;
423
+ address: string | null;
424
+ country: string | null;
425
+ language: string | null;
426
+ city: string | null;
427
+ company: string | null;
428
+ mail: string;
429
+ phone: string | null;
430
+ surname: string;
431
+ zip: string | null;
432
+ meta?: {
433
+ is_genius?: boolean | undefined;
434
+ } | undefined;
435
+ };
436
+ departure_date: string;
437
+ guarantee: {
438
+ card_number: string;
439
+ card_type: string;
440
+ cardholder_name: string;
441
+ cvv: string;
442
+ expiration_date: string;
443
+ is_virtual: boolean;
444
+ } | null;
445
+ inserted_at: string;
446
+ notes: string | null;
447
+ ota_name: string;
448
+ ota_reservation_code: string;
449
+ payment_collect: string | null;
450
+ payment_type: string | null;
451
+ property_id: string;
452
+ revision_id: string;
453
+ rooms: {
454
+ meta: {
455
+ meal_plan: string | null;
456
+ policies: string | null;
457
+ room_type_code: string | null;
458
+ smoking_preferences: string | null;
459
+ promotion?: {
460
+ from_code: string;
461
+ from_name: string;
462
+ promotion_id: string;
463
+ to_code: string;
464
+ }[] | undefined;
465
+ additional_details?: any[] | undefined;
466
+ cancel_penalties?: {
467
+ currency: string;
468
+ amount: string;
469
+ from: string;
470
+ }[] | undefined;
471
+ days_breakdown?: ({
472
+ date: string;
473
+ amount: string;
474
+ promotion: {
475
+ id: string;
476
+ title: string;
477
+ } | null;
478
+ rate_code: number;
479
+ rate_plan: string;
480
+ } | undefined)[] | undefined;
481
+ } | null;
482
+ days: Record<string, string>;
483
+ occupancy: {
484
+ children: number;
485
+ adults: number;
486
+ infants: number;
487
+ };
488
+ amount: string;
489
+ booking_room_id: string;
490
+ checkin_date: string;
491
+ checkout_date: string;
492
+ guests: {
493
+ name: string;
494
+ surname: string;
495
+ }[] | null;
496
+ rate_plan_id: string;
497
+ room_type_id: string;
498
+ taxes: {
499
+ name: string;
500
+ type: string;
501
+ is_inclusive: boolean;
502
+ nights: number;
503
+ persons: number;
504
+ price_mode: string;
505
+ price_per_unit: string;
506
+ total_price: string;
507
+ }[];
508
+ services?: any[] | undefined;
509
+ }[];
510
+ unique_id: string;
511
+ }, {
512
+ currency: string;
513
+ id: string;
514
+ status: string;
515
+ occupancy: {
516
+ children: number;
517
+ adults: number;
518
+ infants: number;
519
+ };
520
+ amount: string;
521
+ services: any[] | null;
522
+ ota_commission: string | null;
523
+ arrival_date: string;
524
+ arrival_hour: string | null;
525
+ customer: {
526
+ name: string;
527
+ address: string | null;
528
+ country: string | null;
529
+ language: string | null;
530
+ city: string | null;
531
+ company: string | null;
532
+ mail: string;
533
+ phone: string | null;
534
+ surname: string;
535
+ zip: string | null;
536
+ meta?: {
537
+ is_genius?: boolean | undefined;
538
+ } | undefined;
539
+ };
540
+ departure_date: string;
541
+ guarantee: {
542
+ card_number: string;
543
+ card_type: string;
544
+ cardholder_name: string;
545
+ cvv: string;
546
+ expiration_date: string;
547
+ is_virtual: boolean;
548
+ } | null;
549
+ inserted_at: string;
550
+ notes: string | null;
551
+ ota_name: string;
552
+ ota_reservation_code: string;
553
+ payment_collect: string | null;
554
+ payment_type: string | null;
555
+ property_id: string;
556
+ revision_id: string;
557
+ rooms: {
558
+ meta: {
559
+ meal_plan: string | null;
560
+ policies: string | null;
561
+ room_type_code: string | null;
562
+ smoking_preferences: string | null;
563
+ promotion?: {
564
+ from_code: string;
565
+ from_name: string;
566
+ promotion_id: string;
567
+ to_code: string;
568
+ }[] | undefined;
569
+ additional_details?: any[] | undefined;
570
+ cancel_penalties?: {
571
+ currency: string;
572
+ amount: string;
573
+ from: string;
574
+ }[] | undefined;
575
+ days_breakdown?: ({
576
+ date: string;
577
+ amount: string;
578
+ promotion: {
579
+ id: string;
580
+ title: string;
581
+ } | null;
582
+ rate_code: number;
583
+ rate_plan: string;
584
+ } | undefined)[] | undefined;
585
+ } | null;
586
+ days: Record<string, string>;
587
+ occupancy: {
588
+ children: number;
589
+ adults: number;
590
+ infants: number;
591
+ };
592
+ amount: string;
593
+ booking_room_id: string;
594
+ checkin_date: string;
595
+ checkout_date: string;
596
+ guests: {
597
+ name: string;
598
+ surname: string;
599
+ }[] | null;
600
+ rate_plan_id: string;
601
+ room_type_id: string;
602
+ taxes: {
603
+ name: string;
604
+ type: string;
605
+ is_inclusive: boolean;
606
+ nights: number;
607
+ persons: number;
608
+ price_mode: string;
609
+ price_per_unit: string;
610
+ total_price: string;
611
+ }[];
612
+ services?: any[] | undefined;
613
+ }[];
614
+ unique_id: string;
615
+ }>;
616
+ }, "strip", import("zod").ZodTypeAny, {
617
+ type: string;
618
+ id: string;
619
+ attributes: {
620
+ currency: string;
621
+ id: string;
622
+ status: string;
623
+ occupancy: {
624
+ children: number;
625
+ adults: number;
626
+ infants: number;
627
+ };
628
+ amount: string;
629
+ services: any[] | null;
630
+ ota_commission: string | null;
631
+ arrival_date: string;
632
+ arrival_hour: string | null;
633
+ customer: {
634
+ name: string;
635
+ address: string | null;
636
+ country: string | null;
637
+ language: string | null;
638
+ city: string | null;
639
+ company: string | null;
640
+ mail: string;
641
+ phone: string | null;
642
+ surname: string;
643
+ zip: string | null;
644
+ meta?: {
645
+ is_genius?: boolean | undefined;
646
+ } | undefined;
647
+ };
648
+ departure_date: string;
649
+ guarantee: {
650
+ card_number: string;
651
+ card_type: string;
652
+ cardholder_name: string;
653
+ cvv: string;
654
+ expiration_date: string;
655
+ is_virtual: boolean;
656
+ } | null;
657
+ inserted_at: string;
658
+ notes: string | null;
659
+ ota_name: string;
660
+ ota_reservation_code: string;
661
+ payment_collect: string | null;
662
+ payment_type: string | null;
663
+ property_id: string;
664
+ revision_id: string;
665
+ rooms: {
666
+ meta: {
667
+ meal_plan: string | null;
668
+ policies: string | null;
669
+ room_type_code: string | null;
670
+ smoking_preferences: string | null;
671
+ promotion?: {
672
+ from_code: string;
673
+ from_name: string;
674
+ promotion_id: string;
675
+ to_code: string;
676
+ }[] | undefined;
677
+ additional_details?: any[] | undefined;
678
+ cancel_penalties?: {
679
+ currency: string;
680
+ amount: string;
681
+ from: string;
682
+ }[] | undefined;
683
+ days_breakdown?: ({
684
+ date: string;
685
+ amount: string;
686
+ promotion: {
687
+ id: string;
688
+ title: string;
689
+ } | null;
690
+ rate_code: number;
691
+ rate_plan: string;
692
+ } | undefined)[] | undefined;
693
+ } | null;
694
+ days: Record<string, string>;
695
+ occupancy: {
696
+ children: number;
697
+ adults: number;
698
+ infants: number;
699
+ };
700
+ amount: string;
701
+ booking_room_id: string;
702
+ checkin_date: string;
703
+ checkout_date: string;
704
+ guests: {
705
+ name: string;
706
+ surname: string;
707
+ }[] | null;
708
+ rate_plan_id: string;
709
+ room_type_id: string;
710
+ taxes: {
711
+ name: string;
712
+ type: string;
713
+ is_inclusive: boolean;
714
+ nights: number;
715
+ persons: number;
716
+ price_mode: string;
717
+ price_per_unit: string;
718
+ total_price: string;
719
+ }[];
720
+ services?: any[] | undefined;
721
+ }[];
722
+ unique_id: string;
723
+ };
724
+ }, {
725
+ type: string;
726
+ id: string;
727
+ attributes: {
728
+ currency: string;
729
+ id: string;
730
+ status: string;
731
+ occupancy: {
732
+ children: number;
733
+ adults: number;
734
+ infants: number;
735
+ };
736
+ amount: string;
737
+ services: any[] | null;
738
+ ota_commission: string | null;
739
+ arrival_date: string;
740
+ arrival_hour: string | null;
741
+ customer: {
742
+ name: string;
743
+ address: string | null;
744
+ country: string | null;
745
+ language: string | null;
746
+ city: string | null;
747
+ company: string | null;
748
+ mail: string;
749
+ phone: string | null;
750
+ surname: string;
751
+ zip: string | null;
752
+ meta?: {
753
+ is_genius?: boolean | undefined;
754
+ } | undefined;
755
+ };
756
+ departure_date: string;
757
+ guarantee: {
758
+ card_number: string;
759
+ card_type: string;
760
+ cardholder_name: string;
761
+ cvv: string;
762
+ expiration_date: string;
763
+ is_virtual: boolean;
764
+ } | null;
765
+ inserted_at: string;
766
+ notes: string | null;
767
+ ota_name: string;
768
+ ota_reservation_code: string;
769
+ payment_collect: string | null;
770
+ payment_type: string | null;
771
+ property_id: string;
772
+ revision_id: string;
773
+ rooms: {
774
+ meta: {
775
+ meal_plan: string | null;
776
+ policies: string | null;
777
+ room_type_code: string | null;
778
+ smoking_preferences: string | null;
779
+ promotion?: {
780
+ from_code: string;
781
+ from_name: string;
782
+ promotion_id: string;
783
+ to_code: string;
784
+ }[] | undefined;
785
+ additional_details?: any[] | undefined;
786
+ cancel_penalties?: {
787
+ currency: string;
788
+ amount: string;
789
+ from: string;
790
+ }[] | undefined;
791
+ days_breakdown?: ({
792
+ date: string;
793
+ amount: string;
794
+ promotion: {
795
+ id: string;
796
+ title: string;
797
+ } | null;
798
+ rate_code: number;
799
+ rate_plan: string;
800
+ } | undefined)[] | undefined;
801
+ } | null;
802
+ days: Record<string, string>;
803
+ occupancy: {
804
+ children: number;
805
+ adults: number;
806
+ infants: number;
807
+ };
808
+ amount: string;
809
+ booking_room_id: string;
810
+ checkin_date: string;
811
+ checkout_date: string;
812
+ guests: {
813
+ name: string;
814
+ surname: string;
815
+ }[] | null;
816
+ rate_plan_id: string;
817
+ room_type_id: string;
818
+ taxes: {
819
+ name: string;
820
+ type: string;
821
+ is_inclusive: boolean;
822
+ nights: number;
823
+ persons: number;
824
+ price_mode: string;
825
+ price_per_unit: string;
826
+ total_price: string;
827
+ }[];
828
+ services?: any[] | undefined;
829
+ }[];
830
+ unique_id: string;
831
+ };
832
+ }>;
833
+ }, "strip", import("zod").ZodTypeAny, {
834
+ data: {
835
+ type: string;
836
+ id: string;
837
+ attributes: {
838
+ currency: string;
839
+ id: string;
840
+ status: string;
841
+ occupancy: {
842
+ children: number;
843
+ adults: number;
844
+ infants: number;
845
+ };
846
+ amount: string;
847
+ services: any[] | null;
848
+ ota_commission: string | null;
849
+ arrival_date: string;
850
+ arrival_hour: string | null;
851
+ customer: {
852
+ name: string;
853
+ address: string | null;
854
+ country: string | null;
855
+ language: string | null;
856
+ city: string | null;
857
+ company: string | null;
858
+ mail: string;
859
+ phone: string | null;
860
+ surname: string;
861
+ zip: string | null;
862
+ meta?: {
863
+ is_genius?: boolean | undefined;
864
+ } | undefined;
865
+ };
866
+ departure_date: string;
867
+ guarantee: {
868
+ card_number: string;
869
+ card_type: string;
870
+ cardholder_name: string;
871
+ cvv: string;
872
+ expiration_date: string;
873
+ is_virtual: boolean;
874
+ } | null;
875
+ inserted_at: string;
876
+ notes: string | null;
877
+ ota_name: string;
878
+ ota_reservation_code: string;
879
+ payment_collect: string | null;
880
+ payment_type: string | null;
881
+ property_id: string;
882
+ revision_id: string;
883
+ rooms: {
884
+ meta: {
885
+ meal_plan: string | null;
886
+ policies: string | null;
887
+ room_type_code: string | null;
888
+ smoking_preferences: string | null;
889
+ promotion?: {
890
+ from_code: string;
891
+ from_name: string;
892
+ promotion_id: string;
893
+ to_code: string;
894
+ }[] | undefined;
895
+ additional_details?: any[] | undefined;
896
+ cancel_penalties?: {
897
+ currency: string;
898
+ amount: string;
899
+ from: string;
900
+ }[] | undefined;
901
+ days_breakdown?: ({
902
+ date: string;
903
+ amount: string;
904
+ promotion: {
905
+ id: string;
906
+ title: string;
907
+ } | null;
908
+ rate_code: number;
909
+ rate_plan: string;
910
+ } | undefined)[] | undefined;
911
+ } | null;
912
+ days: Record<string, string>;
913
+ occupancy: {
914
+ children: number;
915
+ adults: number;
916
+ infants: number;
917
+ };
918
+ amount: string;
919
+ booking_room_id: string;
920
+ checkin_date: string;
921
+ checkout_date: string;
922
+ guests: {
923
+ name: string;
924
+ surname: string;
925
+ }[] | null;
926
+ rate_plan_id: string;
927
+ room_type_id: string;
928
+ taxes: {
929
+ name: string;
930
+ type: string;
931
+ is_inclusive: boolean;
932
+ nights: number;
933
+ persons: number;
934
+ price_mode: string;
935
+ price_per_unit: string;
936
+ total_price: string;
937
+ }[];
938
+ services?: any[] | undefined;
939
+ }[];
940
+ unique_id: string;
941
+ };
942
+ };
943
+ }, {
944
+ data: {
945
+ type: string;
946
+ id: string;
947
+ attributes: {
948
+ currency: string;
949
+ id: string;
950
+ status: string;
951
+ occupancy: {
952
+ children: number;
953
+ adults: number;
954
+ infants: number;
955
+ };
956
+ amount: string;
957
+ services: any[] | null;
958
+ ota_commission: string | null;
959
+ arrival_date: string;
960
+ arrival_hour: string | null;
961
+ customer: {
962
+ name: string;
963
+ address: string | null;
964
+ country: string | null;
965
+ language: string | null;
966
+ city: string | null;
967
+ company: string | null;
968
+ mail: string;
969
+ phone: string | null;
970
+ surname: string;
971
+ zip: string | null;
972
+ meta?: {
973
+ is_genius?: boolean | undefined;
974
+ } | undefined;
975
+ };
976
+ departure_date: string;
977
+ guarantee: {
978
+ card_number: string;
979
+ card_type: string;
980
+ cardholder_name: string;
981
+ cvv: string;
982
+ expiration_date: string;
983
+ is_virtual: boolean;
984
+ } | null;
985
+ inserted_at: string;
986
+ notes: string | null;
987
+ ota_name: string;
988
+ ota_reservation_code: string;
989
+ payment_collect: string | null;
990
+ payment_type: string | null;
991
+ property_id: string;
992
+ revision_id: string;
993
+ rooms: {
994
+ meta: {
995
+ meal_plan: string | null;
996
+ policies: string | null;
997
+ room_type_code: string | null;
998
+ smoking_preferences: string | null;
999
+ promotion?: {
1000
+ from_code: string;
1001
+ from_name: string;
1002
+ promotion_id: string;
1003
+ to_code: string;
1004
+ }[] | undefined;
1005
+ additional_details?: any[] | undefined;
1006
+ cancel_penalties?: {
1007
+ currency: string;
1008
+ amount: string;
1009
+ from: string;
1010
+ }[] | undefined;
1011
+ days_breakdown?: ({
1012
+ date: string;
1013
+ amount: string;
1014
+ promotion: {
1015
+ id: string;
1016
+ title: string;
1017
+ } | null;
1018
+ rate_code: number;
1019
+ rate_plan: string;
1020
+ } | undefined)[] | undefined;
1021
+ } | null;
1022
+ days: Record<string, string>;
1023
+ occupancy: {
1024
+ children: number;
1025
+ adults: number;
1026
+ infants: number;
1027
+ };
1028
+ amount: string;
1029
+ booking_room_id: string;
1030
+ checkin_date: string;
1031
+ checkout_date: string;
1032
+ guests: {
1033
+ name: string;
1034
+ surname: string;
1035
+ }[] | null;
1036
+ rate_plan_id: string;
1037
+ room_type_id: string;
1038
+ taxes: {
1039
+ name: string;
1040
+ type: string;
1041
+ is_inclusive: boolean;
1042
+ nights: number;
1043
+ persons: number;
1044
+ price_mode: string;
1045
+ price_per_unit: string;
1046
+ total_price: string;
1047
+ }[];
1048
+ services?: any[] | undefined;
1049
+ }[];
1050
+ unique_id: string;
1051
+ };
1052
+ };
1053
+ }>;
1054
+ property_id: import("zod").ZodString;
1055
+ }, "strip", import("zod").ZodTypeAny, {
1056
+ event: string;
1057
+ property_id: string;
1058
+ timestamp: string;
1059
+ payload: {
1060
+ data: {
1061
+ type: string;
1062
+ id: string;
1063
+ attributes: {
1064
+ currency: string;
1065
+ id: string;
1066
+ status: string;
1067
+ occupancy: {
1068
+ children: number;
1069
+ adults: number;
1070
+ infants: number;
1071
+ };
1072
+ amount: string;
1073
+ services: any[] | null;
1074
+ ota_commission: string | null;
1075
+ arrival_date: string;
1076
+ arrival_hour: string | null;
1077
+ customer: {
1078
+ name: string;
1079
+ address: string | null;
1080
+ country: string | null;
1081
+ language: string | null;
1082
+ city: string | null;
1083
+ company: string | null;
1084
+ mail: string;
1085
+ phone: string | null;
1086
+ surname: string;
1087
+ zip: string | null;
1088
+ meta?: {
1089
+ is_genius?: boolean | undefined;
1090
+ } | undefined;
1091
+ };
1092
+ departure_date: string;
1093
+ guarantee: {
1094
+ card_number: string;
1095
+ card_type: string;
1096
+ cardholder_name: string;
1097
+ cvv: string;
1098
+ expiration_date: string;
1099
+ is_virtual: boolean;
1100
+ } | null;
1101
+ inserted_at: string;
1102
+ notes: string | null;
1103
+ ota_name: string;
1104
+ ota_reservation_code: string;
1105
+ payment_collect: string | null;
1106
+ payment_type: string | null;
1107
+ property_id: string;
1108
+ revision_id: string;
1109
+ rooms: {
1110
+ meta: {
1111
+ meal_plan: string | null;
1112
+ policies: string | null;
1113
+ room_type_code: string | null;
1114
+ smoking_preferences: string | null;
1115
+ promotion?: {
1116
+ from_code: string;
1117
+ from_name: string;
1118
+ promotion_id: string;
1119
+ to_code: string;
1120
+ }[] | undefined;
1121
+ additional_details?: any[] | undefined;
1122
+ cancel_penalties?: {
1123
+ currency: string;
1124
+ amount: string;
1125
+ from: string;
1126
+ }[] | undefined;
1127
+ days_breakdown?: ({
1128
+ date: string;
1129
+ amount: string;
1130
+ promotion: {
1131
+ id: string;
1132
+ title: string;
1133
+ } | null;
1134
+ rate_code: number;
1135
+ rate_plan: string;
1136
+ } | undefined)[] | undefined;
1137
+ } | null;
1138
+ days: Record<string, string>;
1139
+ occupancy: {
1140
+ children: number;
1141
+ adults: number;
1142
+ infants: number;
1143
+ };
1144
+ amount: string;
1145
+ booking_room_id: string;
1146
+ checkin_date: string;
1147
+ checkout_date: string;
1148
+ guests: {
1149
+ name: string;
1150
+ surname: string;
1151
+ }[] | null;
1152
+ rate_plan_id: string;
1153
+ room_type_id: string;
1154
+ taxes: {
1155
+ name: string;
1156
+ type: string;
1157
+ is_inclusive: boolean;
1158
+ nights: number;
1159
+ persons: number;
1160
+ price_mode: string;
1161
+ price_per_unit: string;
1162
+ total_price: string;
1163
+ }[];
1164
+ services?: any[] | undefined;
1165
+ }[];
1166
+ unique_id: string;
1167
+ };
1168
+ };
1169
+ };
1170
+ user_id?: string | null | undefined;
1171
+ }, {
1172
+ event: string;
1173
+ property_id: string;
1174
+ timestamp: string;
1175
+ payload: {
1176
+ data: {
1177
+ type: string;
1178
+ id: string;
1179
+ attributes: {
1180
+ currency: string;
1181
+ id: string;
1182
+ status: string;
1183
+ occupancy: {
1184
+ children: number;
1185
+ adults: number;
1186
+ infants: number;
1187
+ };
1188
+ amount: string;
1189
+ services: any[] | null;
1190
+ ota_commission: string | null;
1191
+ arrival_date: string;
1192
+ arrival_hour: string | null;
1193
+ customer: {
1194
+ name: string;
1195
+ address: string | null;
1196
+ country: string | null;
1197
+ language: string | null;
1198
+ city: string | null;
1199
+ company: string | null;
1200
+ mail: string;
1201
+ phone: string | null;
1202
+ surname: string;
1203
+ zip: string | null;
1204
+ meta?: {
1205
+ is_genius?: boolean | undefined;
1206
+ } | undefined;
1207
+ };
1208
+ departure_date: string;
1209
+ guarantee: {
1210
+ card_number: string;
1211
+ card_type: string;
1212
+ cardholder_name: string;
1213
+ cvv: string;
1214
+ expiration_date: string;
1215
+ is_virtual: boolean;
1216
+ } | null;
1217
+ inserted_at: string;
1218
+ notes: string | null;
1219
+ ota_name: string;
1220
+ ota_reservation_code: string;
1221
+ payment_collect: string | null;
1222
+ payment_type: string | null;
1223
+ property_id: string;
1224
+ revision_id: string;
1225
+ rooms: {
1226
+ meta: {
1227
+ meal_plan: string | null;
1228
+ policies: string | null;
1229
+ room_type_code: string | null;
1230
+ smoking_preferences: string | null;
1231
+ promotion?: {
1232
+ from_code: string;
1233
+ from_name: string;
1234
+ promotion_id: string;
1235
+ to_code: string;
1236
+ }[] | undefined;
1237
+ additional_details?: any[] | undefined;
1238
+ cancel_penalties?: {
1239
+ currency: string;
1240
+ amount: string;
1241
+ from: string;
1242
+ }[] | undefined;
1243
+ days_breakdown?: ({
1244
+ date: string;
1245
+ amount: string;
1246
+ promotion: {
1247
+ id: string;
1248
+ title: string;
1249
+ } | null;
1250
+ rate_code: number;
1251
+ rate_plan: string;
1252
+ } | undefined)[] | undefined;
1253
+ } | null;
1254
+ days: Record<string, string>;
1255
+ occupancy: {
1256
+ children: number;
1257
+ adults: number;
1258
+ infants: number;
1259
+ };
1260
+ amount: string;
1261
+ booking_room_id: string;
1262
+ checkin_date: string;
1263
+ checkout_date: string;
1264
+ guests: {
1265
+ name: string;
1266
+ surname: string;
1267
+ }[] | null;
1268
+ rate_plan_id: string;
1269
+ room_type_id: string;
1270
+ taxes: {
1271
+ name: string;
1272
+ type: string;
1273
+ is_inclusive: boolean;
1274
+ nights: number;
1275
+ persons: number;
1276
+ price_mode: string;
1277
+ price_per_unit: string;
1278
+ total_price: string;
1279
+ }[];
1280
+ services?: any[] | undefined;
1281
+ }[];
1282
+ unique_id: string;
1283
+ };
1284
+ };
1285
+ };
1286
+ user_id?: string | null | undefined;
1287
+ }>;