order3000 0.21.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/schemas.cjs CHANGED
@@ -9,11 +9,14 @@ 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 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()), featuredImageId: zod.z.string().nullable(), 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() }).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();
13
14
  const ListArticlesResponse = zod.z.array(Article);
14
- 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()), featuredImageId: zod.z.string().nullable(), 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() }).strict();
15
- 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()), featuredImageId: zod.z.string().nullable(), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-9007199254740991).lte(9007199254740991) }).partial().strict();
16
- 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()), featuredImageId: zod.z.string().nullable(), 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() }).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
+ const UploadFeatureImageRequest = zod.z.object({ file: zod.z.unknown() }).strict();
19
+ const PatchFeatureImageRequest = zod.z.object({ caption: zod.z.object({}).partial().strict().passthrough(), alt: zod.z.object({}).partial().strict().passthrough() }).partial().strict();
17
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();
18
21
  const AddToBasketResponse = zod.z.object({ basketItemId: 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(), itemCount: zod.z.number().int().gte(0).lte(9007199254740991), deposit: zod.z.object({ depositwareTemplateId: zod.z.string(), name: zod.z.record(zod.z.string()), amount: zod.z.number().int().gte(0).lte(9007199254740991), currency: zod.z.enum(["EUR", "CHF"]) }).strict().nullable(), totals: zod.z.object({ currency: zod.z.enum(["EUR", "CHF"]), itemsTotal: zod.z.number().int().gte(0).lte(9007199254740991), taxAmount: zod.z.number().int().gte(0).lte(9007199254740991), depositCharge: zod.z.number().int().gte(0).lte(9007199254740991), grossTotal: zod.z.number().int().gte(0).lte(9007199254740991), depositCredit: zod.z.number().int().gte(0).lte(9007199254740991), effectiveTotal: zod.z.number().int().gte(0).lte(9007199254740991), cashRefund: zod.z.number().int().gte(0).lte(9007199254740991), returnable: zod.z.array(zod.z.object({ depositwareTemplateId: zod.z.string(), count: zod.z.number().int().gte(0).lte(9007199254740991) }).strict()) }).strict() }).strict();
19
22
  const RemoveFromBasketResponse = zod.z.object({ success: zod.z.boolean(), basketItemId: 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(), itemCount: zod.z.number().int().gte(0).lte(9007199254740991), totals: zod.z.object({ currency: zod.z.enum(["EUR", "CHF"]), itemsTotal: zod.z.number().int().gte(0).lte(9007199254740991), taxAmount: zod.z.number().int().gte(0).lte(9007199254740991), depositCharge: zod.z.number().int().gte(0).lte(9007199254740991), grossTotal: zod.z.number().int().gte(0).lte(9007199254740991), depositCredit: zod.z.number().int().gte(0).lte(9007199254740991), effectiveTotal: zod.z.number().int().gte(0).lte(9007199254740991), cashRefund: zod.z.number().int().gte(0).lte(9007199254740991), returnable: zod.z.array(zod.z.object({ depositwareTemplateId: zod.z.string(), count: zod.z.number().int().gte(0).lte(9007199254740991) }).strict()) }).strict().nullable() }).strict();
