hububb-models 1.0.77 → 1.0.78

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,3 @@
1
- import { Timestamp } from "@firebase/firestore";
1
+ import { Timestamp } from "firebase-admin/firestore";
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/firestore");
4
+ const firestore_1 = require("firebase-admin/firestore");
5
5
  const zod_1 = require("zod");
6
6
  exports.firestoreTimestampSchema = zod_1.z.instanceof(firestore_1.Timestamp);
@@ -270,23 +270,23 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
270
270
  amount: number;
271
271
  }>;
272
272
  }, "strip", import("zod").ZodTypeAny, {
273
- vatType: string;
274
- vatPercent: number;
275
273
  net: {
276
274
  currency: string;
277
275
  amount: number;
278
276
  };
277
+ vatType: string;
278
+ vatPercent: number;
279
279
  tax: {
280
280
  currency: string;
281
281
  amount: number;
282
282
  };
283
283
  }, {
284
- vatType: string;
285
- vatPercent: number;
286
284
  net: {
287
285
  currency: string;
288
286
  amount: number;
289
287
  };
288
+ vatType: string;
289
+ vatPercent: number;
290
290
  tax: {
291
291
  currency: string;
292
292
  amount: number;
@@ -380,12 +380,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
380
380
  };
381
381
  }[] | undefined;
382
382
  taxDetails?: {
383
- vatType: string;
384
- vatPercent: number;
385
383
  net: {
386
384
  currency: string;
387
385
  amount: number;
388
386
  };
387
+ vatType: string;
388
+ vatPercent: number;
389
389
  tax: {
390
390
  currency: string;
391
391
  amount: number;
@@ -468,12 +468,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
468
468
  };
469
469
  }[] | undefined;
470
470
  taxDetails?: {
471
- vatType: string;
472
- vatPercent: number;
473
471
  net: {
474
472
  currency: string;
475
473
  amount: number;
476
474
  };
475
+ vatType: string;
476
+ vatPercent: number;
477
477
  tax: {
478
478
  currency: string;
479
479
  amount: number;
@@ -564,12 +564,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
564
564
  };
565
565
  }[] | undefined;
