hububb-saas-shared 1.0.7 → 1.0.9

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.
@@ -1,3 +1,1052 @@
1
+ export declare const BookingResponseSchema: import("zod").ZodObject<{
2
+ data: import("zod").ZodObject<{
3
+ id: import("zod").ZodString;
4
+ type: import("zod").ZodString;
5
+ attributes: import("zod").ZodObject<{
6
+ amount: import("zod").ZodString;
7
+ ota_commission: import("zod").ZodNullable<import("zod").ZodString>;
8
+ arrival_date: import("zod").ZodString;
9
+ arrival_hour: import("zod").ZodNullable<import("zod").ZodString>;
10
+ currency: import("zod").ZodString;
11
+ customer: import("zod").ZodObject<{
12
+ address: import("zod").ZodNullable<import("zod").ZodString>;
13
+ city: import("zod").ZodNullable<import("zod").ZodString>;
14
+ company: import("zod").ZodNullable<import("zod").ZodString>;
15
+ country: import("zod").ZodNullable<import("zod").ZodString>;
16
+ language: import("zod").ZodNullable<import("zod").ZodString>;
17
+ mail: import("zod").ZodString;
18
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
19
+ is_genius: import("zod").ZodOptional<import("zod").ZodBoolean>;
20
+ }, "strip", import("zod").ZodTypeAny, {
21
+ is_genius?: boolean | undefined;
22
+ }, {
23
+ is_genius?: boolean | undefined;
24
+ }>>;
25
+ name: import("zod").ZodString;
26
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
27
+ surname: import("zod").ZodString;
28
+ zip: import("zod").ZodNullable<import("zod").ZodString>;
29
+ }, "strip", import("zod").ZodTypeAny, {
30
+ name: string;
31
+ address: string | null;
32
+ country: string | null;
33
+ language: string | null;
34
+ phone: string | null;
35
+ city: string | null;
36
+ company: string | null;
37
+ mail: string;
38
+ surname: string;
39
+ zip: string | null;
40
+ meta?: {
41
+ is_genius?: boolean | undefined;
42
+ } | undefined;
43
+ }, {
44
+ name: string;
45
+ address: string | null;
46
+ country: string | null;
47
+ language: string | null;
48
+ phone: string | null;
49
+ city: string | null;
50
+ company: string | null;
51
+ mail: string;
52
+ surname: string;
53
+ zip: string | null;
54
+ meta?: {
55
+ is_genius?: boolean | undefined;
56
+ } | undefined;
57
+ }>;
58
+ departure_date: import("zod").ZodString;
59
+ guarantee: import("zod").ZodNullable<import("zod").ZodObject<{
60
+ card_number: import("zod").ZodString;
61
+ card_type: import("zod").ZodString;
62
+ cardholder_name: import("zod").ZodString;
63
+ cvv: import("zod").ZodString;
64
+ expiration_date: import("zod").ZodString;
65
+ is_virtual: import("zod").ZodBoolean;
66
+ }, "strip", import("zod").ZodTypeAny, {
67
+ card_number: string;
68
+ card_type: string;
69
+ cardholder_name: string;
70
+ cvv: string;
71
+ expiration_date: string;
72
+ is_virtual: boolean;
73
+ }, {
74
+ card_number: string;
75
+ card_type: string;
76
+ cardholder_name: string;
77
+ cvv: string;
78
+ expiration_date: string;
79
+ is_virtual: boolean;
80
+ }>>;
81
+ id: import("zod").ZodString;
82
+ inserted_at: import("zod").ZodString;
83
+ notes: import("zod").ZodNullable<import("zod").ZodString>;
84
+ occupancy: import("zod").ZodObject<{
85
+ adults: import("zod").ZodNumber;
86
+ children: import("zod").ZodNumber;
87
+ infants: import("zod").ZodNumber;
88
+ }, "strip", import("zod").ZodTypeAny, {
89
+ children: number;
90
+ adults: number;
91
+ infants: number;
92
+ }, {
93
+ children: number;
94
+ adults: number;
95
+ infants: number;
96
+ }>;
97
+ ota_name: import("zod").ZodString;
98
+ ota_reservation_code: import("zod").ZodString;
99
+ payment_collect: import("zod").ZodNullable<import("zod").ZodString>;
100
+ payment_type: import("zod").ZodNullable<import("zod").ZodString>;
101
+ property_id: import("zod").ZodString;
102
+ revision_id: import("zod").ZodString;
103
+ rooms: import("zod").ZodArray<import("zod").ZodObject<{
104
+ amount: import("zod").ZodString;
105
+ booking_room_id: import("zod").ZodString;
106
+ checkin_date: import("zod").ZodString;
107
+ checkout_date: import("zod").ZodString;
108
+ days: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
109
+ guests: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
110
+ name: import("zod").ZodString;
111
+ surname: import("zod").ZodString;
112
+ }, "strip", import("zod").ZodTypeAny, {
113
+ name: string;
114
+ surname: string;
115
+ }, {
116
+ name: string;
117
+ surname: string;
118
+ }>, "many">>;
119
+ meta: import("zod").ZodNullable<import("zod").ZodObject<{
120
+ additional_details: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
121
+ cancel_penalties: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
122
+ amount: import("zod").ZodString;
123
+ currency: import("zod").ZodString;
124
+ from: import("zod").ZodString;
125
+ }, "strip", import("zod").ZodTypeAny, {
126
+ currency: string;
127
+ amount: string;
128
+ from: string;
129
+ }, {
130
+ currency: string;
131
+ amount: string;
132
+ from: string;
133
+ }>, "many">>;
134
+ days_breakdown: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodOptional<import("zod").ZodObject<{
135
+ amount: import("zod").ZodString;
136
+ date: import("zod").ZodString;
137
+ promotion: import("zod").ZodNullable<import("zod").ZodObject<{
138
+ id: import("zod").ZodString;
139
+ title: import("zod").ZodString;
140
+ }, "strip", import("zod").ZodTypeAny, {
141
+ id: string;
142
+ title: string;
143
+ }, {
144
+ id: string;
145
+ title: string;
146
+ }>>;
147
+ rate_code: import("zod").ZodNumber;
148
+ rate_plan: import("zod").ZodString;
149
+ }, "strip", import("zod").ZodTypeAny, {
150
+ date: string;
151
+ amount: string;
152
+ promotion: {
153
+ id: string;
154
+ title: string;
155
+ } | null;
156
+ rate_code: number;
157
+ rate_plan: string;
158
+ }, {
159
+ date: string;
160
+ amount: string;
161
+ promotion: {
162
+ id: string;
163
+ title: string;
164
+ } | null;
165
+ rate_code: number;
166
+ rate_plan: string;
167
+ }>>, "many">>;
168
+ meal_plan: import("zod").ZodNullable<import("zod").ZodString>;
169
+ policies: import("zod").ZodNullable<import("zod").ZodString>;
170
+ promotion: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
171
+ from_code: import("zod").ZodString;
172
+ from_name: import("zod").ZodString;
173
+ promotion_id: import("zod").ZodString;
174
+ to_code: import("zod").ZodString;
175
+ }, "strip", import("zod").ZodTypeAny, {
176
+ from_code: string;
177
+ from_name: string;
178
+ promotion_id: string;
179
+ to_code: string;
180
+ }, {
181
+ from_code: string;
182
+ from_name: string;
183
+ promotion_id: string;
184
+ to_code: string;
185
+ }>, "many">>;
186
+ room_type_code: import("zod").ZodNullable<import("zod").ZodString>;
187
+ smoking_preferences: import("zod").ZodNullable<import("zod").ZodString>;
188
+ }, "strip", import("zod").ZodTypeAny, {
189
+ meal_plan: string | null;
190
+ policies: string | null;
191
+ room_type_code: string | null;
192
+ smoking_preferences: string | null;
193
+ promotion?: {
194
+ from_code: string;
195
+ from_name: string;
196
+ promotion_id: string;
197
+ to_code: string;
198
+ }[] | undefined;
199
+ additional_details?: any[] | undefined;
200
+ cancel_penalties?: {
201
+ currency: string;
202
+ amount: string;
203
+ from: string;
204
+ }[] | undefined;
205
+ days_breakdown?: ({
206
+ date: string;
207
+ amount: string;
208
+ promotion: {
209
+ id: string;
210
+ title: string;
211
+ } | null;
212
+ rate_code: number;
213
+ rate_plan: string;
214
+ } | undefined)[] | undefined;
215
+ }, {
216
+ meal_plan: string | null;
217
+ policies: string | null;
218
+ room_type_code: string | null;
219
+ smoking_preferences: string | null;
220
+ promotion?: {
221
+ from_code: string;
222
+ from_name: string;
223
+ promotion_id: string;
224
+ to_code: string;
225
+ }[] | undefined;
226
+ additional_details?: any[] | undefined;
227
+ cancel_penalties?: {
228
+ currency: string;
229
+ amount: string;
230
+ from: string;
231
+ }[] | undefined;
232
+ days_breakdown?: ({
233
+ date: string;
234
+ amount: string;
235
+ promotion: {
236
+ id: string;
237
+ title: string;
238
+ } | null;
239
+ rate_code: number;
240
+ rate_plan: string;
241
+ } | undefined)[] | undefined;
242
+ }>>;
243
+ occupancy: import("zod").ZodObject<{
244
+ adults: import("zod").ZodNumber;
245
+ children: import("zod").ZodNumber;
246
+ infants: import("zod").ZodNumber;
247
+ }, "strip", import("zod").ZodTypeAny, {
248
+ children: number;
249
+ adults: number;
250
+ infants: number;
251
+ }, {
252
+ children: number;
253
+ adults: number;
254
+ infants: number;
255
+ }>;
256
+ rate_plan_id: import("zod").ZodString;
257
+ room_type_id: import("zod").ZodString;
258
+ services: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
259
+ taxes: import("zod").ZodArray<import("zod").ZodObject<{
260
+ is_inclusive: import("zod").ZodBoolean;
261
+ name: import("zod").ZodString;
262
+ nights: import("zod").ZodNumber;
263
+ persons: import("zod").ZodNumber;
264
+ price_mode: import("zod").ZodString;
265
+ price_per_unit: import("zod").ZodString;
266
+ total_price: import("zod").ZodString;
267
+ type: import("zod").ZodString;
268
+ }, "strip", import("zod").ZodTypeAny, {
269
+ name: string;
270
+ type: string;
271
+ is_inclusive: boolean;
272
+ nights: number;
273
+ persons: number;
274
+ price_mode: string;
275
+ price_per_unit: string;
276
+ total_price: string;
277
+ }, {
278
+ name: string;
279
+ type: string;
280
+ is_inclusive: boolean;
281
+ nights: number;
282
+ persons: number;
283
+ price_mode: string;
284
+ price_per_unit: string;
285
+ total_price: string;
286
+ }>, "many">;
287
+ }, "strip", import("zod").ZodTypeAny, {
288
+ meta: {
289
+ meal_plan: string | null;
290
+ policies: string | null;
291
+ room_type_code: string | null;
292
+ smoking_preferences: string | null;
293
+ promotion?: {
294
+ from_code: string;
295
+ from_name: string;
296
+ promotion_id: string;
297
+ to_code: string;
298
+ }[] | undefined;
299
+ additional_details?: any[] | undefined;
300
+ cancel_penalties?: {
301
+ currency: string;
302
+ amount: string;
303
+ from: string;
304
+ }[] | undefined;
305
+ days_breakdown?: ({
306
+ date: string;
307
+ amount: string;
308
+ promotion: {
309
+ id: string;
310
+ title: string;
311
+ } | null;
312
+ rate_code: number;
313
+ rate_plan: string;
314
+ } | undefined)[] | undefined;
315
+ } | null;
316
+ days: Record<string, string>;
317
+ occupancy: {
318
+ children: number;
319
+ adults: number;
320
+ infants: number;
321
+ };
322
+ amount: string;
323
+ booking_room_id: string;
324
+ checkin_date: string;
325
+ checkout_date: string;
326
+ guests: {
327
+ name: string;
328
+ surname: string;
329
+ }[] | null;
330
+ rate_plan_id: string;
331
+ room_type_id: string;
332
+ taxes: {
333
+ name: string;
334
+ type: string;
335
+ is_inclusive: boolean;
336
+ nights: number;
337
+ persons: number;
338
+ price_mode: string;
339
+ price_per_unit: string;
340
+ total_price: string;
341
+ }[];
342
+ services?: any[] | undefined;
343
+ }, {
344
+ meta: {
345
+ meal_plan: string | null;
346
+ policies: string | null;
347
+ room_type_code: string | null;
348
+ smoking_preferences: string | null;
349
+ promotion?: {
350
+ from_code: string;
351
+ from_name: string;
352
+ promotion_id: string;
353
+ to_code: string;
354
+ }[] | undefined;
355
+ additional_details?: any[] | undefined;
356
+ cancel_penalties?: {
357
+ currency: string;
358
+ amount: string;
359
+ from: string;
360
+ }[] | undefined;
361
+ days_breakdown?: ({
362
+ date: string;
363
+ amount: string;
364
+ promotion: {
365
+ id: string;
366
+ title: string;
367
+ } | null;
368
+ rate_code: number;
369
+ rate_plan: string;
370
+ } | undefined)[] | undefined;
371
+ } | null;
372
+ days: Record<string, string>;
373
+ occupancy: {
374
+ children: number;
375
+ adults: number;
376
+ infants: number;
377
+ };
378
+ amount: string;
379
+ booking_room_id: string;
380
+ checkin_date: string;
381
+ checkout_date: string;
382
+ guests: {
383
+ name: string;
384
+ surname: string;
385
+ }[] | null;
386
+ rate_plan_id: string;
387
+ room_type_id: string;
388
+ taxes: {
389
+ name: string;
390
+ type: string;
391
+ is_inclusive: boolean;
392
+ nights: number;
393
+ persons: number;
394
+ price_mode: string;
395
+ price_per_unit: string;
396
+ total_price: string;
397
+ }[];
398
+ services?: any[] | undefined;
399
+ }>, "many">;
400
+ services: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodAny, "many">>;
401
+ status: import("zod").ZodString;
402
+ unique_id: import("zod").ZodString;
403
+ }, "strip", import("zod").ZodTypeAny, {
404
+ currency: string;
405
+ id: string;
406
+ status: string;
407
+ occupancy: {
408
+ children: number;
409
+ adults: number;
410
+ infants: number;
411
+ };
412
+ amount: string;
413
+ notes: string | null;
414
+ services: any[] | null;
415
+ ota_commission: string | null;
416
+ arrival_date: string;
417
+ arrival_hour: string | null;
418
+ customer: {
419
+ name: string;
420
+ address: string | null;
421
+ country: string | null;
422
+ language: string | null;
423
+ phone: string | null;
424
+ city: string | null;
425
+ company: string | null;
426
+ mail: string;
427
+ surname: string;
428
+ zip: string | null;
429
+ meta?: {
430
+ is_genius?: boolean | undefined;
431
+ } | undefined;
432
+ };
433
+ departure_date: string;
434
+ guarantee: {
435
+ card_number: string;
436
+ card_type: string;
437
+ cardholder_name: string;
438
+ cvv: string;
439
+ expiration_date: string;
440
+ is_virtual: boolean;
441
+ } | null;
442
+ inserted_at: string;
443
+ ota_name: string;
444
+ ota_reservation_code: string;
445
+ payment_collect: string | null;
446
+ payment_type: string | null;
447
+ property_id: string;
448
+ revision_id: string;
449
+ rooms: {
450
+ meta: {
451
+ meal_plan: string | null;
452
+ policies: string | null;
453
+ room_type_code: string | null;
454
+ smoking_preferences: string | null;
455
+ promotion?: {
456
+ from_code: string;
457
+ from_name: string;
458
+ promotion_id: string;
459
+ to_code: string;
460
+ }[] | undefined;
461
+ additional_details?: any[] | undefined;
462
+ cancel_penalties?: {
463
+ currency: string;
464
+ amount: string;
465
+ from: string;
466
+ }[] | undefined;
467
+ days_breakdown?: ({
468
+ date: string;
469
+ amount: string;
470
+ promotion: {
471
+ id: string;
472
+ title: string;
473
+ } | null;
474
+ rate_code: number;
475
+ rate_plan: string;
476
+ } | undefined)[] | undefined;
477
+ } | null;
478
+ days: Record<string, string>;
479
+ occupancy: {
480
+ children: number;
481
+ adults: number;
482
+ infants: number;
483
+ };
484
+ amount: string;
485
+ booking_room_id: string;
486
+ checkin_date: string;
487
+ checkout_date: string;
488
+ guests: {
489
+ name: string;
490
+ surname: string;
491
+ }[] | null;
492
+ rate_plan_id: string;
493
+ room_type_id: string;
494
+ taxes: {
495
+ name: string;
496
+ type: string;
497
+ is_inclusive: boolean;
498
+ nights: number;
499
+ persons: number;
500
+ price_mode: string;
501
+ price_per_unit: string;
502
+ total_price: string;
503
+ }[];
504
+ services?: any[] | undefined;
505
+ }[];
506
+ unique_id: string;
507
+ }, {
508
+ currency: string;
509
+ id: string;
510
+ status: string;
511
+ occupancy: {
512
+ children: number;
513
+ adults: number;
514
+ infants: number;
515
+ };
516
+ amount: string;
517
+ notes: string | null;
518
+ services: any[] | null;
519
+ ota_commission: string | null;
520
+ arrival_date: string;
521
+ arrival_hour: string | null;
522
+ customer: {
523
+ name: string;
524
+ address: string | null;
525
+ country: string | null;
526
+ language: string | null;
527
+ phone: string | null;
528
+ city: string | null;
529
+ company: string | null;
530
+ mail: string;
531
+ surname: string;
532
+ zip: string | null;
533
+ meta?: {
534
+ is_genius?: boolean | undefined;
535
+ } | undefined;
536
+ };
537
+ departure_date: string;
538
+ guarantee: {
539
+ card_number: string;
540
+ card_type: string;
541
+ cardholder_name: string;
542
+ cvv: string;
543
+ expiration_date: string;
544
+ is_virtual: boolean;
545
+ } | null;
546
+ inserted_at: string;
547
+ ota_name: string;
548
+ ota_reservation_code: string;
549
+ payment_collect: string | null;
550
+ payment_type: string | null;
551
+ property_id: string;
552
+ revision_id: string;
553
+ rooms: {
554
+ meta: {
555
+ meal_plan: string | null;
556
+ policies: string | null;
557
+ room_type_code: string | null;
558
+ smoking_preferences: string | null;
559
+ promotion?: {
560
+ from_code: string;
561
+ from_name: string;
562
+ promotion_id: string;
563
+ to_code: string;
564
+ }[] | undefined;
565
+ additional_details?: any[] | undefined;
566
+ cancel_penalties?: {
567
+ currency: string;
568
+ amount: string;
569
+ from: string;
570
+ }[] | undefined;
571
+ days_breakdown?: ({
572
+ date: string;
573
+ amount: string;
574
+ promotion: {
575
+ id: string;
576
+ title: string;
577
+ } | null;
578
+ rate_code: number;
579
+ rate_plan: string;
580
+ } | undefined)[] | undefined;
581
+ } | null;
582
+ days: Record<string, string>;
583
+ occupancy: {
584
+ children: number;
585
+ adults: number;
586
+ infants: number;
587
+ };
588
+ amount: string;
589
+ booking_room_id: string;
590
+ checkin_date: string;
591
+ checkout_date: string;
592
+ guests: {
593
+ name: string;
594
+ surname: string;
595
+ }[] | null;
596
+ rate_plan_id: string;
597
+ room_type_id: string;
598
+ taxes: {
599
+ name: string;
600
+ type: string;
601
+ is_inclusive: boolean;
602
+ nights: number;
603
+ persons: number;
604
+ price_mode: string;
605
+ price_per_unit: string;
606
+ total_price: string;
607
+ }[];
608
+ services?: any[] | undefined;
609
+ }[];
610
+ unique_id: string;
611
+ }>;
612
+ }, "strip", import("zod").ZodTypeAny, {
613
+ type: string;
614
+ id: string;
615
+ attributes: {
616
+ currency: string;
617
+ id: string;
618
+ status: string;
619
+ occupancy: {
620
+ children: number;
621
+ adults: number;
622
+ infants: number;
623
+ };
624
+ amount: string;
625
+ notes: string | null;
626
+ services: any[] | null;
627
+ ota_commission: string | null;
628
+ arrival_date: string;
629
+ arrival_hour: string | null;
630
+ customer: {
631
+ name: string;
632
+ address: string | null;
633
+ country: string | null;
634
+ language: string | null;
635
+ phone: string | null;
636
+ city: string | null;
637
+ company: string | null;
638
+ mail: string;
639
+ surname: string;
640
+ zip: string | null;
641
+ meta?: {
642
+ is_genius?: boolean | undefined;
643
+ } | undefined;
644
+ };
645
+ departure_date: string;
646
+ guarantee: {
647
+ card_number: string;
648
+ card_type: string;
649
+ cardholder_name: string;
650
+ cvv: string;
651
+ expiration_date: string;
652
+ is_virtual: boolean;
653
+ } | null;
654
+ inserted_at: string;
655
+ ota_name: string;
656
+ ota_reservation_code: string;
657
+ payment_collect: string | null;
658
+ payment_type: string | null;
659
+ property_id: string;
660
+ revision_id: string;
661
+ rooms: {
662
+ meta: {
663
+ meal_plan: string | null;
664
+ policies: string | null;
665
+ room_type_code: string | null;
666
+ smoking_preferences: string | null;
667
+ promotion?: {
668
+ from_code: string;
669
+ from_name: string;
670
+ promotion_id: string;
671
+ to_code: string;
672
+ }[] | undefined;
673
+ additional_details?: any[] | undefined;
674
+ cancel_penalties?: {
675
+ currency: string;
676
+ amount: string;
677
+ from: string;
678
+ }[] | undefined;
679
+ days_breakdown?: ({
680
+ date: string;
681
+ amount: string;
682
+ promotion: {
683
+ id: string;
684
+ title: string;
685
+ } | null;
686
+ rate_code: number;
687
+ rate_plan: string;
688
+ } | undefined)[] | undefined;
689
+ } | null;
690
+ days: Record<string, string>;
691
+ occupancy: {
692
+ children: number;
693
+ adults: number;
694
+ infants: number;
695
+ };
696
+ amount: string;
697
+ booking_room_id: string;
698
+ checkin_date: string;
699
+ checkout_date: string;
700
+ guests: {
701
+ name: string;
702
+ surname: string;
703
+ }[] | null;
704
+ rate_plan_id: string;
705
+ room_type_id: string;
706
+ taxes: {
707
+ name: string;
708
+ type: string;
709
+ is_inclusive: boolean;
710
+ nights: number;
711
+ persons: number;
712
+ price_mode: string;
713
+ price_per_unit: string;
714
+ total_price: string;
715
+ }[];
716
+ services?: any[] | undefined;
717
+ }[];
718
+ unique_id: string;
719
+ };
720
+ }, {
721
+ type: string;
722
+ id: string;
723
+ attributes: {
724
+ currency: string;
725
+ id: string;
726
+ status: string;
727
+ occupancy: {
728
+ children: number;
729
+ adults: number;
730
+ infants: number;
731
+ };
732
+ amount: string;
733
+ notes: string | null;
734
+ services: any[] | null;
735
+ ota_commission: string | null;
736
+ arrival_date: string;
737
+ arrival_hour: string | null;
738
+ customer: {
739
+ name: string;
740
+ address: string | null;
741
+ country: string | null;
742
+ language: string | null;
743
+ phone: string | null;
744
+ city: string | null;
745
+ company: string | null;
746
+ mail: string;
747
+ surname: string;
748
+ zip: string | null;
749
+ meta?: {
750
+ is_genius?: boolean | undefined;
751
+ } | undefined;
752
+ };
753
+ departure_date: string;
754
+ guarantee: {
755
+ card_number: string;
756
+ card_type: string;
757
+ cardholder_name: string;
758
+ cvv: string;
759
+ expiration_date: string;
760
+ is_virtual: boolean;
761
+ } | null;
762
+ inserted_at: string;
763
+ ota_name: string;
764
+ ota_reservation_code: string;
765
+ payment_collect: string | null;
766
+ payment_type: string | null;
767
+ property_id: string;
768
+ revision_id: string;
769
+ rooms: {
770
+ meta: {
771
+ meal_plan: string | null;
772
+ policies: string | null;
773
+ room_type_code: string | null;
774
+ smoking_preferences: string | null;
775
+ promotion?: {
776
+ from_code: string;
777
+ from_name: string;
778
+ promotion_id: string;
779
+ to_code: string;
780
+ }[] | undefined;
781
+ additional_details?: any[] | undefined;
782
+ cancel_penalties?: {
783
+ currency: string;
784
+ amount: string;
785
+ from: string;
786
+ }[] | undefined;
787
+ days_breakdown?: ({
788
+ date: string;
789
+ amount: string;
790
+ promotion: {
791
+ id: string;
792
+ title: string;
793
+ } | null;
794
+ rate_code: number;
795
+ rate_plan: string;
796
+ } | undefined)[] | undefined;
797
+ } | null;
798
+ days: Record<string, string>;
799
+ occupancy: {
800
+ children: number;
801
+ adults: number;
802
+ infants: number;
803
+ };
804
+ amount: string;
805
+ booking_room_id: string;
806
+ checkin_date: string;
807
+ checkout_date: string;
808
+ guests: {
809
+ name: string;
810
+ surname: string;
811
+ }[] | null;
812
+ rate_plan_id: string;
813
+ room_type_id: string;
814
+ taxes: {
815
+ name: string;
816
+ type: string;
817
+ is_inclusive: boolean;
818
+ nights: number;
819
+ persons: number;
820
+ price_mode: string;
821
+ price_per_unit: string;
822
+ total_price: string;
823
+ }[];
824
+ services?: any[] | undefined;
825
+ }[];
826
+ unique_id: string;
827
+ };
828
+ }>;
829
+ }, "strip", import("zod").ZodTypeAny, {
830
+ data: {
831
+ type: string;
832
+ id: string;
833
+ attributes: {
834
+ currency: string;
835
+ id: string;
836
+ status: string;
837
+ occupancy: {
838
+ children: number;
839
+ adults: number;
840
+ infants: number;
841
+ };
842
+ amount: string;
843
+ notes: string | null;
844
+ services: any[] | null;
845
+ ota_commission: string | null;
846
+ arrival_date: string;
847
+ arrival_hour: string | null;
848
+ customer: {
849
+ name: string;
850
+ address: string | null;
851
+ country: string | null;
852
+ language: string | null;
853
+ phone: string | null;
854
+ city: string | null;
855
+ company: string | null;
856
+ mail: string;
857
+ surname: string;
858
+ zip: string | null;
859
+ meta?: {
860
+ is_genius?: boolean | undefined;
861
+ } | undefined;
862
+ };
863
+ departure_date: string;
864
+ guarantee: {
865
+ card_number: string;
866
+ card_type: string;
867
+ cardholder_name: string;
868
+ cvv: string;
869
+ expiration_date: string;
870
+ is_virtual: boolean;
871
+ } | null;
872
+ inserted_at: string;
873
+ ota_name: string;
874
+ ota_reservation_code: string;
875
+ payment_collect: string | null;
876
+ payment_type: string | null;
877
+ property_id: string;
878
+ revision_id: string;
879
+ rooms: {
880
+ meta: {
881
+ meal_plan: string | null;
882
+ policies: string | null;
883
+ room_type_code: string | null;
884
+ smoking_preferences: string | null;
885
+ promotion?: {
886
+ from_code: string;
887
+ from_name: string;
888
+ promotion_id: string;
889
+ to_code: string;
890
+ }[] | undefined;
891
+ additional_details?: any[] | undefined;
892
+ cancel_penalties?: {
893
+ currency: string;
894
+ amount: string;
895
+ from: string;
896
+ }[] | undefined;
897
+ days_breakdown?: ({
898
+ date: string;
899
+ amount: string;
900
+ promotion: {
901
+ id: string;
902
+ title: string;
903
+ } | null;
904
+ rate_code: number;
905
+ rate_plan: string;
906
+ } | undefined)[] | undefined;
907
+ } | null;
908
+ days: Record<string, string>;
909
+ occupancy: {
910
+ children: number;
911
+ adults: number;
912
+ infants: number;
913
+ };
914
+ amount: string;
915
+ booking_room_id: string;
916
+ checkin_date: string;
917
+ checkout_date: string;
918
+ guests: {
919
+ name: string;
920
+ surname: string;
921
+ }[] | null;
922
+ rate_plan_id: string;
923
+ room_type_id: string;
924
+ taxes: {
925
+ name: string;
926
+ type: string;
927
+ is_inclusive: boolean;
928
+ nights: number;
929
+ persons: number;
930
+ price_mode: string;
931
+ price_per_unit: string;
932
+ total_price: string;
933
+ }[];
934
+ services?: any[] | undefined;
935
+ }[];
936
+ unique_id: string;
937
+ };
938
+ };
939
+ }, {
940
+ data: {
941
+ type: string;
942
+ id: string;
943
+ attributes: {
944
+ currency: string;
945
+ id: string;
946
+ status: string;
947
+ occupancy: {
948
+ children: number;
949
+ adults: number;
950
+ infants: number;
951
+ };
952
+ amount: string;
953
+ notes: string | null;
954
+ services: any[] | null;
955
+ ota_commission: string | null;
956
+ arrival_date: string;
957
+ arrival_hour: string | null;
958
+ customer: {
959
+ name: string;
960
+ address: string | null;
961
+ country: string | null;
962
+ language: string | null;
963
+ phone: string | null;
964
+ city: string | null;
965
+ company: string | null;
966
+ mail: string;
967
+ surname: string;
968
+ zip: string | null;
969
+ meta?: {
970
+ is_genius?: boolean | undefined;
971
+ } | undefined;
972
+ };
973
+ departure_date: string;
974
+ guarantee: {
975
+ card_number: string;
976
+ card_type: string;
977
+ cardholder_name: string;
978
+ cvv: string;
979
+ expiration_date: string;
980
+ is_virtual: boolean;
981
+ } | null;
982
+ inserted_at: string;
983
+ ota_name: string;
984
+ ota_reservation_code: string;
985
+ payment_collect: string | null;
986
+ payment_type: string | null;
987
+ property_id: string;
988
+ revision_id: string;
989
+ rooms: {
990
+ meta: {
991
+ meal_plan: string | null;
992
+ policies: string | null;
993
+ room_type_code: string | null;
994
+ smoking_preferences: string | null;
995
+ promotion?: {
996
+ from_code: string;
997
+ from_name: string;
998
+ promotion_id: string;
999
+ to_code: string;
1000
+ }[] | undefined;
1001
+ additional_details?: any[] | undefined;
1002
+ cancel_penalties?: {
1003
+ currency: string;
1004
+ amount: string;
1005
+ from: string;
1006
+ }[] | undefined;
1007
+ days_breakdown?: ({
1008
+ date: string;
1009
+ amount: string;
1010
+ promotion: {
1011
+ id: string;
1012
+ title: string;
1013
+ } | null;
1014
+ rate_code: number;
1015
+ rate_plan: string;
1016
+ } | undefined)[] | undefined;
1017
+ } | null;
1018
+ days: Record<string, string>;
1019
+ occupancy: {
1020
+ children: number;
1021
+ adults: number;
1022
+ infants: number;
1023
+ };
1024
+ amount: string;
1025
+ booking_room_id: string;
1026
+ checkin_date: string;
1027
+ checkout_date: string;
1028
+ guests: {
1029
+ name: string;
1030
+ surname: string;
1031
+ }[] | null;
1032
+ rate_plan_id: string;
1033
+ room_type_id: string;
1034
+ taxes: {
1035
+ name: string;
1036
+ type: string;
1037
+ is_inclusive: boolean;
1038
+ nights: number;
1039
+ persons: number;
1040
+ price_mode: string;
1041
+ price_per_unit: string;
1042
+ total_price: string;
1043
+ }[];
1044
+ services?: any[] | undefined;
1045
+ }[];
1046
+ unique_id: string;
1047
+ };
1048
+ };
1049
+ }>;
1
1050
  export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
