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.
@@ -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
- customerId: zod.ZodOptional<zod.ZodString>;
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
- customerFirstName: zod.ZodOptional<zod.ZodString>;
682
- customerLastName: zod.ZodOptional<zod.ZodString>;
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
- customerFirstName: zod.ZodOptional<zod.ZodString>;
1128
- customerLastName: zod.ZodOptional<zod.ZodString>;
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
- customerId: zod.ZodString;
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
- customerId: zod.ZodString;
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
- customerId: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
2503
- customerFirstName: zod.ZodString;
2504
- customerLastName: zod.ZodString;
2505
- customerEmail: zod.ZodOptional<zod.ZodNullable<zod.ZodEmail>>;
2506
- customerPhone: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
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
- customerId: zod.ZodNullable<zod.ZodUUID>;
2534
- customerFirstName: zod.ZodString;
2535
- customerLastName: zod.ZodString;
2536
- customerEmail: zod.ZodNullable<zod.ZodString>;
2537
- customerPhone: zod.ZodNullable<zod.ZodString>;
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
- customerFirstName: zod.ZodOptional<zod.ZodString>;
2659
- customerLastName: zod.ZodOptional<zod.ZodString>;
2660
- customerEmail: zod.ZodOptional<zod.ZodString>;
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
- customerFirstName: zod.ZodString;
2844
- customerLastName: zod.ZodString;
2845
- customerEmail: zod.ZodEmail;
2846
- customerPhone: zod.ZodOptional<zod.ZodString>;
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
- customerFirstName: zod.ZodString;
2863
- customerLastName: zod.ZodString;
2864
- customerEmail: zod.ZodString;
2865
- customerPhone: zod.ZodNullable<zod.ZodString>;
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";
package/dist/schemas.mjs CHANGED
@@ -291,7 +291,7 @@ const confirmOrderResponseSchema = z.object({
291
291
  quickReferenceNumber: z.nullable(
292
292
  z.int().min(-9007199254740991).max(9007199254740991)
293
293
  ),
294
- customerId: z.optional(z.string())
294
+ guestId: z.optional(z.string())
295
295
  });
296
296
 
297
297
  const contactPreferenceSchema = z.enum(["email", "phone", "sms", "none"]);