566
566
  taxDetails?: {
567
- vatType: string;
568
- vatPercent: number;
569
567
  net: {
570
568
  currency: string;
571
569
  amount: number;
572
570
  };
571
+ vatType: string;
572
+ vatPercent: number;
573
573
  tax: {
574
574
  currency: string;
575
575
  amount: number;
@@ -660,12 +660,12 @@ export declare const ApaleoOfferSchema: import("zod").ZodObject<{
660
660
  };
661
661
  }[] | undefined;
662
662
  taxDetails?: {
663
- vatType: string;
664
- vatPercent: number;
665
663
  net: {
666
664
  currency: string;
667
665
  amount: number;
668
666
  };
667
+ vatType: string;
668
+ vatPercent: number;
669
669
  tax: {
670
670
  currency: string;
671
671
  amount: number;
@@ -196,23 +196,23 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
196
196
  amount: number;
197
197
  }>;
198
198
  }, "strip", import("zod").ZodTypeAny, {
199
- vatType: string;
200
- vatPercent: number;
201
199
  net: {
202
200
  currency: string;
203
201
  amount: number;
204
202
  };
203
+ vatType: string;
204
+ vatPercent: number;
205
205
  tax: {
206
206
  currency: string;
207
207
  amount: number;
208
208
  };
209
209
  }, {
210
- vatType: string;
211
- vatPercent: number;
212
210
  net: {
213
211
  currency: string;
214
212
  amount: number;
215
213
  };
214
+ vatType: string;
215
+ vatPercent: number;
216
216
  tax: {
217
217
  currency: string;
218
218
  amount: number;
@@ -268,12 +268,12 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
268
268
  isSubjectToCityTax: boolean;
269
269
  };
270
270
  taxDetails: {
271
- vatType: string;
272
- vatPercent: number;
273
271
  net: {
274
272
  currency: string;
275
273
  amount: number;
276
274
  };
275
+ vatType: string;
276
+ vatPercent: number;
277
277
  tax: {
278
278
  currency: string;
279
279
  amount: number;
@@ -356,12 +356,12 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
356
356
  isSubjectToCityTax: boolean;
357
357
  };
358
358
  taxDetails: {
359
- vatType: string;
360
- vatPercent: number;
361
359
  net: {
362
360
  currency: string;
363
361
  amount: number;
364
362
  };
363
+ vatType: string;
364
+ vatPercent: number;
365
365
  tax: {
366
366
  currency: string;
367
367
  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<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
5
+ createdAt: import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>;
6
6
  title: import("zod").ZodString;
7
7
  subtitle: import("zod").ZodString;
8
8
  contentSections: import("zod").ZodArray<import("zod").ZodObject<{
@@ -58,7 +58,7 @@ export declare const BlogSchema: import("zod").ZodObject<{
58
58
  title: string;
59
59
  metaTitle: string;
60
60
  metaDescription: string;
61
- createdAt: import("@firebase/firestore").Timestamp;
61
+ createdAt: FirebaseFirestore.Timestamp;
62
62
  subtitle: string;
63
63
  contentSections: {
64
64
  content: string;
@@ -81,7 +81,7 @@ export declare const BlogSchema: import("zod").ZodObject<{
81
81
  title: string;
82
82
  metaTitle: string;
83
83
  metaDescription: string;
84
- createdAt: import("@firebase/firestore").Timestamp;
84
+ createdAt: FirebaseFirestore.Timestamp;
85
85
  subtitle: string;
86
86
  contentSections: {
87
87
  content: string;
@@ -42,8 +42,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
42
42
  address?: string | null | undefined;
43
43
  language?: string | null | undefined;
44
44
  country?: string | null | undefined;
45
- phone?: string | null | undefined;
46
45
  city?: string | null | undefined;
46
+ phone?: string | null | undefined;
47
47
  zip?: string | null | undefined;
48
48
  mail?: string | null | undefined;
49
49
  }, {
@@ -52,8 +52,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
52
52
  address?: string | null | undefined;
53
53
  language?: string | null | undefined;
54
54
  country?: string | null | undefined;
55
- phone?: string | null | undefined;
56
55
  city?: string | null | undefined;
56
+ phone?: string | null | undefined;
57
57
  zip?: string | null | undefined;
58
58
  mail?: string | null | undefined;
59
59
  }>;
@@ -220,8 +220,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
220
220
  address?: string | null | undefined;
221
221
  language?: string | null | undefined;
222
222
  country?: string | null | undefined;
223
- phone?: string | null | undefined;
224
223
  city?: string | null | undefined;
224
+ phone?: string | null | undefined;
225
225
  zip?: string | null | undefined;
226
226
  mail?: string | null | undefined;
227
227
  };
@@ -297,8 +297,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
297
297
  address?: string | null | undefined;
298
298
  language?: string | null | undefined;
299
299
  country?: string | null | undefined;
300
- phone?: string | null | undefined;
301
300
  city?: string | null | undefined;
301
+ phone?: string | null | undefined;
302
302
  zip?: string | null | undefined;
303
303
  mail?: string | null | undefined;
304
304
  };
@@ -378,8 +378,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
378
378
  address?: string | null | undefined;
379
379
  language?: string | null | undefined;
380
380
  country?: string | null | undefined;
381
- phone?: string | null | undefined;
382
381
  city?: string | null | undefined;
382
+ phone?: string | null | undefined;
383
383
  zip?: string | null | undefined;
384
384
  mail?: string | null | undefined;
385
385
  };
@@ -459,8 +459,8 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
459
459
  address?: string | null | undefined;
460
460
  language?: string | null | undefined;
461
461
  country?: string | null | undefined;
462
- phone?: string | null | undefined;
463
462
  city?: string | null | undefined;
463
+ phone?: string | null | undefined;
464
464
  zip?: string | null | undefined;
465
465
  mail?: string | null | undefined;
466
466
  };
@@ -88,9 +88,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
88
88
  title: string;
89
89
  currency: string;
90
90
  country: string;
91
- city: string;
92
- timezone: string;
93
- min_stay_type: string;
94
91
  settings: {
95
92
  min_stay_type: string;
96
93
  allow_availability_autoupdate: boolean;
@@ -103,6 +100,9 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
103
100
  max_price?: number | null | undefined;
104
101
  min_price?: number | null | undefined;
105
102
  };
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;
@@ -134,9 +134,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
134
134
  title: string;
135
135
  currency: string;
136
136
  country: string;
137
- city: string;
138
- timezone: string;
139
- min_stay_type: string;
140
137
  settings: {
141
138
  min_stay_type: string;
142
139
  allow_availability_autoupdate: boolean;
@@ -149,6 +146,9 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
149
146
  max_price?: number | null | undefined;
150
147
  min_price?: number | null | undefined;
151
148
  };
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;
@@ -385,9 +385,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
385
385
  title: string;
386
386
  currency: string;
387
387
  country: string;
388
- city: string;
389
- timezone: string;
390
- min_stay_type: string;
391
388
  settings: {
392
389
  min_stay_type: string;
393
390
  allow_availability_autoupdate: boolean;
@@ -400,6 +397,9 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
400
397
  max_price?: number | null | undefined;
401
398
  min_price?: number | null | undefined;
402
399
  };
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;
@@ -470,9 +470,6 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
470
470
  title: string;
471
471
  currency: string;
472
472
  country: string;
473
- city: string;
474
- timezone: string;
475
- min_stay_type: string;
476
473
  settings: {
477
474
  min_stay_type: string;
478
475
  allow_availability_autoupdate: boolean;
@@ -485,6 +482,9 @@ export declare const ChannexPropertySchema: import("zod").ZodObject<{
485
482
  max_price?: number | null | undefined;
486
483
  min_price?: number | null | undefined;
487
484
  };
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;
@@ -70,7 +70,7 @@ export declare const PaymentProvidersSchema: import("zod").ZodObject<{
70
70
  status: import("zod").ZodString;
71
71
  accountName: import("zod").ZodString;
72
72
  defaultCurrency: import("zod").ZodString;
73
- syncedAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
73
+ syncedAt: import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>;
74
74
  payload: import("zod").ZodObject<{
75
75
  id: import("zod").ZodString;
76
76
  livemode: import("zod").ZodBoolean;
@@ -80,46 +80,46 @@ export declare const PaymentProvidersSchema: import("zod").ZodObject<{
80
80
  scope: import("zod").ZodString;
81
81
  }, "strip", import("zod").ZodTypeAny, {
82
82
  id: string;
83
- livemode: boolean;
83
+ scope: string;
84
84
  token_type: string;
85
+ livemode: boolean;
85
86
  stripe_publishable_key: string;
86
87
  stripe_user_id: string;
87
- scope: string;
88
88
  }, {
89
89
  id: string;
90
- livemode: boolean;
90
+ scope: string;
91
91
  token_type: string;
92
+ livemode: boolean;
92
93
  stripe_publishable_key: string;
93
94
  stripe_user_id: string;
94
- scope: string;
95
95
  }>;
96
96
  }, "strip", import("zod").ZodTypeAny, {
97
97
  active: boolean;
98
98
  status: string;
99
99
  accountName: string;
100
100
  defaultCurrency: string;
101
- syncedAt: import("@firebase/firestore").Timestamp;
101
+ syncedAt: FirebaseFirestore.Timestamp;
102
102
  payload: {
103
103
  id: string;
104
- livemode: boolean;
104
+ scope: string;
105
105
  token_type: string;
106
+ livemode: boolean;
106
107
  stripe_publishable_key: string;
107
108
  stripe_user_id: string;
108
- scope: string;
109
109
  };
110
110
  }, {
111
111
  active: boolean;
112
112
  status: string;
113
113
  accountName: string;
114
114
  defaultCurrency: string;
115
- syncedAt: import("@firebase/firestore").Timestamp;
115
+ syncedAt: FirebaseFirestore.Timestamp;
116
116
  payload: {
117
117
  id: string;
118
- livemode: boolean;
118
+ scope: string;
119
119
  token_type: string;
120
+ livemode: boolean;
120
121
  stripe_publishable_key: string;
121
122
  stripe_user_id: string;
122
- scope: string;
123
123
  };
124
124
  }>;
125
125
  }, "strip", import("zod").ZodTypeAny, {
@@ -128,14 +128,14 @@ export declare const PaymentProvidersSchema: import("zod").ZodObject<{
128
128
  status: string;
129
129
  accountName: string;
130
130
  defaultCurrency: string;
131
- syncedAt: import("@firebase/firestore").Timestamp;
131
+ syncedAt: FirebaseFirestore.Timestamp;
132
132
  payload: {
133
133
  id: string;
134
- livemode: boolean;
134
+ scope: string;
135
135
  token_type: string;
136
+ livemode: boolean;
136
137
  stripe_publishable_key: string;
137
138
  stripe_user_id: string;
138
- scope: string;
139
139
  };
140
140
  };
141
141
  }, {
@@ -144,14 +144,14 @@ export declare const PaymentProvidersSchema: import("zod").ZodObject<{
144
144
  status: string;
145
145
  accountName: string;
146
146
  defaultCurrency: string;
147
- syncedAt: import("@firebase/firestore").Timestamp;
147
+ syncedAt: FirebaseFirestore.Timestamp;
148
148
  payload: {
149
149
  id: string;
150
- livemode: boolean;
150
+ scope: string;
151
151
  token_type: string;
152
+ livemode: boolean;
152
153
  stripe_publishable_key: string;
153
154
  stripe_user_id: string;
154
- scope: string;
155
155
  };
156
156
  };
157
157
  }>;
@@ -169,7 +169,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
169
169
  }>;
170
170
  guestyId: import("zod").ZodOptional<import("zod").ZodString>;
171
171
  accountId: import("zod").ZodOptional<import("zod").ZodString>;
172
- createdAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
172
+ createdAt: import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>;
173
173
  isVirtual: import("zod").ZodOptional<import("zod").ZodBoolean>;
174
174
  isListed: import("zod").ZodBoolean;
175
175
  title: import("zod").ZodOptional<import("zod").ZodString>;
@@ -351,7 +351,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
351
351
  status: import("zod").ZodString;
352
352
  accountName: import("zod").ZodString;
353
353
  defaultCurrency: import("zod").ZodString;
354
- syncedAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
354
+ syncedAt: import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>;
355
355
  payload: import("zod").ZodObject<{
356
356
  id: import("zod").ZodString;
357
357
  livemode: import("zod").ZodBoolean;
@@ -361,46 +361,46 @@ export declare const ListingSchema: import("zod").ZodObject<{
361
361
  scope: import("zod").ZodString;
362
362
  }, "strip", import("zod").ZodTypeAny, {
363
363
  id: string;
364
- livemode: boolean;
364
+ scope: string;
365
365
  token_type: string;
366
+ livemode: boolean;
366
367
  stripe_publishable_key: string;
367
368
  stripe_user_id: string;
368
- scope: string;
369
369
  }, {
370
370
  id: string;
371
- livemode: boolean;
371
+ scope: string;
372
372
  token_type: string;
373
+ livemode: boolean;
373
374
  stripe_publishable_key: string;
374
375
  stripe_user_id: string;
375
- scope: string;
376
376
  }>;
377
377
  }, "strip", import("zod").ZodTypeAny, {
378
378
  active: boolean;
379
379
  status: string;
380
380
  accountName: string;
381
381
  defaultCurrency: string;
382
- syncedAt: import("@firebase/firestore").Timestamp;
382
+ syncedAt: FirebaseFirestore.Timestamp;
383
383
  payload: {
384
384
  id: string;
385
- livemode: boolean;
385
+ scope: string;
386
386
  token_type: string;
387
+ livemode: boolean;
387
388
  stripe_publishable_key: string;
388
389
  stripe_user_id: string;
389
- scope: string;
390
390
  };
391
391
  }, {
392
392
  active: boolean;
393
393
  status: string;
394
394
  accountName: string;
395
395
  defaultCurrency: string;
396
- syncedAt: import("@firebase/firestore").Timestamp;
396
+ syncedAt: FirebaseFirestore.Timestamp;
397
397
  payload: {
398
398
  id: string;
399
- livemode: boolean;
399
+ scope: string;
400
400
  token_type: string;
401
+ livemode: boolean;
401
402
  stripe_publishable_key: string;
402
403
  stripe_user_id: string;
403
- scope: string;
404
404
  };
405
405
  }>;
406
406
  }, "strip", import("zod").ZodTypeAny, {
@@ -409,14 +409,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
409
409
  status: string;
410
410
  accountName: string;
411
411
  defaultCurrency: string;
412
- syncedAt: import("@firebase/firestore").Timestamp;
412
+ syncedAt: FirebaseFirestore.Timestamp;
413
413
  payload: {
414
414
  id: string;
415
- livemode: boolean;
415
+ scope: string;
416
416
  token_type: string;
417
+ livemode: boolean;
417
418
  stripe_publishable_key: string;
418
419
  stripe_user_id: string;
419
- scope: string;
420
420
  };
421
421
  };
422
422
  }, {
@@ -425,14 +425,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
425
425
  status: string;
426
426
  accountName: string;
427
427
  defaultCurrency: string;
428
- syncedAt: import("@firebase/firestore").Timestamp;
428
+ syncedAt: FirebaseFirestore.Timestamp;
429
429
  payload: {
430
430
  id: string;
431
- livemode: boolean;
431
+ scope: string;
432
432
  token_type: string;
433
+ livemode: boolean;
433
434
  stripe_publishable_key: string;
434
435
  stripe_user_id: string;
435
- scope: string;
436
436
  };
437
437
  };
438
438
  }>;
@@ -444,14 +444,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
444
444
  status: string;
445
445
  accountName: string;
446
446
  defaultCurrency: string;
447
- syncedAt: import("@firebase/firestore").Timestamp;
447
+ syncedAt: FirebaseFirestore.Timestamp;
448
448
  payload: {
449
449
  id: string;
450
- livemode: boolean;
450
+ scope: string;
451
451
  token_type: string;
452
+ livemode: boolean;
452
453
  stripe_publishable_key: string;
453
454
  stripe_user_id: string;
454
- scope: string;
455
455
  };
456
456
  };
457
457
  };
