hububb-models 1.0.105 → 1.0.106

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
- import { Timestamp } from "firebase-admin/firestore";
1
+ import { Timestamp } from "@firebase/firestore-types";
2
2
  import { z } from "zod";
3
3
  export declare const firestoreTimestampSchema: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.firestoreTimestampSchema = void 0;
4
- const firestore_1 = require("firebase-admin/firestore");
4
+ const firestore_types_1 = require("@firebase/firestore-types");
5
5
  const zod_1 = require("zod");
6
- exports.firestoreTimestampSchema = zod_1.z.instanceof(firestore_1.Timestamp);
6
+ exports.firestoreTimestampSchema = zod_1.z.instanceof(firestore_types_1.Timestamp);
@@ -253,23 +253,23 @@ export declare const offerSchema: import("zod").ZodObject<{
253
253
  amount: number;
254
254
  }>;
255
255
  }, "strip", import("zod").ZodTypeAny, {
256
+ vatType: string;
257
+ vatPercent: number;
256
258
  net: {
257
259
  currency: string;
258
260
  amount: number;
259
261
  };
260
- vatType: string;
261
- vatPercent: number;
262
262
  tax: {
263
263
  currency: string;
264
264
  amount: number;
265
265
  };
266
266
  }, {
267
+ vatType: string;
268
+ vatPercent: number;
267
269
  net: {
268
270
  currency: string;
269
271
  amount: number;
270
272
  };
271
- vatType: string;
272
- vatPercent: number;
273
273
  tax: {
274
274
  currency: string;
275
275
  amount: number;
@@ -363,12 +363,12 @@ export declare const offerSchema: import("zod").ZodObject<{
363
363
  };
364
364
  }[] | undefined;
365
365
  taxDetails?: {
366
+ vatType: string;
367
+ vatPercent: number;
366
368
  net: {
367
369
  currency: string;
368
370
  amount: number;
369
371
  };
370
- vatType: string;
371
- vatPercent: number;
372
372
  tax: {
373
373
  currency: string;
374
374
  amount: number;
@@ -451,12 +451,12 @@ export declare const offerSchema: import("zod").ZodObject<{
451
451
  };
452
452
  }[] | undefined;
453
453
  taxDetails?: {
454
+ vatType: string;
455
+ vatPercent: number;
454
456
  net: {
455
457
  currency: string;
456
458
  amount: number;
457
459
  };
458
- vatType: string;
459
- vatPercent: number;
460
460
  tax: {
461
461
  currency: string;
462
462
  amount: number;
@@ -735,23 +735,23 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
735
735
  amount: number;
736
736
  }>;
737
737
  }, "strip", import("zod").ZodTypeAny, {
738
+ vatType: string;
739
+ vatPercent: number;
738
740
  net: {
739
741
  currency: string;
740
742
  amount: number;
741
743
  };
742
- vatType: string;
743
- vatPercent: number;
744
744
  tax: {
745
745
  currency: string;
746
746
  amount: number;
747
747
  };
748
748
  }, {
749
+ vatType: string;
750
+ vatPercent: number;
749
751
  net: {
750
752
  currency: string;
751
753
  amount: number;
752
754
  };
753
- vatType: string;
754
- vatPercent: number;
755
755
  tax: {
756
756
  currency: string;
757
757
  amount: number;
@@ -845,12 +845,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
845
845
  };
846
846
  }[] | undefined;
847
847
  taxDetails?: {
848
+ vatType: string;
849
+ vatPercent: number;
848
850
  net: {
849
851
  currency: string;
850
852
  amount: number;
851
853
  };
852
- vatType: string;
853
- vatPercent: number;
854
854
  tax: {
855
855
  currency: string;
856
856
  amount: number;
@@ -933,12 +933,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
933
933
  };
934
934
  }[] | undefined;
935
935
  taxDetails?: {
936
+ vatType: string;
937
+ vatPercent: number;
936
938
  net: {
937
939
  currency: string;
938
940
  amount: number;
939
941
  };
940
- vatType: string;
941
- vatPercent: number;
942
942
  tax: {
943
943
  currency: string;
944
944
  amount: number;
@@ -1029,12 +1029,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
1029
1029
  };
1030
1030
  }[] | undefined;
1031
1031
  taxDetails?: {
1032
+ vatType: string;
1033
+ vatPercent: number;
1032
1034
  net: {
1033
1035
  currency: string;
1034
1036
  amount: number;
1035
1037
  };
1036
- vatType: string;
1037
- vatPercent: number;
1038
1038
  tax: {
1039
1039
  currency: string;
1040
1040
  amount: number;
@@ -1125,12 +1125,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
1125
1125
  };
1126
1126
  }[] | undefined;
1127
1127
  taxDetails?: {
1128
+ vatType: string;
1129
+ vatPercent: number;
1128
1130
  net: {
1129
1131
  currency: string;
1130
1132
  amount: number;
1131
1133
  };
1132
- vatType: string;
1133
- vatPercent: number;
1134
1134
  tax: {
1135
1135
  currency: string;
1136
1136
  amount: number;
@@ -81,13 +81,13 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
81
81
  }, "strip", import("zod").ZodTypeAny, {
82
82
  lastName: string;
83
83
  email?: string | undefined;
84
- firstName?: string | undefined;
85
84
  phone?: string | undefined;
85
+ firstName?: string | undefined;
86
86
  }, {
87
87
  lastName: string;
88
88
  email?: string | undefined;
89
- firstName?: string | undefined;
90
89
  phone?: string | undefined;
90
+ firstName?: string | undefined;
91
91
  }>;
92
92
  guaranteeType: import("zod").ZodString;
93
93
  cancellationFee: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -196,23 +196,23 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
196
196
  amount: number;
197
197
  }>;
198
198
  }, "strip", import("zod").ZodTypeAny, {
199
+ vatType: string;
200
+ vatPercent: number;
199
201
  net: {
200
202
  currency: string;
201
203
  amount: number;
202
204
  };
203
- vatType: string;
204
- vatPercent: number;
205
205
  tax: {
206
206
  currency: string;
207
207
  amount: number;
208
208
  };
209
209
  }, {
210
+ vatType: string;
211
+ vatPercent: number;
210
212
  net: {
211
213
  currency: string;
212
214
  amount: number;
213
215
  };
214
- vatType: string;
215
- vatPercent: number;
216
216
  tax: {
217
217
  currency: string;
218
218
  amount: number;
@@ -323,7 +323,6 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
323
323
  }>;
324
324
  isMandatory: import("zod").ZodBoolean;
325
325
  }, "strip", import("zod").ZodTypeAny, {
326
- count: number;
327
326
  amount: {
328
327
  currency: string;
329
328
  grossAmount: number;
@@ -331,10 +330,10 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
331
330
  vatType: string;
332
331
  vatPercent: number;
333
332
  };
333
+ count: number;
334
334
  serviceDate: string;
335
335
  isMandatory: boolean;
336
336
  }, {
337
- count: number;
338
337
  amount: {
339
338
  currency: string;
340
339
  grossAmount: number;
@@ -342,10 +341,18 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
342
341
  vatType: string;
343
342
  vatPercent: number;
344
343
  };
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
+ };
349
356
  service: {
350
357
  code: string;
351
358
  id: string;
@@ -357,15 +364,7 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
357
364
  amount: number;
358
365
  };
359
366
  };
