hububb-models 1.1.23 → 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.
@@ -83,6 +83,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
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;
|
@@ -128,6 +131,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
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;
|
@@ -173,6 +179,9 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
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"),
|
package/dist/schemas/thread.d.ts
CHANGED
@@ -769,6 +769,9 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
769
769
|
channexThreadId: import("zod").ZodOptional<import("zod").ZodString>;
|
770
770
|
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
771
771
|
integrationSource: import("zod").ZodOptional<import("zod").ZodString>;
|
772
|
+
linkedReservations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
773
|
+
nextReservation: import("zod").ZodOptional<import("zod").ZodString>;
|
774
|
+
previousReservation: import("zod").ZodOptional<import("zod").ZodString>;
|
772
775
|
}, "id" | "source" | "listing" | "status" | "checkIn" | "checkOut" | "statusDescription" | "integrationSource">, {
|
773
776
|
listingNickname: import("zod").ZodOptional<import("zod").ZodString>;
|
774
777
|
}>, "strip", import("zod").ZodTypeAny, {
|