@nyig/models 0.5.4 → 0.5.6
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 +498 -5355
- package/index.d.ts +498 -5355
- package/index.js +261 -230
- package/index.mjs +259 -230
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -58,6 +58,7 @@ __export(index_exports, {
|
|
|
58
58
|
zBTeacherPayment: () => zBTeacherPayment,
|
|
59
59
|
zBUser: () => zBUser,
|
|
60
60
|
zBUserInfo: () => zBUserInfo,
|
|
61
|
+
zBUserProfile: () => zBUserProfile,
|
|
61
62
|
zCampBooking: () => zCampBooking,
|
|
62
63
|
zCampTracker: () => zCampTracker,
|
|
63
64
|
zCampTrackerResponse: () => zCampTrackerResponse,
|
|
@@ -103,6 +104,7 @@ __export(index_exports, {
|
|
|
103
104
|
zTrackerCreate: () => zTrackerCreate,
|
|
104
105
|
zTuition: () => zTuition,
|
|
105
106
|
zUser: () => zUser,
|
|
107
|
+
zUserProfile: () => zUserProfile,
|
|
106
108
|
zUserRoles: () => zUserRoles
|
|
107
109
|
});
|
|
108
110
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -155,6 +157,7 @@ var zBUserInfo = import_zod2.z.object({
|
|
|
155
157
|
hearAboutUsDetails: import_zod2.z.string().optional(),
|
|
156
158
|
// show/hide on Aurora event page "who is coming" list
|
|
157
159
|
showOnWhoIsComing: import_zod2.z.boolean().optional(),
|
|
160
|
+
participateAs: import_zod2.z.enum(["adult", "youth"]).optional(),
|
|
158
161
|
// Required for youth tournaments
|
|
159
162
|
dateOfBirth: import_zod2.z.string().optional()
|
|
160
163
|
});
|
|
@@ -169,7 +172,7 @@ var BookingType = /* @__PURE__ */ ((BookingType2) => {
|
|
|
169
172
|
})(BookingType || {});
|
|
170
173
|
|
|
171
174
|
// src/interface/booking/campBooking.ts
|
|
172
|
-
var
|
|
175
|
+
var import_zod20 = require("zod");
|
|
173
176
|
|
|
174
177
|
// src/interface/tracking/attendState.ts
|
|
175
178
|
var AttendState = /* @__PURE__ */ ((AttendState2) => {
|
|
@@ -180,7 +183,7 @@ var AttendState = /* @__PURE__ */ ((AttendState2) => {
|
|
|
180
183
|
})(AttendState || {});
|
|
181
184
|
|
|
182
185
|
// src/interface/tracking/attendance.ts
|
|
183
|
-
var
|
|
186
|
+
var import_zod11 = require("zod");
|
|
184
187
|
|
|
185
188
|
// src/interface/payment/tuition.ts
|
|
186
189
|
var import_zod3 = require("zod");
|
|
@@ -297,43 +300,69 @@ var zBUser = import_zod6.z.object({
|
|
|
297
300
|
/**
|
|
298
301
|
* For prompting the user to change their password on first login
|
|
299
302
|
*/
|
|
300
|
-
shouldChangePassword: import_zod6.z.boolean().optional()
|
|
303
|
+
shouldChangePassword: import_zod6.z.boolean().optional(),
|
|
304
|
+
/**
|
|
305
|
+
* Object storing user preferences
|
|
306
|
+
*/
|
|
307
|
+
info: import_zod6.z.string().optional()
|
|
301
308
|
});
|
|
302
309
|
var zUser = addAutoProps(zBUser);
|
|
303
310
|
|
|
304
|
-
// src/interface/user/
|
|
311
|
+
// src/interface/user/userInfo.ts
|
|
305
312
|
var import_zod7 = require("zod");
|
|
313
|
+
var zBUserProfile = import_zod7.z.object({
|
|
314
|
+
firstName: import_zod7.z.string().min(2).max(50).or(import_zod7.z.literal("")).optional(),
|
|
315
|
+
lastName: import_zod7.z.string().min(2).max(50).or(import_zod7.z.literal("")).optional(),
|
|
316
|
+
address: import_zod7.z.string().or(import_zod7.z.literal("")).optional(),
|
|
317
|
+
rank: import_zod7.z.enum(GoRank).optional(),
|
|
318
|
+
agaId: import_zod7.z.string().regex(/^\d{4,5}$/, {
|
|
319
|
+
message: `Please enter a valid AGA ID`
|
|
320
|
+
}).or(import_zod7.z.literal("")).optional(),
|
|
321
|
+
participateAs: import_zod7.z.enum(["adult", "youth"]).optional(),
|
|
322
|
+
showOnWhoIsComing: import_zod7.z.boolean().optional(),
|
|
323
|
+
preferredEmail: import_zod7.z.email().optional(),
|
|
324
|
+
phoneNumber: import_zod7.z.string().regex(/^\d{10}/, {
|
|
325
|
+
message: `Please enter a valid 10-digit US phone number with numbers only`
|
|
326
|
+
}).or(import_zod7.z.literal("")).optional(),
|
|
327
|
+
birthDate: import_zod7.z.string().regex(/^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/, {
|
|
328
|
+
message: "Enter a valid date in yyyy-mm-dd format"
|
|
329
|
+
}).or(import_zod7.z.literal("")).optional()
|
|
330
|
+
});
|
|
331
|
+
var zUserProfile = addAutoProps(zBUserProfile);
|
|
332
|
+
|
|
333
|
+
// src/interface/user/student.ts
|
|
334
|
+
var import_zod8 = require("zod");
|
|
306
335
|
var zBStudent = zBUser.extend({
|
|
307
|
-
rank:
|
|
308
|
-
guardian:
|
|
336
|
+
rank: import_zod8.z.nativeEnum(GoRank),
|
|
337
|
+
guardian: import_zod8.z.string().optional()
|
|
309
338
|
});
|
|
310
339
|
var zStudent = addAutoProps(zBStudent);
|
|
311
340
|
|
|
312
341
|
// src/interface/user/teacher.ts
|
|
313
|
-
var
|
|
342
|
+
var import_zod9 = require("zod");
|
|
314
343
|
var zBTeacher = zBUser.extend({
|
|
315
|
-
rank:
|
|
344
|
+
rank: import_zod9.z.nativeEnum(GoRank),
|
|
316
345
|
/**
|
|
317
346
|
* Inactive teachers are not shown on public endpoints
|
|
318
347
|
*/
|
|
319
|
-
isInactive:
|
|
348
|
+
isInactive: import_zod9.z.boolean().optional(),
|
|
320
349
|
/**
|
|
321
350
|
* If true, teacher is never available for booking
|
|
322
351
|
*/
|
|
323
|
-
doesNotTeachPrivateLessons:
|
|
352
|
+
doesNotTeachPrivateLessons: import_zod9.z.boolean().optional(),
|
|
324
353
|
/**
|
|
325
354
|
* Teacher's position, e.g., instructor, president
|
|
326
355
|
*/
|
|
327
|
-
title:
|
|
356
|
+
title: import_zod9.z.string().optional(),
|
|
328
357
|
/**
|
|
329
358
|
* Teacher's bio text describing experience
|
|
330
359
|
* new lines will be rendered as paragraphs
|
|
331
360
|
*/
|
|
332
|
-
bio:
|
|
361
|
+
bio: import_zod9.z.string().optional(),
|
|
333
362
|
/**
|
|
334
363
|
* Permanent URL of the image
|
|
335
364
|
*/
|
|
336
|
-
imageUrl:
|
|
365
|
+
imageUrl: import_zod9.z.string().optional(),
|
|
337
366
|
/** Format is illustrated below, where teacher is available
|
|
338
367
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
339
368
|
* [
|
|
@@ -346,54 +375,54 @@ var zBTeacher = zBUser.extend({
|
|
|
346
375
|
* [],
|
|
347
376
|
* ]
|
|
348
377
|
*/
|
|
349
|
-
available:
|
|
378
|
+
available: import_zod9.z.array(import_zod9.z.array(import_zod9.z.array(import_zod9.z.number()))).optional()
|
|
350
379
|
});
|
|
351
380
|
var zTeacher = addAutoProps(zBTeacher);
|
|
352
381
|
var zTeacherResponse = zTeacher.omit({ password: true, roles: true, editedBy: true, updatedAt: true, createdAt: true }).extend({
|
|
353
|
-
role:
|
|
382
|
+
role: import_zod9.z.number().int()
|
|
354
383
|
});
|
|
355
384
|
|
|
356
385
|
// src/interface/user/auth.ts
|
|
357
|
-
var
|
|
358
|
-
var zCreateAdminAccountRequest =
|
|
359
|
-
_id:
|
|
360
|
-
user:
|
|
361
|
-
pwd:
|
|
386
|
+
var import_zod10 = require("zod");
|
|
387
|
+
var zCreateAdminAccountRequest = import_zod10.z.object({
|
|
388
|
+
_id: import_zod10.z.string(),
|
|
389
|
+
user: import_zod10.z.string().min(3, "Username must be at least 3 characters"),
|
|
390
|
+
pwd: import_zod10.z.string().min(6)
|
|
362
391
|
});
|
|
363
|
-
var zChangePasswordRequest =
|
|
364
|
-
prev:
|
|
365
|
-
next:
|
|
392
|
+
var zChangePasswordRequest = import_zod10.z.object({
|
|
393
|
+
prev: import_zod10.z.string().min(6),
|
|
394
|
+
next: import_zod10.z.string().min(6)
|
|
366
395
|
});
|
|
367
|
-
var zLoginRequest =
|
|
368
|
-
user:
|
|
369
|
-
pwd:
|
|
396
|
+
var zLoginRequest = import_zod10.z.object({
|
|
397
|
+
user: import_zod10.z.string().min(3, "Username must be at least 3 characters"),
|
|
398
|
+
pwd: import_zod10.z.string().min(6)
|
|
370
399
|
});
|
|
371
|
-
var zLoginResponse =
|
|
372
|
-
user:
|
|
373
|
-
token:
|
|
400
|
+
var zLoginResponse = import_zod10.z.object({
|
|
401
|
+
user: import_zod10.z.string(),
|
|
402
|
+
token: import_zod10.z.string()
|
|
374
403
|
});
|
|
375
404
|
|
|
376
405
|
// src/interface/tracking/attendance.ts
|
|
377
|
-
var zBAttendance =
|
|
378
|
-
student:
|
|
379
|
-
states:
|
|
406
|
+
var zBAttendance = import_zod11.z.object({
|
|
407
|
+
student: import_zod11.z.string(),
|
|
408
|
+
states: import_zod11.z.array(import_zod11.z.nativeEnum(AttendState)),
|
|
380
409
|
/**
|
|
381
410
|
* @deprecated This field is no longer used
|
|
382
411
|
*/
|
|
383
412
|
tuition: zTuition.optional(),
|
|
384
|
-
paid:
|
|
385
|
-
campOption:
|
|
413
|
+
paid: import_zod11.z.boolean().optional(),
|
|
414
|
+
campOption: import_zod11.z.nativeEnum(CampOption).optional()
|
|
386
415
|
});
|
|
387
416
|
var zAttendance = addAutoProps(zBAttendance);
|
|
388
417
|
var zAttendanceRequest = zAttendance.extend({
|
|
389
|
-
_id:
|
|
418
|
+
_id: import_zod11.z.string().optional()
|
|
390
419
|
});
|
|
391
420
|
var zAttendanceResponse = zAttendance.extend({
|
|
392
421
|
student: zStudent
|
|
393
422
|
});
|
|
394
423
|
|
|
395
424
|
// src/interface/tracking/campTracker.ts
|
|
396
|
-
var
|
|
425
|
+
var import_zod14 = require("zod");
|
|
397
426
|
|
|
398
427
|
// src/interface/course/ageGroup.ts
|
|
399
428
|
var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
|
|
@@ -421,36 +450,36 @@ var NYIGSchool = /* @__PURE__ */ ((NYIGSchool2) => {
|
|
|
421
450
|
})(NYIGSchool || {});
|
|
422
451
|
|
|
423
452
|
// src/interface/course/course.ts
|
|
424
|
-
var
|
|
425
|
-
var zBCourse =
|
|
426
|
-
name:
|
|
427
|
-
category:
|
|
453
|
+
var import_zod12 = require("zod");
|
|
454
|
+
var zBCourse = import_zod12.z.object({
|
|
455
|
+
name: import_zod12.z.string(),
|
|
456
|
+
category: import_zod12.z.nativeEnum(CourseCategory),
|
|
428
457
|
/**
|
|
429
458
|
* @unit SECONDS - Duration of the course in seconds
|
|
430
459
|
*/
|
|
431
|
-
duration:
|
|
460
|
+
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"),
|
|
432
461
|
/**
|
|
433
462
|
* @unit CENTS - Price of the course in cents
|
|
434
463
|
*/
|
|
435
|
-
price:
|
|
436
|
-
description:
|
|
464
|
+
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"),
|
|
465
|
+
description: import_zod12.z.string().or(import_zod12.z.literal("")).optional(),
|
|
437
466
|
/**
|
|
438
467
|
* NYIG School locations
|
|
439
468
|
*/
|
|
440
|
-
nyigSchool:
|
|
469
|
+
nyigSchool: import_zod12.z.nativeEnum(NYIGSchool),
|
|
441
470
|
/**
|
|
442
471
|
* Recommended level before taking this course
|
|
443
472
|
*/
|
|
444
|
-
recLevel:
|
|
473
|
+
recLevel: import_zod12.z.string().or(import_zod12.z.literal("")).optional(),
|
|
445
474
|
/**
|
|
446
475
|
* Camp tuition for half-day option
|
|
447
476
|
*/
|
|
448
|
-
halfCampTuition:
|
|
477
|
+
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(),
|
|
449
478
|
/**
|
|
450
479
|
* Camp tuition for full-day option
|
|
451
480
|
*/
|
|
452
|
-
fullCampTuition:
|
|
453
|
-
superadminOnly:
|
|
481
|
+
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(),
|
|
482
|
+
superadminOnly: import_zod12.z.boolean().optional()
|
|
454
483
|
});
|
|
455
484
|
var zCourse = addAutoProps(zBCourse);
|
|
456
485
|
|
|
@@ -463,57 +492,57 @@ var Season = /* @__PURE__ */ ((Season2) => {
|
|
|
463
492
|
})(Season || {});
|
|
464
493
|
|
|
465
494
|
// src/interface/semester/semester.ts
|
|
466
|
-
var
|
|
467
|
-
var zBSemester =
|
|
468
|
-
season:
|
|
469
|
-
year:
|
|
470
|
-
startDate:
|
|
471
|
-
endDate:
|
|
495
|
+
var import_zod13 = require("zod");
|
|
496
|
+
var zBSemester = import_zod13.z.object({
|
|
497
|
+
season: import_zod13.z.nativeEnum(Season),
|
|
498
|
+
year: import_zod13.z.coerce.number().min(2022).max(2999),
|
|
499
|
+
startDate: import_zod13.z.coerce.date(),
|
|
500
|
+
endDate: import_zod13.z.coerce.date(),
|
|
472
501
|
/**
|
|
473
502
|
* Format: start, end, start, end, ...
|
|
474
503
|
*/
|
|
475
|
-
blackoutDates:
|
|
504
|
+
blackoutDates: import_zod13.z.array(import_zod13.z.coerce.date()),
|
|
476
505
|
/**
|
|
477
506
|
* List of names of some break: date range
|
|
478
507
|
*/
|
|
479
|
-
importantDates:
|
|
508
|
+
importantDates: import_zod13.z.array(import_zod13.z.string())
|
|
480
509
|
});
|
|
481
510
|
var zSemester = addAutoProps(zBSemester);
|
|
482
511
|
|
|
483
512
|
// src/interface/tracking/campTracker.ts
|
|
484
513
|
var MAX_TEACHERS = 10;
|
|
485
|
-
var zBCampTracker =
|
|
486
|
-
course:
|
|
487
|
-
teachers:
|
|
488
|
-
semester:
|
|
514
|
+
var zBCampTracker = import_zod14.z.object({
|
|
515
|
+
course: import_zod14.z.string(),
|
|
516
|
+
teachers: import_zod14.z.array(import_zod14.z.string()).min(1, "Camp must have at least 1 teacher").max(MAX_TEACHERS, `Camp can have at most ${MAX_TEACHERS} teachers`),
|
|
517
|
+
semester: import_zod14.z.string(),
|
|
489
518
|
/**
|
|
490
519
|
* occurrences are tracked by week for camps
|
|
491
520
|
*/
|
|
492
|
-
occurrences:
|
|
521
|
+
occurrences: import_zod14.z.array(import_zod14.z.string()).min(1, "Camp must have at least 1 date range"),
|
|
493
522
|
/**
|
|
494
523
|
* attendances are tracked by week for camps
|
|
495
524
|
*/
|
|
496
|
-
attendances:
|
|
497
|
-
publicDescription:
|
|
498
|
-
isNonPublic:
|
|
499
|
-
notes:
|
|
525
|
+
attendances: import_zod14.z.array(zAttendanceRequest),
|
|
526
|
+
publicDescription: import_zod14.z.string().optional(),
|
|
527
|
+
isNonPublic: import_zod14.z.boolean().optional(),
|
|
528
|
+
notes: import_zod14.z.string().optional()
|
|
500
529
|
});
|
|
501
530
|
var zCampTracker = addAutoProps(zBCampTracker);
|
|
502
531
|
var zCampTrackerResponse = zCampTracker.extend({
|
|
503
532
|
course: zCourse,
|
|
504
|
-
teachers:
|
|
533
|
+
teachers: import_zod14.z.array(zTeacher).min(1, "Camp must have at least 1 teacher").max(MAX_TEACHERS, `Camp can have at most ${MAX_TEACHERS} teachers`),
|
|
505
534
|
semester: zSemester,
|
|
506
|
-
attendances:
|
|
535
|
+
attendances: import_zod14.z.array(zAttendanceResponse)
|
|
507
536
|
});
|
|
508
537
|
|
|
509
538
|
// src/interface/tracking/classTracker.ts
|
|
510
|
-
var
|
|
539
|
+
var import_zod17 = require("zod");
|
|
511
540
|
|
|
512
541
|
// src/interface/tracking/classTimesInput.ts
|
|
513
|
-
var
|
|
542
|
+
var import_zod16 = require("zod");
|
|
514
543
|
|
|
515
544
|
// src/interface/tracking/dayOfWeek.ts
|
|
516
|
-
var
|
|
545
|
+
var import_zod15 = require("zod");
|
|
517
546
|
var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
|
|
518
547
|
DayOfWeek2[DayOfWeek2["SUNDAY"] = 0] = "SUNDAY";
|
|
519
548
|
DayOfWeek2[DayOfWeek2["MONDAY"] = 1] = "MONDAY";
|
|
@@ -524,33 +553,33 @@ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
|
|
|
524
553
|
DayOfWeek2[DayOfWeek2["SATURDAY"] = 6] = "SATURDAY";
|
|
525
554
|
return DayOfWeek2;
|
|
526
555
|
})(DayOfWeek || {});
|
|
527
|
-
var zDayOfWeek =
|
|
556
|
+
var zDayOfWeek = import_zod15.z.nativeEnum(DayOfWeek);
|
|
528
557
|
|
|
529
558
|
// src/interface/tracking/classTimesInput.ts
|
|
530
|
-
var zClassTimesInput =
|
|
531
|
-
startDate:
|
|
532
|
-
freq:
|
|
533
|
-
daysOfWeek:
|
|
534
|
-
numberOfClasses:
|
|
559
|
+
var zClassTimesInput = import_zod16.z.object({
|
|
560
|
+
startDate: import_zod16.z.date(),
|
|
561
|
+
freq: import_zod16.z.coerce.number().min(1, "Please select a valid frequency"),
|
|
562
|
+
daysOfWeek: import_zod16.z.array(zDayOfWeek),
|
|
563
|
+
numberOfClasses: import_zod16.z.coerce.number().int().min(1, "Must enroll in at least one class")
|
|
535
564
|
});
|
|
536
565
|
|
|
537
566
|
// src/interface/tracking/classTracker.ts
|
|
538
|
-
var zBClassTracker =
|
|
539
|
-
course:
|
|
540
|
-
teacher:
|
|
541
|
-
student:
|
|
542
|
-
classTimes:
|
|
543
|
-
completedList:
|
|
567
|
+
var zBClassTracker = import_zod17.z.object({
|
|
568
|
+
course: import_zod17.z.string(),
|
|
569
|
+
teacher: import_zod17.z.string(),
|
|
570
|
+
student: import_zod17.z.string(),
|
|
571
|
+
classTimes: import_zod17.z.array(import_zod17.z.coerce.date()),
|
|
572
|
+
completedList: import_zod17.z.array(import_zod17.z.boolean()),
|
|
544
573
|
/**
|
|
545
574
|
* Virtual mongoose field when all values in completedList is true
|
|
546
575
|
*/
|
|
547
|
-
completed:
|
|
576
|
+
completed: import_zod17.z.boolean().optional(),
|
|
548
577
|
/**
|
|
549
578
|
* @deprecated This field is no longer used
|
|
550
579
|
*/
|
|
551
|
-
paid:
|
|
552
|
-
paused:
|
|
553
|
-
notes:
|
|
580
|
+
paid: import_zod17.z.boolean().optional(),
|
|
581
|
+
paused: import_zod17.z.boolean().optional(),
|
|
582
|
+
notes: import_zod17.z.string().optional()
|
|
554
583
|
});
|
|
555
584
|
var zClassTracker = addAutoProps(zBClassTracker);
|
|
556
585
|
var zClassTrackerResponse = zClassTracker.extend({
|
|
@@ -563,89 +592,89 @@ var zTrackerCreate = zBClassTracker.extend({
|
|
|
563
592
|
});
|
|
564
593
|
|
|
565
594
|
// src/interface/tracking/groupTracker.ts
|
|
566
|
-
var
|
|
595
|
+
var import_zod19 = require("zod");
|
|
567
596
|
|
|
568
597
|
// src/interface/tracking/scheduleData.ts
|
|
569
|
-
var
|
|
570
|
-
var zScheduleData =
|
|
571
|
-
startTime:
|
|
598
|
+
var import_zod18 = require("zod");
|
|
599
|
+
var zScheduleData = import_zod18.z.object({
|
|
600
|
+
startTime: import_zod18.z.string(),
|
|
572
601
|
// String in 24 hour "HH:mm" format
|
|
573
|
-
dayOfWeek:
|
|
602
|
+
dayOfWeek: import_zod18.z.number().int().min(0).max(6),
|
|
574
603
|
// integeters in 0 - 6
|
|
575
|
-
startDate:
|
|
604
|
+
startDate: import_zod18.z.string().optional(),
|
|
576
605
|
// First day of class, optional for backwards compatibility
|
|
577
|
-
numberOfClasses:
|
|
606
|
+
numberOfClasses: import_zod18.z.number().int().min(0).optional()
|
|
578
607
|
// optional for backwards compatibility
|
|
579
608
|
});
|
|
580
609
|
|
|
581
610
|
// src/interface/tracking/groupTracker.ts
|
|
582
|
-
var zBGroupTracker =
|
|
583
|
-
course:
|
|
584
|
-
teacher:
|
|
585
|
-
semester:
|
|
611
|
+
var zBGroupTracker = import_zod19.z.object({
|
|
612
|
+
course: import_zod19.z.string(),
|
|
613
|
+
teacher: import_zod19.z.string(),
|
|
614
|
+
semester: import_zod19.z.string(),
|
|
586
615
|
scheduleData: zScheduleData,
|
|
587
616
|
/**
|
|
588
617
|
* occurrences are tracked by week for Groups
|
|
589
618
|
*/
|
|
590
|
-
occurrences:
|
|
619
|
+
occurrences: import_zod19.z.array(import_zod19.z.string()),
|
|
591
620
|
/**
|
|
592
621
|
* attendances are tracked by week for Groups
|
|
593
622
|
*/
|
|
594
|
-
attendances:
|
|
623
|
+
attendances: import_zod19.z.array(zAttendanceRequest),
|
|
595
624
|
/**
|
|
596
625
|
* public-facing ID of the course instance, e.g., 101
|
|
597
626
|
*/
|
|
598
|
-
courseId:
|
|
627
|
+
courseId: import_zod19.z.string().optional(),
|
|
599
628
|
/**
|
|
600
629
|
* Age group of the class instance, e.g. "adult", "youth"
|
|
601
630
|
*/
|
|
602
|
-
ageGroup:
|
|
631
|
+
ageGroup: import_zod19.z.nativeEnum(AgeGroup).optional(),
|
|
603
632
|
/**
|
|
604
633
|
* If true, the course is hidden from public view
|
|
605
634
|
*/
|
|
606
|
-
isNonPublic:
|
|
607
|
-
notes:
|
|
635
|
+
isNonPublic: import_zod19.z.boolean().optional(),
|
|
636
|
+
notes: import_zod19.z.string().optional()
|
|
608
637
|
});
|
|
609
638
|
var zGroupTracker = addAutoProps(zBGroupTracker);
|
|
610
639
|
var zGroupTrackerResponse = zGroupTracker.extend({
|
|
611
640
|
course: zCourse,
|
|
612
641
|
teacher: zTeacher,
|
|
613
642
|
semester: zSemester,
|
|
614
|
-
attendances:
|
|
643
|
+
attendances: import_zod19.z.array(zAttendanceResponse)
|
|
615
644
|
});
|
|
616
645
|
|
|
617
646
|
// src/interface/booking/campBooking.ts
|
|
618
|
-
var zBCampBooking =
|
|
619
|
-
ctId:
|
|
620
|
-
isOnline:
|
|
621
|
-
classDates:
|
|
622
|
-
campOption:
|
|
623
|
-
shipping:
|
|
647
|
+
var zBCampBooking = import_zod20.z.object({
|
|
648
|
+
ctId: import_zod20.z.string().optional(),
|
|
649
|
+
isOnline: import_zod20.z.boolean(),
|
|
650
|
+
classDates: import_zod20.z.string(),
|
|
651
|
+
campOption: import_zod20.z.nativeEnum(CampOption),
|
|
652
|
+
shipping: import_zod20.z.boolean().optional()
|
|
624
653
|
}).merge(zBUserInfo).merge(zBPaymentInfo);
|
|
625
654
|
var zCampBooking = addAutoProps(zBCampBooking);
|
|
626
655
|
|
|
627
656
|
// src/interface/booking/groupBooking.ts
|
|
628
|
-
var
|
|
629
|
-
var zBGroupBooking =
|
|
630
|
-
gtId:
|
|
631
|
-
isTrial:
|
|
632
|
-
isOnline:
|
|
633
|
-
classDate:
|
|
634
|
-
shipping:
|
|
657
|
+
var import_zod21 = require("zod");
|
|
658
|
+
var zBGroupBooking = import_zod21.z.object({
|
|
659
|
+
gtId: import_zod21.z.string().optional(),
|
|
660
|
+
isTrial: import_zod21.z.boolean().optional(),
|
|
661
|
+
isOnline: import_zod21.z.boolean(),
|
|
662
|
+
classDate: import_zod21.z.string().optional(),
|
|
663
|
+
shipping: import_zod21.z.boolean().optional()
|
|
635
664
|
}).merge(zBUserInfo).merge(zBPaymentInfo);
|
|
636
665
|
var zGroupBooking = addAutoProps(zBGroupBooking);
|
|
637
666
|
|
|
638
667
|
// src/interface/booking/privateBooking.ts
|
|
639
|
-
var
|
|
640
|
-
var zBPrivateBooking =
|
|
641
|
-
courseId:
|
|
642
|
-
teacherId:
|
|
643
|
-
classDate:
|
|
668
|
+
var import_zod22 = require("zod");
|
|
669
|
+
var zBPrivateBooking = import_zod22.z.object({
|
|
670
|
+
courseId: import_zod22.z.string(),
|
|
671
|
+
teacherId: import_zod22.z.string(),
|
|
672
|
+
classDate: import_zod22.z.string().optional()
|
|
644
673
|
}).merge(zBUserInfo).merge(zBPaymentInfo);
|
|
645
674
|
var zPrivateBooking = addAutoProps(zBPrivateBooking);
|
|
646
675
|
|
|
647
676
|
// src/interface/payment/invoice.ts
|
|
648
|
-
var
|
|
677
|
+
var import_zod23 = require("zod");
|
|
649
678
|
|
|
650
679
|
// src/interface/payment/paymentMethod.ts
|
|
651
680
|
var PaymentMethod = /* @__PURE__ */ ((PaymentMethod2) => {
|
|
@@ -657,93 +686,93 @@ var PaymentMethod = /* @__PURE__ */ ((PaymentMethod2) => {
|
|
|
657
686
|
})(PaymentMethod || {});
|
|
658
687
|
|
|
659
688
|
// src/interface/payment/invoice.ts
|
|
660
|
-
var zDiscount =
|
|
661
|
-
desc:
|
|
662
|
-
amount:
|
|
689
|
+
var zDiscount = import_zod23.z.object({
|
|
690
|
+
desc: import_zod23.z.string().min(1, "Discount description cannot be empty"),
|
|
691
|
+
amount: import_zod23.z.coerce.number()
|
|
663
692
|
});
|
|
664
|
-
var zInvoiceItem =
|
|
665
|
-
course:
|
|
666
|
-
price:
|
|
667
|
-
units:
|
|
693
|
+
var zInvoiceItem = import_zod23.z.object({
|
|
694
|
+
course: import_zod23.z.string().min(1, "Course description cannot be empty"),
|
|
695
|
+
price: import_zod23.z.coerce.number(),
|
|
696
|
+
units: import_zod23.z.coerce.number()
|
|
668
697
|
});
|
|
669
|
-
var zInvoicePackage =
|
|
670
|
-
student:
|
|
671
|
-
items:
|
|
698
|
+
var zInvoicePackage = import_zod23.z.object({
|
|
699
|
+
student: import_zod23.z.string(),
|
|
700
|
+
items: import_zod23.z.array(zInvoiceItem).min(1, "Package must contain at least one item")
|
|
672
701
|
});
|
|
673
702
|
var zInvoicePackageResponse = zInvoicePackage.extend({
|
|
674
703
|
student: zStudent
|
|
675
704
|
});
|
|
676
|
-
var zBInvoice =
|
|
677
|
-
billTo:
|
|
678
|
-
packages:
|
|
679
|
-
discounts:
|
|
680
|
-
textbook:
|
|
681
|
-
shipping:
|
|
682
|
-
paid:
|
|
683
|
-
paidAt:
|
|
684
|
-
showEin:
|
|
685
|
-
notes:
|
|
686
|
-
feeLabel:
|
|
687
|
-
createdBy:
|
|
705
|
+
var zBInvoice = import_zod23.z.object({
|
|
706
|
+
billTo: import_zod23.z.string().min(1, "The 'Bill To' field must not be empty"),
|
|
707
|
+
packages: import_zod23.z.array(zInvoicePackage).min(1, "Invoice must include at least one package"),
|
|
708
|
+
discounts: import_zod23.z.array(zDiscount),
|
|
709
|
+
textbook: import_zod23.z.coerce.number().int().min(0).optional(),
|
|
710
|
+
shipping: import_zod23.z.coerce.number().int().min(0).optional(),
|
|
711
|
+
paid: import_zod23.z.nativeEnum(PaymentMethod).optional(),
|
|
712
|
+
paidAt: import_zod23.z.string().optional(),
|
|
713
|
+
showEin: import_zod23.z.boolean().optional(),
|
|
714
|
+
notes: import_zod23.z.string().or(import_zod23.z.literal("")).optional(),
|
|
715
|
+
feeLabel: import_zod23.z.string().optional(),
|
|
716
|
+
createdBy: import_zod23.z.string()
|
|
688
717
|
});
|
|
689
718
|
var zInvoice = addAutoProps(zBInvoice);
|
|
690
719
|
var zInvoiceResponse = zInvoice.extend({
|
|
691
720
|
createdBy: zTeacher,
|
|
692
721
|
editedBy: zTeacher.optional(),
|
|
693
|
-
packages:
|
|
722
|
+
packages: import_zod23.z.array(zInvoicePackageResponse)
|
|
694
723
|
});
|
|
695
724
|
|
|
696
725
|
// src/interface/payment/teacherPayment.ts
|
|
697
|
-
var
|
|
698
|
-
var zTeacherPaymentRow =
|
|
699
|
-
course:
|
|
700
|
-
length:
|
|
701
|
-
count:
|
|
702
|
-
wage:
|
|
726
|
+
var import_zod24 = require("zod");
|
|
727
|
+
var zTeacherPaymentRow = import_zod24.z.object({
|
|
728
|
+
course: import_zod24.z.string().min(1, "select or enter a course"),
|
|
729
|
+
length: import_zod24.z.coerce.number().gt(0, "must be > 0"),
|
|
730
|
+
count: import_zod24.z.coerce.number().int().gt(0, "must be > 0"),
|
|
731
|
+
wage: import_zod24.z.coerce.number().gt(0, "wage must be > 0")
|
|
703
732
|
});
|
|
704
|
-
var zBTeacherPayment =
|
|
705
|
-
teacher:
|
|
706
|
-
rows:
|
|
707
|
-
paid:
|
|
733
|
+
var zBTeacherPayment = import_zod24.z.object({
|
|
734
|
+
teacher: import_zod24.z.string().min(1, "select or enter a teacher"),
|
|
735
|
+
rows: import_zod24.z.array(zTeacherPaymentRow),
|
|
736
|
+
paid: import_zod24.z.boolean().optional(),
|
|
708
737
|
/**
|
|
709
738
|
* paymentNotes differentiates from notes as it is displayed on the rendered PDF
|
|
710
739
|
*/
|
|
711
|
-
paymentNotes:
|
|
740
|
+
paymentNotes: import_zod24.z.string().optional()
|
|
712
741
|
});
|
|
713
742
|
var zTeacherPayment = addAutoProps(zBTeacherPayment);
|
|
714
743
|
var zTeacherPaymentResponse = zTeacherPayment.extend({
|
|
715
|
-
teacher:
|
|
716
|
-
editedBy:
|
|
744
|
+
teacher: import_zod24.z.object({ _id: import_zod24.z.string(), name: import_zod24.z.string(), rank: import_zod24.z.string().optional() }),
|
|
745
|
+
editedBy: import_zod24.z.object({ _id: import_zod24.z.string(), name: import_zod24.z.string(), rank: import_zod24.z.string().optional() })
|
|
717
746
|
});
|
|
718
747
|
|
|
719
748
|
// src/interface/public/aurora.ts
|
|
720
|
-
var
|
|
721
|
-
var zTeacherDisplay =
|
|
722
|
-
name:
|
|
723
|
-
email:
|
|
724
|
-
title:
|
|
725
|
-
imageUrl:
|
|
726
|
-
bio:
|
|
727
|
-
});
|
|
728
|
-
var zCourseTable =
|
|
729
|
-
id:
|
|
730
|
-
name:
|
|
731
|
-
duration:
|
|
732
|
-
dateAndTime:
|
|
733
|
-
recommendedLevel:
|
|
734
|
-
tuition:
|
|
749
|
+
var import_zod25 = require("zod");
|
|
750
|
+
var zTeacherDisplay = import_zod25.z.object({
|
|
751
|
+
name: import_zod25.z.string(),
|
|
752
|
+
email: import_zod25.z.string().email(),
|
|
753
|
+
title: import_zod25.z.string(),
|
|
754
|
+
imageUrl: import_zod25.z.string(),
|
|
755
|
+
bio: import_zod25.z.string()
|
|
756
|
+
});
|
|
757
|
+
var zCourseTable = import_zod25.z.object({
|
|
758
|
+
id: import_zod25.z.string(),
|
|
759
|
+
name: import_zod25.z.string(),
|
|
760
|
+
duration: import_zod25.z.number(),
|
|
761
|
+
dateAndTime: import_zod25.z.string(),
|
|
762
|
+
recommendedLevel: import_zod25.z.string(),
|
|
763
|
+
tuition: import_zod25.z.string()
|
|
735
764
|
});
|
|
736
765
|
|
|
737
766
|
// src/interface/public/imageDef.ts
|
|
738
|
-
var
|
|
739
|
-
var zImageDef =
|
|
740
|
-
url:
|
|
741
|
-
height:
|
|
742
|
-
width:
|
|
767
|
+
var import_zod26 = require("zod");
|
|
768
|
+
var zImageDef = import_zod26.z.object({
|
|
769
|
+
url: import_zod26.z.string().url(),
|
|
770
|
+
height: import_zod26.z.coerce.number().int(),
|
|
771
|
+
width: import_zod26.z.coerce.number().int()
|
|
743
772
|
});
|
|
744
773
|
|
|
745
774
|
// src/interface/reporting/reportTicket.ts
|
|
746
|
-
var
|
|
775
|
+
var import_zod27 = require("zod");
|
|
747
776
|
|
|
748
777
|
// src/interface/reporting/ticketStatus.ts
|
|
749
778
|
var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
|
|
@@ -755,12 +784,12 @@ var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
|
|
|
755
784
|
})(TicketStatus || {});
|
|
756
785
|
|
|
757
786
|
// src/interface/reporting/reportTicket.ts
|
|
758
|
-
var zBReportTicket =
|
|
759
|
-
requester:
|
|
760
|
-
resolver:
|
|
761
|
-
status:
|
|
762
|
-
title:
|
|
763
|
-
description:
|
|
787
|
+
var zBReportTicket = import_zod27.z.object({
|
|
788
|
+
requester: import_zod27.z.string(),
|
|
789
|
+
resolver: import_zod27.z.string().optional(),
|
|
790
|
+
status: import_zod27.z.nativeEnum(TicketStatus),
|
|
791
|
+
title: import_zod27.z.string(),
|
|
792
|
+
description: import_zod27.z.string()
|
|
764
793
|
});
|
|
765
794
|
var zReportTicket = addAutoProps(zBReportTicket);
|
|
766
795
|
var zReportTicketResponse = zReportTicket.extend({
|
|
@@ -769,45 +798,45 @@ var zReportTicketResponse = zReportTicket.extend({
|
|
|
769
798
|
});
|
|
770
799
|
|
|
771
800
|
// src/interface/event/eConfig.ts
|
|
772
|
-
var
|
|
801
|
+
var import_zod30 = require("zod");
|
|
773
802
|
|
|
774
803
|
// src/interface/event/eTicket.ts
|
|
775
|
-
var
|
|
776
|
-
var zBEventTicket =
|
|
777
|
-
name:
|
|
804
|
+
var import_zod28 = require("zod");
|
|
805
|
+
var zBEventTicket = import_zod28.z.object({
|
|
806
|
+
name: import_zod28.z.string().min(4, "Name must be at least 4 characters"),
|
|
778
807
|
/**
|
|
779
808
|
* Price in cents
|
|
780
809
|
*/
|
|
781
|
-
price:
|
|
810
|
+
price: import_zod28.z.coerce.number().min(0, "Price must not be negative"),
|
|
782
811
|
/**
|
|
783
812
|
* @optional description of the ticket
|
|
784
813
|
*/
|
|
785
|
-
description:
|
|
814
|
+
description: import_zod28.z.string().optional(),
|
|
786
815
|
/**
|
|
787
816
|
* @optional The ticket cannot be purchased if true
|
|
788
817
|
*/
|
|
789
|
-
isNotBuyable:
|
|
818
|
+
isNotBuyable: import_zod28.z.boolean().optional(),
|
|
790
819
|
/**
|
|
791
820
|
* @optional If date is provided and in the past, ticket cannot be purchased
|
|
792
821
|
*/
|
|
793
|
-
lastBuyableDate:
|
|
822
|
+
lastBuyableDate: import_zod28.z.coerce.date().optional(),
|
|
794
823
|
/**
|
|
795
824
|
* @optional max limit is 1 unless maxPerOrder is specified
|
|
796
825
|
*/
|
|
797
|
-
maxPerOrder:
|
|
826
|
+
maxPerOrder: import_zod28.z.coerce.number().int().optional()
|
|
798
827
|
});
|
|
799
828
|
var zEventTicket = addAutoProps(zBEventTicket);
|
|
800
829
|
|
|
801
830
|
// src/interface/event/table.ts
|
|
802
|
-
var
|
|
803
|
-
var zTable =
|
|
804
|
-
var zDetailsTable =
|
|
805
|
-
fields:
|
|
831
|
+
var import_zod29 = require("zod");
|
|
832
|
+
var zTable = import_zod29.z.array(import_zod29.z.record(import_zod29.z.string(), import_zod29.z.string()));
|
|
833
|
+
var zDetailsTable = import_zod29.z.object({
|
|
834
|
+
fields: import_zod29.z.array(import_zod29.z.string()).length(2),
|
|
806
835
|
data: zTable
|
|
807
836
|
});
|
|
808
|
-
var zScheduleTable =
|
|
809
|
-
fields:
|
|
810
|
-
data:
|
|
837
|
+
var zScheduleTable = import_zod29.z.object({
|
|
838
|
+
fields: import_zod29.z.array(import_zod29.z.string()).length(2),
|
|
839
|
+
data: import_zod29.z.record(import_zod29.z.string(), zTable)
|
|
811
840
|
});
|
|
812
841
|
|
|
813
842
|
// src/interface/event/youthOrAdult.ts
|
|
@@ -818,40 +847,40 @@ var YouthOrAdult = /* @__PURE__ */ ((YouthOrAdult2) => {
|
|
|
818
847
|
})(YouthOrAdult || {});
|
|
819
848
|
|
|
820
849
|
// src/interface/event/eConfig.ts
|
|
821
|
-
var zBEventConfig =
|
|
850
|
+
var zBEventConfig = import_zod30.z.object({
|
|
822
851
|
/**
|
|
823
852
|
* Location of the event
|
|
824
853
|
*/
|
|
825
|
-
location:
|
|
854
|
+
location: import_zod30.z.string().optional(),
|
|
826
855
|
/**
|
|
827
856
|
* URL of the tournament on the official website
|
|
828
857
|
* Must be a valid URL link
|
|
829
858
|
*/
|
|
830
|
-
url:
|
|
859
|
+
url: import_zod30.z.string(),
|
|
831
860
|
/**
|
|
832
861
|
* Full name of the tournament
|
|
833
862
|
*/
|
|
834
|
-
title:
|
|
863
|
+
title: import_zod30.z.string().min(5),
|
|
835
864
|
/**
|
|
836
865
|
* Abbreviated title of the tournament
|
|
837
866
|
*/
|
|
838
|
-
shortTitle:
|
|
867
|
+
shortTitle: import_zod30.z.string().min(2),
|
|
839
868
|
/**
|
|
840
869
|
* Tournament start date and time
|
|
841
870
|
*/
|
|
842
|
-
tStart:
|
|
871
|
+
tStart: import_zod30.z.coerce.date(),
|
|
843
872
|
/**
|
|
844
873
|
* Tournament end date and time
|
|
845
874
|
*/
|
|
846
|
-
tEnd:
|
|
875
|
+
tEnd: import_zod30.z.coerce.date(),
|
|
847
876
|
/**
|
|
848
877
|
* Short description for tournament card
|
|
849
878
|
*/
|
|
850
|
-
shortDescription:
|
|
879
|
+
shortDescription: import_zod30.z.string().min(5),
|
|
851
880
|
/**
|
|
852
881
|
* Full description
|
|
853
882
|
*/
|
|
854
|
-
description:
|
|
883
|
+
description: import_zod30.z.string().min(5),
|
|
855
884
|
/**
|
|
856
885
|
* Defines the tournament details table with 2 columns
|
|
857
886
|
* typically Time and Event
|
|
@@ -866,30 +895,30 @@ var zBEventConfig = import_zod29.z.object({
|
|
|
866
895
|
* @optional description of the tickets step, shown in service
|
|
867
896
|
* when the customer is on step 1 of the booking page
|
|
868
897
|
*/
|
|
869
|
-
ticketsStepDescription:
|
|
898
|
+
ticketsStepDescription: import_zod30.z.string().optional(),
|
|
870
899
|
/**
|
|
871
900
|
* @optional description of the participant step, shown in service
|
|
872
901
|
* when the customer is on step 2 of the booking page
|
|
873
902
|
*/
|
|
874
|
-
participantStepDescription:
|
|
903
|
+
participantStepDescription: import_zod30.z.string().optional(),
|
|
875
904
|
/**
|
|
876
905
|
* List of ticket object IDs for this tournament
|
|
877
906
|
*/
|
|
878
|
-
tickets:
|
|
907
|
+
tickets: import_zod30.z.array(import_zod30.z.string()),
|
|
879
908
|
/**
|
|
880
909
|
* If false, the tournament registration is closed
|
|
881
910
|
*/
|
|
882
|
-
canRegister:
|
|
911
|
+
canRegister: import_zod30.z.boolean(),
|
|
883
912
|
/**
|
|
884
913
|
* Defines the registration of youth and adults in the event
|
|
885
914
|
* youth_only - only youth
|
|
886
915
|
* both - both youth and adult
|
|
887
916
|
*/
|
|
888
|
-
youthOrAdult:
|
|
917
|
+
youthOrAdult: import_zod30.z.nativeEnum(YouthOrAdult).optional(),
|
|
889
918
|
/**
|
|
890
919
|
* If true, free form donation amounts are disabled.
|
|
891
920
|
*/
|
|
892
|
-
donationsDisabled:
|
|
921
|
+
donationsDisabled: import_zod30.z.boolean().optional(),
|
|
893
922
|
/**
|
|
894
923
|
* Defines URL, height, width of the image
|
|
895
924
|
*/
|
|
@@ -897,42 +926,42 @@ var zBEventConfig = import_zod29.z.object({
|
|
|
897
926
|
});
|
|
898
927
|
var zEventConfig = addAutoProps(zBEventConfig);
|
|
899
928
|
var zEventConfigResponse = zEventConfig.extend({
|
|
900
|
-
tickets:
|
|
929
|
+
tickets: import_zod30.z.array(zEventTicket)
|
|
901
930
|
});
|
|
902
931
|
|
|
903
932
|
// src/interface/event/eReg.ts
|
|
904
|
-
var
|
|
933
|
+
var import_zod32 = require("zod");
|
|
905
934
|
|
|
906
935
|
// src/interface/event/eTicketReg.ts
|
|
907
|
-
var
|
|
908
|
-
var zEventTicketReg =
|
|
909
|
-
ticket:
|
|
936
|
+
var import_zod31 = require("zod");
|
|
937
|
+
var zEventTicketReg = import_zod31.z.object({
|
|
938
|
+
ticket: import_zod31.z.string(),
|
|
910
939
|
/**
|
|
911
940
|
* integer minimum 1, otherwise no ticket is being bought
|
|
912
941
|
*/
|
|
913
|
-
amount:
|
|
942
|
+
amount: import_zod31.z.number().int().min(1)
|
|
914
943
|
});
|
|
915
944
|
var zEventTicketRegResponse = zEventTicketReg.extend({
|
|
916
945
|
ticket: zEventTicket
|
|
917
946
|
});
|
|
918
947
|
|
|
919
948
|
// src/interface/event/eReg.ts
|
|
920
|
-
var zBEventReg =
|
|
921
|
-
agaId:
|
|
922
|
-
tournamentId:
|
|
923
|
-
tickets:
|
|
949
|
+
var zBEventReg = import_zod32.z.object({
|
|
950
|
+
agaId: import_zod32.z.string(),
|
|
951
|
+
tournamentId: import_zod32.z.string(),
|
|
952
|
+
tickets: import_zod32.z.array(zEventTicketReg),
|
|
924
953
|
/**
|
|
925
954
|
* @units CENTS - Donation in cents
|
|
926
955
|
*/
|
|
927
|
-
donation:
|
|
956
|
+
donation: import_zod32.z.coerce.number().optional(),
|
|
928
957
|
/**
|
|
929
958
|
* How the registration was created, through public endpoint or admin
|
|
930
959
|
*/
|
|
931
|
-
createMethod:
|
|
960
|
+
createMethod: import_zod32.z.string().optional()
|
|
932
961
|
}).merge(zBUserInfo).merge(zBPaymentInfo);
|
|
933
962
|
var zEventReg = addAutoProps(zBEventReg);
|
|
934
963
|
var zEventRegResponse = zEventReg.extend({
|
|
935
|
-
tickets:
|
|
964
|
+
tickets: import_zod32.z.array(zEventTicketRegResponse)
|
|
936
965
|
});
|
|
937
966
|
// Annotate the CommonJS export names for ESM import in node:
|
|
938
967
|
0 && (module.exports = {
|
|
@@ -974,6 +1003,7 @@ var zEventRegResponse = zEventReg.extend({
|
|
|
974
1003
|
zBTeacherPayment,
|
|
975
1004
|
zBUser,
|
|
976
1005
|
zBUserInfo,
|
|
1006
|
+
zBUserProfile,
|
|
977
1007
|
zCampBooking,
|
|
978
1008
|
zCampTracker,
|
|
979
1009
|
zCampTrackerResponse,
|
|
@@ -1019,5 +1049,6 @@ var zEventRegResponse = zEventReg.extend({
|
|
|
1019
1049
|
zTrackerCreate,
|
|
1020
1050
|
zTuition,
|
|
1021
1051
|
zUser,
|
|
1052
|
+
zUserProfile,
|
|
1022
1053
|
zUserRoles
|
|
1023
1054
|
});
|