@nyig/models 0.2.38 → 0.2.40
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 +452 -229
- package/index.d.ts +452 -229
- package/index.js +9 -3
- package/index.mjs +8 -3
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -134,8 +134,8 @@ declare const zAttendance: z.ZodObject<{
|
|
|
134
134
|
campOption: z.ZodNativeEnum<typeof CampOption>;
|
|
135
135
|
_id: z.ZodString;
|
|
136
136
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
137
|
-
createdAt: z.ZodOptional<z.
|
|
138
|
-
updatedAt: z.ZodOptional<z.
|
|
137
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
138
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
139
139
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
140
140
|
_id: string;
|
|
141
141
|
student: string;
|
|
@@ -148,8 +148,8 @@ declare const zAttendance: z.ZodObject<{
|
|
|
148
148
|
campOption: CampOption;
|
|
149
149
|
paid?: boolean | undefined;
|
|
150
150
|
editedBy?: string | undefined;
|
|
151
|
-
createdAt?:
|
|
152
|
-
updatedAt?:
|
|
151
|
+
createdAt?: string | undefined;
|
|
152
|
+
updatedAt?: string | undefined;
|
|
153
153
|
}, {
|
|
154
154
|
_id: string;
|
|
155
155
|
student: string;
|
|
@@ -162,8 +162,8 @@ declare const zAttendance: z.ZodObject<{
|
|
|
162
162
|
campOption: CampOption;
|
|
163
163
|
paid?: boolean | undefined;
|
|
164
164
|
editedBy?: string | undefined;
|
|
165
|
-
createdAt?:
|
|
166
|
-
updatedAt?:
|
|
165
|
+
createdAt?: string | undefined;
|
|
166
|
+
updatedAt?: string | undefined;
|
|
167
167
|
}>;
|
|
168
168
|
type BAttendance = z.infer<typeof zBAttendance>;
|
|
169
169
|
type Attendance = z.infer<typeof zAttendance>;
|
|
@@ -209,8 +209,8 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
209
209
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
210
210
|
_id: z.ZodString;
|
|
211
211
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
212
|
-
createdAt: z.ZodOptional<z.
|
|
213
|
-
updatedAt: z.ZodOptional<z.
|
|
212
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
213
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
214
214
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
215
215
|
_id: string;
|
|
216
216
|
course: string;
|
|
@@ -221,8 +221,8 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
221
221
|
notes?: string | undefined;
|
|
222
222
|
isNonPublic?: boolean | undefined;
|
|
223
223
|
editedBy?: string | undefined;
|
|
224
|
-
createdAt?:
|
|
225
|
-
updatedAt?:
|
|
224
|
+
createdAt?: string | undefined;
|
|
225
|
+
updatedAt?: string | undefined;
|
|
226
226
|
}, {
|
|
227
227
|
_id: string;
|
|
228
228
|
course: string;
|
|
@@ -233,8 +233,8 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
233
233
|
notes?: string | undefined;
|
|
234
234
|
isNonPublic?: boolean | undefined;
|
|
235
235
|
editedBy?: string | undefined;
|
|
236
|
-
createdAt?:
|
|
237
|
-
updatedAt?:
|
|
236
|
+
createdAt?: string | undefined;
|
|
237
|
+
updatedAt?: string | undefined;
|
|
238
238
|
}>;
|
|
239
239
|
type BCampTracker = z.infer<typeof zBCampTracker>;
|
|
240
240
|
type CampTracker = z.infer<typeof zCampTracker>;
|
|
@@ -321,8 +321,8 @@ declare const zClassTracker: z.ZodObject<{
|
|
|
321
321
|
paused: z.ZodOptional<z.ZodBoolean>;
|
|
322
322
|
_id: z.ZodString;
|
|
323
323
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
324
|
-
createdAt: z.ZodOptional<z.
|
|
325
|
-
updatedAt: z.ZodOptional<z.
|
|
324
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
325
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
326
326
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
327
327
|
_id: string;
|
|
328
328
|
student: string;
|
|
@@ -340,8 +340,8 @@ declare const zClassTracker: z.ZodObject<{
|
|
|
340
340
|
completed?: boolean | undefined;
|
|
341
341
|
paused?: boolean | undefined;
|
|
342
342
|
editedBy?: string | undefined;
|
|
343
|
-
createdAt?:
|
|
344
|
-
updatedAt?:
|
|
343
|
+
createdAt?: string | undefined;
|
|
344
|
+
updatedAt?: string | undefined;
|
|
345
345
|
}, {
|
|
346
346
|
_id: string;
|
|
347
347
|
student: string;
|
|
@@ -359,8 +359,8 @@ declare const zClassTracker: z.ZodObject<{
|
|
|
359
359
|
completed?: boolean | undefined;
|
|
360
360
|
paused?: boolean | undefined;
|
|
361
361
|
editedBy?: string | undefined;
|
|
362
|
-
createdAt?:
|
|
363
|
-
updatedAt?:
|
|
362
|
+
createdAt?: string | undefined;
|
|
363
|
+
updatedAt?: string | undefined;
|
|
364
364
|
}>;
|
|
365
365
|
type BClassTracker = z.infer<typeof zBClassTracker>;
|
|
366
366
|
type ClassTracker = z.infer<typeof zClassTracker>;
|
|
@@ -444,8 +444,8 @@ declare const zCourse: z.ZodObject<{
|
|
|
444
444
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
445
445
|
_id: z.ZodString;
|
|
446
446
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
447
|
-
createdAt: z.ZodOptional<z.
|
|
448
|
-
updatedAt: z.ZodOptional<z.
|
|
447
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
448
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
449
449
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
450
450
|
_id: string;
|
|
451
451
|
name: string;
|
|
@@ -458,8 +458,8 @@ declare const zCourse: z.ZodObject<{
|
|
|
458
458
|
halfCampTuition?: number | undefined;
|
|
459
459
|
fullCampTuition?: number | undefined;
|
|
460
460
|
editedBy?: string | undefined;
|
|
461
|
-
createdAt?:
|
|
462
|
-
updatedAt?:
|
|
461
|
+
createdAt?: string | undefined;
|
|
462
|
+
updatedAt?: string | undefined;
|
|
463
463
|
}, {
|
|
464
464
|
_id: string;
|
|
465
465
|
name: string;
|
|
@@ -472,8 +472,8 @@ declare const zCourse: z.ZodObject<{
|
|
|
472
472
|
halfCampTuition?: number | undefined;
|
|
473
473
|
fullCampTuition?: number | undefined;
|
|
474
474
|
editedBy?: string | undefined;
|
|
475
|
-
createdAt?:
|
|
476
|
-
updatedAt?:
|
|
475
|
+
createdAt?: string | undefined;
|
|
476
|
+
updatedAt?: string | undefined;
|
|
477
477
|
}>;
|
|
478
478
|
type BCourse = z.infer<typeof zBCourse>;
|
|
479
479
|
type Course = z.infer<typeof zCourse>;
|
|
@@ -564,8 +564,8 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
564
564
|
ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
|
|
565
565
|
_id: z.ZodString;
|
|
566
566
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
567
|
-
createdAt: z.ZodOptional<z.
|
|
568
|
-
updatedAt: z.ZodOptional<z.
|
|
567
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
568
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
569
569
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
570
570
|
_id: string;
|
|
571
571
|
course: string;
|
|
@@ -582,8 +582,8 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
582
582
|
courseId?: string | undefined;
|
|
583
583
|
ageGroup?: AgeGroup | undefined;
|
|
584
584
|
editedBy?: string | undefined;
|
|
585
|
-
createdAt?:
|
|
586
|
-
updatedAt?:
|
|
585
|
+
createdAt?: string | undefined;
|
|
586
|
+
updatedAt?: string | undefined;
|
|
587
587
|
}, {
|
|
588
588
|
_id: string;
|
|
589
589
|
course: string;
|
|
@@ -600,8 +600,8 @@ declare const zGroupTracker: z.ZodObject<{
|
|
|
600
600
|
courseId?: string | undefined;
|
|
601
601
|
ageGroup?: AgeGroup | undefined;
|
|
602
602
|
editedBy?: string | undefined;
|
|
603
|
-
createdAt?:
|
|
604
|
-
updatedAt?:
|
|
603
|
+
createdAt?: string | undefined;
|
|
604
|
+
updatedAt?: string | undefined;
|
|
605
605
|
}>;
|
|
606
606
|
type BGroupTracker = z.infer<typeof zBGroupTracker>;
|
|
607
607
|
type GroupTracker = z.infer<typeof zGroupTracker>;
|
|
@@ -689,8 +689,8 @@ declare const zCampBooking: z.ZodObject<{
|
|
|
689
689
|
classDates: z.ZodString;
|
|
690
690
|
_id: z.ZodString;
|
|
691
691
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
692
|
-
createdAt: z.ZodOptional<z.
|
|
693
|
-
updatedAt: z.ZodOptional<z.
|
|
692
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
693
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
694
694
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
695
695
|
paymentAmount: number;
|
|
696
696
|
firstName: string;
|
|
@@ -710,8 +710,8 @@ declare const zCampBooking: z.ZodObject<{
|
|
|
710
710
|
shipping?: boolean | undefined;
|
|
711
711
|
ctId?: string | undefined;
|
|
712
712
|
editedBy?: string | undefined;
|
|
713
|
-
createdAt?:
|
|
714
|
-
updatedAt?:
|
|
713
|
+
createdAt?: string | undefined;
|
|
714
|
+
updatedAt?: string | undefined;
|
|
715
715
|
}, {
|
|
716
716
|
paymentAmount: number;
|
|
717
717
|
firstName: string;
|
|
@@ -731,8 +731,8 @@ declare const zCampBooking: z.ZodObject<{
|
|
|
731
731
|
shipping?: boolean | undefined;
|
|
732
732
|
ctId?: string | undefined;
|
|
733
733
|
editedBy?: string | undefined;
|
|
734
|
-
createdAt?:
|
|
735
|
-
updatedAt?:
|
|
734
|
+
createdAt?: string | undefined;
|
|
735
|
+
updatedAt?: string | undefined;
|
|
736
736
|
}>;
|
|
737
737
|
type BCampBooking = z.infer<typeof zBCampBooking>;
|
|
738
738
|
type CampBooking = z.infer<typeof zCampBooking>;
|
|
@@ -808,8 +808,8 @@ declare const zGroupBooking: z.ZodObject<{
|
|
|
808
808
|
classDate: z.ZodOptional<z.ZodString>;
|
|
809
809
|
_id: z.ZodString;
|
|
810
810
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
811
|
-
createdAt: z.ZodOptional<z.
|
|
812
|
-
updatedAt: z.ZodOptional<z.
|
|
811
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
812
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
813
813
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
814
814
|
paymentAmount: number;
|
|
815
815
|
firstName: string;
|
|
@@ -829,8 +829,8 @@ declare const zGroupBooking: z.ZodObject<{
|
|
|
829
829
|
isTrial?: boolean | undefined;
|
|
830
830
|
classDate?: string | undefined;
|
|
831
831
|
editedBy?: string | undefined;
|
|
832
|
-
createdAt?:
|
|
833
|
-
updatedAt?:
|
|
832
|
+
createdAt?: string | undefined;
|
|
833
|
+
updatedAt?: string | undefined;
|
|
834
834
|
}, {
|
|
835
835
|
paymentAmount: number;
|
|
836
836
|
firstName: string;
|
|
@@ -850,8 +850,8 @@ declare const zGroupBooking: z.ZodObject<{
|
|
|
850
850
|
isTrial?: boolean | undefined;
|
|
851
851
|
classDate?: string | undefined;
|
|
852
852
|
editedBy?: string | undefined;
|
|
853
|
-
createdAt?:
|
|
854
|
-
updatedAt?:
|
|
853
|
+
createdAt?: string | undefined;
|
|
854
|
+
updatedAt?: string | undefined;
|
|
855
855
|
}>;
|
|
856
856
|
type BGroupBooking = z.infer<typeof zBGroupBooking>;
|
|
857
857
|
type GroupBooking = z.infer<typeof zGroupBooking>;
|
|
@@ -919,8 +919,8 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
919
919
|
teacherId: z.ZodString;
|
|
920
920
|
_id: z.ZodString;
|
|
921
921
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
922
|
-
createdAt: z.ZodOptional<z.
|
|
923
|
-
updatedAt: z.ZodOptional<z.
|
|
922
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
923
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
924
924
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
925
925
|
paymentAmount: number;
|
|
926
926
|
firstName: string;
|
|
@@ -938,8 +938,8 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
938
938
|
notes?: string | undefined;
|
|
939
939
|
classDate?: string | undefined;
|
|
940
940
|
editedBy?: string | undefined;
|
|
941
|
-
createdAt?:
|
|
942
|
-
updatedAt?:
|
|
941
|
+
createdAt?: string | undefined;
|
|
942
|
+
updatedAt?: string | undefined;
|
|
943
943
|
}, {
|
|
944
944
|
paymentAmount: number;
|
|
945
945
|
firstName: string;
|
|
@@ -957,8 +957,8 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
957
957
|
notes?: string | undefined;
|
|
958
958
|
classDate?: string | undefined;
|
|
959
959
|
editedBy?: string | undefined;
|
|
960
|
-
createdAt?:
|
|
961
|
-
updatedAt?:
|
|
960
|
+
createdAt?: string | undefined;
|
|
961
|
+
updatedAt?: string | undefined;
|
|
962
962
|
}>;
|
|
963
963
|
type BPrivateBooking = z.infer<typeof zBPrivateBooking>;
|
|
964
964
|
type PrivateBooking = z.infer<typeof zPrivateBooking>;
|
|
@@ -1050,8 +1050,8 @@ declare const zUser: z.ZodObject<{
|
|
|
1050
1050
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1051
1051
|
_id: z.ZodString;
|
|
1052
1052
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1053
|
-
createdAt: z.ZodOptional<z.
|
|
1054
|
-
updatedAt: z.ZodOptional<z.
|
|
1053
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1054
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1055
1055
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1056
1056
|
_id: string;
|
|
1057
1057
|
name: string;
|
|
@@ -1064,8 +1064,8 @@ declare const zUser: z.ZodObject<{
|
|
|
1064
1064
|
phoneNumber?: string | undefined;
|
|
1065
1065
|
birthDate?: string | undefined;
|
|
1066
1066
|
editedBy?: string | undefined;
|
|
1067
|
-
createdAt?:
|
|
1068
|
-
updatedAt?:
|
|
1067
|
+
createdAt?: string | undefined;
|
|
1068
|
+
updatedAt?: string | undefined;
|
|
1069
1069
|
}, {
|
|
1070
1070
|
_id: string;
|
|
1071
1071
|
name: string;
|
|
@@ -1078,16 +1078,16 @@ declare const zUser: z.ZodObject<{
|
|
|
1078
1078
|
phoneNumber?: string | undefined;
|
|
1079
1079
|
birthDate?: string | undefined;
|
|
1080
1080
|
editedBy?: string | undefined;
|
|
1081
|
-
createdAt?:
|
|
1082
|
-
updatedAt?:
|
|
1081
|
+
createdAt?: string | undefined;
|
|
1082
|
+
updatedAt?: string | undefined;
|
|
1083
1083
|
}>;
|
|
1084
1084
|
declare const zStudent: z.ZodObject<{
|
|
1085
1085
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1086
1086
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1087
1087
|
_id: z.ZodString;
|
|
1088
1088
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1089
|
-
createdAt: z.ZodOptional<z.
|
|
1090
|
-
updatedAt: z.ZodOptional<z.
|
|
1089
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1091
1091
|
name: z.ZodString;
|
|
1092
1092
|
username: z.ZodOptional<z.ZodString>;
|
|
1093
1093
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1104,8 +1104,8 @@ declare const zStudent: z.ZodObject<{
|
|
|
1104
1104
|
email?: string | undefined;
|
|
1105
1105
|
address?: string | undefined;
|
|
1106
1106
|
editedBy?: string | undefined;
|
|
1107
|
-
createdAt?:
|
|
1108
|
-
updatedAt?:
|
|
1107
|
+
createdAt?: string | undefined;
|
|
1108
|
+
updatedAt?: string | undefined;
|
|
1109
1109
|
username?: string | undefined;
|
|
1110
1110
|
password?: string | undefined;
|
|
1111
1111
|
roles?: number[] | undefined;
|
|
@@ -1120,8 +1120,8 @@ declare const zStudent: z.ZodObject<{
|
|
|
1120
1120
|
email?: string | undefined;
|
|
1121
1121
|
address?: string | undefined;
|
|
1122
1122
|
editedBy?: string | undefined;
|
|
1123
|
-
createdAt?:
|
|
1124
|
-
updatedAt?:
|
|
1123
|
+
createdAt?: string | undefined;
|
|
1124
|
+
updatedAt?: string | undefined;
|
|
1125
1125
|
username?: string | undefined;
|
|
1126
1126
|
password?: string | undefined;
|
|
1127
1127
|
roles?: number[] | undefined;
|
|
@@ -1135,8 +1135,8 @@ declare const zTeacher: z.ZodObject<{
|
|
|
1135
1135
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1136
1136
|
_id: z.ZodString;
|
|
1137
1137
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1138
|
-
createdAt: z.ZodOptional<z.
|
|
1139
|
-
updatedAt: z.ZodOptional<z.
|
|
1138
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1140
1140
|
name: z.ZodString;
|
|
1141
1141
|
username: z.ZodOptional<z.ZodString>;
|
|
1142
1142
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1156,8 +1156,8 @@ declare const zTeacher: z.ZodObject<{
|
|
|
1156
1156
|
email?: string | undefined;
|
|
1157
1157
|
address?: string | undefined;
|
|
1158
1158
|
editedBy?: string | undefined;
|
|
1159
|
-
createdAt?:
|
|
1160
|
-
updatedAt?:
|
|
1159
|
+
createdAt?: string | undefined;
|
|
1160
|
+
updatedAt?: string | undefined;
|
|
1161
1161
|
username?: string | undefined;
|
|
1162
1162
|
password?: string | undefined;
|
|
1163
1163
|
roles?: number[] | undefined;
|
|
@@ -1175,8 +1175,8 @@ declare const zTeacher: z.ZodObject<{
|
|
|
1175
1175
|
email?: string | undefined;
|
|
1176
1176
|
address?: string | undefined;
|
|
1177
1177
|
editedBy?: string | undefined;
|
|
1178
|
-
createdAt?:
|
|
1179
|
-
updatedAt?:
|
|
1178
|
+
createdAt?: string | undefined;
|
|
1179
|
+
updatedAt?: string | undefined;
|
|
1180
1180
|
username?: string | undefined;
|
|
1181
1181
|
password?: string | undefined;
|
|
1182
1182
|
roles?: number[] | undefined;
|
|
@@ -1268,6 +1268,116 @@ declare const zInvoicePackage: z.ZodObject<{
|
|
|
1268
1268
|
units: number;
|
|
1269
1269
|
}[];
|
|
1270
1270
|
}>;
|
|
1271
|
+
declare const zInvoicePackageResponse: z.ZodObject<{
|
|
1272
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1273
|
+
course: z.ZodString;
|
|
1274
|
+
price: z.ZodNumber;
|
|
1275
|
+
units: z.ZodNumber;
|
|
1276
|
+
}, "strip", z.ZodTypeAny, {
|
|
1277
|
+
course: string;
|
|
1278
|
+
price: number;
|
|
1279
|
+
units: number;
|
|
1280
|
+
}, {
|
|
1281
|
+
course: string;
|
|
1282
|
+
price: number;
|
|
1283
|
+
units: number;
|
|
1284
|
+
}>, "many">;
|
|
1285
|
+
student: z.ZodObject<{
|
|
1286
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1287
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1288
|
+
_id: z.ZodString;
|
|
1289
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1292
|
+
name: z.ZodString;
|
|
1293
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1294
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1296
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1297
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1298
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1299
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1300
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
1301
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1302
|
+
rank: GoRank;
|
|
1303
|
+
_id: string;
|
|
1304
|
+
name: string;
|
|
1305
|
+
email?: string | undefined;
|
|
1306
|
+
address?: string | undefined;
|
|
1307
|
+
editedBy?: string | undefined;
|
|
1308
|
+
createdAt?: string | undefined;
|
|
1309
|
+
updatedAt?: string | undefined;
|
|
1310
|
+
username?: string | undefined;
|
|
1311
|
+
password?: string | undefined;
|
|
1312
|
+
roles?: number[] | undefined;
|
|
1313
|
+
country?: string | undefined;
|
|
1314
|
+
phoneNumber?: string | undefined;
|
|
1315
|
+
birthDate?: string | undefined;
|
|
1316
|
+
guardian?: string | undefined;
|
|
1317
|
+
}, {
|
|
1318
|
+
rank: GoRank;
|
|
1319
|
+
_id: string;
|
|
1320
|
+
name: string;
|
|
1321
|
+
email?: string | undefined;
|
|
1322
|
+
address?: string | undefined;
|
|
1323
|
+
editedBy?: string | undefined;
|
|
1324
|
+
createdAt?: string | undefined;
|
|
1325
|
+
updatedAt?: string | undefined;
|
|
1326
|
+
username?: string | undefined;
|
|
1327
|
+
password?: string | undefined;
|
|
1328
|
+
roles?: number[] | undefined;
|
|
1329
|
+
country?: string | undefined;
|
|
1330
|
+
phoneNumber?: string | undefined;
|
|
1331
|
+
birthDate?: string | undefined;
|
|
1332
|
+
guardian?: string | undefined;
|
|
1333
|
+
}>;
|
|
1334
|
+
}, "strip", z.ZodTypeAny, {
|
|
1335
|
+
student: {
|
|
1336
|
+
rank: GoRank;
|
|
1337
|
+
_id: string;
|
|
1338
|
+
name: string;
|
|
1339
|
+
email?: string | undefined;
|
|
1340
|
+
address?: string | undefined;
|
|
1341
|
+
editedBy?: string | undefined;
|
|
1342
|
+
createdAt?: string | undefined;
|
|
1343
|
+
updatedAt?: string | undefined;
|
|
1344
|
+
username?: string | undefined;
|
|
1345
|
+
password?: string | undefined;
|
|
1346
|
+
roles?: number[] | undefined;
|
|
1347
|
+
country?: string | undefined;
|
|
1348
|
+
phoneNumber?: string | undefined;
|
|
1349
|
+
birthDate?: string | undefined;
|
|
1350
|
+
guardian?: string | undefined;
|
|
1351
|
+
};
|
|
1352
|
+
items: {
|
|
1353
|
+
course: string;
|
|
1354
|
+
price: number;
|
|
1355
|
+
units: number;
|
|
1356
|
+
}[];
|
|
1357
|
+
}, {
|
|
1358
|
+
student: {
|
|
1359
|
+
rank: GoRank;
|
|
1360
|
+
_id: string;
|
|
1361
|
+
name: string;
|
|
1362
|
+
email?: string | undefined;
|
|
1363
|
+
address?: string | undefined;
|
|
1364
|
+
editedBy?: string | undefined;
|
|
1365
|
+
createdAt?: string | undefined;
|
|
1366
|
+
updatedAt?: string | undefined;
|
|
1367
|
+
username?: string | undefined;
|
|
1368
|
+
password?: string | undefined;
|
|
1369
|
+
roles?: number[] | undefined;
|
|
1370
|
+
country?: string | undefined;
|
|
1371
|
+
phoneNumber?: string | undefined;
|
|
1372
|
+
birthDate?: string | undefined;
|
|
1373
|
+
guardian?: string | undefined;
|
|
1374
|
+
};
|
|
1375
|
+
items: {
|
|
1376
|
+
course: string;
|
|
1377
|
+
price: number;
|
|
1378
|
+
units: number;
|
|
1379
|
+
}[];
|
|
1380
|
+
}>;
|
|
1271
1381
|
declare const zBInvoice: z.ZodObject<{
|
|
1272
1382
|
billTo: z.ZodString;
|
|
1273
1383
|
packages: z.ZodArray<z.ZodObject<{
|
|
@@ -1407,8 +1517,8 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1407
1517
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
1408
1518
|
_id: z.ZodString;
|
|
1409
1519
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1410
|
-
createdAt: z.ZodOptional<z.
|
|
1411
|
-
updatedAt: z.ZodOptional<z.
|
|
1520
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1412
1522
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1413
1523
|
_id: string;
|
|
1414
1524
|
billTo: string;
|
|
@@ -1431,8 +1541,8 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1431
1541
|
paid?: PaymentMethod | undefined;
|
|
1432
1542
|
lastEditBy?: string | undefined;
|
|
1433
1543
|
editedBy?: string | undefined;
|
|
1434
|
-
createdAt?:
|
|
1435
|
-
updatedAt?:
|
|
1544
|
+
createdAt?: string | undefined;
|
|
1545
|
+
updatedAt?: string | undefined;
|
|
1436
1546
|
}, {
|
|
1437
1547
|
_id: string;
|
|
1438
1548
|
billTo: string;
|
|
@@ -1455,8 +1565,8 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1455
1565
|
paid?: PaymentMethod | undefined;
|
|
1456
1566
|
lastEditBy?: string | undefined;
|
|
1457
1567
|
editedBy?: string | undefined;
|
|
1458
|
-
createdAt?:
|
|
1459
|
-
updatedAt?:
|
|
1568
|
+
createdAt?: string | undefined;
|
|
1569
|
+
updatedAt?: string | undefined;
|
|
1460
1570
|
}>;
|
|
1461
1571
|
declare const zInvoiceResponse: z.ZodObject<{
|
|
1462
1572
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -1464,40 +1574,10 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1464
1574
|
shipping: z.ZodOptional<z.ZodNumber>;
|
|
1465
1575
|
_id: z.ZodString;
|
|
1466
1576
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1467
|
-
createdAt: z.ZodOptional<z.
|
|
1468
|
-
updatedAt: z.ZodOptional<z.
|
|
1577
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1469
1579
|
paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
|
|
1470
1580
|
billTo: z.ZodString;
|
|
1471
|
-
packages: z.ZodArray<z.ZodObject<{
|
|
1472
|
-
student: z.ZodString;
|
|
1473
|
-
items: z.ZodArray<z.ZodObject<{
|
|
1474
|
-
course: z.ZodString;
|
|
1475
|
-
price: z.ZodNumber;
|
|
1476
|
-
units: z.ZodNumber;
|
|
1477
|
-
}, "strip", z.ZodTypeAny, {
|
|
1478
|
-
course: string;
|
|
1479
|
-
price: number;
|
|
1480
|
-
units: number;
|
|
1481
|
-
}, {
|
|
1482
|
-
course: string;
|
|
1483
|
-
price: number;
|
|
1484
|
-
units: number;
|
|
1485
|
-
}>, "many">;
|
|
1486
|
-
}, "strip", z.ZodTypeAny, {
|
|
1487
|
-
student: string;
|
|
1488
|
-
items: {
|
|
1489
|
-
course: string;
|
|
1490
|
-
price: number;
|
|
1491
|
-
units: number;
|
|
1492
|
-
}[];
|
|
1493
|
-
}, {
|
|
1494
|
-
student: string;
|
|
1495
|
-
items: {
|
|
1496
|
-
course: string;
|
|
1497
|
-
price: number;
|
|
1498
|
-
units: number;
|
|
1499
|
-
}[];
|
|
1500
|
-
}>, "many">;
|
|
1501
1581
|
discounts: z.ZodArray<z.ZodObject<{
|
|
1502
1582
|
desc: z.ZodString;
|
|
1503
1583
|
amount: z.ZodNumber;
|
|
@@ -1513,8 +1593,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1513
1593
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1514
1594
|
_id: z.ZodString;
|
|
1515
1595
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1516
|
-
createdAt: z.ZodOptional<z.
|
|
1517
|
-
updatedAt: z.ZodOptional<z.
|
|
1596
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1597
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1518
1598
|
name: z.ZodString;
|
|
1519
1599
|
username: z.ZodOptional<z.ZodString>;
|
|
1520
1600
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1534,8 +1614,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1534
1614
|
email?: string | undefined;
|
|
1535
1615
|
address?: string | undefined;
|
|
1536
1616
|
editedBy?: string | undefined;
|
|
1537
|
-
createdAt?:
|
|
1538
|
-
updatedAt?:
|
|
1617
|
+
createdAt?: string | undefined;
|
|
1618
|
+
updatedAt?: string | undefined;
|
|
1539
1619
|
username?: string | undefined;
|
|
1540
1620
|
password?: string | undefined;
|
|
1541
1621
|
roles?: number[] | undefined;
|
|
@@ -1553,8 +1633,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1553
1633
|
email?: string | undefined;
|
|
1554
1634
|
address?: string | undefined;
|
|
1555
1635
|
editedBy?: string | undefined;
|
|
1556
|
-
createdAt?:
|
|
1557
|
-
updatedAt?:
|
|
1636
|
+
createdAt?: string | undefined;
|
|
1637
|
+
updatedAt?: string | undefined;
|
|
1558
1638
|
username?: string | undefined;
|
|
1559
1639
|
password?: string | undefined;
|
|
1560
1640
|
roles?: number[] | undefined;
|
|
@@ -1571,8 +1651,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1571
1651
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1572
1652
|
_id: z.ZodString;
|
|
1573
1653
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1574
|
-
createdAt: z.ZodOptional<z.
|
|
1575
|
-
updatedAt: z.ZodOptional<z.
|
|
1654
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1655
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1576
1656
|
name: z.ZodString;
|
|
1577
1657
|
username: z.ZodOptional<z.ZodString>;
|
|
1578
1658
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1592,8 +1672,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1592
1672
|
email?: string | undefined;
|
|
1593
1673
|
address?: string | undefined;
|
|
1594
1674
|
editedBy?: string | undefined;
|
|
1595
|
-
createdAt?:
|
|
1596
|
-
updatedAt?:
|
|
1675
|
+
createdAt?: string | undefined;
|
|
1676
|
+
updatedAt?: string | undefined;
|
|
1597
1677
|
username?: string | undefined;
|
|
1598
1678
|
password?: string | undefined;
|
|
1599
1679
|
roles?: number[] | undefined;
|
|
@@ -1611,8 +1691,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1611
1691
|
email?: string | undefined;
|
|
1612
1692
|
address?: string | undefined;
|
|
1613
1693
|
editedBy?: string | undefined;
|
|
1614
|
-
createdAt?:
|
|
1615
|
-
updatedAt?:
|
|
1694
|
+
createdAt?: string | undefined;
|
|
1695
|
+
updatedAt?: string | undefined;
|
|
1616
1696
|
username?: string | undefined;
|
|
1617
1697
|
password?: string | undefined;
|
|
1618
1698
|
roles?: number[] | undefined;
|
|
@@ -1624,11 +1704,137 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1624
1704
|
bio?: string | undefined;
|
|
1625
1705
|
available?: number[][][] | undefined;
|
|
1626
1706
|
}>>;
|
|
1707
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
1708
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1709
|
+
course: z.ZodString;
|
|
1710
|
+
price: z.ZodNumber;
|
|
1711
|
+
units: z.ZodNumber;
|
|
1712
|
+
}, "strip", z.ZodTypeAny, {
|
|
1713
|
+
course: string;
|
|
1714
|
+
price: number;
|
|
1715
|
+
units: number;
|
|
1716
|
+
}, {
|
|
1717
|
+
course: string;
|
|
1718
|
+
price: number;
|
|
1719
|
+
units: number;
|
|
1720
|
+
}>, "many">;
|
|
1721
|
+
student: z.ZodObject<{
|
|
1722
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1723
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1724
|
+
_id: z.ZodString;
|
|
1725
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1726
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
name: z.ZodString;
|
|
1729
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1731
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1732
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1733
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1734
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1735
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1736
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
1737
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1738
|
+
rank: GoRank;
|
|
1739
|
+
_id: string;
|
|
1740
|
+
name: string;
|
|
1741
|
+
email?: string | undefined;
|
|
1742
|
+
address?: string | undefined;
|
|
1743
|
+
editedBy?: string | undefined;
|
|
1744
|
+
createdAt?: string | undefined;
|
|
1745
|
+
updatedAt?: string | undefined;
|
|
1746
|
+
username?: string | undefined;
|
|
1747
|
+
password?: string | undefined;
|
|
1748
|
+
roles?: number[] | undefined;
|
|
1749
|
+
country?: string | undefined;
|
|
1750
|
+
phoneNumber?: string | undefined;
|
|
1751
|
+
birthDate?: string | undefined;
|
|
1752
|
+
guardian?: string | undefined;
|
|
1753
|
+
}, {
|
|
1754
|
+
rank: GoRank;
|
|
1755
|
+
_id: string;
|
|
1756
|
+
name: string;
|
|
1757
|
+
email?: string | undefined;
|
|
1758
|
+
address?: string | undefined;
|
|
1759
|
+
editedBy?: string | undefined;
|
|
1760
|
+
createdAt?: string | undefined;
|
|
1761
|
+
updatedAt?: string | undefined;
|
|
1762
|
+
username?: string | undefined;
|
|
1763
|
+
password?: string | undefined;
|
|
1764
|
+
roles?: number[] | undefined;
|
|
1765
|
+
country?: string | undefined;
|
|
1766
|
+
phoneNumber?: string | undefined;
|
|
1767
|
+
birthDate?: string | undefined;
|
|
1768
|
+
guardian?: string | undefined;
|
|
1769
|
+
}>;
|
|
1770
|
+
}, "strip", z.ZodTypeAny, {
|
|
1771
|
+
student: {
|
|
1772
|
+
rank: GoRank;
|
|
1773
|
+
_id: string;
|
|
1774
|
+
name: string;
|
|
1775
|
+
email?: string | undefined;
|
|
1776
|
+
address?: string | undefined;
|
|
1777
|
+
editedBy?: string | undefined;
|
|
1778
|
+
createdAt?: string | undefined;
|
|
1779
|
+
updatedAt?: string | undefined;
|
|
1780
|
+
username?: string | undefined;
|
|
1781
|
+
password?: string | undefined;
|
|
1782
|
+
roles?: number[] | undefined;
|
|
1783
|
+
country?: string | undefined;
|
|
1784
|
+
phoneNumber?: string | undefined;
|
|
1785
|
+
birthDate?: string | undefined;
|
|
1786
|
+
guardian?: string | undefined;
|
|
1787
|
+
};
|
|
1788
|
+
items: {
|
|
1789
|
+
course: string;
|
|
1790
|
+
price: number;
|
|
1791
|
+
units: number;
|
|
1792
|
+
}[];
|
|
1793
|
+
}, {
|
|
1794
|
+
student: {
|
|
1795
|
+
rank: GoRank;
|
|
1796
|
+
_id: string;
|
|
1797
|
+
name: string;
|
|
1798
|
+
email?: string | undefined;
|
|
1799
|
+
address?: string | undefined;
|
|
1800
|
+
editedBy?: string | undefined;
|
|
1801
|
+
createdAt?: string | undefined;
|
|
1802
|
+
updatedAt?: string | undefined;
|
|
1803
|
+
username?: string | undefined;
|
|
1804
|
+
password?: string | undefined;
|
|
1805
|
+
roles?: number[] | undefined;
|
|
1806
|
+
country?: string | undefined;
|
|
1807
|
+
phoneNumber?: string | undefined;
|
|
1808
|
+
birthDate?: string | undefined;
|
|
1809
|
+
guardian?: string | undefined;
|
|
1810
|
+
};
|
|
1811
|
+
items: {
|
|
1812
|
+
course: string;
|
|
1813
|
+
price: number;
|
|
1814
|
+
units: number;
|
|
1815
|
+
}[];
|
|
1816
|
+
}>, "many">;
|
|
1627
1817
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1628
1818
|
_id: string;
|
|
1629
1819
|
billTo: string;
|
|
1630
1820
|
packages: {
|
|
1631
|
-
student:
|
|
1821
|
+
student: {
|
|
1822
|
+
rank: GoRank;
|
|
1823
|
+
_id: string;
|
|
1824
|
+
name: string;
|
|
1825
|
+
email?: string | undefined;
|
|
1826
|
+
address?: string | undefined;
|
|
1827
|
+
editedBy?: string | undefined;
|
|
1828
|
+
createdAt?: string | undefined;
|
|
1829
|
+
updatedAt?: string | undefined;
|
|
1830
|
+
username?: string | undefined;
|
|
1831
|
+
password?: string | undefined;
|
|
1832
|
+
roles?: number[] | undefined;
|
|
1833
|
+
country?: string | undefined;
|
|
1834
|
+
phoneNumber?: string | undefined;
|
|
1835
|
+
birthDate?: string | undefined;
|
|
1836
|
+
guardian?: string | undefined;
|
|
1837
|
+
};
|
|
1632
1838
|
items: {
|
|
1633
1839
|
course: string;
|
|
1634
1840
|
price: number;
|
|
@@ -1646,8 +1852,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1646
1852
|
email?: string | undefined;
|
|
1647
1853
|
address?: string | undefined;
|
|
1648
1854
|
editedBy?: string | undefined;
|
|
1649
|
-
createdAt?:
|
|
1650
|
-
updatedAt?:
|
|
1855
|
+
createdAt?: string | undefined;
|
|
1856
|
+
updatedAt?: string | undefined;
|
|
1651
1857
|
username?: string | undefined;
|
|
1652
1858
|
password?: string | undefined;
|
|
1653
1859
|
roles?: number[] | undefined;
|
|
@@ -1663,8 +1869,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1663
1869
|
textbook?: number | undefined;
|
|
1664
1870
|
shipping?: number | undefined;
|
|
1665
1871
|
editedBy?: string | undefined;
|
|
1666
|
-
createdAt?:
|
|
1667
|
-
updatedAt?:
|
|
1872
|
+
createdAt?: string | undefined;
|
|
1873
|
+
updatedAt?: string | undefined;
|
|
1668
1874
|
paid?: PaymentMethod | undefined;
|
|
1669
1875
|
lastEditBy?: {
|
|
1670
1876
|
rank: GoRank;
|
|
@@ -1673,8 +1879,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1673
1879
|
email?: string | undefined;
|
|
1674
1880
|
address?: string | undefined;
|
|
1675
1881
|
editedBy?: string | undefined;
|
|
1676
|
-
createdAt?:
|
|
1677
|
-
updatedAt?:
|
|
1882
|
+
createdAt?: string | undefined;
|
|
1883
|
+
updatedAt?: string | undefined;
|
|
1678
1884
|
username?: string | undefined;
|
|
1679
1885
|
password?: string | undefined;
|
|
1680
1886
|
roles?: number[] | undefined;
|
|
@@ -1690,7 +1896,23 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1690
1896
|
_id: string;
|
|
1691
1897
|
billTo: string;
|
|
1692
1898
|
packages: {
|
|
1693
|
-
student:
|
|
1899
|
+
student: {
|
|
1900
|
+
rank: GoRank;
|
|
1901
|
+
_id: string;
|
|
1902
|
+
name: string;
|
|
1903
|
+
email?: string | undefined;
|
|
1904
|
+
address?: string | undefined;
|
|
1905
|
+
editedBy?: string | undefined;
|
|
1906
|
+
createdAt?: string | undefined;
|
|
1907
|
+
updatedAt?: string | undefined;
|
|
1908
|
+
username?: string | undefined;
|
|
1909
|
+
password?: string | undefined;
|
|
1910
|
+
roles?: number[] | undefined;
|
|
1911
|
+
country?: string | undefined;
|
|
1912
|
+
phoneNumber?: string | undefined;
|
|
1913
|
+
birthDate?: string | undefined;
|
|
1914
|
+
guardian?: string | undefined;
|
|
1915
|
+
};
|
|
1694
1916
|
items: {
|
|
1695
1917
|
course: string;
|
|
1696
1918
|
price: number;
|
|
@@ -1708,8 +1930,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1708
1930
|
email?: string | undefined;
|
|
1709
1931
|
address?: string | undefined;
|
|
1710
1932
|
editedBy?: string | undefined;
|
|
1711
|
-
createdAt?:
|
|
1712
|
-
updatedAt?:
|
|
1933
|
+
createdAt?: string | undefined;
|
|
1934
|
+
updatedAt?: string | undefined;
|
|
1713
1935
|
username?: string | undefined;
|
|
1714
1936
|
password?: string | undefined;
|
|
1715
1937
|
roles?: number[] | undefined;
|
|
@@ -1725,8 +1947,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1725
1947
|
textbook?: number | undefined;
|
|
1726
1948
|
shipping?: number | undefined;
|
|
1727
1949
|
editedBy?: string | undefined;
|
|
1728
|
-
createdAt?:
|
|
1729
|
-
updatedAt?:
|
|
1950
|
+
createdAt?: string | undefined;
|
|
1951
|
+
updatedAt?: string | undefined;
|
|
1730
1952
|
paid?: PaymentMethod | undefined;
|
|
1731
1953
|
lastEditBy?: {
|
|
1732
1954
|
rank: GoRank;
|
|
@@ -1735,8 +1957,8 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1735
1957
|
email?: string | undefined;
|
|
1736
1958
|
address?: string | undefined;
|
|
1737
1959
|
editedBy?: string | undefined;
|
|
1738
|
-
createdAt?:
|
|
1739
|
-
updatedAt?:
|
|
1960
|
+
createdAt?: string | undefined;
|
|
1961
|
+
updatedAt?: string | undefined;
|
|
1740
1962
|
username?: string | undefined;
|
|
1741
1963
|
password?: string | undefined;
|
|
1742
1964
|
roles?: number[] | undefined;
|
|
@@ -1752,6 +1974,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1752
1974
|
type Discount = z.infer<typeof zDiscount>;
|
|
1753
1975
|
type InvoiceItem = z.infer<typeof zInvoiceItem>;
|
|
1754
1976
|
type InvoicePackage = z.infer<typeof zInvoicePackage>;
|
|
1977
|
+
type InvoicePackageResponse = z.infer<typeof zInvoicePackageResponse>;
|
|
1755
1978
|
type BInvoice = z.infer<typeof zBInvoice>;
|
|
1756
1979
|
type Invoice = z.infer<typeof zInvoice>;
|
|
1757
1980
|
type InvoiceResponse = z.infer<typeof zInvoiceResponse>;
|
|
@@ -1836,8 +2059,8 @@ declare const zTeacherPayment: z.ZodObject<{
|
|
|
1836
2059
|
}>, "many">;
|
|
1837
2060
|
_id: z.ZodString;
|
|
1838
2061
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1839
|
-
createdAt: z.ZodOptional<z.
|
|
1840
|
-
updatedAt: z.ZodOptional<z.
|
|
2062
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2063
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1841
2064
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1842
2065
|
_id: string;
|
|
1843
2066
|
teacher: string;
|
|
@@ -1849,8 +2072,8 @@ declare const zTeacherPayment: z.ZodObject<{
|
|
|
1849
2072
|
}[];
|
|
1850
2073
|
paid?: boolean | undefined;
|
|
1851
2074
|
editedBy?: string | undefined;
|
|
1852
|
-
createdAt?:
|
|
1853
|
-
updatedAt?:
|
|
2075
|
+
createdAt?: string | undefined;
|
|
2076
|
+
updatedAt?: string | undefined;
|
|
1854
2077
|
}, {
|
|
1855
2078
|
_id: string;
|
|
1856
2079
|
teacher: string;
|
|
@@ -1862,14 +2085,14 @@ declare const zTeacherPayment: z.ZodObject<{
|
|
|
1862
2085
|
}[];
|
|
1863
2086
|
paid?: boolean | undefined;
|
|
1864
2087
|
editedBy?: string | undefined;
|
|
1865
|
-
createdAt?:
|
|
1866
|
-
updatedAt?:
|
|
2088
|
+
createdAt?: string | undefined;
|
|
2089
|
+
updatedAt?: string | undefined;
|
|
1867
2090
|
}>;
|
|
1868
2091
|
declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
1869
2092
|
_id: z.ZodString;
|
|
1870
2093
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1871
|
-
createdAt: z.ZodOptional<z.
|
|
1872
|
-
updatedAt: z.ZodOptional<z.
|
|
2094
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2095
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1873
2096
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
1874
2097
|
rows: z.ZodArray<z.ZodObject<{
|
|
1875
2098
|
course: z.ZodString;
|
|
@@ -1892,8 +2115,8 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1892
2115
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1893
2116
|
_id: z.ZodString;
|
|
1894
2117
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1895
|
-
createdAt: z.ZodOptional<z.
|
|
1896
|
-
updatedAt: z.ZodOptional<z.
|
|
2118
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2119
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1897
2120
|
name: z.ZodString;
|
|
1898
2121
|
username: z.ZodOptional<z.ZodString>;
|
|
1899
2122
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1913,8 +2136,8 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1913
2136
|
email?: string | undefined;
|
|
1914
2137
|
address?: string | undefined;
|
|
1915
2138
|
editedBy?: string | undefined;
|
|
1916
|
-
createdAt?:
|
|
1917
|
-
updatedAt?:
|
|
2139
|
+
createdAt?: string | undefined;
|
|
2140
|
+
updatedAt?: string | undefined;
|
|
1918
2141
|
username?: string | undefined;
|
|
1919
2142
|
password?: string | undefined;
|
|
1920
2143
|
roles?: number[] | undefined;
|
|
@@ -1932,8 +2155,8 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1932
2155
|
email?: string | undefined;
|
|
1933
2156
|
address?: string | undefined;
|
|
1934
2157
|
editedBy?: string | undefined;
|
|
1935
|
-
createdAt?:
|
|
1936
|
-
updatedAt?:
|
|
2158
|
+
createdAt?: string | undefined;
|
|
2159
|
+
updatedAt?: string | undefined;
|
|
1937
2160
|
username?: string | undefined;
|
|
1938
2161
|
password?: string | undefined;
|
|
1939
2162
|
roles?: number[] | undefined;
|
|
@@ -1954,8 +2177,8 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1954
2177
|
email?: string | undefined;
|
|
1955
2178
|
address?: string | undefined;
|
|
1956
2179
|
editedBy?: string | undefined;
|
|
1957
|
-
createdAt?:
|
|
1958
|
-
updatedAt?:
|
|
2180
|
+
createdAt?: string | undefined;
|
|
2181
|
+
updatedAt?: string | undefined;
|
|
1959
2182
|
username?: string | undefined;
|
|
1960
2183
|
password?: string | undefined;
|
|
1961
2184
|
roles?: number[] | undefined;
|
|
@@ -1974,8 +2197,8 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1974
2197
|
wage: number;
|
|
1975
2198
|
}[];
|
|
1976
2199
|
editedBy?: string | undefined;
|
|
1977
|
-
createdAt?:
|
|
1978
|
-
updatedAt?:
|
|
2200
|
+
createdAt?: string | undefined;
|
|
2201
|
+
updatedAt?: string | undefined;
|
|
1979
2202
|
paid?: boolean | undefined;
|
|
1980
2203
|
}, {
|
|
1981
2204
|
_id: string;
|
|
@@ -1986,8 +2209,8 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1986
2209
|
email?: string | undefined;
|
|
1987
2210
|
address?: string | undefined;
|
|
1988
2211
|
editedBy?: string | undefined;
|
|
1989
|
-
createdAt?:
|
|
1990
|
-
updatedAt?:
|
|
2212
|
+
createdAt?: string | undefined;
|
|
2213
|
+
updatedAt?: string | undefined;
|
|
1991
2214
|
username?: string | undefined;
|
|
1992
2215
|
password?: string | undefined;
|
|
1993
2216
|
roles?: number[] | undefined;
|
|
@@ -2006,8 +2229,8 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2006
2229
|
wage: number;
|
|
2007
2230
|
}[];
|
|
2008
2231
|
editedBy?: string | undefined;
|
|
2009
|
-
createdAt?:
|
|
2010
|
-
updatedAt?:
|
|
2232
|
+
createdAt?: string | undefined;
|
|
2233
|
+
updatedAt?: string | undefined;
|
|
2011
2234
|
paid?: boolean | undefined;
|
|
2012
2235
|
}>;
|
|
2013
2236
|
type TeacherPaymentRow = z.infer<typeof zTeacherPaymentRow>;
|
|
@@ -2141,8 +2364,8 @@ declare const zReportTicket: z.ZodObject<{
|
|
|
2141
2364
|
resolver: z.ZodOptional<z.ZodString>;
|
|
2142
2365
|
_id: z.ZodString;
|
|
2143
2366
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2144
|
-
createdAt: z.ZodOptional<z.
|
|
2145
|
-
updatedAt: z.ZodOptional<z.
|
|
2367
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2368
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2146
2369
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2147
2370
|
status: TicketStatus;
|
|
2148
2371
|
_id: string;
|
|
@@ -2151,8 +2374,8 @@ declare const zReportTicket: z.ZodObject<{
|
|
|
2151
2374
|
requester: string;
|
|
2152
2375
|
resolver?: string | undefined;
|
|
2153
2376
|
editedBy?: string | undefined;
|
|
2154
|
-
createdAt?:
|
|
2155
|
-
updatedAt?:
|
|
2377
|
+
createdAt?: string | undefined;
|
|
2378
|
+
updatedAt?: string | undefined;
|
|
2156
2379
|
}, {
|
|
2157
2380
|
status: TicketStatus;
|
|
2158
2381
|
_id: string;
|
|
@@ -2161,8 +2384,8 @@ declare const zReportTicket: z.ZodObject<{
|
|
|
2161
2384
|
requester: string;
|
|
2162
2385
|
resolver?: string | undefined;
|
|
2163
2386
|
editedBy?: string | undefined;
|
|
2164
|
-
createdAt?:
|
|
2165
|
-
updatedAt?:
|
|
2387
|
+
createdAt?: string | undefined;
|
|
2388
|
+
updatedAt?: string | undefined;
|
|
2166
2389
|
}>;
|
|
2167
2390
|
type BReportTicket = z.infer<typeof zBReportTicket>;
|
|
2168
2391
|
type ReportTicket = z.infer<typeof zReportTicket>;
|
|
@@ -2210,8 +2433,8 @@ declare const zSemester: z.ZodObject<{
|
|
|
2210
2433
|
importantDates: z.ZodArray<z.ZodString, "many">;
|
|
2211
2434
|
_id: z.ZodString;
|
|
2212
2435
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2213
|
-
createdAt: z.ZodOptional<z.
|
|
2214
|
-
updatedAt: z.ZodOptional<z.
|
|
2436
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2437
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2215
2438
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2216
2439
|
_id: string;
|
|
2217
2440
|
season: Season;
|
|
@@ -2221,8 +2444,8 @@ declare const zSemester: z.ZodObject<{
|
|
|
2221
2444
|
blackoutDates: Date[];
|
|
2222
2445
|
importantDates: string[];
|
|
2223
2446
|
editedBy?: string | undefined;
|
|
2224
|
-
createdAt?:
|
|
2225
|
-
updatedAt?:
|
|
2447
|
+
createdAt?: string | undefined;
|
|
2448
|
+
updatedAt?: string | undefined;
|
|
2226
2449
|
}, {
|
|
2227
2450
|
_id: string;
|
|
2228
2451
|
season: Season;
|
|
@@ -2232,8 +2455,8 @@ declare const zSemester: z.ZodObject<{
|
|
|
2232
2455
|
blackoutDates: Date[];
|
|
2233
2456
|
importantDates: string[];
|
|
2234
2457
|
editedBy?: string | undefined;
|
|
2235
|
-
createdAt?:
|
|
2236
|
-
updatedAt?:
|
|
2458
|
+
createdAt?: string | undefined;
|
|
2459
|
+
updatedAt?: string | undefined;
|
|
2237
2460
|
}>;
|
|
2238
2461
|
type BSemester = z.infer<typeof zBSemester>;
|
|
2239
2462
|
type Semester = z.infer<typeof zSemester>;
|
|
@@ -2426,8 +2649,8 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
2426
2649
|
}>>;
|
|
2427
2650
|
_id: z.ZodString;
|
|
2428
2651
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2429
|
-
createdAt: z.ZodOptional<z.
|
|
2430
|
-
updatedAt: z.ZodOptional<z.
|
|
2652
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2653
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2431
2654
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2432
2655
|
_id: string;
|
|
2433
2656
|
title: string;
|
|
@@ -2455,8 +2678,8 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
2455
2678
|
width: number;
|
|
2456
2679
|
} | undefined;
|
|
2457
2680
|
editedBy?: string | undefined;
|
|
2458
|
-
createdAt?:
|
|
2459
|
-
updatedAt?:
|
|
2681
|
+
createdAt?: string | undefined;
|
|
2682
|
+
updatedAt?: string | undefined;
|
|
2460
2683
|
}, {
|
|
2461
2684
|
_id: string;
|
|
2462
2685
|
title: string;
|
|
@@ -2484,14 +2707,14 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
2484
2707
|
width: number;
|
|
2485
2708
|
} | undefined;
|
|
2486
2709
|
editedBy?: string | undefined;
|
|
2487
|
-
createdAt?:
|
|
2488
|
-
updatedAt?:
|
|
2710
|
+
createdAt?: string | undefined;
|
|
2711
|
+
updatedAt?: string | undefined;
|
|
2489
2712
|
}>;
|
|
2490
2713
|
declare const zEventConfigResponse: z.ZodObject<{
|
|
2491
2714
|
_id: z.ZodString;
|
|
2492
2715
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2493
|
-
createdAt: z.ZodOptional<z.
|
|
2494
|
-
updatedAt: z.ZodOptional<z.
|
|
2716
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2717
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2495
2718
|
title: z.ZodString;
|
|
2496
2719
|
description: z.ZodString;
|
|
2497
2720
|
url: z.ZodString;
|
|
@@ -2543,8 +2766,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
2543
2766
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2544
2767
|
_id: z.ZodString;
|
|
2545
2768
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2546
|
-
createdAt: z.ZodOptional<z.
|
|
2547
|
-
updatedAt: z.ZodOptional<z.
|
|
2769
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2548
2771
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2549
2772
|
_id: string;
|
|
2550
2773
|
name: string;
|
|
@@ -2553,8 +2776,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
2553
2776
|
isNotBuyable?: boolean | undefined;
|
|
2554
2777
|
lastBuyableDate?: Date | undefined;
|
|
2555
2778
|
editedBy?: string | undefined;
|
|
2556
|
-
createdAt?:
|
|
2557
|
-
updatedAt?:
|
|
2779
|
+
createdAt?: string | undefined;
|
|
2780
|
+
updatedAt?: string | undefined;
|
|
2558
2781
|
}, {
|
|
2559
2782
|
_id: string;
|
|
2560
2783
|
name: string;
|
|
@@ -2563,8 +2786,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
2563
2786
|
isNotBuyable?: boolean | undefined;
|
|
2564
2787
|
lastBuyableDate?: Date | undefined;
|
|
2565
2788
|
editedBy?: string | undefined;
|
|
2566
|
-
createdAt?:
|
|
2567
|
-
updatedAt?:
|
|
2789
|
+
createdAt?: string | undefined;
|
|
2790
|
+
updatedAt?: string | undefined;
|
|
2568
2791
|
}>, "many">;
|
|
2569
2792
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2570
2793
|
_id: string;
|
|
@@ -2591,13 +2814,13 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
2591
2814
|
isNotBuyable?: boolean | undefined;
|
|
2592
2815
|
lastBuyableDate?: Date | undefined;
|
|
2593
2816
|
editedBy?: string | undefined;
|
|
2594
|
-
createdAt?:
|
|
2595
|
-
updatedAt?:
|
|
2817
|
+
createdAt?: string | undefined;
|
|
2818
|
+
updatedAt?: string | undefined;
|
|
2596
2819
|
}[];
|
|
2597
2820
|
canRegister: boolean;
|
|
2598
2821
|
editedBy?: string | undefined;
|
|
2599
|
-
createdAt?:
|
|
2600
|
-
updatedAt?:
|
|
2822
|
+
createdAt?: string | undefined;
|
|
2823
|
+
updatedAt?: string | undefined;
|
|
2601
2824
|
location?: string | undefined;
|
|
2602
2825
|
donationsDisabled?: boolean | undefined;
|
|
2603
2826
|
image?: {
|
|
@@ -2630,13 +2853,13 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
2630
2853
|
isNotBuyable?: boolean | undefined;
|
|
2631
2854
|
lastBuyableDate?: Date | undefined;
|
|
2632
2855
|
editedBy?: string | undefined;
|
|
2633
|
-
createdAt?:
|
|
2634
|
-
updatedAt?:
|
|
2856
|
+
createdAt?: string | undefined;
|
|
2857
|
+
updatedAt?: string | undefined;
|
|
2635
2858
|
}[];
|
|
2636
2859
|
canRegister: boolean;
|
|
2637
2860
|
editedBy?: string | undefined;
|
|
2638
|
-
createdAt?:
|
|
2639
|
-
updatedAt?:
|
|
2861
|
+
createdAt?: string | undefined;
|
|
2862
|
+
updatedAt?: string | undefined;
|
|
2640
2863
|
location?: string | undefined;
|
|
2641
2864
|
donationsDisabled?: boolean | undefined;
|
|
2642
2865
|
image?: {
|
|
@@ -2767,8 +2990,8 @@ declare const zEventReg: z.ZodObject<{
|
|
|
2767
2990
|
createMethod: z.ZodOptional<z.ZodString>;
|
|
2768
2991
|
_id: z.ZodString;
|
|
2769
2992
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2770
|
-
createdAt: z.ZodOptional<z.
|
|
2771
|
-
updatedAt: z.ZodOptional<z.
|
|
2993
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2994
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2772
2995
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2773
2996
|
paymentAmount: number;
|
|
2774
2997
|
firstName: string;
|
|
@@ -2791,8 +3014,8 @@ declare const zEventReg: z.ZodObject<{
|
|
|
2791
3014
|
donation?: number | undefined;
|
|
2792
3015
|
createMethod?: string | undefined;
|
|
2793
3016
|
editedBy?: string | undefined;
|
|
2794
|
-
createdAt?:
|
|
2795
|
-
updatedAt?:
|
|
3017
|
+
createdAt?: string | undefined;
|
|
3018
|
+
updatedAt?: string | undefined;
|
|
2796
3019
|
}, {
|
|
2797
3020
|
paymentAmount: number;
|
|
2798
3021
|
firstName: string;
|
|
@@ -2815,8 +3038,8 @@ declare const zEventReg: z.ZodObject<{
|
|
|
2815
3038
|
donation?: number | undefined;
|
|
2816
3039
|
createMethod?: string | undefined;
|
|
2817
3040
|
editedBy?: string | undefined;
|
|
2818
|
-
createdAt?:
|
|
2819
|
-
updatedAt?:
|
|
3041
|
+
createdAt?: string | undefined;
|
|
3042
|
+
updatedAt?: string | undefined;
|
|
2820
3043
|
}>;
|
|
2821
3044
|
declare const zEventRegResponse: z.ZodObject<{
|
|
2822
3045
|
paymentAmount: z.ZodNumber;
|
|
@@ -2832,8 +3055,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2832
3055
|
notes: z.ZodOptional<z.ZodString>;
|
|
2833
3056
|
_id: z.ZodString;
|
|
2834
3057
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2835
|
-
createdAt: z.ZodOptional<z.
|
|
2836
|
-
updatedAt: z.ZodOptional<z.
|
|
3058
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
3059
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2837
3060
|
agaId: z.ZodString;
|
|
2838
3061
|
tournamentId: z.ZodString;
|
|
2839
3062
|
donation: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2848,8 +3071,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2848
3071
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2849
3072
|
_id: z.ZodString;
|
|
2850
3073
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2851
|
-
createdAt: z.ZodOptional<z.
|
|
2852
|
-
updatedAt: z.ZodOptional<z.
|
|
3074
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
3075
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2853
3076
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2854
3077
|
_id: string;
|
|
2855
3078
|
name: string;
|
|
@@ -2858,8 +3081,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2858
3081
|
isNotBuyable?: boolean | undefined;
|
|
2859
3082
|
lastBuyableDate?: Date | undefined;
|
|
2860
3083
|
editedBy?: string | undefined;
|
|
2861
|
-
createdAt?:
|
|
2862
|
-
updatedAt?:
|
|
3084
|
+
createdAt?: string | undefined;
|
|
3085
|
+
updatedAt?: string | undefined;
|
|
2863
3086
|
}, {
|
|
2864
3087
|
_id: string;
|
|
2865
3088
|
name: string;
|
|
@@ -2868,8 +3091,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2868
3091
|
isNotBuyable?: boolean | undefined;
|
|
2869
3092
|
lastBuyableDate?: Date | undefined;
|
|
2870
3093
|
editedBy?: string | undefined;
|
|
2871
|
-
createdAt?:
|
|
2872
|
-
updatedAt?:
|
|
3094
|
+
createdAt?: string | undefined;
|
|
3095
|
+
updatedAt?: string | undefined;
|
|
2873
3096
|
}>;
|
|
2874
3097
|
}, "strip", z.ZodTypeAny, {
|
|
2875
3098
|
amount: number;
|
|
@@ -2881,8 +3104,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2881
3104
|
isNotBuyable?: boolean | undefined;
|
|
2882
3105
|
lastBuyableDate?: Date | undefined;
|
|
2883
3106
|
editedBy?: string | undefined;
|
|
2884
|
-
createdAt?:
|
|
2885
|
-
updatedAt?:
|
|
3107
|
+
createdAt?: string | undefined;
|
|
3108
|
+
updatedAt?: string | undefined;
|
|
2886
3109
|
};
|
|
2887
3110
|
}, {
|
|
2888
3111
|
amount: number;
|
|
@@ -2894,8 +3117,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2894
3117
|
isNotBuyable?: boolean | undefined;
|
|
2895
3118
|
lastBuyableDate?: Date | undefined;
|
|
2896
3119
|
editedBy?: string | undefined;
|
|
2897
|
-
createdAt?:
|
|
2898
|
-
updatedAt?:
|
|
3120
|
+
createdAt?: string | undefined;
|
|
3121
|
+
updatedAt?: string | undefined;
|
|
2899
3122
|
};
|
|
2900
3123
|
}>, "many">;
|
|
2901
3124
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2915,8 +3138,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2915
3138
|
isNotBuyable?: boolean | undefined;
|
|
2916
3139
|
lastBuyableDate?: Date | undefined;
|
|
2917
3140
|
editedBy?: string | undefined;
|
|
2918
|
-
createdAt?:
|
|
2919
|
-
updatedAt?:
|
|
3141
|
+
createdAt?: string | undefined;
|
|
3142
|
+
updatedAt?: string | undefined;
|
|
2920
3143
|
};
|
|
2921
3144
|
}[];
|
|
2922
3145
|
agaId: string;
|
|
@@ -2928,8 +3151,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2928
3151
|
address?: string | undefined;
|
|
2929
3152
|
notes?: string | undefined;
|
|
2930
3153
|
editedBy?: string | undefined;
|
|
2931
|
-
createdAt?:
|
|
2932
|
-
updatedAt?:
|
|
3154
|
+
createdAt?: string | undefined;
|
|
3155
|
+
updatedAt?: string | undefined;
|
|
2933
3156
|
donation?: number | undefined;
|
|
2934
3157
|
createMethod?: string | undefined;
|
|
2935
3158
|
}, {
|
|
@@ -2949,8 +3172,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2949
3172
|
isNotBuyable?: boolean | undefined;
|
|
2950
3173
|
lastBuyableDate?: Date | undefined;
|
|
2951
3174
|
editedBy?: string | undefined;
|
|
2952
|
-
createdAt?:
|
|
2953
|
-
updatedAt?:
|
|
3175
|
+
createdAt?: string | undefined;
|
|
3176
|
+
updatedAt?: string | undefined;
|
|
2954
3177
|
};
|
|
2955
3178
|
}[];
|
|
2956
3179
|
agaId: string;
|
|
@@ -2962,8 +3185,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2962
3185
|
address?: string | undefined;
|
|
2963
3186
|
notes?: string | undefined;
|
|
2964
3187
|
editedBy?: string | undefined;
|
|
2965
|
-
createdAt?:
|
|
2966
|
-
updatedAt?:
|
|
3188
|
+
createdAt?: string | undefined;
|
|
3189
|
+
updatedAt?: string | undefined;
|
|
2967
3190
|
donation?: number | undefined;
|
|
2968
3191
|
createMethod?: string | undefined;
|
|
2969
3192
|
}>;
|
|
@@ -2994,8 +3217,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
|
|
|
2994
3217
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2995
3218
|
_id: z.ZodString;
|
|
2996
3219
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2997
|
-
createdAt: z.ZodOptional<z.
|
|
2998
|
-
updatedAt: z.ZodOptional<z.
|
|
3220
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
3221
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2999
3222
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3000
3223
|
_id: string;
|
|
3001
3224
|
name: string;
|
|
@@ -3004,8 +3227,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
|
|
|
3004
3227
|
isNotBuyable?: boolean | undefined;
|
|
3005
3228
|
lastBuyableDate?: Date | undefined;
|
|
3006
3229
|
editedBy?: string | undefined;
|
|
3007
|
-
createdAt?:
|
|
3008
|
-
updatedAt?:
|
|
3230
|
+
createdAt?: string | undefined;
|
|
3231
|
+
updatedAt?: string | undefined;
|
|
3009
3232
|
}, {
|
|
3010
3233
|
_id: string;
|
|
3011
3234
|
name: string;
|
|
@@ -3014,8 +3237,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
|
|
|
3014
3237
|
isNotBuyable?: boolean | undefined;
|
|
3015
3238
|
lastBuyableDate?: Date | undefined;
|
|
3016
3239
|
editedBy?: string | undefined;
|
|
3017
|
-
createdAt?:
|
|
3018
|
-
updatedAt?:
|
|
3240
|
+
createdAt?: string | undefined;
|
|
3241
|
+
updatedAt?: string | undefined;
|
|
3019
3242
|
}>;
|
|
3020
3243
|
}, "strip", z.ZodTypeAny, {
|
|
3021
3244
|
amount: number;
|
|
@@ -3027,8 +3250,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
|
|
|
3027
3250
|
isNotBuyable?: boolean | undefined;
|
|
3028
3251
|
lastBuyableDate?: Date | undefined;
|
|
3029
3252
|
editedBy?: string | undefined;
|
|
3030
|
-
createdAt?:
|
|
3031
|
-
updatedAt?:
|
|
3253
|
+
createdAt?: string | undefined;
|
|
3254
|
+
updatedAt?: string | undefined;
|
|
3032
3255
|
};
|
|
3033
3256
|
}, {
|
|
3034
3257
|
amount: number;
|
|
@@ -3040,8 +3263,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
|
|
|
3040
3263
|
isNotBuyable?: boolean | undefined;
|
|
3041
3264
|
lastBuyableDate?: Date | undefined;
|
|
3042
3265
|
editedBy?: string | undefined;
|
|
3043
|
-
createdAt?:
|
|
3044
|
-
updatedAt?:
|
|
3266
|
+
createdAt?: string | undefined;
|
|
3267
|
+
updatedAt?: string | undefined;
|
|
3045
3268
|
};
|
|
3046
3269
|
}>;
|
|
3047
3270
|
type EventTicketRegResponse = z.infer<typeof zEventTicketRegResponse>;
|
|
@@ -3086,8 +3309,8 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
3086
3309
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
3087
3310
|
_id: z.ZodString;
|
|
3088
3311
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
3089
|
-
createdAt: z.ZodOptional<z.
|
|
3090
|
-
updatedAt: z.ZodOptional<z.
|
|
3312
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
3313
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3091
3314
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3092
3315
|
_id: string;
|
|
3093
3316
|
name: string;
|
|
@@ -3096,8 +3319,8 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
3096
3319
|
isNotBuyable?: boolean | undefined;
|
|
3097
3320
|
lastBuyableDate?: Date | undefined;
|
|
3098
3321
|
editedBy?: string | undefined;
|
|
3099
|
-
createdAt?:
|
|
3100
|
-
updatedAt?:
|
|
3322
|
+
createdAt?: string | undefined;
|
|
3323
|
+
updatedAt?: string | undefined;
|
|
3101
3324
|
}, {
|
|
3102
3325
|
_id: string;
|
|
3103
3326
|
name: string;
|
|
@@ -3106,10 +3329,10 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
3106
3329
|
isNotBuyable?: boolean | undefined;
|
|
3107
3330
|
lastBuyableDate?: Date | undefined;
|
|
3108
3331
|
editedBy?: string | undefined;
|
|
3109
|
-
createdAt?:
|
|
3110
|
-
updatedAt?:
|
|
3332
|
+
createdAt?: string | undefined;
|
|
3333
|
+
updatedAt?: string | undefined;
|
|
3111
3334
|
}>;
|
|
3112
3335
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
3113
3336
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
3114
3337
|
|
|
3115
|
-
export { AgeGroup, AttendState, type Attendance, 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 BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, 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 InvoiceResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoiceResponse, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|
|
3338
|
+
export { AgeGroup, AttendState, type Attendance, 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 BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, 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 NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|