360
- totalAmount: {
361
- currency: string;
362
- grossAmount: number;
363
- netAmount: number;
364
- vatType: string;
365
- vatPercent: number;
366
- };
367
367
  dates: {
368
- count: number;
369
368
  amount: {
370
369
  currency: string;
371
370
  grossAmount: number;
@@ -373,10 +372,18 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
373
372
  vatType: string;
374
373
  vatPercent: number;
375
374
  };
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
+ };
380
387
  service: {
381
388
  code: string;
382
389
  id: string;
@@ -388,15 +395,7 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
388
395
  amount: number;
389
396
  };
390
397
  };
391
- totalAmount: {
392
- currency: string;
393
- grossAmount: number;
394
- netAmount: number;
395
- vatType: string;
396
- vatPercent: number;
397
- };
398
398
  dates: {
399
- count: number;
400
399
  amount: {
401
400
  currency: string;
402
401
  grossAmount: number;
@@ -404,6 +403,7 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
404
403
  vatType: string;
405
404
  vatPercent: number;
406
405
  };
406
+ count: number;
407
407
  serviceDate: string;
408
408
  isMandatory: boolean;
409
409
  }[];
@@ -419,10 +419,17 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
419
419
  primaryGuest: {
420
420
  lastName: string;
421
421
  email?: string | undefined;
422
- firstName?: string | undefined;
423
422
  phone?: string | undefined;
423
+ firstName?: string | undefined;
424
424
  };