2
1051
  timestamp: import("zod").ZodString;
3
1052
  event: import("zod").ZodString;
@@ -35,10 +1084,10 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
35
1084
  address: string | null;
36
1085
  country: string | null;
37
1086
  language: string | null;
1087
+ phone: string | null;
38
1088
  city: string | null;
39
1089
  company: string | null;
40
1090
  mail: string;
41
- phone: string | null;
42
1091
  surname: string;
43
1092
  zip: string | null;
44
1093
  meta?: {
@@ -49,10 +1098,10 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
49
1098
  address: string | null;
50
1099
  country: string | null;
51
1100
  language: string | null;
1101
+ phone: string | null;
52
1102
  city: string | null;
53
1103
  company: string | null;
54
1104
  mail: string;
55
- phone: string | null;
56
1105
  surname: string;
57
1106
  zip: string | null;
58
1107
  meta?: {
@@ -414,6 +1463,7 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
414
1463
  infants: number;
415
1464
  };
416
1465
  amount: string;
1466
+ notes: string | null;
417
1467
  services: any[] | null;
418
1468
  ota_commission: string | null;
419
1469
  arrival_date: string;
@@ -423,10 +1473,10 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
423
1473
  address: string | null;
424
1474
  country: string | null;
425
1475
  language: string | null;
1476
+ phone: string | null;
426
1477
  city: string | null;
427
1478
  company: string | null;
428
1479
  mail: string;
429
- phone: string | null;
430
1480
  surname: string;
431
1481
  zip: string | null;
432
1482
  meta?: {
@@ -443,7 +1493,6 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
443
1493
  is_virtual: boolean;
444
1494
  } | null;
445
1495
  inserted_at: string;
446
- notes: string | null;
447
1496
  ota_name: string;
448
1497
  ota_reservation_code: string;
449
1498
  payment_collect: string | null;
@@ -518,6 +1567,7 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
518
1567
  infants: number;
519
1568
  };
