order3000 0.23.0 → 0.24.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 CHANGED
@@ -255,10 +255,14 @@ interface components {
255
255
  venueId: string;
256
256
  accessor: string;
257
257
  slug: {
258
- [key: string]: string;
258
+ [key: string]: {
259
+ [key: string]: unknown;
260
+ };
259
261
  };
260
262
  title: {
261
- [key: string]: string;
263
+ [key: string]: {
264
+ [key: string]: unknown;
265
+ };
262
266
  };
263
267
  excerpt: {
264
268
  [key: string]: {
@@ -288,10 +292,14 @@ interface components {
288
292
  venueId: string;
289
293
  accessor: string;
290
294
  slug: {
291
- [key: string]: string;
295
+ [key: string]: {
296
+ [key: string]: unknown;
297
+ };
292
298
  };
293
299
  title: {
294
- [key: string]: string;
300
+ [key: string]: {
301
+ [key: string]: unknown;
302
+ };
295
303
  };
296
304
  excerpt: {
297
305
  [key: string]: {
@@ -313,10 +321,14 @@ interface components {
313
321
  /** PatchArticleRequest */
314
322
  PatchArticleRequest: {
315
323
  slug?: {
316
- [key: string]: string;
324
+ [key: string]: string | {
325
+ [key: string]: unknown;
326
+ };
317
327
  };
318
328
  title?: {
319
- [key: string]: string;
329
+ [key: string]: string | {
330
+ [key: string]: unknown;
331
+ };
320
332
  };
321
333
  excerpt?: {
322
334
  [key: string]: string | {
@@ -340,10 +352,14 @@ interface components {
340
352
  venueId: string;
341
353
  accessor: string;
342
354
  slug: {
343
- [key: string]: string;
355
+ [key: string]: {
356
+ [key: string]: unknown;
357
+ };
344
358
  };
345
359
  title: {
346
- [key: string]: string;
360
+ [key: string]: {
361
+ [key: string]: unknown;
362
+ };
347
363
  };
348
364
  excerpt: {
349
365
  [key: string]: {
package/dist/client.d.mts CHANGED
@@ -255,10 +255,14 @@ interface components {
255
255
  venueId: string;
256
256
  accessor: string;
257
257
  slug: {
258
- [key: string]: string;
258
+ [key: string]: {
259
+ [key: string]: unknown;
260
+ };
259
261
  };
260
262
  title: {
261
- [key: string]: string;
263
+ [key: string]: {
264
+ [key: string]: unknown;
265
+ };
262
266
  };
263
267
  excerpt: {
264
268
  [key: string]: {
@@ -288,10 +292,14 @@ interface components {
288
292
  venueId: string;
289
293
  accessor: string;
290
294
  slug: {
291
- [key: string]: string;
295
+ [key: string]: {
296
+ [key: string]: unknown;
297
+ };
292
298
  };
293
299
  title: {
294
- [key: string]: string;
300
+ [key: string]: {
301
+ [key: string]: unknown;
302
+ };
295
303
  };
296
304
  excerpt: {
297
305
  [key: string]: {
@@ -313,10 +321,14 @@ interface components {
313
321
  /** PatchArticleRequest */
314
322
  PatchArticleRequest: {
315
323
  slug?: {
316
- [key: string]: string;
324
+ [key: string]: string | {
325
+ [key: string]: unknown;
326
+ };
317
327
  };
318
328
  title?: {
319
- [key: string]: string;
329
+ [key: string]: string | {
330
+ [key: string]: unknown;
331
+ };
320
332
  };
321
333
  excerpt?: {
322
334
  [key: string]: string | {
@@ -340,10 +352,14 @@ interface components {
340
352
  venueId: string;
341
353
  accessor: string;
342
354
  slug: {
343
- [key: string]: string;
355
+ [key: string]: {
356
+ [key: string]: unknown;
357
+ };
344
358
  };
345
359
  title: {
346
- [key: string]: string;
360
+ [key: string]: {
361
+ [key: string]: unknown;
362
+ };
347
363
  };
348
364
  excerpt: {
349
365
  [key: string]: {
package/dist/schemas.cjs CHANGED
@@ -10,11 +10,11 @@ const SubmitAreaBookingRequest = zod.z.object({ requestedDate: zod.z.string().re
10
10
  const SubmitAreaBookingResponse = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), areaId: zod.z.string(), requestedDate: zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/), requestedStartTime: zod.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).nullable(), requestedEndTime: zod.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).nullable(), partySize: zod.z.number().int().gte(-9007199254740991).lte(9007199254740991), customerFirstName: zod.z.string(), customerLastName: zod.z.string(), customerEmail: zod.z.string(), customerPhone: zod.z.string().nullable(), message: zod.z.string().nullable(), source: zod.z.enum(["website", "phone", "walk_in"]), status: zod.z.enum(["pending", "approved", "rejected", "cancelled"]), areaBookingId: zod.z.string().nullable(), createdAt: zod.z.string().nullable(), updatedAt: zod.z.string().nullable() }).strict();
11
11
  const includeDrafts = zod.z.union([zod.z.literal("true"), zod.z.literal("false")]).optional();
12
12
  const FeatureImage = zod.z.object({ id: zod.z.string(), publicUrl: zod.z.string().nullable(), locale: zod.z.string(), caption: zod.z.object({}).partial().strict().passthrough().nullable(), alt: zod.z.object({}).partial().strict().passthrough().nullable(), captionByLocale: zod.z.object({}).partial().strict().passthrough(), altByLocale: zod.z.object({}).partial().strict().passthrough() }).strict();
13
- const Article = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.string()), title: zod.z.record(zod.z.string()), excerpt: zod.z.record(zod.z.object({}).partial().strict().passthrough()), content: zod.z.object({}).partial().strict().passthrough().nullable(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-2147483648).lte(2147483647), publishedAt: zod.z.unknown().nullable(), createdAt: zod.z.unknown().nullable(), updatedAt: zod.z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
13
+ const Article = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.object({}).partial().strict().passthrough()), title: zod.z.record(zod.z.object({}).partial().strict().passthrough()), excerpt: zod.z.record(zod.z.object({}).partial().strict().passthrough()), content: zod.z.object({}).partial().strict().passthrough().nullable(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-2147483648).lte(2147483647), publishedAt: zod.z.unknown().nullable(), createdAt: zod.z.unknown().nullable(), updatedAt: zod.z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
14
14
  const ListArticlesResponse = zod.z.array(Article);
15
- const GetArticleResponse = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.string()), title: zod.z.record(zod.z.string()), excerpt: zod.z.record(zod.z.object({}).partial().strict().passthrough()), content: zod.z.object({}).partial().strict().passthrough().nullable(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-2147483648).lte(2147483647), publishedAt: zod.z.unknown().nullable(), createdAt: zod.z.unknown().nullable(), updatedAt: zod.z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
16
- const PatchArticleRequest = zod.z.object({ slug: zod.z.record(zod.z.string()), title: zod.z.record(zod.z.string()), excerpt: zod.z.record(zod.z.union([zod.z.string(), zod.z.object({}).partial().strict().passthrough()])), content: zod.z.object({}).partial().strict().passthrough(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-9007199254740991).lte(9007199254740991) }).partial().strict();
17
- const PatchArticleResponse = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.string()), title: zod.z.record(zod.z.string()), excerpt: zod.z.record(zod.z.object({}).partial().strict().passthrough()), content: zod.z.object({}).partial().strict().passthrough().nullable(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-2147483648).lte(2147483647), publishedAt: zod.z.unknown().nullable(), createdAt: zod.z.unknown().nullable(), updatedAt: zod.z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
15
+ const GetArticleResponse = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.object({}).partial().strict().passthrough()), title: zod.z.record(zod.z.object({}).partial().strict().passthrough()), excerpt: zod.z.record(zod.z.object({}).partial().strict().passthrough()), content: zod.z.object({}).partial().strict().passthrough().nullable(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-2147483648).lte(2147483647), publishedAt: zod.z.unknown().nullable(), createdAt: zod.z.unknown().nullable(), updatedAt: zod.z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
16
+ const PatchArticleRequest = zod.z.object({ slug: zod.z.record(zod.z.union([zod.z.string(), zod.z.object({}).partial().strict().passthrough()])), title: zod.z.record(zod.z.union([zod.z.string(), zod.z.object({}).partial().strict().passthrough()])), excerpt: zod.z.record(zod.z.union([zod.z.string(), zod.z.object({}).partial().strict().passthrough()])), content: zod.z.object({}).partial().strict().passthrough(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-9007199254740991).lte(9007199254740991) }).partial().strict();
17
+ const PatchArticleResponse = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.object({}).partial().strict().passthrough()), title: zod.z.record(zod.z.object({}).partial().strict().passthrough()), excerpt: zod.z.record(zod.z.object({}).partial().strict().passthrough()), content: zod.z.object({}).partial().strict().passthrough().nullable(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-2147483648).lte(2147483647), publishedAt: zod.z.unknown().nullable(), createdAt: zod.z.unknown().nullable(), updatedAt: zod.z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
18
18
  const UploadFeatureImageRequest = zod.z.object({ file: zod.z.unknown() }).strict();
19
19
  const PatchFeatureImageRequest = zod.z.object({ caption: zod.z.object({}).partial().strict().passthrough(), alt: zod.z.object({}).partial().strict().passthrough() }).partial().strict();
20
20
  const AddToBasketRequest = zod.z.object({ venueId: zod.z.string().regex(/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/).uuid(), sessionId: zod.z.string().min(1), menuItems: zod.z.array(zod.z.object({ menuItemId: zod.z.string().min(1), role: zod.z.string().optional(), quantity: zod.z.number().gt(0).optional(), unit: zod.z.enum(["grams", "kilograms", "liters", "milliliters", "pieces"]).optional() }).strict()).min(1), metadata: zod.z.object({}).partial().strict().passthrough().optional() }).strict();
@@ -687,8 +687,8 @@ declare const schemas: {
687
687
  id: z.ZodString;
688
688
  venueId: z.ZodString;
689
689
  accessor: z.ZodString;
690
- slug: z.ZodRecord<z.ZodString, z.ZodString>;
691
- title: z.ZodRecord<z.ZodString, z.ZodString>;
690
+ slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
691
+ title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
692
692
  excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
693
693
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
694
694
  tags: z.ZodArray<z.ZodString, "many">;
@@ -736,8 +736,8 @@ declare const schemas: {
736
736
  venueId: string;
737
737
  accessor: string;
738
738
  tags: string[];
739
- slug: Record<string, string>;
740
- title: Record<string, string>;
739
+ slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
740
+ title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
741
741
  excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
742
742
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
743
743
  isActive: boolean;
@@ -764,8 +764,8 @@ declare const schemas: {
764
764
  venueId: string;
765
765
  accessor: string;
766
766
  tags: string[];
767
- slug: Record<string, string>;
768
- title: Record<string, string>;
767
+ slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
768
+ title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
769
769
  excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
770
770
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
771
771
  isActive: boolean;
@@ -792,8 +792,8 @@ declare const schemas: {
792
792
  id: z.ZodString;
793
793
  venueId: z.ZodString;
794
794
  accessor: z.ZodString;
795
- slug: z.ZodRecord<z.ZodString, z.ZodString>;
796
- title: z.ZodRecord<z.ZodString, z.ZodString>;
795
+ slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
796
+ title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
797
797
  excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
798
798
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
799
799
  tags: z.ZodArray<z.ZodString, "many">;
@@ -841,8 +841,8 @@ declare const schemas: {
841
841
  venueId: string;
842
842
  accessor: string;
843
843
  tags: string[];
844
- slug: Record<string, string>;
845
- title: Record<string, string>;
844
+ slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
845
+ title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
846
846
  excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
847
847
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
848
848
  isActive: boolean;
@@ -869,8 +869,8 @@ declare const schemas: {
869
869
  venueId: string;
870
870
  accessor: string;
871
871
  tags: string[];
872
- slug: Record<string, string>;
873
- title: Record<string, string>;
872
+ slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
873
+ title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
874
874
  excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
875
875
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
876
876
  isActive: boolean;
@@ -897,8 +897,8 @@ declare const schemas: {
897
897
  id: z.ZodString;
898
898
  venueId: z.ZodString;
899
899
  accessor: z.ZodString;
900
- slug: z.ZodRecord<z.ZodString, z.ZodString>;
901
- title: z.ZodRecord<z.ZodString, z.ZodString>;
900
+ slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
901
+ title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
902
902
  excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
903
903
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
904
904
  tags: z.ZodArray<z.ZodString, "many">;
@@ -946,8 +946,8 @@ declare const schemas: {
946
946
  venueId: string;
947
947
  accessor: string;
948
948
  tags: string[];
949
- slug: Record<string, string>;
950
- title: Record<string, string>;
949
+ slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
950
+ title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
951
951
  excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
952
952
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
953
953
  isActive: boolean;
@@ -974,8 +974,8 @@ declare const schemas: {
974
974
  venueId: string;
975
975
  accessor: string;
976
976
  tags: string[];
977
- slug: Record<string, string>;
978
- title: Record<string, string>;
977
+ slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
978
+ title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
979
979
  excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
980
980
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
981
981
  isActive: boolean;
@@ -999,8 +999,8 @@ declare const schemas: {
999
999
  publishedAt?: unknown;
1000
1000
  }>;
1001
1001
  PatchArticleRequest: z.ZodObject<{
1002
- slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1003
- title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1002
+ slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
1003
+ title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
1004
1004
  excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
1005
1005
  content: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1006
1006
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1009,8 +1009,8 @@ declare const schemas: {
1009
1009
  priority: z.ZodOptional<z.ZodNumber>;
1010
1010
  }, "strict", z.ZodTypeAny, {
1011
1011
  tags?: string[] | undefined;
1012
- slug?: Record<string, string> | undefined;
1013
- title?: Record<string, string> | undefined;
1012
+ slug?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1013
+ title?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1014
1014
  excerpt?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1015
1015
  content?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1016
1016
  isActive?: boolean | undefined;
@@ -1018,8 +1018,8 @@ declare const schemas: {
1018
1018
  priority?: number | undefined;
1019
1019
  }, {
1020
1020
  tags?: string[] | undefined;
1021
- slug?: Record<string, string> | undefined;
1022
- title?: Record<string, string> | undefined;
1021
+ slug?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1022
+ title?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1023
1023
  excerpt?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1024
1024
  content?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1025
1025
  isActive?: boolean | undefined;
@@ -1030,8 +1030,8 @@ declare const schemas: {
1030
1030
  id: z.ZodString;
1031
1031
  venueId: z.ZodString;
1032
1032
  accessor: z.ZodString;
1033
- slug: z.ZodRecord<z.ZodString, z.ZodString>;
1034
- title: z.ZodRecord<z.ZodString, z.ZodString>;
1033
+ slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1034
+ title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1035
1035
  excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1036
1036
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1037
1037
  tags: z.ZodArray<z.ZodString, "many">;
@@ -1079,8 +1079,8 @@ declare const schemas: {
1079
1079
  venueId: string;
1080
1080
  accessor: string;
1081
1081
  tags: string[];
1082
- slug: Record<string, string>;
1083
- title: Record<string, string>;
1082
+ slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
1083
+ title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
1084
1084
  excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
1085
1085
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
1086
1086
  isActive: boolean;
@@ -1107,8 +1107,8 @@ declare const schemas: {
1107
1107
  venueId: string;
1108
1108
  accessor: string;
1109
1109
  tags: string[];
1110
- slug: Record<string, string>;
1111
- title: Record<string, string>;
1110
+ slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1111
+ title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1112
1112
  excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1113
1113
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1114
1114
  isActive: boolean;
@@ -687,8 +687,8 @@ declare const schemas: {
687
687
  id: z.ZodString;
688
688
  venueId: z.ZodString;
689
689
  accessor: z.ZodString;
690
- slug: z.ZodRecord<z.ZodString, z.ZodString>;
691
- title: z.ZodRecord<z.ZodString, z.ZodString>;
690
+ slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
691
+ title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
692
692
  excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
693
693
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
694
694
  tags: z.ZodArray<z.ZodString, "many">;
@@ -736,8 +736,8 @@ declare const schemas: {
736
736
  venueId: string;
737
737
  accessor: string;
738
738
  tags: string[];
739
- slug: Record<string, string>;
740
- title: Record<string, string>;
739
+ slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
740
+ title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
741
741
  excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
742
742
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
743
743
  isActive: boolean;
@@ -764,8 +764,8 @@ declare const schemas: {
764
764
  venueId: string;
765
765
  accessor: string;
766
766
  tags: string[];
767
- slug: Record<string, string>;
768
- title: Record<string, string>;
767
+ slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
768
+ title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
769
769
  excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
770
770
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
771
771
  isActive: boolean;
@@ -792,8 +792,8 @@ declare const schemas: {
792
792
  id: z.ZodString;
793
793
  venueId: z.ZodString;
794
794
  accessor: z.ZodString;
795
- slug: z.ZodRecord<z.ZodString, z.ZodString>;
796
- title: z.ZodRecord<z.ZodString, z.ZodString>;
795
+ slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
796
+ title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
797
797
  excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
798
798
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
799
799
  tags: z.ZodArray<z.ZodString, "many">;
@@ -841,8 +841,8 @@ declare const schemas: {
841
841
  venueId: string;
842
842
  accessor: string;
843
843
  tags: string[];
844
- slug: Record<string, string>;
845
- title: Record<string, string>;
844
+ slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
845
+ title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
846
846
  excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
847
847
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
848
848
  isActive: boolean;
@@ -869,8 +869,8 @@ declare const schemas: {
869
869
  venueId: string;
870
870
  accessor: string;
871
871
  tags: string[];
872
- slug: Record<string, string>;
873
- title: Record<string, string>;
872
+ slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
873
+ title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
874
874
  excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
875
875
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
876
876
  isActive: boolean;
@@ -897,8 +897,8 @@ declare const schemas: {
897
897
  id: z.ZodString;
898
898
  venueId: z.ZodString;
899
899
  accessor: z.ZodString;
900
- slug: z.ZodRecord<z.ZodString, z.ZodString>;
901
- title: z.ZodRecord<z.ZodString, z.ZodString>;
900
+ slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
901
+ title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
902
902
  excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
903
903
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
904
904
  tags: z.ZodArray<z.ZodString, "many">;
@@ -946,8 +946,8 @@ declare const schemas: {
946
946
  venueId: string;
947
947
  accessor: string;
948
948
  tags: string[];
949
- slug: Record<string, string>;
950
- title: Record<string, string>;
949
+ slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
950
+ title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
951
951
  excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
952
952
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
953
953
  isActive: boolean;
@@ -974,8 +974,8 @@ declare const schemas: {
974
974
  venueId: string;
975
975
  accessor: string;
976
976
  tags: string[];
977
- slug: Record<string, string>;
978
- title: Record<string, string>;
977
+ slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
978
+ title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
979
979
  excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
980
980
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
981
981
  isActive: boolean;
@@ -999,8 +999,8 @@ declare const schemas: {
999
999
  publishedAt?: unknown;
1000
1000
  }>;
1001
1001
  PatchArticleRequest: z.ZodObject<{
1002
- slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1003
- title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1002
+ slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
1003
+ title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
1004
1004
  excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
1005
1005
  content: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1006
1006
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1009,8 +1009,8 @@ declare const schemas: {
1009
1009
  priority: z.ZodOptional<z.ZodNumber>;
1010
1010
  }, "strict", z.ZodTypeAny, {
1011
1011
  tags?: string[] | undefined;
1012
- slug?: Record<string, string> | undefined;
1013
- title?: Record<string, string> | undefined;
1012
+ slug?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1013
+ title?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1014
1014
  excerpt?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1015
1015
  content?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1016
1016
  isActive?: boolean | undefined;
@@ -1018,8 +1018,8 @@ declare const schemas: {
1018
1018
  priority?: number | undefined;
1019
1019
  }, {
1020
1020
  tags?: string[] | undefined;
1021
- slug?: Record<string, string> | undefined;
1022
- title?: Record<string, string> | undefined;
1021
+ slug?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1022
+ title?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1023
1023
  excerpt?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1024
1024
  content?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1025
1025
  isActive?: boolean | undefined;
@@ -1030,8 +1030,8 @@ declare const schemas: {
1030
1030
  id: z.ZodString;
1031
1031
  venueId: z.ZodString;
1032
1032
  accessor: z.ZodString;
1033
- slug: z.ZodRecord<z.ZodString, z.ZodString>;
1034
- title: z.ZodRecord<z.ZodString, z.ZodString>;
1033
+ slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1034
+ title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1035
1035
  excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1036
1036
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1037
1037
  tags: z.ZodArray<z.ZodString, "many">;
@@ -1079,8 +1079,8 @@ declare const schemas: {
1079
1079
  venueId: string;
1080
1080
  accessor: string;
1081
1081
  tags: string[];
1082
- slug: Record<string, string>;
1083
- title: Record<string, string>;
1082
+ slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
1083
+ title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
1084
1084
  excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
1085
1085
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
1086
1086
  isActive: boolean;
@@ -1107,8 +1107,8 @@ declare const schemas: {
1107
1107
  venueId: string;
1108
1108
  accessor: string;
1109
1109
  tags: string[];
1110
- slug: Record<string, string>;
1111
- title: Record<string, string>;
1110
+ slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1111
+ title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1112
1112
  excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1113
1113
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1114
1114
  isActive: boolean;
package/dist/schemas.mjs CHANGED
@@ -8,11 +8,11 @@ const SubmitAreaBookingRequest = z.object({ requestedDate: z.string().regex(/^\d
8
8
  const SubmitAreaBookingResponse = z.object({ id: z.string(), venueId: z.string(), areaId: z.string(), requestedDate: z.string().regex(/^\d{4}-\d{2}-\d{2}$/), requestedStartTime: z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).nullable(), requestedEndTime: z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).nullable(), partySize: z.number().int().gte(-9007199254740991).lte(9007199254740991), customerFirstName: z.string(), customerLastName: z.string(), customerEmail: z.string(), customerPhone: z.string().nullable(), message: z.string().nullable(), source: z.enum(["website", "phone", "walk_in"]), status: z.enum(["pending", "approved", "rejected", "cancelled"]), areaBookingId: z.string().nullable(), createdAt: z.string().nullable(), updatedAt: z.string().nullable() }).strict();
9
9
  const includeDrafts = z.union([z.literal("true"), z.literal("false")]).optional();
10
10
  const FeatureImage = z.object({ id: z.string(), publicUrl: z.string().nullable(), locale: z.string(), caption: z.object({}).partial().strict().passthrough().nullable(), alt: z.object({}).partial().strict().passthrough().nullable(), captionByLocale: z.object({}).partial().strict().passthrough(), altByLocale: z.object({}).partial().strict().passthrough() }).strict();
11
- const Article = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.string()), title: z.record(z.string()), excerpt: z.record(z.object({}).partial().strict().passthrough()), content: z.object({}).partial().strict().passthrough().nullable(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-2147483648).lte(2147483647), publishedAt: z.unknown().nullable(), createdAt: z.unknown().nullable(), updatedAt: z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
11
+ const Article = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.object({}).partial().strict().passthrough()), title: z.record(z.object({}).partial().strict().passthrough()), excerpt: z.record(z.object({}).partial().strict().passthrough()), content: z.object({}).partial().strict().passthrough().nullable(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-2147483648).lte(2147483647), publishedAt: z.unknown().nullable(), createdAt: z.unknown().nullable(), updatedAt: z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
12
12
  const ListArticlesResponse = z.array(Article);
13
- const GetArticleResponse = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.string()), title: z.record(z.string()), excerpt: z.record(z.object({}).partial().strict().passthrough()), content: z.object({}).partial().strict().passthrough().nullable(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-2147483648).lte(2147483647), publishedAt: z.unknown().nullable(), createdAt: z.unknown().nullable(), updatedAt: z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
14
- const PatchArticleRequest = z.object({ slug: z.record(z.string()), title: z.record(z.string()), excerpt: z.record(z.union([z.string(), z.object({}).partial().strict().passthrough()])), content: z.object({}).partial().strict().passthrough(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-9007199254740991).lte(9007199254740991) }).partial().strict();
15
- const PatchArticleResponse = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.string()), title: z.record(z.string()), excerpt: z.record(z.object({}).partial().strict().passthrough()), content: z.object({}).partial().strict().passthrough().nullable(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-2147483648).lte(2147483647), publishedAt: z.unknown().nullable(), createdAt: z.unknown().nullable(), updatedAt: z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
13
+ const GetArticleResponse = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.object({}).partial().strict().passthrough()), title: z.record(z.object({}).partial().strict().passthrough()), excerpt: z.record(z.object({}).partial().strict().passthrough()), content: z.object({}).partial().strict().passthrough().nullable(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-2147483648).lte(2147483647), publishedAt: z.unknown().nullable(), createdAt: z.unknown().nullable(), updatedAt: z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
14
+ const PatchArticleRequest = z.object({ slug: z.record(z.union([z.string(), z.object({}).partial().strict().passthrough()])), title: z.record(z.union([z.string(), z.object({}).partial().strict().passthrough()])), excerpt: z.record(z.union([z.string(), z.object({}).partial().strict().passthrough()])), content: z.object({}).partial().strict().passthrough(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-9007199254740991).lte(9007199254740991) }).partial().strict();
15
+ const PatchArticleResponse = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.object({}).partial().strict().passthrough()), title: z.record(z.object({}).partial().strict().passthrough()), excerpt: z.record(z.object({}).partial().strict().passthrough()), content: z.object({}).partial().strict().passthrough().nullable(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-2147483648).lte(2147483647), publishedAt: z.unknown().nullable(), createdAt: z.unknown().nullable(), updatedAt: z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
16
16
  const UploadFeatureImageRequest = z.object({ file: z.unknown() }).strict();
17
17
  const PatchFeatureImageRequest = z.object({ caption: z.object({}).partial().strict().passthrough(), alt: z.object({}).partial().strict().passthrough() }).partial().strict();
18
18
  const AddToBasketRequest = z.object({ venueId: z.string().regex(/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/).uuid(), sessionId: z.string().min(1), menuItems: z.array(z.object({ menuItemId: z.string().min(1), role: z.string().optional(), quantity: z.number().gt(0).optional(), unit: z.enum(["grams", "kilograms", "liters", "milliliters", "pieces"]).optional() }).strict()).min(1), metadata: z.object({}).partial().strict().passthrough().optional() }).strict();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "order3000",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "order3000 node.js sdk",
5
5
  "main": "./dist/client.cjs",
6
6
  "module": "./dist/client.mjs",
@@ -46,9 +46,9 @@
46
46
  "prettier": "^3.7.4",
47
47
  "tsx": "^4.19.2",
48
48
  "typescript": "^5.9.3",
49
- "@kolaveri/eslint-config": "1.6.0",
50
49
  "@kolaveri/prettier-config": "1.0.6",
51
- "@kolaveri/tsconfig": "1.0.1"
50
+ "@kolaveri/tsconfig": "1.0.1",
51
+ "@kolaveri/eslint-config": "1.6.1"
52
52
  },
53
53
  "files": [
54
54
  "dist"