order3000 0.20.0 → 0.21.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.cjs +60 -0
- package/dist/client.d.cts +141 -7
- package/dist/client.d.mts +141 -7
- package/dist/client.mjs +60 -0
- package/dist/schemas.cjs +10 -2
- package/dist/schemas.d.cts +196 -38
- package/dist/schemas.d.mts +196 -38
- package/dist/schemas.mjs +10 -2
- package/package.json +1 -1
package/dist/schemas.d.cts
CHANGED
|
@@ -656,52 +656,48 @@ declare const schemas: {
|
|
|
656
656
|
accessor: z.ZodString;
|
|
657
657
|
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
658
658
|
title: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
659
|
-
excerpt: z.ZodRecord<z.ZodString, z.ZodString
|
|
660
|
-
content: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough"
|
|
659
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
660
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
661
661
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
662
662
|
featuredImageId: z.ZodNullable<z.ZodString>;
|
|
663
663
|
isActive: z.ZodBoolean;
|
|
664
664
|
isFeatured: z.ZodBoolean;
|
|
665
665
|
priority: z.ZodNumber;
|
|
666
|
-
publishedAt: z.ZodNullable<z.
|
|
667
|
-
createdAt: z.ZodNullable<z.
|
|
668
|
-
updatedAt: z.ZodNullable<z.
|
|
666
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
667
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
668
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
669
669
|
}, "strict", z.ZodTypeAny, {
|
|
670
670
|
id: string;
|
|
671
671
|
venueId: string;
|
|
672
672
|
accessor: string;
|
|
673
673
|
tags: string[];
|
|
674
|
-
createdAt: string | null;
|
|
675
|
-
updatedAt: string | null;
|
|
676
674
|
slug: Record<string, string>;
|
|
677
675
|
title: Record<string, string>;
|
|
678
|
-
excerpt: Record<string, string
|
|
679
|
-
content: {}
|
|
680
|
-
[k: string]: unknown;
|
|
681
|
-
};
|
|
676
|
+
excerpt: Record<string, string> | null;
|
|
677
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
682
678
|
featuredImageId: string | null;
|
|
683
679
|
isActive: boolean;
|
|
684
680
|
isFeatured: boolean;
|
|
685
681
|
priority: number;
|
|
686
|
-
|
|
682
|
+
createdAt?: unknown;
|
|
683
|
+
updatedAt?: unknown;
|
|
684
|
+
publishedAt?: unknown;
|
|
687
685
|
}, {
|
|
688
686
|
id: string;
|
|
689
687
|
venueId: string;
|
|
690
688
|
accessor: string;
|
|
691
689
|
tags: string[];
|
|
692
|
-
createdAt: string | null;
|
|
693
|
-
updatedAt: string | null;
|
|
694
690
|
slug: Record<string, string>;
|
|
695
691
|
title: Record<string, string>;
|
|
696
|
-
excerpt: Record<string, string
|
|
697
|
-
content: {}
|
|
698
|
-
[k: string]: unknown;
|
|
699
|
-
};
|
|
692
|
+
excerpt: Record<string, string> | null;
|
|
693
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
700
694
|
featuredImageId: string | null;
|
|
701
695
|
isActive: boolean;
|
|
702
696
|
isFeatured: boolean;
|
|
703
697
|
priority: number;
|
|
704
|
-
|
|
698
|
+
createdAt?: unknown;
|
|
699
|
+
updatedAt?: unknown;
|
|
700
|
+
publishedAt?: unknown;
|
|
705
701
|
}>;
|
|
706
702
|
ListArticlesResponse: z.ZodArray<z.ZodObject<{
|
|
707
703
|
id: z.ZodString;
|
|
@@ -709,53 +705,178 @@ declare const schemas: {
|
|
|
709
705
|
accessor: z.ZodString;
|
|
710
706
|
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
711
707
|
title: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
712
|
-
excerpt: z.ZodRecord<z.ZodString, z.ZodString
|
|
713
|
-
content: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough"
|
|
708
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
709
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
714
710
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
715
711
|
featuredImageId: z.ZodNullable<z.ZodString>;
|
|
716
712
|
isActive: z.ZodBoolean;
|
|
717
713
|
isFeatured: z.ZodBoolean;
|
|
718
714
|
priority: z.ZodNumber;
|
|
719
|
-
publishedAt: z.ZodNullable<z.
|
|
720
|
-
createdAt: z.ZodNullable<z.
|
|
721
|
-
updatedAt: z.ZodNullable<z.
|
|
715
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
716
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
717
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
722
718
|
}, "strict", z.ZodTypeAny, {
|
|
723
719
|
id: string;
|
|
724
720
|
venueId: string;
|
|
725
721
|
accessor: string;
|
|
726
722
|
tags: string[];
|
|
727
|
-
createdAt: string | null;
|
|
728
|
-
updatedAt: string | null;
|
|
729
723
|
slug: Record<string, string>;
|
|
730
724
|
title: Record<string, string>;
|
|
731
|
-
excerpt: Record<string, string
|
|
732
|
-
content: {}
|
|
733
|
-
[k: string]: unknown;
|
|
734
|
-
};
|
|
725
|
+
excerpt: Record<string, string> | null;
|
|
726
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
735
727
|
featuredImageId: string | null;
|
|
736
728
|
isActive: boolean;
|
|
737
729
|
isFeatured: boolean;
|
|
738
730
|
priority: number;
|
|
739
|
-
|
|
731
|
+
createdAt?: unknown;
|
|
732
|
+
updatedAt?: unknown;
|
|
733
|
+
publishedAt?: unknown;
|
|
740
734
|
}, {
|
|
741
735
|
id: string;
|
|
742
736
|
venueId: string;
|
|
743
737
|
accessor: string;
|
|
744
738
|
tags: string[];
|
|
745
|
-
createdAt: string | null;
|
|
746
|
-
updatedAt: string | null;
|
|
747
739
|
slug: Record<string, string>;
|
|
748
740
|
title: Record<string, string>;
|
|
749
|
-
excerpt: Record<string, string
|
|
750
|
-
content: {}
|
|
751
|
-
[k: string]: unknown;
|
|
752
|
-
};
|
|
741
|
+
excerpt: Record<string, string> | null;
|
|
742
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
753
743
|
featuredImageId: string | null;
|
|
754
744
|
isActive: boolean;
|
|
755
745
|
isFeatured: boolean;
|
|
756
746
|
priority: number;
|
|
757
|
-
|
|
747
|
+
createdAt?: unknown;
|
|
748
|
+
updatedAt?: unknown;
|
|
749
|
+
publishedAt?: unknown;
|
|
758
750
|
}>, "many">;
|
|
751
|
+
GetArticleResponse: z.ZodObject<{
|
|
752
|
+
id: z.ZodString;
|
|
753
|
+
venueId: z.ZodString;
|
|
754
|
+
accessor: z.ZodString;
|
|
755
|
+
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
756
|
+
title: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
757
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
758
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
759
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
760
|
+
featuredImageId: z.ZodNullable<z.ZodString>;
|
|
761
|
+
isActive: z.ZodBoolean;
|
|
762
|
+
isFeatured: z.ZodBoolean;
|
|
763
|
+
priority: z.ZodNumber;
|
|
764
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
765
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
766
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
767
|
+
}, "strict", z.ZodTypeAny, {
|
|
768
|
+
id: string;
|
|
769
|
+
venueId: string;
|
|
770
|
+
accessor: string;
|
|
771
|
+
tags: string[];
|
|
772
|
+
slug: Record<string, string>;
|
|
773
|
+
title: Record<string, string>;
|
|
774
|
+
excerpt: Record<string, string> | null;
|
|
775
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
776
|
+
featuredImageId: string | null;
|
|
777
|
+
isActive: boolean;
|
|
778
|
+
isFeatured: boolean;
|
|
779
|
+
priority: number;
|
|
780
|
+
createdAt?: unknown;
|
|
781
|
+
updatedAt?: unknown;
|
|
782
|
+
publishedAt?: unknown;
|
|
783
|
+
}, {
|
|
784
|
+
id: string;
|
|
785
|
+
venueId: string;
|
|
786
|
+
accessor: string;
|
|
787
|
+
tags: string[];
|
|
788
|
+
slug: Record<string, string>;
|
|
789
|
+
title: Record<string, string>;
|
|
790
|
+
excerpt: Record<string, string> | null;
|
|
791
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
792
|
+
featuredImageId: string | null;
|
|
793
|
+
isActive: boolean;
|
|
794
|
+
isFeatured: boolean;
|
|
795
|
+
priority: number;
|
|
796
|
+
createdAt?: unknown;
|
|
797
|
+
updatedAt?: unknown;
|
|
798
|
+
publishedAt?: unknown;
|
|
799
|
+
}>;
|
|
800
|
+
PatchArticleRequest: z.ZodObject<{
|
|
801
|
+
slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
802
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
803
|
+
excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
804
|
+
content: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
805
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
806
|
+
featuredImageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
807
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
808
|
+
isFeatured: z.ZodOptional<z.ZodBoolean>;
|
|
809
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
810
|
+
}, "strict", z.ZodTypeAny, {
|
|
811
|
+
tags?: string[] | undefined;
|
|
812
|
+
slug?: Record<string, string> | undefined;
|
|
813
|
+
title?: Record<string, string> | undefined;
|
|
814
|
+
excerpt?: Record<string, string> | undefined;
|
|
815
|
+
content?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
816
|
+
featuredImageId?: string | null | undefined;
|
|
817
|
+
isActive?: boolean | undefined;
|
|
818
|
+
isFeatured?: boolean | undefined;
|
|
819
|
+
priority?: number | undefined;
|
|
820
|
+
}, {
|
|
821
|
+
tags?: string[] | undefined;
|
|
822
|
+
slug?: Record<string, string> | undefined;
|
|
823
|
+
title?: Record<string, string> | undefined;
|
|
824
|
+
excerpt?: Record<string, string> | undefined;
|
|
825
|
+
content?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
826
|
+
featuredImageId?: string | null | undefined;
|
|
827
|
+
isActive?: boolean | undefined;
|
|
828
|
+
isFeatured?: boolean | undefined;
|
|
829
|
+
priority?: number | undefined;
|
|
830
|
+
}>;
|
|
831
|
+
PatchArticleResponse: z.ZodObject<{
|
|
832
|
+
id: z.ZodString;
|
|
833
|
+
venueId: z.ZodString;
|
|
834
|
+
accessor: z.ZodString;
|
|
835
|
+
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
836
|
+
title: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
837
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
838
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
839
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
840
|
+
featuredImageId: z.ZodNullable<z.ZodString>;
|
|
841
|
+
isActive: z.ZodBoolean;
|
|
842
|
+
isFeatured: z.ZodBoolean;
|
|
843
|
+
priority: z.ZodNumber;
|
|
844
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
845
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
846
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
847
|
+
}, "strict", z.ZodTypeAny, {
|
|
848
|
+
id: string;
|
|
849
|
+
venueId: string;
|
|
850
|
+
accessor: string;
|
|
851
|
+
tags: string[];
|
|
852
|
+
slug: Record<string, string>;
|
|
853
|
+
title: Record<string, string>;
|
|
854
|
+
excerpt: Record<string, string> | null;
|
|
855
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
856
|
+
featuredImageId: string | null;
|
|
857
|
+
isActive: boolean;
|
|
858
|
+
isFeatured: boolean;
|
|
859
|
+
priority: number;
|
|
860
|
+
createdAt?: unknown;
|
|
861
|
+
updatedAt?: unknown;
|
|
862
|
+
publishedAt?: unknown;
|
|
863
|
+
}, {
|
|
864
|
+
id: string;
|
|
865
|
+
venueId: string;
|
|
866
|
+
accessor: string;
|
|
867
|
+
tags: string[];
|
|
868
|
+
slug: Record<string, string>;
|
|
869
|
+
title: Record<string, string>;
|
|
870
|
+
excerpt: Record<string, string> | null;
|
|
871
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
872
|
+
featuredImageId: string | null;
|
|
873
|
+
isActive: boolean;
|
|
874
|
+
isFeatured: boolean;
|
|
875
|
+
priority: number;
|
|
876
|
+
createdAt?: unknown;
|
|
877
|
+
updatedAt?: unknown;
|
|
878
|
+
publishedAt?: unknown;
|
|
879
|
+
}>;
|
|
759
880
|
AddToBasketRequest: z.ZodObject<{
|
|
760
881
|
venueId: z.ZodString;
|
|
761
882
|
sessionId: z.ZodString;
|
|
@@ -2855,6 +2976,43 @@ declare const schemas: {
|
|
|
2855
2976
|
teamOrderId: string;
|
|
2856
2977
|
deliveryAddressId: string;
|
|
2857
2978
|
}>;
|
|
2979
|
+
GetVenueResponse: z.ZodObject<{
|
|
2980
|
+
id: z.ZodString;
|
|
2981
|
+
accessor: z.ZodString;
|
|
2982
|
+
officialName: z.ZodString;
|
|
2983
|
+
legalName: z.ZodString;
|
|
2984
|
+
shortName: z.ZodString;
|
|
2985
|
+
brandName: z.ZodString;
|
|
2986
|
+
primaryLocale: z.ZodString;
|
|
2987
|
+
supportedLocales: z.ZodArray<z.ZodString, "many">;
|
|
2988
|
+
timezone: z.ZodString;
|
|
2989
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
2990
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
2991
|
+
}, "strict", z.ZodTypeAny, {
|
|
2992
|
+
id: string;
|
|
2993
|
+
accessor: string;
|
|
2994
|
+
timezone: string;
|
|
2995
|
+
shortName: string;
|
|
2996
|
+
officialName: string;
|
|
2997
|
+
legalName: string;
|
|
2998
|
+
brandName: string;
|
|
2999
|
+
primaryLocale: string;
|
|
3000
|
+
supportedLocales: string[];
|
|
3001
|
+
createdAt?: unknown;
|
|
3002
|
+
updatedAt?: unknown;
|
|
3003
|
+
}, {
|
|
3004
|
+
id: string;
|
|
3005
|
+
accessor: string;
|
|
3006
|
+
timezone: string;
|
|
3007
|
+
shortName: string;
|
|
3008
|
+
officialName: string;
|
|
3009
|
+
legalName: string;
|
|
3010
|
+
brandName: string;
|
|
3011
|
+
primaryLocale: string;
|
|
3012
|
+
supportedLocales: string[];
|
|
3013
|
+
createdAt?: unknown;
|
|
3014
|
+
updatedAt?: unknown;
|
|
3015
|
+
}>;
|
|
2858
3016
|
};
|
|
2859
3017
|
|
|
2860
3018
|
export { schemas };
|
package/dist/schemas.d.mts
CHANGED
|
@@ -656,52 +656,48 @@ declare const schemas: {
|
|
|
656
656
|
accessor: z.ZodString;
|
|
657
657
|
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
658
658
|
title: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
659
|
-
excerpt: z.ZodRecord<z.ZodString, z.ZodString
|
|
660
|
-
content: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough"
|
|
659
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
660
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
661
661
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
662
662
|
featuredImageId: z.ZodNullable<z.ZodString>;
|
|
663
663
|
isActive: z.ZodBoolean;
|
|
664
664
|
isFeatured: z.ZodBoolean;
|
|
665
665
|
priority: z.ZodNumber;
|
|
666
|
-
publishedAt: z.ZodNullable<z.
|
|
667
|
-
createdAt: z.ZodNullable<z.
|
|
668
|
-
updatedAt: z.ZodNullable<z.
|
|
666
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
667
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
668
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
669
669
|
}, "strict", z.ZodTypeAny, {
|
|
670
670
|
id: string;
|
|
671
671
|
venueId: string;
|
|
672
672
|
accessor: string;
|
|
673
673
|
tags: string[];
|
|
674
|
-
createdAt: string | null;
|
|
675
|
-
updatedAt: string | null;
|
|
676
674
|
slug: Record<string, string>;
|
|
677
675
|
title: Record<string, string>;
|
|
678
|
-
excerpt: Record<string, string
|
|
679
|
-
content: {}
|
|
680
|
-
[k: string]: unknown;
|
|
681
|
-
};
|
|
676
|
+
excerpt: Record<string, string> | null;
|
|
677
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
682
678
|
featuredImageId: string | null;
|
|
683
679
|
isActive: boolean;
|
|
684
680
|
isFeatured: boolean;
|
|
685
681
|
priority: number;
|
|
686
|
-
|
|
682
|
+
createdAt?: unknown;
|
|
683
|
+
updatedAt?: unknown;
|
|
684
|
+
publishedAt?: unknown;
|
|
687
685
|
}, {
|
|
688
686
|
id: string;
|
|
689
687
|
venueId: string;
|
|
690
688
|
accessor: string;
|
|
691
689
|
tags: string[];
|
|
692
|
-
createdAt: string | null;
|
|
693
|
-
updatedAt: string | null;
|
|
694
690
|
slug: Record<string, string>;
|
|
695
691
|
title: Record<string, string>;
|
|
696
|
-
excerpt: Record<string, string
|
|
697
|
-
content: {}
|
|
698
|
-
[k: string]: unknown;
|
|
699
|
-
};
|
|
692
|
+
excerpt: Record<string, string> | null;
|
|
693
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
700
694
|
featuredImageId: string | null;
|
|
701
695
|
isActive: boolean;
|
|
702
696
|
isFeatured: boolean;
|
|
703
697
|
priority: number;
|
|
704
|
-
|
|
698
|
+
createdAt?: unknown;
|
|
699
|
+
updatedAt?: unknown;
|
|
700
|
+
publishedAt?: unknown;
|
|
705
701
|
}>;
|
|
706
702
|
ListArticlesResponse: z.ZodArray<z.ZodObject<{
|
|
707
703
|
id: z.ZodString;
|
|
@@ -709,53 +705,178 @@ declare const schemas: {
|
|
|
709
705
|
accessor: z.ZodString;
|
|
710
706
|
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
711
707
|
title: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
712
|
-
excerpt: z.ZodRecord<z.ZodString, z.ZodString
|
|
713
|
-
content: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough"
|
|
708
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
709
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
714
710
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
715
711
|
featuredImageId: z.ZodNullable<z.ZodString>;
|
|
716
712
|
isActive: z.ZodBoolean;
|
|
717
713
|
isFeatured: z.ZodBoolean;
|
|
718
714
|
priority: z.ZodNumber;
|
|
719
|
-
publishedAt: z.ZodNullable<z.
|
|
720
|
-
createdAt: z.ZodNullable<z.
|
|
721
|
-
updatedAt: z.ZodNullable<z.
|
|
715
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
716
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
717
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
722
718
|
}, "strict", z.ZodTypeAny, {
|
|
723
719
|
id: string;
|
|
724
720
|
venueId: string;
|
|
725
721
|
accessor: string;
|
|
726
722
|
tags: string[];
|
|
727
|
-
createdAt: string | null;
|
|
728
|
-
updatedAt: string | null;
|
|
729
723
|
slug: Record<string, string>;
|
|
730
724
|
title: Record<string, string>;
|
|
731
|
-
excerpt: Record<string, string
|
|
732
|
-
content: {}
|
|
733
|
-
[k: string]: unknown;
|
|
734
|
-
};
|
|
725
|
+
excerpt: Record<string, string> | null;
|
|
726
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
735
727
|
featuredImageId: string | null;
|
|
736
728
|
isActive: boolean;
|
|
737
729
|
isFeatured: boolean;
|
|
738
730
|
priority: number;
|
|
739
|
-
|
|
731
|
+
createdAt?: unknown;
|
|
732
|
+
updatedAt?: unknown;
|
|
733
|
+
publishedAt?: unknown;
|
|
740
734
|
}, {
|
|
741
735
|
id: string;
|
|
742
736
|
venueId: string;
|
|
743
737
|
accessor: string;
|
|
744
738
|
tags: string[];
|
|
745
|
-
createdAt: string | null;
|
|
746
|
-
updatedAt: string | null;
|
|
747
739
|
slug: Record<string, string>;
|
|
748
740
|
title: Record<string, string>;
|
|
749
|
-
excerpt: Record<string, string
|
|
750
|
-
content: {}
|
|
751
|
-
[k: string]: unknown;
|
|
752
|
-
};
|
|
741
|
+
excerpt: Record<string, string> | null;
|
|
742
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
753
743
|
featuredImageId: string | null;
|
|
754
744
|
isActive: boolean;
|
|
755
745
|
isFeatured: boolean;
|
|
756
746
|
priority: number;
|
|
757
|
-
|
|
747
|
+
createdAt?: unknown;
|
|
748
|
+
updatedAt?: unknown;
|
|
749
|
+
publishedAt?: unknown;
|
|
758
750
|
}>, "many">;
|
|
751
|
+
GetArticleResponse: z.ZodObject<{
|
|
752
|
+
id: z.ZodString;
|
|
753
|
+
venueId: z.ZodString;
|
|
754
|
+
accessor: z.ZodString;
|
|
755
|
+
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
756
|
+
title: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
757
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
758
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
759
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
760
|
+
featuredImageId: z.ZodNullable<z.ZodString>;
|
|
761
|
+
isActive: z.ZodBoolean;
|
|
762
|
+
isFeatured: z.ZodBoolean;
|
|
763
|
+
priority: z.ZodNumber;
|
|
764
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
765
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
766
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
767
|
+
}, "strict", z.ZodTypeAny, {
|
|
768
|
+
id: string;
|
|
769
|
+
venueId: string;
|
|
770
|
+
accessor: string;
|
|
771
|
+
tags: string[];
|
|
772
|
+
slug: Record<string, string>;
|
|
773
|
+
title: Record<string, string>;
|
|
774
|
+
excerpt: Record<string, string> | null;
|
|
775
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
776
|
+
featuredImageId: string | null;
|
|
777
|
+
isActive: boolean;
|
|
778
|
+
isFeatured: boolean;
|
|
779
|
+
priority: number;
|
|
780
|
+
createdAt?: unknown;
|
|
781
|
+
updatedAt?: unknown;
|
|
782
|
+
publishedAt?: unknown;
|
|
783
|
+
}, {
|
|
784
|
+
id: string;
|
|
785
|
+
venueId: string;
|
|
786
|
+
accessor: string;
|
|
787
|
+
tags: string[];
|
|
788
|
+
slug: Record<string, string>;
|
|
789
|
+
title: Record<string, string>;
|
|
790
|
+
excerpt: Record<string, string> | null;
|
|
791
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
792
|
+
featuredImageId: string | null;
|
|
793
|
+
isActive: boolean;
|
|
794
|
+
isFeatured: boolean;
|
|
795
|
+
priority: number;
|
|
796
|
+
createdAt?: unknown;
|
|
797
|
+
updatedAt?: unknown;
|
|
798
|
+
publishedAt?: unknown;
|
|
799
|
+
}>;
|
|
800
|
+
PatchArticleRequest: z.ZodObject<{
|
|
801
|
+
slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
802
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
803
|
+
excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
804
|
+
content: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
805
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
806
|
+
featuredImageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
807
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
808
|
+
isFeatured: z.ZodOptional<z.ZodBoolean>;
|
|
809
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
810
|
+
}, "strict", z.ZodTypeAny, {
|
|
811
|
+
tags?: string[] | undefined;
|
|
812
|
+
slug?: Record<string, string> | undefined;
|
|
813
|
+
title?: Record<string, string> | undefined;
|
|
814
|
+
excerpt?: Record<string, string> | undefined;
|
|
815
|
+
content?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
816
|
+
featuredImageId?: string | null | undefined;
|
|
817
|
+
isActive?: boolean | undefined;
|
|
818
|
+
isFeatured?: boolean | undefined;
|
|
819
|
+
priority?: number | undefined;
|
|
820
|
+
}, {
|
|
821
|
+
tags?: string[] | undefined;
|
|
822
|
+
slug?: Record<string, string> | undefined;
|
|
823
|
+
title?: Record<string, string> | undefined;
|
|
824
|
+
excerpt?: Record<string, string> | undefined;
|
|
825
|
+
content?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
826
|
+
featuredImageId?: string | null | undefined;
|
|
827
|
+
isActive?: boolean | undefined;
|
|
828
|
+
isFeatured?: boolean | undefined;
|
|
829
|
+
priority?: number | undefined;
|
|
830
|
+
}>;
|
|
831
|
+
PatchArticleResponse: z.ZodObject<{
|
|
832
|
+
id: z.ZodString;
|
|
833
|
+
venueId: z.ZodString;
|
|
834
|
+
accessor: z.ZodString;
|
|
835
|
+
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
836
|
+
title: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
837
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
838
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
839
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
840
|
+
featuredImageId: z.ZodNullable<z.ZodString>;
|
|
841
|
+
isActive: z.ZodBoolean;
|
|
842
|
+
isFeatured: z.ZodBoolean;
|
|
843
|
+
priority: z.ZodNumber;
|
|
844
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
845
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
846
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
847
|
+
}, "strict", z.ZodTypeAny, {
|
|
848
|
+
id: string;
|
|
849
|
+
venueId: string;
|
|
850
|
+
accessor: string;
|
|
851
|
+
tags: string[];
|
|
852
|
+
slug: Record<string, string>;
|
|
853
|
+
title: Record<string, string>;
|
|
854
|
+
excerpt: Record<string, string> | null;
|
|
855
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
856
|
+
featuredImageId: string | null;
|
|
857
|
+
isActive: boolean;
|
|
858
|
+
isFeatured: boolean;
|
|
859
|
+
priority: number;
|
|
860
|
+
createdAt?: unknown;
|
|
861
|
+
updatedAt?: unknown;
|
|
862
|
+
publishedAt?: unknown;
|
|
863
|
+
}, {
|
|
864
|
+
id: string;
|
|
865
|
+
venueId: string;
|
|
866
|
+
accessor: string;
|
|
867
|
+
tags: string[];
|
|
868
|
+
slug: Record<string, string>;
|
|
869
|
+
title: Record<string, string>;
|
|
870
|
+
excerpt: Record<string, string> | null;
|
|
871
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
872
|
+
featuredImageId: string | null;
|
|
873
|
+
isActive: boolean;
|
|
874
|
+
isFeatured: boolean;
|
|
875
|
+
priority: number;
|
|
876
|
+
createdAt?: unknown;
|
|
877
|
+
updatedAt?: unknown;
|
|
878
|
+
publishedAt?: unknown;
|
|
879
|
+
}>;
|
|
759
880
|
AddToBasketRequest: z.ZodObject<{
|
|
760
881
|
venueId: z.ZodString;
|
|
761
882
|
sessionId: z.ZodString;
|
|
@@ -2855,6 +2976,43 @@ declare const schemas: {
|
|
|
2855
2976
|
teamOrderId: string;
|
|
2856
2977
|
deliveryAddressId: string;
|
|
2857
2978
|
}>;
|
|
2979
|
+
GetVenueResponse: z.ZodObject<{
|
|
2980
|
+
id: z.ZodString;
|
|
2981
|
+
accessor: z.ZodString;
|
|
2982
|
+
officialName: z.ZodString;
|
|
2983
|
+
legalName: z.ZodString;
|
|
2984
|
+
shortName: z.ZodString;
|
|
2985
|
+
brandName: z.ZodString;
|
|
2986
|
+
primaryLocale: z.ZodString;
|
|
2987
|
+
supportedLocales: z.ZodArray<z.ZodString, "many">;
|
|
2988
|
+
timezone: z.ZodString;
|
|
2989
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
2990
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
2991
|
+
}, "strict", z.ZodTypeAny, {
|
|
2992
|
+
id: string;
|
|
2993
|
+
accessor: string;
|
|
2994
|
+
timezone: string;
|
|
2995
|
+
shortName: string;
|
|
2996
|
+
officialName: string;
|
|
2997
|
+
legalName: string;
|
|
2998
|
+
brandName: string;
|
|
2999
|
+
primaryLocale: string;
|
|
3000
|
+
supportedLocales: string[];
|
|
3001
|
+
createdAt?: unknown;
|
|
3002
|
+
updatedAt?: unknown;
|
|
3003
|
+
}, {
|
|
3004
|
+
id: string;
|
|
3005
|
+
accessor: string;
|
|
3006
|
+
timezone: string;
|
|
3007
|
+
shortName: string;
|
|
3008
|
+
officialName: string;
|
|
3009
|
+
legalName: string;
|
|
3010
|
+
brandName: string;
|
|
3011
|
+
primaryLocale: string;
|
|
3012
|
+
supportedLocales: string[];
|
|
3013
|
+
createdAt?: unknown;
|
|
3014
|
+
updatedAt?: unknown;
|
|
3015
|
+
}>;
|
|
2858
3016
|
};
|
|
2859
3017
|
|
|
2860
3018
|
export { schemas };
|
package/dist/schemas.mjs
CHANGED
|
@@ -7,8 +7,11 @@ 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 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()), content: z.object({}).partial().strict().passthrough(), tags: z.array(z.string()), featuredImageId: z.string().nullable(), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-
|
|
10
|
+
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()), featuredImageId: z.string().nullable(), 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() }).strict();
|
|
11
11
|
const ListArticlesResponse = z.array(Article);
|
|
12
|
+
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()), featuredImageId: z.string().nullable(), 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() }).strict();
|
|
13
|
+
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()), featuredImageId: z.string().nullable(), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-9007199254740991).lte(9007199254740991) }).partial().strict();
|
|
14
|
+
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()), featuredImageId: z.string().nullable(), 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() }).strict();
|
|
12
15
|
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();
|
|
13
16
|
const AddToBasketResponse = z.object({ basketItemId: 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: z.number().int().gte(0).lte(9007199254740991), deposit: z.object({ depositwareTemplateId: z.string(), name: z.record(z.string()), amount: z.number().int().gte(0).lte(9007199254740991), currency: z.enum(["EUR", "CHF"]) }).strict().nullable(), totals: z.object({ currency: z.enum(["EUR", "CHF"]), itemsTotal: z.number().int().gte(0).lte(9007199254740991), taxAmount: z.number().int().gte(0).lte(9007199254740991), depositCharge: z.number().int().gte(0).lte(9007199254740991), grossTotal: z.number().int().gte(0).lte(9007199254740991), depositCredit: z.number().int().gte(0).lte(9007199254740991), effectiveTotal: z.number().int().gte(0).lte(9007199254740991), cashRefund: z.number().int().gte(0).lte(9007199254740991), returnable: z.array(z.object({ depositwareTemplateId: z.string(), count: z.number().int().gte(0).lte(9007199254740991) }).strict()) }).strict() }).strict();
|
|
14
17
|
const RemoveFromBasketResponse = z.object({ success: z.boolean(), basketItemId: 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: z.number().int().gte(0).lte(9007199254740991), totals: z.object({ currency: z.enum(["EUR", "CHF"]), itemsTotal: z.number().int().gte(0).lte(9007199254740991), taxAmount: z.number().int().gte(0).lte(9007199254740991), depositCharge: z.number().int().gte(0).lte(9007199254740991), grossTotal: z.number().int().gte(0).lte(9007199254740991), depositCredit: z.number().int().gte(0).lte(9007199254740991), effectiveTotal: z.number().int().gte(0).lte(9007199254740991), cashRefund: z.number().int().gte(0).lte(9007199254740991), returnable: z.array(z.object({ depositwareTemplateId: z.string(), count: z.number().int().gte(0).lte(9007199254740991) }).strict()) }).strict().nullable() }).strict();
|
|
@@ -60,6 +63,7 @@ const SwitchFulfillmentTeamOrderRequest = z.object({ publicId: z.string().min(1)
|
|
|
60
63
|
const SwitchFulfillmentTeamOrderResponse = z.object({ teamOrderId: 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(), status: z.enum(["draft", "collecting", "locked", "placed", "ready", "completed", "cancelled"]), fulfillmentType: z.enum(["pickup", "delivery"]), deliveryAddressId: z.string().nullable() }).strict();
|
|
61
64
|
const UpdateDeliveryAddressTeamOrderRequest = z.object({ publicId: z.string().min(1), sessionId: z.string().min(1), deliveryAddress: z.object({ street: z.string(), city: z.string(), state: z.string(), postalCode: z.string(), country: z.string() }).strict() }).strict();
|
|
62
65
|
const UpdateDeliveryAddressTeamOrderResponse = z.object({ teamOrderId: 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(), deliveryAddressId: z.string() }).strict();
|
|
66
|
+
const GetVenueResponse = z.object({ id: z.string(), accessor: z.string(), officialName: z.string(), legalName: z.string(), shortName: z.string(), brandName: z.string(), primaryLocale: z.string(), supportedLocales: z.array(z.string()), timezone: z.string(), createdAt: z.unknown().nullable(), updatedAt: z.unknown().nullable() }).strict();
|
|
63
67
|
const schemas = {
|
|
64
68
|
Area,
|
|
65
69
|
ListAreasResponse,
|
|
@@ -70,6 +74,9 @@ const schemas = {
|
|
|
70
74
|
includeDrafts,
|
|
71
75
|
Article,
|
|
72
76
|
ListArticlesResponse,
|
|
77
|
+
GetArticleResponse,
|
|
78
|
+
PatchArticleRequest,
|
|
79
|
+
PatchArticleResponse,
|
|
73
80
|
AddToBasketRequest,
|
|
74
81
|
AddToBasketResponse,
|
|
75
82
|
RemoveFromBasketResponse,
|
|
@@ -120,7 +127,8 @@ const schemas = {
|
|
|
120
127
|
SwitchFulfillmentTeamOrderRequest,
|
|
121
128
|
SwitchFulfillmentTeamOrderResponse,
|
|
122
129
|
UpdateDeliveryAddressTeamOrderRequest,
|
|
123
|
-
UpdateDeliveryAddressTeamOrderResponse
|
|
130
|
+
UpdateDeliveryAddressTeamOrderResponse,
|
|
131
|
+
GetVenueResponse
|
|
124
132
|
};
|
|
125
133
|
|
|
126
134
|
export { schemas };
|