520
1569
  amount: string;
1570
+ notes: string | null;
521
1571
  services: any[] | null;
522
1572
  ota_commission: string | null;
523
1573
  arrival_date: string;
@@ -527,10 +1577,10 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
527
1577
  address: string | null;
528
1578
  country: string | null;
529
1579
  language: string | null;
1580
+ phone: string | null;
530
1581
  city: string | null;
531
1582
  company: string | null;
532
1583
  mail: string;
533
- phone: string | null;
534
1584
  surname: string;
535
1585
  zip: string | null;
536
1586
  meta?: {
@@ -547,7 +1597,6 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
547
1597
  is_virtual: boolean;
548
1598
  } | null;
549
1599
  inserted_at: string;
550
- notes: string | null;
551
1600
  ota_name: string;
552
1601
  ota_reservation_code: string;
553
1602
  payment_collect: string | null;
@@ -626,6 +1675,7 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
626
1675
  infants: number;
627
1676
  };
628
1677
  amount: string;
1678
+ notes: string | null;
629
1679
  services: any[] | null;
630
1680
  ota_commission: string | null;
631
1681
  arrival_date: string;
@@ -635,10 +1685,10 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
635
1685
  address: string | null;
636
1686
  country: string | null;
637
1687
  language: string | null;
1688
+ phone: string | null;
638
1689
  city: string | null;
