@mac777/project-pinecone-schema 1.1.4 → 1.1.5

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.
@@ -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<{
@@ -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>;
@@ -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>;
@@ -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>;
@@ -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>;
@@ -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>;
@@ -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>;
@@ -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;
@@ -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;
@@ -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).min(1, 'At least one document is required').max(events_constants_1.MAX_DOCUMENTS, `Maximum ${events_constants_1.MAX_DOCUMENTS} documents allowed`)
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({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mac777/project-pinecone-schema",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -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).min(1, 'At least one document is required').max(MAX_DOCUMENTS, `Maximum ${MAX_DOCUMENTS} documents allowed`)
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