@@ -572,11 +572,24 @@ const createAdResponseSchema = z.object({
572
572
  get status() {
573
573
  return adStatusSchema;
574
574
  },
575
+ campaignId: z.nullable(z.string()),
575
576
  content: z.union([
576
577
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
577
578
  z.array(z.any()),
578
579
  z.object({}).catchall(z.any())
579
580
  ]),
581
+ keywords: z.union([
582
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
583
+ z.array(z.any()),
584
+ z.object({}).catchall(z.any())
585
+ ]),
586
+ negativeKeywords: z.union([
587
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
588
+ z.array(z.any()),
589
+ z.object({}).catchall(z.any())
590
+ ]),
591
+ publishedContentHash: z.nullable(z.string()),
592
+ publishedAt: z.nullable(z.any()),
580
593
  createdBy: z.nullable(z.string()),
581
594
  updatedBy: z.nullable(z.string()),
582
595
  createdAt: z.nullable(z.any()),
@@ -712,8 +725,8 @@ const createPaymentIntentRequestSchema = z.object({
712
725
  return fulfillmentTypeSchema;
713
726
  },
714
727
  fulfillmentAt: z.iso.datetime().nullish(),
715
- customerFirstName: z.optional(z.string()),
716
- customerLastName: z.optional(z.string()),
728
+ guestFirstName: z.optional(z.string()),
729
+ guestLastName: z.optional(z.string()),
717
730
  teamOrderPublicId: z.optional(z.string()),
718
731
  declaredReturns: z.optional(
719
732
  z.array(
@@ -782,11 +795,24 @@ const deleteAdResponseSchema = z.object({
782
795
  get status() {
783
796
  return adStatusSchema;
784
797
  },
798
+ campaignId: z.nullable(z.string()),
785
799
  content: z.union([
786
800
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
787
801
  z.array(z.any()),
788
802
  z.object({}).catchall(z.any())
789
803
  ]),
804
+ keywords: z.union([
805
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
806
+ z.array(z.any()),
807
+ z.object({}).catchall(z.any())
808
+ ]),
809
+ negativeKeywords: z.union([
810
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
811
+ z.array(z.any()),
812
+ z.object({}).catchall(z.any())
813
+ ]),
814
+ publishedContentHash: z.nullable(z.string()),
815
+ publishedAt: z.nullable(z.any()),
790
816
  createdBy: z.nullable(z.string()),
791
817
  updatedBy: z.nullable(z.string()),
792
818
  createdAt: z.nullable(z.any()),
@@ -880,11 +906,24 @@ const editAdResponseSchema = z.object({
880
906
  get status() {
881
907
  return adStatusSchema;
882
908
  },
909
+ campaignId: z.nullable(z.string()),
883
910
  content: z.union([
884
911
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
885
912
  z.array(z.any()),
886
913
  z.object({}).catchall(z.any())
887
914
  ]),
915
+ keywords: z.union([
916
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
917
+ z.array(z.any()),
918
+ z.object({}).catchall(z.any())
919
+ ]),
920
+ negativeKeywords: z.union([
921
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
922
+ z.array(z.any()),
923
+ z.object({}).catchall(z.any())
924
+ ]),
925
+ publishedContentHash: z.nullable(z.string()),
926
+ publishedAt: z.nullable(z.any()),
888
927
  createdBy: z.nullable(z.string()),
889
928
  updatedBy: z.nullable(z.string()),
890
929
  createdAt: z.nullable(z.any()),
@@ -1162,11 +1201,24 @@ const fetchAdResponseSchema = z.object({
1162
1201
  get status() {
1163
1202
  return adStatusSchema;
1164
1203
  },
1204
+ campaignId: z.nullable(z.string()),
1165
1205
  content: z.union([
1166
1206
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1167
1207
  z.array(z.any()),
1168
1208
  z.object({}).catchall(z.any())
1169
1209
  ]),
1210
+ keywords: z.union([
1211
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1212
+ z.array(z.any()),
1213
+ z.object({}).catchall(z.any())
1214
+ ]),
1215
+ negativeKeywords: z.union([
1216
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1217
+ z.array(z.any()),
1218
+ z.object({}).catchall(z.any())
1219
+ ]),
1220
+ publishedContentHash: z.nullable(z.string()),
1221
+ publishedAt: z.nullable(z.any()),
1170
1222
  createdBy: z.nullable(z.string()),
1171
1223
  updatedBy: z.nullable(z.string()),
1172
1224
  createdAt: z.nullable(z.any()),
@@ -1187,11 +1239,24 @@ const fetchAdsResponseSchema = z.array(
1187
1239
  get status() {
1188
1240
  return adStatusSchema;
1189
1241
  },
1242
+ campaignId: z.nullable(z.string()),
1190
1243
  content: z.union([
1191
1244
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1192
1245
  z.array(z.any()),
1193
1246
  z.object({}).catchall(z.any())
1194
1247
  ]),
1248
+ keywords: z.union([
1249
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1250
+ z.array(z.any()),
1251
+ z.object({}).catchall(z.any())
1252
+ ]),
1253
+ negativeKeywords: z.union([
1254
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1255
+ z.array(z.any()),
1256
+ z.object({}).catchall(z.any())
1257
+ ]),
1258
+ publishedContentHash: z.nullable(z.string()),
1259
+ publishedAt: z.nullable(z.any()),
1195
1260
  createdBy: z.nullable(z.string()),
1196
1261
  updatedBy: z.nullable(z.string()),
1197
1262
  createdAt: z.nullable(z.any()),
@@ -1210,8 +1275,8 @@ const fetchAreaBookingsResponseSchema = z.array(
1210
1275
  get status() {
1211
1276
  return areaBookingStatusSchema;
1212
1277
  },
1213
- customerFirstName: z.optional(z.string()),
1214
- customerLastName: z.optional(z.string()),
1278
+ guestFirstName: z.optional(z.string()),
1279
+ guestLastName: z.optional(z.string()),
1215
1280
  totalPrice: z.optional(
1216
1281
  z.int().min(-9007199254740991).max(9007199254740991)
1217
1282
  ),
@@ -2139,7 +2204,7 @@ const fetchTeamOrderResponseSchema = z.object({
2139
2204
  }),
2140
2205
  participants: z.array(
2141
2206
  z.object({
2142
- customerId: z.string(),
2207
+ guestId: z.string(),
2143
2208
  basketId: z.nullable(z.string()),
2144
2209
  orderId: z.nullable(z.string()),
2145
2210
  participantNumber: z.nullable(z.int().max(9007199254740991).gt(0)),
@@ -2384,7 +2449,7 @@ const joinTeamOrderRequestSchema = z.object({
2384
2449
  const joinTeamOrderResponseSchema = z.object({
2385
2450
  teamOrderId: z.uuid(),
2386
2451
  basketId: z.string(),
2387
- customerId: z.string(),
2452
+ guestId: z.string(),
2388
2453
  get status() {
2389
2454
  return teamOrderStatusSchema;
2390
2455
  },
@@ -2592,11 +2657,11 @@ const makeReservationRequestSchema = z.object({
2592
2657
  duration: z.int().min(30).max(300).describe(
2593
2658
  "Reservation duration in minutes. Defaults to 120 minutes if not specified. Range: 30-300 minutes."
2594
2659
  ).nullish(),
2595
- customerId: z.uuid().describe("UUID of existing customer profile if available").nullish(),
2596
- customerFirstName: z.string().min(1).max(50).describe("First name of the customer making the reservation"),
2597
- customerLastName: z.string().min(1).max(50).describe("Last name of the customer making the reservation"),
2598
- customerEmail: z.email().describe("Email address for reservation confirmations and updates").nullish(),
2599
- customerPhone: z.string().min(1).describe(
2660
+ guestId: z.uuid().describe("UUID of existing customer profile if available").nullish(),
2661
+ guestFirstName: z.string().min(1).max(50).describe("First name of the customer making the reservation"),
2662
+ guestLastName: z.string().min(1).max(50).describe("Last name of the customer making the reservation"),
2663
+ guestEmail: z.email().describe("Email address for reservation confirmations and updates").nullish(),
2664
+ guestPhone: z.string().min(1).describe(
2600
2665
  "Phone number for reservation confirmations and updates. Include country code for international numbers."
2601
2666
  ).nullish(),
2602
2667
  get contactPreference() {
@@ -2643,13 +2708,13 @@ const makeReservationResponseSchema = z.object({
2643
2708
  duration: z.nullable(
2644
2709
  z.int().min(-9007199254740991).max(9007199254740991).describe("Reservation duration in minutes")
2645
2710
  ),
2646
- customerId: z.nullable(
2711
+ guestId: z.nullable(
2647
2712
  z.uuid().describe("Link to customer profile if exists")
2648
2713
  ),
2649
- customerFirstName: z.string().describe("First name of the customer"),
2650
- customerLastName: z.string().describe("Last name of the customer"),
2651
- customerEmail: z.nullable(z.string().describe("Customer email address")),
2652
- customerPhone: z.nullable(z.string().describe("Customer phone number")),
2714
+ guestFirstName: z.string().describe("First name of the customer"),
2715
+ guestLastName: z.string().describe("Last name of the customer"),
2716
+ guestEmail: z.nullable(z.string().describe("Customer email address")),
2717
+ guestPhone: z.nullable(z.string().describe("Customer phone number")),
2653
2718
  get contactPreference() {
2654
2719
  return contactPreferenceSchema;
2655
2720
  },
@@ -2740,9 +2805,9 @@ const placeOrderRequestSchema = z.object({
2740
2805
  return fulfillmentTypeSchema;
2741
2806
  },
2742
2807
  fulfillmentAt: z.iso.datetime().nullish(),
2743
- customerFirstName: z.optional(z.string()),
2744
- customerLastName: z.optional(z.string()),
2745
- customerEmail: z.optional(z.string()),
2808
+ guestFirstName: z.optional(z.string()),
2809
+ guestLastName: z.optional(z.string()),
2810
+ guestEmail: z.optional(z.string()),
2746
2811
  declaredReturns: z.optional(
2747
2812
  z.array(
2748
2813
  z.object({
@@ -2798,6 +2863,8 @@ const removeFromBasketResponseSchema = z.object({
2798
2863
  }
2799
2864
  });
2800
2865
 
2866
+ const reservationMessageStatusSchema = z.enum(["draft", "sent"]);
2867
+
2801
2868
  const reservationPromotionStatusSchema = z.enum([
2802
2869
  "applied",
2803
2870
  "redeemed",
@@ -2895,10 +2962,10 @@ const submitAreaBookingPayloadSchema = z.object({
2895
2962
  requestedStartTime: z.optional(z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
2896
2963
  requestedEndTime: z.optional(z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
2897
2964
  partySize: z.int().max(9007199254740991).gt(0),
2898
- customerFirstName: z.string().min(1),
2899
- customerLastName: z.string().min(1),
2900
- customerEmail: z.email(),
2901
- customerPhone: z.optional(z.string()),
2965
+ guestFirstName: z.string().min(1),
2966
+ guestLastName: z.string().min(1),
2967
+ guestEmail: z.email(),
2968
+ guestPhone: z.optional(z.string()),
2902
2969
  message: z.optional(z.string()),
2903
2970
  get source() {
2904
2971
  return areaBookingRequestSourceSchema.optional();
@@ -2913,10 +2980,10 @@ const submitAreaBookingRequestResponseSchema = z.object({
2913
2980
  requestedStartTime: z.nullable(z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
2914
2981
  requestedEndTime: z.nullable(z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
2915
2982
  partySize: z.int().min(-9007199254740991).max(9007199254740991),
2916
- customerFirstName: z.string(),
2917
- customerLastName: z.string(),
2918
- customerEmail: z.string(),
2919
- customerPhone: z.nullable(z.string()),
2983
+ guestFirstName: z.string(),
2984
+ guestLastName: z.string(),
2985
+ guestEmail: z.string(),
2986
+ guestPhone: z.nullable(z.string()),
2920
2987
  message: z.nullable(z.string()),
2921
2988
  get source() {
2922
2989
  return areaBookingRequestSourceSchema;
@@ -3067,6 +3134,13 @@ const venueAssetTypeSchema = z.enum([
3067
3134
 
3068
3135
  const venueChargeKindSchema = z.enum(["base", "addon"]);
3069
3136
 
3137
+ const venueEmailSenderStatusSchema = z.enum([
3138
+ "pending",
3139
+ "verified",
3140
+ "failed",
3141
+ "temporary_failure"
3142
+ ]);
3143
+
3070
3144
  const venueTypeSchema = z.enum([
3071
3145
  "restaurant",
3072
3146
  "fine_dining_restaurant",
@@ -3194,6 +3268,7 @@ const schemas = {
3194
3268
  ReduceDeltaPaymentIntentRequest: reduceDeltaPaymentIntentRequestSchema,
3195
3269
  ReduceDeltaPaymentIntentResponse: reduceDeltaPaymentIntentResponseSchema,
3196
3270
  RemoveFromBasketResponse: removeFromBasketResponseSchema,
3271
+ ReservationMessageStatus: reservationMessageStatusSchema,
3197
3272
  ReservationPromotionStatus: reservationPromotionStatusSchema,
3198
3273
  ReservationStatus: reservationStatusSchema,
3199
3274
  RitualType: ritualTypeSchema,
@@ -3230,6 +3305,7 @@ const schemas = {
3230
3305
  UploadAssetResponse: uploadAssetResponseSchema,
3231
3306
  VenueAssetType: venueAssetTypeSchema,
3232
3307
  VenueChargeKind: venueChargeKindSchema,
3308
+ VenueEmailSenderStatus: venueEmailSenderStatusSchema,
3233
3309
  VenueType: venueTypeSchema,
3234
3310
  VenueUserStatus: venueUserStatusSchema
3235
3311
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "order3000",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "order3000 node.js sdk",
5
5
  "main": "./dist/client.cjs",
6
6
  "module": "./dist/client.mjs",
@@ -47,7 +47,7 @@
47
47
  "prettier": "^3.7.4",
48
48
  "tsx": "^4.19.2",
49
49
  "typescript": "^5.9.3",
50
- "@kolaveri/eslint-config": "1.10.1",
50
+ "@kolaveri/eslint-config": "1.10.2",
51
51
  "@kolaveri/prettier-config": "1.0.6",
52
52
  "@kolaveri/tsconfig": "1.0.1"
53
53
  },