@nyig/models 0.5.3 → 0.5.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.
package/index.d.mts CHANGED
@@ -46,6 +46,7 @@ declare const zBUserInfo: z.ZodObject<{
46
46
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
47
47
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
48
48
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
49
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
49
50
  dateOfBirth: z.ZodOptional<z.ZodString>;
50
51
  }, "strip", z.ZodTypeAny, {
51
52
  firstName: string;
@@ -59,6 +60,7 @@ declare const zBUserInfo: z.ZodObject<{
59
60
  hearAboutUs?: HearAboutUs | undefined;
60
61
  hearAboutUsDetails?: string | undefined;
61
62
  showOnWhoIsComing?: boolean | undefined;
63
+ participateAs?: "adult" | "youth" | undefined;
62
64
  dateOfBirth?: string | undefined;
63
65
  }, {
64
66
  firstName: string;
@@ -72,6 +74,7 @@ declare const zBUserInfo: z.ZodObject<{
72
74
  hearAboutUs?: HearAboutUs | undefined;
73
75
  hearAboutUsDetails?: string | undefined;
74
76
  showOnWhoIsComing?: boolean | undefined;
77
+ participateAs?: "adult" | "youth" | undefined;
75
78
  dateOfBirth?: string | undefined;
76
79
  }>;
77
80
  type BUserInfo = z.infer<typeof zBUserInfo>;
@@ -2848,6 +2851,7 @@ declare const zBCampBooking: z.ZodObject<{
2848
2851
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
2849
2852
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
2850
2853
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
2854
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
2851
2855
  dateOfBirth: z.ZodOptional<z.ZodString>;
2852
2856
  } & {
2853
2857
  paymentAmount: z.ZodNumber;
@@ -2871,6 +2875,7 @@ declare const zBCampBooking: z.ZodObject<{
2871
2875
  hearAboutUs?: HearAboutUs | undefined;
2872
2876
  hearAboutUsDetails?: string | undefined;
2873
2877
  showOnWhoIsComing?: boolean | undefined;
2878
+ participateAs?: "adult" | "youth" | undefined;
2874
2879
  dateOfBirth?: string | undefined;
2875
2880
  shipping?: boolean | undefined;
2876
2881
  ctId?: string | undefined;
@@ -2892,6 +2897,7 @@ declare const zBCampBooking: z.ZodObject<{
2892
2897
  hearAboutUs?: HearAboutUs | undefined;
2893
2898
  hearAboutUsDetails?: string | undefined;
2894
2899
  showOnWhoIsComing?: boolean | undefined;
2900
+ participateAs?: "adult" | "youth" | undefined;
2895
2901
  dateOfBirth?: string | undefined;
2896
2902
  shipping?: boolean | undefined;
2897
2903
  ctId?: string | undefined;
@@ -2914,6 +2920,7 @@ declare const zCampBooking: z.ZodObject<{
2914
2920
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
2915
2921
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
2916
2922
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
2923
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
2917
2924
  dateOfBirth: z.ZodOptional<z.ZodString>;
2918
2925
  } & {
2919
2926
  paymentAmount: z.ZodNumber;
@@ -2943,6 +2950,7 @@ declare const zCampBooking: z.ZodObject<{
2943
2950
  hearAboutUs?: HearAboutUs | undefined;
2944
2951
  hearAboutUsDetails?: string | undefined;
2945
2952
  showOnWhoIsComing?: boolean | undefined;
2953
+ participateAs?: "adult" | "youth" | undefined;
2946
2954
  dateOfBirth?: string | undefined;
2947
2955
  shipping?: boolean | undefined;
2948
2956
  editedBy?: string | undefined;
@@ -2968,6 +2976,7 @@ declare const zCampBooking: z.ZodObject<{
2968
2976
  hearAboutUs?: HearAboutUs | undefined;
2969
2977
  hearAboutUsDetails?: string | undefined;
2970
2978
  showOnWhoIsComing?: boolean | undefined;
2979
+ participateAs?: "adult" | "youth" | undefined;
2971
2980
  dateOfBirth?: string | undefined;
2972
2981
  shipping?: boolean | undefined;
2973
2982
  editedBy?: string | undefined;
@@ -2996,6 +3005,7 @@ declare const zBGroupBooking: z.ZodObject<{
2996
3005
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
2997
3006
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
2998
3007
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
3008
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
2999
3009
  dateOfBirth: z.ZodOptional<z.ZodString>;
3000
3010
  } & {
3001
3011
  paymentAmount: z.ZodNumber;
@@ -3017,6 +3027,7 @@ declare const zBGroupBooking: z.ZodObject<{
3017
3027
  hearAboutUs?: HearAboutUs | undefined;
3018
3028
  hearAboutUsDetails?: string | undefined;
3019
3029
  showOnWhoIsComing?: boolean | undefined;
3030
+ participateAs?: "adult" | "youth" | undefined;
3020
3031
  dateOfBirth?: string | undefined;
3021
3032
  shipping?: boolean | undefined;
3022
3033
  gtId?: string | undefined;
@@ -3038,6 +3049,7 @@ declare const zBGroupBooking: z.ZodObject<{
3038
3049
  hearAboutUs?: HearAboutUs | undefined;
3039
3050
  hearAboutUsDetails?: string | undefined;
3040
3051
  showOnWhoIsComing?: boolean | undefined;
3052
+ participateAs?: "adult" | "youth" | undefined;
3041
3053
  dateOfBirth?: string | undefined;
3042
3054
  shipping?: boolean | undefined;
3043
3055
  gtId?: string | undefined;
@@ -3062,6 +3074,7 @@ declare const zGroupBooking: z.ZodObject<{
3062
3074
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
3063
3075
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
3064
3076
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
3077
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
3065
3078
  dateOfBirth: z.ZodOptional<z.ZodString>;
3066
3079
  } & {
3067
3080
  paymentAmount: z.ZodNumber;
@@ -3089,6 +3102,7 @@ declare const zGroupBooking: z.ZodObject<{
3089
3102
  hearAboutUs?: HearAboutUs | undefined;
3090
3103
  hearAboutUsDetails?: string | undefined;
3091
3104
  showOnWhoIsComing?: boolean | undefined;
3105
+ participateAs?: "adult" | "youth" | undefined;
3092
3106
  dateOfBirth?: string | undefined;
3093
3107
  shipping?: boolean | undefined;
3094
3108
  editedBy?: string | undefined;
@@ -3114,6 +3128,7 @@ declare const zGroupBooking: z.ZodObject<{
3114
3128
  hearAboutUs?: HearAboutUs | undefined;
3115
3129
  hearAboutUsDetails?: string | undefined;
3116
3130
  showOnWhoIsComing?: boolean | undefined;
3131
+ participateAs?: "adult" | "youth" | undefined;
3117
3132
  dateOfBirth?: string | undefined;
3118
3133
  shipping?: boolean | undefined;
3119
3134
  editedBy?: string | undefined;
@@ -3142,6 +3157,7 @@ declare const zBPrivateBooking: z.ZodObject<{
3142
3157
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
3143
3158
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
3144
3159
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
3160
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
3145
3161
  dateOfBirth: z.ZodOptional<z.ZodString>;
3146
3162
  } & {
3147
3163
  paymentAmount: z.ZodNumber;
@@ -3164,6 +3180,7 @@ declare const zBPrivateBooking: z.ZodObject<{
3164
3180
  hearAboutUs?: HearAboutUs | undefined;
3165
3181
  hearAboutUsDetails?: string | undefined;
3166
3182
  showOnWhoIsComing?: boolean | undefined;
3183
+ participateAs?: "adult" | "youth" | undefined;
3167
3184
  dateOfBirth?: string | undefined;
3168
3185
  classDate?: string | undefined;
3169
3186
  }, {
@@ -3183,6 +3200,7 @@ declare const zBPrivateBooking: z.ZodObject<{
3183
3200
  hearAboutUs?: HearAboutUs | undefined;
3184
3201
  hearAboutUsDetails?: string | undefined;
3185
3202
  showOnWhoIsComing?: boolean | undefined;
3203
+ participateAs?: "adult" | "youth" | undefined;
3186
3204
  dateOfBirth?: string | undefined;
3187
3205
  classDate?: string | undefined;
3188
3206
  }>;
@@ -3202,6 +3220,7 @@ declare const zPrivateBooking: z.ZodObject<{
3202
3220
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
3203
3221
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
3204
3222
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
3223
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
3205
3224
  dateOfBirth: z.ZodOptional<z.ZodString>;
3206
3225
  } & {
3207
3226
  paymentAmount: z.ZodNumber;
@@ -3230,6 +3249,7 @@ declare const zPrivateBooking: z.ZodObject<{
3230
3249
  hearAboutUs?: HearAboutUs | undefined;
3231
3250
  hearAboutUsDetails?: string | undefined;
3232
3251
  showOnWhoIsComing?: boolean | undefined;
3252
+ participateAs?: "adult" | "youth" | undefined;
3233
3253
  dateOfBirth?: string | undefined;
3234
3254
  editedBy?: string | undefined;
3235
3255
  createdAt?: string | undefined;
@@ -3253,6 +3273,7 @@ declare const zPrivateBooking: z.ZodObject<{
3253
3273
  hearAboutUs?: HearAboutUs | undefined;
3254
3274
  hearAboutUsDetails?: string | undefined;
3255
3275
  showOnWhoIsComing?: boolean | undefined;
3276
+ participateAs?: "adult" | "youth" | undefined;
3256
3277
  dateOfBirth?: string | undefined;
3257
3278
  editedBy?: string | undefined;
3258
3279
  createdAt?: string | undefined;
@@ -5012,7 +5033,7 @@ declare const zBEventConfig: z.ZodObject<{
5012
5033
  * youth_only - only youth
5013
5034
  * both - both youth and adult
5014
5035
  */
5015
- youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult>;
5036
+ youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
5016
5037
  /**
5017
5038
  * If true, free form donation amounts are disabled.
5018
5039
  */
@@ -5051,10 +5072,10 @@ declare const zBEventConfig: z.ZodObject<{
5051
5072
  };
5052
5073
  tickets: string[];
5053
5074
  canRegister: boolean;
5054
- youthOrAdult: YouthOrAdult;
5055
5075
  location?: string | undefined;
5056
5076
  ticketsStepDescription?: string | undefined;
5057
5077
  participantStepDescription?: string | undefined;
5078
+ youthOrAdult?: YouthOrAdult | undefined;
5058
5079
  donationsDisabled?: boolean | undefined;
5059
5080
  image?: {
5060
5081
  url: string;
@@ -5079,10 +5100,10 @@ declare const zBEventConfig: z.ZodObject<{
5079
5100
  };
5080
5101
  tickets: string[];
5081
5102
  canRegister: boolean;
5082
- youthOrAdult: YouthOrAdult;
5083
5103
  location?: string | undefined;
5084
5104
  ticketsStepDescription?: string | undefined;
5085
5105
  participantStepDescription?: string | undefined;
5106
+ youthOrAdult?: YouthOrAdult | undefined;
5086
5107
  donationsDisabled?: boolean | undefined;
5087
5108
  image?: {
5088
5109
  url: string;
@@ -5175,7 +5196,7 @@ declare const zEventConfig: z.ZodObject<{
5175
5196
  * youth_only - only youth
5176
5197
  * both - both youth and adult
5177
5198
  */
5178
- youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult>;
5199
+ youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
5179
5200
  /**
5180
5201
  * If true, free form donation amounts are disabled.
5181
5202
  */
@@ -5220,13 +5241,13 @@ declare const zEventConfig: z.ZodObject<{
5220
5241
  };
5221
5242
  tickets: string[];
5222
5243
  canRegister: boolean;
5223
- youthOrAdult: YouthOrAdult;
5224
5244
  editedBy?: string | undefined;
5225
5245
  createdAt?: string | undefined;
5226
5246
  updatedAt?: string | undefined;
5227
5247
  location?: string | undefined;
5228
5248
  ticketsStepDescription?: string | undefined;
5229
5249
  participantStepDescription?: string | undefined;
5250
+ youthOrAdult?: YouthOrAdult | undefined;
5230
5251
  donationsDisabled?: boolean | undefined;
5231
5252
  image?: {
5232
5253
  url: string;
@@ -5252,13 +5273,13 @@ declare const zEventConfig: z.ZodObject<{
5252
5273
  };
5253
5274
  tickets: string[];
5254
5275
  canRegister: boolean;
5255
- youthOrAdult: YouthOrAdult;
5256
5276
  editedBy?: string | undefined;
5257
5277
  createdAt?: string | undefined;
5258
5278
  updatedAt?: string | undefined;
5259
5279
  location?: string | undefined;
5260
5280
  ticketsStepDescription?: string | undefined;
5261
5281
  participantStepDescription?: string | undefined;
5282
+ youthOrAdult?: YouthOrAdult | undefined;
5262
5283
  donationsDisabled?: boolean | undefined;
5263
5284
  image?: {
5264
5285
  url: string;
@@ -5298,7 +5319,7 @@ declare const zEventConfigResponse: z.ZodObject<{
5298
5319
  ticketsStepDescription: z.ZodOptional<z.ZodString>;
5299
5320
  participantStepDescription: z.ZodOptional<z.ZodString>;
5300
5321
  canRegister: z.ZodBoolean;
5301
- youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult>;
5322
+ youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
5302
5323
  donationsDisabled: z.ZodOptional<z.ZodBoolean>;
5303
5324
  image: z.ZodOptional<z.ZodObject<{
5304
5325
  url: z.ZodString;
@@ -5383,13 +5404,13 @@ declare const zEventConfigResponse: z.ZodObject<{
5383
5404
  maxPerOrder?: number | undefined;
5384
5405
  }[];
5385
5406
  canRegister: boolean;
5386
- youthOrAdult: YouthOrAdult;
5387
5407
  editedBy?: string | undefined;
5388
5408
  createdAt?: string | undefined;
5389
5409
  updatedAt?: string | undefined;
5390
5410
  location?: string | undefined;
5391
5411
  ticketsStepDescription?: string | undefined;
5392
5412
  participantStepDescription?: string | undefined;
5413
+ youthOrAdult?: YouthOrAdult | undefined;
5393
5414
  donationsDisabled?: boolean | undefined;
5394
5415
  image?: {
5395
5416
  url: string;
@@ -5426,13 +5447,13 @@ declare const zEventConfigResponse: z.ZodObject<{
5426
5447
  maxPerOrder?: number | undefined;
5427
5448
  }[];
5428
5449
  canRegister: boolean;
5429
- youthOrAdult: YouthOrAdult;
5430
5450
  editedBy?: string | undefined;
5431
5451
  createdAt?: string | undefined;
5432
5452
  updatedAt?: string | undefined;
5433
5453
  location?: string | undefined;
5434
5454
  ticketsStepDescription?: string | undefined;
5435
5455
  participantStepDescription?: string | undefined;
5456
+ youthOrAdult?: YouthOrAdult | undefined;
5436
5457
  donationsDisabled?: boolean | undefined;
5437
5458
  image?: {
5438
5459
  url: string;
@@ -5512,6 +5533,7 @@ declare const zBEventReg: z.ZodObject<{
5512
5533
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
5513
5534
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
5514
5535
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
5536
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
5515
5537
  dateOfBirth: z.ZodOptional<z.ZodString>;
5516
5538
  } & {
5517
5539
  paymentAmount: z.ZodNumber;
@@ -5538,6 +5560,7 @@ declare const zBEventReg: z.ZodObject<{
5538
5560
  hearAboutUs?: HearAboutUs | undefined;
5539
5561
  hearAboutUsDetails?: string | undefined;
5540
5562
  showOnWhoIsComing?: boolean | undefined;
5563
+ participateAs?: "adult" | "youth" | undefined;
5541
5564
  dateOfBirth?: string | undefined;
5542
5565
  donation?: number | undefined;
5543
5566
  createMethod?: string | undefined;
@@ -5562,6 +5585,7 @@ declare const zBEventReg: z.ZodObject<{
5562
5585
  hearAboutUs?: HearAboutUs | undefined;
5563
5586
  hearAboutUsDetails?: string | undefined;
5564
5587
  showOnWhoIsComing?: boolean | undefined;
5588
+ participateAs?: "adult" | "youth" | undefined;
5565
5589
  dateOfBirth?: string | undefined;
5566
5590
  donation?: number | undefined;
5567
5591
  createMethod?: string | undefined;
@@ -5599,6 +5623,7 @@ declare const zEventReg: z.ZodObject<{
5599
5623
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
5600
5624
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
5601
5625
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
5626
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
5602
5627
  dateOfBirth: z.ZodOptional<z.ZodString>;
5603
5628
  } & {
5604
5629
  paymentAmount: z.ZodNumber;
@@ -5631,6 +5656,7 @@ declare const zEventReg: z.ZodObject<{
5631
5656
  hearAboutUs?: HearAboutUs | undefined;
5632
5657
  hearAboutUsDetails?: string | undefined;
5633
5658
  showOnWhoIsComing?: boolean | undefined;
5659
+ participateAs?: "adult" | "youth" | undefined;
5634
5660
  dateOfBirth?: string | undefined;
5635
5661
  editedBy?: string | undefined;
5636
5662
  createdAt?: string | undefined;
@@ -5659,6 +5685,7 @@ declare const zEventReg: z.ZodObject<{
5659
5685
  hearAboutUs?: HearAboutUs | undefined;
5660
5686
  hearAboutUsDetails?: string | undefined;
5661
5687
  showOnWhoIsComing?: boolean | undefined;
5688
+ participateAs?: "adult" | "youth" | undefined;
5662
5689
  dateOfBirth?: string | undefined;
5663
5690
  editedBy?: string | undefined;
5664
5691
  createdAt?: string | undefined;
@@ -5682,6 +5709,7 @@ declare const zEventRegResponse: z.ZodObject<{
5682
5709
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
5683
5710
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
5684
5711
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
5712
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
5685
5713
  dateOfBirth: z.ZodOptional<z.ZodString>;
5686
5714
  paymentAmount: z.ZodNumber;
5687
5715
  paymentReceived: z.ZodOptional<z.ZodBoolean>;
@@ -5791,6 +5819,7 @@ declare const zEventRegResponse: z.ZodObject<{
5791
5819
  hearAboutUs?: HearAboutUs | undefined;
5792
5820
  hearAboutUsDetails?: string | undefined;
5793
5821
  showOnWhoIsComing?: boolean | undefined;
5822
+ participateAs?: "adult" | "youth" | undefined;
5794
5823
  dateOfBirth?: string | undefined;
5795
5824
  editedBy?: string | undefined;
5796
5825
  createdAt?: string | undefined;
@@ -5830,6 +5859,7 @@ declare const zEventRegResponse: z.ZodObject<{
5830
5859
  hearAboutUs?: HearAboutUs | undefined;
5831
5860
  hearAboutUsDetails?: string | undefined;
5832
5861
  showOnWhoIsComing?: boolean | undefined;
5862
+ participateAs?: "adult" | "youth" | undefined;
5833
5863
  dateOfBirth?: string | undefined;
5834
5864
  editedBy?: string | undefined;
5835
5865
  createdAt?: string | undefined;
package/index.d.ts CHANGED
@@ -46,6 +46,7 @@ declare const zBUserInfo: z.ZodObject<{
46
46
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
47
47
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
48
48
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
49
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
49
50
  dateOfBirth: z.ZodOptional<z.ZodString>;
50
51
  }, "strip", z.ZodTypeAny, {
51
52
  firstName: string;
@@ -59,6 +60,7 @@ declare const zBUserInfo: z.ZodObject<{
59
60
  hearAboutUs?: HearAboutUs | undefined;
60
61
  hearAboutUsDetails?: string | undefined;
61
62
  showOnWhoIsComing?: boolean | undefined;
63
+ participateAs?: "adult" | "youth" | undefined;
62
64
  dateOfBirth?: string | undefined;
63
65
  }, {
64
66
  firstName: string;
@@ -72,6 +74,7 @@ declare const zBUserInfo: z.ZodObject<{
72
74
  hearAboutUs?: HearAboutUs | undefined;
73
75
  hearAboutUsDetails?: string | undefined;
74
76
  showOnWhoIsComing?: boolean | undefined;
77
+ participateAs?: "adult" | "youth" | undefined;
75
78
  dateOfBirth?: string | undefined;
76
79
  }>;
77
80
  type BUserInfo = z.infer<typeof zBUserInfo>;
@@ -2848,6 +2851,7 @@ declare const zBCampBooking: z.ZodObject<{
2848
2851
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
2849
2852
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
2850
2853
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
2854
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
2851
2855
  dateOfBirth: z.ZodOptional<z.ZodString>;
2852
2856
  } & {
2853
2857
  paymentAmount: z.ZodNumber;
@@ -2871,6 +2875,7 @@ declare const zBCampBooking: z.ZodObject<{
2871
2875
  hearAboutUs?: HearAboutUs | undefined;
2872
2876
  hearAboutUsDetails?: string | undefined;
2873
2877
  showOnWhoIsComing?: boolean | undefined;
2878
+ participateAs?: "adult" | "youth" | undefined;
2874
2879
  dateOfBirth?: string | undefined;
2875
2880
  shipping?: boolean | undefined;
2876
2881
  ctId?: string | undefined;
@@ -2892,6 +2897,7 @@ declare const zBCampBooking: z.ZodObject<{
2892
2897
  hearAboutUs?: HearAboutUs | undefined;
2893
2898
  hearAboutUsDetails?: string | undefined;
2894
2899
  showOnWhoIsComing?: boolean | undefined;
2900
+ participateAs?: "adult" | "youth" | undefined;
2895
2901
  dateOfBirth?: string | undefined;
2896
2902
  shipping?: boolean | undefined;
2897
2903
  ctId?: string | undefined;
@@ -2914,6 +2920,7 @@ declare const zCampBooking: z.ZodObject<{
2914
2920
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
2915
2921
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
2916
2922
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
2923
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
2917
2924
  dateOfBirth: z.ZodOptional<z.ZodString>;
2918
2925
  } & {
2919
2926
  paymentAmount: z.ZodNumber;
@@ -2943,6 +2950,7 @@ declare const zCampBooking: z.ZodObject<{
2943
2950
  hearAboutUs?: HearAboutUs | undefined;
2944
2951
  hearAboutUsDetails?: string | undefined;
2945
2952
  showOnWhoIsComing?: boolean | undefined;
2953
+ participateAs?: "adult" | "youth" | undefined;
2946
2954
  dateOfBirth?: string | undefined;
2947
2955
  shipping?: boolean | undefined;
2948
2956
  editedBy?: string | undefined;
@@ -2968,6 +2976,7 @@ declare const zCampBooking: z.ZodObject<{
2968
2976
  hearAboutUs?: HearAboutUs | undefined;
2969
2977
  hearAboutUsDetails?: string | undefined;
2970
2978
  showOnWhoIsComing?: boolean | undefined;
2979
+ participateAs?: "adult" | "youth" | undefined;
2971
2980
  dateOfBirth?: string | undefined;
2972
2981
  shipping?: boolean | undefined;
2973
2982
  editedBy?: string | undefined;
@@ -2996,6 +3005,7 @@ declare const zBGroupBooking: z.ZodObject<{
2996
3005
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
2997
3006
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
2998
3007
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
3008
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
2999
3009
  dateOfBirth: z.ZodOptional<z.ZodString>;
3000
3010
  } & {
3001
3011
  paymentAmount: z.ZodNumber;
@@ -3017,6 +3027,7 @@ declare const zBGroupBooking: z.ZodObject<{
3017
3027
  hearAboutUs?: HearAboutUs | undefined;
3018
3028
  hearAboutUsDetails?: string | undefined;
3019
3029
  showOnWhoIsComing?: boolean | undefined;
3030
+ participateAs?: "adult" | "youth" | undefined;
3020
3031
  dateOfBirth?: string | undefined;
3021
3032
  shipping?: boolean | undefined;
3022
3033
  gtId?: string | undefined;
@@ -3038,6 +3049,7 @@ declare const zBGroupBooking: z.ZodObject<{
3038
3049
  hearAboutUs?: HearAboutUs | undefined;
3039
3050
  hearAboutUsDetails?: string | undefined;
3040
3051
  showOnWhoIsComing?: boolean | undefined;
3052
+ participateAs?: "adult" | "youth" | undefined;
3041
3053
  dateOfBirth?: string | undefined;
3042
3054
  shipping?: boolean | undefined;
3043
3055
  gtId?: string | undefined;
@@ -3062,6 +3074,7 @@ declare const zGroupBooking: z.ZodObject<{
3062
3074
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
3063
3075
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
3064
3076
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
3077
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
3065
3078
  dateOfBirth: z.ZodOptional<z.ZodString>;
3066
3079
  } & {
3067
3080
  paymentAmount: z.ZodNumber;
@@ -3089,6 +3102,7 @@ declare const zGroupBooking: z.ZodObject<{
3089
3102
  hearAboutUs?: HearAboutUs | undefined;
3090
3103
  hearAboutUsDetails?: string | undefined;
3091
3104
  showOnWhoIsComing?: boolean | undefined;
3105
+ participateAs?: "adult" | "youth" | undefined;
3092
3106
  dateOfBirth?: string | undefined;
3093
3107
  shipping?: boolean | undefined;
3094
3108
  editedBy?: string | undefined;
@@ -3114,6 +3128,7 @@ declare const zGroupBooking: z.ZodObject<{
3114
3128
  hearAboutUs?: HearAboutUs | undefined;
3115
3129
  hearAboutUsDetails?: string | undefined;
3116
3130
  showOnWhoIsComing?: boolean | undefined;
3131
+ participateAs?: "adult" | "youth" | undefined;
3117
3132
  dateOfBirth?: string | undefined;
3118
3133
  shipping?: boolean | undefined;
3119
3134
  editedBy?: string | undefined;
@@ -3142,6 +3157,7 @@ declare const zBPrivateBooking: z.ZodObject<{
3142
3157
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
3143
3158
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
3144
3159
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
3160
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
3145
3161
  dateOfBirth: z.ZodOptional<z.ZodString>;
3146
3162
  } & {
3147
3163
  paymentAmount: z.ZodNumber;
@@ -3164,6 +3180,7 @@ declare const zBPrivateBooking: z.ZodObject<{
3164
3180
  hearAboutUs?: HearAboutUs | undefined;
3165
3181
  hearAboutUsDetails?: string | undefined;
3166
3182
  showOnWhoIsComing?: boolean | undefined;
3183
+ participateAs?: "adult" | "youth" | undefined;
3167
3184
  dateOfBirth?: string | undefined;
3168
3185
  classDate?: string | undefined;
3169
3186
  }, {
@@ -3183,6 +3200,7 @@ declare const zBPrivateBooking: z.ZodObject<{
3183
3200
  hearAboutUs?: HearAboutUs | undefined;
3184
3201
  hearAboutUsDetails?: string | undefined;
3185
3202
  showOnWhoIsComing?: boolean | undefined;
3203
+ participateAs?: "adult" | "youth" | undefined;
3186
3204
  dateOfBirth?: string | undefined;
3187
3205
  classDate?: string | undefined;
3188
3206
  }>;
@@ -3202,6 +3220,7 @@ declare const zPrivateBooking: z.ZodObject<{
3202
3220
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
3203
3221
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
3204
3222
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
3223
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
3205
3224
  dateOfBirth: z.ZodOptional<z.ZodString>;
3206
3225
  } & {
3207
3226
  paymentAmount: z.ZodNumber;
@@ -3230,6 +3249,7 @@ declare const zPrivateBooking: z.ZodObject<{
3230
3249
  hearAboutUs?: HearAboutUs | undefined;
3231
3250
  hearAboutUsDetails?: string | undefined;
3232
3251
  showOnWhoIsComing?: boolean | undefined;
3252
+ participateAs?: "adult" | "youth" | undefined;
3233
3253
  dateOfBirth?: string | undefined;
3234
3254
  editedBy?: string | undefined;
3235
3255
  createdAt?: string | undefined;
@@ -3253,6 +3273,7 @@ declare const zPrivateBooking: z.ZodObject<{
3253
3273
  hearAboutUs?: HearAboutUs | undefined;
3254
3274
  hearAboutUsDetails?: string | undefined;
3255
3275
  showOnWhoIsComing?: boolean | undefined;
3276
+ participateAs?: "adult" | "youth" | undefined;
3256
3277
  dateOfBirth?: string | undefined;
3257
3278
  editedBy?: string | undefined;
3258
3279
  createdAt?: string | undefined;
@@ -5012,7 +5033,7 @@ declare const zBEventConfig: z.ZodObject<{
5012
5033
  * youth_only - only youth
5013
5034
  * both - both youth and adult
5014
5035
  */
5015
- youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult>;
5036
+ youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
5016
5037
  /**
5017
5038
  * If true, free form donation amounts are disabled.
5018
5039
  */
@@ -5051,10 +5072,10 @@ declare const zBEventConfig: z.ZodObject<{
5051
5072
  };
5052
5073
  tickets: string[];
5053
5074
  canRegister: boolean;
5054
- youthOrAdult: YouthOrAdult;
5055
5075
  location?: string | undefined;
5056
5076
  ticketsStepDescription?: string | undefined;
5057
5077
  participantStepDescription?: string | undefined;
5078
+ youthOrAdult?: YouthOrAdult | undefined;
5058
5079
  donationsDisabled?: boolean | undefined;
5059
5080
  image?: {
5060
5081
  url: string;
@@ -5079,10 +5100,10 @@ declare const zBEventConfig: z.ZodObject<{
5079
5100
  };
5080
5101
  tickets: string[];
5081
5102
  canRegister: boolean;
5082
- youthOrAdult: YouthOrAdult;
5083
5103
  location?: string | undefined;
5084
5104
  ticketsStepDescription?: string | undefined;
5085
5105
  participantStepDescription?: string | undefined;
5106
+ youthOrAdult?: YouthOrAdult | undefined;
5086
5107
  donationsDisabled?: boolean | undefined;
5087
5108
  image?: {
5088
5109
  url: string;
@@ -5175,7 +5196,7 @@ declare const zEventConfig: z.ZodObject<{
5175
5196
  * youth_only - only youth
5176
5197
  * both - both youth and adult
5177
5198
  */
5178
- youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult>;
5199
+ youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
5179
5200
  /**
5180
5201
  * If true, free form donation amounts are disabled.
5181
5202
  */
@@ -5220,13 +5241,13 @@ declare const zEventConfig: z.ZodObject<{
5220
5241
  };
5221
5242
  tickets: string[];
5222
5243
  canRegister: boolean;
5223
- youthOrAdult: YouthOrAdult;
5224
5244
  editedBy?: string | undefined;
5225
5245
  createdAt?: string | undefined;
5226
5246
  updatedAt?: string | undefined;
5227
5247
  location?: string | undefined;
5228
5248
  ticketsStepDescription?: string | undefined;
5229
5249
  participantStepDescription?: string | undefined;
5250
+ youthOrAdult?: YouthOrAdult | undefined;
5230
5251
  donationsDisabled?: boolean | undefined;
5231
5252
  image?: {
5232
5253
  url: string;
@@ -5252,13 +5273,13 @@ declare const zEventConfig: z.ZodObject<{
5252
5273
  };
5253
5274
  tickets: string[];
5254
5275
  canRegister: boolean;
5255
- youthOrAdult: YouthOrAdult;
5256
5276
  editedBy?: string | undefined;
5257
5277
  createdAt?: string | undefined;
5258
5278
  updatedAt?: string | undefined;
5259
5279
  location?: string | undefined;
5260
5280
  ticketsStepDescription?: string | undefined;
5261
5281
  participantStepDescription?: string | undefined;
5282
+ youthOrAdult?: YouthOrAdult | undefined;
5262
5283
  donationsDisabled?: boolean | undefined;
5263
5284
  image?: {
5264
5285
  url: string;
@@ -5298,7 +5319,7 @@ declare const zEventConfigResponse: z.ZodObject<{
5298
5319
  ticketsStepDescription: z.ZodOptional<z.ZodString>;
5299
5320
  participantStepDescription: z.ZodOptional<z.ZodString>;
5300
5321
  canRegister: z.ZodBoolean;
5301
- youthOrAdult: z.ZodNativeEnum<typeof YouthOrAdult>;
5322
+ youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
5302
5323
  donationsDisabled: z.ZodOptional<z.ZodBoolean>;
5303
5324
  image: z.ZodOptional<z.ZodObject<{
5304
5325
  url: z.ZodString;
@@ -5383,13 +5404,13 @@ declare const zEventConfigResponse: z.ZodObject<{
5383
5404
  maxPerOrder?: number | undefined;
5384
5405
  }[];
5385
5406
  canRegister: boolean;
5386
- youthOrAdult: YouthOrAdult;
5387
5407
  editedBy?: string | undefined;
5388
5408
  createdAt?: string | undefined;
5389
5409
  updatedAt?: string | undefined;
5390
5410
  location?: string | undefined;
5391
5411
  ticketsStepDescription?: string | undefined;
5392
5412
  participantStepDescription?: string | undefined;
5413
+ youthOrAdult?: YouthOrAdult | undefined;
5393
5414
  donationsDisabled?: boolean | undefined;
5394
5415
  image?: {
5395
5416
  url: string;
@@ -5426,13 +5447,13 @@ declare const zEventConfigResponse: z.ZodObject<{
5426
5447
  maxPerOrder?: number | undefined;
5427
5448
  }[];
5428
5449
  canRegister: boolean;
5429
- youthOrAdult: YouthOrAdult;
5430
5450
  editedBy?: string | undefined;
5431
5451
  createdAt?: string | undefined;
5432
5452
  updatedAt?: string | undefined;
5433
5453
  location?: string | undefined;
5434
5454
  ticketsStepDescription?: string | undefined;
5435
5455
  participantStepDescription?: string | undefined;
5456
+ youthOrAdult?: YouthOrAdult | undefined;
5436
5457
  donationsDisabled?: boolean | undefined;
5437
5458
  image?: {
5438
5459
  url: string;
@@ -5512,6 +5533,7 @@ declare const zBEventReg: z.ZodObject<{
5512
5533
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
5513
5534
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
5514
5535
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
5536
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
5515
5537
  dateOfBirth: z.ZodOptional<z.ZodString>;
5516
5538
  } & {
5517
5539
  paymentAmount: z.ZodNumber;
@@ -5538,6 +5560,7 @@ declare const zBEventReg: z.ZodObject<{
5538
5560
  hearAboutUs?: HearAboutUs | undefined;
5539
5561
  hearAboutUsDetails?: string | undefined;
5540
5562
  showOnWhoIsComing?: boolean | undefined;
5563
+ participateAs?: "adult" | "youth" | undefined;
5541
5564
  dateOfBirth?: string | undefined;
5542
5565
  donation?: number | undefined;
5543
5566
  createMethod?: string | undefined;
@@ -5562,6 +5585,7 @@ declare const zBEventReg: z.ZodObject<{
5562
5585
  hearAboutUs?: HearAboutUs | undefined;
5563
5586
  hearAboutUsDetails?: string | undefined;
5564
5587
  showOnWhoIsComing?: boolean | undefined;
5588
+ participateAs?: "adult" | "youth" | undefined;
5565
5589
  dateOfBirth?: string | undefined;
5566
5590
  donation?: number | undefined;
5567
5591
  createMethod?: string | undefined;
@@ -5599,6 +5623,7 @@ declare const zEventReg: z.ZodObject<{
5599
5623
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
5600
5624
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
5601
5625
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
5626
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
5602
5627
  dateOfBirth: z.ZodOptional<z.ZodString>;
5603
5628
  } & {
5604
5629
  paymentAmount: z.ZodNumber;
@@ -5631,6 +5656,7 @@ declare const zEventReg: z.ZodObject<{
5631
5656
  hearAboutUs?: HearAboutUs | undefined;
5632
5657
  hearAboutUsDetails?: string | undefined;
5633
5658
  showOnWhoIsComing?: boolean | undefined;
5659
+ participateAs?: "adult" | "youth" | undefined;
5634
5660
  dateOfBirth?: string | undefined;
5635
5661
  editedBy?: string | undefined;
5636
5662
  createdAt?: string | undefined;
@@ -5659,6 +5685,7 @@ declare const zEventReg: z.ZodObject<{
5659
5685
  hearAboutUs?: HearAboutUs | undefined;
5660
5686
  hearAboutUsDetails?: string | undefined;
5661
5687
  showOnWhoIsComing?: boolean | undefined;
5688
+ participateAs?: "adult" | "youth" | undefined;
5662
5689
  dateOfBirth?: string | undefined;
5663
5690
  editedBy?: string | undefined;
5664
5691
  createdAt?: string | undefined;
@@ -5682,6 +5709,7 @@ declare const zEventRegResponse: z.ZodObject<{
5682
5709
  hearAboutUs: z.ZodOptional<z.ZodNativeEnum<typeof HearAboutUs>>;
5683
5710
  hearAboutUsDetails: z.ZodOptional<z.ZodString>;
5684
5711
  showOnWhoIsComing: z.ZodOptional<z.ZodBoolean>;
5712
+ participateAs: z.ZodOptional<z.ZodEnum<["adult", "youth"]>>;
5685
5713
  dateOfBirth: z.ZodOptional<z.ZodString>;
5686
5714
  paymentAmount: z.ZodNumber;
5687
5715
  paymentReceived: z.ZodOptional<z.ZodBoolean>;
@@ -5791,6 +5819,7 @@ declare const zEventRegResponse: z.ZodObject<{
5791
5819
  hearAboutUs?: HearAboutUs | undefined;
5792
5820
  hearAboutUsDetails?: string | undefined;
5793
5821
  showOnWhoIsComing?: boolean | undefined;
5822
+ participateAs?: "adult" | "youth" | undefined;
5794
5823
  dateOfBirth?: string | undefined;
5795
5824
  editedBy?: string | undefined;
5796
5825
  createdAt?: string | undefined;
@@ -5830,6 +5859,7 @@ declare const zEventRegResponse: z.ZodObject<{
5830
5859
  hearAboutUs?: HearAboutUs | undefined;
5831
5860
  hearAboutUsDetails?: string | undefined;
5832
5861
  showOnWhoIsComing?: boolean | undefined;
5862
+ participateAs?: "adult" | "youth" | undefined;
5833
5863
  dateOfBirth?: string | undefined;
5834
5864
  editedBy?: string | undefined;
5835
5865
  createdAt?: string | undefined;
package/index.js CHANGED
@@ -155,6 +155,7 @@ var zBUserInfo = import_zod2.z.object({
155
155
  hearAboutUsDetails: import_zod2.z.string().optional(),
156
156
  // show/hide on Aurora event page "who is coming" list
157
157
  showOnWhoIsComing: import_zod2.z.boolean().optional(),
158
+ participateAs: import_zod2.z.enum(["adult", "youth"]).optional(),
158
159
  // Required for youth tournaments
159
160
  dateOfBirth: import_zod2.z.string().optional()
160
161
  });
@@ -885,7 +886,7 @@ var zBEventConfig = import_zod29.z.object({
885
886
  * youth_only - only youth
886
887
  * both - both youth and adult
887
888
  */
888
- youthOrAdult: import_zod29.z.nativeEnum(YouthOrAdult),
889
+ youthOrAdult: import_zod29.z.nativeEnum(YouthOrAdult).optional(),
889
890
  /**
890
891
  * If true, free form donation amounts are disabled.
891
892
  */
package/index.mjs CHANGED
@@ -46,6 +46,7 @@ var zBUserInfo = z2.object({
46
46
  hearAboutUsDetails: z2.string().optional(),
47
47
  // show/hide on Aurora event page "who is coming" list
48
48
  showOnWhoIsComing: z2.boolean().optional(),
49
+ participateAs: z2.enum(["adult", "youth"]).optional(),
49
50
  // Required for youth tournaments
50
51
  dateOfBirth: z2.string().optional()
51
52
  });
@@ -776,7 +777,7 @@ var zBEventConfig = z29.object({
776
777
  * youth_only - only youth
777
778
  * both - both youth and adult
778
779
  */
779
- youthOrAdult: z29.nativeEnum(YouthOrAdult),
780
+ youthOrAdult: z29.nativeEnum(YouthOrAdult).optional(),
780
781
  /**
781
782
  * If true, free form donation amounts are disabled.
782
783
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",