425
425
  services: {
426
+ totalAmount: {
427
+ currency: string;
428
+ grossAmount: number;
429
+ netAmount: number;
430
+ vatType: string;
431
+ vatPercent: number;
432
+ };
426
433
  service: {
427
434
  code: string;
428
435
  id: string;
@@ -434,15 +441,7 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
434
441
  amount: number;
435
442
  };
436
443
  };
437
- totalAmount: {
438
- currency: string;
439
- grossAmount: number;
440
- netAmount: number;
441
- vatType: string;
442
- vatPercent: number;
443
- };
444
444
  dates: {
445
- count: number;
446
445
  amount: {
447
446
  currency: string;
448
447
  grossAmount: number;
@@ -450,6 +449,7 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
450
449
  vatType: string;
451
450
  vatPercent: number;
452
451
  };
452
+ count: number;
453
453
  serviceDate: string;
454
454
  isMandatory: boolean;
455
455
  }[];
@@ -473,12 +473,12 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
473
473
  isSubjectToCityTax: boolean;
474
474
  };
475
475
  taxDetails: {
476
+ vatType: string;
477
+ vatPercent: number;
476
478
  net: {
477
479
  currency: string;
478
480
  amount: number;
479
481
  };
480
- vatType: string;
481
- vatPercent: number;
482
482
  tax: {
483
483
  currency: string;
484
484
  amount: number;
@@ -539,10 +539,17 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
539
539
  primaryGuest: {
540
540
  lastName: string;
541
541
  email?: string | undefined;
542
- firstName?: string | undefined;
543
542
  phone?: string | undefined;
543
+ firstName?: string | undefined;
544
544
  };
545
545
  services: {
546
+ totalAmount: {
547
+ currency: string;
548
+ grossAmount: number;
549
+ netAmount: number;
550
+ vatType: string;
551
+ vatPercent: number;
552
+ };
546
553
  service: {
547
554
  code: string;
548
555
  id: string;
@@ -554,15 +561,7 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
554
561
  amount: number;
555
562
  };
556
563
  };
557
- totalAmount: {
558
- currency: string;
559
- grossAmount: number;
560
- netAmount: number;
561
- vatType: string;
562
- vatPercent: number;
563
- };
564
564
  dates: {
565
- count: number;
566
565
  amount: {
567
566
  currency: string;
568
567
  grossAmount: number;
@@ -570,6 +569,7 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
570
569
  vatType: string;
571
570
  vatPercent: number;
572
571
  };
572
+ count: number;
573
573
  serviceDate: string;
574
574
  isMandatory: boolean;
575
575
  }[];
@@ -593,12 +593,12 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
593
593
  isSubjectToCityTax: boolean;
594
594
  };
595
595
  taxDetails: {
596
+ vatType: string;
597
+ vatPercent: number;
596
598
  net: {
597
599
  currency: string;
598
600
  amount: number;
599
601
  };
600
- vatType: string;
601
- vatPercent: number;
602
602
  tax: {
603
603
  currency: string;
604
604
  amount: number;
@@ -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<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>;
5
+ createdAt: import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").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: FirebaseFirestore.Timestamp;
59
+ createdAt: import("@firebase/firestore-types").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: FirebaseFirestore.Timestamp;
82
+ createdAt: import("@firebase/firestore-types").Timestamp;
83
83
  metaTitle: string;
84
84
  metaDescription: string;
85
85
  subtitle: string;
@@ -41,8 +41,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
41
41
  surname: string;
42
42
  address?: string | null | undefined;
43
43
  language?: string | null | undefined;
44
- country?: string | null | undefined;
45
44
  phone?: string | null | undefined;
45
+ country?: string | null | undefined;
46
46
  city?: string | null | undefined;
47
47
  zip?: string | null | undefined;
48
48
  mail?: string | null | undefined;
@@ -51,8 +51,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
51
51
  surname: string;
52
52
  address?: string | null | undefined;
53
53
  language?: string | null | undefined;
54
- country?: string | null | undefined;
55
54
  phone?: string | null | undefined;
55
+ country?: string | null | undefined;
56
56
  city?: string | null | undefined;
57
57
  zip?: string | null | undefined;
58
58
  mail?: string | null | undefined;
@@ -219,8 +219,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
219
219
  surname: string;
220
220
  address?: string | null | undefined;
221
221
  language?: string | null | undefined;
222
- country?: string | null | undefined;
223
222
  phone?: string | null | undefined;
223
+ country?: string | null | undefined;
224
224
  city?: string | null | undefined;
225
225
  zip?: string | null | undefined;
226
226
  mail?: string | null | undefined;
@@ -296,8 +296,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
296
296
  surname: string;
297
297
  address?: string | null | undefined;
298
298
  language?: string | null | undefined;
299
- country?: string | null | undefined;
300
299
  phone?: string | null | undefined;
300
+ country?: string | null | undefined;
301
301
  city?: string | null | undefined;
302
302
  zip?: string | null | undefined;
303
303
  mail?: string | null | undefined;
@@ -377,8 +377,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
377
377
  surname: string;
378
378
  address?: string | null | undefined;
379
379
  language?: string | null | undefined;
380
- country?: string | null | undefined;
381
380
  phone?: string | null | undefined;
381
+ country?: string | null | undefined;
382
382
  city?: string | null | undefined;
383
383
  zip?: string | null | undefined;
384
384
  mail?: string | null | undefined;
@@ -458,8 +458,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
458
458
  surname: string;
459
459
  address?: string | null | undefined;
460
460
  language?: string | null | undefined;
461
- country?: string | null | undefined;
462
461
  phone?: string | null | undefined;
462
+ country?: string | null | undefined;
463
463
  city?: string | null | undefined;
464
464
  zip?: string | null | undefined;
465
465
  mail?: string | null | undefined;
@@ -87,6 +87,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
87
87
  };
88
88
  title: string;
89
89
  currency: string;
90
+ country: string;
91
+ city: string;
92
+ timezone: string;
93
+ min_stay_type: string;
90
94
  settings: {
91
95
  min_stay_type: string;
92
96
  allow_availability_autoupdate: boolean;
@@ -99,10 +103,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
99
103
  max_price?: number | null | undefined;
100
104
  min_price?: number | null | undefined;
101
105
  };
102
- country: string;
103
- city: string;
104
- timezone: string;
105
- min_stay_type: string;
106
106
  is_active: boolean;
107
107
  max_count_of_occupancies: number;
108
108
  max_count_of_rate_plans: number;
@@ -133,6 +133,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
133
133
  };
134
134
  title: string;
135
135
  currency: string;
136
+ country: string;
137
+ city: string;
138
+ timezone: string;
139
+ min_stay_type: string;
136
140
  settings: {
137
141
  min_stay_type: string;
138
142
  allow_availability_autoupdate: boolean;
@@ -145,10 +149,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
145
149
  max_price?: number | null | undefined;
146
150
  min_price?: number | null | undefined;
147
151
  };
148
- country: string;
149
- city: string;
150
- timezone: string;
151
- min_stay_type: string;
152
152
  is_active: boolean;
153
153
  max_count_of_occupancies: number;
154
154
  max_count_of_rate_plans: number;
@@ -384,6 +384,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
384
384
  };