@@ -463,14 +463,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
463
463
  status: string;
464
464
  accountName: string;
465
465
  defaultCurrency: string;
466
- syncedAt: import("@firebase/firestore").Timestamp;
466
+ syncedAt: FirebaseFirestore.Timestamp;
467
467
  payload: {
468
468
  id: string;
469
- livemode: boolean;
469
+ scope: string;
470
470
  token_type: string;
471
+ livemode: boolean;
471
472
  stripe_publishable_key: string;
472
473
  stripe_user_id: string;
473
- scope: string;
474
474
  };
475
475
  };
476
476
  };
@@ -519,7 +519,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
519
519
  zipcode?: string | undefined;
520
520
  };
521
521
  active: boolean;
522
- createdAt: import("@firebase/firestore").Timestamp;
522
+ createdAt: FirebaseFirestore.Timestamp;
523
523
  pictures: {
524
524
  height?: number | undefined;
525
525
  width?: number | undefined;
@@ -602,14 +602,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
602
602
  status: string;
603
603
  accountName: string;
604
604
  defaultCurrency: string;
605
- syncedAt: import("@firebase/firestore").Timestamp;
605
+ syncedAt: FirebaseFirestore.Timestamp;
606
606
  payload: {
607
607
  id: string;
608
- livemode: boolean;
608
+ scope: string;
609
609
  token_type: string;
610
+ livemode: boolean;
610
611
  stripe_publishable_key: string;
611
612
  stripe_user_id: string;
612
- scope: string;
613
613
  };
614
614
  };
