@nyig/models 0.3.14 → 0.3.15

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.
Files changed (5) hide show
  1. package/index.d.mts +812 -84
  2. package/index.d.ts +812 -84
  3. package/index.js +208 -171
  4. package/index.mjs +206 -171
  5. package/package.json +1 -1
package/index.js CHANGED
@@ -74,6 +74,7 @@ __export(src_exports, {
74
74
  zEventTicketRegResponse: () => zEventTicketRegResponse,
75
75
  zGroupBooking: () => zGroupBooking,
76
76
  zGroupTracker: () => zGroupTracker,
77
+ zGroupTrackerResponse: () => zGroupTrackerResponse,
77
78
  zImageDef: () => zImageDef,
78
79
  zInvoice: () => zInvoice,
79
80
  zInvoiceItem: () => zInvoiceItem,
@@ -94,6 +95,7 @@ __export(src_exports, {
94
95
  zTeacherPayment: () => zTeacherPayment,
95
96
  zTeacherPaymentResponse: () => zTeacherPaymentResponse,
96
97
  zTeacherPaymentRow: () => zTeacherPaymentRow,
98
+ zTrackerCreate: () => zTrackerCreate,
97
99
  zTuition: () => zTuition,
98
100
  zUser: () => zUser,
99
101
  zUserRoles: () => zUserRoles
@@ -355,32 +357,6 @@ var zAttendanceResponse = zAttendance.extend({
355
357
  // src/interface/tracking/campTracker.ts
356
358
  var import_zod13 = require("zod");
357
359
 
358
- // src/interface/semester/season.ts
359
- var Season = /* @__PURE__ */ ((Season2) => {
360
- Season2["FALL"] = "fall";
361
- Season2["SPRING"] = "spring";
362
- Season2["SUMMER"] = "summer";
363
- return Season2;
364
- })(Season || {});
365
-
366
- // src/interface/semester/semester.ts
367
- var import_zod11 = require("zod");
368
- var zBSemester = import_zod11.z.object({
369
- season: import_zod11.z.nativeEnum(Season),
370
- year: import_zod11.z.number().min(2022).max(2999),
371
- startDate: import_zod11.z.coerce.date(),
372
- endDate: import_zod11.z.coerce.date(),
373
- /**
374
- * Format: start, end, start, end, ...
375
- */
376
- blackoutDates: import_zod11.z.array(import_zod11.z.coerce.date()),
377
- /**
378
- * List of names of some break: date range
379
- */
380
- importantDates: import_zod11.z.array(import_zod11.z.string())
381
- });
382
- var zSemester = addAutoProps(zBSemester);
383
-
384
360
  // src/interface/course/ageGroup.ts
385
361
  var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
386
362
  AgeGroup2["ADULT"] = "Adult";
@@ -407,39 +383,65 @@ var NYIGSchool = /* @__PURE__ */ ((NYIGSchool2) => {
407
383
  })(NYIGSchool || {});
408
384
 
409
385
  // src/interface/course/course.ts
410
- var import_zod12 = require("zod");
411
- var zBCourse = import_zod12.z.object({
412
- name: import_zod12.z.string(),
413
- category: import_zod12.z.nativeEnum(CourseCategory),
386
+ var import_zod11 = require("zod");
387
+ var zBCourse = import_zod11.z.object({
388
+ name: import_zod11.z.string(),
389
+ category: import_zod11.z.nativeEnum(CourseCategory),
414
390
  /**
415
391
  * @unit SECONDS - Duration of the course in seconds
416
392
  */
417
- duration: import_zod12.z.coerce.number().int("Duration in seconds must be a whole number").min(1, "Duration in seconds must not be less than or equal to 0"),
393
+ duration: import_zod11.z.coerce.number().int("Duration in seconds must be a whole number").min(1, "Duration in seconds must not be less than or equal to 0"),
418
394
  /**
419
395
  * @unit CENTS - Price of the course in cents
420
396
  */
421
- price: import_zod12.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0"),
422
- description: import_zod12.z.string().or(import_zod12.z.literal("")).optional(),
397
+ price: import_zod11.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0"),
398
+ description: import_zod11.z.string().or(import_zod11.z.literal("")).optional(),
423
399
  /**
424
400
  * NYIG School locations
425
401
  */
426
- nyigSchool: import_zod12.z.nativeEnum(NYIGSchool),
402
+ nyigSchool: import_zod11.z.nativeEnum(NYIGSchool),
427
403
  /**
428
404
  * Recommended level before taking this course
429
405
  */
430
- recLevel: import_zod12.z.string().or(import_zod12.z.literal("")).optional(),
406
+ recLevel: import_zod11.z.string().or(import_zod11.z.literal("")).optional(),
431
407
  /**
432
408
  * Camp tuition for half-day option
433
409
  */
434
- halfCampTuition: import_zod12.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
410
+ halfCampTuition: import_zod11.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
435
411
  /**
436
412
  * Camp tuition for full-day option
437
413
  */
438
- fullCampTuition: import_zod12.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
439
- superadminOnly: import_zod12.z.boolean().optional()
414
+ fullCampTuition: import_zod11.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
415
+ superadminOnly: import_zod11.z.boolean().optional()
440
416
  });
441
417
  var zCourse = addAutoProps(zBCourse);
442
418
 
419
+ // src/interface/semester/season.ts
420
+ var Season = /* @__PURE__ */ ((Season2) => {
421
+ Season2["FALL"] = "fall";
422
+ Season2["SPRING"] = "spring";
423
+ Season2["SUMMER"] = "summer";
424
+ return Season2;
425
+ })(Season || {});
426
+
427
+ // src/interface/semester/semester.ts
428
+ var import_zod12 = require("zod");
429
+ var zBSemester = import_zod12.z.object({
430
+ season: import_zod12.z.nativeEnum(Season),
431
+ year: import_zod12.z.number().min(2022).max(2999),
432
+ startDate: import_zod12.z.coerce.date(),
433
+ endDate: import_zod12.z.coerce.date(),
434
+ /**
435
+ * Format: start, end, start, end, ...
436
+ */
437
+ blackoutDates: import_zod12.z.array(import_zod12.z.coerce.date()),
438
+ /**
439
+ * List of names of some break: date range
440
+ */
441
+ importantDates: import_zod12.z.array(import_zod12.z.string())
442
+ });
443
+ var zSemester = addAutoProps(zBSemester);
444
+
443
445
  // src/interface/tracking/campTracker.ts
444
446
  var zBCampTracker = import_zod13.z.object({
445
447
  course: import_zod13.z.string(),
@@ -468,70 +470,29 @@ var zCampTrackerResponse = zCampTracker.extend({
468
470
  // src/interface/tracking/classTracker.ts
469
471
  var import_zod16 = require("zod");
470
472
 
471
- // src/interface/payment/invoice.ts
472
- var import_zod14 = require("zod");
473
-
474
- // src/interface/payment/paymentMethod.ts
475
- var PaymentMethod = /* @__PURE__ */ ((PaymentMethod2) => {
476
- PaymentMethod2["CASH"] = "Cash";
477
- PaymentMethod2["CHECK"] = "Check";
478
- PaymentMethod2["VENMO"] = "Venmo";
479
- PaymentMethod2["ZELLE"] = "Zelle Transfer";
480
- return PaymentMethod2;
481
- })(PaymentMethod || {});
482
-
483
- // src/interface/payment/invoice.ts
484
- var zDiscount = import_zod14.z.object({
485
- desc: import_zod14.z.string().min(1, "Discount description cannot be empty"),
486
- amount: import_zod14.z.coerce.number()
487
- });
488
- var zInvoiceItem = import_zod14.z.object({
489
- course: import_zod14.z.string().min(1, "Course description cannot be empty"),
490
- price: import_zod14.z.coerce.number(),
491
- units: import_zod14.z.coerce.number()
492
- });
493
- var zInvoicePackage = import_zod14.z.object({
494
- student: import_zod14.z.string(),
495
- items: import_zod14.z.array(zInvoiceItem).min(1, "Package must contain at least one item")
496
- });
497
- var zInvoicePackageResponse = zInvoicePackage.extend({
498
- student: zStudent
499
- });
500
- var zBInvoice = import_zod14.z.object({
501
- billTo: import_zod14.z.string().min(1, "The 'Bill To' field must not be empty"),
502
- packages: import_zod14.z.array(zInvoicePackage).min(1, "Invoice must include at least one package"),
503
- discounts: import_zod14.z.array(zDiscount),
504
- textbook: import_zod14.z.coerce.number().int().min(0).optional(),
505
- shipping: import_zod14.z.coerce.number().int().min(0).optional(),
506
- paid: import_zod14.z.nativeEnum(PaymentMethod).optional(),
507
- showEin: import_zod14.z.boolean().optional(),
508
- notes: import_zod14.z.string().or(import_zod14.z.literal("")).optional(),
509
- createdBy: import_zod14.z.string(),
510
- lastEditBy: import_zod14.z.string().optional()
511
- });
512
- var zInvoice = addAutoProps(zBInvoice);
513
- var zInvoiceResponse = zInvoice.extend({
514
- createdBy: zTeacher,
515
- lastEditBy: zTeacher.optional(),
516
- packages: import_zod14.z.array(zInvoicePackageResponse)
517
- });
518
-
519
- // src/interface/payment/teacherPayment.ts
473
+ // src/interface/tracking/classTimesInput.ts
520
474
  var import_zod15 = require("zod");
521
- var zTeacherPaymentRow = import_zod15.z.object({
522
- course: import_zod15.z.string().min(1, "select or enter a course"),
523
- length: import_zod15.z.coerce.number().gt(0, "must be > 0"),
524
- count: import_zod15.z.coerce.number().int().gt(0, "must be > 0"),
525
- wage: import_zod15.z.coerce.number().gt(0, "wage must be > 0")
526
- });
527
- var zBTeacherPayment = import_zod15.z.object({
528
- teacher: import_zod15.z.string().min(1, "select or enter a teacher"),
529
- rows: import_zod15.z.array(zTeacherPaymentRow),
530
- paid: import_zod15.z.boolean().optional()
531
- });
532
- var zTeacherPayment = addAutoProps(zBTeacherPayment);
533
- var zTeacherPaymentResponse = zTeacherPayment.extend({
534
- teacher: zTeacher
475
+
476
+ // src/interface/tracking/dayOfWeek.ts
477
+ var import_zod14 = require("zod");
478
+ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
479
+ DayOfWeek2[DayOfWeek2["SUNDAY"] = 0] = "SUNDAY";
480
+ DayOfWeek2[DayOfWeek2["MONDAY"] = 1] = "MONDAY";
481
+ DayOfWeek2[DayOfWeek2["TUESDAY"] = 2] = "TUESDAY";
482
+ DayOfWeek2[DayOfWeek2["WEDNESDAY"] = 3] = "WEDNESDAY";
483
+ DayOfWeek2[DayOfWeek2["THURSDAY"] = 4] = "THURSDAY";
484
+ DayOfWeek2[DayOfWeek2["FRIDAY"] = 5] = "FRIDAY";
485
+ DayOfWeek2[DayOfWeek2["SATURDAY"] = 6] = "SATURDAY";
486
+ return DayOfWeek2;
487
+ })(DayOfWeek || {});
488
+ var zDayOfWeek = import_zod14.z.nativeEnum(DayOfWeek);
489
+
490
+ // src/interface/tracking/classTimesInput.ts
491
+ var zClassTimesInput = import_zod15.z.object({
492
+ startDate: import_zod15.z.date(),
493
+ freq: import_zod15.z.coerce.number().min(1, "Please select a valid frequency"),
494
+ daysOfWeek: import_zod15.z.array(zDayOfWeek),
495
+ numberOfClasses: import_zod15.z.coerce.number().int().min(1, "Must enroll in at least one class")
535
496
  });
536
497
 
537
498
  // src/interface/tracking/classTracker.ts
@@ -548,7 +509,6 @@ var zBClassTracker = import_zod16.z.object({
548
509
  /**
549
510
  * @deprecated This field is no longer used
550
511
  */
551
- tuition: zTuition.optional(),
552
512
  paid: import_zod16.z.boolean().optional(),
553
513
  paused: import_zod16.z.boolean().optional(),
554
514
  notes: import_zod16.z.string().optional()
@@ -559,6 +519,9 @@ var zClassTrackerResponse = zClassTracker.extend({
559
519
  teacher: zTeacher,
560
520
  student: zStudent
561
521
  });
522
+ var zTrackerCreate = zBClassTracker.extend({
523
+ classTimesInput: zClassTimesInput
524
+ });
562
525
 
563
526
  // src/interface/tracking/groupTracker.ts
564
527
  var import_zod18 = require("zod");
@@ -581,11 +544,11 @@ var zBGroupTracker = import_zod18.z.object({
581
544
  /**
582
545
  * occurrences are tracked by week for Groups
583
546
  */
584
- occurrences: import_zod18.z.array(import_zod18.z.coerce.date()),
547
+ occurrences: import_zod18.z.array(import_zod18.z.string()),
585
548
  /**
586
549
  * attendances are tracked by week for Groups
587
550
  */
588
- attendances: import_zod18.z.array(import_zod18.z.string()),
551
+ attendances: import_zod18.z.array(zAttendanceRequest),
589
552
  /**
590
553
  * public-facing ID of the course instance, e.g., 101
591
554
  */
@@ -601,6 +564,12 @@ var zBGroupTracker = import_zod18.z.object({
601
564
  notes: import_zod18.z.string().optional()
602
565
  });
603
566
  var zGroupTracker = addAutoProps(zBGroupTracker);
567
+ var zGroupTrackerResponse = zGroupTracker.extend({
568
+ course: zCourse,
569
+ teacher: zTeacher,
570
+ semester: zSemester,
571
+ attendances: import_zod18.z.array(zAttendanceResponse)
572
+ });
604
573
 
605
574
  // src/interface/booking/campBooking.ts
606
575
  var zBCampBooking = import_zod19.z.object({
@@ -632,34 +601,100 @@ var zBPrivateBooking = import_zod21.z.object({
632
601
  }).merge(zBUserInfo).merge(zBPaymentInfo);
633
602
  var zPrivateBooking = addAutoProps(zBPrivateBooking);
634
603
 
635
- // src/interface/public/aurora.ts
604
+ // src/interface/payment/invoice.ts
636
605
  var import_zod22 = require("zod");
637
- var zTeacherDisplay = import_zod22.z.object({
638
- name: import_zod22.z.string(),
639
- email: import_zod22.z.string().email(),
640
- title: import_zod22.z.string(),
641
- imageUrl: import_zod22.z.string(),
642
- bio: import_zod22.z.string()
643
- });
644
- var zCourseTable = import_zod22.z.object({
645
- id: import_zod22.z.string(),
646
- name: import_zod22.z.string(),
647
- duration: import_zod22.z.number(),
648
- dateAndTime: import_zod22.z.string(),
649
- recommendedLevel: import_zod22.z.string(),
650
- tuition: import_zod22.z.string()
606
+
607
+ // src/interface/payment/paymentMethod.ts
608
+ var PaymentMethod = /* @__PURE__ */ ((PaymentMethod2) => {
609
+ PaymentMethod2["CASH"] = "Cash";
610
+ PaymentMethod2["CHECK"] = "Check";
611
+ PaymentMethod2["VENMO"] = "Venmo";
612
+ PaymentMethod2["ZELLE"] = "Zelle Transfer";
613
+ return PaymentMethod2;
614
+ })(PaymentMethod || {});
615
+
616
+ // src/interface/payment/invoice.ts
617
+ var zDiscount = import_zod22.z.object({
618
+ desc: import_zod22.z.string().min(1, "Discount description cannot be empty"),
619
+ amount: import_zod22.z.coerce.number()
620
+ });
621
+ var zInvoiceItem = import_zod22.z.object({
622
+ course: import_zod22.z.string().min(1, "Course description cannot be empty"),
623
+ price: import_zod22.z.coerce.number(),
624
+ units: import_zod22.z.coerce.number()
625
+ });
626
+ var zInvoicePackage = import_zod22.z.object({
627
+ student: import_zod22.z.string(),
628
+ items: import_zod22.z.array(zInvoiceItem).min(1, "Package must contain at least one item")
629
+ });
630
+ var zInvoicePackageResponse = zInvoicePackage.extend({
631
+ student: zStudent
632
+ });
633
+ var zBInvoice = import_zod22.z.object({
634
+ billTo: import_zod22.z.string().min(1, "The 'Bill To' field must not be empty"),
635
+ packages: import_zod22.z.array(zInvoicePackage).min(1, "Invoice must include at least one package"),
636
+ discounts: import_zod22.z.array(zDiscount),
637
+ textbook: import_zod22.z.coerce.number().int().min(0).optional(),
638
+ shipping: import_zod22.z.coerce.number().int().min(0).optional(),
639
+ paid: import_zod22.z.nativeEnum(PaymentMethod).optional(),
640
+ showEin: import_zod22.z.boolean().optional(),
641
+ notes: import_zod22.z.string().or(import_zod22.z.literal("")).optional(),
642
+ createdBy: import_zod22.z.string(),
643
+ lastEditBy: import_zod22.z.string().optional()
644
+ });
645
+ var zInvoice = addAutoProps(zBInvoice);
646
+ var zInvoiceResponse = zInvoice.extend({
647
+ createdBy: zTeacher,
648
+ lastEditBy: zTeacher.optional(),
649
+ packages: import_zod22.z.array(zInvoicePackageResponse)
651
650
  });
652
651
 
653
- // src/interface/public/imageDef.ts
652
+ // src/interface/payment/teacherPayment.ts
654
653
  var import_zod23 = require("zod");
655
- var zImageDef = import_zod23.z.object({
656
- url: import_zod23.z.string(),
657
- height: import_zod23.z.number(),
658
- width: import_zod23.z.number()
654
+ var zTeacherPaymentRow = import_zod23.z.object({
655
+ course: import_zod23.z.string().min(1, "select or enter a course"),
656
+ length: import_zod23.z.coerce.number().gt(0, "must be > 0"),
657
+ count: import_zod23.z.coerce.number().int().gt(0, "must be > 0"),
658
+ wage: import_zod23.z.coerce.number().gt(0, "wage must be > 0")
659
+ });
660
+ var zBTeacherPayment = import_zod23.z.object({
661
+ teacher: import_zod23.z.string().min(1, "select or enter a teacher"),
662
+ rows: import_zod23.z.array(zTeacherPaymentRow),
663
+ paid: import_zod23.z.boolean().optional()
664
+ });
665
+ var zTeacherPayment = addAutoProps(zBTeacherPayment);
666
+ var zTeacherPaymentResponse = zTeacherPayment.extend({
667
+ teacher: zTeacher
659
668
  });
660
669
 
661
- // src/interface/reporting/reportTicket.ts
670
+ // src/interface/public/aurora.ts
662
671
  var import_zod24 = require("zod");
672
+ var zTeacherDisplay = import_zod24.z.object({
673
+ name: import_zod24.z.string(),
674
+ email: import_zod24.z.string().email(),
675
+ title: import_zod24.z.string(),
676
+ imageUrl: import_zod24.z.string(),
677
+ bio: import_zod24.z.string()
678
+ });
679
+ var zCourseTable = import_zod24.z.object({
680
+ id: import_zod24.z.string(),
681
+ name: import_zod24.z.string(),
682
+ duration: import_zod24.z.number(),
683
+ dateAndTime: import_zod24.z.string(),
684
+ recommendedLevel: import_zod24.z.string(),
685
+ tuition: import_zod24.z.string()
686
+ });
687
+
688
+ // src/interface/public/imageDef.ts
689
+ var import_zod25 = require("zod");
690
+ var zImageDef = import_zod25.z.object({
691
+ url: import_zod25.z.string(),
692
+ height: import_zod25.z.number(),
693
+ width: import_zod25.z.number()
694
+ });
695
+
696
+ // src/interface/reporting/reportTicket.ts
697
+ var import_zod26 = require("zod");
663
698
 
664
699
  // src/interface/reporting/ticketStatus.ts
665
700
  var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
@@ -671,12 +706,12 @@ var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
671
706
  })(TicketStatus || {});
672
707
 
673
708
  // src/interface/reporting/reportTicket.ts
674
- var zBReportTicket = import_zod24.z.object({
675
- requester: import_zod24.z.string(),
676
- resolver: import_zod24.z.string().optional(),
677
- status: import_zod24.z.nativeEnum(TicketStatus),
678
- title: import_zod24.z.string(),
679
- description: import_zod24.z.string()
709
+ var zBReportTicket = import_zod26.z.object({
710
+ requester: import_zod26.z.string(),
711
+ resolver: import_zod26.z.string().optional(),
712
+ status: import_zod26.z.nativeEnum(TicketStatus),
713
+ title: import_zod26.z.string(),
714
+ description: import_zod26.z.string()
680
715
  });
681
716
  var zReportTicket = addAutoProps(zBReportTicket);
682
717
  var zReportTicketResponse = zReportTicket.extend({
@@ -685,78 +720,78 @@ var zReportTicketResponse = zReportTicket.extend({
685
720
  });
686
721
 
687
722
  // src/interface/event/eConfig.ts
688
- var import_zod27 = require("zod");
723
+ var import_zod29 = require("zod");
689
724
 
690
725
  // src/interface/event/eTicket.ts
691
- var import_zod25 = require("zod");
692
- var zBEventTicket = import_zod25.z.object({
693
- name: import_zod25.z.string().min(5, "Name must be at least 5 characters"),
726
+ var import_zod27 = require("zod");
727
+ var zBEventTicket = import_zod27.z.object({
728
+ name: import_zod27.z.string().min(5, "Name must be at least 5 characters"),
694
729
  /**
695
730
  * Price in cents
696
731
  */
697
- price: import_zod25.z.number().min(1, "Price must be at least $1"),
732
+ price: import_zod27.z.number().min(1, "Price must be at least $1"),
698
733
  /**
699
734
  * @optional description of the ticket
700
735
  */
701
- description: import_zod25.z.string().optional(),
736
+ description: import_zod27.z.string().optional(),
702
737
  /**
703
738
  * @optional The ticket cannot be purchased if true
704
739
  */
705
- isNotBuyable: import_zod25.z.boolean().optional(),
740
+ isNotBuyable: import_zod27.z.boolean().optional(),
706
741
  /**
707
742
  * @optional If date is provided and in the past, ticket cannot be purchased
708
743
  */
709
- lastBuyableDate: import_zod25.z.coerce.date().optional()
744
+ lastBuyableDate: import_zod27.z.coerce.date().optional()
710
745
  });
711
746
  var zEventTicket = addAutoProps(zBEventTicket);
712
747
 
713
748
  // src/interface/event/table.ts
714
- var import_zod26 = require("zod");
715
- var zTable = import_zod26.z.array(import_zod26.z.record(import_zod26.z.string(), import_zod26.z.string()));
716
- var zDetailsTable = import_zod26.z.object({
717
- fields: import_zod26.z.array(import_zod26.z.string()).length(2),
749
+ var import_zod28 = require("zod");
750
+ var zTable = import_zod28.z.array(import_zod28.z.record(import_zod28.z.string(), import_zod28.z.string()));
751
+ var zDetailsTable = import_zod28.z.object({
752
+ fields: import_zod28.z.array(import_zod28.z.string()).length(2),
718
753
  data: zTable
719
754
  });
720
- var zScheduleTable = import_zod26.z.object({
721
- fields: import_zod26.z.array(import_zod26.z.string()).length(2),
722
- data: import_zod26.z.record(import_zod26.z.string(), zTable)
755
+ var zScheduleTable = import_zod28.z.object({
756
+ fields: import_zod28.z.array(import_zod28.z.string()).length(2),
757
+ data: import_zod28.z.record(import_zod28.z.string(), zTable)
723
758
  });
724
759
 
725
760
  // src/interface/event/eConfig.ts
726
- var zBEventConfig = import_zod27.z.object({
761
+ var zBEventConfig = import_zod29.z.object({
727
762
  /**
728
763
  * Location of the event
729
764
  */
730
- location: import_zod27.z.string().optional(),
765
+ location: import_zod29.z.string().optional(),
731
766
  /**
732
767
  * URL of the tournament on the official website
733
768
  * Must be a valid URL link
734
769
  */
735
- url: import_zod27.z.string(),
770
+ url: import_zod29.z.string(),
736
771
  /**
737
772
  * Full name of the tournament
738
773
  */
739
- title: import_zod27.z.string(),
774
+ title: import_zod29.z.string(),
740
775
  /**
741
776
  * Abbreviated title of the tournament
742
777
  */
743
- shortTitle: import_zod27.z.string(),
778
+ shortTitle: import_zod29.z.string(),
744
779
  /**
745
780
  * Tournament start date and time
746
781
  */
747
- tStart: import_zod27.z.coerce.date(),
782
+ tStart: import_zod29.z.coerce.date(),
748
783
  /**
749
784
  * Tournament end date and time
750
785
  */
751
- tEnd: import_zod27.z.coerce.date(),
786
+ tEnd: import_zod29.z.coerce.date(),
752
787
  /**
753
788
  * Short description for tournament card
754
789
  */
755
- shortDescription: import_zod27.z.string(),
790
+ shortDescription: import_zod29.z.string(),
756
791
  /**
757
792
  * Full description
758
793
  */
759
- description: import_zod27.z.string(),
794
+ description: import_zod29.z.string(),
760
795
  /**
761
796
  * Defines the tournament details table with 2 columns
762
797
  * typically Time and Event
@@ -770,15 +805,15 @@ var zBEventConfig = import_zod27.z.object({
770
805
  /**
771
806
  * List of ticket object IDs for this tournament
772
807
  */
773
- tickets: import_zod27.z.array(import_zod27.z.string()),
808
+ tickets: import_zod29.z.array(import_zod29.z.string()),
774
809
  /**
775
810
  * If false, the tournament registration is closed
776
811
  */
777
- canRegister: import_zod27.z.boolean(),
812
+ canRegister: import_zod29.z.boolean(),
778
813
  /**
779
814
  * If true, free form donation amounts are disabled.
780
815
  */
781
- donationsDisabled: import_zod27.z.boolean().optional(),
816
+ donationsDisabled: import_zod29.z.boolean().optional(),
782
817
  /**
783
818
  * Defines URL, height, width of the image
784
819
  */
@@ -786,42 +821,42 @@ var zBEventConfig = import_zod27.z.object({
786
821
  });
787
822
  var zEventConfig = addAutoProps(zBEventConfig);
788
823
  var zEventConfigResponse = zEventConfig.extend({
789
- tickets: import_zod27.z.array(zEventTicket)
824
+ tickets: import_zod29.z.array(zEventTicket)
790
825
  });
791
826
 
792
827
  // src/interface/event/eReg.ts
793
- var import_zod29 = require("zod");
828
+ var import_zod31 = require("zod");
794
829
 
795
830
  // src/interface/event/eTicketReg.ts
796
- var import_zod28 = require("zod");
797
- var zEventTicketReg = import_zod28.z.object({
798
- ticket: import_zod28.z.string(),
831
+ var import_zod30 = require("zod");
832
+ var zEventTicketReg = import_zod30.z.object({
833
+ ticket: import_zod30.z.string(),
799
834
  /**
800
835
  * integer minimum 1, otherwise no ticket is being bought
801
836
  */
802
- amount: import_zod28.z.number().int().min(1)
837
+ amount: import_zod30.z.number().int().min(1)
803
838
  });
804
839
  var zEventTicketRegResponse = zEventTicketReg.extend({
805
840
  ticket: zEventTicket
806
841
  });
807
842
 
808
843
  // src/interface/event/eReg.ts
809
- var zBEventReg = import_zod29.z.object({
810
- agaId: import_zod29.z.string(),
811
- tournamentId: import_zod29.z.string(),
812
- tickets: import_zod29.z.array(zEventTicketReg),
844
+ var zBEventReg = import_zod31.z.object({
845
+ agaId: import_zod31.z.string(),
846
+ tournamentId: import_zod31.z.string(),
847
+ tickets: import_zod31.z.array(zEventTicketReg),
813
848
  /**
814
849
  * @units CENTS - Donation in cents
815
850
  */
816
- donation: import_zod29.z.coerce.number().optional(),
851
+ donation: import_zod31.z.coerce.number().optional(),
817
852
  /**
818
853
  * How the registration was created, through public endpoint or admin
819
854
  */
820
- createMethod: import_zod29.z.string().optional()
855
+ createMethod: import_zod31.z.string().optional()
821
856
  }).merge(zBUserInfo).merge(zBPaymentInfo);
822
857
  var zEventReg = addAutoProps(zBEventReg);
823
858
  var zEventRegResponse = zEventReg.extend({
824
- tickets: import_zod29.z.array(zEventTicketRegResponse)
859
+ tickets: import_zod31.z.array(zEventTicketRegResponse)
825
860
  });
826
861
  // Annotate the CommonJS export names for ESM import in node:
827
862
  0 && (module.exports = {
@@ -879,6 +914,7 @@ var zEventRegResponse = zEventReg.extend({
879
914
  zEventTicketRegResponse,
880
915
  zGroupBooking,
881
916
  zGroupTracker,
917
+ zGroupTrackerResponse,
882
918
  zImageDef,
883
919
  zInvoice,
884
920
  zInvoiceItem,
@@ -899,6 +935,7 @@ var zEventRegResponse = zEventReg.extend({
899
935
  zTeacherPayment,
900
936
  zTeacherPaymentResponse,
901
937
  zTeacherPaymentRow,
938
+ zTrackerCreate,
902
939
  zTuition,
903
940
  zUser,
904
941
  zUserRoles