order3000 0.22.0 → 0.23.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
@@ -227,7 +227,7 @@ interface components {
227
227
  };
228
228
  /**
229
229
  * FeatureImage
230
- * @description An article's resolved feature image. `caption` / `alt` are per-locale TipTap docs (PATCH accepts plain strings — server normalises).
230
+ * @description An article's resolved feature image. `caption` / `alt` are per-locale TipTap docs (PATCH accepts plain strings — server normalises). `captionByLocale` / `altByLocale` expose the raw per-locale records for editor surfaces.
231
231
  */
232
232
  FeatureImage: {
233
233
  id: string;
@@ -239,6 +239,12 @@ interface components {
239
239
  alt: {
240
240
  [key: string]: unknown;
241
241
  } | null;
242
+ captionByLocale: {
243
+ [key: string]: unknown;
244
+ };
245
+ altByLocale: {
246
+ [key: string]: unknown;
247
+ };
242
248
  };
243
249
  /**
244
250
  * Article
@@ -255,8 +261,10 @@ interface components {
255
261
  [key: string]: string;
256
262
  };
257
263
  excerpt: {
258
- [key: string]: string;
259
- } | null;
264
+ [key: string]: {
265
+ [key: string]: unknown;
266
+ };
267
+ };
260
268
  content: {
261
269
  [key: string]: unknown;
262
270
  } | null;
@@ -286,8 +294,10 @@ interface components {
286
294
  [key: string]: string;
287
295
  };
288
296
  excerpt: {
289
- [key: string]: string;
290
- } | null;
297
+ [key: string]: {
298
+ [key: string]: unknown;
299
+ };
300
+ };
291
301
  content: {
292
302
  [key: string]: unknown;
293
303
  } | null;
@@ -309,7 +319,9 @@ interface components {
309
319
  [key: string]: string;
310
320
  };
311
321
  excerpt?: {
312
- [key: string]: string;
322
+ [key: string]: string | {
323
+ [key: string]: unknown;
324
+ };
313
325
  };
314
326
  content?: {
315
327
  [key: string]: unknown;
@@ -334,8 +346,10 @@ interface components {
334
346
  [key: string]: string;
335
347
  };
336
348
  excerpt: {
337
- [key: string]: string;
338
- } | null;
349
+ [key: string]: {
350
+ [key: string]: unknown;
351
+ };
352
+ };
339
353
  content: {
340
354
  [key: string]: unknown;
341
355
  } | null;
package/dist/client.d.mts CHANGED
@@ -227,7 +227,7 @@ interface components {
227
227
  };
228
228
  /**
229
229
  * FeatureImage
230
- * @description An article's resolved feature image. `caption` / `alt` are per-locale TipTap docs (PATCH accepts plain strings — server normalises).
230
+ * @description An article's resolved feature image. `caption` / `alt` are per-locale TipTap docs (PATCH accepts plain strings — server normalises). `captionByLocale` / `altByLocale` expose the raw per-locale records for editor surfaces.
231
231
  */
232
232
  FeatureImage: {
233
233
  id: string;
@@ -239,6 +239,12 @@ interface components {
239
239
  alt: {
240
240
  [key: string]: unknown;
241
241
  } | null;
242
+ captionByLocale: {
243
+ [key: string]: unknown;
244
+ };
245
+ altByLocale: {
246
+ [key: string]: unknown;
247
+ };
242
248
  };
243
249
  /**
244
250
  * Article
@@ -255,8 +261,10 @@ interface components {
255
261
  [key: string]: string;
256
262
  };
257
263
  excerpt: {
258
- [key: string]: string;
259
- } | null;
264
+ [key: string]: {
265
+ [key: string]: unknown;
266
+ };
267
+ };
260
268
  content: {
261
269
  [key: string]: unknown;
262
270
  } | null;
@@ -286,8 +294,10 @@ interface components {
286
294
  [key: string]: string;
287
295
  };
288
296
  excerpt: {
289
- [key: string]: string;
290
- } | null;
297
+ [key: string]: {
298
+ [key: string]: unknown;
299
+ };
300
+ };
291
301
  content: {
292
302
  [key: string]: unknown;
293
303
  } | null;
@@ -309,7 +319,9 @@ interface components {
309
319
  [key: string]: string;
310
320
  };
311
321
  excerpt?: {
312
- [key: string]: string;
322
+ [key: string]: string | {
323
+ [key: string]: unknown;
324
+ };
313
325
  };
314
326
  content?: {
315
327
  [key: string]: unknown;
@@ -334,8 +346,10 @@ interface components {
334
346
  [key: string]: string;
335
347
  };
336
348
  excerpt: {
337
- [key: string]: string;
338
- } | null;
349
+ [key: string]: {
350
+ [key: string]: unknown;
351
+ };
352
+ };
339
353
  content: {
340
354
  [key: string]: unknown;
341
355
  } | null;
package/dist/schemas.cjs CHANGED
@@ -9,12 +9,12 @@ const GetAreaAvailabilityResponse = zod.z.object({ from: zod.z.string().regex(/^
9
9
  const SubmitAreaBookingRequest = zod.z.object({ requestedDate: zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/), requestedStartTime: zod.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).optional(), requestedEndTime: zod.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).optional(), partySize: zod.z.number().int().lte(9007199254740991), customerFirstName: zod.z.string().min(1), customerLastName: zod.z.string().min(1), customerEmail: zod.z.string().regex(/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/).email(), customerPhone: zod.z.string().optional(), message: zod.z.string().optional(), source: zod.z.enum(["website", "phone", "walk_in"]).optional() }).strict();
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
- 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() }).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.string()).nullable(), 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();
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();
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.string()).nullable(), 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.string()), 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.string()).nullable(), 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.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();
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();
@@ -656,18 +656,32 @@ declare const schemas: {
656
656
  locale: z.ZodString;
657
657
  caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
658
658
  alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
659
+ captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
660
+ altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
659
661
  }, "strict", z.ZodTypeAny, {
660
662
  id: string;
661
663
  publicUrl: string | null;
662
664
  locale: string;
663
665
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
664
666
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
667
+ captionByLocale: {} & {
668
+ [k: string]: unknown;
669
+ };
670
+ altByLocale: {} & {
671
+ [k: string]: unknown;
672
+ };
665
673
  }, {
666
674
  id: string;
667
675
  publicUrl: string | null;
668
676
  locale: string;
669
677
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
670
678
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
679
+ captionByLocale: {} & {
680
+ [k: string]: unknown;
681
+ };
682
+ altByLocale: {} & {
683
+ [k: string]: unknown;
684
+ };
671
685
  }>;
672
686
  Article: z.ZodObject<{
673
687
  id: z.ZodString;
@@ -675,7 +689,7 @@ declare const schemas: {
675
689
  accessor: z.ZodString;
676
690
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
677
691
  title: z.ZodRecord<z.ZodString, z.ZodString>;
678
- excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
692
+ excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
679
693
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
680
694
  tags: z.ZodArray<z.ZodString, "many">;
681
695
  isActive: z.ZodBoolean;
@@ -690,18 +704,32 @@ declare const schemas: {
690
704
  locale: z.ZodString;
691
705
  caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
692
706
  alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
707
+ captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
708
+ altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
693
709
  }, "strict", z.ZodTypeAny, {
694
710
  id: string;
695
711
  publicUrl: string | null;
696
712
  locale: string;
697
713
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
698
714
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
715
+ captionByLocale: {} & {
716
+ [k: string]: unknown;
717
+ };
718
+ altByLocale: {} & {
719
+ [k: string]: unknown;
720
+ };
699
721
  }, {
700
722
  id: string;
701
723
  publicUrl: string | null;
702
724
  locale: string;
703
725
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
704
726
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
727
+ captionByLocale: {} & {
728
+ [k: string]: unknown;
729
+ };
730
+ altByLocale: {} & {
731
+ [k: string]: unknown;
732
+ };
705
733
  }>>;
706
734
  }, "strict", z.ZodTypeAny, {
707
735
  id: string;
@@ -710,7 +738,7 @@ declare const schemas: {
710
738
  tags: string[];
711
739
  slug: Record<string, string>;
712
740
  title: Record<string, string>;
713
- excerpt: Record<string, string> | null;
741
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
714
742
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
715
743
  isActive: boolean;
716
744
  isFeatured: boolean;
@@ -721,6 +749,12 @@ declare const schemas: {
721
749
  locale: string;
722
750
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
723
751
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
752
+ captionByLocale: {} & {
753
+ [k: string]: unknown;
754
+ };
755
+ altByLocale: {} & {
756
+ [k: string]: unknown;
757
+ };
724
758
  } | null;
725
759
  createdAt?: unknown;
726
760
  updatedAt?: unknown;
@@ -732,7 +766,7 @@ declare const schemas: {
732
766
  tags: string[];
733
767
  slug: Record<string, string>;
734
768
  title: Record<string, string>;
735
- excerpt: Record<string, string> | null;
769
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
736
770
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
737
771
  isActive: boolean;
738
772
  isFeatured: boolean;
@@ -743,6 +777,12 @@ declare const schemas: {
743
777
  locale: string;
744
778
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
745
779
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
780
+ captionByLocale: {} & {
781
+ [k: string]: unknown;
782
+ };
783
+ altByLocale: {} & {
784
+ [k: string]: unknown;
785
+ };
746
786
  } | null;
747
787
  createdAt?: unknown;
748
788
  updatedAt?: unknown;
@@ -754,7 +794,7 @@ declare const schemas: {
754
794
  accessor: z.ZodString;
755
795
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
756
796
  title: z.ZodRecord<z.ZodString, z.ZodString>;
757
- excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
797
+ excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
758
798
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
759
799
  tags: z.ZodArray<z.ZodString, "many">;
760
800
  isActive: z.ZodBoolean;
@@ -769,18 +809,32 @@ declare const schemas: {
769
809
  locale: z.ZodString;
770
810
  caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
771
811
  alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
812
+ captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
813
+ altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
772
814
  }, "strict", z.ZodTypeAny, {
773
815
  id: string;
774
816
  publicUrl: string | null;
775
817
  locale: string;
776
818
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
777
819
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
820
+ captionByLocale: {} & {
821
+ [k: string]: unknown;
822
+ };
823
+ altByLocale: {} & {
824
+ [k: string]: unknown;
825
+ };
778
826
  }, {
779
827
  id: string;
780
828
  publicUrl: string | null;
781
829
  locale: string;
782
830
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
783
831
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
832
+ captionByLocale: {} & {
833
+ [k: string]: unknown;
834
+ };
835
+ altByLocale: {} & {
836
+ [k: string]: unknown;
837
+ };
784
838
  }>>;
785
839
  }, "strict", z.ZodTypeAny, {
786
840
  id: string;
@@ -789,7 +843,7 @@ declare const schemas: {
789
843
  tags: string[];
790
844
  slug: Record<string, string>;
791
845
  title: Record<string, string>;
792
- excerpt: Record<string, string> | null;
846
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
793
847
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
794
848
  isActive: boolean;
795
849
  isFeatured: boolean;
@@ -800,6 +854,12 @@ declare const schemas: {
800
854
  locale: string;
801
855
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
802
856
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
857
+ captionByLocale: {} & {
858
+ [k: string]: unknown;
859
+ };
860
+ altByLocale: {} & {
861
+ [k: string]: unknown;
862
+ };
803
863
  } | null;
804
864
  createdAt?: unknown;
805
865
  updatedAt?: unknown;
@@ -811,7 +871,7 @@ declare const schemas: {
811
871
  tags: string[];
812
872
  slug: Record<string, string>;
813
873
  title: Record<string, string>;
814
- excerpt: Record<string, string> | null;
874
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
815
875
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
816
876
  isActive: boolean;
817
877
  isFeatured: boolean;
@@ -822,6 +882,12 @@ declare const schemas: {
822
882
  locale: string;
823
883
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
824
884
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
885
+ captionByLocale: {} & {
886
+ [k: string]: unknown;
887
+ };
888
+ altByLocale: {} & {
889
+ [k: string]: unknown;
890
+ };
825
891
  } | null;
826
892
  createdAt?: unknown;
827
893
  updatedAt?: unknown;
@@ -833,7 +899,7 @@ declare const schemas: {
833
899
  accessor: z.ZodString;
834
900
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
835
901
  title: z.ZodRecord<z.ZodString, z.ZodString>;
836
- excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
902
+ excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
837
903
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
838
904
  tags: z.ZodArray<z.ZodString, "many">;
839
905
  isActive: z.ZodBoolean;
@@ -848,18 +914,32 @@ declare const schemas: {
848
914
  locale: z.ZodString;
849
915
  caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
850
916
  alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
917
+ captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
918
+ altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
851
919
  }, "strict", z.ZodTypeAny, {
852
920
  id: string;
853
921
  publicUrl: string | null;
854
922
  locale: string;
855
923
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
856
924
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
925
+ captionByLocale: {} & {
926
+ [k: string]: unknown;
927
+ };
928
+ altByLocale: {} & {
929
+ [k: string]: unknown;
930
+ };
857
931
  }, {
858
932
  id: string;
859
933
  publicUrl: string | null;
860
934
  locale: string;
861
935
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
862
936
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
937
+ captionByLocale: {} & {
938
+ [k: string]: unknown;
939
+ };
940
+ altByLocale: {} & {
941
+ [k: string]: unknown;
942
+ };
863
943
  }>>;
864
944
  }, "strict", z.ZodTypeAny, {
865
945
  id: string;
@@ -868,7 +948,7 @@ declare const schemas: {
868
948
  tags: string[];
869
949
  slug: Record<string, string>;
870
950
  title: Record<string, string>;
871
- excerpt: Record<string, string> | null;
951
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
872
952
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
873
953
  isActive: boolean;
874
954
  isFeatured: boolean;
@@ -879,6 +959,12 @@ declare const schemas: {
879
959
  locale: string;
880
960
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
881
961
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
962
+ captionByLocale: {} & {
963
+ [k: string]: unknown;
964
+ };
965
+ altByLocale: {} & {
966
+ [k: string]: unknown;
967
+ };
882
968
  } | null;
883
969
  createdAt?: unknown;
884
970
  updatedAt?: unknown;
@@ -890,7 +976,7 @@ declare const schemas: {
890
976
  tags: string[];
891
977
  slug: Record<string, string>;
892
978
  title: Record<string, string>;
893
- excerpt: Record<string, string> | null;
979
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
894
980
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
895
981
  isActive: boolean;
896
982
  isFeatured: boolean;
@@ -901,6 +987,12 @@ declare const schemas: {
901
987
  locale: string;
902
988
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
903
989
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
990
+ captionByLocale: {} & {
991
+ [k: string]: unknown;
992
+ };
993
+ altByLocale: {} & {
994
+ [k: string]: unknown;
995
+ };
904
996
  } | null;
905
997
  createdAt?: unknown;
906
998
  updatedAt?: unknown;
@@ -909,7 +1001,7 @@ declare const schemas: {
909
1001
  PatchArticleRequest: z.ZodObject<{
910
1002
  slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
911
1003
  title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
912
- excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
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">>]>>>;
913
1005
  content: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
914
1006
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
915
1007
  isActive: z.ZodOptional<z.ZodBoolean>;
@@ -919,7 +1011,7 @@ declare const schemas: {
919
1011
  tags?: string[] | undefined;
920
1012
  slug?: Record<string, string> | undefined;
921
1013
  title?: Record<string, string> | undefined;
922
- excerpt?: Record<string, string> | undefined;
1014
+ excerpt?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
923
1015
  content?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
924
1016
  isActive?: boolean | undefined;
925
1017
  isFeatured?: boolean | undefined;
@@ -928,7 +1020,7 @@ declare const schemas: {
928
1020
  tags?: string[] | undefined;
929
1021
  slug?: Record<string, string> | undefined;
930
1022
  title?: Record<string, string> | undefined;
931
- excerpt?: Record<string, string> | undefined;
1023
+ excerpt?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
932
1024
  content?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
933
1025
  isActive?: boolean | undefined;
934
1026
  isFeatured?: boolean | undefined;
@@ -940,7 +1032,7 @@ declare const schemas: {
940
1032
  accessor: z.ZodString;
941
1033
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
942
1034
  title: z.ZodRecord<z.ZodString, z.ZodString>;
943
- excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
1035
+ excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
944
1036
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
945
1037
  tags: z.ZodArray<z.ZodString, "many">;
946
1038
  isActive: z.ZodBoolean;
@@ -955,18 +1047,32 @@ declare const schemas: {
955
1047
  locale: z.ZodString;
956
1048
  caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
957
1049
  alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1050
+ captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1051
+ altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
958
1052
  }, "strict", z.ZodTypeAny, {
959
1053
  id: string;
960
1054
  publicUrl: string | null;
961
1055
  locale: string;
962
1056
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
963
1057
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
1058
+ captionByLocale: {} & {
1059
+ [k: string]: unknown;
1060
+ };
1061
+ altByLocale: {} & {
1062
+ [k: string]: unknown;
1063
+ };
964
1064
  }, {
965
1065
  id: string;
966
1066
  publicUrl: string | null;
967
1067
  locale: string;
968
1068
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
969
1069
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1070
+ captionByLocale: {} & {
1071
+ [k: string]: unknown;
1072
+ };
1073
+ altByLocale: {} & {
1074
+ [k: string]: unknown;
1075
+ };
970
1076
  }>>;
971
1077
  }, "strict", z.ZodTypeAny, {
972
1078
  id: string;
@@ -975,7 +1081,7 @@ declare const schemas: {
975
1081
  tags: string[];
976
1082
  slug: Record<string, string>;
977
1083
  title: Record<string, string>;
978
- excerpt: Record<string, string> | null;
1084
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
979
1085
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
980
1086
  isActive: boolean;
981
1087
  isFeatured: boolean;
@@ -986,6 +1092,12 @@ declare const schemas: {
986
1092
  locale: string;
987
1093
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
988
1094
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
1095
+ captionByLocale: {} & {
1096
+ [k: string]: unknown;
1097
+ };
1098
+ altByLocale: {} & {
1099
+ [k: string]: unknown;
1100
+ };
989
1101
  } | null;
990
1102
  createdAt?: unknown;
991
1103
  updatedAt?: unknown;
@@ -997,7 +1109,7 @@ declare const schemas: {
997
1109
  tags: string[];
998
1110
  slug: Record<string, string>;
999
1111
  title: Record<string, string>;
1000
- excerpt: Record<string, string> | null;
1112
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1001
1113
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1002
1114
  isActive: boolean;
1003
1115
  isFeatured: boolean;
@@ -1008,6 +1120,12 @@ declare const schemas: {
1008
1120
  locale: string;
1009
1121
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1010
1122
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1123
+ captionByLocale: {} & {
1124
+ [k: string]: unknown;
1125
+ };
1126
+ altByLocale: {} & {
1127
+ [k: string]: unknown;
1128
+ };
1011
1129
  } | null;
1012
1130
  createdAt?: unknown;
1013
1131
  updatedAt?: unknown;
@@ -656,18 +656,32 @@ declare const schemas: {
656
656
  locale: z.ZodString;
657
657
  caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
658
658
  alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
659
+ captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
660
+ altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
659
661
  }, "strict", z.ZodTypeAny, {
660
662
  id: string;
661
663
  publicUrl: string | null;
662
664
  locale: string;
663
665
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
664
666
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
667
+ captionByLocale: {} & {
668
+ [k: string]: unknown;
669
+ };
670
+ altByLocale: {} & {
671
+ [k: string]: unknown;
672
+ };
665
673
  }, {
666
674
  id: string;
667
675
  publicUrl: string | null;
668
676
  locale: string;
669
677
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
670
678
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
679
+ captionByLocale: {} & {
680
+ [k: string]: unknown;
681
+ };
682
+ altByLocale: {} & {
683
+ [k: string]: unknown;
684
+ };
671
685
  }>;
672
686
  Article: z.ZodObject<{
673
687
  id: z.ZodString;
@@ -675,7 +689,7 @@ declare const schemas: {
675
689
  accessor: z.ZodString;
676
690
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
677
691
  title: z.ZodRecord<z.ZodString, z.ZodString>;
678
- excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
692
+ excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
679
693
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
680
694
  tags: z.ZodArray<z.ZodString, "many">;
681
695
  isActive: z.ZodBoolean;
@@ -690,18 +704,32 @@ declare const schemas: {
690
704
  locale: z.ZodString;
691
705
  caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
692
706
  alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
707
+ captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
708
+ altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
693
709
  }, "strict", z.ZodTypeAny, {
694
710
  id: string;
695
711
  publicUrl: string | null;
696
712
  locale: string;
697
713
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
698
714
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
715
+ captionByLocale: {} & {
716
+ [k: string]: unknown;
717
+ };
718
+ altByLocale: {} & {
719
+ [k: string]: unknown;
720
+ };
699
721
  }, {
700
722
  id: string;
701
723
  publicUrl: string | null;
702
724
  locale: string;
703
725
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
704
726
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
727
+ captionByLocale: {} & {
728
+ [k: string]: unknown;
729
+ };
730
+ altByLocale: {} & {
731
+ [k: string]: unknown;
732
+ };
705
733
  }>>;
706
734
  }, "strict", z.ZodTypeAny, {
707
735
  id: string;
@@ -710,7 +738,7 @@ declare const schemas: {
710
738
  tags: string[];
711
739
  slug: Record<string, string>;
712
740
  title: Record<string, string>;
713
- excerpt: Record<string, string> | null;
741
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
714
742
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
715
743
  isActive: boolean;
716
744
  isFeatured: boolean;
@@ -721,6 +749,12 @@ declare const schemas: {
721
749
  locale: string;
722
750
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
723
751
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
752
+ captionByLocale: {} & {
753
+ [k: string]: unknown;
754
+ };
755
+ altByLocale: {} & {
756
+ [k: string]: unknown;
757
+ };
724
758
  } | null;
725
759
  createdAt?: unknown;
726
760
  updatedAt?: unknown;
@@ -732,7 +766,7 @@ declare const schemas: {
732
766
  tags: string[];
733
767
  slug: Record<string, string>;
734
768
  title: Record<string, string>;
735
- excerpt: Record<string, string> | null;
769
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
736
770
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
737
771
  isActive: boolean;
738
772
  isFeatured: boolean;
@@ -743,6 +777,12 @@ declare const schemas: {
743
777
  locale: string;
744
778
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
745
779
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
780
+ captionByLocale: {} & {
781
+ [k: string]: unknown;
782
+ };
783
+ altByLocale: {} & {
784
+ [k: string]: unknown;
785
+ };
746
786
  } | null;
747
787
  createdAt?: unknown;
748
788
  updatedAt?: unknown;
@@ -754,7 +794,7 @@ declare const schemas: {
754
794
  accessor: z.ZodString;
755
795
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
756
796
  title: z.ZodRecord<z.ZodString, z.ZodString>;
757
- excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
797
+ excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
758
798
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
759
799
  tags: z.ZodArray<z.ZodString, "many">;
760
800
  isActive: z.ZodBoolean;
@@ -769,18 +809,32 @@ declare const schemas: {
769
809
  locale: z.ZodString;
770
810
  caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
771
811
  alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
812
+ captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
813
+ altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
772
814
  }, "strict", z.ZodTypeAny, {
773
815
  id: string;
774
816
  publicUrl: string | null;
775
817
  locale: string;
776
818
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
777
819
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
820
+ captionByLocale: {} & {
821
+ [k: string]: unknown;
822
+ };
823
+ altByLocale: {} & {
824
+ [k: string]: unknown;
825
+ };
778
826
  }, {
779
827
  id: string;
780
828
  publicUrl: string | null;
781
829
  locale: string;
782
830
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
783
831
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
832
+ captionByLocale: {} & {
833
+ [k: string]: unknown;
834
+ };
835
+ altByLocale: {} & {
836
+ [k: string]: unknown;
837
+ };
784
838
  }>>;
785
839
  }, "strict", z.ZodTypeAny, {
786
840
  id: string;
@@ -789,7 +843,7 @@ declare const schemas: {
789
843
  tags: string[];
790
844
  slug: Record<string, string>;
791
845
  title: Record<string, string>;
792
- excerpt: Record<string, string> | null;
846
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
793
847
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
794
848
  isActive: boolean;
795
849
  isFeatured: boolean;
@@ -800,6 +854,12 @@ declare const schemas: {
800
854
  locale: string;
801
855
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
802
856
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
857
+ captionByLocale: {} & {
858
+ [k: string]: unknown;
859
+ };
860
+ altByLocale: {} & {
861
+ [k: string]: unknown;
862
+ };
803
863
  } | null;
804
864
  createdAt?: unknown;
805
865
  updatedAt?: unknown;
@@ -811,7 +871,7 @@ declare const schemas: {
811
871
  tags: string[];
812
872
  slug: Record<string, string>;
813
873
  title: Record<string, string>;
814
- excerpt: Record<string, string> | null;
874
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
815
875
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
816
876
  isActive: boolean;
817
877
  isFeatured: boolean;
@@ -822,6 +882,12 @@ declare const schemas: {
822
882
  locale: string;
823
883
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
824
884
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
885
+ captionByLocale: {} & {
886
+ [k: string]: unknown;
887
+ };
888
+ altByLocale: {} & {
889
+ [k: string]: unknown;
890
+ };
825
891
  } | null;
826
892
  createdAt?: unknown;
827
893
  updatedAt?: unknown;
@@ -833,7 +899,7 @@ declare const schemas: {
833
899
  accessor: z.ZodString;
834
900
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
835
901
  title: z.ZodRecord<z.ZodString, z.ZodString>;
836
- excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
902
+ excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
837
903
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
838
904
  tags: z.ZodArray<z.ZodString, "many">;
839
905
  isActive: z.ZodBoolean;
@@ -848,18 +914,32 @@ declare const schemas: {
848
914
  locale: z.ZodString;
849
915
  caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
850
916
  alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
917
+ captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
918
+ altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
851
919
  }, "strict", z.ZodTypeAny, {
852
920
  id: string;
853
921
  publicUrl: string | null;
854
922
  locale: string;
855
923
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
856
924
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
925
+ captionByLocale: {} & {
926
+ [k: string]: unknown;
927
+ };
928
+ altByLocale: {} & {
929
+ [k: string]: unknown;
930
+ };
857
931
  }, {
858
932
  id: string;
859
933
  publicUrl: string | null;
860
934
  locale: string;
861
935
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
862
936
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
937
+ captionByLocale: {} & {
938
+ [k: string]: unknown;
939
+ };
940
+ altByLocale: {} & {
941
+ [k: string]: unknown;
942
+ };
863
943
  }>>;
864
944
  }, "strict", z.ZodTypeAny, {
865
945
  id: string;
@@ -868,7 +948,7 @@ declare const schemas: {
868
948
  tags: string[];
869
949
  slug: Record<string, string>;
870
950
  title: Record<string, string>;
871
- excerpt: Record<string, string> | null;
951
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
872
952
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
873
953
  isActive: boolean;
874
954
  isFeatured: boolean;
@@ -879,6 +959,12 @@ declare const schemas: {
879
959
  locale: string;
880
960
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
881
961
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
962
+ captionByLocale: {} & {
963
+ [k: string]: unknown;
964
+ };
965
+ altByLocale: {} & {
966
+ [k: string]: unknown;
967
+ };
882
968
  } | null;
883
969
  createdAt?: unknown;
884
970
  updatedAt?: unknown;
@@ -890,7 +976,7 @@ declare const schemas: {
890
976
  tags: string[];
891
977
  slug: Record<string, string>;
892
978
  title: Record<string, string>;
893
- excerpt: Record<string, string> | null;
979
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
894
980
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
895
981
  isActive: boolean;
896
982
  isFeatured: boolean;
@@ -901,6 +987,12 @@ declare const schemas: {
901
987
  locale: string;
902
988
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
903
989
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
990
+ captionByLocale: {} & {
991
+ [k: string]: unknown;
992
+ };
993
+ altByLocale: {} & {
994
+ [k: string]: unknown;
995
+ };
904
996
  } | null;
905
997
  createdAt?: unknown;
906
998
  updatedAt?: unknown;
@@ -909,7 +1001,7 @@ declare const schemas: {
909
1001
  PatchArticleRequest: z.ZodObject<{
910
1002
  slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
911
1003
  title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
912
- excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
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">>]>>>;
913
1005
  content: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
914
1006
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
915
1007
  isActive: z.ZodOptional<z.ZodBoolean>;
@@ -919,7 +1011,7 @@ declare const schemas: {
919
1011
  tags?: string[] | undefined;
920
1012
  slug?: Record<string, string> | undefined;
921
1013
  title?: Record<string, string> | undefined;
922
- excerpt?: Record<string, string> | undefined;
1014
+ excerpt?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
923
1015
  content?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
924
1016
  isActive?: boolean | undefined;
925
1017
  isFeatured?: boolean | undefined;
@@ -928,7 +1020,7 @@ declare const schemas: {
928
1020
  tags?: string[] | undefined;
929
1021
  slug?: Record<string, string> | undefined;
930
1022
  title?: Record<string, string> | undefined;
931
- excerpt?: Record<string, string> | undefined;
1023
+ excerpt?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
932
1024
  content?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
933
1025
  isActive?: boolean | undefined;
934
1026
  isFeatured?: boolean | undefined;
@@ -940,7 +1032,7 @@ declare const schemas: {
940
1032
  accessor: z.ZodString;
941
1033
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
942
1034
  title: z.ZodRecord<z.ZodString, z.ZodString>;
943
- excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
1035
+ excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
944
1036
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
945
1037
  tags: z.ZodArray<z.ZodString, "many">;
946
1038
  isActive: z.ZodBoolean;
@@ -955,18 +1047,32 @@ declare const schemas: {
955
1047
  locale: z.ZodString;
956
1048
  caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
957
1049
  alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1050
+ captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1051
+ altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
958
1052
  }, "strict", z.ZodTypeAny, {
959
1053
  id: string;
960
1054
  publicUrl: string | null;
961
1055
  locale: string;
962
1056
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
963
1057
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
1058
+ captionByLocale: {} & {
1059
+ [k: string]: unknown;
1060
+ };
1061
+ altByLocale: {} & {
1062
+ [k: string]: unknown;
1063
+ };
964
1064
  }, {
965
1065
  id: string;
966
1066
  publicUrl: string | null;
967
1067
  locale: string;
968
1068
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
969
1069
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1070
+ captionByLocale: {} & {
1071
+ [k: string]: unknown;
1072
+ };
1073
+ altByLocale: {} & {
1074
+ [k: string]: unknown;
1075
+ };
970
1076
  }>>;
971
1077
  }, "strict", z.ZodTypeAny, {
972
1078
  id: string;
@@ -975,7 +1081,7 @@ declare const schemas: {
975
1081
  tags: string[];
976
1082
  slug: Record<string, string>;
977
1083
  title: Record<string, string>;
978
- excerpt: Record<string, string> | null;
1084
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
979
1085
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
980
1086
  isActive: boolean;
981
1087
  isFeatured: boolean;
@@ -986,6 +1092,12 @@ declare const schemas: {
986
1092
  locale: string;
987
1093
  caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
988
1094
  alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
1095
+ captionByLocale: {} & {
1096
+ [k: string]: unknown;
1097
+ };
1098
+ altByLocale: {} & {
1099
+ [k: string]: unknown;
1100
+ };
989
1101
  } | null;
990
1102
  createdAt?: unknown;
991
1103
  updatedAt?: unknown;
@@ -997,7 +1109,7 @@ declare const schemas: {
997
1109
  tags: string[];
998
1110
  slug: Record<string, string>;
999
1111
  title: Record<string, string>;
1000
- excerpt: Record<string, string> | null;
1112
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1001
1113
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1002
1114
  isActive: boolean;
1003
1115
  isFeatured: boolean;
@@ -1008,6 +1120,12 @@ declare const schemas: {
1008
1120
  locale: string;
1009
1121
  caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1010
1122
  alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1123
+ captionByLocale: {} & {
1124
+ [k: string]: unknown;
1125
+ };
1126
+ altByLocale: {} & {
1127
+ [k: string]: unknown;
1128
+ };
1011
1129
  } | null;
1012
1130
  createdAt?: unknown;
1013
1131
  updatedAt?: unknown;
package/dist/schemas.mjs CHANGED
@@ -7,12 +7,12 @@ const GetAreaAvailabilityResponse = z.object({ from: z.string().regex(/^\d{4}-\d
7
7
  const SubmitAreaBookingRequest = z.object({ requestedDate: z.string().regex(/^\d{4}-\d{2}-\d{2}$/), requestedStartTime: z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).optional(), requestedEndTime: z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).optional(), partySize: z.number().int().lte(9007199254740991), customerFirstName: z.string().min(1), customerLastName: z.string().min(1), customerEmail: z.string().regex(/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/).email(), customerPhone: z.string().optional(), message: z.string().optional(), source: z.enum(["website", "phone", "walk_in"]).optional() }).strict();
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
- 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() }).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.string()).nullable(), 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();
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();
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.string()).nullable(), 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.string()), 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.string()).nullable(), 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.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();
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.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "order3000 node.js sdk",
5
5
  "main": "./dist/client.cjs",
6
6
  "module": "./dist/client.mjs",
@@ -47,8 +47,8 @@
47
47
  "tsx": "^4.19.2",
48
48
  "typescript": "^5.9.3",
49
49
  "@kolaveri/eslint-config": "1.6.0",
50
- "@kolaveri/tsconfig": "1.0.1",
51
- "@kolaveri/prettier-config": "1.0.6"
50
+ "@kolaveri/prettier-config": "1.0.6",
51
+ "@kolaveri/tsconfig": "1.0.1"
52
52
  },
53
53
  "files": [
54
54
  "dist"