order3000 0.20.0 → 0.22.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 +145 -0
- package/dist/client.d.cts +218 -9
- package/dist/client.d.mts +218 -9
- package/dist/client.mjs +145 -0
- package/dist/schemas.cjs +16 -2
- package/dist/schemas.d.cts +355 -44
- package/dist/schemas.d.mts +355 -44
- package/dist/schemas.mjs +16 -2
- package/package.json +3 -3
package/dist/schemas.d.cts
CHANGED
|
@@ -650,58 +650,103 @@ 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
|
+
}, "strict", z.ZodTypeAny, {
|
|
660
|
+
id: string;
|
|
661
|
+
publicUrl: string | null;
|
|
662
|
+
locale: string;
|
|
663
|
+
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
664
|
+
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
665
|
+
}, {
|
|
666
|
+
id: string;
|
|
667
|
+
publicUrl: string | null;
|
|
668
|
+
locale: string;
|
|
669
|
+
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
670
|
+
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
671
|
+
}>;
|
|
653
672
|
Article: z.ZodObject<{
|
|
654
673
|
id: z.ZodString;
|
|
655
674
|
venueId: z.ZodString;
|
|
656
675
|
accessor: z.ZodString;
|
|
657
676
|
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
658
677
|
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"
|
|
678
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
679
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
661
680
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
662
|
-
featuredImageId: z.ZodNullable<z.ZodString>;
|
|
663
681
|
isActive: z.ZodBoolean;
|
|
664
682
|
isFeatured: z.ZodBoolean;
|
|
665
683
|
priority: z.ZodNumber;
|
|
666
|
-
publishedAt: z.ZodNullable<z.
|
|
667
|
-
createdAt: z.ZodNullable<z.
|
|
668
|
-
updatedAt: z.ZodNullable<z.
|
|
684
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
685
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
686
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
687
|
+
featureImage: z.ZodNullable<z.ZodObject<{
|
|
688
|
+
id: z.ZodString;
|
|
689
|
+
publicUrl: z.ZodNullable<z.ZodString>;
|
|
690
|
+
locale: z.ZodString;
|
|
691
|
+
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
692
|
+
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
693
|
+
}, "strict", z.ZodTypeAny, {
|
|
694
|
+
id: string;
|
|
695
|
+
publicUrl: string | null;
|
|
696
|
+
locale: string;
|
|
697
|
+
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
698
|
+
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
699
|
+
}, {
|
|
700
|
+
id: string;
|
|
701
|
+
publicUrl: string | null;
|
|
702
|
+
locale: string;
|
|
703
|
+
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
704
|
+
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
705
|
+
}>>;
|
|
669
706
|
}, "strict", z.ZodTypeAny, {
|
|
670
707
|
id: string;
|
|
671
708
|
venueId: string;
|
|
672
709
|
accessor: string;
|
|
673
710
|
tags: string[];
|
|
674
|
-
createdAt: string | null;
|
|
675
|
-
updatedAt: string | null;
|
|
676
711
|
slug: Record<string, string>;
|
|
677
712
|
title: Record<string, string>;
|
|
678
|
-
excerpt: Record<string, string
|
|
679
|
-
content: {}
|
|
680
|
-
[k: string]: unknown;
|
|
681
|
-
};
|
|
682
|
-
featuredImageId: string | null;
|
|
713
|
+
excerpt: Record<string, string> | null;
|
|
714
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
683
715
|
isActive: boolean;
|
|
684
716
|
isFeatured: boolean;
|
|
685
717
|
priority: number;
|
|
686
|
-
|
|
718
|
+
featureImage: {
|
|
719
|
+
id: string;
|
|
720
|
+
publicUrl: string | null;
|
|
721
|
+
locale: string;
|
|
722
|
+
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
723
|
+
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
724
|
+
} | null;
|
|
725
|
+
createdAt?: unknown;
|
|
726
|
+
updatedAt?: unknown;
|
|
727
|
+
publishedAt?: unknown;
|
|
687
728
|
}, {
|
|
688
729
|
id: string;
|
|
689
730
|
venueId: string;
|
|
690
731
|
accessor: string;
|
|
691
732
|
tags: string[];
|
|
692
|
-
createdAt: string | null;
|
|
693
|
-
updatedAt: string | null;
|
|
694
733
|
slug: Record<string, string>;
|
|
695
734
|
title: Record<string, string>;
|
|
696
|
-
excerpt: Record<string, string
|
|
697
|
-
content: {}
|
|
698
|
-
[k: string]: unknown;
|
|
699
|
-
};
|
|
700
|
-
featuredImageId: string | null;
|
|
735
|
+
excerpt: Record<string, string> | null;
|
|
736
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
701
737
|
isActive: boolean;
|
|
702
738
|
isFeatured: boolean;
|
|
703
739
|
priority: number;
|
|
704
|
-
|
|
740
|
+
featureImage: {
|
|
741
|
+
id: string;
|
|
742
|
+
publicUrl: string | null;
|
|
743
|
+
locale: string;
|
|
744
|
+
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
745
|
+
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
746
|
+
} | null;
|
|
747
|
+
createdAt?: unknown;
|
|
748
|
+
updatedAt?: unknown;
|
|
749
|
+
publishedAt?: unknown;
|
|
705
750
|
}>;
|
|
706
751
|
ListArticlesResponse: z.ZodArray<z.ZodObject<{
|
|
707
752
|
id: z.ZodString;
|
|
@@ -709,53 +754,282 @@ declare const schemas: {
|
|
|
709
754
|
accessor: z.ZodString;
|
|
710
755
|
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
711
756
|
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"
|
|
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">>>;
|
|
714
759
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
715
|
-
featuredImageId: z.ZodNullable<z.ZodString>;
|
|
716
760
|
isActive: z.ZodBoolean;
|
|
717
761
|
isFeatured: z.ZodBoolean;
|
|
718
762
|
priority: z.ZodNumber;
|
|
719
|
-
publishedAt: z.ZodNullable<z.
|
|
720
|
-
createdAt: z.ZodNullable<z.
|
|
721
|
-
updatedAt: z.ZodNullable<z.
|
|
763
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
764
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
765
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
766
|
+
featureImage: z.ZodNullable<z.ZodObject<{
|
|
767
|
+
id: z.ZodString;
|
|
768
|
+
publicUrl: z.ZodNullable<z.ZodString>;
|
|
769
|
+
locale: z.ZodString;
|
|
770
|
+
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
771
|
+
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
772
|
+
}, "strict", z.ZodTypeAny, {
|
|
773
|
+
id: string;
|
|
774
|
+
publicUrl: string | null;
|
|
775
|
+
locale: string;
|
|
776
|
+
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
777
|
+
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
778
|
+
}, {
|
|
779
|
+
id: string;
|
|
780
|
+
publicUrl: string | null;
|
|
781
|
+
locale: string;
|
|
782
|
+
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
783
|
+
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
784
|
+
}>>;
|
|
722
785
|
}, "strict", z.ZodTypeAny, {
|
|
723
786
|
id: string;
|
|
724
787
|
venueId: string;
|
|
725
788
|
accessor: string;
|
|
726
789
|
tags: string[];
|
|
727
|
-
createdAt: string | null;
|
|
728
|
-
updatedAt: string | null;
|
|
729
790
|
slug: Record<string, string>;
|
|
730
791
|
title: Record<string, string>;
|
|
731
|
-
excerpt: Record<string, string
|
|
732
|
-
content: {}
|
|
733
|
-
[k: string]: unknown;
|
|
734
|
-
};
|
|
735
|
-
featuredImageId: string | null;
|
|
792
|
+
excerpt: Record<string, string> | null;
|
|
793
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
736
794
|
isActive: boolean;
|
|
737
795
|
isFeatured: boolean;
|
|
738
796
|
priority: number;
|
|
739
|
-
|
|
797
|
+
featureImage: {
|
|
798
|
+
id: string;
|
|
799
|
+
publicUrl: string | null;
|
|
800
|
+
locale: string;
|
|
801
|
+
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
802
|
+
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
803
|
+
} | null;
|
|
804
|
+
createdAt?: unknown;
|
|
805
|
+
updatedAt?: unknown;
|
|
806
|
+
publishedAt?: unknown;
|
|
740
807
|
}, {
|
|
741
808
|
id: string;
|
|
742
809
|
venueId: string;
|
|
743
810
|
accessor: string;
|
|
744
811
|
tags: string[];
|
|
745
|
-
createdAt: string | null;
|
|
746
|
-
updatedAt: string | null;
|
|
747
812
|
slug: Record<string, string>;
|
|
748
813
|
title: Record<string, string>;
|
|
749
|
-
excerpt: Record<string, string
|
|
750
|
-
content: {}
|
|
751
|
-
[k: string]: unknown;
|
|
752
|
-
};
|
|
753
|
-
featuredImageId: string | null;
|
|
814
|
+
excerpt: Record<string, string> | null;
|
|
815
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
754
816
|
isActive: boolean;
|
|
755
817
|
isFeatured: boolean;
|
|
756
818
|
priority: number;
|
|
757
|
-
|
|
819
|
+
featureImage: {
|
|
820
|
+
id: string;
|
|
821
|
+
publicUrl: string | null;
|
|
822
|
+
locale: string;
|
|
823
|
+
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
824
|
+
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
825
|
+
} | null;
|
|
826
|
+
createdAt?: unknown;
|
|
827
|
+
updatedAt?: unknown;
|
|
828
|
+
publishedAt?: unknown;
|
|
758
829
|
}>, "many">;
|
|
830
|
+
GetArticleResponse: z.ZodObject<{
|
|
831
|
+
id: z.ZodString;
|
|
832
|
+
venueId: z.ZodString;
|
|
833
|
+
accessor: z.ZodString;
|
|
834
|
+
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
835
|
+
title: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
836
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
837
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
838
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
839
|
+
isActive: z.ZodBoolean;
|
|
840
|
+
isFeatured: z.ZodBoolean;
|
|
841
|
+
priority: z.ZodNumber;
|
|
842
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
843
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
844
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
845
|
+
featureImage: z.ZodNullable<z.ZodObject<{
|
|
846
|
+
id: z.ZodString;
|
|
847
|
+
publicUrl: z.ZodNullable<z.ZodString>;
|
|
848
|
+
locale: z.ZodString;
|
|
849
|
+
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
850
|
+
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
851
|
+
}, "strict", z.ZodTypeAny, {
|
|
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
|
+
}, {
|
|
858
|
+
id: string;
|
|
859
|
+
publicUrl: string | null;
|
|
860
|
+
locale: string;
|
|
861
|
+
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
862
|
+
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
863
|
+
}>>;
|
|
864
|
+
}, "strict", z.ZodTypeAny, {
|
|
865
|
+
id: string;
|
|
866
|
+
venueId: string;
|
|
867
|
+
accessor: string;
|
|
868
|
+
tags: string[];
|
|
869
|
+
slug: Record<string, string>;
|
|
870
|
+
title: Record<string, string>;
|
|
871
|
+
excerpt: Record<string, string> | null;
|
|
872
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
873
|
+
isActive: boolean;
|
|
874
|
+
isFeatured: boolean;
|
|
875
|
+
priority: number;
|
|
876
|
+
featureImage: {
|
|
877
|
+
id: string;
|
|
878
|
+
publicUrl: string | null;
|
|
879
|
+
locale: string;
|
|
880
|
+
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
881
|
+
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
882
|
+
} | null;
|
|
883
|
+
createdAt?: unknown;
|
|
884
|
+
updatedAt?: unknown;
|
|
885
|
+
publishedAt?: unknown;
|
|
886
|
+
}, {
|
|
887
|
+
id: string;
|
|
888
|
+
venueId: string;
|
|
889
|
+
accessor: string;
|
|
890
|
+
tags: string[];
|
|
891
|
+
slug: Record<string, string>;
|
|
892
|
+
title: Record<string, string>;
|
|
893
|
+
excerpt: Record<string, string> | null;
|
|
894
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
895
|
+
isActive: boolean;
|
|
896
|
+
isFeatured: boolean;
|
|
897
|
+
priority: number;
|
|
898
|
+
featureImage: {
|
|
899
|
+
id: string;
|
|
900
|
+
publicUrl: string | null;
|
|
901
|
+
locale: string;
|
|
902
|
+
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
903
|
+
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
904
|
+
} | null;
|
|
905
|
+
createdAt?: unknown;
|
|
906
|
+
updatedAt?: unknown;
|
|
907
|
+
publishedAt?: unknown;
|
|
908
|
+
}>;
|
|
909
|
+
PatchArticleRequest: z.ZodObject<{
|
|
910
|
+
slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
911
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
912
|
+
excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
913
|
+
content: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
914
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
915
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
916
|
+
isFeatured: z.ZodOptional<z.ZodBoolean>;
|
|
917
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
918
|
+
}, "strict", z.ZodTypeAny, {
|
|
919
|
+
tags?: string[] | undefined;
|
|
920
|
+
slug?: Record<string, string> | undefined;
|
|
921
|
+
title?: Record<string, string> | undefined;
|
|
922
|
+
excerpt?: Record<string, string> | undefined;
|
|
923
|
+
content?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
924
|
+
isActive?: boolean | undefined;
|
|
925
|
+
isFeatured?: boolean | undefined;
|
|
926
|
+
priority?: number | undefined;
|
|
927
|
+
}, {
|
|
928
|
+
tags?: string[] | undefined;
|
|
929
|
+
slug?: Record<string, string> | undefined;
|
|
930
|
+
title?: Record<string, string> | undefined;
|
|
931
|
+
excerpt?: Record<string, string> | undefined;
|
|
932
|
+
content?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
933
|
+
isActive?: boolean | undefined;
|
|
934
|
+
isFeatured?: boolean | undefined;
|
|
935
|
+
priority?: number | undefined;
|
|
936
|
+
}>;
|
|
937
|
+
PatchArticleResponse: z.ZodObject<{
|
|
938
|
+
id: z.ZodString;
|
|
939
|
+
venueId: z.ZodString;
|
|
940
|
+
accessor: z.ZodString;
|
|
941
|
+
slug: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
942
|
+
title: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
943
|
+
excerpt: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
944
|
+
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
945
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
946
|
+
isActive: z.ZodBoolean;
|
|
947
|
+
isFeatured: z.ZodBoolean;
|
|
948
|
+
priority: z.ZodNumber;
|
|
949
|
+
publishedAt: z.ZodNullable<z.ZodUnknown>;
|
|
950
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
951
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
952
|
+
featureImage: z.ZodNullable<z.ZodObject<{
|
|
953
|
+
id: z.ZodString;
|
|
954
|
+
publicUrl: z.ZodNullable<z.ZodString>;
|
|
955
|
+
locale: z.ZodString;
|
|
956
|
+
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
957
|
+
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
958
|
+
}, "strict", z.ZodTypeAny, {
|
|
959
|
+
id: string;
|
|
960
|
+
publicUrl: string | null;
|
|
961
|
+
locale: string;
|
|
962
|
+
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
963
|
+
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
964
|
+
}, {
|
|
965
|
+
id: string;
|
|
966
|
+
publicUrl: string | null;
|
|
967
|
+
locale: string;
|
|
968
|
+
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
969
|
+
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
970
|
+
}>>;
|
|
971
|
+
}, "strict", z.ZodTypeAny, {
|
|
972
|
+
id: string;
|
|
973
|
+
venueId: string;
|
|
974
|
+
accessor: string;
|
|
975
|
+
tags: string[];
|
|
976
|
+
slug: Record<string, string>;
|
|
977
|
+
title: Record<string, string>;
|
|
978
|
+
excerpt: Record<string, string> | null;
|
|
979
|
+
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
980
|
+
isActive: boolean;
|
|
981
|
+
isFeatured: boolean;
|
|
982
|
+
priority: number;
|
|
983
|
+
featureImage: {
|
|
984
|
+
id: string;
|
|
985
|
+
publicUrl: string | null;
|
|
986
|
+
locale: string;
|
|
987
|
+
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
988
|
+
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
989
|
+
} | null;
|
|
990
|
+
createdAt?: unknown;
|
|
991
|
+
updatedAt?: unknown;
|
|
992
|
+
publishedAt?: unknown;
|
|
993
|
+
}, {
|
|
994
|
+
id: string;
|
|
995
|
+
venueId: string;
|
|
996
|
+
accessor: string;
|
|
997
|
+
tags: string[];
|
|
998
|
+
slug: Record<string, string>;
|
|
999
|
+
title: Record<string, string>;
|
|
1000
|
+
excerpt: Record<string, string> | null;
|
|
1001
|
+
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1002
|
+
isActive: boolean;
|
|
1003
|
+
isFeatured: boolean;
|
|
1004
|
+
priority: number;
|
|
1005
|
+
featureImage: {
|
|
1006
|
+
id: string;
|
|
1007
|
+
publicUrl: string | null;
|
|
1008
|
+
locale: string;
|
|
1009
|
+
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1010
|
+
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1011
|
+
} | null;
|
|
1012
|
+
createdAt?: unknown;
|
|
1013
|
+
updatedAt?: unknown;
|
|
1014
|
+
publishedAt?: unknown;
|
|
1015
|
+
}>;
|
|
1016
|
+
UploadFeatureImageRequest: z.ZodObject<{
|
|
1017
|
+
file: z.ZodUnknown;
|
|
1018
|
+
}, "strict", z.ZodTypeAny, {
|
|
1019
|
+
file?: unknown;
|
|
1020
|
+
}, {
|
|
1021
|
+
file?: unknown;
|
|
1022
|
+
}>;
|
|
1023
|
+
PatchFeatureImageRequest: z.ZodObject<{
|
|
1024
|
+
caption: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1025
|
+
alt: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1026
|
+
}, "strict", z.ZodTypeAny, {
|
|
1027
|
+
caption?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1028
|
+
alt?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1029
|
+
}, {
|
|
1030
|
+
caption?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1031
|
+
alt?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1032
|
+
}>;
|
|
759
1033
|
AddToBasketRequest: z.ZodObject<{
|
|
760
1034
|
venueId: z.ZodString;
|
|
761
1035
|
sessionId: z.ZodString;
|
|
@@ -2855,6 +3129,43 @@ declare const schemas: {
|
|
|
2855
3129
|
teamOrderId: string;
|
|
2856
3130
|
deliveryAddressId: string;
|
|
2857
3131
|
}>;
|
|
3132
|
+
GetVenueResponse: z.ZodObject<{
|
|
3133
|
+
id: z.ZodString;
|
|
3134
|
+
accessor: z.ZodString;
|
|
3135
|
+
officialName: z.ZodString;
|
|
3136
|
+
legalName: z.ZodString;
|
|
3137
|
+
shortName: z.ZodString;
|
|
3138
|
+
brandName: z.ZodString;
|
|
3139
|
+
primaryLocale: z.ZodString;
|
|
3140
|
+
supportedLocales: z.ZodArray<z.ZodString, "many">;
|
|
3141
|
+
timezone: z.ZodString;
|
|
3142
|
+
createdAt: z.ZodNullable<z.ZodUnknown>;
|
|
3143
|
+
updatedAt: z.ZodNullable<z.ZodUnknown>;
|
|
3144
|
+
}, "strict", z.ZodTypeAny, {
|
|
3145
|
+
id: string;
|
|
3146
|
+
accessor: string;
|
|
3147
|
+
timezone: string;
|
|
3148
|
+
shortName: string;
|
|
3149
|
+
officialName: string;
|
|
3150
|
+
legalName: string;
|
|
3151
|
+
brandName: string;
|
|
3152
|
+
primaryLocale: string;
|
|
3153
|
+
supportedLocales: string[];
|
|
3154
|
+
createdAt?: unknown;
|
|
3155
|
+
updatedAt?: unknown;
|
|
3156
|
+
}, {
|
|
3157
|
+
id: string;
|
|
3158
|
+
accessor: string;
|
|
3159
|
+
timezone: string;
|
|
3160
|
+
shortName: string;
|
|
3161
|
+
officialName: string;
|
|
3162
|
+
legalName: string;
|
|
3163
|
+
brandName: string;
|
|
3164
|
+
primaryLocale: string;
|
|
3165
|
+
supportedLocales: string[];
|
|
3166
|
+
createdAt?: unknown;
|
|
3167
|
+
updatedAt?: unknown;
|
|
3168
|
+
}>;
|
|
2858
3169
|
};
|
|
2859
3170
|
|
|
2860
3171
|
export { schemas };
|