639
1690
  company: string | null;
640
1691
  mail: string;
641
- phone: string | null;
642
1692
  surname: string;
643
1693
  zip: string | null;
644
1694
  meta?: {
@@ -655,7 +1705,6 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
655
1705
  is_virtual: boolean;
656
1706
  } | null;
657
1707
  inserted_at: string;
658
- notes: string | null;
659
1708
  ota_name: string;
660
1709
  ota_reservation_code: string;
661
1710
  payment_collect: string | null;
@@ -734,6 +1783,7 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
734
1783
  infants: number;
735
1784
  };
736
1785
  amount: string;
1786
+ notes: string | null;
737
1787
  services: any[] | null;
738
1788
  ota_commission: string | null;
739
1789
  arrival_date: string;
@@ -743,10 +1793,10 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
743
1793
  address: string | null;
744
1794
  country: string | null;
745
1795
  language: string | null;
1796
+ phone: string | null;
746
1797
  city: string | null;
747
1798
  company: string | null;
748
1799
  mail: string;
749
- phone: string | null;
750
1800
  surname: string;
751
1801
  zip: string | null;
752
1802
  meta?: {
@@ -763,7 +1813,6 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
763
1813
  is_virtual: boolean;
764
1814
  } | null;
765
1815
  inserted_at: string;