@@ -74,11 +77,14 @@ const schemas = {
74
77
  SubmitAreaBookingRequest,
75
78
  SubmitAreaBookingResponse,
76
79
  includeDrafts,
80
+ FeatureImage,
77
81
  Article,
78
82
  ListArticlesResponse,
79
83
  GetArticleResponse,
80
84
  PatchArticleRequest,
81
85
  PatchArticleResponse,
86
+ UploadFeatureImageRequest,
87
+ PatchFeatureImageRequest,
82
88
  AddToBasketRequest,
83
89
  AddToBasketResponse,
84
90
  RemoveFromBasketResponse,
@@ -650,22 +650,87 @@ declare const schemas: {
650
650
  updatedAt: string | null;
651
651
  }>;
652
652
  includeDrafts: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>>;
653
+ FeatureImage: z.ZodObject<{
654
+ id: z.ZodString;
655
+ publicUrl: z.ZodNullable<z.ZodString>;
656
+ locale: z.ZodString;
657
+ caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
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">>;
661
+ }, "strict", z.ZodTypeAny, {
662
+ id: string;
663
+ publicUrl: string | null;
664
+ locale: string;
665
+ caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
666
+ alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
667
+ captionByLocale: {} & {
668
+ [k: string]: unknown;
669
+ };
670
+ altByLocale: {} & {
671
+ [k: string]: unknown;
672
+ };
673
+ }, {
674
+ id: string;
675
+ publicUrl: string | null;
676
+ locale: string;
677
+ caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
678
+ alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
679
+ captionByLocale: {} & {
680
+ [k: string]: unknown;
681
+ };
682
+ altByLocale: {} & {
683
+ [k: string]: unknown;
684
+ };
685
+ }>;
653
686
  Article: z.ZodObject<{
654
687
  id: z.ZodString;
655
688
  venueId: z.ZodString;
656
689
  accessor: z.ZodString;
657
690
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
658
691
  title: z.ZodRecord<z.ZodString, z.ZodString>;
659
- 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">>>;
660
693
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
661
694
  tags: z.ZodArray<z.ZodString, "many">;
662
- featuredImageId: z.ZodNullable<z.ZodString>;
663
695
  isActive: z.ZodBoolean;
664
696
  isFeatured: z.ZodBoolean;
665
697
  priority: z.ZodNumber;
666
698
  publishedAt: z.ZodNullable<z.ZodUnknown>;
667
699
  createdAt: z.ZodNullable<z.ZodUnknown>;
668
700
  updatedAt: z.ZodNullable<z.ZodUnknown>;
701
+ featureImage: z.ZodNullable<z.ZodObject<{
702
+ id: z.ZodString;
703
+ publicUrl: z.ZodNullable<z.ZodString>;
704
+ locale: z.ZodString;
705
+ caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
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">>;
709
+ }, "strict", z.ZodTypeAny, {
710
+ id: string;
711
+ publicUrl: string | null;
712
+ locale: string;
713
+ caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
714
+ alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
715
+ captionByLocale: {} & {
716
+ [k: string]: unknown;
717
+ };
718
+ altByLocale: {} & {
719
+ [k: string]: unknown;
720
+ };
721
+ }, {
722
+ id: string;
723
+ publicUrl: string | null;
724
+ locale: string;
725
+ caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
726
+ alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
727
+ captionByLocale: {} & {
728
+ [k: string]: unknown;
729
+ };
730
+ altByLocale: {} & {
731
+ [k: string]: unknown;
732
+ };
733
+ }>>;
669
734
  }, "strict", z.ZodTypeAny, {
670
735
  id: string;
671
736
  venueId: string;
@@ -673,12 +738,24 @@ declare const schemas: {
673
738
  tags: string[];
674
739
  slug: Record<string, string>;
675
740
  title: Record<string, string>;
676
- excerpt: Record<string, string> | null;
741
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
677
742
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
678
- featuredImageId: string | null;
679
743
  isActive: boolean;
680
744
  isFeatured: boolean;
681
745
  priority: number;
746
+ featureImage: {
747
+ id: string;
748
+ publicUrl: string | null;
749
+ locale: string;
750
+ caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
751
+ alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
752
+ captionByLocale: {} & {
753
+ [k: string]: unknown;
754
+ };
755
+ altByLocale: {} & {
756
+ [k: string]: unknown;
757
+ };
758
+ } | null;
682
759
  createdAt?: unknown;
683
760
  updatedAt?: unknown;
684
761
  publishedAt?: unknown;
@@ -689,12 +766,24 @@ declare const schemas: {
689
766
  tags: string[];
690
767
  slug: Record<string, string>;
691
768
  title: Record<string, string>;
692
- excerpt: Record<string, string> | null;
769
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
693
770
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
694
- featuredImageId: string | null;
695
771
  isActive: boolean;
696
772
  isFeatured: boolean;
697
773
  priority: number;
774
+ featureImage: {
775
+ id: string;
776
+ publicUrl: string | null;
777
+ locale: string;
778
+ caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
779
+ alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
780
+ captionByLocale: {} & {
781
+ [k: string]: unknown;
782
+ };
783
+ altByLocale: {} & {
784
+ [k: string]: unknown;
785
+ };
786
+ } | null;
698
787
  createdAt?: unknown;
699
788
  updatedAt?: unknown;
700
789
  publishedAt?: unknown;
@@ -705,16 +794,48 @@ declare const schemas: {
705
794
  accessor: z.ZodString;
706
795
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
707
796
  title: z.ZodRecord<z.ZodString, z.ZodString>;
708
- 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">>>;
709
798
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
710
799
  tags: z.ZodArray<z.ZodString, "many">;
711
- featuredImageId: z.ZodNullable<z.ZodString>;
712
800
  isActive: z.ZodBoolean;
713
801
  isFeatured: z.ZodBoolean;
714
802
  priority: z.ZodNumber;
715
803
  publishedAt: z.ZodNullable<z.ZodUnknown>;
716
804
  createdAt: z.ZodNullable<z.ZodUnknown>;
717
805
  updatedAt: z.ZodNullable<z.ZodUnknown>;
806
+ featureImage: z.ZodNullable<z.ZodObject<{
807
+ id: z.ZodString;
808
+ publicUrl: z.ZodNullable<z.ZodString>;
809
+ locale: z.ZodString;
810
+ caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
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">>;
814
+ }, "strict", z.ZodTypeAny, {
815
+ id: string;
816
+ publicUrl: string | null;
817
+ locale: string;
818
+ caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
819
+ alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
820
+ captionByLocale: {} & {
821
+ [k: string]: unknown;
822
+ };
823
+ altByLocale: {} & {
824
+ [k: string]: unknown;
825
+ };
826
+ }, {
827
+ id: string;
828
+ publicUrl: string | null;
829
+ locale: string;
830
+ caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
831
+ alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
832
+ captionByLocale: {} & {
833
+ [k: string]: unknown;
834
+ };
835
+ altByLocale: {} & {
836
+ [k: string]: unknown;
837
+ };
838
+ }>>;
718
839
  }, "strict", z.ZodTypeAny, {
719
840
  id: string;
720
841
  venueId: string;
@@ -722,12 +843,24 @@ declare const schemas: {
722
843
  tags: string[];
723
844
  slug: Record<string, string>;
724
845
  title: Record<string, string>;
725
- excerpt: Record<string, string> | null;
846
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
726
847
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
727
- featuredImageId: string | null;
728
848
  isActive: boolean;
729
849
  isFeatured: boolean;
730
850
  priority: number;
851
+ featureImage: {
852
+ id: string;
853
+ publicUrl: string | null;
854
+ locale: string;
855
+ caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
856
+ alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
857
+ captionByLocale: {} & {
858
+ [k: string]: unknown;
859
+ };
860
+ altByLocale: {} & {
861
+ [k: string]: unknown;
862
+ };
863
+ } | null;
731
864
  createdAt?: unknown;
732
865
  updatedAt?: unknown;
733
866
  publishedAt?: unknown;
@@ -738,12 +871,24 @@ declare const schemas: {
738
871
  tags: string[];
739
872
  slug: Record<string, string>;
740
873
  title: Record<string, string>;
741
- excerpt: Record<string, string> | null;
874
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
742
875
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
743
- featuredImageId: string | null;
744
876
  isActive: boolean;
745
877
  isFeatured: boolean;
746
878
  priority: number;
879
+ featureImage: {
880
+ id: string;
881
+ publicUrl: string | null;
882
+ locale: string;
883
+ caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
884
+ alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
885
+ captionByLocale: {} & {
886
+ [k: string]: unknown;
887
+ };
888
+ altByLocale: {} & {
889
+ [k: string]: unknown;
890
+ };
891
+ } | null;
747
892
  createdAt?: unknown;
748
893
  updatedAt?: unknown;
749
894
  publishedAt?: unknown;
@@ -754,16 +899,48 @@ declare const schemas: {
754
899
  accessor: z.ZodString;
755
900
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
756
901
  title: z.ZodRecord<z.ZodString, z.ZodString>;
757
- 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">>>;
758
903
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
759
904
  tags: z.ZodArray<z.ZodString, "many">;
760
- featuredImageId: z.ZodNullable<z.ZodString>;
761
905
  isActive: z.ZodBoolean;
762
906
  isFeatured: z.ZodBoolean;
763
907
  priority: z.ZodNumber;
764
908
  publishedAt: z.ZodNullable<z.ZodUnknown>;
765
909
  createdAt: z.ZodNullable<z.ZodUnknown>;
766
910
  updatedAt: z.ZodNullable<z.ZodUnknown>;
911
+ featureImage: z.ZodNullable<z.ZodObject<{
912
+ id: z.ZodString;
913
+ publicUrl: z.ZodNullable<z.ZodString>;
914
+ locale: z.ZodString;
915
+ caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
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">>;
919
+ }, "strict", z.ZodTypeAny, {
920
+ id: string;
921
+ publicUrl: string | null;
922
+ locale: string;
923
+ caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
924
+ alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
925
+ captionByLocale: {} & {
926
+ [k: string]: unknown;
927
+ };
928
+ altByLocale: {} & {
929
+ [k: string]: unknown;
930
+ };
931
+ }, {
932
+ id: string;
933
+ publicUrl: string | null;
934
+ locale: string;
935
+ caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
936
+ alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
937
+ captionByLocale: {} & {
938
+ [k: string]: unknown;
939
+ };
940
+ altByLocale: {} & {
941
+ [k: string]: unknown;
942
+ };
943
+ }>>;
767
944
  }, "strict", z.ZodTypeAny, {
768
945
  id: string;
769
946
  venueId: string;
@@ -771,12 +948,24 @@ declare const schemas: {
771
948
  tags: string[];
772
949
  slug: Record<string, string>;
773
950
  title: Record<string, string>;
774
- excerpt: Record<string, string> | null;
951
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
775
952
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
776
- featuredImageId: string | null;
777
953
  isActive: boolean;
778
954
  isFeatured: boolean;
779
955
  priority: number;
956
+ featureImage: {
957
+ id: string;
958
+ publicUrl: string | null;
959
+ locale: string;
960
+ caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
961
+ alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
962
+ captionByLocale: {} & {
963
+ [k: string]: unknown;
964
+ };
965
+ altByLocale: {} & {
966
+ [k: string]: unknown;
967
+ };
968
+ } | null;
780
969
  createdAt?: unknown;
781
970
  updatedAt?: unknown;
782
971
  publishedAt?: unknown;
@@ -787,12 +976,24 @@ declare const schemas: {
787
976
  tags: string[];
788
977
  slug: Record<string, string>;
789
978
  title: Record<string, string>;
790
- excerpt: Record<string, string> | null;
979
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
791
980
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
792
- featuredImageId: string | null;
793
981
  isActive: boolean;
794
982
  isFeatured: boolean;
795
983
  priority: number;
984
+ featureImage: {
985
+ id: string;
986
+ publicUrl: string | null;
987
+ locale: string;
988
+ caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
989
+ alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
990
+ captionByLocale: {} & {
991
+ [k: string]: unknown;
992
+ };
993
+ altByLocale: {} & {
994
+ [k: string]: unknown;
995
+ };
996
+ } | null;
796
997
  createdAt?: unknown;
797
998
  updatedAt?: unknown;
798
999
  publishedAt?: unknown;
@@ -800,10 +1001,9 @@ declare const schemas: {
800
1001
  PatchArticleRequest: z.ZodObject<{
801
1002
  slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
802
1003
  title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
803
- 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">>]>>>;
804
1005
  content: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
805
1006
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
806
- featuredImageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
807
1007
  isActive: z.ZodOptional<z.ZodBoolean>;
808
1008
  isFeatured: z.ZodOptional<z.ZodBoolean>;
809
1009
  priority: z.ZodOptional<z.ZodNumber>;
@@ -811,9 +1011,8 @@ declare const schemas: {
811
1011
  tags?: string[] | undefined;
812
1012
  slug?: Record<string, string> | undefined;
813
1013
  title?: Record<string, string> | undefined;
814
- excerpt?: Record<string, string> | undefined;
1014
+ excerpt?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
815
1015
  content?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
816
- featuredImageId?: string | null | undefined;
817
1016
  isActive?: boolean | undefined;
818
1017
  isFeatured?: boolean | undefined;
819
1018
  priority?: number | undefined;
@@ -821,9 +1020,8 @@ declare const schemas: {
821
1020
  tags?: string[] | undefined;
822
1021
  slug?: Record<string, string> | undefined;
823
1022
  title?: Record<string, string> | undefined;
824
- excerpt?: Record<string, string> | undefined;
1023
+ excerpt?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
825
1024
  content?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
826
- featuredImageId?: string | null | undefined;
827
1025
  isActive?: boolean | undefined;
828
1026
  isFeatured?: boolean | undefined;
829
1027
  priority?: number | undefined;
@@ -834,16 +1032,48 @@ declare const schemas: {
834
1032
  accessor: z.ZodString;
835
1033
  slug: z.ZodRecord<z.ZodString, z.ZodString>;
836
1034
  title: z.ZodRecord<z.ZodString, z.ZodString>;
837
- 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">>>;
838
1036
  content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
839
1037
  tags: z.ZodArray<z.ZodString, "many">;
840
- featuredImageId: z.ZodNullable<z.ZodString>;
841
1038
  isActive: z.ZodBoolean;
842
1039
  isFeatured: z.ZodBoolean;
843
1040
  priority: z.ZodNumber;
844
1041
  publishedAt: z.ZodNullable<z.ZodUnknown>;
845
1042
  createdAt: z.ZodNullable<z.ZodUnknown>;
846
1043
  updatedAt: z.ZodNullable<z.ZodUnknown>;
1044
+ featureImage: z.ZodNullable<z.ZodObject<{
1045
+ id: z.ZodString;
1046
+ publicUrl: z.ZodNullable<z.ZodString>;
1047
+ locale: z.ZodString;
1048
+ caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
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">>;
1052
+ }, "strict", z.ZodTypeAny, {
1053
+ id: string;
1054
+ publicUrl: string | null;
1055
+ locale: string;
1056
+ caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
1057
+ alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
1058
+ captionByLocale: {} & {
1059
+ [k: string]: unknown;
1060
+ };
1061
+ altByLocale: {} & {
1062
+ [k: string]: unknown;
1063
+ };
1064
+ }, {
1065
+ id: string;
1066
+ publicUrl: string | null;
1067
+ locale: string;
1068
+ caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1069
+ alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1070
+ captionByLocale: {} & {
1071
+ [k: string]: unknown;
1072
+ };
1073
+ altByLocale: {} & {
1074
+ [k: string]: unknown;
1075
+ };
1076
+ }>>;
847
1077
  }, "strict", z.ZodTypeAny, {
848
1078
  id: string;
849
1079
  venueId: string;
@@ -851,12 +1081,24 @@ declare const schemas: {
851
1081
  tags: string[];
852
1082
  slug: Record<string, string>;
853
1083
  title: Record<string, string>;
854
- excerpt: Record<string, string> | null;
1084
+ excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
855
1085
  content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
856
- featuredImageId: string | null;
857
1086
  isActive: boolean;
858
1087
  isFeatured: boolean;
859
1088
  priority: number;
1089
+ featureImage: {
1090
+ id: string;
1091
+ publicUrl: string | null;
1092
+ locale: string;
1093
+ caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
1094
+ alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
1095
+ captionByLocale: {} & {
1096
+ [k: string]: unknown;
1097
+ };
1098
+ altByLocale: {} & {
1099
+ [k: string]: unknown;
1100
+ };
1101
+ } | null;
860
1102
  createdAt?: unknown;
861
1103
  updatedAt?: unknown;
862
1104
  publishedAt?: unknown;
@@ -867,16 +1109,45 @@ declare const schemas: {
867
1109
  tags: string[];
868
1110
  slug: Record<string, string>;
869
1111
  title: Record<string, string>;
870
- excerpt: Record<string, string> | null;
1112
+ excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
871
1113
  content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
872
- featuredImageId: string | null;
873
1114
  isActive: boolean;
874
1115
  isFeatured: boolean;
875
1116
  priority: number;
1117
+ featureImage: {
1118
+ id: string;
1119
+ publicUrl: string | null;
1120
+ locale: string;
1121
+ caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1122
+ alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
1123
+ captionByLocale: {} & {
1124
+ [k: string]: unknown;
1125
+ };
1126
+ altByLocale: {} & {
1127
+ [k: string]: unknown;
1128
+ };
1129
+ } | null;
876
1130
  createdAt?: unknown;
877
1131
  updatedAt?: unknown;
878
1132
  publishedAt?: unknown;
879
1133
  }>;
1134
+ UploadFeatureImageRequest: z.ZodObject<{
1135
+ file: z.ZodUnknown;
1136
+ }, "strict", z.ZodTypeAny, {
1137
+ file?: unknown;
1138
+ }, {
1139
+ file?: unknown;
1140
+ }>;
1141
+ PatchFeatureImageRequest: z.ZodObject<{
1142
+ caption: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1143
+ alt: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1144
+ }, "strict", z.ZodTypeAny, {
1145
+ caption?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1146
+ alt?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1147
+ }, {
1148
+ caption?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1149
+ alt?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1150
+ }>;
880
1151
  AddToBasketRequest: z.ZodObject<{
881
1152
  venueId: z.ZodString;
882
1153
  sessionId: z.ZodString;