@mac777/project-pinecone-schema 1.1.4 → 1.1.6
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/events/events.schema.d.ts +190 -190
- package/dist/events/events.schema.js +3 -3
- package/dist/events/utils/venue.schema.d.ts +8 -8
- package/dist/events/utils/venue.schema.js +1 -1
- package/package.json +1 -1
- package/src/events/events.schema.ts +3 -3
- package/src/events/utils/venue.schema.ts +1 -1
|
@@ -238,17 +238,17 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
238
238
|
venue: z.ZodObject<{
|
|
239
239
|
name: z.ZodString;
|
|
240
240
|
address: z.ZodObject<{
|
|
241
|
-
street: z.ZodString
|
|
241
|
+
street: z.ZodOptional<z.ZodString>;
|
|
242
242
|
city: z.ZodString;
|
|
243
243
|
country: z.ZodString;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
street: string;
|
|
246
245
|
city: string;
|
|
247
246
|
country: string;
|
|
247
|
+
street?: string | undefined;
|
|
248
248
|
}, {
|
|
249
|
-
street: string;
|
|
250
249
|
city: string;
|
|
251
250
|
country: string;
|
|
251
|
+
street?: string | undefined;
|
|
252
252
|
}>;
|
|
253
253
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
254
254
|
type: z.ZodLiteral<"Point">;
|
|
@@ -267,9 +267,9 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
267
267
|
}, "strip", z.ZodTypeAny, {
|
|
268
268
|
name: string;
|
|
269
269
|
address: {
|
|
270
|
-
street: string;
|
|
271
270
|
city: string;
|
|
272
271
|
country: string;
|
|
272
|
+
street?: string | undefined;
|
|
273
273
|
};
|
|
274
274
|
capacity: number;
|
|
275
275
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -282,9 +282,9 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
282
282
|
}, {
|
|
283
283
|
name: string;
|
|
284
284
|
address: {
|
|
285
|
-
street: string;
|
|
286
285
|
city: string;
|
|
287
286
|
country: string;
|
|
287
|
+
street?: string | undefined;
|
|
288
288
|
};
|
|
289
289
|
capacity: number;
|
|
290
290
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -349,17 +349,17 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
349
349
|
venue: z.ZodObject<{
|
|
350
350
|
name: z.ZodString;
|
|
351
351
|
address: z.ZodObject<{
|
|
352
|
-
street: z.ZodString
|
|
352
|
+
street: z.ZodOptional<z.ZodString>;
|
|
353
353
|
city: z.ZodString;
|
|
354
354
|
country: z.ZodString;
|
|
355
355
|
}, "strip", z.ZodTypeAny, {
|
|
356
|
-
street: string;
|
|
357
356
|
city: string;
|
|
358
357
|
country: string;
|
|
358
|
+
street?: string | undefined;
|
|
359
359
|
}, {
|
|
360
|
-
street: string;
|
|
361
360
|
city: string;
|
|
362
361
|
country: string;
|
|
362
|
+
street?: string | undefined;
|
|
363
363
|
}>;
|
|
364
364
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
365
365
|
type: z.ZodLiteral<"Point">;
|
|
@@ -378,9 +378,9 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
378
378
|
}, "strip", z.ZodTypeAny, {
|
|
379
379
|
name: string;
|
|
380
380
|
address: {
|
|
381
|
-
street: string;
|
|
382
381
|
city: string;
|
|
383
382
|
country: string;
|
|
383
|
+
street?: string | undefined;
|
|
384
384
|
};
|
|
385
385
|
capacity: number;
|
|
386
386
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -393,9 +393,9 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
393
393
|
}, {
|
|
394
394
|
name: string;
|
|
395
395
|
address: {
|
|
396
|
-
street: string;
|
|
397
396
|
city: string;
|
|
398
397
|
country: string;
|
|
398
|
+
street?: string | undefined;
|
|
399
399
|
};
|
|
400
400
|
capacity: number;
|
|
401
401
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -460,17 +460,17 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
460
460
|
venue: z.ZodObject<{
|
|
461
461
|
name: z.ZodString;
|
|
462
462
|
address: z.ZodObject<{
|
|
463
|
-
street: z.ZodString
|
|
463
|
+
street: z.ZodOptional<z.ZodString>;
|
|
464
464
|
city: z.ZodString;
|
|
465
465
|
country: z.ZodString;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
-
street: string;
|
|
468
467
|
city: string;
|
|
469
468
|
country: string;
|
|
469
|
+
street?: string | undefined;
|
|
470
470
|
}, {
|
|
471
|
-
street: string;
|
|
472
471
|
city: string;
|
|
473
472
|
country: string;
|
|
473
|
+
street?: string | undefined;
|
|
474
474
|
}>;
|
|
475
475
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
476
476
|
type: z.ZodLiteral<"Point">;
|
|
@@ -489,9 +489,9 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
489
489
|
}, "strip", z.ZodTypeAny, {
|
|
490
490
|
name: string;
|
|
491
491
|
address: {
|
|
492
|
-
street: string;
|
|
493
492
|
city: string;
|
|
494
493
|
country: string;
|
|
494
|
+
street?: string | undefined;
|
|
495
495
|
};
|
|
496
496
|
capacity: number;
|
|
497
497
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -504,9 +504,9 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
504
504
|
}, {
|
|
505
505
|
name: string;
|
|
506
506
|
address: {
|
|
507
|
-
street: string;
|
|
508
507
|
city: string;
|
|
509
508
|
country: string;
|
|
509
|
+
street?: string | undefined;
|
|
510
510
|
};
|
|
511
511
|
capacity: number;
|
|
512
512
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -571,17 +571,17 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
571
571
|
venue: z.ZodObject<{
|
|
572
572
|
name: z.ZodString;
|
|
573
573
|
address: z.ZodObject<{
|
|
574
|
-
street: z.ZodString
|
|
574
|
+
street: z.ZodOptional<z.ZodString>;
|
|
575
575
|
city: z.ZodString;
|
|
576
576
|
country: z.ZodString;
|
|
577
577
|
}, "strip", z.ZodTypeAny, {
|
|
578
|
-
street: string;
|
|
579
578
|
city: string;
|
|
580
579
|
country: string;
|
|
580
|
+
street?: string | undefined;
|
|
581
581
|
}, {
|
|
582
|
-
street: string;
|
|
583
582
|
city: string;
|
|
584
583
|
country: string;
|
|
584
|
+
street?: string | undefined;
|
|
585
585
|
}>;
|
|
586
586
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
587
587
|
type: z.ZodLiteral<"Point">;
|
|
@@ -600,9 +600,9 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
600
600
|
}, "strip", z.ZodTypeAny, {
|
|
601
601
|
name: string;
|
|
602
602
|
address: {
|
|
603
|
-
street: string;
|
|
604
603
|
city: string;
|
|
605
604
|
country: string;
|
|
605
|
+
street?: string | undefined;
|
|
606
606
|
};
|
|
607
607
|
capacity: number;
|
|
608
608
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -615,9 +615,9 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
615
615
|
}, {
|
|
616
616
|
name: string;
|
|
617
617
|
address: {
|
|
618
|
-
street: string;
|
|
619
618
|
city: string;
|
|
620
619
|
country: string;
|
|
620
|
+
street?: string | undefined;
|
|
621
621
|
};
|
|
622
622
|
capacity: number;
|
|
623
623
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -682,17 +682,17 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
682
682
|
venue: z.ZodObject<{
|
|
683
683
|
name: z.ZodString;
|
|
684
684
|
address: z.ZodObject<{
|
|
685
|
-
street: z.ZodString
|
|
685
|
+
street: z.ZodOptional<z.ZodString>;
|
|
686
686
|
city: z.ZodString;
|
|
687
687
|
country: z.ZodString;
|
|
688
688
|
}, "strip", z.ZodTypeAny, {
|
|
689
|
-
street: string;
|
|
690
689
|
city: string;
|
|
691
690
|
country: string;
|
|
691
|
+
street?: string | undefined;
|
|
692
692
|
}, {
|
|
693
|
-
street: string;
|
|
694
693
|
city: string;
|
|
695
694
|
country: string;
|
|
695
|
+
street?: string | undefined;
|
|
696
696
|
}>;
|
|
697
697
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
698
698
|
type: z.ZodLiteral<"Point">;
|
|
@@ -711,9 +711,9 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
711
711
|
}, "strip", z.ZodTypeAny, {
|
|
712
712
|
name: string;
|
|
713
713
|
address: {
|
|
714
|
-
street: string;
|
|
715
714
|
city: string;
|
|
716
715
|
country: string;
|
|
716
|
+
street?: string | undefined;
|
|
717
717
|
};
|
|
718
718
|
capacity: number;
|
|
719
719
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -726,9 +726,9 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
726
726
|
}, {
|
|
727
727
|
name: string;
|
|
728
728
|
address: {
|
|
729
|
-
street: string;
|
|
730
729
|
city: string;
|
|
731
730
|
country: string;
|
|
731
|
+
street?: string | undefined;
|
|
732
732
|
};
|
|
733
733
|
capacity: number;
|
|
734
734
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -741,7 +741,7 @@ export declare const stepLogisticsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
741
741
|
}>;
|
|
742
742
|
}, z.ZodTypeAny, "passthrough">>;
|
|
743
743
|
export declare const stepVerifySchema: z.ZodObject<{
|
|
744
|
-
organizer: z.ZodObject<{
|
|
744
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
745
745
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
746
746
|
companyName: z.ZodOptional<z.ZodString>;
|
|
747
747
|
contactPerson: z.ZodObject<{
|
|
@@ -778,9 +778,9 @@ export declare const stepVerifySchema: z.ZodObject<{
|
|
|
778
778
|
};
|
|
779
779
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
780
780
|
companyName?: string | undefined;
|
|
781
|
-
}
|
|
782
|
-
verification: z.ZodObject<{
|
|
783
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
781
|
+
}>>;
|
|
782
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
783
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
784
784
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
785
785
|
url: z.ZodOptional<z.ZodString>;
|
|
786
786
|
filename: z.ZodString;
|
|
@@ -795,24 +795,24 @@ export declare const stepVerifySchema: z.ZodObject<{
|
|
|
795
795
|
objectKey: string;
|
|
796
796
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
797
797
|
url?: string | undefined;
|
|
798
|
-
}>, "many"
|
|
798
|
+
}>, "many">>;
|
|
799
799
|
}, "strip", z.ZodTypeAny, {
|
|
800
|
-
documents
|
|
800
|
+
documents?: {
|
|
801
801
|
filename: string;
|
|
802
802
|
objectKey: string;
|
|
803
803
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
804
804
|
url?: string | undefined;
|
|
805
|
-
}[];
|
|
805
|
+
}[] | undefined;
|
|
806
806
|
}, {
|
|
807
|
-
documents
|
|
807
|
+
documents?: {
|
|
808
808
|
filename: string;
|
|
809
809
|
objectKey: string;
|
|
810
810
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
811
811
|
url?: string | undefined;
|
|
812
|
-
}[];
|
|
813
|
-
}
|
|
812
|
+
}[] | undefined;
|
|
813
|
+
}>>;
|
|
814
814
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
815
|
-
organizer: z.ZodObject<{
|
|
815
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
816
816
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
817
817
|
companyName: z.ZodOptional<z.ZodString>;
|
|
818
818
|
contactPerson: z.ZodObject<{
|
|
@@ -849,9 +849,9 @@ export declare const stepVerifySchema: z.ZodObject<{
|
|
|
849
849
|
};
|
|
850
850
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
851
851
|
companyName?: string | undefined;
|
|
852
|
-
}
|
|
853
|
-
verification: z.ZodObject<{
|
|
854
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
852
|
+
}>>;
|
|
853
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
854
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
855
855
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
856
856
|
url: z.ZodOptional<z.ZodString>;
|
|
857
857
|
filename: z.ZodString;
|
|
@@ -866,24 +866,24 @@ export declare const stepVerifySchema: z.ZodObject<{
|
|
|
866
866
|
objectKey: string;
|
|
867
867
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
868
868
|
url?: string | undefined;
|
|
869
|
-
}>, "many"
|
|
869
|
+
}>, "many">>;
|
|
870
870
|
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
documents
|
|
871
|
+
documents?: {
|
|
872
872
|
filename: string;
|
|
873
873
|
objectKey: string;
|
|
874
874
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
875
875
|
url?: string | undefined;
|
|
876
|
-
}[];
|
|
876
|
+
}[] | undefined;
|
|
877
877
|
}, {
|
|
878
|
-
documents
|
|
878
|
+
documents?: {
|
|
879
879
|
filename: string;
|
|
880
880
|
objectKey: string;
|
|
881
881
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
882
882
|
url?: string | undefined;
|
|
883
|
-
}[];
|
|
884
|
-
}
|
|
883
|
+
}[] | undefined;
|
|
884
|
+
}>>;
|
|
885
885
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
886
|
-
organizer: z.ZodObject<{
|
|
886
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
887
887
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
888
888
|
companyName: z.ZodOptional<z.ZodString>;
|
|
889
889
|
contactPerson: z.ZodObject<{
|
|
@@ -920,9 +920,9 @@ export declare const stepVerifySchema: z.ZodObject<{
|
|
|
920
920
|
};
|
|
921
921
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
922
922
|
companyName?: string | undefined;
|
|
923
|
-
}
|
|
924
|
-
verification: z.ZodObject<{
|
|
925
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
923
|
+
}>>;
|
|
924
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
925
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
926
926
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
927
927
|
url: z.ZodOptional<z.ZodString>;
|
|
928
928
|
filename: z.ZodString;
|
|
@@ -937,22 +937,22 @@ export declare const stepVerifySchema: z.ZodObject<{
|
|
|
937
937
|
objectKey: string;
|
|
938
938
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
939
939
|
url?: string | undefined;
|
|
940
|
-
}>, "many"
|
|
940
|
+
}>, "many">>;
|
|
941
941
|
}, "strip", z.ZodTypeAny, {
|
|
942
|
-
documents
|
|
942
|
+
documents?: {
|
|
943
943
|
filename: string;
|
|
944
944
|
objectKey: string;
|
|
945
945
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
946
946
|
url?: string | undefined;
|
|
947
|
-
}[];
|
|
947
|
+
}[] | undefined;
|
|
948
948
|
}, {
|
|
949
|
-
documents
|
|
949
|
+
documents?: {
|
|
950
950
|
filename: string;
|
|
951
951
|
objectKey: string;
|
|
952
952
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
953
953
|
url?: string | undefined;
|
|
954
|
-
}[];
|
|
955
|
-
}
|
|
954
|
+
}[] | undefined;
|
|
955
|
+
}>>;
|
|
956
956
|
}, z.ZodTypeAny, "passthrough">>;
|
|
957
957
|
export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
958
958
|
tickets: z.ZodArray<z.ZodObject<{
|
|
@@ -2838,17 +2838,17 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2838
2838
|
venue: z.ZodObject<{
|
|
2839
2839
|
name: z.ZodString;
|
|
2840
2840
|
address: z.ZodObject<{
|
|
2841
|
-
street: z.ZodString
|
|
2841
|
+
street: z.ZodOptional<z.ZodString>;
|
|
2842
2842
|
city: z.ZodString;
|
|
2843
2843
|
country: z.ZodString;
|
|
2844
2844
|
}, "strip", z.ZodTypeAny, {
|
|
2845
|
-
street: string;
|
|
2846
2845
|
city: string;
|
|
2847
2846
|
country: string;
|
|
2847
|
+
street?: string | undefined;
|
|
2848
2848
|
}, {
|
|
2849
|
-
street: string;
|
|
2850
2849
|
city: string;
|
|
2851
2850
|
country: string;
|
|
2851
|
+
street?: string | undefined;
|
|
2852
2852
|
}>;
|
|
2853
2853
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
2854
2854
|
type: z.ZodLiteral<"Point">;
|
|
@@ -2867,9 +2867,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2867
2867
|
}, "strip", z.ZodTypeAny, {
|
|
2868
2868
|
name: string;
|
|
2869
2869
|
address: {
|
|
2870
|
-
street: string;
|
|
2871
2870
|
city: string;
|
|
2872
2871
|
country: string;
|
|
2872
|
+
street?: string | undefined;
|
|
2873
2873
|
};
|
|
2874
2874
|
capacity: number;
|
|
2875
2875
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -2882,9 +2882,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2882
2882
|
}, {
|
|
2883
2883
|
name: string;
|
|
2884
2884
|
address: {
|
|
2885
|
-
street: string;
|
|
2886
2885
|
city: string;
|
|
2887
2886
|
country: string;
|
|
2887
|
+
street?: string | undefined;
|
|
2888
2888
|
};
|
|
2889
2889
|
capacity: number;
|
|
2890
2890
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -2896,7 +2896,7 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2896
2896
|
publicTransit?: string | undefined;
|
|
2897
2897
|
}>;
|
|
2898
2898
|
} & {
|
|
2899
|
-
organizer: z.ZodObject<{
|
|
2899
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
2900
2900
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
2901
2901
|
companyName: z.ZodOptional<z.ZodString>;
|
|
2902
2902
|
contactPerson: z.ZodObject<{
|
|
@@ -2933,9 +2933,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2933
2933
|
};
|
|
2934
2934
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
2935
2935
|
companyName?: string | undefined;
|
|
2936
|
-
}
|
|
2937
|
-
verification: z.ZodObject<{
|
|
2938
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
2936
|
+
}>>;
|
|
2937
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
2938
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2939
2939
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
2940
2940
|
url: z.ZodOptional<z.ZodString>;
|
|
2941
2941
|
filename: z.ZodString;
|
|
@@ -2950,22 +2950,22 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2950
2950
|
objectKey: string;
|
|
2951
2951
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
2952
2952
|
url?: string | undefined;
|
|
2953
|
-
}>, "many"
|
|
2953
|
+
}>, "many">>;
|
|
2954
2954
|
}, "strip", z.ZodTypeAny, {
|
|
2955
|
-
documents
|
|
2955
|
+
documents?: {
|
|
2956
2956
|
filename: string;
|
|
2957
2957
|
objectKey: string;
|
|
2958
2958
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
2959
2959
|
url?: string | undefined;
|
|
2960
|
-
}[];
|
|
2960
|
+
}[] | undefined;
|
|
2961
2961
|
}, {
|
|
2962
|
-
documents
|
|
2962
|
+
documents?: {
|
|
2963
2963
|
filename: string;
|
|
2964
2964
|
objectKey: string;
|
|
2965
2965
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
2966
2966
|
url?: string | undefined;
|
|
2967
|
-
}[];
|
|
2968
|
-
}
|
|
2967
|
+
}[] | undefined;
|
|
2968
|
+
}>>;
|
|
2969
2969
|
} & {
|
|
2970
2970
|
tickets: z.ZodArray<z.ZodObject<{
|
|
2971
2971
|
_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3195,17 +3195,17 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3195
3195
|
venue: z.ZodObject<{
|
|
3196
3196
|
name: z.ZodString;
|
|
3197
3197
|
address: z.ZodObject<{
|
|
3198
|
-
street: z.ZodString
|
|
3198
|
+
street: z.ZodOptional<z.ZodString>;
|
|
3199
3199
|
city: z.ZodString;
|
|
3200
3200
|
country: z.ZodString;
|
|
3201
3201
|
}, "strip", z.ZodTypeAny, {
|
|
3202
|
-
street: string;
|
|
3203
3202
|
city: string;
|
|
3204
3203
|
country: string;
|
|
3204
|
+
street?: string | undefined;
|
|
3205
3205
|
}, {
|
|
3206
|
-
street: string;
|
|
3207
3206
|
city: string;
|
|
3208
3207
|
country: string;
|
|
3208
|
+
street?: string | undefined;
|
|
3209
3209
|
}>;
|
|
3210
3210
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
3211
3211
|
type: z.ZodLiteral<"Point">;
|
|
@@ -3224,9 +3224,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3224
3224
|
}, "strip", z.ZodTypeAny, {
|
|
3225
3225
|
name: string;
|
|
3226
3226
|
address: {
|
|
3227
|
-
street: string;
|
|
3228
3227
|
city: string;
|
|
3229
3228
|
country: string;
|
|
3229
|
+
street?: string | undefined;
|
|
3230
3230
|
};
|
|
3231
3231
|
capacity: number;
|
|
3232
3232
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -3239,9 +3239,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3239
3239
|
}, {
|
|
3240
3240
|
name: string;
|
|
3241
3241
|
address: {
|
|
3242
|
-
street: string;
|
|
3243
3242
|
city: string;
|
|
3244
3243
|
country: string;
|
|
3244
|
+
street?: string | undefined;
|
|
3245
3245
|
};
|
|
3246
3246
|
capacity: number;
|
|
3247
3247
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -3253,7 +3253,7 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3253
3253
|
publicTransit?: string | undefined;
|
|
3254
3254
|
}>;
|
|
3255
3255
|
} & {
|
|
3256
|
-
organizer: z.ZodObject<{
|
|
3256
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
3257
3257
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
3258
3258
|
companyName: z.ZodOptional<z.ZodString>;
|
|
3259
3259
|
contactPerson: z.ZodObject<{
|
|
@@ -3290,9 +3290,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3290
3290
|
};
|
|
3291
3291
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
3292
3292
|
companyName?: string | undefined;
|
|
3293
|
-
}
|
|
3294
|
-
verification: z.ZodObject<{
|
|
3295
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
3293
|
+
}>>;
|
|
3294
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
3295
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3296
3296
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
3297
3297
|
url: z.ZodOptional<z.ZodString>;
|
|
3298
3298
|
filename: z.ZodString;
|
|
@@ -3307,22 +3307,22 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3307
3307
|
objectKey: string;
|
|
3308
3308
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
3309
3309
|
url?: string | undefined;
|
|
3310
|
-
}>, "many"
|
|
3310
|
+
}>, "many">>;
|
|
3311
3311
|
}, "strip", z.ZodTypeAny, {
|
|
3312
|
-
documents
|
|
3312
|
+
documents?: {
|
|
3313
3313
|
filename: string;
|
|
3314
3314
|
objectKey: string;
|
|
3315
3315
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
3316
3316
|
url?: string | undefined;
|
|
3317
|
-
}[];
|
|
3317
|
+
}[] | undefined;
|
|
3318
3318
|
}, {
|
|
3319
|
-
documents
|
|
3319
|
+
documents?: {
|
|
3320
3320
|
filename: string;
|
|
3321
3321
|
objectKey: string;
|
|
3322
3322
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
3323
3323
|
url?: string | undefined;
|
|
3324
|
-
}[];
|
|
3325
|
-
}
|
|
3324
|
+
}[] | undefined;
|
|
3325
|
+
}>>;
|
|
3326
3326
|
} & {
|
|
3327
3327
|
tickets: z.ZodArray<z.ZodObject<{
|
|
3328
3328
|
_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3552,17 +3552,17 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3552
3552
|
venue: z.ZodObject<{
|
|
3553
3553
|
name: z.ZodString;
|
|
3554
3554
|
address: z.ZodObject<{
|
|
3555
|
-
street: z.ZodString
|
|
3555
|
+
street: z.ZodOptional<z.ZodString>;
|
|
3556
3556
|
city: z.ZodString;
|
|
3557
3557
|
country: z.ZodString;
|
|
3558
3558
|
}, "strip", z.ZodTypeAny, {
|
|
3559
|
-
street: string;
|
|
3560
3559
|
city: string;
|
|
3561
3560
|
country: string;
|
|
3561
|
+
street?: string | undefined;
|
|
3562
3562
|
}, {
|
|
3563
|
-
street: string;
|
|
3564
3563
|
city: string;
|
|
3565
3564
|
country: string;
|
|
3565
|
+
street?: string | undefined;
|
|
3566
3566
|
}>;
|
|
3567
3567
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
3568
3568
|
type: z.ZodLiteral<"Point">;
|
|
@@ -3581,9 +3581,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3581
3581
|
}, "strip", z.ZodTypeAny, {
|
|
3582
3582
|
name: string;
|
|
3583
3583
|
address: {
|
|
3584
|
-
street: string;
|
|
3585
3584
|
city: string;
|
|
3586
3585
|
country: string;
|
|
3586
|
+
street?: string | undefined;
|
|
3587
3587
|
};
|
|
3588
3588
|
capacity: number;
|
|
3589
3589
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -3596,9 +3596,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3596
3596
|
}, {
|
|
3597
3597
|
name: string;
|
|
3598
3598
|
address: {
|
|
3599
|
-
street: string;
|
|
3600
3599
|
city: string;
|
|
3601
3600
|
country: string;
|
|
3601
|
+
street?: string | undefined;
|
|
3602
3602
|
};
|
|
3603
3603
|
capacity: number;
|
|
3604
3604
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -3610,7 +3610,7 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3610
3610
|
publicTransit?: string | undefined;
|
|
3611
3611
|
}>;
|
|
3612
3612
|
} & {
|
|
3613
|
-
organizer: z.ZodObject<{
|
|
3613
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
3614
3614
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
3615
3615
|
companyName: z.ZodOptional<z.ZodString>;
|
|
3616
3616
|
contactPerson: z.ZodObject<{
|
|
@@ -3647,9 +3647,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3647
3647
|
};
|
|
3648
3648
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
3649
3649
|
companyName?: string | undefined;
|
|
3650
|
-
}
|
|
3651
|
-
verification: z.ZodObject<{
|
|
3652
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
3650
|
+
}>>;
|
|
3651
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
3652
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3653
3653
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
3654
3654
|
url: z.ZodOptional<z.ZodString>;
|
|
3655
3655
|
filename: z.ZodString;
|
|
@@ -3664,22 +3664,22 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
3664
3664
|
objectKey: string;
|
|
3665
3665
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
3666
3666
|
url?: string | undefined;
|
|
3667
|
-
}>, "many"
|
|
3667
|
+
}>, "many">>;
|
|
3668
3668
|
}, "strip", z.ZodTypeAny, {
|
|
3669
|
-
documents
|
|
3669
|
+
documents?: {
|
|
3670
3670
|
filename: string;
|
|
3671
3671
|
objectKey: string;
|
|
3672
3672
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
3673
3673
|
url?: string | undefined;
|
|
3674
|
-
}[];
|
|
3674
|
+
}[] | undefined;
|
|
3675
3675
|
}, {
|
|
3676
|
-
documents
|
|
3676
|
+
documents?: {
|
|
3677
3677
|
filename: string;
|
|
3678
3678
|
objectKey: string;
|
|
3679
3679
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
3680
3680
|
url?: string | undefined;
|
|
3681
|
-
}[];
|
|
3682
|
-
}
|
|
3681
|
+
}[] | undefined;
|
|
3682
|
+
}>>;
|
|
3683
3683
|
} & {
|
|
3684
3684
|
tickets: z.ZodArray<z.ZodObject<{
|
|
3685
3685
|
_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3910,17 +3910,17 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3910
3910
|
venue: z.ZodObject<{
|
|
3911
3911
|
name: z.ZodString;
|
|
3912
3912
|
address: z.ZodObject<{
|
|
3913
|
-
street: z.ZodString
|
|
3913
|
+
street: z.ZodOptional<z.ZodString>;
|
|
3914
3914
|
city: z.ZodString;
|
|
3915
3915
|
country: z.ZodString;
|
|
3916
3916
|
}, "strip", z.ZodTypeAny, {
|
|
3917
|
-
street: string;
|
|
3918
3917
|
city: string;
|
|
3919
3918
|
country: string;
|
|
3919
|
+
street?: string | undefined;
|
|
3920
3920
|
}, {
|
|
3921
|
-
street: string;
|
|
3922
3921
|
city: string;
|
|
3923
3922
|
country: string;
|
|
3923
|
+
street?: string | undefined;
|
|
3924
3924
|
}>;
|
|
3925
3925
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
3926
3926
|
type: z.ZodLiteral<"Point">;
|
|
@@ -3939,9 +3939,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3939
3939
|
}, "strip", z.ZodTypeAny, {
|
|
3940
3940
|
name: string;
|
|
3941
3941
|
address: {
|
|
3942
|
-
street: string;
|
|
3943
3942
|
city: string;
|
|
3944
3943
|
country: string;
|
|
3944
|
+
street?: string | undefined;
|
|
3945
3945
|
};
|
|
3946
3946
|
capacity: number;
|
|
3947
3947
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -3954,9 +3954,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3954
3954
|
}, {
|
|
3955
3955
|
name: string;
|
|
3956
3956
|
address: {
|
|
3957
|
-
street: string;
|
|
3958
3957
|
city: string;
|
|
3959
3958
|
country: string;
|
|
3959
|
+
street?: string | undefined;
|
|
3960
3960
|
};
|
|
3961
3961
|
capacity: number;
|
|
3962
3962
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -3968,7 +3968,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3968
3968
|
publicTransit?: string | undefined;
|
|
3969
3969
|
}>;
|
|
3970
3970
|
} & {
|
|
3971
|
-
organizer: z.ZodObject<{
|
|
3971
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
3972
3972
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
3973
3973
|
companyName: z.ZodOptional<z.ZodString>;
|
|
3974
3974
|
contactPerson: z.ZodObject<{
|
|
@@ -4005,9 +4005,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4005
4005
|
};
|
|
4006
4006
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
4007
4007
|
companyName?: string | undefined;
|
|
4008
|
-
}
|
|
4009
|
-
verification: z.ZodObject<{
|
|
4010
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
4008
|
+
}>>;
|
|
4009
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
4010
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4011
4011
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
4012
4012
|
url: z.ZodOptional<z.ZodString>;
|
|
4013
4013
|
filename: z.ZodString;
|
|
@@ -4022,22 +4022,22 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4022
4022
|
objectKey: string;
|
|
4023
4023
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
4024
4024
|
url?: string | undefined;
|
|
4025
|
-
}>, "many"
|
|
4025
|
+
}>, "many">>;
|
|
4026
4026
|
}, "strip", z.ZodTypeAny, {
|
|
4027
|
-
documents
|
|
4027
|
+
documents?: {
|
|
4028
4028
|
filename: string;
|
|
4029
4029
|
objectKey: string;
|
|
4030
4030
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
4031
4031
|
url?: string | undefined;
|
|
4032
|
-
}[];
|
|
4032
|
+
}[] | undefined;
|
|
4033
4033
|
}, {
|
|
4034
|
-
documents
|
|
4034
|
+
documents?: {
|
|
4035
4035
|
filename: string;
|
|
4036
4036
|
objectKey: string;
|
|
4037
4037
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
4038
4038
|
url?: string | undefined;
|
|
4039
|
-
}[];
|
|
4040
|
-
}
|
|
4039
|
+
}[] | undefined;
|
|
4040
|
+
}>>;
|
|
4041
4041
|
} & {
|
|
4042
4042
|
tickets: z.ZodArray<z.ZodObject<{
|
|
4043
4043
|
_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4268,17 +4268,17 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4268
4268
|
venue: z.ZodObject<{
|
|
4269
4269
|
name: z.ZodString;
|
|
4270
4270
|
address: z.ZodObject<{
|
|
4271
|
-
street: z.ZodString
|
|
4271
|
+
street: z.ZodOptional<z.ZodString>;
|
|
4272
4272
|
city: z.ZodString;
|
|
4273
4273
|
country: z.ZodString;
|
|
4274
4274
|
}, "strip", z.ZodTypeAny, {
|
|
4275
|
-
street: string;
|
|
4276
4275
|
city: string;
|
|
4277
4276
|
country: string;
|
|
4277
|
+
street?: string | undefined;
|
|
4278
4278
|
}, {
|
|
4279
|
-
street: string;
|
|
4280
4279
|
city: string;
|
|
4281
4280
|
country: string;
|
|
4281
|
+
street?: string | undefined;
|
|
4282
4282
|
}>;
|
|
4283
4283
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
4284
4284
|
type: z.ZodLiteral<"Point">;
|
|
@@ -4297,9 +4297,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4297
4297
|
}, "strip", z.ZodTypeAny, {
|
|
4298
4298
|
name: string;
|
|
4299
4299
|
address: {
|
|
4300
|
-
street: string;
|
|
4301
4300
|
city: string;
|
|
4302
4301
|
country: string;
|
|
4302
|
+
street?: string | undefined;
|
|
4303
4303
|
};
|
|
4304
4304
|
capacity: number;
|
|
4305
4305
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -4312,9 +4312,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4312
4312
|
}, {
|
|
4313
4313
|
name: string;
|
|
4314
4314
|
address: {
|
|
4315
|
-
street: string;
|
|
4316
4315
|
city: string;
|
|
4317
4316
|
country: string;
|
|
4317
|
+
street?: string | undefined;
|
|
4318
4318
|
};
|
|
4319
4319
|
capacity: number;
|
|
4320
4320
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -4326,7 +4326,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4326
4326
|
publicTransit?: string | undefined;
|
|
4327
4327
|
}>;
|
|
4328
4328
|
} & {
|
|
4329
|
-
organizer: z.ZodObject<{
|
|
4329
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
4330
4330
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
4331
4331
|
companyName: z.ZodOptional<z.ZodString>;
|
|
4332
4332
|
contactPerson: z.ZodObject<{
|
|
@@ -4363,9 +4363,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4363
4363
|
};
|
|
4364
4364
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
4365
4365
|
companyName?: string | undefined;
|
|
4366
|
-
}
|
|
4367
|
-
verification: z.ZodObject<{
|
|
4368
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
4366
|
+
}>>;
|
|
4367
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
4368
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4369
4369
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
4370
4370
|
url: z.ZodOptional<z.ZodString>;
|
|
4371
4371
|
filename: z.ZodString;
|
|
@@ -4380,22 +4380,22 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4380
4380
|
objectKey: string;
|
|
4381
4381
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
4382
4382
|
url?: string | undefined;
|
|
4383
|
-
}>, "many"
|
|
4383
|
+
}>, "many">>;
|
|
4384
4384
|
}, "strip", z.ZodTypeAny, {
|
|
4385
|
-
documents
|
|
4385
|
+
documents?: {
|
|
4386
4386
|
filename: string;
|
|
4387
4387
|
objectKey: string;
|
|
4388
4388
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
4389
4389
|
url?: string | undefined;
|
|
4390
|
-
}[];
|
|
4390
|
+
}[] | undefined;
|
|
4391
4391
|
}, {
|
|
4392
|
-
documents
|
|
4392
|
+
documents?: {
|
|
4393
4393
|
filename: string;
|
|
4394
4394
|
objectKey: string;
|
|
4395
4395
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
4396
4396
|
url?: string | undefined;
|
|
4397
|
-
}[];
|
|
4398
|
-
}
|
|
4397
|
+
}[] | undefined;
|
|
4398
|
+
}>>;
|
|
4399
4399
|
} & {
|
|
4400
4400
|
tickets: z.ZodArray<z.ZodObject<{
|
|
4401
4401
|
_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4626,17 +4626,17 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4626
4626
|
venue: z.ZodObject<{
|
|
4627
4627
|
name: z.ZodString;
|
|
4628
4628
|
address: z.ZodObject<{
|
|
4629
|
-
street: z.ZodString
|
|
4629
|
+
street: z.ZodOptional<z.ZodString>;
|
|
4630
4630
|
city: z.ZodString;
|
|
4631
4631
|
country: z.ZodString;
|
|
4632
4632
|
}, "strip", z.ZodTypeAny, {
|
|
4633
|
-
street: string;
|
|
4634
4633
|
city: string;
|
|
4635
4634
|
country: string;
|
|
4635
|
+
street?: string | undefined;
|
|
4636
4636
|
}, {
|
|
4637
|
-
street: string;
|
|
4638
4637
|
city: string;
|
|
4639
4638
|
country: string;
|
|
4639
|
+
street?: string | undefined;
|
|
4640
4640
|
}>;
|
|
4641
4641
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
4642
4642
|
type: z.ZodLiteral<"Point">;
|
|
@@ -4655,9 +4655,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4655
4655
|
}, "strip", z.ZodTypeAny, {
|
|
4656
4656
|
name: string;
|
|
4657
4657
|
address: {
|
|
4658
|
-
street: string;
|
|
4659
4658
|
city: string;
|
|
4660
4659
|
country: string;
|
|
4660
|
+
street?: string | undefined;
|
|
4661
4661
|
};
|
|
4662
4662
|
capacity: number;
|
|
4663
4663
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -4670,9 +4670,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4670
4670
|
}, {
|
|
4671
4671
|
name: string;
|
|
4672
4672
|
address: {
|
|
4673
|
-
street: string;
|
|
4674
4673
|
city: string;
|
|
4675
4674
|
country: string;
|
|
4675
|
+
street?: string | undefined;
|
|
4676
4676
|
};
|
|
4677
4677
|
capacity: number;
|
|
4678
4678
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -4684,7 +4684,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4684
4684
|
publicTransit?: string | undefined;
|
|
4685
4685
|
}>;
|
|
4686
4686
|
} & {
|
|
4687
|
-
organizer: z.ZodObject<{
|
|
4687
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
4688
4688
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
4689
4689
|
companyName: z.ZodOptional<z.ZodString>;
|
|
4690
4690
|
contactPerson: z.ZodObject<{
|
|
@@ -4721,9 +4721,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4721
4721
|
};
|
|
4722
4722
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
4723
4723
|
companyName?: string | undefined;
|
|
4724
|
-
}
|
|
4725
|
-
verification: z.ZodObject<{
|
|
4726
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
4724
|
+
}>>;
|
|
4725
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
4726
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4727
4727
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
4728
4728
|
url: z.ZodOptional<z.ZodString>;
|
|
4729
4729
|
filename: z.ZodString;
|
|
@@ -4738,22 +4738,22 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
4738
4738
|
objectKey: string;
|
|
4739
4739
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
4740
4740
|
url?: string | undefined;
|
|
4741
|
-
}>, "many"
|
|
4741
|
+
}>, "many">>;
|
|
4742
4742
|
}, "strip", z.ZodTypeAny, {
|
|
4743
|
-
documents
|
|
4743
|
+
documents?: {
|
|
4744
4744
|
filename: string;
|
|
4745
4745
|
objectKey: string;
|
|
4746
4746
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
4747
4747
|
url?: string | undefined;
|
|
4748
|
-
}[];
|
|
4748
|
+
}[] | undefined;
|
|
4749
4749
|
}, {
|
|
4750
|
-
documents
|
|
4750
|
+
documents?: {
|
|
4751
4751
|
filename: string;
|
|
4752
4752
|
objectKey: string;
|
|
4753
4753
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
4754
4754
|
url?: string | undefined;
|
|
4755
|
-
}[];
|
|
4756
|
-
}
|
|
4755
|
+
}[] | undefined;
|
|
4756
|
+
}>>;
|
|
4757
4757
|
} & {
|
|
4758
4758
|
tickets: z.ZodArray<z.ZodObject<{
|
|
4759
4759
|
_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4982,17 +4982,17 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
4982
4982
|
venue: z.ZodOptional<z.ZodObject<{
|
|
4983
4983
|
name: z.ZodString;
|
|
4984
4984
|
address: z.ZodObject<{
|
|
4985
|
-
street: z.ZodString
|
|
4985
|
+
street: z.ZodOptional<z.ZodString>;
|
|
4986
4986
|
city: z.ZodString;
|
|
4987
4987
|
country: z.ZodString;
|
|
4988
4988
|
}, "strip", z.ZodTypeAny, {
|
|
4989
|
-
street: string;
|
|
4990
4989
|
city: string;
|
|
4991
4990
|
country: string;
|
|
4991
|
+
street?: string | undefined;
|
|
4992
4992
|
}, {
|
|
4993
|
-
street: string;
|
|
4994
4993
|
city: string;
|
|
4995
4994
|
country: string;
|
|
4995
|
+
street?: string | undefined;
|
|
4996
4996
|
}>;
|
|
4997
4997
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
4998
4998
|
type: z.ZodLiteral<"Point">;
|
|
@@ -5011,9 +5011,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5011
5011
|
}, "strip", z.ZodTypeAny, {
|
|
5012
5012
|
name: string;
|
|
5013
5013
|
address: {
|
|
5014
|
-
street: string;
|
|
5015
5014
|
city: string;
|
|
5016
5015
|
country: string;
|
|
5016
|
+
street?: string | undefined;
|
|
5017
5017
|
};
|
|
5018
5018
|
capacity: number;
|
|
5019
5019
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -5026,9 +5026,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5026
5026
|
}, {
|
|
5027
5027
|
name: string;
|
|
5028
5028
|
address: {
|
|
5029
|
-
street: string;
|
|
5030
5029
|
city: string;
|
|
5031
5030
|
country: string;
|
|
5031
|
+
street?: string | undefined;
|
|
5032
5032
|
};
|
|
5033
5033
|
capacity: number;
|
|
5034
5034
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -5039,7 +5039,7 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5039
5039
|
parking?: boolean | undefined;
|
|
5040
5040
|
publicTransit?: string | undefined;
|
|
5041
5041
|
}>>;
|
|
5042
|
-
organizer: z.ZodOptional<z.ZodObject<{
|
|
5042
|
+
organizer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5043
5043
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
5044
5044
|
companyName: z.ZodOptional<z.ZodString>;
|
|
5045
5045
|
contactPerson: z.ZodObject<{
|
|
@@ -5076,9 +5076,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5076
5076
|
};
|
|
5077
5077
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
5078
5078
|
companyName?: string | undefined;
|
|
5079
|
-
}
|
|
5080
|
-
verification: z.ZodOptional<z.ZodObject<{
|
|
5081
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
5079
|
+
}>>>;
|
|
5080
|
+
verification: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5081
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5082
5082
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
5083
5083
|
url: z.ZodOptional<z.ZodString>;
|
|
5084
5084
|
filename: z.ZodString;
|
|
@@ -5093,22 +5093,22 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5093
5093
|
objectKey: string;
|
|
5094
5094
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
5095
5095
|
url?: string | undefined;
|
|
5096
|
-
}>, "many"
|
|
5096
|
+
}>, "many">>;
|
|
5097
5097
|
}, "strip", z.ZodTypeAny, {
|
|
5098
|
-
documents
|
|
5098
|
+
documents?: {
|
|
5099
5099
|
filename: string;
|
|
5100
5100
|
objectKey: string;
|
|
5101
5101
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
5102
5102
|
url?: string | undefined;
|
|
5103
|
-
}[];
|
|
5103
|
+
}[] | undefined;
|
|
5104
5104
|
}, {
|
|
5105
|
-
documents
|
|
5105
|
+
documents?: {
|
|
5106
5106
|
filename: string;
|
|
5107
5107
|
objectKey: string;
|
|
5108
5108
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
5109
5109
|
url?: string | undefined;
|
|
5110
|
-
}[];
|
|
5111
|
-
}
|
|
5110
|
+
}[] | undefined;
|
|
5111
|
+
}>>>;
|
|
5112
5112
|
tickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5113
5113
|
_id: z.ZodOptional<z.ZodString>;
|
|
5114
5114
|
name: z.ZodString;
|
|
@@ -5334,17 +5334,17 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5334
5334
|
venue: z.ZodOptional<z.ZodObject<{
|
|
5335
5335
|
name: z.ZodString;
|
|
5336
5336
|
address: z.ZodObject<{
|
|
5337
|
-
street: z.ZodString
|
|
5337
|
+
street: z.ZodOptional<z.ZodString>;
|
|
5338
5338
|
city: z.ZodString;
|
|
5339
5339
|
country: z.ZodString;
|
|
5340
5340
|
}, "strip", z.ZodTypeAny, {
|
|
5341
|
-
street: string;
|
|
5342
5341
|
city: string;
|
|
5343
5342
|
country: string;
|
|
5343
|
+
street?: string | undefined;
|
|
5344
5344
|
}, {
|
|
5345
|
-
street: string;
|
|
5346
5345
|
city: string;
|
|
5347
5346
|
country: string;
|
|
5347
|
+
street?: string | undefined;
|
|
5348
5348
|
}>;
|
|
5349
5349
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
5350
5350
|
type: z.ZodLiteral<"Point">;
|
|
@@ -5363,9 +5363,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5363
5363
|
}, "strip", z.ZodTypeAny, {
|
|
5364
5364
|
name: string;
|
|
5365
5365
|
address: {
|
|
5366
|
-
street: string;
|
|
5367
5366
|
city: string;
|
|
5368
5367
|
country: string;
|
|
5368
|
+
street?: string | undefined;
|
|
5369
5369
|
};
|
|
5370
5370
|
capacity: number;
|
|
5371
5371
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -5378,9 +5378,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5378
5378
|
}, {
|
|
5379
5379
|
name: string;
|
|
5380
5380
|
address: {
|
|
5381
|
-
street: string;
|
|
5382
5381
|
city: string;
|
|
5383
5382
|
country: string;
|
|
5383
|
+
street?: string | undefined;
|
|
5384
5384
|
};
|
|
5385
5385
|
capacity: number;
|
|
5386
5386
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -5391,7 +5391,7 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5391
5391
|
parking?: boolean | undefined;
|
|
5392
5392
|
publicTransit?: string | undefined;
|
|
5393
5393
|
}>>;
|
|
5394
|
-
organizer: z.ZodOptional<z.ZodObject<{
|
|
5394
|
+
organizer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5395
5395
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
5396
5396
|
companyName: z.ZodOptional<z.ZodString>;
|
|
5397
5397
|
contactPerson: z.ZodObject<{
|
|
@@ -5428,9 +5428,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5428
5428
|
};
|
|
5429
5429
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
5430
5430
|
companyName?: string | undefined;
|
|
5431
|
-
}
|
|
5432
|
-
verification: z.ZodOptional<z.ZodObject<{
|
|
5433
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
5431
|
+
}>>>;
|
|
5432
|
+
verification: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5433
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5434
5434
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
5435
5435
|
url: z.ZodOptional<z.ZodString>;
|
|
5436
5436
|
filename: z.ZodString;
|
|
@@ -5445,22 +5445,22 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5445
5445
|
objectKey: string;
|
|
5446
5446
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
5447
5447
|
url?: string | undefined;
|
|
5448
|
-
}>, "many"
|
|
5448
|
+
}>, "many">>;
|
|
5449
5449
|
}, "strip", z.ZodTypeAny, {
|
|
5450
|
-
documents
|
|
5450
|
+
documents?: {
|
|
5451
5451
|
filename: string;
|
|
5452
5452
|
objectKey: string;
|
|
5453
5453
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
5454
5454
|
url?: string | undefined;
|
|
5455
|
-
}[];
|
|
5455
|
+
}[] | undefined;
|
|
5456
5456
|
}, {
|
|
5457
|
-
documents
|
|
5457
|
+
documents?: {
|
|
5458
5458
|
filename: string;
|
|
5459
5459
|
objectKey: string;
|
|
5460
5460
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
5461
5461
|
url?: string | undefined;
|
|
5462
|
-
}[];
|
|
5463
|
-
}
|
|
5462
|
+
}[] | undefined;
|
|
5463
|
+
}>>>;
|
|
5464
5464
|
tickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5465
5465
|
_id: z.ZodOptional<z.ZodString>;
|
|
5466
5466
|
name: z.ZodString;
|
|
@@ -5686,17 +5686,17 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5686
5686
|
venue: z.ZodOptional<z.ZodObject<{
|
|
5687
5687
|
name: z.ZodString;
|
|
5688
5688
|
address: z.ZodObject<{
|
|
5689
|
-
street: z.ZodString
|
|
5689
|
+
street: z.ZodOptional<z.ZodString>;
|
|
5690
5690
|
city: z.ZodString;
|
|
5691
5691
|
country: z.ZodString;
|
|
5692
5692
|
}, "strip", z.ZodTypeAny, {
|
|
5693
|
-
street: string;
|
|
5694
5693
|
city: string;
|
|
5695
5694
|
country: string;
|
|
5695
|
+
street?: string | undefined;
|
|
5696
5696
|
}, {
|
|
5697
|
-
street: string;
|
|
5698
5697
|
city: string;
|
|
5699
5698
|
country: string;
|
|
5699
|
+
street?: string | undefined;
|
|
5700
5700
|
}>;
|
|
5701
5701
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
5702
5702
|
type: z.ZodLiteral<"Point">;
|
|
@@ -5715,9 +5715,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5715
5715
|
}, "strip", z.ZodTypeAny, {
|
|
5716
5716
|
name: string;
|
|
5717
5717
|
address: {
|
|
5718
|
-
street: string;
|
|
5719
5718
|
city: string;
|
|
5720
5719
|
country: string;
|
|
5720
|
+
street?: string | undefined;
|
|
5721
5721
|
};
|
|
5722
5722
|
capacity: number;
|
|
5723
5723
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -5730,9 +5730,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5730
5730
|
}, {
|
|
5731
5731
|
name: string;
|
|
5732
5732
|
address: {
|
|
5733
|
-
street: string;
|
|
5734
5733
|
city: string;
|
|
5735
5734
|
country: string;
|
|
5735
|
+
street?: string | undefined;
|
|
5736
5736
|
};
|
|
5737
5737
|
capacity: number;
|
|
5738
5738
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -5743,7 +5743,7 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5743
5743
|
parking?: boolean | undefined;
|
|
5744
5744
|
publicTransit?: string | undefined;
|
|
5745
5745
|
}>>;
|
|
5746
|
-
organizer: z.ZodOptional<z.ZodObject<{
|
|
5746
|
+
organizer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5747
5747
|
role: z.ZodOptional<z.ZodEnum<["event_organizer", "venue_owner", "authorized_rep", "artist"]>>;
|
|
5748
5748
|
companyName: z.ZodOptional<z.ZodString>;
|
|
5749
5749
|
contactPerson: z.ZodObject<{
|
|
@@ -5780,9 +5780,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5780
5780
|
};
|
|
5781
5781
|
role?: "event_organizer" | "venue_owner" | "authorized_rep" | "artist" | undefined;
|
|
5782
5782
|
companyName?: string | undefined;
|
|
5783
|
-
}
|
|
5784
|
-
verification: z.ZodOptional<z.ZodObject<{
|
|
5785
|
-
documents: z.ZodArray<z.ZodObject<{
|
|
5783
|
+
}>>>;
|
|
5784
|
+
verification: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5785
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5786
5786
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
5787
5787
|
url: z.ZodOptional<z.ZodString>;
|
|
5788
5788
|
filename: z.ZodString;
|
|
@@ -5797,22 +5797,22 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
5797
5797
|
objectKey: string;
|
|
5798
5798
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
5799
5799
|
url?: string | undefined;
|
|
5800
|
-
}>, "many"
|
|
5800
|
+
}>, "many">>;
|
|
5801
5801
|
}, "strip", z.ZodTypeAny, {
|
|
5802
|
-
documents
|
|
5802
|
+
documents?: {
|
|
5803
5803
|
filename: string;
|
|
5804
5804
|
objectKey: string;
|
|
5805
5805
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
5806
5806
|
url?: string | undefined;
|
|
5807
|
-
}[];
|
|
5807
|
+
}[] | undefined;
|
|
5808
5808
|
}, {
|
|
5809
|
-
documents
|
|
5809
|
+
documents?: {
|
|
5810
5810
|
filename: string;
|
|
5811
5811
|
objectKey: string;
|
|
5812
5812
|
type?: "other" | "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | undefined;
|
|
5813
5813
|
url?: string | undefined;
|
|
5814
|
-
}[];
|
|
5815
|
-
}
|
|
5814
|
+
}[] | undefined;
|
|
5815
|
+
}>>>;
|
|
5816
5816
|
tickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5817
5817
|
_id: z.ZodOptional<z.ZodString>;
|
|
5818
5818
|
name: z.ZodString;
|
|
@@ -45,10 +45,10 @@ exports.stepLogisticsSchema = zod_1.z.object({
|
|
|
45
45
|
});
|
|
46
46
|
// Step 4: Verification
|
|
47
47
|
exports.stepVerifySchema = zod_1.z.object({
|
|
48
|
-
organizer: organizer_schema_1.organizerSchema,
|
|
48
|
+
organizer: organizer_schema_1.organizerSchema.optional(), // Will be auto-populated from host profile
|
|
49
49
|
verification: zod_1.z.object({
|
|
50
|
-
documents: zod_1.z.array(document_schema_1.documentSchema).
|
|
51
|
-
})
|
|
50
|
+
documents: zod_1.z.array(document_schema_1.documentSchema).max(events_constants_1.MAX_DOCUMENTS, `Maximum ${events_constants_1.MAX_DOCUMENTS} documents allowed`).optional() // Documents are optional
|
|
51
|
+
}).optional()
|
|
52
52
|
}).passthrough();
|
|
53
53
|
// Step 5: Tickets
|
|
54
54
|
exports.stepTicketsSchema = zod_1.z.object({
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const venueTypeSchema: z.ZodOptional<z.ZodEnum<["indoor", "outdoor", "hybrid"]>>;
|
|
3
3
|
export declare const addressSchema: z.ZodObject<{
|
|
4
|
-
street: z.ZodString
|
|
4
|
+
street: z.ZodOptional<z.ZodString>;
|
|
5
5
|
city: z.ZodString;
|
|
6
6
|
country: z.ZodString;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
street: string;
|
|
9
8
|
city: string;
|
|
10
9
|
country: string;
|
|
10
|
+
street?: string | undefined;
|
|
11
11
|
}, {
|
|
12
|
-
street: string;
|
|
13
12
|
city: string;
|
|
14
13
|
country: string;
|
|
14
|
+
street?: string | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export declare const venueSchema: z.ZodObject<{
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
address: z.ZodObject<{
|
|
19
|
-
street: z.ZodString
|
|
19
|
+
street: z.ZodOptional<z.ZodString>;
|
|
20
20
|
city: z.ZodString;
|
|
21
21
|
country: z.ZodString;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
street: string;
|
|
24
23
|
city: string;
|
|
25
24
|
country: string;
|
|
25
|
+
street?: string | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
street: string;
|
|
28
27
|
city: string;
|
|
29
28
|
country: string;
|
|
29
|
+
street?: string | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
32
32
|
type: z.ZodLiteral<"Point">;
|
|
@@ -45,9 +45,9 @@ export declare const venueSchema: z.ZodObject<{
|
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
name: string;
|
|
47
47
|
address: {
|
|
48
|
-
street: string;
|
|
49
48
|
city: string;
|
|
50
49
|
country: string;
|
|
50
|
+
street?: string | undefined;
|
|
51
51
|
};
|
|
52
52
|
capacity: number;
|
|
53
53
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -60,9 +60,9 @@ export declare const venueSchema: z.ZodObject<{
|
|
|
60
60
|
}, {
|
|
61
61
|
name: string;
|
|
62
62
|
address: {
|
|
63
|
-
street: string;
|
|
64
63
|
city: string;
|
|
65
64
|
country: string;
|
|
65
|
+
street?: string | undefined;
|
|
66
66
|
};
|
|
67
67
|
capacity: number;
|
|
68
68
|
type?: "indoor" | "outdoor" | "hybrid" | undefined;
|
|
@@ -4,7 +4,7 @@ exports.venueSchema = exports.addressSchema = exports.venueTypeSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.venueTypeSchema = zod_1.z.enum(['indoor', 'outdoor', 'hybrid'], { required_error: 'Venue type must be indoor, outdoor, or hybrid' }).optional();
|
|
6
6
|
exports.addressSchema = zod_1.z.object({
|
|
7
|
-
street: zod_1.z.string(
|
|
7
|
+
street: zod_1.z.string().optional(),
|
|
8
8
|
city: zod_1.z.string({ required_error: 'City is required' }).min(1, 'City is required'),
|
|
9
9
|
country: zod_1.z.string({ required_error: 'Country is required' }).min(1, 'Country is required'),
|
|
10
10
|
});
|
package/package.json
CHANGED
|
@@ -48,10 +48,10 @@ export const stepLogisticsSchema = z.object({
|
|
|
48
48
|
|
|
49
49
|
// Step 4: Verification
|
|
50
50
|
export const stepVerifySchema = z.object({
|
|
51
|
-
organizer: organizerSchema,
|
|
51
|
+
organizer: organizerSchema.optional(), // Will be auto-populated from host profile
|
|
52
52
|
verification: z.object({
|
|
53
|
-
documents: z.array(documentSchema).
|
|
54
|
-
})
|
|
53
|
+
documents: z.array(documentSchema).max(MAX_DOCUMENTS, `Maximum ${MAX_DOCUMENTS} documents allowed`).optional() // Documents are optional
|
|
54
|
+
}).optional()
|
|
55
55
|
}).passthrough();
|
|
56
56
|
|
|
57
57
|
// Step 5: Tickets
|
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
export const venueTypeSchema = z.enum(['indoor', 'outdoor', 'hybrid'], { required_error: 'Venue type must be indoor, outdoor, or hybrid' }).optional();
|
|
4
4
|
|
|
5
5
|
export const addressSchema = z.object({
|
|
6
|
-
street: z.string(
|
|
6
|
+
street: z.string().optional(),
|
|
7
7
|
city: z.string({ required_error: 'City is required' }).min(1, 'City is required'),
|
|
8
8
|
country: z.string({ required_error: 'Country is required' }).min(1, 'Country is required'),
|
|
9
9
|
});
|