hububb-models 1.1.26 → 1.1.28
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 +3 -3
- 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 +53 -53
- package/dist/schemas/reservation.d.ts +32 -25
- package/dist/schemas/reservation.js +1 -0
- package/dist/schemas/thread.d.ts +86 -81
- 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
|
};
|
@@ -591,7 +591,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
591
591
|
addressDescription?: string | undefined;
|
592
592
|
};
|
593
593
|
active: boolean;
|
594
|
-
createdAt:
|
594
|
+
createdAt: import("@firebase/firestore").Timestamp;
|
595
595
|
pictures: {
|
596
596
|
sort?: number | undefined;
|
597
597
|
height?: number | undefined;
|
@@ -657,6 +657,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
657
657
|
} | undefined;
|
658
658
|
externalId?: string | undefined;
|
659
659
|
apaleoUnitGroupId?: string | undefined;
|
660
|
+
nickname?: string | undefined;
|
660
661
|
city?: string | undefined;
|
661
662
|
guestyId?: string | undefined;
|
662
663
|
accountId?: string | undefined;
|
@@ -693,14 +694,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
693
694
|
status: string;
|
694
695
|
accountName: string;
|
695
696
|
defaultCurrency: string;
|
696
|
-
syncedAt:
|
697
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
697
698
|
payload: {
|
698
699
|
id: string;
|
699
|
-
scope: string;
|
700
|
-
token_type: string;
|
701
700
|
livemode: boolean;
|
701
|
+
token_type: string;
|
702
702
|
stripe_publishable_key: string;
|
703
703
|
stripe_user_id: string;
|
704
|
+
scope: string;
|
704
705
|
};
|
705
706
|
};
|
706
707
|
};
|
@@ -718,7 +719,6 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
718
719
|
aptKey?: string | undefined;
|
719
720
|
keyMethod?: "open" | "unlock" | undefined;
|
720
721
|
requestToBook?: boolean | undefined;
|
721
|
-
nickname?: string | undefined;
|
722
722
|
listingType?: "shared" | "parent" | "child" | undefined;
|
723
723
|
parentId?: string | undefined;
|
724
724
|
childIds?: string[] | undefined;
|
@@ -740,7 +740,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
740
740
|
addressDescription?: string | undefined;
|
741
741
|
};
|
742
742
|
active: boolean;
|
743
|
-
createdAt:
|
743
|
+
createdAt: import("@firebase/firestore").Timestamp;
|
744
744
|
pictures: {
|
745
745
|
sort?: number | undefined;
|
746
746
|
height?: number | undefined;
|
@@ -806,6 +806,7 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
806
806
|
} | undefined;
|
807
807
|
externalId?: string | undefined;
|
808
808
|
apaleoUnitGroupId?: string | undefined;
|
809
|
+
nickname?: string | undefined;
|
809
810
|
city?: string | undefined;
|
810
811
|
guestyId?: string | undefined;
|
811
812
|
accountId?: string | undefined;
|
@@ -842,14 +843,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
842
843
|
status: string;
|
843
844
|
accountName: string;
|
844
845
|
defaultCurrency: string;
|
845
|
-
syncedAt:
|
846
|
+
syncedAt: import("@firebase/firestore").Timestamp;
|
846
847
|
payload: {
|
847
848
|
id: string;
|
848
|
-
scope: string;
|
849
|
-
token_type: string;
|
850
849
|
livemode: boolean;
|
850
|
+
token_type: string;
|
851
851
|
stripe_publishable_key: string;
|
852
852
|
stripe_user_id: string;
|
853
|
+
scope: string;
|
853
854
|
};
|
854
855
|
};
|
855
856
|
};
|
@@ -867,7 +868,6 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
867
868
|
aptKey?: string | undefined;
|
868
869
|
keyMethod?: "open" | "unlock" | undefined;
|
869
870
|
requestToBook?: boolean | undefined;
|
870
|
-
nickname?: string | undefined;
|
871
871
|
listingType?: "shared" | "parent" | "child" | undefined;
|
872
872
|
parentId?: string | undefined;
|
873
873
|
childIds?: string[] | undefined;
|
@@ -1097,6 +1097,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
1097
1097
|
large?: string | undefined;
|
1098
1098
|
original?: string | undefined;
|
1099
1099
|
}[];
|
1100
|
+
nickname: string;
|
1100
1101
|
propertyType: string;
|
1101
1102
|
roomType: string;
|
1102
1103
|
accommodates: number;
|
@@ -1123,7 +1124,6 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
1123
1124
|
securityDepositFee: number;
|
1124
1125
|
cleaningFee: number;
|
1125
1126
|
};
|
1126
|
-
nickname: string;
|
1127
1127
|
source?: string | undefined;
|
1128
1128
|
active?: boolean | undefined;
|
1129
1129
|
externalId?: string | undefined;
|
@@ -1173,6 +1173,7 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
1173
1173
|
large?: string | undefined;
|
1174
1174
|
original?: string | undefined;
|
1175
1175
|
}[];
|
1176
|
+
nickname: string;
|
1176
1177
|
propertyType: string;
|
1177
1178
|
roomType: string;
|
1178
1179
|
accommodates: number;
|
@@ -1199,7 +1200,6 @@ export declare const CreateListingSchema: import("zod").ZodObject<{
|
|
1199
1200
|
securityDepositFee: number;
|
1200
1201
|
cleaningFee: number;
|
1201
1202
|
};
|
1202
|
-
nickname: string;
|
1203
1203
|
source?: string | undefined;
|
1204
1204
|
active?: boolean | undefined;
|
1205
1205
|
externalId?: string | undefined;
|
@@ -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>;
|
@@ -90,18 +90,21 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
90
90
|
picture: import("zod").ZodString;
|
91
91
|
externalId: import("zod").ZodString;
|
92
92
|
apaleoUnitGroupId: import("zod").ZodString;
|
93
|
+
nickname: import("zod").ZodOptional<import("zod").ZodString>;
|
93
94
|
}, "strip", import("zod").ZodTypeAny, {
|
94
95
|
id: string;
|
95
96
|
picture: string;
|
96
97
|
title: string;
|
97
98
|
externalId: string;
|
98
99
|
apaleoUnitGroupId: string;
|
100
|
+
nickname?: string | undefined;
|
99
101
|
}, {
|
100
102
|
id: string;
|
101
103
|
picture: string;
|
102
104
|
title: string;
|
103
105
|
externalId: string;
|
104
106
|
apaleoUnitGroupId: string;
|
107
|
+
nickname?: string | undefined;
|
105
108
|
}>;
|
106
109
|
timeRanges: import("zod").ZodArray<import("zod").ZodObject<{
|
107
110
|
from: import("zod").ZodString;
|
@@ -120,6 +123,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
120
123
|
title: string;
|
121
124
|
externalId: string;
|
122
125
|
apaleoUnitGroupId: string;
|
126
|
+
nickname?: string | undefined;
|
123
127
|
};
|
124
128
|
timeRanges: {
|
125
129
|
from: string;
|
@@ -132,6 +136,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
132
136
|
title: string;
|
133
137
|
externalId: string;
|
134
138
|
apaleoUnitGroupId: string;
|
139
|
+
nickname?: string | undefined;
|
135
140
|
};
|
136
141
|
timeRanges: {
|
137
142
|
from: string;
|
@@ -150,11 +155,11 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
150
155
|
} | undefined;
|
151
156
|
children?: number | undefined;
|
152
157
|
status?: string | undefined;
|
153
|
-
createdAt?:
|
158
|
+
createdAt?: import("@firebase/firestore").Timestamp | undefined;
|
154
159
|
externalId?: string | undefined;
|
155
160
|
channexId?: string | undefined;
|
156
|
-
checkIn?:
|
157
|
-
checkOut?:
|
161
|
+
checkIn?: import("@firebase/firestore").Timestamp | undefined;
|
162
|
+
checkOut?: import("@firebase/firestore").Timestamp | undefined;
|
158
163
|
statusDescription?: string | undefined;
|
159
164
|
guest?: {
|
160
165
|
id?: string | undefined;
|
@@ -166,9 +171,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
166
171
|
avatarUrl?: string | undefined;
|
167
172
|
} | undefined;
|
168
173
|
klevio?: {
|
169
|
-
from?: FirebaseFirestore.Timestamp | undefined;
|
170
174
|
keyId?: string | undefined;
|
171
|
-
|
175
|
+
from?: import("@firebase/firestore").Timestamp | undefined;
|
176
|
+
to?: import("@firebase/firestore").Timestamp | undefined;
|
172
177
|
keyholderId?: string | undefined;
|
173
178
|
keyholderEmail?: string | undefined;
|
174
179
|
propertyId?: string | undefined;
|
@@ -178,8 +183,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
178
183
|
guests?: number | undefined;
|
179
184
|
adults?: number | undefined;
|
180
185
|
inboxId?: number | undefined;
|
181
|
-
checkedInMark?:
|
182
|
-
checkedOutMark?:
|
186
|
+
checkedInMark?: import("@firebase/firestore").Timestamp | undefined;
|
187
|
+
checkedOutMark?: import("@firebase/firestore").Timestamp | undefined;
|
183
188
|
channexThreadId?: string | undefined;
|
184
189
|
notes?: string | undefined;
|
185
190
|
integrationSource?: string | undefined;
|
@@ -190,6 +195,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
190
195
|
title: string;
|
191
196
|
externalId: string;
|
192
197
|
apaleoUnitGroupId: string;
|
198
|
+
nickname?: string | undefined;
|
193
199
|
};
|
194
200
|
timeRanges: {
|
195
201
|
from: string;
|
@@ -208,11 +214,11 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
208
214
|
} | undefined;
|
209
215
|
children?: number | undefined;
|
210
216
|
status?: string | undefined;
|
211
|
-
createdAt?:
|
217
|
+
createdAt?: import("@firebase/firestore").Timestamp | undefined;
|
212
218
|
externalId?: string | undefined;
|
213
219
|
channexId?: string | undefined;
|
214
|
-
checkIn?:
|
215
|
-
checkOut?:
|
220
|
+
checkIn?: import("@firebase/firestore").Timestamp | undefined;
|
221
|
+
checkOut?: import("@firebase/firestore").Timestamp | undefined;
|
216
222
|
statusDescription?: string | undefined;
|
217
223
|
guest?: {
|
218
224
|
id?: string | undefined;
|
@@ -224,9 +230,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
224
230
|
avatarUrl?: string | undefined;
|
225
231
|
} | undefined;
|
226
232
|
klevio?: {
|
227
|
-
from?: FirebaseFirestore.Timestamp | undefined;
|
228
233
|
keyId?: string | undefined;
|
229
|
-
|
234
|
+
from?: import("@firebase/firestore").Timestamp | undefined;
|
235
|
+
to?: import("@firebase/firestore").Timestamp | undefined;
|
230
236
|
keyholderId?: string | undefined;
|
231
237
|
keyholderEmail?: string | undefined;
|
232
238
|
propertyId?: string | undefined;
|
@@ -236,8 +242,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
236
242
|
guests?: number | undefined;
|
237
243
|
adults?: number | undefined;
|
238
244
|
inboxId?: number | undefined;
|
239
|
-
checkedInMark?:
|
240
|
-
checkedOutMark?:
|
245
|
+
checkedInMark?: import("@firebase/firestore").Timestamp | undefined;
|
246
|
+
checkedOutMark?: import("@firebase/firestore").Timestamp | undefined;
|
241
247
|
channexThreadId?: string | undefined;
|
242
248
|
notes?: string | undefined;
|
243
249
|
integrationSource?: string | undefined;
|
@@ -248,6 +254,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
248
254
|
title: string;
|
249
255
|
externalId: string;
|
250
256
|
apaleoUnitGroupId: string;
|
257
|
+
nickname?: string | undefined;
|
251
258
|
};
|
252
259
|
timeRanges: {
|
253
260
|
from: string;
|
@@ -33,6 +33,7 @@ const assignedListingSchema = (0, zod_1.object)({
|
|
33
33
|
picture: (0, zod_1.string)(),
|
34
34
|
externalId: (0, zod_1.string)(),
|
35
35
|
apaleoUnitGroupId: (0, zod_1.string)(),
|
36
|
+
nickname: (0, zod_1.optional)((0, zod_1.string)()),
|
36
37
|
}),
|
37
38
|
timeRanges: (0, zod_1.array)((0, zod_1.object)({
|
38
39
|
from: (0, zod_1.string)(),
|