766
- notes: string | null;
767
1816
  ota_name: string;
768
1817
  ota_reservation_code: string;
769
1818
  payment_collect: string | null;
@@ -844,6 +1893,7 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
844
1893
  infants: number;
845
1894
  };
846
1895
  amount: string;
1896
+ notes: string | null;
847
1897
  services: any[] | null;
848
1898
  ota_commission: string | null;
849
1899
  arrival_date: string;
@@ -853,10 +1903,10 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
853
1903
  address: string | null;
854
1904
  country: string | null;
855
1905
  language: string | null;
1906
+ phone: string | null;
856
1907
  city: string | null;
857
1908
  company: string | null;
858
1909
  mail: string;
859
- phone: string | null;
860
1910
  surname: string;
861
1911
  zip: string | null;
862
1912
  meta?: {
@@ -873,7 +1923,6 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
873
1923
  is_virtual: boolean;
874
1924
  } | null;
875
1925
  inserted_at: string;
876
- notes: string | null;
877
1926
  ota_name: string;
878
1927
  ota_reservation_code: string;
879
1928
  payment_collect: string | null;
@@ -954,6 +2003,7 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
954
2003
  infants: number;
955
2004
  };
956
2005
  amount: string;
2006
+ notes: string | null;
957
2007
  services: any[] | null;