385
385
  title: string;
386
386
  currency: string;
387
+ country: string;
388
+ city: string;
389
+ timezone: string;
390
+ min_stay_type: string;
387
391
  settings: {
388
392
  min_stay_type: string;
389
393
  allow_availability_autoupdate: boolean;
@@ -396,10 +400,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
396
400
  max_price?: number | null | undefined;
397
401
  min_price?: number | null | undefined;
398
402
  };
399
- country: string;
400
- city: string;
401
- timezone: string;
402
- min_stay_type: string;
403
403
  is_active: boolean;
404
404
  max_count_of_occupancies: number;
405
405
  max_count_of_rate_plans: number;
@@ -469,6 +469,10 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
469
469
  };
470
470
  title: string;
471
471
  currency: string;
472
+ country: string;
473
+ city: string;
474
+ timezone: string;
475
+ min_stay_type: string;
472
476
  settings: {
473
477
  min_stay_type: string;
474
478
  allow_availability_autoupdate: boolean;
@@ -481,10 +485,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
481
485
  max_price?: number | null | undefined;
482
486
  min_price?: number | null | undefined;
483
487
  };
484
- country: string;
485
- city: string;
486
- timezone: string;
487
- min_stay_type: string;
488
488
  is_active: boolean;
489
489
  max_count_of_occupancies: number;
490
490
  max_count_of_rate_plans: number;