615
615
  };
@@ -643,7 +643,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
643
643
  zipcode?: string | undefined;
644
644
  };
645
645
  active: boolean;
646
- createdAt: import("@firebase/firestore").Timestamp;
646
+ createdAt: FirebaseFirestore.Timestamp;
647
647
  pictures: {
648
648
  height?: number | undefined;
649
649
  width?: number | undefined;
@@ -726,14 +726,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
726
726
  status: string;
727
727
  accountName: string;
728
728
  defaultCurrency: string;
729
- syncedAt: import("@firebase/firestore").Timestamp;
729
+ syncedAt: FirebaseFirestore.Timestamp;
730
730
  payload: {
731
731
  id: string;
732
- livemode: boolean;
732
+ scope: string;
733
733
  token_type: string;
734
+ livemode: boolean;
734
735
  stripe_publishable_key: string;
735
736
  stripe_user_id: string;
736
- scope: string;
737
737
  };
738
738
  };
739
739
  };
@@ -1,10 +1,10 @@
1
1
  export declare const ReservationSchema: import("zod").ZodObject<{
2
2
  id: import("zod").ZodString;
3
- createdAt: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
3
+ createdAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
4
4
  externalId: import("zod").ZodOptional<import("zod").ZodString>;
5
5
  channexId: import("zod").ZodOptional<import("zod").ZodString>;
6
- checkIn: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
7
- checkOut: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
6
+ checkIn: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
7
+ checkOut: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
8
8
  status: import("zod").ZodOptional<import("zod").ZodString>;
9
9
  statusDescription: import("zod").ZodOptional<import("zod").ZodString>;
10
10
  guest: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -44,22 +44,22 @@ export declare const ReservationSchema: import("zod").ZodObject<{
44
44
  }>>;
45
45
  klevio: import("zod").ZodOptional<import("zod").ZodObject<{
46
46
  keyId: import("zod").ZodOptional<import("zod").ZodString>;
47
- from: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
48
- to: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
47
+ from: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
48
+ to: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
49
49
  keyholderId: import("zod").ZodOptional<import("zod").ZodString>;
50
50
  keyholderEmail: import("zod").ZodOptional<import("zod").ZodString>;
51
51
  propertyId: import("zod").ZodOptional<import("zod").ZodString>;
52
52
  }, "strip", import("zod").ZodTypeAny, {
53
+ from?: FirebaseFirestore.Timestamp | undefined;
53
54
  keyId?: string | undefined;
54
- from?: import("@firebase/firestore").Timestamp | undefined;
55
- to?: import("@firebase/firestore").Timestamp | undefined;
55
+ to?: FirebaseFirestore.Timestamp | undefined;
56
56
  keyholderId?: string | undefined;
57
57
  keyholderEmail?: string | undefined;
58
58
  propertyId?: string | undefined;
59
59
  }, {
60
+ from?: FirebaseFirestore.Timestamp | undefined;
60
61
  keyId?: string | undefined;
61
- from?: import("@firebase/firestore").Timestamp | undefined;
62
- to?: import("@firebase/firestore").Timestamp | undefined;
62
+ to?: FirebaseFirestore.Timestamp | undefined;
63
63
  keyholderId?: string | undefined;
64
64
  keyholderEmail?: string | undefined;
65
65
  propertyId?: string | undefined;
@@ -84,11 +84,11 @@ export declare const ReservationSchema: import("zod").ZodObject<{
84
84
  } | undefined;
85
85
  children?: number | undefined;
86
86
  status?: string | undefined;
87
- createdAt?: import("@firebase/firestore").Timestamp | undefined;
87
+ createdAt?: FirebaseFirestore.Timestamp | undefined;
88
88
  externalId?: string | undefined;
89
89
  channexId?: string | undefined;
90
- checkIn?: import("@firebase/firestore").Timestamp | undefined;
91
- checkOut?: import("@firebase/firestore").Timestamp | undefined;
90
+ checkIn?: FirebaseFirestore.Timestamp | undefined;
91
+ checkOut?: FirebaseFirestore.Timestamp | undefined;
92
92
  statusDescription?: string | undefined;
93
93
  guest?: {
94
94
  id?: string | undefined;
@@ -98,9 +98,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
98
98
  ids?: string[] | undefined;
99
99
  } | undefined;
100
100
  klevio?: {
101
+ from?: FirebaseFirestore.Timestamp | undefined;
101
102
  keyId?: string | undefined;
102
- from?: import("@firebase/firestore").Timestamp | undefined;
103
- to?: import("@firebase/firestore").Timestamp | undefined;
103
+ to?: FirebaseFirestore.Timestamp | undefined;
104
104
  keyholderId?: string | undefined;
105
105
  keyholderEmail?: string | undefined;
106
106
  propertyId?: string | undefined;
@@ -122,11 +122,11 @@ export declare const ReservationSchema: import("zod").ZodObject<{
122
122
  } | undefined;
123
123
  children?: number | undefined;
124
124
  status?: string | undefined;
125
- createdAt?: import("@firebase/firestore").Timestamp | undefined;
125
+ createdAt?: FirebaseFirestore.Timestamp | undefined;
126
126
  externalId?: string | undefined;
127
127
  channexId?: string | undefined;
128
- checkIn?: import("@firebase/firestore").Timestamp | undefined;
129
- checkOut?: import("@firebase/firestore").Timestamp | undefined;
128
+ checkIn?: FirebaseFirestore.Timestamp | undefined;
129
+ checkOut?: FirebaseFirestore.Timestamp | undefined;
130
130
  statusDescription?: string | undefined;
131
131
  guest?: {
132
132
  id?: string | undefined;
@@ -136,9 +136,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
136
136
  ids?: string[] | undefined;
137
137
  } | undefined;
138
138
  klevio?: {
139
+ from?: FirebaseFirestore.Timestamp | undefined;
139
140
  keyId?: string | undefined;
140
- from?: import("@firebase/firestore").Timestamp | undefined;
141
- to?: import("@firebase/firestore").Timestamp | undefined;
141
+ to?: FirebaseFirestore.Timestamp | undefined;
142
142
  keyholderId?: string | undefined;
143
143
  keyholderEmail?: string | undefined;
144
144
  propertyId?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  export declare const ChatMessageSchema: import("zod").ZodObject<{
2
2
  id: import("zod").ZodString;
3
- createdAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
3
+ createdAt: import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>;
4
4
  threadId: import("zod").ZodString;
5
5
  authorId: import("zod").ZodString;
6
6
  author: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -153,18 +153,18 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
153
153
  }>>;
154
154
  contentType: import("zod").ZodString;
155
155
  body: import("zod").ZodString;
156
- seen: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
157
- lastSeen: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
156
+ seen: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
157
+ lastSeen: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
158
158
  source: import("zod").ZodOptional<import("zod").ZodString>;
159
159
  externalMessageId: import("zod").ZodOptional<import("zod").ZodString>;
160
160
  }, "strip", import("zod").ZodTypeAny, {
161
161
  id: string;
162
162
  body: string;
163
- createdAt: import("@firebase/firestore").Timestamp;
163
+ createdAt: FirebaseFirestore.Timestamp;
164
164
  threadId: string;
165
165
  authorId: string;
166
166
  contentType: string;
167
- seen: Record<string, import("@firebase/firestore").Timestamp>;
167
+ seen: Record<string, FirebaseFirestore.Timestamp>;
168
168
  source?: string | undefined;
169
169
  author?: {
170
170
  id: string;
@@ -196,16 +196,16 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
196
196
  klevioId?: string | undefined;
197
197
  favorites?: string[] | undefined;
198
198
  } | undefined;
199
- lastSeen?: import("@firebase/firestore").Timestamp | undefined;
199
+ lastSeen?: FirebaseFirestore.Timestamp | undefined;
200
200
  externalMessageId?: string | undefined;
201
201
  }, {
202
202
  id: string;
203
203
  body: string;
204
- createdAt: import("@firebase/firestore").Timestamp;
204
+ createdAt: FirebaseFirestore.Timestamp;
205
205
  threadId: string;
206
206
  authorId: string;
207
207
  contentType: string;
208
- seen: Record<string, import("@firebase/firestore").Timestamp>;
208
+ seen: Record<string, FirebaseFirestore.Timestamp>;
209
209
  source?: string | undefined;
210
210
  author?: {
211
211
  id: string;
@@ -237,16 +237,16 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
237
237
  klevioId?: string | undefined;
238
238
  favorites?: string[] | undefined;
239
239
  } | undefined;
240
- lastSeen?: import("@firebase/firestore").Timestamp | undefined;
240
+ lastSeen?: FirebaseFirestore.Timestamp | undefined;
241
241
  externalMessageId?: string | undefined;
242
242
  }>;
243
243
  export declare const ChatThreadSchema: import("zod").ZodObject<{
244
244
  id: import("zod").ZodOptional<import("zod").ZodString>;
245
- createdAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
246
- updatedAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
245
+ createdAt: import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>;
246
+ updatedAt: import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>;
247
247
  lastMessage: import("zod").ZodOptional<import("zod").ZodObject<{
248
248
  id: import("zod").ZodString;
249
- createdAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
249
+ createdAt: import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>;
250
250
  threadId: import("zod").ZodString;
251
251
  authorId: import("zod").ZodString;
252
252
  author: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -399,18 +399,18 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
399
399
  }>>;
400
400
  contentType: import("zod").ZodString;
401
401
  body: import("zod").ZodString;
402
- seen: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
403
- lastSeen: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
402
+ seen: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
403
+ lastSeen: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
404
404
  source: import("zod").ZodOptional<import("zod").ZodString>;
405
405
  externalMessageId: import("zod").ZodOptional<import("zod").ZodString>;
406
406
  }, "strip", import("zod").ZodTypeAny, {
407
407
  id: string;
408
408
  body: string;
409
- createdAt: import("@firebase/firestore").Timestamp;
409
+ createdAt: FirebaseFirestore.Timestamp;
410
410
  threadId: string;
411
411
  authorId: string;
412
412
  contentType: string;
413
- seen: Record<string, import("@firebase/firestore").Timestamp>;
413
+ seen: Record<string, FirebaseFirestore.Timestamp>;
414
414
  source?: string | undefined;
415
415
  author?: {
416
416
  id: string;
@@ -442,16 +442,16 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
442
442
  klevioId?: string | undefined;
443
443
  favorites?: string[] | undefined;
444
444
  } | undefined;
445
- lastSeen?: import("@firebase/firestore").Timestamp | undefined;
445
+ lastSeen?: FirebaseFirestore.Timestamp | undefined;
446
446
  externalMessageId?: string | undefined;
447
447
  }, {
448
448
  id: string;
449
449
  body: string;
450
- createdAt: import("@firebase/firestore").Timestamp;
450
+ createdAt: FirebaseFirestore.Timestamp;
451
451
  threadId: string;
452
452
  authorId: string;
453
453
  contentType: string;
454
- seen: Record<string, import("@firebase/firestore").Timestamp>;
454
+ seen: Record<string, FirebaseFirestore.Timestamp>;
455
455
  source?: string | undefined;
456
456
  author?: {
457
457
  id: string;
@@ -483,7 +483,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
483
483
  klevioId?: string | undefined;
484
484
  favorites?: string[] | undefined;
485
485
  } | undefined;
486
- lastSeen?: import("@firebase/firestore").Timestamp | undefined;
486
+ lastSeen?: FirebaseFirestore.Timestamp | undefined;
487
487
  externalMessageId?: string | undefined;
488
488
  }>>;
489
489
  participantIds: import("zod").ZodArray<import("zod").ZodString, "many">;
@@ -642,8 +642,8 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
642
642
  title: import("zod").ZodOptional<import("zod").ZodString>;
643
643
  }, "strip", import("zod").ZodTypeAny, {
644
644
  type: "ONE_TO_ONE" | "GROUP";
645
- createdAt: import("@firebase/firestore").Timestamp;
646
- updatedAt: import("@firebase/firestore").Timestamp;
645
+ createdAt: FirebaseFirestore.Timestamp;
646
+ updatedAt: FirebaseFirestore.Timestamp;
647
647
  participantIds: string[];
648
648
  id?: string | undefined;
649
649
  source?: string | undefined;
@@ -651,11 +651,11 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
651
651
  lastMessage?: {
652
652
  id: string;
653
653
  body: string;
654
- createdAt: import("@firebase/firestore").Timestamp;
654
+ createdAt: FirebaseFirestore.Timestamp;
655
655
  threadId: string;
656
656
  authorId: string;
657
657
  contentType: string;
658
- seen: Record<string, import("@firebase/firestore").Timestamp>;
658
+ seen: Record<string, FirebaseFirestore.Timestamp>;
659
659
  source?: string | undefined;
660
660
  author?: {
661
661
  id: string;
@@ -687,7 +687,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
687
687
  klevioId?: string | undefined;
688
688
  favorites?: string[] | undefined;
689
689
  } | undefined;
690
- lastSeen?: import("@firebase/firestore").Timestamp | undefined;
690
+ lastSeen?: FirebaseFirestore.Timestamp | undefined;
691
691
  externalMessageId?: string | undefined;
692
692
  } | undefined;
693
693
  participants?: {
@@ -724,8 +724,8 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
724
724
  externalSource?: string | undefined;
725
725
  }, {
726
726
  type: "ONE_TO_ONE" | "GROUP";
727
- createdAt: import("@firebase/firestore").Timestamp;
728
- updatedAt: import("@firebase/firestore").Timestamp;
727
+ createdAt: FirebaseFirestore.Timestamp;
728
+ updatedAt: FirebaseFirestore.Timestamp;
729
729
  participantIds: string[];
730
730
  id?: string | undefined;
731
731
  source?: string | undefined;
@@ -733,11 +733,11 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
733
733
  lastMessage?: {
734
734
  id: string;
735
735
  body: string;
736
- createdAt: import("@firebase/firestore").Timestamp;
736
+ createdAt: FirebaseFirestore.Timestamp;
737
737
  threadId: string;
738
738
  authorId: string;
739
739
  contentType: string;
740
- seen: Record<string, import("@firebase/firestore").Timestamp>;
740
+ seen: Record<string, FirebaseFirestore.Timestamp>;
741
741
  source?: string | undefined;
742
742
  author?: {
743
743
  id: string;
@@ -769,7 +769,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
769
769
  klevioId?: string | undefined;
770
770
  favorites?: string[] | undefined;
771
771
  } | undefined;
772
- lastSeen?: import("@firebase/firestore").Timestamp | undefined;
772
+ lastSeen?: FirebaseFirestore.Timestamp | undefined;
773
773
  externalMessageId?: string | undefined;
774
774
  } | undefined;
775
775
  participants?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -19,6 +19,7 @@
19
19
  "@firebase/firestore": "^4.4.0",
20
20
  "@firebase/firestore-types": "^3.0.0",
21
21
  "@firebase/util": "^1.5.1",
22
+ "firebase-admin": "^12.5.0",
22
23
  "hububb-models": "^1.0.72",
23
24
  "lodash": "^4.17.21",
24
25
  "moment": "^2.29.4",