hububb-models 1.1.22 → 1.1.24
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 +49 -49
- package/dist/schemas/reservation.d.ts +34 -25
- package/dist/schemas/reservation.js +3 -0
- package/dist/schemas/thread.d.ts +84 -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<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.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
|
-
|
92
|
+
scope: string;
|
93
93
|
token_type: string;
|
94
|
+
livemode: boolean;
|
94
95
|
stripe_publishable_key: string;
|
95
96
|
stripe_user_id: string;
|
96
|
-
scope: string;
|
97
97
|
}, {
|
98
98
|
id: string;
|
99
|
-
|
99
|
+
scope: string;
|
100
100
|
token_type: string;
|
101
|
+
livemode: boolean;
|
101
102
|
stripe_publishable_key: string;
|
102
103
|
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: FirebaseFirestore.Timestamp;
|
111
111
|
payload: {
|
112
112
|
id: string;
|
113
|
-
|
113
|
+
scope: string;
|
114
114
|
token_type: string;
|
115
|
+
livemode: boolean;
|
115
116
|
stripe_publishable_key: string;
|
116
117
|
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: FirebaseFirestore.Timestamp;
|
125
125
|
payload: {
|
126
126
|
id: string;
|
127
|
-
|
127
|
+
scope: string;
|
128
128
|
token_type: string;
|
129
|
+
livemode: boolean;
|
129
130
|
stripe_publishable_key: string;
|
130
131
|
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: FirebaseFirestore.Timestamp;
|
141
141
|
payload: {
|
142
142
|
id: string;
|
143
|
-
|
143
|
+
scope: string;
|
144
144
|
token_type: string;
|
145
|
+
livemode: boolean;
|
145
146
|
stripe_publishable_key: string;
|
146
147
|
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: FirebaseFirestore.Timestamp;
|
157
157
|
payload: {
|
158
158
|
id: string;
|
159
|
-
|
159
|
+
scope: string;
|
160
160
|
token_type: string;
|
161
|
+
livemode: boolean;
|
161
162
|
stripe_publishable_key: string;
|
162
163
|
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<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.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<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.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
|
-
|
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
|
id: string;
|
392
|
-
|
392
|
+
scope: string;
|
393
393
|
token_type: string;
|
394
|
+
livemode: boolean;
|
394
395
|
stripe_publishable_key: string;
|
395
396
|
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: FirebaseFirestore.Timestamp;
|
404
404
|
payload: {
|
405
405
|
id: string;
|
406
|
-
|
406
|
+
scope: string;
|
407
407
|
token_type: string;
|
408
|
+
livemode: boolean;
|
408
409
|
stripe_publishable_key: string;
|
409
410
|
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: FirebaseFirestore.Timestamp;
|
418
418
|
payload: {
|
419
419
|
id: string;
|
420
|
-
|
420
|
+
scope: string;
|
421
421
|
token_type: string;
|
422
|
+
livemode: boolean;
|
422
423
|
stripe_publishable_key: string;
|
423
424
|
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: FirebaseFirestore.Timestamp;
|
434
434
|
payload: {
|
435
435
|
id: string;
|
436
|
-
|
436
|
+
scope: string;
|
437
437
|
token_type: string;
|
438
|
+
livemode: boolean;
|
438
439
|
stripe_publishable_key: string;
|
439
440
|
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: FirebaseFirestore.Timestamp;
|
450
450
|
payload: {
|
451
451
|
id: string;
|
452
|
-
|
452
|
+
scope: string;
|
453
453
|
token_type: string;
|
454
|
+
livemode: boolean;
|
454
455
|
stripe_publishable_key: string;
|
455
456
|
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: FirebaseFirestore.Timestamp;
|
469
469
|
payload: {
|
470
470
|
id: string;
|
471
|
-
|
471
|
+
scope: string;
|
472
472
|
token_type: string;
|
473
|
+
livemode: boolean;
|
473
474
|
stripe_publishable_key: string;
|
474
475
|
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: FirebaseFirestore.Timestamp;
|
488
488
|
payload: {
|
489
489
|
id: string;
|
490
|
-
|
490
|
+
scope: string;
|
491
491
|
token_type: string;
|
492
|
+
livemode: boolean;
|
492
493
|
stripe_publishable_key: string;
|
493
494
|
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: FirebaseFirestore.Timestamp;
|
595
595
|
pictures: {
|
596
596
|
sort?: number | undefined;
|
597
597
|
height?: number | undefined;
|
@@ -692,14 +692,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
692
692
|
status: string;
|
693
693
|
accountName: string;
|
694
694
|
defaultCurrency: string;
|
695
|
-
syncedAt:
|
695
|
+
syncedAt: FirebaseFirestore.Timestamp;
|
696
696
|
payload: {
|
697
697
|
id: string;
|
698
|
-
|
698
|
+
scope: string;
|
699
699
|
token_type: string;
|
700
|
+
livemode: boolean;
|
700
701
|
stripe_publishable_key: string;
|
701
702
|
stripe_user_id: string;
|
702
|
-
scope: string;
|
703
703
|
};
|
704
704
|
};
|
705
705
|
};
|
@@ -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: FirebaseFirestore.Timestamp;
|
744
744
|
pictures: {
|
745
745
|
sort?: number | undefined;
|
746
746
|
height?: number | undefined;
|
@@ -841,14 +841,14 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
841
841
|
status: string;
|
842
842
|
accountName: string;
|
843
843
|
defaultCurrency: string;
|
844
|
-
syncedAt:
|
844
|
+
syncedAt: FirebaseFirestore.Timestamp;
|
845
845
|
payload: {
|
846
846
|
id: string;
|
847
|
-
|
847
|
+
scope: string;
|
848
848
|
token_type: string;
|
849
|
+
livemode: boolean;
|
849
850
|
stripe_publishable_key: string;
|
850
851
|
stripe_user_id: string;
|
851
|
-
scope: string;
|
852
852
|
};
|
853
853
|
};
|
854
854
|
};
|
@@ -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<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<
|
7
|
-
checkOut: import("zod").ZodOptional<import("zod").ZodType<
|
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<{
|
@@ -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<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
54
|
+
to: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.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;
|
59
60
|
keyId?: string | undefined;
|
60
|
-
|
61
|
-
to?: import("@firebase/firestore").Timestamp | undefined;
|
61
|
+
to?: FirebaseFirestore.Timestamp | undefined;
|
62
62
|
keyholderId?: string | undefined;
|
63
63
|
keyholderEmail?: string | undefined;
|
64
64
|
propertyId?: string | undefined;
|
65
65
|
}, {
|
66
|
+
from?: FirebaseFirestore.Timestamp | undefined;
|
66
67
|
keyId?: string | undefined;
|
67
|
-
|
68
|
-
to?: import("@firebase/firestore").Timestamp | undefined;
|
68
|
+
to?: FirebaseFirestore.Timestamp | undefined;
|
69
69
|
keyholderId?: string | undefined;
|
70
70
|
keyholderEmail?: string | undefined;
|
71
71
|
propertyId?: string | undefined;
|
@@ -78,11 +78,14 @@ 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<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
82
|
+
checkedOutMark: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.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>;
|
86
|
+
linkedReservations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
87
|
+
nextReservation: import("zod").ZodOptional<import("zod").ZodString>;
|
88
|
+
previousReservation: import("zod").ZodOptional<import("zod").ZodString>;
|
86
89
|
}, "strip", import("zod").ZodTypeAny, {
|
87
90
|
id: string;
|
88
91
|
source?: string | undefined;
|
@@ -95,11 +98,11 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
95
98
|
} | undefined;
|
96
99
|
children?: number | undefined;
|
97
100
|
status?: string | undefined;
|
98
|
-
createdAt?:
|
101
|
+
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
99
102
|
externalId?: string | undefined;
|
100
103
|
channexId?: string | undefined;
|
101
|
-
checkIn?:
|
102
|
-
checkOut?:
|
104
|
+
checkIn?: FirebaseFirestore.Timestamp | undefined;
|
105
|
+
checkOut?: FirebaseFirestore.Timestamp | undefined;
|
103
106
|
statusDescription?: string | undefined;
|
104
107
|
guest?: {
|
105
108
|
id?: string | undefined;
|
@@ -111,9 +114,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
111
114
|
avatarUrl?: string | undefined;
|
112
115
|
} | undefined;
|
113
116
|
klevio?: {
|
117
|
+
from?: FirebaseFirestore.Timestamp | undefined;
|
114
118
|
keyId?: string | undefined;
|
115
|
-
|
116
|
-
to?: import("@firebase/firestore").Timestamp | undefined;
|
119
|
+
to?: FirebaseFirestore.Timestamp | undefined;
|
117
120
|
keyholderId?: string | undefined;
|
118
121
|
keyholderEmail?: string | undefined;
|
119
122
|
propertyId?: string | undefined;
|
@@ -123,11 +126,14 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
123
126
|
guests?: number | undefined;
|
124
127
|
adults?: number | undefined;
|
125
128
|
inboxId?: number | undefined;
|
126
|
-
checkedInMark?:
|
127
|
-
checkedOutMark?:
|
129
|
+
checkedInMark?: FirebaseFirestore.Timestamp | undefined;
|
130
|
+
checkedOutMark?: FirebaseFirestore.Timestamp | undefined;
|
128
131
|
channexThreadId?: string | undefined;
|
129
132
|
notes?: string | undefined;
|
130
133
|
integrationSource?: string | undefined;
|
134
|
+
linkedReservations?: string[] | undefined;
|
135
|
+
nextReservation?: string | undefined;
|
136
|
+
previousReservation?: string | undefined;
|
131
137
|
}, {
|
132
138
|
id: string;
|
133
139
|
source?: string | undefined;
|
@@ -140,11 +146,11 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
140
146
|
} | undefined;
|
141
147
|
children?: number | undefined;
|
142
148
|
status?: string | undefined;
|
143
|
-
createdAt?:
|
149
|
+
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
144
150
|
externalId?: string | undefined;
|
145
151
|
channexId?: string | undefined;
|
146
|
-
checkIn?:
|
147
|
-
checkOut?:
|
152
|
+
checkIn?: FirebaseFirestore.Timestamp | undefined;
|
153
|
+
checkOut?: FirebaseFirestore.Timestamp | undefined;
|
148
154
|
statusDescription?: string | undefined;
|
149
155
|
guest?: {
|
150
156
|
id?: string | undefined;
|
@@ -156,9 +162,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
156
162
|
avatarUrl?: string | undefined;
|
157
163
|
} | undefined;
|
158
164
|
klevio?: {
|
165
|
+
from?: FirebaseFirestore.Timestamp | undefined;
|
159
166
|
keyId?: string | undefined;
|
160
|
-
|
161
|
-
to?: import("@firebase/firestore").Timestamp | undefined;
|
167
|
+
to?: FirebaseFirestore.Timestamp | undefined;
|
162
168
|
keyholderId?: string | undefined;
|
163
169
|
keyholderEmail?: string | undefined;
|
164
170
|
propertyId?: string | undefined;
|
@@ -168,11 +174,14 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
168
174
|
guests?: number | undefined;
|
169
175
|
adults?: number | undefined;
|
170
176
|
inboxId?: number | undefined;
|
171
|
-
checkedInMark?:
|
172
|
-
checkedOutMark?:
|
177
|
+
checkedInMark?: FirebaseFirestore.Timestamp | undefined;
|
178
|
+
checkedOutMark?: FirebaseFirestore.Timestamp | undefined;
|
173
179
|
channexThreadId?: string | undefined;
|
174
180
|
notes?: string | undefined;
|
175
181
|
integrationSource?: string | undefined;
|
182
|
+
linkedReservations?: string[] | undefined;
|
183
|
+
nextReservation?: string | undefined;
|
184
|
+
previousReservation?: string | undefined;
|
176
185
|
}>;
|
177
186
|
export declare const reservationCreateSchema: import("zod").ZodObject<{
|
178
187
|
booker: import("zod").ZodObject<{
|
@@ -51,6 +51,9 @@ exports.ReservationSchema = (0, zod_1.object)({
|
|
51
51
|
channexThreadId: (0, zod_1.optional)((0, zod_1.string)()),
|
52
52
|
notes: (0, zod_1.optional)((0, zod_1.string)()),
|
53
53
|
integrationSource: (0, zod_1.optional)((0, zod_1.string)()),
|
54
|
+
linkedReservations: (0, zod_1.optional)((0, zod_1.array)((0, zod_1.string)())),
|
55
|
+
nextReservation: (0, zod_1.optional)((0, zod_1.string)()),
|
56
|
+
previousReservation: (0, zod_1.optional)((0, zod_1.string)()),
|
54
57
|
});
|
55
58
|
const bookerSchema = (0, zod_1.object)({
|
56
59
|
firstName: (0, zod_1.string)().min(1, "First name is required"),
|