@nyig/models 0.3.15 → 0.4.1
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 +38 -1
- package/index.d.ts +38 -1
- package/index.js +9 -1
- package/index.mjs +7 -1
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -1929,6 +1929,7 @@ declare enum DayOfWeek {
|
|
|
1929
1929
|
FRIDAY = 5,
|
|
1930
1930
|
SATURDAY = 6
|
|
1931
1931
|
}
|
|
1932
|
+
declare const zDayOfWeek: z.ZodNativeEnum<typeof DayOfWeek>;
|
|
1932
1933
|
|
|
1933
1934
|
declare const zClassTimesInput: z.ZodObject<{
|
|
1934
1935
|
startDate: z.ZodDate;
|
|
@@ -2458,12 +2459,18 @@ declare const zBGroupTracker: z.ZodObject<{
|
|
|
2458
2459
|
scheduleData: z.ZodObject<{
|
|
2459
2460
|
startTime: z.ZodString;
|
|
2460
2461
|
dayOfWeek: z.ZodNumber;
|
|
2462
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
2463
|
+
numberOfclasses: z.ZodOptional<z.ZodNumber>;
|
|
2461
2464
|
}, "strip", z.ZodTypeAny, {
|
|
2462
2465
|
startTime: string;
|
|
2463
2466
|
dayOfWeek: number;
|
|
2467
|
+
startDate?: string | undefined;
|
|
2468
|
+
numberOfclasses?: number | undefined;
|
|
2464
2469
|
}, {
|
|
2465
2470
|
startTime: string;
|
|
2466
2471
|
dayOfWeek: number;
|
|
2472
|
+
startDate?: string | undefined;
|
|
2473
|
+
numberOfclasses?: number | undefined;
|
|
2467
2474
|
}>;
|
|
2468
2475
|
/**
|
|
2469
2476
|
* occurrences are tracked by week for Groups
|
|
@@ -2559,6 +2566,8 @@ declare const zBGroupTracker: z.ZodObject<{
|
|
|
2559
2566
|
scheduleData: {
|
|
2560
2567
|
startTime: string;
|
|
2561
2568
|
dayOfWeek: number;
|
|
2569
|
+
startDate?: string | undefined;
|
|
2570
|
+
numberOfclasses?: number | undefined;
|
|
2562
2571
|
};
|
|
2563
2572
|
courseId?: string | undefined;
|
|
2564
2573
|
ageGroup?: AgeGroup | undefined;
|
|
@@ -2587,6 +2596,8 @@ declare const zBGroupTracker: z.ZodObject<{
|
|
|
2587
2596
|
scheduleData: {
|
|
2588
2597
|
startTime: string;
|
|
2589
2598
|
dayOfWeek: number;
|
|
2599
|
+
startDate?: string | undefined;
|
|
2600
|
+
numberOfclasses?: number | undefined;
|
|
2590
2601
|
};
|
|
2591
2602
|
courseId?: string | undefined;
|
|
2592
2603
|
ageGroup?: AgeGroup | undefined;
|
|
@@ -2654,12 +2665,18 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
2654
2665
|
scheduleData: z.ZodObject<{
|
|
2655
2666
|
startTime: z.ZodString;
|
|
2656
2667
|
dayOfWeek: z.ZodNumber;
|
|
2668
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
2669
|
+
numberOfclasses: z.ZodOptional<z.ZodNumber>;
|
|
2657
2670
|
}, "strip", z.ZodTypeAny, {
|
|
2658
2671
|
startTime: string;
|
|
2659
2672
|
dayOfWeek: number;
|
|
2673
|
+
startDate?: string | undefined;
|
|
2674
|
+
numberOfclasses?: number | undefined;
|
|
2660
2675
|
}, {
|
|
2661
2676
|
startTime: string;
|
|
2662
2677
|
dayOfWeek: number;
|
|
2678
|
+
startDate?: string | undefined;
|
|
2679
|
+
numberOfclasses?: number | undefined;
|
|
2663
2680
|
}>;
|
|
2664
2681
|
courseId: z.ZodOptional<z.ZodString>;
|
|
2665
2682
|
ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
|
|
@@ -2691,6 +2708,8 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
2691
2708
|
scheduleData: {
|
|
2692
2709
|
startTime: string;
|
|
2693
2710
|
dayOfWeek: number;
|
|
2711
|
+
startDate?: string | undefined;
|
|
2712
|
+
numberOfclasses?: number | undefined;
|
|
2694
2713
|
};
|
|
2695
2714
|
notes?: string | undefined;
|
|
2696
2715
|
isNonPublic?: boolean | undefined;
|
|
@@ -2723,6 +2742,8 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
2723
2742
|
scheduleData: {
|
|
2724
2743
|
startTime: string;
|
|
2725
2744
|
dayOfWeek: number;
|
|
2745
|
+
startDate?: string | undefined;
|
|
2746
|
+
numberOfclasses?: number | undefined;
|
|
2726
2747
|
};
|
|
2727
2748
|
notes?: string | undefined;
|
|
2728
2749
|
isNonPublic?: boolean | undefined;
|
|
@@ -2743,12 +2764,18 @@ declare const zGroupTrackerResponse: z.ZodObject<{
|
|
|
2743
2764
|
scheduleData: z.ZodObject<{
|
|
2744
2765
|
startTime: z.ZodString;
|
|
2745
2766
|
dayOfWeek: z.ZodNumber;
|
|
2767
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
2768
|
+
numberOfclasses: z.ZodOptional<z.ZodNumber>;
|
|
2746
2769
|
}, "strip", z.ZodTypeAny, {
|
|
2747
2770
|
startTime: string;
|
|
2748
2771
|
dayOfWeek: number;
|
|
2772
|
+
startDate?: string | undefined;
|
|
2773
|
+
numberOfclasses?: number | undefined;
|
|
2749
2774
|
}, {
|
|
2750
2775
|
startTime: string;
|
|
2751
2776
|
dayOfWeek: number;
|
|
2777
|
+
startDate?: string | undefined;
|
|
2778
|
+
numberOfclasses?: number | undefined;
|
|
2752
2779
|
}>;
|
|
2753
2780
|
courseId: z.ZodOptional<z.ZodString>;
|
|
2754
2781
|
ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
|
|
@@ -3172,6 +3199,8 @@ declare const zGroupTrackerResponse: z.ZodObject<{
|
|
|
3172
3199
|
scheduleData: {
|
|
3173
3200
|
startTime: string;
|
|
3174
3201
|
dayOfWeek: number;
|
|
3202
|
+
startDate?: string | undefined;
|
|
3203
|
+
numberOfclasses?: number | undefined;
|
|
3175
3204
|
};
|
|
3176
3205
|
notes?: string | undefined;
|
|
3177
3206
|
editedBy?: string | undefined;
|
|
@@ -3275,6 +3304,8 @@ declare const zGroupTrackerResponse: z.ZodObject<{
|
|
|
3275
3304
|
scheduleData: {
|
|
3276
3305
|
startTime: string;
|
|
3277
3306
|
dayOfWeek: number;
|
|
3307
|
+
startDate?: string | undefined;
|
|
3308
|
+
numberOfclasses?: number | undefined;
|
|
3278
3309
|
};
|
|
3279
3310
|
notes?: string | undefined;
|
|
3280
3311
|
editedBy?: string | undefined;
|
|
@@ -3291,12 +3322,18 @@ type GroupTrackerResponse = z.infer<typeof zGroupTrackerResponse>;
|
|
|
3291
3322
|
declare const zScheduleData: z.ZodObject<{
|
|
3292
3323
|
startTime: z.ZodString;
|
|
3293
3324
|
dayOfWeek: z.ZodNumber;
|
|
3325
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
3326
|
+
numberOfclasses: z.ZodOptional<z.ZodNumber>;
|
|
3294
3327
|
}, "strip", z.ZodTypeAny, {
|
|
3295
3328
|
startTime: string;
|
|
3296
3329
|
dayOfWeek: number;
|
|
3330
|
+
startDate?: string | undefined;
|
|
3331
|
+
numberOfclasses?: number | undefined;
|
|
3297
3332
|
}, {
|
|
3298
3333
|
startTime: string;
|
|
3299
3334
|
dayOfWeek: number;
|
|
3335
|
+
startDate?: string | undefined;
|
|
3336
|
+
numberOfclasses?: number | undefined;
|
|
3300
3337
|
}>;
|
|
3301
3338
|
type ScheduleData = z.infer<typeof zScheduleData>;
|
|
3302
3339
|
|
|
@@ -6123,4 +6160,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
6123
6160
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
6124
6161
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
6125
6162
|
|
|
6126
|
-
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, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, 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 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, 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 };
|
|
6163
|
+
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, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, 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 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 };
|
package/index.d.ts
CHANGED
|
@@ -1929,6 +1929,7 @@ declare enum DayOfWeek {
|
|
|
1929
1929
|
FRIDAY = 5,
|
|
1930
1930
|
SATURDAY = 6
|
|
1931
1931
|
}
|
|
1932
|
+
declare const zDayOfWeek: z.ZodNativeEnum<typeof DayOfWeek>;
|
|
1932
1933
|
|
|
1933
1934
|
declare const zClassTimesInput: z.ZodObject<{
|
|
1934
1935
|
startDate: z.ZodDate;
|
|
@@ -2458,12 +2459,18 @@ declare const zBGroupTracker: z.ZodObject<{
|
|
|
2458
2459
|
scheduleData: z.ZodObject<{
|
|
2459
2460
|
startTime: z.ZodString;
|
|
2460
2461
|
dayOfWeek: z.ZodNumber;
|
|
2462
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
2463
|
+
numberOfclasses: z.ZodOptional<z.ZodNumber>;
|
|
2461
2464
|
}, "strip", z.ZodTypeAny, {
|
|
2462
2465
|
startTime: string;
|
|
2463
2466
|
dayOfWeek: number;
|
|
2467
|
+
startDate?: string | undefined;
|
|
2468
|
+
numberOfclasses?: number | undefined;
|
|
2464
2469
|
}, {
|
|
2465
2470
|
startTime: string;
|
|
2466
2471
|
dayOfWeek: number;
|
|
2472
|
+
startDate?: string | undefined;
|
|
2473
|
+
numberOfclasses?: number | undefined;
|
|
2467
2474
|
}>;
|
|
2468
2475
|
/**
|
|
2469
2476
|
* occurrences are tracked by week for Groups
|
|
@@ -2559,6 +2566,8 @@ declare const zBGroupTracker: z.ZodObject<{
|
|
|
2559
2566
|
scheduleData: {
|
|
2560
2567
|
startTime: string;
|
|
2561
2568
|
dayOfWeek: number;
|
|
2569
|
+
startDate?: string | undefined;
|
|
2570
|
+
numberOfclasses?: number | undefined;
|
|
2562
2571
|
};
|
|
2563
2572
|
courseId?: string | undefined;
|
|
2564
2573
|
ageGroup?: AgeGroup | undefined;
|
|
@@ -2587,6 +2596,8 @@ declare const zBGroupTracker: z.ZodObject<{
|
|
|
2587
2596
|
scheduleData: {
|
|
2588
2597
|
startTime: string;
|
|
2589
2598
|
dayOfWeek: number;
|
|
2599
|
+
startDate?: string | undefined;
|
|
2600
|
+
numberOfclasses?: number | undefined;
|
|
2590
2601
|
};
|
|
2591
2602
|
courseId?: string | undefined;
|
|
2592
2603
|
ageGroup?: AgeGroup | undefined;
|
|
@@ -2654,12 +2665,18 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
2654
2665
|
scheduleData: z.ZodObject<{
|
|
2655
2666
|
startTime: z.ZodString;
|
|
2656
2667
|
dayOfWeek: z.ZodNumber;
|
|
2668
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
2669
|
+
numberOfclasses: z.ZodOptional<z.ZodNumber>;
|
|
2657
2670
|
}, "strip", z.ZodTypeAny, {
|
|
2658
2671
|
startTime: string;
|
|
2659
2672
|
dayOfWeek: number;
|
|
2673
|
+
startDate?: string | undefined;
|
|
2674
|
+
numberOfclasses?: number | undefined;
|
|
2660
2675
|
}, {
|
|
2661
2676
|
startTime: string;
|
|
2662
2677
|
dayOfWeek: number;
|
|
2678
|
+
startDate?: string | undefined;
|
|
2679
|
+
numberOfclasses?: number | undefined;
|
|
2663
2680
|
}>;
|
|
2664
2681
|
courseId: z.ZodOptional<z.ZodString>;
|
|
2665
2682
|
ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
|
|
@@ -2691,6 +2708,8 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
2691
2708
|
scheduleData: {
|
|
2692
2709
|
startTime: string;
|
|
2693
2710
|
dayOfWeek: number;
|
|
2711
|
+
startDate?: string | undefined;
|
|
2712
|
+
numberOfclasses?: number | undefined;
|
|
2694
2713
|
};
|
|
2695
2714
|
notes?: string | undefined;
|
|
2696
2715
|
isNonPublic?: boolean | undefined;
|
|
@@ -2723,6 +2742,8 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
2723
2742
|
scheduleData: {
|
|
2724
2743
|
startTime: string;
|
|
2725
2744
|
dayOfWeek: number;
|
|
2745
|
+
startDate?: string | undefined;
|
|
2746
|
+
numberOfclasses?: number | undefined;
|
|
2726
2747
|
};
|
|
2727
2748
|
notes?: string | undefined;
|
|
2728
2749
|
isNonPublic?: boolean | undefined;
|
|
@@ -2743,12 +2764,18 @@ declare const zGroupTrackerResponse: z.ZodObject<{
|
|
|
2743
2764
|
scheduleData: z.ZodObject<{
|
|
2744
2765
|
startTime: z.ZodString;
|
|
2745
2766
|
dayOfWeek: z.ZodNumber;
|
|
2767
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
2768
|
+
numberOfclasses: z.ZodOptional<z.ZodNumber>;
|
|
2746
2769
|
}, "strip", z.ZodTypeAny, {
|
|
2747
2770
|
startTime: string;
|
|
2748
2771
|
dayOfWeek: number;
|
|
2772
|
+
startDate?: string | undefined;
|
|
2773
|
+
numberOfclasses?: number | undefined;
|
|
2749
2774
|
}, {
|
|
2750
2775
|
startTime: string;
|
|
2751
2776
|
dayOfWeek: number;
|
|
2777
|
+
startDate?: string | undefined;
|
|
2778
|
+
numberOfclasses?: number | undefined;
|
|
2752
2779
|
}>;
|
|
2753
2780
|
courseId: z.ZodOptional<z.ZodString>;
|
|
2754
2781
|
ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
|
|
@@ -3172,6 +3199,8 @@ declare const zGroupTrackerResponse: z.ZodObject<{
|
|
|
3172
3199
|
scheduleData: {
|
|
3173
3200
|
startTime: string;
|
|
3174
3201
|
dayOfWeek: number;
|
|
3202
|
+
startDate?: string | undefined;
|
|
3203
|
+
numberOfclasses?: number | undefined;
|
|
3175
3204
|
};
|
|
3176
3205
|
notes?: string | undefined;
|
|
3177
3206
|
editedBy?: string | undefined;
|
|
@@ -3275,6 +3304,8 @@ declare const zGroupTrackerResponse: z.ZodObject<{
|
|
|
3275
3304
|
scheduleData: {
|
|
3276
3305
|
startTime: string;
|
|
3277
3306
|
dayOfWeek: number;
|
|
3307
|
+
startDate?: string | undefined;
|
|
3308
|
+
numberOfclasses?: number | undefined;
|
|
3278
3309
|
};
|
|
3279
3310
|
notes?: string | undefined;
|
|
3280
3311
|
editedBy?: string | undefined;
|
|
@@ -3291,12 +3322,18 @@ type GroupTrackerResponse = z.infer<typeof zGroupTrackerResponse>;
|
|
|
3291
3322
|
declare const zScheduleData: z.ZodObject<{
|
|
3292
3323
|
startTime: z.ZodString;
|
|
3293
3324
|
dayOfWeek: z.ZodNumber;
|
|
3325
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
3326
|
+
numberOfclasses: z.ZodOptional<z.ZodNumber>;
|
|
3294
3327
|
}, "strip", z.ZodTypeAny, {
|
|
3295
3328
|
startTime: string;
|
|
3296
3329
|
dayOfWeek: number;
|
|
3330
|
+
startDate?: string | undefined;
|
|
3331
|
+
numberOfclasses?: number | undefined;
|
|
3297
3332
|
}, {
|
|
3298
3333
|
startTime: string;
|
|
3299
3334
|
dayOfWeek: number;
|
|
3335
|
+
startDate?: string | undefined;
|
|
3336
|
+
numberOfclasses?: number | undefined;
|
|
3300
3337
|
}>;
|
|
3301
3338
|
type ScheduleData = z.infer<typeof zScheduleData>;
|
|
3302
3339
|
|
|
@@ -6123,4 +6160,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
6123
6160
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
6124
6161
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
6125
6162
|
|
|
6126
|
-
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, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, 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 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, 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 };
|
|
6163
|
+
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, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, 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 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 };
|
package/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __export(src_exports, {
|
|
|
25
25
|
BookingType: () => BookingType,
|
|
26
26
|
CampOption: () => CampOption,
|
|
27
27
|
CourseCategory: () => CourseCategory,
|
|
28
|
+
DayOfWeek: () => DayOfWeek,
|
|
28
29
|
GoRank: () => GoRank,
|
|
29
30
|
NYIGSchool: () => NYIGSchool,
|
|
30
31
|
PaymentMethod: () => PaymentMethod,
|
|
@@ -63,6 +64,7 @@ __export(src_exports, {
|
|
|
63
64
|
zCourse: () => zCourse,
|
|
64
65
|
zCourseTable: () => zCourseTable,
|
|
65
66
|
zCreateAdminAccountRequest: () => zCreateAdminAccountRequest,
|
|
67
|
+
zDayOfWeek: () => zDayOfWeek,
|
|
66
68
|
zDetailsTable: () => zDetailsTable,
|
|
67
69
|
zDiscount: () => zDiscount,
|
|
68
70
|
zEventConfig: () => zEventConfig,
|
|
@@ -531,8 +533,12 @@ var import_zod17 = require("zod");
|
|
|
531
533
|
var zScheduleData = import_zod17.z.object({
|
|
532
534
|
startTime: import_zod17.z.string(),
|
|
533
535
|
// String in 24 hour "HH:mm" format
|
|
534
|
-
dayOfWeek: import_zod17.z.number().int().min(0).max(6)
|
|
536
|
+
dayOfWeek: import_zod17.z.number().int().min(0).max(6),
|
|
535
537
|
// integeters in 0 - 6
|
|
538
|
+
startDate: import_zod17.z.string().optional(),
|
|
539
|
+
// Date in YYYYMMdd format, optional for backwards compatibility
|
|
540
|
+
numberOfclasses: import_zod17.z.number().int().min(0).optional()
|
|
541
|
+
// optional for backwards compatibility
|
|
536
542
|
});
|
|
537
543
|
|
|
538
544
|
// src/interface/tracking/groupTracker.ts
|
|
@@ -865,6 +871,7 @@ var zEventRegResponse = zEventReg.extend({
|
|
|
865
871
|
BookingType,
|
|
866
872
|
CampOption,
|
|
867
873
|
CourseCategory,
|
|
874
|
+
DayOfWeek,
|
|
868
875
|
GoRank,
|
|
869
876
|
NYIGSchool,
|
|
870
877
|
PaymentMethod,
|
|
@@ -903,6 +910,7 @@ var zEventRegResponse = zEventReg.extend({
|
|
|
903
910
|
zCourse,
|
|
904
911
|
zCourseTable,
|
|
905
912
|
zCreateAdminAccountRequest,
|
|
913
|
+
zDayOfWeek,
|
|
906
914
|
zDetailsTable,
|
|
907
915
|
zDiscount,
|
|
908
916
|
zEventConfig,
|
package/index.mjs
CHANGED
|
@@ -427,8 +427,12 @@ import { z as z17 } from "zod";
|
|
|
427
427
|
var zScheduleData = z17.object({
|
|
428
428
|
startTime: z17.string(),
|
|
429
429
|
// String in 24 hour "HH:mm" format
|
|
430
|
-
dayOfWeek: z17.number().int().min(0).max(6)
|
|
430
|
+
dayOfWeek: z17.number().int().min(0).max(6),
|
|
431
431
|
// integeters in 0 - 6
|
|
432
|
+
startDate: z17.string().optional(),
|
|
433
|
+
// Date in YYYYMMdd format, optional for backwards compatibility
|
|
434
|
+
numberOfclasses: z17.number().int().min(0).optional()
|
|
435
|
+
// optional for backwards compatibility
|
|
432
436
|
});
|
|
433
437
|
|
|
434
438
|
// src/interface/tracking/groupTracker.ts
|
|
@@ -760,6 +764,7 @@ export {
|
|
|
760
764
|
BookingType,
|
|
761
765
|
CampOption,
|
|
762
766
|
CourseCategory,
|
|
767
|
+
DayOfWeek,
|
|
763
768
|
GoRank,
|
|
764
769
|
NYIGSchool,
|
|
765
770
|
PaymentMethod,
|
|
@@ -798,6 +803,7 @@ export {
|
|
|
798
803
|
zCourse,
|
|
799
804
|
zCourseTable,
|
|
800
805
|
zCreateAdminAccountRequest,
|
|
806
|
+
zDayOfWeek,
|
|
801
807
|
zDetailsTable,
|
|
802
808
|
zDiscount,
|
|
803
809
|
zEventConfig,
|