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