@nyig/models 0.3.14 → 0.4.0
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 +813 -84
- package/index.d.ts +813 -84
- package/index.js +212 -171
- package/index.mjs +208 -171
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -1920,6 +1920,35 @@ type BCampTracker = z.infer<typeof zBCampTracker>;
|
|
|
1920
1920
|
type CampTracker = z.infer<typeof zCampTracker>;
|
|
1921
1921
|
type CampTrackerResponse = z.infer<typeof zCampTrackerResponse>;
|
|
1922
1922
|
|
|
1923
|
+
declare enum DayOfWeek {
|
|
1924
|
+
SUNDAY = 0,
|
|
1925
|
+
MONDAY = 1,
|
|
1926
|
+
TUESDAY = 2,
|
|
1927
|
+
WEDNESDAY = 3,
|
|
1928
|
+
THURSDAY = 4,
|
|
1929
|
+
FRIDAY = 5,
|
|
1930
|
+
SATURDAY = 6
|
|
1931
|
+
}
|
|
1932
|
+
declare const zDayOfWeek: z.ZodNativeEnum<typeof DayOfWeek>;
|
|
1933
|
+
|
|
1934
|
+
declare const zClassTimesInput: z.ZodObject<{
|
|
1935
|
+
startDate: z.ZodDate;
|
|
1936
|
+
freq: z.ZodNumber;
|
|
1937
|
+
daysOfWeek: z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">;
|
|
1938
|
+
numberOfClasses: z.ZodNumber;
|
|
1939
|
+
}, "strip", z.ZodTypeAny, {
|
|
1940
|
+
startDate: Date;
|
|
1941
|
+
freq: number;
|
|
1942
|
+
daysOfWeek: DayOfWeek[];
|
|
1943
|
+
numberOfClasses: number;
|
|
1944
|
+
}, {
|
|
1945
|
+
startDate: Date;
|
|
1946
|
+
freq: number;
|
|
1947
|
+
daysOfWeek: DayOfWeek[];
|
|
1948
|
+
numberOfClasses: number;
|
|
1949
|
+
}>;
|
|
1950
|
+
|
|
1951
|
+
type ClassTimesInput = z.infer<typeof zClassTimesInput>;
|
|
1923
1952
|
declare const zBClassTracker: z.ZodObject<{
|
|
1924
1953
|
course: z.ZodString;
|
|
1925
1954
|
teacher: z.ZodString;
|
|
@@ -1933,19 +1962,6 @@ declare const zBClassTracker: z.ZodObject<{
|
|
|
1933
1962
|
/**
|
|
1934
1963
|
* @deprecated This field is no longer used
|
|
1935
1964
|
*/
|
|
1936
|
-
tuition: z.ZodOptional<z.ZodObject<{
|
|
1937
|
-
primary: z.ZodNumber;
|
|
1938
|
-
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
1939
|
-
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1940
|
-
}, "strip", z.ZodTypeAny, {
|
|
1941
|
-
primary: number;
|
|
1942
|
-
textbook?: boolean | undefined;
|
|
1943
|
-
shipping?: boolean | undefined;
|
|
1944
|
-
}, {
|
|
1945
|
-
primary: number;
|
|
1946
|
-
textbook?: boolean | undefined;
|
|
1947
|
-
shipping?: boolean | undefined;
|
|
1948
|
-
}>>;
|
|
1949
1965
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
1950
1966
|
paused: z.ZodOptional<z.ZodBoolean>;
|
|
1951
1967
|
notes: z.ZodOptional<z.ZodString>;
|
|
@@ -1956,11 +1972,6 @@ declare const zBClassTracker: z.ZodObject<{
|
|
|
1956
1972
|
classTimes: Date[];
|
|
1957
1973
|
completedList: boolean[];
|
|
1958
1974
|
completed?: boolean | undefined;
|
|
1959
|
-
tuition?: {
|
|
1960
|
-
primary: number;
|
|
1961
|
-
textbook?: boolean | undefined;
|
|
1962
|
-
shipping?: boolean | undefined;
|
|
1963
|
-
} | undefined;
|
|
1964
1975
|
paid?: boolean | undefined;
|
|
1965
1976
|
paused?: boolean | undefined;
|
|
1966
1977
|
notes?: string | undefined;
|
|
@@ -1971,11 +1982,6 @@ declare const zBClassTracker: z.ZodObject<{
|
|
|
1971
1982
|
classTimes: Date[];
|
|
1972
1983
|
completedList: boolean[];
|
|
1973
1984
|
completed?: boolean | undefined;
|
|
1974
|
-
tuition?: {
|
|
1975
|
-
primary: number;
|
|
1976
|
-
textbook?: boolean | undefined;
|
|
1977
|
-
shipping?: boolean | undefined;
|
|
1978
|
-
} | undefined;
|
|
1979
1985
|
paid?: boolean | undefined;
|
|
1980
1986
|
paused?: boolean | undefined;
|
|
1981
1987
|
notes?: string | undefined;
|
|
@@ -1983,19 +1989,6 @@ declare const zBClassTracker: z.ZodObject<{
|
|
|
1983
1989
|
declare const zClassTracker: z.ZodObject<{
|
|
1984
1990
|
notes: z.ZodOptional<z.ZodString>;
|
|
1985
1991
|
student: z.ZodString;
|
|
1986
|
-
tuition: z.ZodOptional<z.ZodObject<{
|
|
1987
|
-
primary: z.ZodNumber;
|
|
1988
|
-
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
1989
|
-
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1990
|
-
}, "strip", z.ZodTypeAny, {
|
|
1991
|
-
primary: number;
|
|
1992
|
-
textbook?: boolean | undefined;
|
|
1993
|
-
shipping?: boolean | undefined;
|
|
1994
|
-
}, {
|
|
1995
|
-
primary: number;
|
|
1996
|
-
textbook?: boolean | undefined;
|
|
1997
|
-
shipping?: boolean | undefined;
|
|
1998
|
-
}>>;
|
|
1999
1992
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
2000
1993
|
course: z.ZodString;
|
|
2001
1994
|
teacher: z.ZodString;
|
|
@@ -2015,11 +2008,6 @@ declare const zClassTracker: z.ZodObject<{
|
|
|
2015
2008
|
classTimes: Date[];
|
|
2016
2009
|
completedList: boolean[];
|
|
2017
2010
|
notes?: string | undefined;
|
|
2018
|
-
tuition?: {
|
|
2019
|
-
primary: number;
|
|
2020
|
-
textbook?: boolean | undefined;
|
|
2021
|
-
shipping?: boolean | undefined;
|
|
2022
|
-
} | undefined;
|
|
2023
2011
|
paid?: boolean | undefined;
|
|
2024
2012
|
completed?: boolean | undefined;
|
|
2025
2013
|
paused?: boolean | undefined;
|
|
@@ -2034,11 +2022,6 @@ declare const zClassTracker: z.ZodObject<{
|
|
|
2034
2022
|
classTimes: Date[];
|
|
2035
2023
|
completedList: boolean[];
|
|
2036
2024
|
notes?: string | undefined;
|
|
2037
|
-
tuition?: {
|
|
2038
|
-
primary: number;
|
|
2039
|
-
textbook?: boolean | undefined;
|
|
2040
|
-
shipping?: boolean | undefined;
|
|
2041
|
-
} | undefined;
|
|
2042
2025
|
paid?: boolean | undefined;
|
|
2043
2026
|
completed?: boolean | undefined;
|
|
2044
2027
|
paused?: boolean | undefined;
|
|
@@ -2052,19 +2035,6 @@ declare const zClassTrackerResponse: z.ZodObject<{
|
|
|
2052
2035
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2053
2036
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
2054
2037
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2055
|
-
tuition: z.ZodOptional<z.ZodObject<{
|
|
2056
|
-
primary: z.ZodNumber;
|
|
2057
|
-
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
2058
|
-
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
2059
|
-
}, "strip", z.ZodTypeAny, {
|
|
2060
|
-
primary: number;
|
|
2061
|
-
textbook?: boolean | undefined;
|
|
2062
|
-
shipping?: boolean | undefined;
|
|
2063
|
-
}, {
|
|
2064
|
-
primary: number;
|
|
2065
|
-
textbook?: boolean | undefined;
|
|
2066
|
-
shipping?: boolean | undefined;
|
|
2067
|
-
}>>;
|
|
2068
2038
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
2069
2039
|
classTimes: z.ZodArray<z.ZodDate, "many">;
|
|
2070
2040
|
completedList: z.ZodArray<z.ZodBoolean, "many">;
|
|
@@ -2340,11 +2310,6 @@ declare const zClassTrackerResponse: z.ZodObject<{
|
|
|
2340
2310
|
editedBy?: string | undefined;
|
|
2341
2311
|
createdAt?: string | undefined;
|
|
2342
2312
|
updatedAt?: string | undefined;
|
|
2343
|
-
tuition?: {
|
|
2344
|
-
primary: number;
|
|
2345
|
-
textbook?: boolean | undefined;
|
|
2346
|
-
shipping?: boolean | undefined;
|
|
2347
|
-
} | undefined;
|
|
2348
2313
|
paid?: boolean | undefined;
|
|
2349
2314
|
completed?: boolean | undefined;
|
|
2350
2315
|
paused?: boolean | undefined;
|
|
@@ -2419,15 +2384,70 @@ declare const zClassTrackerResponse: z.ZodObject<{
|
|
|
2419
2384
|
editedBy?: string | undefined;
|
|
2420
2385
|
createdAt?: string | undefined;
|
|
2421
2386
|
updatedAt?: string | undefined;
|
|
2422
|
-
tuition?: {
|
|
2423
|
-
primary: number;
|
|
2424
|
-
textbook?: boolean | undefined;
|
|
2425
|
-
shipping?: boolean | undefined;
|
|
2426
|
-
} | undefined;
|
|
2427
2387
|
paid?: boolean | undefined;
|
|
2428
2388
|
completed?: boolean | undefined;
|
|
2429
2389
|
paused?: boolean | undefined;
|
|
2430
2390
|
}>;
|
|
2391
|
+
declare const zTrackerCreate: z.ZodObject<{
|
|
2392
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
2393
|
+
student: z.ZodString;
|
|
2394
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
2395
|
+
course: z.ZodString;
|
|
2396
|
+
teacher: z.ZodString;
|
|
2397
|
+
classTimes: z.ZodArray<z.ZodDate, "many">;
|
|
2398
|
+
completedList: z.ZodArray<z.ZodBoolean, "many">;
|
|
2399
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
2400
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
2401
|
+
classTimesInput: z.ZodObject<{
|
|
2402
|
+
startDate: z.ZodDate;
|
|
2403
|
+
freq: z.ZodNumber;
|
|
2404
|
+
daysOfWeek: z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">;
|
|
2405
|
+
numberOfClasses: z.ZodNumber;
|
|
2406
|
+
}, "strip", z.ZodTypeAny, {
|
|
2407
|
+
startDate: Date;
|
|
2408
|
+
freq: number;
|
|
2409
|
+
daysOfWeek: DayOfWeek[];
|
|
2410
|
+
numberOfClasses: number;
|
|
2411
|
+
}, {
|
|
2412
|
+
startDate: Date;
|
|
2413
|
+
freq: number;
|
|
2414
|
+
daysOfWeek: DayOfWeek[];
|
|
2415
|
+
numberOfClasses: number;
|
|
2416
|
+
}>;
|
|
2417
|
+
}, "strip", z.ZodTypeAny, {
|
|
2418
|
+
student: string;
|
|
2419
|
+
course: string;
|
|
2420
|
+
teacher: string;
|
|
2421
|
+
classTimes: Date[];
|
|
2422
|
+
completedList: boolean[];
|
|
2423
|
+
classTimesInput: {
|
|
2424
|
+
startDate: Date;
|
|
2425
|
+
freq: number;
|
|
2426
|
+
daysOfWeek: DayOfWeek[];
|
|
2427
|
+
numberOfClasses: number;
|
|
2428
|
+
};
|
|
2429
|
+
notes?: string | undefined;
|
|
2430
|
+
paid?: boolean | undefined;
|
|
2431
|
+
completed?: boolean | undefined;
|
|
2432
|
+
paused?: boolean | undefined;
|
|
2433
|
+
}, {
|
|
2434
|
+
student: string;
|
|
2435
|
+
course: string;
|
|
2436
|
+
teacher: string;
|
|
2437
|
+
classTimes: Date[];
|
|
2438
|
+
completedList: boolean[];
|
|
2439
|
+
classTimesInput: {
|
|
2440
|
+
startDate: Date;
|
|
2441
|
+
freq: number;
|
|
2442
|
+
daysOfWeek: DayOfWeek[];
|
|
2443
|
+
numberOfClasses: number;
|
|
2444
|
+
};
|
|
2445
|
+
notes?: string | undefined;
|
|
2446
|
+
paid?: boolean | undefined;
|
|
2447
|
+
completed?: boolean | undefined;
|
|
2448
|
+
paused?: boolean | undefined;
|
|
2449
|
+
}>;
|
|
2450
|
+
type TrackerCreate = z.infer<typeof zTrackerCreate>;
|
|
2431
2451
|
type BClassTracker = z.infer<typeof zBClassTracker>;
|
|
2432
2452
|
type ClassTracker = z.infer<typeof zClassTracker>;
|
|
2433
2453
|
type ClassTrackerResponse = z.infer<typeof zClassTrackerResponse>;
|
|
@@ -2449,11 +2469,61 @@ declare const zBGroupTracker: z.ZodObject<{
|
|
|
2449
2469
|
/**
|
|
2450
2470
|
* occurrences are tracked by week for Groups
|
|
2451
2471
|
*/
|
|
2452
|
-
occurrences: z.ZodArray<z.
|
|
2472
|
+
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
2453
2473
|
/**
|
|
2454
2474
|
* attendances are tracked by week for Groups
|
|
2455
2475
|
*/
|
|
2456
|
-
attendances: z.ZodArray<z.
|
|
2476
|
+
attendances: z.ZodArray<z.ZodObject<{
|
|
2477
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2478
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2479
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2480
|
+
student: z.ZodString;
|
|
2481
|
+
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
2482
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
2483
|
+
primary: z.ZodNumber;
|
|
2484
|
+
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
2485
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
2486
|
+
}, "strip", z.ZodTypeAny, {
|
|
2487
|
+
primary: number;
|
|
2488
|
+
textbook?: boolean | undefined;
|
|
2489
|
+
shipping?: boolean | undefined;
|
|
2490
|
+
}, {
|
|
2491
|
+
primary: number;
|
|
2492
|
+
textbook?: boolean | undefined;
|
|
2493
|
+
shipping?: boolean | undefined;
|
|
2494
|
+
}>>;
|
|
2495
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
2496
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
2497
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
2498
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2499
|
+
student: string;
|
|
2500
|
+
states: AttendState[];
|
|
2501
|
+
editedBy?: string | undefined;
|
|
2502
|
+
createdAt?: string | undefined;
|
|
2503
|
+
updatedAt?: string | undefined;
|
|
2504
|
+
tuition?: {
|
|
2505
|
+
primary: number;
|
|
2506
|
+
textbook?: boolean | undefined;
|
|
2507
|
+
shipping?: boolean | undefined;
|
|
2508
|
+
} | undefined;
|
|
2509
|
+
paid?: boolean | undefined;
|
|
2510
|
+
campOption?: CampOption | undefined;
|
|
2511
|
+
_id?: string | undefined;
|
|
2512
|
+
}, {
|
|
2513
|
+
student: string;
|
|
2514
|
+
states: AttendState[];
|
|
2515
|
+
editedBy?: string | undefined;
|
|
2516
|
+
createdAt?: string | undefined;
|
|
2517
|
+
updatedAt?: string | undefined;
|
|
2518
|
+
tuition?: {
|
|
2519
|
+
primary: number;
|
|
2520
|
+
textbook?: boolean | undefined;
|
|
2521
|
+
shipping?: boolean | undefined;
|
|
2522
|
+
} | undefined;
|
|
2523
|
+
paid?: boolean | undefined;
|
|
2524
|
+
campOption?: CampOption | undefined;
|
|
2525
|
+
_id?: string | undefined;
|
|
2526
|
+
}>, "many">;
|
|
2457
2527
|
/**
|
|
2458
2528
|
* public-facing ID of the course instance, e.g., 101
|
|
2459
2529
|
*/
|
|
@@ -2471,8 +2541,22 @@ declare const zBGroupTracker: z.ZodObject<{
|
|
|
2471
2541
|
course: string;
|
|
2472
2542
|
teacher: string;
|
|
2473
2543
|
semester: string;
|
|
2474
|
-
occurrences:
|
|
2475
|
-
attendances:
|
|
2544
|
+
occurrences: string[];
|
|
2545
|
+
attendances: {
|
|
2546
|
+
student: string;
|
|
2547
|
+
states: AttendState[];
|
|
2548
|
+
editedBy?: string | undefined;
|
|
2549
|
+
createdAt?: string | undefined;
|
|
2550
|
+
updatedAt?: string | undefined;
|
|
2551
|
+
tuition?: {
|
|
2552
|
+
primary: number;
|
|
2553
|
+
textbook?: boolean | undefined;
|
|
2554
|
+
shipping?: boolean | undefined;
|
|
2555
|
+
} | undefined;
|
|
2556
|
+
paid?: boolean | undefined;
|
|
2557
|
+
campOption?: CampOption | undefined;
|
|
2558
|
+
_id?: string | undefined;
|
|
2559
|
+
}[];
|
|
2476
2560
|
scheduleData: {
|
|
2477
2561
|
startTime: string;
|
|
2478
2562
|
dayOfWeek: number;
|
|
@@ -2485,8 +2569,22 @@ declare const zBGroupTracker: z.ZodObject<{
|
|
|
2485
2569
|
course: string;
|
|
2486
2570
|
teacher: string;
|
|
2487
2571
|
semester: string;
|
|
2488
|
-
occurrences:
|
|
2489
|
-
attendances:
|
|
2572
|
+
occurrences: string[];
|
|
2573
|
+
attendances: {
|
|
2574
|
+
student: string;
|
|
2575
|
+
states: AttendState[];
|
|
2576
|
+
editedBy?: string | undefined;
|
|
2577
|
+
createdAt?: string | undefined;
|
|
2578
|
+
updatedAt?: string | undefined;
|
|
2579
|
+
tuition?: {
|
|
2580
|
+
primary: number;
|
|
2581
|
+
textbook?: boolean | undefined;
|
|
2582
|
+
shipping?: boolean | undefined;
|
|
2583
|
+
} | undefined;
|
|
2584
|
+
paid?: boolean | undefined;
|
|
2585
|
+
campOption?: CampOption | undefined;
|
|
2586
|
+
_id?: string | undefined;
|
|
2587
|
+
}[];
|
|
2490
2588
|
scheduleData: {
|
|
2491
2589
|
startTime: string;
|
|
2492
2590
|
dayOfWeek: number;
|
|
@@ -2501,8 +2599,58 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
2501
2599
|
course: z.ZodString;
|
|
2502
2600
|
teacher: z.ZodString;
|
|
2503
2601
|
semester: z.ZodString;
|
|
2504
|
-
occurrences: z.ZodArray<z.
|
|
2505
|
-
attendances: z.ZodArray<z.
|
|
2602
|
+
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
2603
|
+
attendances: z.ZodArray<z.ZodObject<{
|
|
2604
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2605
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2606
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2607
|
+
student: z.ZodString;
|
|
2608
|
+
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
2609
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
2610
|
+
primary: z.ZodNumber;
|
|
2611
|
+
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
2612
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
2613
|
+
}, "strip", z.ZodTypeAny, {
|
|
2614
|
+
primary: number;
|
|
2615
|
+
textbook?: boolean | undefined;
|
|
2616
|
+
shipping?: boolean | undefined;
|
|
2617
|
+
}, {
|
|
2618
|
+
primary: number;
|
|
2619
|
+
textbook?: boolean | undefined;
|
|
2620
|
+
shipping?: boolean | undefined;
|
|
2621
|
+
}>>;
|
|
2622
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
2623
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
2624
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
2625
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2626
|
+
student: string;
|
|
2627
|
+
states: AttendState[];
|
|
2628
|
+
editedBy?: string | undefined;
|
|
2629
|
+
createdAt?: string | undefined;
|
|
2630
|
+
updatedAt?: string | undefined;
|
|
2631
|
+
tuition?: {
|
|
2632
|
+
primary: number;
|
|
2633
|
+
textbook?: boolean | undefined;
|
|
2634
|
+
shipping?: boolean | undefined;
|
|
2635
|
+
} | undefined;
|
|
2636
|
+
paid?: boolean | undefined;
|
|
2637
|
+
campOption?: CampOption | undefined;
|
|
2638
|
+
_id?: string | undefined;
|
|
2639
|
+
}, {
|
|
2640
|
+
student: string;
|
|
2641
|
+
states: AttendState[];
|
|
2642
|
+
editedBy?: string | undefined;
|
|
2643
|
+
createdAt?: string | undefined;
|
|
2644
|
+
updatedAt?: string | undefined;
|
|
2645
|
+
tuition?: {
|
|
2646
|
+
primary: number;
|
|
2647
|
+
textbook?: boolean | undefined;
|
|
2648
|
+
shipping?: boolean | undefined;
|
|
2649
|
+
} | undefined;
|
|
2650
|
+
paid?: boolean | undefined;
|
|
2651
|
+
campOption?: CampOption | undefined;
|
|
2652
|
+
_id?: string | undefined;
|
|
2653
|
+
}>, "many">;
|
|
2506
2654
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
2507
2655
|
scheduleData: z.ZodObject<{
|
|
2508
2656
|
startTime: z.ZodString;
|
|
@@ -2525,10 +2673,24 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
2525
2673
|
course: string;
|
|
2526
2674
|
teacher: string;
|
|
2527
2675
|
semester: string;
|
|
2528
|
-
occurrences:
|
|
2529
|
-
attendances:
|
|
2530
|
-
|
|
2531
|
-
|
|
2676
|
+
occurrences: string[];
|
|
2677
|
+
attendances: {
|
|
2678
|
+
student: string;
|
|
2679
|
+
states: AttendState[];
|
|
2680
|
+
editedBy?: string | undefined;
|
|
2681
|
+
createdAt?: string | undefined;
|
|
2682
|
+
updatedAt?: string | undefined;
|
|
2683
|
+
tuition?: {
|
|
2684
|
+
primary: number;
|
|
2685
|
+
textbook?: boolean | undefined;
|
|
2686
|
+
shipping?: boolean | undefined;
|
|
2687
|
+
} | undefined;
|
|
2688
|
+
paid?: boolean | undefined;
|
|
2689
|
+
campOption?: CampOption | undefined;
|
|
2690
|
+
_id?: string | undefined;
|
|
2691
|
+
}[];
|
|
2692
|
+
scheduleData: {
|
|
2693
|
+
startTime: string;
|
|
2532
2694
|
dayOfWeek: number;
|
|
2533
2695
|
};
|
|
2534
2696
|
notes?: string | undefined;
|
|
@@ -2543,8 +2705,22 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
2543
2705
|
course: string;
|
|
2544
2706
|
teacher: string;
|
|
2545
2707
|
semester: string;
|
|
2546
|
-
occurrences:
|
|
2547
|
-
attendances:
|
|
2708
|
+
occurrences: string[];
|
|
2709
|
+
attendances: {
|
|
2710
|
+
student: string;
|
|
2711
|
+
states: AttendState[];
|
|
2712
|
+
editedBy?: string | undefined;
|
|
2713
|
+
createdAt?: string | undefined;
|
|
2714
|
+
updatedAt?: string | undefined;
|
|
2715
|
+
tuition?: {
|
|
2716
|
+
primary: number;
|
|
2717
|
+
textbook?: boolean | undefined;
|
|
2718
|
+
shipping?: boolean | undefined;
|
|
2719
|
+
} | undefined;
|
|
2720
|
+
paid?: boolean | undefined;
|
|
2721
|
+
campOption?: CampOption | undefined;
|
|
2722
|
+
_id?: string | undefined;
|
|
2723
|
+
}[];
|
|
2548
2724
|
scheduleData: {
|
|
2549
2725
|
startTime: string;
|
|
2550
2726
|
dayOfWeek: number;
|
|
@@ -2557,8 +2733,561 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
2557
2733
|
createdAt?: string | undefined;
|
|
2558
2734
|
updatedAt?: string | undefined;
|
|
2559
2735
|
}>;
|
|
2736
|
+
declare const zGroupTrackerResponse: z.ZodObject<{
|
|
2737
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
2738
|
+
_id: z.ZodString;
|
|
2739
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2740
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2741
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2742
|
+
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
2743
|
+
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
2744
|
+
scheduleData: z.ZodObject<{
|
|
2745
|
+
startTime: z.ZodString;
|
|
2746
|
+
dayOfWeek: z.ZodNumber;
|
|
2747
|
+
}, "strip", z.ZodTypeAny, {
|
|
2748
|
+
startTime: string;
|
|
2749
|
+
dayOfWeek: number;
|
|
2750
|
+
}, {
|
|
2751
|
+
startTime: string;
|
|
2752
|
+
dayOfWeek: number;
|
|
2753
|
+
}>;
|
|
2754
|
+
courseId: z.ZodOptional<z.ZodString>;
|
|
2755
|
+
ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
|
|
2756
|
+
course: z.ZodObject<{
|
|
2757
|
+
name: z.ZodString;
|
|
2758
|
+
category: z.ZodNativeEnum<typeof CourseCategory>;
|
|
2759
|
+
duration: z.ZodNumber;
|
|
2760
|
+
price: z.ZodNumber;
|
|
2761
|
+
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2762
|
+
nyigSchool: z.ZodNativeEnum<typeof NYIGSchool>;
|
|
2763
|
+
recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2764
|
+
halfCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
2765
|
+
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
2766
|
+
superadminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2767
|
+
_id: z.ZodString;
|
|
2768
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2769
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2771
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2772
|
+
_id: string;
|
|
2773
|
+
name: string;
|
|
2774
|
+
category: CourseCategory;
|
|
2775
|
+
duration: number;
|
|
2776
|
+
price: number;
|
|
2777
|
+
nyigSchool: NYIGSchool;
|
|
2778
|
+
description?: string | undefined;
|
|
2779
|
+
recLevel?: string | undefined;
|
|
2780
|
+
halfCampTuition?: number | undefined;
|
|
2781
|
+
fullCampTuition?: number | undefined;
|
|
2782
|
+
superadminOnly?: boolean | undefined;
|
|
2783
|
+
editedBy?: string | undefined;
|
|
2784
|
+
createdAt?: string | undefined;
|
|
2785
|
+
updatedAt?: string | undefined;
|
|
2786
|
+
}, {
|
|
2787
|
+
_id: string;
|
|
2788
|
+
name: string;
|
|
2789
|
+
category: CourseCategory;
|
|
2790
|
+
duration: number;
|
|
2791
|
+
price: number;
|
|
2792
|
+
nyigSchool: NYIGSchool;
|
|
2793
|
+
description?: string | undefined;
|
|
2794
|
+
recLevel?: string | undefined;
|
|
2795
|
+
halfCampTuition?: number | undefined;
|
|
2796
|
+
fullCampTuition?: number | undefined;
|
|
2797
|
+
superadminOnly?: boolean | undefined;
|
|
2798
|
+
editedBy?: string | undefined;
|
|
2799
|
+
createdAt?: string | undefined;
|
|
2800
|
+
updatedAt?: string | undefined;
|
|
2801
|
+
}>;
|
|
2802
|
+
teacher: z.ZodObject<{
|
|
2803
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
2804
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2805
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2806
|
+
name: z.ZodString;
|
|
2807
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2808
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2809
|
+
roles: z.ZodOptional<z.ZodObject<{
|
|
2810
|
+
user: z.ZodNumber;
|
|
2811
|
+
admin: z.ZodOptional<z.ZodNumber>;
|
|
2812
|
+
superadmin: z.ZodOptional<z.ZodNumber>;
|
|
2813
|
+
}, "strip", z.ZodTypeAny, {
|
|
2814
|
+
user: number;
|
|
2815
|
+
admin?: number | undefined;
|
|
2816
|
+
superadmin?: number | undefined;
|
|
2817
|
+
}, {
|
|
2818
|
+
user: number;
|
|
2819
|
+
admin?: number | undefined;
|
|
2820
|
+
superadmin?: number | undefined;
|
|
2821
|
+
}>>;
|
|
2822
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2823
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2824
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2825
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2826
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2827
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2828
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
2829
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2830
|
+
_id: z.ZodString;
|
|
2831
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2832
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2833
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2834
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2835
|
+
rank: GoRank;
|
|
2836
|
+
_id: string;
|
|
2837
|
+
name: string;
|
|
2838
|
+
email?: string | undefined;
|
|
2839
|
+
address?: string | undefined;
|
|
2840
|
+
username?: string | undefined;
|
|
2841
|
+
password?: string | undefined;
|
|
2842
|
+
roles?: {
|
|
2843
|
+
user: number;
|
|
2844
|
+
admin?: number | undefined;
|
|
2845
|
+
superadmin?: number | undefined;
|
|
2846
|
+
} | undefined;
|
|
2847
|
+
country?: string | undefined;
|
|
2848
|
+
phoneNumber?: string | undefined;
|
|
2849
|
+
birthDate?: string | undefined;
|
|
2850
|
+
shouldChangePassword?: boolean | undefined;
|
|
2851
|
+
isInactive?: boolean | undefined;
|
|
2852
|
+
title?: string | undefined;
|
|
2853
|
+
bio?: string | undefined;
|
|
2854
|
+
available?: number[][][] | undefined;
|
|
2855
|
+
editedBy?: string | undefined;
|
|
2856
|
+
createdAt?: string | undefined;
|
|
2857
|
+
updatedAt?: string | undefined;
|
|
2858
|
+
}, {
|
|
2859
|
+
rank: GoRank;
|
|
2860
|
+
_id: string;
|
|
2861
|
+
name: string;
|
|
2862
|
+
email?: string | undefined;
|
|
2863
|
+
address?: string | undefined;
|
|
2864
|
+
username?: string | undefined;
|
|
2865
|
+
password?: string | undefined;
|
|
2866
|
+
roles?: {
|
|
2867
|
+
user: number;
|
|
2868
|
+
admin?: number | undefined;
|
|
2869
|
+
superadmin?: number | undefined;
|
|
2870
|
+
} | undefined;
|
|
2871
|
+
country?: string | undefined;
|
|
2872
|
+
phoneNumber?: string | undefined;
|
|
2873
|
+
birthDate?: string | undefined;
|
|
2874
|
+
shouldChangePassword?: boolean | undefined;
|
|
2875
|
+
isInactive?: boolean | undefined;
|
|
2876
|
+
title?: string | undefined;
|
|
2877
|
+
bio?: string | undefined;
|
|
2878
|
+
available?: number[][][] | undefined;
|
|
2879
|
+
editedBy?: string | undefined;
|
|
2880
|
+
createdAt?: string | undefined;
|
|
2881
|
+
updatedAt?: string | undefined;
|
|
2882
|
+
}>;
|
|
2883
|
+
semester: z.ZodObject<{
|
|
2884
|
+
season: z.ZodNativeEnum<typeof Season>;
|
|
2885
|
+
year: z.ZodNumber;
|
|
2886
|
+
startDate: z.ZodDate;
|
|
2887
|
+
endDate: z.ZodDate;
|
|
2888
|
+
blackoutDates: z.ZodArray<z.ZodDate, "many">;
|
|
2889
|
+
importantDates: z.ZodArray<z.ZodString, "many">;
|
|
2890
|
+
_id: z.ZodString;
|
|
2891
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2892
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2893
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2894
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2895
|
+
_id: string;
|
|
2896
|
+
season: Season;
|
|
2897
|
+
year: number;
|
|
2898
|
+
startDate: Date;
|
|
2899
|
+
endDate: Date;
|
|
2900
|
+
blackoutDates: Date[];
|
|
2901
|
+
importantDates: string[];
|
|
2902
|
+
editedBy?: string | undefined;
|
|
2903
|
+
createdAt?: string | undefined;
|
|
2904
|
+
updatedAt?: string | undefined;
|
|
2905
|
+
}, {
|
|
2906
|
+
_id: string;
|
|
2907
|
+
season: Season;
|
|
2908
|
+
year: number;
|
|
2909
|
+
startDate: Date;
|
|
2910
|
+
endDate: Date;
|
|
2911
|
+
blackoutDates: Date[];
|
|
2912
|
+
importantDates: string[];
|
|
2913
|
+
editedBy?: string | undefined;
|
|
2914
|
+
createdAt?: string | undefined;
|
|
2915
|
+
updatedAt?: string | undefined;
|
|
2916
|
+
}>;
|
|
2917
|
+
attendances: z.ZodArray<z.ZodObject<{
|
|
2918
|
+
_id: z.ZodString;
|
|
2919
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2920
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2921
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2922
|
+
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
2923
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
2924
|
+
primary: z.ZodNumber;
|
|
2925
|
+
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
2926
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
2927
|
+
}, "strip", z.ZodTypeAny, {
|
|
2928
|
+
primary: number;
|
|
2929
|
+
textbook?: boolean | undefined;
|
|
2930
|
+
shipping?: boolean | undefined;
|
|
2931
|
+
}, {
|
|
2932
|
+
primary: number;
|
|
2933
|
+
textbook?: boolean | undefined;
|
|
2934
|
+
shipping?: boolean | undefined;
|
|
2935
|
+
}>>;
|
|
2936
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
2937
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
2938
|
+
student: z.ZodObject<{
|
|
2939
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
2940
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2941
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2942
|
+
name: z.ZodString;
|
|
2943
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2944
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2945
|
+
roles: z.ZodOptional<z.ZodObject<{
|
|
2946
|
+
user: z.ZodNumber;
|
|
2947
|
+
admin: z.ZodOptional<z.ZodNumber>;
|
|
2948
|
+
superadmin: z.ZodOptional<z.ZodNumber>;
|
|
2949
|
+
}, "strip", z.ZodTypeAny, {
|
|
2950
|
+
user: number;
|
|
2951
|
+
admin?: number | undefined;
|
|
2952
|
+
superadmin?: number | undefined;
|
|
2953
|
+
}, {
|
|
2954
|
+
user: number;
|
|
2955
|
+
admin?: number | undefined;
|
|
2956
|
+
superadmin?: number | undefined;
|
|
2957
|
+
}>>;
|
|
2958
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2959
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2960
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2961
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2962
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
2963
|
+
_id: z.ZodString;
|
|
2964
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2965
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2966
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2967
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2968
|
+
rank: GoRank;
|
|
2969
|
+
_id: string;
|
|
2970
|
+
name: string;
|
|
2971
|
+
email?: string | undefined;
|
|
2972
|
+
address?: string | undefined;
|
|
2973
|
+
username?: string | undefined;
|
|
2974
|
+
password?: string | undefined;
|
|
2975
|
+
roles?: {
|
|
2976
|
+
user: number;
|
|
2977
|
+
admin?: number | undefined;
|
|
2978
|
+
superadmin?: number | undefined;
|
|
2979
|
+
} | undefined;
|
|
2980
|
+
country?: string | undefined;
|
|
2981
|
+
phoneNumber?: string | undefined;
|
|
2982
|
+
birthDate?: string | undefined;
|
|
2983
|
+
shouldChangePassword?: boolean | undefined;
|
|
2984
|
+
guardian?: string | undefined;
|
|
2985
|
+
editedBy?: string | undefined;
|
|
2986
|
+
createdAt?: string | undefined;
|
|
2987
|
+
updatedAt?: string | undefined;
|
|
2988
|
+
}, {
|
|
2989
|
+
rank: GoRank;
|
|
2990
|
+
_id: string;
|
|
2991
|
+
name: string;
|
|
2992
|
+
email?: string | undefined;
|
|
2993
|
+
address?: string | undefined;
|
|
2994
|
+
username?: string | undefined;
|
|
2995
|
+
password?: string | undefined;
|
|
2996
|
+
roles?: {
|
|
2997
|
+
user: number;
|
|
2998
|
+
admin?: number | undefined;
|
|
2999
|
+
superadmin?: number | undefined;
|
|
3000
|
+
} | undefined;
|
|
3001
|
+
country?: string | undefined;
|
|
3002
|
+
phoneNumber?: string | undefined;
|
|
3003
|
+
birthDate?: string | undefined;
|
|
3004
|
+
shouldChangePassword?: boolean | undefined;
|
|
3005
|
+
guardian?: string | undefined;
|
|
3006
|
+
editedBy?: string | undefined;
|
|
3007
|
+
createdAt?: string | undefined;
|
|
3008
|
+
updatedAt?: string | undefined;
|
|
3009
|
+
}>;
|
|
3010
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3011
|
+
_id: string;
|
|
3012
|
+
student: {
|
|
3013
|
+
rank: GoRank;
|
|
3014
|
+
_id: string;
|
|
3015
|
+
name: string;
|
|
3016
|
+
email?: string | undefined;
|
|
3017
|
+
address?: string | undefined;
|
|
3018
|
+
username?: string | undefined;
|
|
3019
|
+
password?: string | undefined;
|
|
3020
|
+
roles?: {
|
|
3021
|
+
user: number;
|
|
3022
|
+
admin?: number | undefined;
|
|
3023
|
+
superadmin?: number | undefined;
|
|
3024
|
+
} | undefined;
|
|
3025
|
+
country?: string | undefined;
|
|
3026
|
+
phoneNumber?: string | undefined;
|
|
3027
|
+
birthDate?: string | undefined;
|
|
3028
|
+
shouldChangePassword?: boolean | undefined;
|
|
3029
|
+
guardian?: string | undefined;
|
|
3030
|
+
editedBy?: string | undefined;
|
|
3031
|
+
createdAt?: string | undefined;
|
|
3032
|
+
updatedAt?: string | undefined;
|
|
3033
|
+
};
|
|
3034
|
+
states: AttendState[];
|
|
3035
|
+
editedBy?: string | undefined;
|
|
3036
|
+
createdAt?: string | undefined;
|
|
3037
|
+
updatedAt?: string | undefined;
|
|
3038
|
+
tuition?: {
|
|
3039
|
+
primary: number;
|
|
3040
|
+
textbook?: boolean | undefined;
|
|
3041
|
+
shipping?: boolean | undefined;
|
|
3042
|
+
} | undefined;
|
|
3043
|
+
paid?: boolean | undefined;
|
|
3044
|
+
campOption?: CampOption | undefined;
|
|
3045
|
+
}, {
|
|
3046
|
+
_id: string;
|
|
3047
|
+
student: {
|
|
3048
|
+
rank: GoRank;
|
|
3049
|
+
_id: string;
|
|
3050
|
+
name: string;
|
|
3051
|
+
email?: string | undefined;
|
|
3052
|
+
address?: string | undefined;
|
|
3053
|
+
username?: string | undefined;
|
|
3054
|
+
password?: string | undefined;
|
|
3055
|
+
roles?: {
|
|
3056
|
+
user: number;
|
|
3057
|
+
admin?: number | undefined;
|
|
3058
|
+
superadmin?: number | undefined;
|
|
3059
|
+
} | undefined;
|
|
3060
|
+
country?: string | undefined;
|
|
3061
|
+
phoneNumber?: string | undefined;
|
|
3062
|
+
birthDate?: string | undefined;
|
|
3063
|
+
shouldChangePassword?: boolean | undefined;
|
|
3064
|
+
guardian?: string | undefined;
|
|
3065
|
+
editedBy?: string | undefined;
|
|
3066
|
+
createdAt?: string | undefined;
|
|
3067
|
+
updatedAt?: string | undefined;
|
|
3068
|
+
};
|
|
3069
|
+
states: AttendState[];
|
|
3070
|
+
editedBy?: string | undefined;
|
|
3071
|
+
createdAt?: string | undefined;
|
|
3072
|
+
updatedAt?: string | undefined;
|
|
3073
|
+
tuition?: {
|
|
3074
|
+
primary: number;
|
|
3075
|
+
textbook?: boolean | undefined;
|
|
3076
|
+
shipping?: boolean | undefined;
|
|
3077
|
+
} | undefined;
|
|
3078
|
+
paid?: boolean | undefined;
|
|
3079
|
+
campOption?: CampOption | undefined;
|
|
3080
|
+
}>, "many">;
|
|
3081
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3082
|
+
_id: string;
|
|
3083
|
+
course: {
|
|
3084
|
+
_id: string;
|
|
3085
|
+
name: string;
|
|
3086
|
+
category: CourseCategory;
|
|
3087
|
+
duration: number;
|
|
3088
|
+
price: number;
|
|
3089
|
+
nyigSchool: NYIGSchool;
|
|
3090
|
+
description?: string | undefined;
|
|
3091
|
+
recLevel?: string | undefined;
|
|
3092
|
+
halfCampTuition?: number | undefined;
|
|
3093
|
+
fullCampTuition?: number | undefined;
|
|
3094
|
+
superadminOnly?: boolean | undefined;
|
|
3095
|
+
editedBy?: string | undefined;
|
|
3096
|
+
createdAt?: string | undefined;
|
|
3097
|
+
updatedAt?: string | undefined;
|
|
3098
|
+
};
|
|
3099
|
+
teacher: {
|
|
3100
|
+
rank: GoRank;
|
|
3101
|
+
_id: string;
|
|
3102
|
+
name: string;
|
|
3103
|
+
email?: string | undefined;
|
|
3104
|
+
address?: string | undefined;
|
|
3105
|
+
username?: string | undefined;
|
|
3106
|
+
password?: string | undefined;
|
|
3107
|
+
roles?: {
|
|
3108
|
+
user: number;
|
|
3109
|
+
admin?: number | undefined;
|
|
3110
|
+
superadmin?: number | undefined;
|
|
3111
|
+
} | undefined;
|
|
3112
|
+
country?: string | undefined;
|
|
3113
|
+
phoneNumber?: string | undefined;
|
|
3114
|
+
birthDate?: string | undefined;
|
|
3115
|
+
shouldChangePassword?: boolean | undefined;
|
|
3116
|
+
isInactive?: boolean | undefined;
|
|
3117
|
+
title?: string | undefined;
|
|
3118
|
+
bio?: string | undefined;
|
|
3119
|
+
available?: number[][][] | undefined;
|
|
3120
|
+
editedBy?: string | undefined;
|
|
3121
|
+
createdAt?: string | undefined;
|
|
3122
|
+
updatedAt?: string | undefined;
|
|
3123
|
+
};
|
|
3124
|
+
semester: {
|
|
3125
|
+
_id: string;
|
|
3126
|
+
season: Season;
|
|
3127
|
+
year: number;
|
|
3128
|
+
startDate: Date;
|
|
3129
|
+
endDate: Date;
|
|
3130
|
+
blackoutDates: Date[];
|
|
3131
|
+
importantDates: string[];
|
|
3132
|
+
editedBy?: string | undefined;
|
|
3133
|
+
createdAt?: string | undefined;
|
|
3134
|
+
updatedAt?: string | undefined;
|
|
3135
|
+
};
|
|
3136
|
+
occurrences: string[];
|
|
3137
|
+
attendances: {
|
|
3138
|
+
_id: string;
|
|
3139
|
+
student: {
|
|
3140
|
+
rank: GoRank;
|
|
3141
|
+
_id: string;
|
|
3142
|
+
name: string;
|
|
3143
|
+
email?: string | undefined;
|
|
3144
|
+
address?: string | undefined;
|
|
3145
|
+
username?: string | undefined;
|
|
3146
|
+
password?: string | undefined;
|
|
3147
|
+
roles?: {
|
|
3148
|
+
user: number;
|
|
3149
|
+
admin?: number | undefined;
|
|
3150
|
+
superadmin?: number | undefined;
|
|
3151
|
+
} | undefined;
|
|
3152
|
+
country?: string | undefined;
|
|
3153
|
+
phoneNumber?: string | undefined;
|
|
3154
|
+
birthDate?: string | undefined;
|
|
3155
|
+
shouldChangePassword?: boolean | undefined;
|
|
3156
|
+
guardian?: string | undefined;
|
|
3157
|
+
editedBy?: string | undefined;
|
|
3158
|
+
createdAt?: string | undefined;
|
|
3159
|
+
updatedAt?: string | undefined;
|
|
3160
|
+
};
|
|
3161
|
+
states: AttendState[];
|
|
3162
|
+
editedBy?: string | undefined;
|
|
3163
|
+
createdAt?: string | undefined;
|
|
3164
|
+
updatedAt?: string | undefined;
|
|
3165
|
+
tuition?: {
|
|
3166
|
+
primary: number;
|
|
3167
|
+
textbook?: boolean | undefined;
|
|
3168
|
+
shipping?: boolean | undefined;
|
|
3169
|
+
} | undefined;
|
|
3170
|
+
paid?: boolean | undefined;
|
|
3171
|
+
campOption?: CampOption | undefined;
|
|
3172
|
+
}[];
|
|
3173
|
+
scheduleData: {
|
|
3174
|
+
startTime: string;
|
|
3175
|
+
dayOfWeek: number;
|
|
3176
|
+
};
|
|
3177
|
+
notes?: string | undefined;
|
|
3178
|
+
editedBy?: string | undefined;
|
|
3179
|
+
createdAt?: string | undefined;
|
|
3180
|
+
updatedAt?: string | undefined;
|
|
3181
|
+
isNonPublic?: boolean | undefined;
|
|
3182
|
+
courseId?: string | undefined;
|
|
3183
|
+
ageGroup?: AgeGroup | undefined;
|
|
3184
|
+
}, {
|
|
3185
|
+
_id: string;
|
|
3186
|
+
course: {
|
|
3187
|
+
_id: string;
|
|
3188
|
+
name: string;
|
|
3189
|
+
category: CourseCategory;
|
|
3190
|
+
duration: number;
|
|
3191
|
+
price: number;
|
|
3192
|
+
nyigSchool: NYIGSchool;
|
|
3193
|
+
description?: string | undefined;
|
|
3194
|
+
recLevel?: string | undefined;
|
|
3195
|
+
halfCampTuition?: number | undefined;
|
|
3196
|
+
fullCampTuition?: number | undefined;
|
|
3197
|
+
superadminOnly?: boolean | undefined;
|
|
3198
|
+
editedBy?: string | undefined;
|
|
3199
|
+
createdAt?: string | undefined;
|
|
3200
|
+
updatedAt?: string | undefined;
|
|
3201
|
+
};
|
|
3202
|
+
teacher: {
|
|
3203
|
+
rank: GoRank;
|
|
3204
|
+
_id: string;
|
|
3205
|
+
name: string;
|
|
3206
|
+
email?: string | undefined;
|
|
3207
|
+
address?: string | undefined;
|
|
3208
|
+
username?: string | undefined;
|
|
3209
|
+
password?: string | undefined;
|
|
3210
|
+
roles?: {
|
|
3211
|
+
user: number;
|
|
3212
|
+
admin?: number | undefined;
|
|
3213
|
+
superadmin?: number | undefined;
|
|
3214
|
+
} | undefined;
|
|
3215
|
+
country?: string | undefined;
|
|
3216
|
+
phoneNumber?: string | undefined;
|
|
3217
|
+
birthDate?: string | undefined;
|
|
3218
|
+
shouldChangePassword?: boolean | undefined;
|
|
3219
|
+
isInactive?: boolean | undefined;
|
|
3220
|
+
title?: string | undefined;
|
|
3221
|
+
bio?: string | undefined;
|
|
3222
|
+
available?: number[][][] | undefined;
|
|
3223
|
+
editedBy?: string | undefined;
|
|
3224
|
+
createdAt?: string | undefined;
|
|
3225
|
+
updatedAt?: string | undefined;
|
|
3226
|
+
};
|
|
3227
|
+
semester: {
|
|
3228
|
+
_id: string;
|
|
3229
|
+
season: Season;
|
|
3230
|
+
year: number;
|
|
3231
|
+
startDate: Date;
|
|
3232
|
+
endDate: Date;
|
|
3233
|
+
blackoutDates: Date[];
|
|
3234
|
+
importantDates: string[];
|
|
3235
|
+
editedBy?: string | undefined;
|
|
3236
|
+
createdAt?: string | undefined;
|
|
3237
|
+
updatedAt?: string | undefined;
|
|
3238
|
+
};
|
|
3239
|
+
occurrences: string[];
|
|
3240
|
+
attendances: {
|
|
3241
|
+
_id: string;
|
|
3242
|
+
student: {
|
|
3243
|
+
rank: GoRank;
|
|
3244
|
+
_id: string;
|
|
3245
|
+
name: string;
|
|
3246
|
+
email?: string | undefined;
|
|
3247
|
+
address?: string | undefined;
|
|
3248
|
+
username?: string | undefined;
|
|
3249
|
+
password?: string | undefined;
|
|
3250
|
+
roles?: {
|
|
3251
|
+
user: number;
|
|
3252
|
+
admin?: number | undefined;
|
|
3253
|
+
superadmin?: number | undefined;
|
|
3254
|
+
} | undefined;
|
|
3255
|
+
country?: string | undefined;
|
|
3256
|
+
phoneNumber?: string | undefined;
|
|
3257
|
+
birthDate?: string | undefined;
|
|
3258
|
+
shouldChangePassword?: boolean | undefined;
|
|
3259
|
+
guardian?: string | undefined;
|
|
3260
|
+
editedBy?: string | undefined;
|
|
3261
|
+
createdAt?: string | undefined;
|
|
3262
|
+
updatedAt?: string | undefined;
|
|
3263
|
+
};
|
|
3264
|
+
states: AttendState[];
|
|
3265
|
+
editedBy?: string | undefined;
|
|
3266
|
+
createdAt?: string | undefined;
|
|
3267
|
+
updatedAt?: string | undefined;
|
|
3268
|
+
tuition?: {
|
|
3269
|
+
primary: number;
|
|
3270
|
+
textbook?: boolean | undefined;
|
|
3271
|
+
shipping?: boolean | undefined;
|
|
3272
|
+
} | undefined;
|
|
3273
|
+
paid?: boolean | undefined;
|
|
3274
|
+
campOption?: CampOption | undefined;
|
|
3275
|
+
}[];
|
|
3276
|
+
scheduleData: {
|
|
3277
|
+
startTime: string;
|
|
3278
|
+
dayOfWeek: number;
|
|
3279
|
+
};
|
|
3280
|
+
notes?: string | undefined;
|
|
3281
|
+
editedBy?: string | undefined;
|
|
3282
|
+
createdAt?: string | undefined;
|
|
3283
|
+
updatedAt?: string | undefined;
|
|
3284
|
+
isNonPublic?: boolean | undefined;
|
|
3285
|
+
courseId?: string | undefined;
|
|
3286
|
+
ageGroup?: AgeGroup | undefined;
|
|
3287
|
+
}>;
|
|
2560
3288
|
type BGroupTracker = z.infer<typeof zBGroupTracker>;
|
|
2561
3289
|
type GroupTracker = z.infer<typeof zGroupTracker>;
|
|
3290
|
+
type GroupTrackerResponse = z.infer<typeof zGroupTrackerResponse>;
|
|
2562
3291
|
|
|
2563
3292
|
declare const zScheduleData: z.ZodObject<{
|
|
2564
3293
|
startTime: z.ZodString;
|
|
@@ -5395,4 +6124,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
5395
6124
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
5396
6125
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
5397
6126
|
|
|
5398
|
-
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 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 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 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, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|
|
6127
|
+
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 };
|