958
2008
  ota_commission: string | null;
959
2009
  arrival_date: string;
@@ -963,10 +2013,10 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
963
2013
  address: string | null;
964
2014
  country: string | null;
965
2015
  language: string | null;
2016
+ phone: string | null;
966
2017
  city: string | null;
967
2018
  company: string | null;
968
2019
  mail: string;
969
- phone: string | null;
970
2020
  surname: string;
971
2021
  zip: string | null;
972
2022
  meta?: {
@@ -983,7 +2033,6 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
983
2033
  is_virtual: boolean;
984
2034
  } | null;
985
2035
  inserted_at: string;
986
- notes: string | null;
987
2036
  ota_name: string;
988
2037
  ota_reservation_code: string;
989
2038
  payment_collect: string | null;
@@ -1070,6 +2119,7 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
1070
2119
  infants: number;
1071
2120
  };
1072
2121
  amount: string;
2122
+ notes: string | null;
1073
2123
  services: any[] | null;
1074
2124
  ota_commission: string | null;
1075
2125
  arrival_date: string;
@@ -1079,10 +2129,10 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
1079
2129
  address: string | null;
1080
2130
  country: string | null;
1081
2131
  language: string | null;
2132
+ phone: string | null;
1082
2133
  city: string | null;
1083
2134
  company: string | null;
