@nyig/models 0.4.17 → 0.4.19
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 +34 -0
- package/index.d.ts +34 -0
- package/index.js +14 -4
- package/index.mjs +14 -4
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -4975,6 +4975,16 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
4975
4975
|
fields: string[];
|
|
4976
4976
|
data: Record<string, Record<string, string>[]>;
|
|
4977
4977
|
}>;
|
|
4978
|
+
/**
|
|
4979
|
+
* @optional description of the tickets step, shown in service
|
|
4980
|
+
* when the customer is on step 1 of the booking page
|
|
4981
|
+
*/
|
|
4982
|
+
ticketsStepDescription: z.ZodOptional<z.ZodString>;
|
|
4983
|
+
/**
|
|
4984
|
+
* @optional description of the participant step, shown in service
|
|
4985
|
+
* when the customer is on step 2 of the booking page
|
|
4986
|
+
*/
|
|
4987
|
+
participantStepDescription: z.ZodOptional<z.ZodString>;
|
|
4978
4988
|
/**
|
|
4979
4989
|
* List of ticket object IDs for this tournament
|
|
4980
4990
|
*/
|
|
@@ -5028,6 +5038,8 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5028
5038
|
canRegister: boolean;
|
|
5029
5039
|
isYouth: boolean;
|
|
5030
5040
|
location?: string | undefined;
|
|
5041
|
+
ticketsStepDescription?: string | undefined;
|
|
5042
|
+
participantStepDescription?: string | undefined;
|
|
5031
5043
|
donationsDisabled?: boolean | undefined;
|
|
5032
5044
|
image?: {
|
|
5033
5045
|
url: string;
|
|
@@ -5054,6 +5066,8 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5054
5066
|
canRegister: boolean;
|
|
5055
5067
|
isYouth: boolean;
|
|
5056
5068
|
location?: string | undefined;
|
|
5069
|
+
ticketsStepDescription?: string | undefined;
|
|
5070
|
+
participantStepDescription?: string | undefined;
|
|
5057
5071
|
donationsDisabled?: boolean | undefined;
|
|
5058
5072
|
image?: {
|
|
5059
5073
|
url: string;
|
|
@@ -5123,6 +5137,16 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5123
5137
|
fields: string[];
|
|
5124
5138
|
data: Record<string, Record<string, string>[]>;
|
|
5125
5139
|
}>;
|
|
5140
|
+
/**
|
|
5141
|
+
* @optional description of the tickets step, shown in service
|
|
5142
|
+
* when the customer is on step 1 of the booking page
|
|
5143
|
+
*/
|
|
5144
|
+
ticketsStepDescription: z.ZodOptional<z.ZodString>;
|
|
5145
|
+
/**
|
|
5146
|
+
* @optional description of the participant step, shown in service
|
|
5147
|
+
* when the customer is on step 2 of the booking page
|
|
5148
|
+
*/
|
|
5149
|
+
participantStepDescription: z.ZodOptional<z.ZodString>;
|
|
5126
5150
|
/**
|
|
5127
5151
|
* List of ticket object IDs for this tournament
|
|
5128
5152
|
*/
|
|
@@ -5185,6 +5209,8 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5185
5209
|
createdAt?: string | undefined;
|
|
5186
5210
|
updatedAt?: string | undefined;
|
|
5187
5211
|
location?: string | undefined;
|
|
5212
|
+
ticketsStepDescription?: string | undefined;
|
|
5213
|
+
participantStepDescription?: string | undefined;
|
|
5188
5214
|
donationsDisabled?: boolean | undefined;
|
|
5189
5215
|
image?: {
|
|
5190
5216
|
url: string;
|
|
@@ -5215,6 +5241,8 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5215
5241
|
createdAt?: string | undefined;
|
|
5216
5242
|
updatedAt?: string | undefined;
|
|
5217
5243
|
location?: string | undefined;
|
|
5244
|
+
ticketsStepDescription?: string | undefined;
|
|
5245
|
+
participantStepDescription?: string | undefined;
|
|
5218
5246
|
donationsDisabled?: boolean | undefined;
|
|
5219
5247
|
image?: {
|
|
5220
5248
|
url: string;
|
|
@@ -5251,6 +5279,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5251
5279
|
fields: string[];
|
|
5252
5280
|
data: Record<string, Record<string, string>[]>;
|
|
5253
5281
|
}>;
|
|
5282
|
+
ticketsStepDescription: z.ZodOptional<z.ZodString>;
|
|
5283
|
+
participantStepDescription: z.ZodOptional<z.ZodString>;
|
|
5254
5284
|
canRegister: z.ZodBoolean;
|
|
5255
5285
|
isYouth: z.ZodBoolean;
|
|
5256
5286
|
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5342,6 +5372,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5342
5372
|
createdAt?: string | undefined;
|
|
5343
5373
|
updatedAt?: string | undefined;
|
|
5344
5374
|
location?: string | undefined;
|
|
5375
|
+
ticketsStepDescription?: string | undefined;
|
|
5376
|
+
participantStepDescription?: string | undefined;
|
|
5345
5377
|
donationsDisabled?: boolean | undefined;
|
|
5346
5378
|
image?: {
|
|
5347
5379
|
url: string;
|
|
@@ -5383,6 +5415,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5383
5415
|
createdAt?: string | undefined;
|
|
5384
5416
|
updatedAt?: string | undefined;
|
|
5385
5417
|
location?: string | undefined;
|
|
5418
|
+
ticketsStepDescription?: string | undefined;
|
|
5419
|
+
participantStepDescription?: string | undefined;
|
|
5386
5420
|
donationsDisabled?: boolean | undefined;
|
|
5387
5421
|
image?: {
|
|
5388
5422
|
url: string;
|
package/index.d.ts
CHANGED
|
@@ -4975,6 +4975,16 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
4975
4975
|
fields: string[];
|
|
4976
4976
|
data: Record<string, Record<string, string>[]>;
|
|
4977
4977
|
}>;
|
|
4978
|
+
/**
|
|
4979
|
+
* @optional description of the tickets step, shown in service
|
|
4980
|
+
* when the customer is on step 1 of the booking page
|
|
4981
|
+
*/
|
|
4982
|
+
ticketsStepDescription: z.ZodOptional<z.ZodString>;
|
|
4983
|
+
/**
|
|
4984
|
+
* @optional description of the participant step, shown in service
|
|
4985
|
+
* when the customer is on step 2 of the booking page
|
|
4986
|
+
*/
|
|
4987
|
+
participantStepDescription: z.ZodOptional<z.ZodString>;
|
|
4978
4988
|
/**
|
|
4979
4989
|
* List of ticket object IDs for this tournament
|
|
4980
4990
|
*/
|
|
@@ -5028,6 +5038,8 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5028
5038
|
canRegister: boolean;
|
|
5029
5039
|
isYouth: boolean;
|
|
5030
5040
|
location?: string | undefined;
|
|
5041
|
+
ticketsStepDescription?: string | undefined;
|
|
5042
|
+
participantStepDescription?: string | undefined;
|
|
5031
5043
|
donationsDisabled?: boolean | undefined;
|
|
5032
5044
|
image?: {
|
|
5033
5045
|
url: string;
|
|
@@ -5054,6 +5066,8 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5054
5066
|
canRegister: boolean;
|
|
5055
5067
|
isYouth: boolean;
|
|
5056
5068
|
location?: string | undefined;
|
|
5069
|
+
ticketsStepDescription?: string | undefined;
|
|
5070
|
+
participantStepDescription?: string | undefined;
|
|
5057
5071
|
donationsDisabled?: boolean | undefined;
|
|
5058
5072
|
image?: {
|
|
5059
5073
|
url: string;
|
|
@@ -5123,6 +5137,16 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5123
5137
|
fields: string[];
|
|
5124
5138
|
data: Record<string, Record<string, string>[]>;
|
|
5125
5139
|
}>;
|
|
5140
|
+
/**
|
|
5141
|
+
* @optional description of the tickets step, shown in service
|
|
5142
|
+
* when the customer is on step 1 of the booking page
|
|
5143
|
+
*/
|
|
5144
|
+
ticketsStepDescription: z.ZodOptional<z.ZodString>;
|
|
5145
|
+
/**
|
|
5146
|
+
* @optional description of the participant step, shown in service
|
|
5147
|
+
* when the customer is on step 2 of the booking page
|
|
5148
|
+
*/
|
|
5149
|
+
participantStepDescription: z.ZodOptional<z.ZodString>;
|
|
5126
5150
|
/**
|
|
5127
5151
|
* List of ticket object IDs for this tournament
|
|
5128
5152
|
*/
|
|
@@ -5185,6 +5209,8 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5185
5209
|
createdAt?: string | undefined;
|
|
5186
5210
|
updatedAt?: string | undefined;
|
|
5187
5211
|
location?: string | undefined;
|
|
5212
|
+
ticketsStepDescription?: string | undefined;
|
|
5213
|
+
participantStepDescription?: string | undefined;
|
|
5188
5214
|
donationsDisabled?: boolean | undefined;
|
|
5189
5215
|
image?: {
|
|
5190
5216
|
url: string;
|
|
@@ -5215,6 +5241,8 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5215
5241
|
createdAt?: string | undefined;
|
|
5216
5242
|
updatedAt?: string | undefined;
|
|
5217
5243
|
location?: string | undefined;
|
|
5244
|
+
ticketsStepDescription?: string | undefined;
|
|
5245
|
+
participantStepDescription?: string | undefined;
|
|
5218
5246
|
donationsDisabled?: boolean | undefined;
|
|
5219
5247
|
image?: {
|
|
5220
5248
|
url: string;
|
|
@@ -5251,6 +5279,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5251
5279
|
fields: string[];
|
|
5252
5280
|
data: Record<string, Record<string, string>[]>;
|
|
5253
5281
|
}>;
|
|
5282
|
+
ticketsStepDescription: z.ZodOptional<z.ZodString>;
|
|
5283
|
+
participantStepDescription: z.ZodOptional<z.ZodString>;
|
|
5254
5284
|
canRegister: z.ZodBoolean;
|
|
5255
5285
|
isYouth: z.ZodBoolean;
|
|
5256
5286
|
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5342,6 +5372,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5342
5372
|
createdAt?: string | undefined;
|
|
5343
5373
|
updatedAt?: string | undefined;
|
|
5344
5374
|
location?: string | undefined;
|
|
5375
|
+
ticketsStepDescription?: string | undefined;
|
|
5376
|
+
participantStepDescription?: string | undefined;
|
|
5345
5377
|
donationsDisabled?: boolean | undefined;
|
|
5346
5378
|
image?: {
|
|
5347
5379
|
url: string;
|
|
@@ -5383,6 +5415,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5383
5415
|
createdAt?: string | undefined;
|
|
5384
5416
|
updatedAt?: string | undefined;
|
|
5385
5417
|
location?: string | undefined;
|
|
5418
|
+
ticketsStepDescription?: string | undefined;
|
|
5419
|
+
participantStepDescription?: string | undefined;
|
|
5386
5420
|
donationsDisabled?: boolean | undefined;
|
|
5387
5421
|
image?: {
|
|
5388
5422
|
url: string;
|
package/index.js
CHANGED
|
@@ -821,11 +821,11 @@ var zBEventConfig = import_zod29.z.object({
|
|
|
821
821
|
/**
|
|
822
822
|
* Full name of the tournament
|
|
823
823
|
*/
|
|
824
|
-
title: import_zod29.z.string(),
|
|
824
|
+
title: import_zod29.z.string().min(5),
|
|
825
825
|
/**
|
|
826
826
|
* Abbreviated title of the tournament
|
|
827
827
|
*/
|
|
828
|
-
shortTitle: import_zod29.z.string(),
|
|
828
|
+
shortTitle: import_zod29.z.string().min(2),
|
|
829
829
|
/**
|
|
830
830
|
* Tournament start date and time
|
|
831
831
|
*/
|
|
@@ -837,11 +837,11 @@ var zBEventConfig = import_zod29.z.object({
|
|
|
837
837
|
/**
|
|
838
838
|
* Short description for tournament card
|
|
839
839
|
*/
|
|
840
|
-
shortDescription: import_zod29.z.string(),
|
|
840
|
+
shortDescription: import_zod29.z.string().min(5),
|
|
841
841
|
/**
|
|
842
842
|
* Full description
|
|
843
843
|
*/
|
|
844
|
-
description: import_zod29.z.string(),
|
|
844
|
+
description: import_zod29.z.string().min(5),
|
|
845
845
|
/**
|
|
846
846
|
* Defines the tournament details table with 2 columns
|
|
847
847
|
* typically Time and Event
|
|
@@ -852,6 +852,16 @@ var zBEventConfig = import_zod29.z.object({
|
|
|
852
852
|
* data is a map of tab title -> 2 column table rows.
|
|
853
853
|
*/
|
|
854
854
|
schedule: zScheduleTable,
|
|
855
|
+
/**
|
|
856
|
+
* @optional description of the tickets step, shown in service
|
|
857
|
+
* when the customer is on step 1 of the booking page
|
|
858
|
+
*/
|
|
859
|
+
ticketsStepDescription: import_zod29.z.string().optional(),
|
|
860
|
+
/**
|
|
861
|
+
* @optional description of the participant step, shown in service
|
|
862
|
+
* when the customer is on step 2 of the booking page
|
|
863
|
+
*/
|
|
864
|
+
participantStepDescription: import_zod29.z.string().optional(),
|
|
855
865
|
/**
|
|
856
866
|
* List of ticket object IDs for this tournament
|
|
857
867
|
*/
|
package/index.mjs
CHANGED
|
@@ -713,11 +713,11 @@ var zBEventConfig = z29.object({
|
|
|
713
713
|
/**
|
|
714
714
|
* Full name of the tournament
|
|
715
715
|
*/
|
|
716
|
-
title: z29.string(),
|
|
716
|
+
title: z29.string().min(5),
|
|
717
717
|
/**
|
|
718
718
|
* Abbreviated title of the tournament
|
|
719
719
|
*/
|
|
720
|
-
shortTitle: z29.string(),
|
|
720
|
+
shortTitle: z29.string().min(2),
|
|
721
721
|
/**
|
|
722
722
|
* Tournament start date and time
|
|
723
723
|
*/
|
|
@@ -729,11 +729,11 @@ var zBEventConfig = z29.object({
|
|
|
729
729
|
/**
|
|
730
730
|
* Short description for tournament card
|
|
731
731
|
*/
|
|
732
|
-
shortDescription: z29.string(),
|
|
732
|
+
shortDescription: z29.string().min(5),
|
|
733
733
|
/**
|
|
734
734
|
* Full description
|
|
735
735
|
*/
|
|
736
|
-
description: z29.string(),
|
|
736
|
+
description: z29.string().min(5),
|
|
737
737
|
/**
|
|
738
738
|
* Defines the tournament details table with 2 columns
|
|
739
739
|
* typically Time and Event
|
|
@@ -744,6 +744,16 @@ var zBEventConfig = z29.object({
|
|
|
744
744
|
* data is a map of tab title -> 2 column table rows.
|
|
745
745
|
*/
|
|
746
746
|
schedule: zScheduleTable,
|
|
747
|
+
/**
|
|
748
|
+
* @optional description of the tickets step, shown in service
|
|
749
|
+
* when the customer is on step 1 of the booking page
|
|
750
|
+
*/
|
|
751
|
+
ticketsStepDescription: z29.string().optional(),
|
|
752
|
+
/**
|
|
753
|
+
* @optional description of the participant step, shown in service
|
|
754
|
+
* when the customer is on step 2 of the booking page
|
|
755
|
+
*/
|
|
756
|
+
participantStepDescription: z29.string().optional(),
|
|
747
757
|
/**
|
|
748
758
|
* List of ticket object IDs for this tournament
|
|
749
759
|
*/
|