@nyig/models 0.5.2 → 0.5.4
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 +21 -14
- package/index.d.ts +21 -14
- package/index.js +13 -3
- package/index.mjs +12 -3
- package/package.json +5 -5
package/index.d.mts
CHANGED
|
@@ -4922,6 +4922,11 @@ declare const zSemester: z.ZodObject<{
|
|
|
4922
4922
|
type BSemester = z.infer<typeof zBSemester>;
|
|
4923
4923
|
type Semester = z.infer<typeof zSemester>;
|
|
4924
4924
|
|
|
4925
|
+
declare enum YouthOrAdult {
|
|
4926
|
+
YOUTH_ONLY = "youth_only",
|
|
4927
|
+
BOTH = "both"
|
|
4928
|
+
}
|
|
4929
|
+
|
|
4925
4930
|
declare const zBEventConfig: z.ZodObject<{
|
|
4926
4931
|
/**
|
|
4927
4932
|
* Location of the event
|
|
@@ -5003,10 +5008,11 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5003
5008
|
*/
|
|
5004
5009
|
canRegister: z.ZodBoolean;
|
|
5005
5010
|
/**
|
|
5006
|
-
*
|
|
5007
|
-
*
|
|
5011
|
+
* Defines the registration of youth and adults in the event
|
|
5012
|
+
* youth_only - only youth
|
|
5013
|
+
* both - both youth and adult
|
|
5008
5014
|
*/
|
|
5009
|
-
|
|
5015
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5010
5016
|
/**
|
|
5011
5017
|
* If true, free form donation amounts are disabled.
|
|
5012
5018
|
*/
|
|
@@ -5045,10 +5051,10 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5045
5051
|
};
|
|
5046
5052
|
tickets: string[];
|
|
5047
5053
|
canRegister: boolean;
|
|
5048
|
-
isYouth: boolean;
|
|
5049
5054
|
location?: string | undefined;
|
|
5050
5055
|
ticketsStepDescription?: string | undefined;
|
|
5051
5056
|
participantStepDescription?: string | undefined;
|
|
5057
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5052
5058
|
donationsDisabled?: boolean | undefined;
|
|
5053
5059
|
image?: {
|
|
5054
5060
|
url: string;
|
|
@@ -5073,10 +5079,10 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5073
5079
|
};
|
|
5074
5080
|
tickets: string[];
|
|
5075
5081
|
canRegister: boolean;
|
|
5076
|
-
isYouth: boolean;
|
|
5077
5082
|
location?: string | undefined;
|
|
5078
5083
|
ticketsStepDescription?: string | undefined;
|
|
5079
5084
|
participantStepDescription?: string | undefined;
|
|
5085
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5080
5086
|
donationsDisabled?: boolean | undefined;
|
|
5081
5087
|
image?: {
|
|
5082
5088
|
url: string;
|
|
@@ -5165,10 +5171,11 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5165
5171
|
*/
|
|
5166
5172
|
canRegister: z.ZodBoolean;
|
|
5167
5173
|
/**
|
|
5168
|
-
*
|
|
5169
|
-
*
|
|
5174
|
+
* Defines the registration of youth and adults in the event
|
|
5175
|
+
* youth_only - only youth
|
|
5176
|
+
* both - both youth and adult
|
|
5170
5177
|
*/
|
|
5171
|
-
|
|
5178
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5172
5179
|
/**
|
|
5173
5180
|
* If true, free form donation amounts are disabled.
|
|
5174
5181
|
*/
|
|
@@ -5213,13 +5220,13 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5213
5220
|
};
|
|
5214
5221
|
tickets: string[];
|
|
5215
5222
|
canRegister: boolean;
|
|
5216
|
-
isYouth: boolean;
|
|
5217
5223
|
editedBy?: string | undefined;
|
|
5218
5224
|
createdAt?: string | undefined;
|
|
5219
5225
|
updatedAt?: string | undefined;
|
|
5220
5226
|
location?: string | undefined;
|
|
5221
5227
|
ticketsStepDescription?: string | undefined;
|
|
5222
5228
|
participantStepDescription?: string | undefined;
|
|
5229
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5223
5230
|
donationsDisabled?: boolean | undefined;
|
|
5224
5231
|
image?: {
|
|
5225
5232
|
url: string;
|
|
@@ -5245,13 +5252,13 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5245
5252
|
};
|
|
5246
5253
|
tickets: string[];
|
|
5247
5254
|
canRegister: boolean;
|
|
5248
|
-
isYouth: boolean;
|
|
5249
5255
|
editedBy?: string | undefined;
|
|
5250
5256
|
createdAt?: string | undefined;
|
|
5251
5257
|
updatedAt?: string | undefined;
|
|
5252
5258
|
location?: string | undefined;
|
|
5253
5259
|
ticketsStepDescription?: string | undefined;
|
|
5254
5260
|
participantStepDescription?: string | undefined;
|
|
5261
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5255
5262
|
donationsDisabled?: boolean | undefined;
|
|
5256
5263
|
image?: {
|
|
5257
5264
|
url: string;
|
|
@@ -5291,7 +5298,7 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5291
5298
|
ticketsStepDescription: z.ZodOptional<z.ZodString>;
|
|
5292
5299
|
participantStepDescription: z.ZodOptional<z.ZodString>;
|
|
5293
5300
|
canRegister: z.ZodBoolean;
|
|
5294
|
-
|
|
5301
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5295
5302
|
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
5296
5303
|
image: z.ZodOptional<z.ZodObject<{
|
|
5297
5304
|
url: z.ZodString;
|
|
@@ -5376,13 +5383,13 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5376
5383
|
maxPerOrder?: number | undefined;
|
|
5377
5384
|
}[];
|
|
5378
5385
|
canRegister: boolean;
|
|
5379
|
-
isYouth: boolean;
|
|
5380
5386
|
editedBy?: string | undefined;
|
|
5381
5387
|
createdAt?: string | undefined;
|
|
5382
5388
|
updatedAt?: string | undefined;
|
|
5383
5389
|
location?: string | undefined;
|
|
5384
5390
|
ticketsStepDescription?: string | undefined;
|
|
5385
5391
|
participantStepDescription?: string | undefined;
|
|
5392
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5386
5393
|
donationsDisabled?: boolean | undefined;
|
|
5387
5394
|
image?: {
|
|
5388
5395
|
url: string;
|
|
@@ -5419,13 +5426,13 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5419
5426
|
maxPerOrder?: number | undefined;
|
|
5420
5427
|
}[];
|
|
5421
5428
|
canRegister: boolean;
|
|
5422
|
-
isYouth: boolean;
|
|
5423
5429
|
editedBy?: string | undefined;
|
|
5424
5430
|
createdAt?: string | undefined;
|
|
5425
5431
|
updatedAt?: string | undefined;
|
|
5426
5432
|
location?: string | undefined;
|
|
5427
5433
|
ticketsStepDescription?: string | undefined;
|
|
5428
5434
|
participantStepDescription?: string | undefined;
|
|
5435
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5429
5436
|
donationsDisabled?: boolean | undefined;
|
|
5430
5437
|
image?: {
|
|
5431
5438
|
url: string;
|
|
@@ -6715,4 +6722,4 @@ type ChangePasswordRequest = z.infer<typeof zChangePasswordRequest>;
|
|
|
6715
6722
|
type LoginRequest = z.infer<typeof zLoginRequest>;
|
|
6716
6723
|
type LoginResponse = z.infer<typeof zLoginResponse>;
|
|
6717
6724
|
|
|
6718
|
-
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, FeesInCents, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type PublicEventConfigResponse, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
|
6725
|
+
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, FeesInCents, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type PublicEventConfigResponse, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, YouthOrAdult, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
package/index.d.ts
CHANGED
|
@@ -4922,6 +4922,11 @@ declare const zSemester: z.ZodObject<{
|
|
|
4922
4922
|
type BSemester = z.infer<typeof zBSemester>;
|
|
4923
4923
|
type Semester = z.infer<typeof zSemester>;
|
|
4924
4924
|
|
|
4925
|
+
declare enum YouthOrAdult {
|
|
4926
|
+
YOUTH_ONLY = "youth_only",
|
|
4927
|
+
BOTH = "both"
|
|
4928
|
+
}
|
|
4929
|
+
|
|
4925
4930
|
declare const zBEventConfig: z.ZodObject<{
|
|
4926
4931
|
/**
|
|
4927
4932
|
* Location of the event
|
|
@@ -5003,10 +5008,11 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5003
5008
|
*/
|
|
5004
5009
|
canRegister: z.ZodBoolean;
|
|
5005
5010
|
/**
|
|
5006
|
-
*
|
|
5007
|
-
*
|
|
5011
|
+
* Defines the registration of youth and adults in the event
|
|
5012
|
+
* youth_only - only youth
|
|
5013
|
+
* both - both youth and adult
|
|
5008
5014
|
*/
|
|
5009
|
-
|
|
5015
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5010
5016
|
/**
|
|
5011
5017
|
* If true, free form donation amounts are disabled.
|
|
5012
5018
|
*/
|
|
@@ -5045,10 +5051,10 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5045
5051
|
};
|
|
5046
5052
|
tickets: string[];
|
|
5047
5053
|
canRegister: boolean;
|
|
5048
|
-
isYouth: boolean;
|
|
5049
5054
|
location?: string | undefined;
|
|
5050
5055
|
ticketsStepDescription?: string | undefined;
|
|
5051
5056
|
participantStepDescription?: string | undefined;
|
|
5057
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5052
5058
|
donationsDisabled?: boolean | undefined;
|
|
5053
5059
|
image?: {
|
|
5054
5060
|
url: string;
|
|
@@ -5073,10 +5079,10 @@ declare const zBEventConfig: z.ZodObject<{
|
|
|
5073
5079
|
};
|
|
5074
5080
|
tickets: string[];
|
|
5075
5081
|
canRegister: boolean;
|
|
5076
|
-
isYouth: boolean;
|
|
5077
5082
|
location?: string | undefined;
|
|
5078
5083
|
ticketsStepDescription?: string | undefined;
|
|
5079
5084
|
participantStepDescription?: string | undefined;
|
|
5085
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5080
5086
|
donationsDisabled?: boolean | undefined;
|
|
5081
5087
|
image?: {
|
|
5082
5088
|
url: string;
|
|
@@ -5165,10 +5171,11 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5165
5171
|
*/
|
|
5166
5172
|
canRegister: z.ZodBoolean;
|
|
5167
5173
|
/**
|
|
5168
|
-
*
|
|
5169
|
-
*
|
|
5174
|
+
* Defines the registration of youth and adults in the event
|
|
5175
|
+
* youth_only - only youth
|
|
5176
|
+
* both - both youth and adult
|
|
5170
5177
|
*/
|
|
5171
|
-
|
|
5178
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5172
5179
|
/**
|
|
5173
5180
|
* If true, free form donation amounts are disabled.
|
|
5174
5181
|
*/
|
|
@@ -5213,13 +5220,13 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5213
5220
|
};
|
|
5214
5221
|
tickets: string[];
|
|
5215
5222
|
canRegister: boolean;
|
|
5216
|
-
isYouth: boolean;
|
|
5217
5223
|
editedBy?: string | undefined;
|
|
5218
5224
|
createdAt?: string | undefined;
|
|
5219
5225
|
updatedAt?: string | undefined;
|
|
5220
5226
|
location?: string | undefined;
|
|
5221
5227
|
ticketsStepDescription?: string | undefined;
|
|
5222
5228
|
participantStepDescription?: string | undefined;
|
|
5229
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5223
5230
|
donationsDisabled?: boolean | undefined;
|
|
5224
5231
|
image?: {
|
|
5225
5232
|
url: string;
|
|
@@ -5245,13 +5252,13 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
5245
5252
|
};
|
|
5246
5253
|
tickets: string[];
|
|
5247
5254
|
canRegister: boolean;
|
|
5248
|
-
isYouth: boolean;
|
|
5249
5255
|
editedBy?: string | undefined;
|
|
5250
5256
|
createdAt?: string | undefined;
|
|
5251
5257
|
updatedAt?: string | undefined;
|
|
5252
5258
|
location?: string | undefined;
|
|
5253
5259
|
ticketsStepDescription?: string | undefined;
|
|
5254
5260
|
participantStepDescription?: string | undefined;
|
|
5261
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5255
5262
|
donationsDisabled?: boolean | undefined;
|
|
5256
5263
|
image?: {
|
|
5257
5264
|
url: string;
|
|
@@ -5291,7 +5298,7 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5291
5298
|
ticketsStepDescription: z.ZodOptional<z.ZodString>;
|
|
5292
5299
|
participantStepDescription: z.ZodOptional<z.ZodString>;
|
|
5293
5300
|
canRegister: z.ZodBoolean;
|
|
5294
|
-
|
|
5301
|
+
youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
|
|
5295
5302
|
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
5296
5303
|
image: z.ZodOptional<z.ZodObject<{
|
|
5297
5304
|
url: z.ZodString;
|
|
@@ -5376,13 +5383,13 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5376
5383
|
maxPerOrder?: number | undefined;
|
|
5377
5384
|
}[];
|
|
5378
5385
|
canRegister: boolean;
|
|
5379
|
-
isYouth: boolean;
|
|
5380
5386
|
editedBy?: string | undefined;
|
|
5381
5387
|
createdAt?: string | undefined;
|
|
5382
5388
|
updatedAt?: string | undefined;
|
|
5383
5389
|
location?: string | undefined;
|
|
5384
5390
|
ticketsStepDescription?: string | undefined;
|
|
5385
5391
|
participantStepDescription?: string | undefined;
|
|
5392
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5386
5393
|
donationsDisabled?: boolean | undefined;
|
|
5387
5394
|
image?: {
|
|
5388
5395
|
url: string;
|
|
@@ -5419,13 +5426,13 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
5419
5426
|
maxPerOrder?: number | undefined;
|
|
5420
5427
|
}[];
|
|
5421
5428
|
canRegister: boolean;
|
|
5422
|
-
isYouth: boolean;
|
|
5423
5429
|
editedBy?: string | undefined;
|
|
5424
5430
|
createdAt?: string | undefined;
|
|
5425
5431
|
updatedAt?: string | undefined;
|
|
5426
5432
|
location?: string | undefined;
|
|
5427
5433
|
ticketsStepDescription?: string | undefined;
|
|
5428
5434
|
participantStepDescription?: string | undefined;
|
|
5435
|
+
youthOrAdult?: YouthOrAdult | undefined;
|
|
5429
5436
|
donationsDisabled?: boolean | undefined;
|
|
5430
5437
|
image?: {
|
|
5431
5438
|
url: string;
|
|
@@ -6715,4 +6722,4 @@ type ChangePasswordRequest = z.infer<typeof zChangePasswordRequest>;
|
|
|
6715
6722
|
type LoginRequest = z.infer<typeof zLoginRequest>;
|
|
6716
6723
|
type LoginResponse = z.infer<typeof zLoginResponse>;
|
|
6717
6724
|
|
|
6718
|
-
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, FeesInCents, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type PublicEventConfigResponse, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
|
6725
|
+
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, FeesInCents, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type PublicEventConfigResponse, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, YouthOrAdult, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
package/index.js
CHANGED
|
@@ -34,6 +34,7 @@ __export(index_exports, {
|
|
|
34
34
|
Role: () => Role,
|
|
35
35
|
Season: () => Season,
|
|
36
36
|
TicketStatus: () => TicketStatus,
|
|
37
|
+
YouthOrAdult: () => YouthOrAdult,
|
|
37
38
|
zAttendance: () => zAttendance,
|
|
38
39
|
zAttendanceRequest: () => zAttendanceRequest,
|
|
39
40
|
zAttendanceResponse: () => zAttendanceResponse,
|
|
@@ -809,6 +810,13 @@ var zScheduleTable = import_zod28.z.object({
|
|
|
809
810
|
data: import_zod28.z.record(import_zod28.z.string(), zTable)
|
|
810
811
|
});
|
|
811
812
|
|
|
813
|
+
// src/interface/event/youthOrAdult.ts
|
|
814
|
+
var YouthOrAdult = /* @__PURE__ */ ((YouthOrAdult2) => {
|
|
815
|
+
YouthOrAdult2["YOUTH_ONLY"] = "youth_only";
|
|
816
|
+
YouthOrAdult2["BOTH"] = "both";
|
|
817
|
+
return YouthOrAdult2;
|
|
818
|
+
})(YouthOrAdult || {});
|
|
819
|
+
|
|
812
820
|
// src/interface/event/eConfig.ts
|
|
813
821
|
var zBEventConfig = import_zod29.z.object({
|
|
814
822
|
/**
|
|
@@ -873,10 +881,11 @@ var zBEventConfig = import_zod29.z.object({
|
|
|
873
881
|
*/
|
|
874
882
|
canRegister: import_zod29.z.boolean(),
|
|
875
883
|
/**
|
|
876
|
-
*
|
|
877
|
-
*
|
|
884
|
+
* Defines the registration of youth and adults in the event
|
|
885
|
+
* youth_only - only youth
|
|
886
|
+
* both - both youth and adult
|
|
878
887
|
*/
|
|
879
|
-
|
|
888
|
+
youthOrAdult: import_zod29.z.nativeEnum(YouthOrAdult).optional(),
|
|
880
889
|
/**
|
|
881
890
|
* If true, free form donation amounts are disabled.
|
|
882
891
|
*/
|
|
@@ -941,6 +950,7 @@ var zEventRegResponse = zEventReg.extend({
|
|
|
941
950
|
Role,
|
|
942
951
|
Season,
|
|
943
952
|
TicketStatus,
|
|
953
|
+
YouthOrAdult,
|
|
944
954
|
zAttendance,
|
|
945
955
|
zAttendanceRequest,
|
|
946
956
|
zAttendanceResponse,
|
package/index.mjs
CHANGED
|
@@ -701,6 +701,13 @@ var zScheduleTable = z28.object({
|
|
|
701
701
|
data: z28.record(z28.string(), zTable)
|
|
702
702
|
});
|
|
703
703
|
|
|
704
|
+
// src/interface/event/youthOrAdult.ts
|
|
705
|
+
var YouthOrAdult = /* @__PURE__ */ ((YouthOrAdult2) => {
|
|
706
|
+
YouthOrAdult2["YOUTH_ONLY"] = "youth_only";
|
|
707
|
+
YouthOrAdult2["BOTH"] = "both";
|
|
708
|
+
return YouthOrAdult2;
|
|
709
|
+
})(YouthOrAdult || {});
|
|
710
|
+
|
|
704
711
|
// src/interface/event/eConfig.ts
|
|
705
712
|
var zBEventConfig = z29.object({
|
|
706
713
|
/**
|
|
@@ -765,10 +772,11 @@ var zBEventConfig = z29.object({
|
|
|
765
772
|
*/
|
|
766
773
|
canRegister: z29.boolean(),
|
|
767
774
|
/**
|
|
768
|
-
*
|
|
769
|
-
*
|
|
775
|
+
* Defines the registration of youth and adults in the event
|
|
776
|
+
* youth_only - only youth
|
|
777
|
+
* both - both youth and adult
|
|
770
778
|
*/
|
|
771
|
-
|
|
779
|
+
youthOrAdult: z29.nativeEnum(YouthOrAdult).optional(),
|
|
772
780
|
/**
|
|
773
781
|
* If true, free form donation amounts are disabled.
|
|
774
782
|
*/
|
|
@@ -832,6 +840,7 @@ export {
|
|
|
832
840
|
Role,
|
|
833
841
|
Season,
|
|
834
842
|
TicketStatus,
|
|
843
|
+
YouthOrAdult,
|
|
835
844
|
zAttendance,
|
|
836
845
|
zAttendanceRequest,
|
|
837
846
|
zAttendanceResponse,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyig/models",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"zod": ">=3.25.46"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@changesets/cli": "^2.29.
|
|
12
|
+
"@changesets/cli": "^2.29.7",
|
|
13
13
|
"husky": "^9.1.7",
|
|
14
|
-
"lint-staged": "^16.
|
|
14
|
+
"lint-staged": "^16.2.6",
|
|
15
15
|
"prettier": "^3.6.2",
|
|
16
|
-
"tsup": "^8.5.
|
|
17
|
-
"typescript": "^5.9.
|
|
16
|
+
"tsup": "^8.5.1",
|
|
17
|
+
"typescript": "^5.9.3"
|
|
18
18
|
},
|
|
19
19
|
"lint-staged": {
|
|
20
20
|
"*.{js,ts,md}": "prettier --write"
|