1084
2135
  mail: string;
1085
- phone: string | null;
1086
2136
  surname: string;
1087
2137
  zip: string | null;
1088
2138
  meta?: {
@@ -1099,7 +2149,6 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
1099
2149
  is_virtual: boolean;
1100
2150
  } | null;
1101
2151
  inserted_at: string;
1102
- notes: string | null;
1103
2152
  ota_name: string;
1104
2153
  ota_reservation_code: string;
1105
2154
  payment_collect: string | null;
@@ -1186,6 +2235,7 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
1186
2235
  infants: number;
1187
2236
  };
1188
2237
  amount: string;
2238
+ notes: string | null;
1189
2239
  services: any[] | null;
1190
2240
  ota_commission: string | null;
1191
2241
  arrival_date: string;
@@ -1195,10 +2245,10 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
1195
2245
  address: string | null;
1196
2246
  country: string | null;
1197
2247
  language: string | null;
2248
+ phone: string | null;
1198
2249
  city: string | null;
1199
2250
  company: string | null;
1200
2251
  mail: string;
1201
- phone: string | null;
1202
2252
  surname: string;
1203
2253
  zip: string | null;
1204
2254
  meta?: {
@@ -1215,7 +2265,6 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
1215
2265
  is_virtual: boolean;
1216
2266
  } | null;
1217
2267
  inserted_at: string;
1218
- notes: string | null;
1219
2268
  ota_name: string;
1220
2269
  ota_reservation_code: string;
1221
2270
  payment_collect: string | null;