@mac777/project-pinecone-schema 1.1.5 → 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.
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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({ required_error: 'Street is required' }).min(1, 'Street is required'),
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mac777/project-pinecone-schema",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -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({ required_error: 'Street is required' }).min(1, 'Street is required'),
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
  });