@nyig/models 0.5.4 → 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 +30 -0
- package/index.d.ts +30 -0
- package/index.js +1 -0
- package/index.mjs +1 -0
- package/package.json +1 -1
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;
|
|
@@ -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;
|
|
@@ -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
|
});
|
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
|
});
|