order3000 1.3.0 → 1.4.0
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/client.d.cts +79 -30
- package/dist/client.d.mts +79 -30
- package/dist/schemas.cjs +104 -28
- package/dist/schemas.d.cts +63 -28
- package/dist/schemas.d.mts +63 -28
- package/dist/schemas.mjs +104 -28
- package/package.json +2 -2
package/dist/schemas.cjs
CHANGED
|
@@ -293,7 +293,7 @@ const confirmOrderResponseSchema = v4.z.object({
|
|
|
293
293
|
quickReferenceNumber: v4.z.nullable(
|
|
294
294
|
v4.z.int().min(-9007199254740991).max(9007199254740991)
|
|
295
295
|
),
|
|
296
|
-
|
|
296
|
+
guestId: v4.z.optional(v4.z.string())
|
|
297
297
|
});
|
|
298
298
|
|
|
299
299
|
const contactPreferenceSchema = v4.z.enum(["email", "phone", "sms", "none"]);
|
|
@@ -574,11 +574,24 @@ const createAdResponseSchema = v4.z.object({
|
|
|
574
574
|
get status() {
|
|
575
575
|
return adStatusSchema;
|
|
576
576
|
},
|
|
577
|
+
campaignId: v4.z.nullable(v4.z.string()),
|
|
577
578
|
content: v4.z.union([
|
|
578
579
|
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
579
580
|
v4.z.array(v4.z.any()),
|
|
580
581
|
v4.z.object({}).catchall(v4.z.any())
|
|
581
582
|
]),
|
|
583
|
+
keywords: v4.z.union([
|
|
584
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
585
|
+
v4.z.array(v4.z.any()),
|
|
586
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
587
|
+
]),
|
|
588
|
+
negativeKeywords: v4.z.union([
|
|
589
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
590
|
+
v4.z.array(v4.z.any()),
|
|
591
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
592
|
+
]),
|
|
593
|
+
publishedContentHash: v4.z.nullable(v4.z.string()),
|
|
594
|
+
publishedAt: v4.z.nullable(v4.z.any()),
|
|
582
595
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
583
596
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
584
597
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -714,8 +727,8 @@ const createPaymentIntentRequestSchema = v4.z.object({
|
|
|
714
727
|
return deliveryAddressSchema.fulfillmentTypeSchema;
|
|
715
728
|
},
|
|
716
729
|
fulfillmentAt: v4.z.iso.datetime().nullish(),
|
|
717
|
-
|
|
718
|
-
|
|
730
|
+
guestFirstName: v4.z.optional(v4.z.string()),
|
|
731
|
+
guestLastName: v4.z.optional(v4.z.string()),
|
|
719
732
|
teamOrderPublicId: v4.z.optional(v4.z.string()),
|
|
720
733
|
declaredReturns: v4.z.optional(
|
|
721
734
|
v4.z.array(
|
|
@@ -784,11 +797,24 @@ const deleteAdResponseSchema = v4.z.object({
|
|
|
784
797
|
get status() {
|
|
785
798
|
return adStatusSchema;
|
|
786
799
|
},
|
|
800
|
+
campaignId: v4.z.nullable(v4.z.string()),
|
|
787
801
|
content: v4.z.union([
|
|
788
802
|
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
789
803
|
v4.z.array(v4.z.any()),
|
|
790
804
|
v4.z.object({}).catchall(v4.z.any())
|
|
791
805
|
]),
|
|
806
|
+
keywords: v4.z.union([
|
|
807
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
808
|
+
v4.z.array(v4.z.any()),
|
|
809
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
810
|
+
]),
|
|
811
|
+
negativeKeywords: v4.z.union([
|
|
812
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
813
|
+
v4.z.array(v4.z.any()),
|
|
814
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
815
|
+
]),
|
|
816
|
+
publishedContentHash: v4.z.nullable(v4.z.string()),
|
|
817
|
+
publishedAt: v4.z.nullable(v4.z.any()),
|
|
792
818
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
793
819
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
794
820
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -882,11 +908,24 @@ const editAdResponseSchema = v4.z.object({
|
|
|
882
908
|
get status() {
|
|
883
909
|
return adStatusSchema;
|
|
884
910
|
},
|
|
911
|
+
campaignId: v4.z.nullable(v4.z.string()),
|
|
885
912
|
content: v4.z.union([
|
|
886
913
|
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
887
914
|
v4.z.array(v4.z.any()),
|
|
888
915
|
v4.z.object({}).catchall(v4.z.any())
|
|
889
916
|
]),
|
|
917
|
+
keywords: v4.z.union([
|
|
918
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
919
|
+
v4.z.array(v4.z.any()),
|
|
920
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
921
|
+
]),
|
|
922
|
+
negativeKeywords: v4.z.union([
|
|
923
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
924
|
+
v4.z.array(v4.z.any()),
|
|
925
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
926
|
+
]),
|
|
927
|
+
publishedContentHash: v4.z.nullable(v4.z.string()),
|
|
928
|
+
publishedAt: v4.z.nullable(v4.z.any()),
|
|
890
929
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
891
930
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
892
931
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -1164,11 +1203,24 @@ const fetchAdResponseSchema = v4.z.object({
|
|
|
1164
1203
|
get status() {
|
|
1165
1204
|
return adStatusSchema;
|
|
1166
1205
|
},
|
|
1206
|
+
campaignId: v4.z.nullable(v4.z.string()),
|
|
1167
1207
|
content: v4.z.union([
|
|
1168
1208
|
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1169
1209
|
v4.z.array(v4.z.any()),
|
|
1170
1210
|
v4.z.object({}).catchall(v4.z.any())
|
|
1171
1211
|
]),
|
|
1212
|
+
keywords: v4.z.union([
|
|
1213
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1214
|
+
v4.z.array(v4.z.any()),
|
|
1215
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
1216
|
+
]),
|
|
1217
|
+
negativeKeywords: v4.z.union([
|
|
1218
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1219
|
+
v4.z.array(v4.z.any()),
|
|
1220
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
1221
|
+
]),
|
|
1222
|
+
publishedContentHash: v4.z.nullable(v4.z.string()),
|
|
1223
|
+
publishedAt: v4.z.nullable(v4.z.any()),
|
|
1172
1224
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
1173
1225
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1174
1226
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -1189,11 +1241,24 @@ const fetchAdsResponseSchema = v4.z.array(
|
|
|
1189
1241
|
get status() {
|
|
1190
1242
|
return adStatusSchema;
|
|
1191
1243
|
},
|
|
1244
|
+
campaignId: v4.z.nullable(v4.z.string()),
|
|
1192
1245
|
content: v4.z.union([
|
|
1193
1246
|
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1194
1247
|
v4.z.array(v4.z.any()),
|
|
1195
1248
|
v4.z.object({}).catchall(v4.z.any())
|
|
1196
1249
|
]),
|
|
1250
|
+
keywords: v4.z.union([
|
|
1251
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1252
|
+
v4.z.array(v4.z.any()),
|
|
1253
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
1254
|
+
]),
|
|
1255
|
+
negativeKeywords: v4.z.union([
|
|
1256
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1257
|
+
v4.z.array(v4.z.any()),
|
|
1258
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
1259
|
+
]),
|
|
1260
|
+
publishedContentHash: v4.z.nullable(v4.z.string()),
|
|
1261
|
+
publishedAt: v4.z.nullable(v4.z.any()),
|
|
1197
1262
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
1198
1263
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1199
1264
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
@@ -1212,8 +1277,8 @@ const fetchAreaBookingsResponseSchema = v4.z.array(
|
|
|
1212
1277
|
get status() {
|
|
1213
1278
|
return areaBookingStatusSchema;
|
|
1214
1279
|
},
|
|
1215
|
-
|
|
1216
|
-
|
|
1280
|
+
guestFirstName: v4.z.optional(v4.z.string()),
|
|
1281
|
+
guestLastName: v4.z.optional(v4.z.string()),
|
|
1217
1282
|
totalPrice: v4.z.optional(
|
|
1218
1283
|
v4.z.int().min(-9007199254740991).max(9007199254740991)
|
|
1219
1284
|
),
|
|
@@ -2141,7 +2206,7 @@ const fetchTeamOrderResponseSchema = v4.z.object({
|
|
|
2141
2206
|
}),
|
|
2142
2207
|
participants: v4.z.array(
|
|
2143
2208
|
v4.z.object({
|
|
2144
|
-
|
|
2209
|
+
guestId: v4.z.string(),
|
|
2145
2210
|
basketId: v4.z.nullable(v4.z.string()),
|
|
2146
2211
|
orderId: v4.z.nullable(v4.z.string()),
|
|
2147
2212
|
participantNumber: v4.z.nullable(v4.z.int().max(9007199254740991).gt(0)),
|
|
@@ -2386,7 +2451,7 @@ const joinTeamOrderRequestSchema = v4.z.object({
|
|
|
2386
2451
|
const joinTeamOrderResponseSchema = v4.z.object({
|
|
2387
2452
|
teamOrderId: v4.z.uuid(),
|
|
2388
2453
|
basketId: v4.z.string(),
|
|
2389
|
-
|
|
2454
|
+
guestId: v4.z.string(),
|
|
2390
2455
|
get status() {
|
|
2391
2456
|
return deliveryAddressSchema.teamOrderStatusSchema;
|
|
2392
2457
|
},
|
|
@@ -2594,11 +2659,11 @@ const makeReservationRequestSchema = v4.z.object({
|
|
|
2594
2659
|
duration: v4.z.int().min(30).max(300).describe(
|
|
2595
2660
|
"Reservation duration in minutes. Defaults to 120 minutes if not specified. Range: 30-300 minutes."
|
|
2596
2661
|
).nullish(),
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2662
|
+
guestId: v4.z.uuid().describe("UUID of existing customer profile if available").nullish(),
|
|
2663
|
+
guestFirstName: v4.z.string().min(1).max(50).describe("First name of the customer making the reservation"),
|
|
2664
|
+
guestLastName: v4.z.string().min(1).max(50).describe("Last name of the customer making the reservation"),
|
|
2665
|
+
guestEmail: v4.z.email().describe("Email address for reservation confirmations and updates").nullish(),
|
|
2666
|
+
guestPhone: v4.z.string().min(1).describe(
|
|
2602
2667
|
"Phone number for reservation confirmations and updates. Include country code for international numbers."
|
|
2603
2668
|
).nullish(),
|
|
2604
2669
|
get contactPreference() {
|
|
@@ -2645,13 +2710,13 @@ const makeReservationResponseSchema = v4.z.object({
|
|
|
2645
2710
|
duration: v4.z.nullable(
|
|
2646
2711
|
v4.z.int().min(-9007199254740991).max(9007199254740991).describe("Reservation duration in minutes")
|
|
2647
2712
|
),
|
|
2648
|
-
|
|
2713
|
+
guestId: v4.z.nullable(
|
|
2649
2714
|
v4.z.uuid().describe("Link to customer profile if exists")
|
|
2650
2715
|
),
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2716
|
+
guestFirstName: v4.z.string().describe("First name of the customer"),
|
|
2717
|
+
guestLastName: v4.z.string().describe("Last name of the customer"),
|
|
2718
|
+
guestEmail: v4.z.nullable(v4.z.string().describe("Customer email address")),
|
|
2719
|
+
guestPhone: v4.z.nullable(v4.z.string().describe("Customer phone number")),
|
|
2655
2720
|
get contactPreference() {
|
|
2656
2721
|
return contactPreferenceSchema;
|
|
2657
2722
|
},
|
|
@@ -2742,9 +2807,9 @@ const placeOrderRequestSchema = v4.z.object({
|
|
|
2742
2807
|
return deliveryAddressSchema.fulfillmentTypeSchema;
|
|
2743
2808
|
},
|
|
2744
2809
|
fulfillmentAt: v4.z.iso.datetime().nullish(),
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2810
|
+
guestFirstName: v4.z.optional(v4.z.string()),
|
|
2811
|
+
guestLastName: v4.z.optional(v4.z.string()),
|
|
2812
|
+
guestEmail: v4.z.optional(v4.z.string()),
|
|
2748
2813
|
declaredReturns: v4.z.optional(
|
|
2749
2814
|
v4.z.array(
|
|
2750
2815
|
v4.z.object({
|
|
@@ -2800,6 +2865,8 @@ const removeFromBasketResponseSchema = v4.z.object({
|
|
|
2800
2865
|
}
|
|
2801
2866
|
});
|
|
2802
2867
|
|
|
2868
|
+
const reservationMessageStatusSchema = v4.z.enum(["draft", "sent"]);
|
|
2869
|
+
|
|
2803
2870
|
const reservationPromotionStatusSchema = v4.z.enum([
|
|
2804
2871
|
"applied",
|
|
2805
2872
|
"redeemed",
|
|
@@ -2897,10 +2964,10 @@ const submitAreaBookingPayloadSchema = v4.z.object({
|
|
|
2897
2964
|
requestedStartTime: v4.z.optional(v4.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
|
|
2898
2965
|
requestedEndTime: v4.z.optional(v4.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
|
|
2899
2966
|
partySize: v4.z.int().max(9007199254740991).gt(0),
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2967
|
+
guestFirstName: v4.z.string().min(1),
|
|
2968
|
+
guestLastName: v4.z.string().min(1),
|
|
2969
|
+
guestEmail: v4.z.email(),
|
|
2970
|
+
guestPhone: v4.z.optional(v4.z.string()),
|
|
2904
2971
|
message: v4.z.optional(v4.z.string()),
|
|
2905
2972
|
get source() {
|
|
2906
2973
|
return areaBookingRequestSourceSchema.optional();
|
|
@@ -2915,10 +2982,10 @@ const submitAreaBookingRequestResponseSchema = v4.z.object({
|
|
|
2915
2982
|
requestedStartTime: v4.z.nullable(v4.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
|
|
2916
2983
|
requestedEndTime: v4.z.nullable(v4.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
|
|
2917
2984
|
partySize: v4.z.int().min(-9007199254740991).max(9007199254740991),
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2985
|
+
guestFirstName: v4.z.string(),
|
|
2986
|
+
guestLastName: v4.z.string(),
|
|
2987
|
+
guestEmail: v4.z.string(),
|
|
2988
|
+
guestPhone: v4.z.nullable(v4.z.string()),
|
|
2922
2989
|
message: v4.z.nullable(v4.z.string()),
|
|
2923
2990
|
get source() {
|
|
2924
2991
|
return areaBookingRequestSourceSchema;
|
|
@@ -3069,6 +3136,13 @@ const venueAssetTypeSchema = v4.z.enum([
|
|
|
3069
3136
|
|
|
3070
3137
|
const venueChargeKindSchema = v4.z.enum(["base", "addon"]);
|
|
3071
3138
|
|
|
3139
|
+
const venueEmailSenderStatusSchema = v4.z.enum([
|
|
3140
|
+
"pending",
|
|
3141
|
+
"verified",
|
|
3142
|
+
"failed",
|
|
3143
|
+
"temporary_failure"
|
|
3144
|
+
]);
|
|
3145
|
+
|
|
3072
3146
|
const venueTypeSchema = v4.z.enum([
|
|
3073
3147
|
"restaurant",
|
|
3074
3148
|
"fine_dining_restaurant",
|
|
@@ -3196,6 +3270,7 @@ const schemas = {
|
|
|
3196
3270
|
ReduceDeltaPaymentIntentRequest: reduceDeltaPaymentIntentRequestSchema,
|
|
3197
3271
|
ReduceDeltaPaymentIntentResponse: reduceDeltaPaymentIntentResponseSchema,
|
|
3198
3272
|
RemoveFromBasketResponse: removeFromBasketResponseSchema,
|
|
3273
|
+
ReservationMessageStatus: reservationMessageStatusSchema,
|
|
3199
3274
|
ReservationPromotionStatus: reservationPromotionStatusSchema,
|
|
3200
3275
|
ReservationStatus: reservationStatusSchema,
|
|
3201
3276
|
RitualType: ritualTypeSchema,
|
|
@@ -3232,6 +3307,7 @@ const schemas = {
|
|
|
3232
3307
|
UploadAssetResponse: uploadAssetResponseSchema,
|
|
3233
3308
|
VenueAssetType: venueAssetTypeSchema,
|
|
3234
3309
|
VenueChargeKind: venueChargeKindSchema,
|
|
3310
|
+
VenueEmailSenderStatus: venueEmailSenderStatusSchema,
|
|
3235
3311
|
VenueType: venueTypeSchema,
|
|
3236
3312
|
VenueUserStatus: venueUserStatusSchema
|
|
3237
3313
|
};
|
package/dist/schemas.d.cts
CHANGED
|
@@ -285,7 +285,7 @@ declare const schemas: {
|
|
|
285
285
|
status: zod.ZodString;
|
|
286
286
|
publicId: zod.ZodNullable<zod.ZodString>;
|
|
287
287
|
quickReferenceNumber: zod.ZodNullable<zod.ZodInt>;
|
|
288
|
-
|
|
288
|
+
guestId: zod.ZodOptional<zod.ZodString>;
|
|
289
289
|
}, zod_v4_core.$strip>;
|
|
290
290
|
readonly ContactPreference: zod.ZodEnum<{
|
|
291
291
|
phone: "phone";
|
|
@@ -569,7 +569,12 @@ declare const schemas: {
|
|
|
569
569
|
ready: "ready";
|
|
570
570
|
archived: "archived";
|
|
571
571
|
}>;
|
|
572
|
+
campaignId: zod.ZodNullable<zod.ZodString>;
|
|
572
573
|
content: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
574
|
+
keywords: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
575
|
+
negativeKeywords: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
576
|
+
publishedContentHash: zod.ZodNullable<zod.ZodString>;
|
|
577
|
+
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
573
578
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
574
579
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
575
580
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -678,8 +683,8 @@ declare const schemas: {
|
|
|
678
683
|
delivery: "delivery";
|
|
679
684
|
}>;
|
|
680
685
|
fulfillmentAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
|
|
681
|
-
|
|
682
|
-
|
|
686
|
+
guestFirstName: zod.ZodOptional<zod.ZodString>;
|
|
687
|
+
guestLastName: zod.ZodOptional<zod.ZodString>;
|
|
683
688
|
teamOrderPublicId: zod.ZodOptional<zod.ZodString>;
|
|
684
689
|
declaredReturns: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
685
690
|
depositwareTemplateId: zod.ZodString;
|
|
@@ -750,7 +755,12 @@ declare const schemas: {
|
|
|
750
755
|
ready: "ready";
|
|
751
756
|
archived: "archived";
|
|
752
757
|
}>;
|
|
758
|
+
campaignId: zod.ZodNullable<zod.ZodString>;
|
|
753
759
|
content: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
760
|
+
keywords: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
761
|
+
negativeKeywords: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
762
|
+
publishedContentHash: zod.ZodNullable<zod.ZodString>;
|
|
763
|
+
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
754
764
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
755
765
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
756
766
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -837,7 +847,12 @@ declare const schemas: {
|
|
|
837
847
|
ready: "ready";
|
|
838
848
|
archived: "archived";
|
|
839
849
|
}>;
|
|
850
|
+
campaignId: zod.ZodNullable<zod.ZodString>;
|
|
840
851
|
content: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
852
|
+
keywords: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
853
|
+
negativeKeywords: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
854
|
+
publishedContentHash: zod.ZodNullable<zod.ZodString>;
|
|
855
|
+
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
841
856
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
842
857
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
843
858
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -1083,7 +1098,12 @@ declare const schemas: {
|
|
|
1083
1098
|
ready: "ready";
|
|
1084
1099
|
archived: "archived";
|
|
1085
1100
|
}>;
|
|
1101
|
+
campaignId: zod.ZodNullable<zod.ZodString>;
|
|
1086
1102
|
content: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
1103
|
+
keywords: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
1104
|
+
negativeKeywords: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
1105
|
+
publishedContentHash: zod.ZodNullable<zod.ZodString>;
|
|
1106
|
+
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
1087
1107
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
1088
1108
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
1089
1109
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -1104,7 +1124,12 @@ declare const schemas: {
|
|
|
1104
1124
|
ready: "ready";
|
|
1105
1125
|
archived: "archived";
|
|
1106
1126
|
}>;
|
|
1127
|
+
campaignId: zod.ZodNullable<zod.ZodString>;
|
|
1107
1128
|
content: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
1129
|
+
keywords: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
1130
|
+
negativeKeywords: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
|
|
1131
|
+
publishedContentHash: zod.ZodNullable<zod.ZodString>;
|
|
1132
|
+
publishedAt: zod.ZodNullable<zod.ZodAny>;
|
|
1108
1133
|
createdBy: zod.ZodNullable<zod.ZodString>;
|
|
1109
1134
|
updatedBy: zod.ZodNullable<zod.ZodString>;
|
|
1110
1135
|
createdAt: zod.ZodNullable<zod.ZodAny>;
|
|
@@ -1124,8 +1149,8 @@ declare const schemas: {
|
|
|
1124
1149
|
completed: "completed";
|
|
1125
1150
|
no_show: "no_show";
|
|
1126
1151
|
}>;
|
|
1127
|
-
|
|
1128
|
-
|
|
1152
|
+
guestFirstName: zod.ZodOptional<zod.ZodString>;
|
|
1153
|
+
guestLastName: zod.ZodOptional<zod.ZodString>;
|
|
1129
1154
|
totalPrice: zod.ZodOptional<zod.ZodInt>;
|
|
1130
1155
|
currency: zod.ZodOptional<zod.ZodEnum<{
|
|
1131
1156
|
EUR: "EUR";
|
|
@@ -2056,7 +2081,7 @@ declare const schemas: {
|
|
|
2056
2081
|
quantity: zod.ZodNullable<zod.ZodInt>;
|
|
2057
2082
|
}, zod_v4_core.$strip>;
|
|
2058
2083
|
participants: zod.ZodArray<zod.ZodObject<{
|
|
2059
|
-
|
|
2084
|
+
guestId: zod.ZodString;
|
|
2060
2085
|
basketId: zod.ZodNullable<zod.ZodString>;
|
|
2061
2086
|
orderId: zod.ZodNullable<zod.ZodString>;
|
|
2062
2087
|
participantNumber: zod.ZodNullable<zod.ZodInt>;
|
|
@@ -2287,7 +2312,7 @@ declare const schemas: {
|
|
|
2287
2312
|
readonly JoinTeamOrderResponse: zod.ZodObject<{
|
|
2288
2313
|
teamOrderId: zod.ZodUUID;
|
|
2289
2314
|
basketId: zod.ZodString;
|
|
2290
|
-
|
|
2315
|
+
guestId: zod.ZodString;
|
|
2291
2316
|
status: zod.ZodEnum<{
|
|
2292
2317
|
draft: "draft";
|
|
2293
2318
|
ready: "ready";
|
|
@@ -2499,11 +2524,11 @@ declare const schemas: {
|
|
|
2499
2524
|
reservationTime: zod.ZodString;
|
|
2500
2525
|
partySize: zod.ZodInt;
|
|
2501
2526
|
duration: zod.ZodOptional<zod.ZodNullable<zod.ZodInt>>;
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2527
|
+
guestId: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
|
|
2528
|
+
guestFirstName: zod.ZodString;
|
|
2529
|
+
guestLastName: zod.ZodString;
|
|
2530
|
+
guestEmail: zod.ZodOptional<zod.ZodNullable<zod.ZodEmail>>;
|
|
2531
|
+
guestPhone: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2507
2532
|
contactPreference: zod.ZodOptional<zod.ZodEnum<{
|
|
2508
2533
|
phone: "phone";
|
|
2509
2534
|
email: "email";
|
|
@@ -2530,11 +2555,11 @@ declare const schemas: {
|
|
|
2530
2555
|
reservationTime: zod.ZodString;
|
|
2531
2556
|
partySize: zod.ZodInt;
|
|
2532
2557
|
duration: zod.ZodNullable<zod.ZodInt>;
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2558
|
+
guestId: zod.ZodNullable<zod.ZodUUID>;
|
|
2559
|
+
guestFirstName: zod.ZodString;
|
|
2560
|
+
guestLastName: zod.ZodString;
|
|
2561
|
+
guestEmail: zod.ZodNullable<zod.ZodString>;
|
|
2562
|
+
guestPhone: zod.ZodNullable<zod.ZodString>;
|
|
2538
2563
|
contactPreference: zod.ZodEnum<{
|
|
2539
2564
|
phone: "phone";
|
|
2540
2565
|
email: "email";
|
|
@@ -2655,9 +2680,9 @@ declare const schemas: {
|
|
|
2655
2680
|
delivery: "delivery";
|
|
2656
2681
|
}>;
|
|
2657
2682
|
fulfillmentAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2683
|
+
guestFirstName: zod.ZodOptional<zod.ZodString>;
|
|
2684
|
+
guestLastName: zod.ZodOptional<zod.ZodString>;
|
|
2685
|
+
guestEmail: zod.ZodOptional<zod.ZodString>;
|
|
2661
2686
|
declaredReturns: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2662
2687
|
depositwareTemplateId: zod.ZodString;
|
|
2663
2688
|
count: zod.ZodInt;
|
|
@@ -2720,6 +2745,10 @@ declare const schemas: {
|
|
|
2720
2745
|
}, zod_v4_core.$strip>>;
|
|
2721
2746
|
}, zod_v4_core.$strip>>;
|
|
2722
2747
|
}, zod_v4_core.$strip>;
|
|
2748
|
+
readonly ReservationMessageStatus: zod.ZodEnum<{
|
|
2749
|
+
draft: "draft";
|
|
2750
|
+
sent: "sent";
|
|
2751
|
+
}>;
|
|
2723
2752
|
readonly ReservationPromotionStatus: zod.ZodEnum<{
|
|
2724
2753
|
expired: "expired";
|
|
2725
2754
|
applied: "applied";
|
|
@@ -2840,10 +2869,10 @@ declare const schemas: {
|
|
|
2840
2869
|
requestedStartTime: zod.ZodOptional<zod.ZodString>;
|
|
2841
2870
|
requestedEndTime: zod.ZodOptional<zod.ZodString>;
|
|
2842
2871
|
partySize: zod.ZodInt;
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2872
|
+
guestFirstName: zod.ZodString;
|
|
2873
|
+
guestLastName: zod.ZodString;
|
|
2874
|
+
guestEmail: zod.ZodEmail;
|
|
2875
|
+
guestPhone: zod.ZodOptional<zod.ZodString>;
|
|
2847
2876
|
message: zod.ZodOptional<zod.ZodString>;
|
|
2848
2877
|
source: zod.ZodOptional<zod.ZodEnum<{
|
|
2849
2878
|
website: "website";
|
|
@@ -2859,10 +2888,10 @@ declare const schemas: {
|
|
|
2859
2888
|
requestedStartTime: zod.ZodNullable<zod.ZodString>;
|
|
2860
2889
|
requestedEndTime: zod.ZodNullable<zod.ZodString>;
|
|
2861
2890
|
partySize: zod.ZodInt;
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2891
|
+
guestFirstName: zod.ZodString;
|
|
2892
|
+
guestLastName: zod.ZodString;
|
|
2893
|
+
guestEmail: zod.ZodString;
|
|
2894
|
+
guestPhone: zod.ZodNullable<zod.ZodString>;
|
|
2866
2895
|
message: zod.ZodNullable<zod.ZodString>;
|
|
2867
2896
|
source: zod.ZodEnum<{
|
|
2868
2897
|
website: "website";
|
|
@@ -3037,6 +3066,12 @@ declare const schemas: {
|
|
|
3037
3066
|
base: "base";
|
|
3038
3067
|
addon: "addon";
|
|
3039
3068
|
}>;
|
|
3069
|
+
readonly VenueEmailSenderStatus: zod.ZodEnum<{
|
|
3070
|
+
pending: "pending";
|
|
3071
|
+
failed: "failed";
|
|
3072
|
+
verified: "verified";
|
|
3073
|
+
temporary_failure: "temporary_failure";
|
|
3074
|
+
}>;
|
|
3040
3075
|
readonly VenueType: zod.ZodEnum<{
|
|
3041
3076
|
restaurant: "restaurant";
|
|
3042
3077
|
fine_dining_restaurant: "fine_dining_restaurant";
|