hububb-models 1.1.16 → 1.1.18
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.
- package/dist/helpers/index.d.ts +2 -2
- package/dist/helpers/index.js +2 -2
- package/dist/schemas/apaleo/block.d.ts +2 -2
- package/dist/schemas/apaleo/offer.d.ts +20 -20
- package/dist/schemas/apaleo/property.d.ts +2 -2
- package/dist/schemas/apaleo/reservation.d.ts +36 -36
- package/dist/schemas/blog.d.ts +3 -3
- package/dist/schemas/channex/booking.d.ts +4 -4
- package/dist/schemas/channex/property.d.ts +20 -20
- package/dist/schemas/channex/thread.d.ts +2 -2
- package/dist/schemas/listing.d.ts +49 -49
- package/dist/schemas/reservation.d.ts +25 -25
- package/dist/schemas/thread.d.ts +89 -83
- package/dist/schemas/thread.js +2 -0
- package/dist/schemas/user.d.ts +3 -3
- package/package.json +1 -1
@@ -79,7 +79,7 @@ export declare const PaymentProvidersSchema: import("zod").ZodObject<{
|
|
79
79
|
status: import("zod").ZodString;
|
80
80
|
accountName: import("zod").ZodString;
|
81
81
|
defaultCurrency: import("zod").ZodString;
|
82
|
-
syncedAt: import("zod").ZodType<
|
82
|
+
syncedAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
|
83
83
|
payload: import("zod").ZodObject<{
|
84
84
|
id: import("zod").ZodString;
|
85
85
|
livemode: import("zod").ZodBoolean;
|
@@ -89,46 +89,46 @@ export declare const PaymentProvidersSchema: import("zod").ZodObject<{
|
|
89
89
|
scope: import("zod").ZodString;
|
90
90
|
}, "strip", import("zod").ZodTypeAny, {
|
91
91
|
id: string;
|
92
|
-
scope: string;
|
93
|
-
token_type: string;
|
94
92
|
livemode: boolean;
|
93
|
+
token_type: string;
|
95
94
|
stripe_publishable_key: string;
|
96
95
|
stripe_user_id: string;
|
96
|
+
scope: string;
|
97
97
|
}, {
|
98
98
|
id: string;
|
99
|
-
scope: string;
|
100
|
-
token_type: string;
|
101
99
|
livemode: boolean;
|
100
|
+
token_type: string;
|
102
101
|
stripe_publishable_key: string;
|
103
102
|
stripe_user_id: string;
|
103
|
+
scope: string;
|
104
104
|
}>;
|
105
105
|
}, "strip", import("zod").ZodTypeAny, {
|
106
106
|
active: boolean;
|
107
107
|
status: string;
|
108
108
|
accountName: string;
|
109
109
|
defaultCurrency: string;
|
110
|
-
syncedAt:
|
110
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
111
111
|
payload: {
|
112
112
|
id: string;
|
113
|
-
scope: string;
|
114
|
-
token_type: string;
|
115
113
|
livemode: boolean;
|
114
|
+
token_type: string;
|
116
115
|
stripe_publishable_key: string;
|
117
116
|
stripe_user_id: string;
|
117
|
+
scope: string;
|
118
118
|
};
|
119
119
|
}, {
|
120
120
|
active: boolean;
|
121
121
|
status: string;
|
122
122
|
accountName: string;
|
123
123
|
defaultCurrency: string;
|
124
|
-
syncedAt:
|
124
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
125
125
|
payload: {
|
126
126
|
id: string;
|
127
|
-
scope: string;
|
128
|
-
token_type: string;
|
129
127
|
livemode: boolean;
|
128
|
+
token_type: string;
|
130
129
|
stripe_publishable_key: string;
|
131
130
|
stripe_user_id: string;
|
131
|
+
scope: string;
|
132
132
|
};
|
133
133
|
}>;
|
134
134
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -137,14 +137,14 @@ export declare const PaymentProvidersSchema: import("zod").ZodObject<{
|
|
137
137
|
status: string;
|
138
138
|
accountName: string;
|
139
139
|
defaultCurrency: string;
|
140
|
-
syncedAt:
|
140
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
141
141
|
payload: {
|
142
142
|
id: string;
|
143
|
-
scope: string;
|
144
|
-
token_type: string;
|
145
143
|
livemode: boolean;
|
144
|
+
token_type: string;
|
146
145
|
stripe_publishable_key: string;
|
147
146
|
stripe_user_id: string;
|
147
|
+
scope: string;
|
148
148
|
};
|
149
149
|
};
|
150
150
|
}, {
|
@@ -153,14 +153,14 @@ export declare const PaymentProvidersSchema: import("zod").ZodObject<{
|
|
153
153
|
status: string;
|
154
154
|
accountName: string;
|
155
155
|
defaultCurrency: string;
|
156
|
-
syncedAt:
|
156
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
157
157
|
payload: {
|
158
158
|
id: string;
|
159
|
-
scope: string;
|
160
|
-
token_type: string;
|
161
159
|
livemode: boolean;
|
160
|
+
token_type: string;
|
162
161
|
stripe_publishable_key: string;
|
163
162
|
stripe_user_id: string;
|
163
|
+
scope: string;
|
164
164
|
};
|
165
165
|
};
|
166
166
|
}>;
|
@@ -178,7 +178,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
178
178
|
}>;
|
179
179
|
guestyId: import("zod").ZodOptional<import("zod").ZodString>;
|
180
180
|
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
181
|
-
createdAt: import("zod").ZodType<
|
181
|
+
createdAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
|
182
182
|
isVirtual: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
183
183
|
isListed: import("zod").ZodBoolean;
|
184
184
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -372,7 +372,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
372
372
|
status: import("zod").ZodString;
|
373
373
|
accountName: import("zod").ZodString;
|
374
374
|
defaultCurrency: import("zod").ZodString;
|
375
|
-
syncedAt: import("zod").ZodType<
|
375
|
+
syncedAt: import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>;
|
376
376
|
payload: import("zod").ZodObject<{
|
377
377
|
id: import("zod").ZodString;
|
378
378
|
livemode: import("zod").ZodBoolean;
|
@@ -382,46 +382,46 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
382
382
|
scope: import("zod").ZodString;
|
383
383
|
}, "strip", import("zod").ZodTypeAny, {
|
384
384
|
id: string;
|
385
|
-
scope: string;
|
386
|
-
token_type: string;
|
387
385
|
livemode: boolean;
|
386
|
+
token_type: string;
|
388
387
|
stripe_publishable_key: string;
|
389
388
|
stripe_user_id: string;
|
389
|
+
scope: string;
|
390
390
|
}, {
|
391
391
|
id: string;
|
392
|
-
scope: string;
|
393
|
-
token_type: string;
|
394
392
|
livemode: boolean;
|
393
|
+
token_type: string;
|
395
394
|
stripe_publishable_key: string;
|
396
395
|
stripe_user_id: string;
|
396
|
+
scope: string;
|
397
397
|
}>;
|
398
398
|
}, "strip", import("zod").ZodTypeAny, {
|
399
399
|
active: boolean;
|
400
400
|
status: string;
|
401
401
|
accountName: string;
|
402
402
|
defaultCurrency: string;
|
403
|
-
syncedAt:
|
403
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
404
404
|
payload: {
|
405
405
|
id: string;
|
406
|
-
scope: string;
|
407
|
-
token_type: string;
|
408
406
|
livemode: boolean;
|
407
|
+
token_type: string;
|
409
408
|
stripe_publishable_key: string;
|
410
409
|
stripe_user_id: string;
|
410
|
+
scope: string;
|
411
411
|
};
|
412
412
|
}, {
|
413
413
|
active: boolean;
|
414
414
|
status: string;
|
415
415
|
accountName: string;
|
416
416
|
defaultCurrency: string;
|
417
|
-
syncedAt:
|
417
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
418
418
|
payload: {
|
419
419
|
id: string;
|
420
|
-
scope: string;
|
421
|
-
token_type: string;
|
422
420
|
livemode: boolean;
|
421
|
+
token_type: string;
|
423
422
|
stripe_publishable_key: string;
|
424
423
|
stripe_user_id: string;
|
424
|
+
scope: string;
|
425
425
|
};
|
426
426
|
}>;
|
427
427
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -430,14 +430,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
430
430
|
status: string;
|
431
431
|
accountName: string;
|
432
432
|
defaultCurrency: string;
|
433
|
-
syncedAt:
|
433
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
434
434
|
payload: {
|
435
435
|
id: string;
|
436
|
-
scope: string;
|
437
|
-
token_type: string;
|
438
436
|
livemode: boolean;
|
437
|
+
token_type: string;
|
439
438
|
stripe_publishable_key: string;
|
440
439
|
stripe_user_id: string;
|
440
|
+
scope: string;
|
441
441
|
};
|
442
442
|
};
|
443
443
|
}, {
|
@@ -446,14 +446,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
446
446
|
status: string;
|
447
447
|
accountName: string;
|
448
448
|
defaultCurrency: string;
|
449
|
-
syncedAt:
|
449
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
450
450
|
payload: {
|
451
451
|
id: string;
|
452
|
-
scope: string;
|
453
|
-
token_type: string;
|
454
452
|
livemode: boolean;
|
453
|
+
token_type: string;
|
455
454
|
stripe_publishable_key: string;
|
456
455
|
stripe_user_id: string;
|
456
|
+
scope: string;
|
457
457
|
};
|
458
458
|
};
|
459
459
|
}>;
|
@@ -465,14 +465,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
465
465
|
status: string;
|
466
466
|
accountName: string;
|
467
467
|
defaultCurrency: string;
|
468
|
-
syncedAt:
|
468
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
469
469
|
payload: {
|
470
470
|
id: string;
|
471
|
-
scope: string;
|
472
|
-
token_type: string;
|
473
471
|
livemode: boolean;
|
472
|
+
token_type: string;
|
474
473
|
stripe_publishable_key: string;
|
475
474
|
stripe_user_id: string;
|
475
|
+
scope: string;
|
476
476
|
};
|
477
477
|
};
|
478
478
|
};
|
@@ -484,14 +484,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
484
484
|
status: string;
|
485
485
|
accountName: string;
|
486
486
|
defaultCurrency: string;
|
487
|
-
syncedAt:
|
487
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
488
488
|
payload: {
|
489
489
|
id: string;
|
490
|
-
scope: string;
|
491
|
-
token_type: string;
|
492
490
|
livemode: boolean;
|
491
|
+
token_type: string;
|
493
492
|
stripe_publishable_key: string;
|
494
493
|
stripe_user_id: string;
|
494
|
+
scope: string;
|
495
495
|
};
|
496
496
|
};
|
497
497
|
};
|
@@ -567,7 +567,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
567
567
|
addressDescription?: string | undefined;
|
568
568
|
};
|
569
569
|
active: boolean;
|
570
|
-
createdAt:
|
570
|
+
createdAt: import("@firebase/firestore").Timestamp;
|
571
571
|
pictures: {
|
572
572
|
sort?: number | undefined;
|
573
573
|
height?: number | undefined;
|
@@ -660,14 +660,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
660
660
|
status: string;
|
661
661
|
accountName: string;
|
662
662
|
defaultCurrency: string;
|
663
|
-
syncedAt:
|
663
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
664
664
|
payload: {
|
665
665
|
id: string;
|
666
|
-
scope: string;
|
667
|
-
token_type: string;
|
668
666
|
livemode: boolean;
|
667
|
+
token_type: string;
|
669
668
|
stripe_publishable_key: string;
|
670
669
|
stripe_user_id: string;
|
670
|
+
scope: string;
|
671
671
|
};
|
672
672
|
};
|
673
673
|
};
|
@@ -708,7 +708,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
708
708
|
addressDescription?: string | undefined;
|
709
709
|
};
|
710
710
|
active: boolean;
|
711
|
-
createdAt:
|
711
|
+
createdAt: import("@firebase/firestore").Timestamp;
|
712
712
|
pictures: {
|
713
713
|
sort?: number | undefined;
|
714
714
|
height?: number | undefined;
|
@@ -801,14 +801,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
801
801
|
status: string;
|
802
802
|
accountName: string;
|
803
803
|
defaultCurrency: string;
|
804
|
-
syncedAt:
|
804
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
805
805
|
payload: {
|
806
806
|
id: string;
|
807
|
-
scope: string;
|
808
|
-
token_type: string;
|
809
807
|
livemode: boolean;
|
808
|
+
token_type: string;
|
810
809
|
stripe_publishable_key: string;
|
811
810
|
stripe_user_id: string;
|
811
|
+
scope: string;
|
812
812
|
};
|
813
813
|
};
|
814
814
|
};
|
@@ -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<
|
3
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").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<
|
7
|
-
checkOut: import("zod").ZodOptional<import("zod").ZodType<
|
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>>;
|
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<{
|
@@ -50,22 +50,22 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
50
50
|
}>>;
|
51
51
|
klevio: import("zod").ZodOptional<import("zod").ZodObject<{
|
52
52
|
keyId: import("zod").ZodOptional<import("zod").ZodString>;
|
53
|
-
from: import("zod").ZodOptional<import("zod").ZodType<
|
54
|
-
to: import("zod").ZodOptional<import("zod").ZodType<
|
53
|
+
from: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
|
54
|
+
to: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
|
55
55
|
keyholderId: import("zod").ZodOptional<import("zod").ZodString>;
|
56
56
|
keyholderEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
57
57
|
propertyId: import("zod").ZodOptional<import("zod").ZodString>;
|
58
58
|
}, "strip", import("zod").ZodTypeAny, {
|
59
|
-
from?: FirebaseFirestore.Timestamp | undefined;
|
60
59
|
keyId?: string | undefined;
|
61
|
-
|
60
|
+
from?: import("@firebase/firestore").Timestamp | undefined;
|
61
|
+
to?: import("@firebase/firestore").Timestamp | undefined;
|
62
62
|
keyholderId?: string | undefined;
|
63
63
|
keyholderEmail?: string | undefined;
|
64
64
|
propertyId?: string | undefined;
|
65
65
|
}, {
|
66
|
-
from?: FirebaseFirestore.Timestamp | undefined;
|
67
66
|
keyId?: string | undefined;
|
68
|
-
|
67
|
+
from?: import("@firebase/firestore").Timestamp | undefined;
|
68
|
+
to?: import("@firebase/firestore").Timestamp | undefined;
|
69
69
|
keyholderId?: string | undefined;
|
70
70
|
keyholderEmail?: string | undefined;
|
71
71
|
propertyId?: string | undefined;
|
@@ -78,8 +78,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
78
78
|
adults: import("zod").ZodOptional<import("zod").ZodNumber>;
|
79
79
|
children: import("zod").ZodOptional<import("zod").ZodNumber>;
|
80
80
|
inboxId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
81
|
-
checkedInMark: import("zod").ZodOptional<import("zod").ZodType<
|
82
|
-
checkedOutMark: import("zod").ZodOptional<import("zod").ZodType<
|
81
|
+
checkedInMark: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
|
82
|
+
checkedOutMark: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore").Timestamp>>;
|
83
83
|
channexThreadId: import("zod").ZodOptional<import("zod").ZodString>;
|
84
84
|
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
85
85
|
integrationSource: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -95,11 +95,11 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
95
95
|
} | undefined;
|
96
96
|
children?: number | undefined;
|
97
97
|
status?: string | undefined;
|
98
|
-
createdAt?:
|
98
|
+
createdAt?: import("@firebase/firestore").Timestamp | undefined;
|
99
99
|
externalId?: string | undefined;
|
100
100
|
channexId?: string | undefined;
|
101
|
-
checkIn?:
|
102
|
-
checkOut?:
|
101
|
+
checkIn?: import("@firebase/firestore").Timestamp | undefined;
|
102
|
+
checkOut?: import("@firebase/firestore").Timestamp | undefined;
|
103
103
|
statusDescription?: string | undefined;
|
104
104
|
guest?: {
|
105
105
|
id?: string | undefined;
|
@@ -111,9 +111,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
111
111
|
avatarUrl?: string | undefined;
|
112
112
|
} | undefined;
|
113
113
|
klevio?: {
|
114
|
-
from?: FirebaseFirestore.Timestamp | undefined;
|
115
114
|
keyId?: string | undefined;
|
116
|
-
|
115
|
+
from?: import("@firebase/firestore").Timestamp | undefined;
|
116
|
+
to?: import("@firebase/firestore").Timestamp | undefined;
|
117
117
|
keyholderId?: string | undefined;
|
118
118
|
keyholderEmail?: string | undefined;
|
119
119
|
propertyId?: string | undefined;
|
@@ -123,8 +123,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
123
123
|
guests?: number | undefined;
|
124
124
|
adults?: number | undefined;
|
125
125
|
inboxId?: number | undefined;
|
126
|
-
checkedInMark?:
|
127
|
-
checkedOutMark?:
|
126
|
+
checkedInMark?: import("@firebase/firestore").Timestamp | undefined;
|
127
|
+
checkedOutMark?: import("@firebase/firestore").Timestamp | undefined;
|
128
128
|
channexThreadId?: string | undefined;
|
129
129
|
notes?: string | undefined;
|
130
130
|
integrationSource?: string | undefined;
|
@@ -140,11 +140,11 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
140
140
|
} | undefined;
|
141
141
|
children?: number | undefined;
|
142
142
|
status?: string | undefined;
|
143
|
-
createdAt?:
|
143
|
+
createdAt?: import("@firebase/firestore").Timestamp | undefined;
|
144
144
|
externalId?: string | undefined;
|
145
145
|
channexId?: string | undefined;
|
146
|
-
checkIn?:
|
147
|
-
checkOut?:
|
146
|
+
checkIn?: import("@firebase/firestore").Timestamp | undefined;
|
147
|
+
checkOut?: import("@firebase/firestore").Timestamp | undefined;
|
148
148
|
statusDescription?: string | undefined;
|
149
149
|
guest?: {
|
150
150
|
id?: string | undefined;
|
@@ -156,9 +156,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
156
156
|
avatarUrl?: string | undefined;
|
157
157
|
} | undefined;
|
158
158
|
klevio?: {
|
159
|
-
from?: FirebaseFirestore.Timestamp | undefined;
|
160
159
|
keyId?: string | undefined;
|
161
|
-
|
160
|
+
from?: import("@firebase/firestore").Timestamp | undefined;
|
161
|
+
to?: import("@firebase/firestore").Timestamp | undefined;
|
162
162
|
keyholderId?: string | undefined;
|
163
163
|
keyholderEmail?: string | undefined;
|
164
164
|
propertyId?: string | undefined;
|
@@ -168,8 +168,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
168
168
|
guests?: number | undefined;
|
169
169
|
adults?: number | undefined;
|
170
170
|
inboxId?: number | undefined;
|
171
|
-
checkedInMark?:
|
172
|
-
checkedOutMark?:
|
171
|
+
checkedInMark?: import("@firebase/firestore").Timestamp | undefined;
|
172
|
+
checkedOutMark?: import("@firebase/firestore").Timestamp | undefined;
|
173
173
|
channexThreadId?: string | undefined;
|
174
174
|
notes?: string | undefined;
|
175
175
|
integrationSource?: string | undefined;
|