hububb-models 1.0.105 → 1.0.106

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,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<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
3
+ createdAt: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").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<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
7
- checkOut: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
6
+ checkIn: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
7
+ checkOut: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").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<{
@@ -17,17 +17,17 @@ export declare const ReservationSchema: import("zod").ZodObject<{
17
17
  }, "strip", import("zod").ZodTypeAny, {
18
18
  id?: string | undefined;
19
19
  email?: string | undefined;
20
+ phone?: string | undefined;
20
21
  fullName?: string | undefined;
21
22
  externalId?: string | undefined;
22
23
  ids?: string[] | undefined;
23
- phone?: string | undefined;
24
24
  }, {
25
25
  id?: string | undefined;
26
26
  email?: string | undefined;
27
+ phone?: string | undefined;
27
28
  fullName?: string | undefined;
28
29
  externalId?: string | undefined;
29
30
  ids?: string[] | undefined;
30
- phone?: string | undefined;
31
31
  }>>;
32
32
  listing: import("zod").ZodOptional<import("zod").ZodObject<{
33
33
  id: import("zod").ZodOptional<import("zod").ZodString>;
@@ -47,22 +47,22 @@ export declare const ReservationSchema: import("zod").ZodObject<{
47
47
  }>>;
48
48
  klevio: import("zod").ZodOptional<import("zod").ZodObject<{
49
49
  keyId: import("zod").ZodOptional<import("zod").ZodString>;
50
- from: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
51
- to: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
50
+ from: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
51
+ to: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
52
52
  keyholderId: import("zod").ZodOptional<import("zod").ZodString>;
53
53
  keyholderEmail: import("zod").ZodOptional<import("zod").ZodString>;
54
54
  propertyId: import("zod").ZodOptional<import("zod").ZodString>;
55
55
  }, "strip", import("zod").ZodTypeAny, {
56
- from?: FirebaseFirestore.Timestamp | undefined;
57
56
  keyId?: string | undefined;
58
- to?: FirebaseFirestore.Timestamp | undefined;
57
+ from?: import("@firebase/firestore-types").Timestamp | undefined;
58
+ to?: import("@firebase/firestore-types").Timestamp | undefined;
59
59
  keyholderId?: string | undefined;
60
60
  keyholderEmail?: string | undefined;
61
61
  propertyId?: string | undefined;
62
62
  }, {
63
- from?: FirebaseFirestore.Timestamp | undefined;
64
63
  keyId?: string | undefined;
65
- to?: FirebaseFirestore.Timestamp | undefined;
64
+ from?: import("@firebase/firestore-types").Timestamp | undefined;
65
+ to?: import("@firebase/firestore-types").Timestamp | undefined;
66
66
  keyholderId?: string | undefined;
67
67
  keyholderEmail?: string | undefined;
68
68
  propertyId?: string | undefined;
@@ -87,24 +87,24 @@ export declare const ReservationSchema: import("zod").ZodObject<{
87
87
  } | undefined;
88
88
  children?: number | undefined;
89
89
  status?: string | undefined;
90
- createdAt?: FirebaseFirestore.Timestamp | undefined;
90
+ createdAt?: import("@firebase/firestore-types").Timestamp | undefined;
91
91
  externalId?: string | undefined;
92
92
  channexId?: string | undefined;
93
- checkIn?: FirebaseFirestore.Timestamp | undefined;
94
- checkOut?: FirebaseFirestore.Timestamp | undefined;
93
+ checkIn?: import("@firebase/firestore-types").Timestamp | undefined;
94
+ checkOut?: import("@firebase/firestore-types").Timestamp | undefined;
95
95
  statusDescription?: string | undefined;
96
96
  guest?: {
97
97
  id?: string | undefined;
98
98
  email?: string | undefined;
99
+ phone?: string | undefined;
99
100
  fullName?: string | undefined;
100
101
  externalId?: string | undefined;
101
102
  ids?: string[] | undefined;
102
- phone?: string | undefined;
103
103
  } | undefined;
104
104
  klevio?: {
105
- from?: FirebaseFirestore.Timestamp | undefined;
106
105
  keyId?: string | undefined;
107
- to?: FirebaseFirestore.Timestamp | undefined;
106
+ from?: import("@firebase/firestore-types").Timestamp | undefined;
107
+ to?: import("@firebase/firestore-types").Timestamp | undefined;
108
108
  keyholderId?: string | undefined;
109
109
  keyholderEmail?: string | undefined;
110
110
  propertyId?: string | undefined;
@@ -126,24 +126,24 @@ export declare const ReservationSchema: import("zod").ZodObject<{
126
126
  } | undefined;
127
127
  children?: number | undefined;
128
128
  status?: string | undefined;
129
- createdAt?: FirebaseFirestore.Timestamp | undefined;
129
+ createdAt?: import("@firebase/firestore-types").Timestamp | undefined;
130
130
  externalId?: string | undefined;
131
131
  channexId?: string | undefined;
132
- checkIn?: FirebaseFirestore.Timestamp | undefined;
133
- checkOut?: FirebaseFirestore.Timestamp | undefined;
132
+ checkIn?: import("@firebase/firestore-types").Timestamp | undefined;
133
+ checkOut?: import("@firebase/firestore-types").Timestamp | undefined;
134
134
  statusDescription?: string | undefined;
135
135
  guest?: {
136
136
  id?: string | undefined;
137
137
  email?: string | undefined;
138
+ phone?: string | undefined;
138
139
  fullName?: string | undefined;
139
140
  externalId?: string | undefined;
140
141
  ids?: string[] | undefined;
141
- phone?: string | undefined;
142
142
  } | undefined;
143
143
  klevio?: {
144
- from?: FirebaseFirestore.Timestamp | undefined;
145
144
  keyId?: string | undefined;
146
- to?: FirebaseFirestore.Timestamp | undefined;
145
+ from?: import("@firebase/firestore-types").Timestamp | undefined;
146
+ to?: import("@firebase/firestore-types").Timestamp | undefined;
147
147
  keyholderId?: string | undefined;
148
148
  keyholderEmail?: string | undefined;
149
149
  propertyId?: string | undefined;
@@ -162,14 +162,14 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
162
162
  phone: import("zod").ZodString;
163
163
  }, "strip", import("zod").ZodTypeAny, {
164
164
  email: string;
165
+ phone: string;
165
166
  firstName: string;
166
167
  lastName: string;
167
- phone: string;
168
168
  }, {
169
169
  email: string;
170
+ phone: string;
170
171
  firstName: string;
171
172
  lastName: string;
172
- phone: string;
173
173
  }>;
174
174
  reservations: import("zod").ZodArray<import("zod").ZodObject<{
175
175
  arrival: import("zod").ZodString;
@@ -183,14 +183,14 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
183
183
  phone: import("zod").ZodString;
184
184
  }, "strip", import("zod").ZodTypeAny, {
185
185
  email: string;
186
+ phone: string;
186
187
  firstName: string;
187
188
  lastName: string;
188
- phone: string;
189
189
  }, {
190
190
  email: string;
191
+ phone: string;
191
192
  firstName: string;
192
193
  lastName: string;
193
- phone: string;
194
194
  }>;
195
195
  guarenteeType: import("zod").ZodLiteral<"Prepayment">;
196
196
  timeSlices: import("zod").ZodArray<import("zod").ZodObject<{
@@ -215,18 +215,18 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
215
215
  }>>;
216
216
  }, "strip", import("zod").ZodTypeAny, {
217
217
  serviceId: string;
218
- count?: number | undefined;
219
218
  amount?: {
220
219
  currency: string;
221
220
  amount: number;
222
221
  } | undefined;
222
+ count?: number | undefined;
223
223
  }, {
224
224
  serviceId: string;
225
- count?: number | undefined;
226
225
  amount?: {
227
226
  currency: string;
228
227
  amount: number;
229
228
  } | undefined;
229
+ count?: number | undefined;
230
230
  }>, "many">>;
231
231
  prePaymentAmount: import("zod").ZodObject<{
232
232
  amount: import("zod").ZodNumber;
@@ -245,9 +245,9 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
245
245
  channelCode: "Direct";
246
246
  primaryGuest: {
247
247
  email: string;
248
+ phone: string;
248
249
  firstName: string;
249
250
  lastName: string;
250
- phone: string;
251
251
  };
252
252
  guarenteeType: "Prepayment";
253
253
  timeSlices: [{
@@ -261,11 +261,11 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
261
261
  };
262
262
  services?: {
263
263
  serviceId: string;
264
- count?: number | undefined;
265
264
  amount?: {
266
265
  currency: string;
267
266
  amount: number;
268
267
  } | undefined;
268
+ count?: number | undefined;
269
269
  }[] | undefined;
270
270
  }, {
271
271
  adults: number;
@@ -274,9 +274,9 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
274
274
  channelCode: "Direct";
275
275
  primaryGuest: {
276
276
  email: string;
277
+ phone: string;
277
278
  firstName: string;
278
279
  lastName: string;
279
- phone: string;
280
280
  };
281
281
  guarenteeType: "Prepayment";
282
282
  timeSlices: [{
@@ -290,20 +290,20 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
290
290
  };
291
291
  services?: {
292
292
  serviceId: string;
293
- count?: number | undefined;
294
293
  amount?: {
295
294
  currency: string;
296
295
  amount: number;
297
296
  } | undefined;
297
+ count?: number | undefined;
298
298
  }[] | undefined;
299
299
  }>, "many">;
300
300
  transactionReference: import("zod").ZodString;
301
301
  }, "strip", import("zod").ZodTypeAny, {
302
302
  booker: {
303
303
  email: string;
304
+ phone: string;
304
305
  firstName: string;
305
306
  lastName: string;
306
- phone: string;
307
307
  };
308
308
  reservations: {
309
309
  adults: number;
@@ -312,9 +312,9 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
312
312
  channelCode: "Direct";
313
313
  primaryGuest: {
314
314
  email: string;
315
+ phone: string;
315
316
  firstName: string;
316
317
  lastName: string;
317
- phone: string;
318
318
  };
319
319
  guarenteeType: "Prepayment";
320
320
  timeSlices: [{
@@ -328,20 +328,20 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
328
328
  };
329
329
  services?: {
330
330
  serviceId: string;
331
- count?: number | undefined;
332
331
  amount?: {
333
332
  currency: string;
334
333
  amount: number;
335
334
  } | undefined;
335
+ count?: number | undefined;
336
336
  }[] | undefined;
337
337
  }[];
338
338
  transactionReference: string;
339
339
  }, {
340
340
  booker: {
341
341
  email: string;
342
+ phone: string;
342
343
  firstName: string;
343
344
  lastName: string;
344
- phone: string;
345
345
  };
346
346
  reservations: {
347
347
  adults: number;
@@ -350,9 +350,9 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
350
350
  channelCode: "Direct";
351
351
  primaryGuest: {
352
352
  email: string;
353
+ phone: string;
353
354
  firstName: string;
354
355
  lastName: string;
355
- phone: string;
356
356
  };
357
357
  guarenteeType: "Prepayment";
358
358
  timeSlices: [{
@@ -366,11 +366,11 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
366
366
  };
367
367
  services?: {
368
368
  serviceId: string;
369
- count?: number | undefined;
370
369
  amount?: {
371
370
  currency: string;
372
371
  amount: number;
373
372
  } | undefined;
373
+ count?: number | undefined;
374
374
  }[] | undefined;
375
375
  }[];
376
376
  transactionReference: string;
@@ -418,14 +418,14 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
418
418
  phone: import("zod").ZodString;
419
419
  }, "strip", import("zod").ZodTypeAny, {
420
420
  email: string;
421
+ phone: string;
421
422
  firstName: string;
422
423
  lastName: string;
423
- phone: string;
424
424
  }, {
425
425
  email: string;
426
+ phone: string;
426
427
  firstName: string;
427
428
  lastName: string;
428
- phone: string;
429
429
  }>;
430
430
  reservation: import("zod").ZodObject<Pick<{
431
431
  arrival: import("zod").ZodString;
@@ -439,14 +439,14 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
439
439
  phone: import("zod").ZodString;
440
440
  }, "strip", import("zod").ZodTypeAny, {
441
441
  email: string;
442
+ phone: string;
442
443
  firstName: string;
443
444
  lastName: string;
444
- phone: string;
445
445
  }, {
446
446
  email: string;
447
+ phone: string;
447
448
  firstName: string;
448
449
  lastName: string;
449
- phone: string;
450
450
  }>;
451
451
  guarenteeType: import("zod").ZodLiteral<"Prepayment">;
452
452
  timeSlices: import("zod").ZodArray<import("zod").ZodObject<{
@@ -471,18 +471,18 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
471
471
  }>>;
472
472
  }, "strip", import("zod").ZodTypeAny, {
473
473
  serviceId: string;
474
- count?: number | undefined;
475
474
  amount?: {
476
475
  currency: string;
477
476
  amount: number;
478
477
  } | undefined;
478
+ count?: number | undefined;
479
479
  }, {
480
480
  serviceId: string;
481
- count?: number | undefined;
482
481
  amount?: {
483
482
  currency: string;
484
483
  amount: number;
485
484
  } | undefined;
485
+ count?: number | undefined;
486
486
  }>, "many">>;
487
487
  prePaymentAmount: import("zod").ZodObject<{
488
488
  amount: import("zod").ZodNumber;
@@ -518,18 +518,18 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
518
518
  }>>;
519
519
  }, "strip", import("zod").ZodTypeAny, {
520
520
  serviceId: string;
521
- count?: number | undefined;
522
521
  amount?: {
523
522
  currency: string;
524
523
  amount: number;
525
524
  } | undefined;
525
+ count?: number | undefined;
526
526
  }, {
527
527
  serviceId: string;
528
- count?: number | undefined;
529
528
  amount?: {
530
529
  currency: string;
531
530
  amount: number;
532
531
  } | undefined;
532
+ count?: number | undefined;
533
533
  }>, "many">>;
534
534
  amount: import("zod").ZodNumber;
535
535
  ratePlanId: import("zod").ZodString;
@@ -539,9 +539,9 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
539
539
  amount: number;
540
540
  booker: {
541
541
  email: string;
542
+ phone: string;
542
543
  firstName: string;
543
544
  lastName: string;
544
- phone: string;
545
545
  };
546
546
  paymentData: {
547
547
  paymentMethod: {
@@ -560,20 +560,20 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
560
560
  userId: string;
561
561
  services?: {
562
562
  serviceId: string;
563
- count?: number | undefined;
564
563
  amount?: {
565
564
  currency: string;
566
565
  amount: number;
567
566
  } | undefined;
567
+ count?: number | undefined;
568
568
  }[] | undefined;
569
569
  }, {
570
570
  ratePlanId: string;
571
571
  amount: number;
572
572
  booker: {
573
573
  email: string;
574
+ phone: string;
574
575
  firstName: string;
575
576
  lastName: string;
576
- phone: string;
577
577
  };
578
578
  paymentData: {
579
579
  paymentMethod: {
@@ -592,10 +592,10 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
592
592
  userId: string;
593
593
  services?: {
594
594
  serviceId: string;
595
- count?: number | undefined;
596
595
  amount?: {
597
596
  currency: string;
598
597
  amount: number;
599
598
  } | undefined;
599
+ count?: number | undefined;
600
600
  }[] | undefined;
601
601
  }>;