@nyig/models 0.2.42 → 0.2.44
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 +591 -374
- package/index.d.ts +591 -374
- package/index.js +83 -72
- package/index.mjs +80 -72
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -69,6 +69,336 @@ declare enum AttendState {
|
|
|
69
69
|
NONE = "none"
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
declare enum GoRank {
|
|
73
|
+
KYU1 = "1k",
|
|
74
|
+
KYU2 = "2k",
|
|
75
|
+
KYU3 = "3k",
|
|
76
|
+
KYU4 = "4k",
|
|
77
|
+
KYU5 = "5k",
|
|
78
|
+
KYU6 = "6k",
|
|
79
|
+
KYU7 = "7k",
|
|
80
|
+
KYU8 = "8k",
|
|
81
|
+
KYU9 = "9k",
|
|
82
|
+
KYU10 = "10k",
|
|
83
|
+
KYU11 = "11k",
|
|
84
|
+
KYU12 = "12k",
|
|
85
|
+
KYU13 = "13k",
|
|
86
|
+
KYU14 = "14k",
|
|
87
|
+
KYU15 = "15k",
|
|
88
|
+
KYU16 = "16k",
|
|
89
|
+
KYU17 = "17k",
|
|
90
|
+
KYU18 = "18k",
|
|
91
|
+
KYU19 = "19k",
|
|
92
|
+
KYU20 = "20k",
|
|
93
|
+
KYU21 = "21k",
|
|
94
|
+
KYU22 = "22k",
|
|
95
|
+
KYU23 = "23k",
|
|
96
|
+
KYU24 = "24k",
|
|
97
|
+
KYU25 = "25k",
|
|
98
|
+
DAN1 = "1d",
|
|
99
|
+
DAN2 = "2d",
|
|
100
|
+
DAN3 = "3d",
|
|
101
|
+
DAN4 = "4d",
|
|
102
|
+
DAN5 = "5d",
|
|
103
|
+
DAN6 = "6d",
|
|
104
|
+
DAN7 = "7d",
|
|
105
|
+
PRO1 = "1p",
|
|
106
|
+
PRO2 = "2p",
|
|
107
|
+
PRO3 = "3p",
|
|
108
|
+
PRO4 = "4p",
|
|
109
|
+
PRO5 = "5p",
|
|
110
|
+
PRO6 = "6p",
|
|
111
|
+
PRO7 = "7p",
|
|
112
|
+
PRO8 = "8p",
|
|
113
|
+
PRO9 = "9p"
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
declare const zBUser: z.ZodObject<{
|
|
117
|
+
name: z.ZodString;
|
|
118
|
+
username: z.ZodOptional<z.ZodString>;
|
|
119
|
+
password: z.ZodOptional<z.ZodString>;
|
|
120
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
121
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
122
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
123
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
124
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
125
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
name: string;
|
|
128
|
+
username?: string | undefined;
|
|
129
|
+
password?: string | undefined;
|
|
130
|
+
roles?: number[] | undefined;
|
|
131
|
+
email?: string | undefined;
|
|
132
|
+
address?: string | undefined;
|
|
133
|
+
country?: string | undefined;
|
|
134
|
+
phoneNumber?: string | undefined;
|
|
135
|
+
birthDate?: string | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
name: string;
|
|
138
|
+
username?: string | undefined;
|
|
139
|
+
password?: string | undefined;
|
|
140
|
+
roles?: number[] | undefined;
|
|
141
|
+
email?: string | undefined;
|
|
142
|
+
address?: string | undefined;
|
|
143
|
+
country?: string | undefined;
|
|
144
|
+
phoneNumber?: string | undefined;
|
|
145
|
+
birthDate?: string | undefined;
|
|
146
|
+
}>;
|
|
147
|
+
declare const zUser: z.ZodObject<{
|
|
148
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
149
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
150
|
+
name: z.ZodString;
|
|
151
|
+
username: z.ZodOptional<z.ZodString>;
|
|
152
|
+
password: z.ZodOptional<z.ZodString>;
|
|
153
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
154
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
155
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
156
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
157
|
+
_id: z.ZodString;
|
|
158
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
159
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
160
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
161
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
162
|
+
_id: string;
|
|
163
|
+
name: string;
|
|
164
|
+
email?: string | undefined;
|
|
165
|
+
address?: string | undefined;
|
|
166
|
+
username?: string | undefined;
|
|
167
|
+
password?: string | undefined;
|
|
168
|
+
roles?: number[] | undefined;
|
|
169
|
+
country?: string | undefined;
|
|
170
|
+
phoneNumber?: string | undefined;
|
|
171
|
+
birthDate?: string | undefined;
|
|
172
|
+
editedBy?: string | undefined;
|
|
173
|
+
createdAt?: string | undefined;
|
|
174
|
+
updatedAt?: string | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
_id: string;
|
|
177
|
+
name: string;
|
|
178
|
+
email?: string | undefined;
|
|
179
|
+
address?: string | undefined;
|
|
180
|
+
username?: string | undefined;
|
|
181
|
+
password?: string | undefined;
|
|
182
|
+
roles?: number[] | undefined;
|
|
183
|
+
country?: string | undefined;
|
|
184
|
+
phoneNumber?: string | undefined;
|
|
185
|
+
birthDate?: string | undefined;
|
|
186
|
+
editedBy?: string | undefined;
|
|
187
|
+
createdAt?: string | undefined;
|
|
188
|
+
updatedAt?: string | undefined;
|
|
189
|
+
}>;
|
|
190
|
+
declare const zBStudent: z.ZodObject<{
|
|
191
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
192
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
193
|
+
name: z.ZodString;
|
|
194
|
+
username: z.ZodOptional<z.ZodString>;
|
|
195
|
+
password: z.ZodOptional<z.ZodString>;
|
|
196
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
197
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
198
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
199
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
200
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
201
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
rank: GoRank;
|
|
204
|
+
name: string;
|
|
205
|
+
email?: string | undefined;
|
|
206
|
+
address?: string | undefined;
|
|
207
|
+
username?: string | undefined;
|
|
208
|
+
password?: string | undefined;
|
|
209
|
+
roles?: number[] | undefined;
|
|
210
|
+
country?: string | undefined;
|
|
211
|
+
phoneNumber?: string | undefined;
|
|
212
|
+
birthDate?: string | undefined;
|
|
213
|
+
guardian?: string | undefined;
|
|
214
|
+
}, {
|
|
215
|
+
rank: GoRank;
|
|
216
|
+
name: string;
|
|
217
|
+
email?: string | undefined;
|
|
218
|
+
address?: string | undefined;
|
|
219
|
+
username?: string | undefined;
|
|
220
|
+
password?: string | undefined;
|
|
221
|
+
roles?: number[] | undefined;
|
|
222
|
+
country?: string | undefined;
|
|
223
|
+
phoneNumber?: string | undefined;
|
|
224
|
+
birthDate?: string | undefined;
|
|
225
|
+
guardian?: string | undefined;
|
|
226
|
+
}>;
|
|
227
|
+
declare const zStudent: z.ZodObject<{
|
|
228
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
229
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
230
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
231
|
+
name: z.ZodString;
|
|
232
|
+
username: z.ZodOptional<z.ZodString>;
|
|
233
|
+
password: z.ZodOptional<z.ZodString>;
|
|
234
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
235
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
236
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
237
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
238
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
239
|
+
_id: z.ZodString;
|
|
240
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
241
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
242
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
244
|
+
rank: GoRank;
|
|
245
|
+
_id: string;
|
|
246
|
+
name: string;
|
|
247
|
+
email?: string | undefined;
|
|
248
|
+
address?: string | undefined;
|
|
249
|
+
username?: string | undefined;
|
|
250
|
+
password?: string | undefined;
|
|
251
|
+
roles?: number[] | undefined;
|
|
252
|
+
country?: string | undefined;
|
|
253
|
+
phoneNumber?: string | undefined;
|
|
254
|
+
birthDate?: string | undefined;
|
|
255
|
+
guardian?: string | undefined;
|
|
256
|
+
editedBy?: string | undefined;
|
|
257
|
+
createdAt?: string | undefined;
|
|
258
|
+
updatedAt?: string | undefined;
|
|
259
|
+
}, {
|
|
260
|
+
rank: GoRank;
|
|
261
|
+
_id: string;
|
|
262
|
+
name: string;
|
|
263
|
+
email?: string | undefined;
|
|
264
|
+
address?: string | undefined;
|
|
265
|
+
username?: string | undefined;
|
|
266
|
+
password?: string | undefined;
|
|
267
|
+
roles?: number[] | undefined;
|
|
268
|
+
country?: string | undefined;
|
|
269
|
+
phoneNumber?: string | undefined;
|
|
270
|
+
birthDate?: string | undefined;
|
|
271
|
+
guardian?: string | undefined;
|
|
272
|
+
editedBy?: string | undefined;
|
|
273
|
+
createdAt?: string | undefined;
|
|
274
|
+
updatedAt?: string | undefined;
|
|
275
|
+
}>;
|
|
276
|
+
declare const zBTeacher: z.ZodObject<{
|
|
277
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
278
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
279
|
+
name: z.ZodString;
|
|
280
|
+
username: z.ZodOptional<z.ZodString>;
|
|
281
|
+
password: z.ZodOptional<z.ZodString>;
|
|
282
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
283
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
284
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
285
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
286
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
287
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
title: z.ZodOptional<z.ZodString>;
|
|
289
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
290
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
rank: GoRank;
|
|
293
|
+
name: string;
|
|
294
|
+
email?: string | undefined;
|
|
295
|
+
address?: string | undefined;
|
|
296
|
+
username?: string | undefined;
|
|
297
|
+
password?: string | undefined;
|
|
298
|
+
roles?: number[] | undefined;
|
|
299
|
+
country?: string | undefined;
|
|
300
|
+
phoneNumber?: string | undefined;
|
|
301
|
+
birthDate?: string | undefined;
|
|
302
|
+
isInactive?: boolean | undefined;
|
|
303
|
+
title?: string | undefined;
|
|
304
|
+
bio?: string | undefined;
|
|
305
|
+
available?: number[][][] | undefined;
|
|
306
|
+
}, {
|
|
307
|
+
rank: GoRank;
|
|
308
|
+
name: string;
|
|
309
|
+
email?: string | undefined;
|
|
310
|
+
address?: string | undefined;
|
|
311
|
+
username?: string | undefined;
|
|
312
|
+
password?: string | undefined;
|
|
313
|
+
roles?: number[] | undefined;
|
|
314
|
+
country?: string | undefined;
|
|
315
|
+
phoneNumber?: string | undefined;
|
|
316
|
+
birthDate?: string | undefined;
|
|
317
|
+
isInactive?: boolean | undefined;
|
|
318
|
+
title?: string | undefined;
|
|
319
|
+
bio?: string | undefined;
|
|
320
|
+
available?: number[][][] | undefined;
|
|
321
|
+
}>;
|
|
322
|
+
declare const zTeacher: z.ZodObject<{
|
|
323
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
324
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
325
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
326
|
+
name: z.ZodString;
|
|
327
|
+
username: z.ZodOptional<z.ZodString>;
|
|
328
|
+
password: z.ZodOptional<z.ZodString>;
|
|
329
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
330
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
331
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
332
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
333
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
334
|
+
title: z.ZodOptional<z.ZodString>;
|
|
335
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
336
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
337
|
+
_id: z.ZodString;
|
|
338
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
339
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
340
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
341
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
342
|
+
rank: GoRank;
|
|
343
|
+
_id: string;
|
|
344
|
+
name: string;
|
|
345
|
+
email?: string | undefined;
|
|
346
|
+
address?: string | undefined;
|
|
347
|
+
username?: string | undefined;
|
|
348
|
+
password?: string | undefined;
|
|
349
|
+
roles?: number[] | undefined;
|
|
350
|
+
country?: string | undefined;
|
|
351
|
+
phoneNumber?: string | undefined;
|
|
352
|
+
birthDate?: string | undefined;
|
|
353
|
+
isInactive?: boolean | undefined;
|
|
354
|
+
title?: string | undefined;
|
|
355
|
+
bio?: string | undefined;
|
|
356
|
+
available?: number[][][] | undefined;
|
|
357
|
+
editedBy?: string | undefined;
|
|
358
|
+
createdAt?: string | undefined;
|
|
359
|
+
updatedAt?: string | undefined;
|
|
360
|
+
}, {
|
|
361
|
+
rank: GoRank;
|
|
362
|
+
_id: string;
|
|
363
|
+
name: string;
|
|
364
|
+
email?: string | undefined;
|
|
365
|
+
address?: string | undefined;
|
|
366
|
+
username?: string | undefined;
|
|
367
|
+
password?: string | undefined;
|
|
368
|
+
roles?: number[] | undefined;
|
|
369
|
+
country?: string | undefined;
|
|
370
|
+
phoneNumber?: string | undefined;
|
|
371
|
+
birthDate?: string | undefined;
|
|
372
|
+
isInactive?: boolean | undefined;
|
|
373
|
+
title?: string | undefined;
|
|
374
|
+
bio?: string | undefined;
|
|
375
|
+
available?: number[][][] | undefined;
|
|
376
|
+
editedBy?: string | undefined;
|
|
377
|
+
createdAt?: string | undefined;
|
|
378
|
+
updatedAt?: string | undefined;
|
|
379
|
+
}>;
|
|
380
|
+
type BUser = z.infer<typeof zBUser>;
|
|
381
|
+
type User = z.infer<typeof zUser>;
|
|
382
|
+
type BStudent = z.infer<typeof zBStudent>;
|
|
383
|
+
type Student = z.infer<typeof zStudent>;
|
|
384
|
+
type BTeacher = z.infer<typeof zBTeacher>;
|
|
385
|
+
type Teacher = z.infer<typeof zTeacher>;
|
|
386
|
+
|
|
387
|
+
declare const zUserRoles: z.ZodObject<{
|
|
388
|
+
user: z.ZodNumber;
|
|
389
|
+
admin: z.ZodNumber;
|
|
390
|
+
superadmin: z.ZodNumber;
|
|
391
|
+
}, "strip", z.ZodTypeAny, {
|
|
392
|
+
user: number;
|
|
393
|
+
admin: number;
|
|
394
|
+
superadmin: number;
|
|
395
|
+
}, {
|
|
396
|
+
user: number;
|
|
397
|
+
admin: number;
|
|
398
|
+
superadmin: number;
|
|
399
|
+
}>;
|
|
400
|
+
type UserRoles = z.infer<typeof zUserRoles>;
|
|
401
|
+
|
|
72
402
|
declare enum CampOption {
|
|
73
403
|
AM = "am",
|
|
74
404
|
PM = "pm",
|
|
@@ -92,7 +422,7 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
92
422
|
shipping?: boolean | undefined;
|
|
93
423
|
}>;
|
|
94
424
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
-
campOption: z.ZodNativeEnum<typeof CampOption
|
|
425
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
96
426
|
}, "strip", z.ZodTypeAny, {
|
|
97
427
|
student: string;
|
|
98
428
|
states: AttendState[];
|
|
@@ -101,8 +431,8 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
101
431
|
textbook?: boolean | undefined;
|
|
102
432
|
shipping?: boolean | undefined;
|
|
103
433
|
};
|
|
104
|
-
campOption: CampOption;
|
|
105
434
|
paid?: boolean | undefined;
|
|
435
|
+
campOption?: CampOption | undefined;
|
|
106
436
|
}, {
|
|
107
437
|
student: string;
|
|
108
438
|
states: AttendState[];
|
|
@@ -111,8 +441,8 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
111
441
|
textbook?: boolean | undefined;
|
|
112
442
|
shipping?: boolean | undefined;
|
|
113
443
|
};
|
|
114
|
-
campOption: CampOption;
|
|
115
444
|
paid?: boolean | undefined;
|
|
445
|
+
campOption?: CampOption | undefined;
|
|
116
446
|
}>;
|
|
117
447
|
declare const zAttendance: z.ZodObject<{
|
|
118
448
|
student: z.ZodString;
|
|
@@ -131,7 +461,7 @@ declare const zAttendance: z.ZodObject<{
|
|
|
131
461
|
shipping?: boolean | undefined;
|
|
132
462
|
}>;
|
|
133
463
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
campOption: z.ZodNativeEnum<typeof CampOption
|
|
464
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
135
465
|
_id: z.ZodString;
|
|
136
466
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
137
467
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -145,28 +475,160 @@ declare const zAttendance: z.ZodObject<{
|
|
|
145
475
|
textbook?: boolean | undefined;
|
|
146
476
|
shipping?: boolean | undefined;
|
|
147
477
|
};
|
|
148
|
-
|
|
149
|
-
|
|
478
|
+
paid?: boolean | undefined;
|
|
479
|
+
campOption?: CampOption | undefined;
|
|
480
|
+
editedBy?: string | undefined;
|
|
481
|
+
createdAt?: string | undefined;
|
|
482
|
+
updatedAt?: string | undefined;
|
|
483
|
+
}, {
|
|
484
|
+
_id: string;
|
|
485
|
+
student: string;
|
|
486
|
+
states: AttendState[];
|
|
487
|
+
tuition: {
|
|
488
|
+
primary: number;
|
|
489
|
+
textbook?: boolean | undefined;
|
|
490
|
+
shipping?: boolean | undefined;
|
|
491
|
+
};
|
|
492
|
+
paid?: boolean | undefined;
|
|
493
|
+
campOption?: CampOption | undefined;
|
|
494
|
+
editedBy?: string | undefined;
|
|
495
|
+
createdAt?: string | undefined;
|
|
496
|
+
updatedAt?: string | undefined;
|
|
497
|
+
}>;
|
|
498
|
+
declare const zAttendanceResponse: z.ZodObject<{
|
|
499
|
+
_id: z.ZodString;
|
|
500
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
501
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
502
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
503
|
+
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
504
|
+
tuition: z.ZodObject<{
|
|
505
|
+
primary: z.ZodNumber;
|
|
506
|
+
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
507
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
508
|
+
}, "strip", z.ZodTypeAny, {
|
|
509
|
+
primary: number;
|
|
510
|
+
textbook?: boolean | undefined;
|
|
511
|
+
shipping?: boolean | undefined;
|
|
512
|
+
}, {
|
|
513
|
+
primary: number;
|
|
514
|
+
textbook?: boolean | undefined;
|
|
515
|
+
shipping?: boolean | undefined;
|
|
516
|
+
}>;
|
|
517
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
518
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
519
|
+
student: z.ZodObject<{
|
|
520
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
521
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
522
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
523
|
+
name: z.ZodString;
|
|
524
|
+
username: z.ZodOptional<z.ZodString>;
|
|
525
|
+
password: z.ZodOptional<z.ZodString>;
|
|
526
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
527
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
528
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
529
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
530
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
531
|
+
_id: z.ZodString;
|
|
532
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
533
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
534
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
535
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
536
|
+
rank: GoRank;
|
|
537
|
+
_id: string;
|
|
538
|
+
name: string;
|
|
539
|
+
email?: string | undefined;
|
|
540
|
+
address?: string | undefined;
|
|
541
|
+
username?: string | undefined;
|
|
542
|
+
password?: string | undefined;
|
|
543
|
+
roles?: number[] | undefined;
|
|
544
|
+
country?: string | undefined;
|
|
545
|
+
phoneNumber?: string | undefined;
|
|
546
|
+
birthDate?: string | undefined;
|
|
547
|
+
guardian?: string | undefined;
|
|
548
|
+
editedBy?: string | undefined;
|
|
549
|
+
createdAt?: string | undefined;
|
|
550
|
+
updatedAt?: string | undefined;
|
|
551
|
+
}, {
|
|
552
|
+
rank: GoRank;
|
|
553
|
+
_id: string;
|
|
554
|
+
name: string;
|
|
555
|
+
email?: string | undefined;
|
|
556
|
+
address?: string | undefined;
|
|
557
|
+
username?: string | undefined;
|
|
558
|
+
password?: string | undefined;
|
|
559
|
+
roles?: number[] | undefined;
|
|
560
|
+
country?: string | undefined;
|
|
561
|
+
phoneNumber?: string | undefined;
|
|
562
|
+
birthDate?: string | undefined;
|
|
563
|
+
guardian?: string | undefined;
|
|
564
|
+
editedBy?: string | undefined;
|
|
565
|
+
createdAt?: string | undefined;
|
|
566
|
+
updatedAt?: string | undefined;
|
|
567
|
+
}>;
|
|
568
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
569
|
+
_id: string;
|
|
570
|
+
student: {
|
|
571
|
+
rank: GoRank;
|
|
572
|
+
_id: string;
|
|
573
|
+
name: string;
|
|
574
|
+
email?: string | undefined;
|
|
575
|
+
address?: string | undefined;
|
|
576
|
+
username?: string | undefined;
|
|
577
|
+
password?: string | undefined;
|
|
578
|
+
roles?: number[] | undefined;
|
|
579
|
+
country?: string | undefined;
|
|
580
|
+
phoneNumber?: string | undefined;
|
|
581
|
+
birthDate?: string | undefined;
|
|
582
|
+
guardian?: string | undefined;
|
|
583
|
+
editedBy?: string | undefined;
|
|
584
|
+
createdAt?: string | undefined;
|
|
585
|
+
updatedAt?: string | undefined;
|
|
586
|
+
};
|
|
587
|
+
states: AttendState[];
|
|
588
|
+
tuition: {
|
|
589
|
+
primary: number;
|
|
590
|
+
textbook?: boolean | undefined;
|
|
591
|
+
shipping?: boolean | undefined;
|
|
592
|
+
};
|
|
150
593
|
editedBy?: string | undefined;
|
|
151
594
|
createdAt?: string | undefined;
|
|
152
595
|
updatedAt?: string | undefined;
|
|
596
|
+
paid?: boolean | undefined;
|
|
597
|
+
campOption?: CampOption | undefined;
|
|
153
598
|
}, {
|
|
154
599
|
_id: string;
|
|
155
|
-
student:
|
|
600
|
+
student: {
|
|
601
|
+
rank: GoRank;
|
|
602
|
+
_id: string;
|
|
603
|
+
name: string;
|
|
604
|
+
email?: string | undefined;
|
|
605
|
+
address?: string | undefined;
|
|
606
|
+
username?: string | undefined;
|
|
607
|
+
password?: string | undefined;
|
|
608
|
+
roles?: number[] | undefined;
|
|
609
|
+
country?: string | undefined;
|
|
610
|
+
phoneNumber?: string | undefined;
|
|
611
|
+
birthDate?: string | undefined;
|
|
612
|
+
guardian?: string | undefined;
|
|
613
|
+
editedBy?: string | undefined;
|
|
614
|
+
createdAt?: string | undefined;
|
|
615
|
+
updatedAt?: string | undefined;
|
|
616
|
+
};
|
|
156
617
|
states: AttendState[];
|
|
157
618
|
tuition: {
|
|
158
619
|
primary: number;
|
|
159
620
|
textbook?: boolean | undefined;
|
|
160
621
|
shipping?: boolean | undefined;
|
|
161
622
|
};
|
|
162
|
-
campOption: CampOption;
|
|
163
|
-
paid?: boolean | undefined;
|
|
164
623
|
editedBy?: string | undefined;
|
|
165
624
|
createdAt?: string | undefined;
|
|
166
625
|
updatedAt?: string | undefined;
|
|
626
|
+
paid?: boolean | undefined;
|
|
627
|
+
campOption?: CampOption | undefined;
|
|
167
628
|
}>;
|
|
168
629
|
type BAttendance = z.infer<typeof zBAttendance>;
|
|
169
630
|
type Attendance = z.infer<typeof zAttendance>;
|
|
631
|
+
type AttendanceResponse = z.infer<typeof zAttendanceResponse>;
|
|
170
632
|
|
|
171
633
|
declare const zBCampTracker: z.ZodObject<{
|
|
172
634
|
course: z.ZodString;
|
|
@@ -924,289 +1386,44 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
924
1386
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
925
1387
|
paymentAmount: number;
|
|
926
1388
|
firstName: string;
|
|
927
|
-
lastName: string;
|
|
928
|
-
rank: string;
|
|
929
|
-
email: string;
|
|
930
|
-
_id: string;
|
|
931
|
-
courseId: string;
|
|
932
|
-
teacherId: string;
|
|
933
|
-
paymentReceived?: boolean | undefined;
|
|
934
|
-
expireAt?: Date | undefined;
|
|
935
|
-
userId?: string | undefined;
|
|
936
|
-
phone?: string | undefined;
|
|
937
|
-
address?: string | undefined;
|
|
938
|
-
notes?: string | undefined;
|
|
939
|
-
classDate?: string | undefined;
|
|
940
|
-
editedBy?: string | undefined;
|
|
941
|
-
createdAt?: string | undefined;
|
|
942
|
-
updatedAt?: string | undefined;
|
|
943
|
-
}, {
|
|
944
|
-
paymentAmount: number;
|
|
945
|
-
firstName: string;
|
|
946
|
-
lastName: string;
|
|
947
|
-
rank: string;
|
|
948
|
-
email: string;
|
|
949
|
-
_id: string;
|
|
950
|
-
courseId: string;
|
|
951
|
-
teacherId: string;
|
|
952
|
-
paymentReceived?: boolean | undefined;
|
|
953
|
-
expireAt?: Date | undefined;
|
|
954
|
-
userId?: string | undefined;
|
|
955
|
-
phone?: string | undefined;
|
|
956
|
-
address?: string | undefined;
|
|
957
|
-
notes?: string | undefined;
|
|
958
|
-
classDate?: string | undefined;
|
|
959
|
-
editedBy?: string | undefined;
|
|
960
|
-
createdAt?: string | undefined;
|
|
961
|
-
updatedAt?: string | undefined;
|
|
962
|
-
}>;
|
|
963
|
-
type BPrivateBooking = z.infer<typeof zBPrivateBooking>;
|
|
964
|
-
type PrivateBooking = z.infer<typeof zPrivateBooking>;
|
|
965
|
-
|
|
966
|
-
declare enum GoRank {
|
|
967
|
-
KYU1 = "1k",
|
|
968
|
-
KYU2 = "2k",
|
|
969
|
-
KYU3 = "3k",
|
|
970
|
-
KYU4 = "4k",
|
|
971
|
-
KYU5 = "5k",
|
|
972
|
-
KYU6 = "6k",
|
|
973
|
-
KYU7 = "7k",
|
|
974
|
-
KYU8 = "8k",
|
|
975
|
-
KYU9 = "9k",
|
|
976
|
-
KYU10 = "10k",
|
|
977
|
-
KYU11 = "11k",
|
|
978
|
-
KYU12 = "12k",
|
|
979
|
-
KYU13 = "13k",
|
|
980
|
-
KYU14 = "14k",
|
|
981
|
-
KYU15 = "15k",
|
|
982
|
-
KYU16 = "16k",
|
|
983
|
-
KYU17 = "17k",
|
|
984
|
-
KYU18 = "18k",
|
|
985
|
-
KYU19 = "19k",
|
|
986
|
-
KYU20 = "20k",
|
|
987
|
-
KYU21 = "21k",
|
|
988
|
-
KYU22 = "22k",
|
|
989
|
-
KYU23 = "23k",
|
|
990
|
-
KYU24 = "24k",
|
|
991
|
-
KYU25 = "25k",
|
|
992
|
-
DAN1 = "1d",
|
|
993
|
-
DAN2 = "2d",
|
|
994
|
-
DAN3 = "3d",
|
|
995
|
-
DAN4 = "4d",
|
|
996
|
-
DAN5 = "5d",
|
|
997
|
-
DAN6 = "6d",
|
|
998
|
-
DAN7 = "7d",
|
|
999
|
-
PRO1 = "1p",
|
|
1000
|
-
PRO2 = "2p",
|
|
1001
|
-
PRO3 = "3p",
|
|
1002
|
-
PRO4 = "4p",
|
|
1003
|
-
PRO5 = "5p",
|
|
1004
|
-
PRO6 = "6p",
|
|
1005
|
-
PRO7 = "7p",
|
|
1006
|
-
PRO8 = "8p",
|
|
1007
|
-
PRO9 = "9p"
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
declare const zBUser: z.ZodObject<{
|
|
1011
|
-
name: z.ZodString;
|
|
1012
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1013
|
-
password: z.ZodOptional<z.ZodString>;
|
|
1014
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1015
|
-
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1016
|
-
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1017
|
-
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1018
|
-
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1019
|
-
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1020
|
-
}, "strip", z.ZodTypeAny, {
|
|
1021
|
-
name: string;
|
|
1022
|
-
username?: string | undefined;
|
|
1023
|
-
password?: string | undefined;
|
|
1024
|
-
roles?: number[] | undefined;
|
|
1025
|
-
email?: string | undefined;
|
|
1026
|
-
address?: string | undefined;
|
|
1027
|
-
country?: string | undefined;
|
|
1028
|
-
phoneNumber?: string | undefined;
|
|
1029
|
-
birthDate?: string | undefined;
|
|
1030
|
-
}, {
|
|
1031
|
-
name: string;
|
|
1032
|
-
username?: string | undefined;
|
|
1033
|
-
password?: string | undefined;
|
|
1034
|
-
roles?: number[] | undefined;
|
|
1035
|
-
email?: string | undefined;
|
|
1036
|
-
address?: string | undefined;
|
|
1037
|
-
country?: string | undefined;
|
|
1038
|
-
phoneNumber?: string | undefined;
|
|
1039
|
-
birthDate?: string | undefined;
|
|
1040
|
-
}>;
|
|
1041
|
-
declare const zUser: z.ZodObject<{
|
|
1042
|
-
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1043
|
-
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1044
|
-
name: z.ZodString;
|
|
1045
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1046
|
-
password: z.ZodOptional<z.ZodString>;
|
|
1047
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1048
|
-
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1049
|
-
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1050
|
-
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1051
|
-
_id: z.ZodString;
|
|
1052
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1053
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1054
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1055
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1056
|
-
_id: string;
|
|
1057
|
-
name: string;
|
|
1058
|
-
email?: string | undefined;
|
|
1059
|
-
address?: string | undefined;
|
|
1060
|
-
username?: string | undefined;
|
|
1061
|
-
password?: string | undefined;
|
|
1062
|
-
roles?: number[] | undefined;
|
|
1063
|
-
country?: string | undefined;
|
|
1064
|
-
phoneNumber?: string | undefined;
|
|
1065
|
-
birthDate?: string | undefined;
|
|
1066
|
-
editedBy?: string | undefined;
|
|
1067
|
-
createdAt?: string | undefined;
|
|
1068
|
-
updatedAt?: string | undefined;
|
|
1069
|
-
}, {
|
|
1070
|
-
_id: string;
|
|
1071
|
-
name: string;
|
|
1072
|
-
email?: string | undefined;
|
|
1073
|
-
address?: string | undefined;
|
|
1074
|
-
username?: string | undefined;
|
|
1075
|
-
password?: string | undefined;
|
|
1076
|
-
roles?: number[] | undefined;
|
|
1077
|
-
country?: string | undefined;
|
|
1078
|
-
phoneNumber?: string | undefined;
|
|
1079
|
-
birthDate?: string | undefined;
|
|
1080
|
-
editedBy?: string | undefined;
|
|
1081
|
-
createdAt?: string | undefined;
|
|
1082
|
-
updatedAt?: string | undefined;
|
|
1083
|
-
}>;
|
|
1084
|
-
declare const zStudent: z.ZodObject<{
|
|
1085
|
-
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1086
|
-
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1087
|
-
_id: z.ZodString;
|
|
1088
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1089
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1090
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1091
|
-
name: z.ZodString;
|
|
1092
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1093
|
-
password: z.ZodOptional<z.ZodString>;
|
|
1094
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1095
|
-
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1096
|
-
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1097
|
-
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1098
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1099
|
-
guardian: z.ZodOptional<z.ZodString>;
|
|
1100
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1101
|
-
rank: GoRank;
|
|
1102
|
-
_id: string;
|
|
1103
|
-
name: string;
|
|
1104
|
-
email?: string | undefined;
|
|
1105
|
-
address?: string | undefined;
|
|
1106
|
-
editedBy?: string | undefined;
|
|
1107
|
-
createdAt?: string | undefined;
|
|
1108
|
-
updatedAt?: string | undefined;
|
|
1109
|
-
username?: string | undefined;
|
|
1110
|
-
password?: string | undefined;
|
|
1111
|
-
roles?: number[] | undefined;
|
|
1112
|
-
country?: string | undefined;
|
|
1113
|
-
phoneNumber?: string | undefined;
|
|
1114
|
-
birthDate?: string | undefined;
|
|
1115
|
-
guardian?: string | undefined;
|
|
1116
|
-
}, {
|
|
1117
|
-
rank: GoRank;
|
|
1118
|
-
_id: string;
|
|
1119
|
-
name: string;
|
|
1120
|
-
email?: string | undefined;
|
|
1121
|
-
address?: string | undefined;
|
|
1122
|
-
editedBy?: string | undefined;
|
|
1123
|
-
createdAt?: string | undefined;
|
|
1124
|
-
updatedAt?: string | undefined;
|
|
1125
|
-
username?: string | undefined;
|
|
1126
|
-
password?: string | undefined;
|
|
1127
|
-
roles?: number[] | undefined;
|
|
1128
|
-
country?: string | undefined;
|
|
1129
|
-
phoneNumber?: string | undefined;
|
|
1130
|
-
birthDate?: string | undefined;
|
|
1131
|
-
guardian?: string | undefined;
|
|
1132
|
-
}>;
|
|
1133
|
-
declare const zTeacher: z.ZodObject<{
|
|
1134
|
-
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1135
|
-
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1136
|
-
_id: z.ZodString;
|
|
1137
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1138
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1139
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1140
|
-
name: z.ZodString;
|
|
1141
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1142
|
-
password: z.ZodOptional<z.ZodString>;
|
|
1143
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1144
|
-
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1145
|
-
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1146
|
-
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1147
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1148
|
-
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1149
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1150
|
-
bio: z.ZodOptional<z.ZodString>;
|
|
1151
|
-
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1152
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1153
|
-
rank: GoRank;
|
|
1389
|
+
lastName: string;
|
|
1390
|
+
rank: string;
|
|
1391
|
+
email: string;
|
|
1154
1392
|
_id: string;
|
|
1155
|
-
|
|
1156
|
-
|
|
1393
|
+
courseId: string;
|
|
1394
|
+
teacherId: string;
|
|
1395
|
+
paymentReceived?: boolean | undefined;
|
|
1396
|
+
expireAt?: Date | undefined;
|
|
1397
|
+
userId?: string | undefined;
|
|
1398
|
+
phone?: string | undefined;
|
|
1157
1399
|
address?: string | undefined;
|
|
1400
|
+
notes?: string | undefined;
|
|
1401
|
+
classDate?: string | undefined;
|
|
1158
1402
|
editedBy?: string | undefined;
|
|
1159
1403
|
createdAt?: string | undefined;
|
|
1160
1404
|
updatedAt?: string | undefined;
|
|
1161
|
-
username?: string | undefined;
|
|
1162
|
-
password?: string | undefined;
|
|
1163
|
-
roles?: number[] | undefined;
|
|
1164
|
-
country?: string | undefined;
|
|
1165
|
-
phoneNumber?: string | undefined;
|
|
1166
|
-
birthDate?: string | undefined;
|
|
1167
|
-
isInactive?: boolean | undefined;
|
|
1168
|
-
title?: string | undefined;
|
|
1169
|
-
bio?: string | undefined;
|
|
1170
|
-
available?: number[][][] | undefined;
|
|
1171
1405
|
}, {
|
|
1172
|
-
|
|
1406
|
+
paymentAmount: number;
|
|
1407
|
+
firstName: string;
|
|
1408
|
+
lastName: string;
|
|
1409
|
+
rank: string;
|
|
1410
|
+
email: string;
|
|
1173
1411
|
_id: string;
|
|
1174
|
-
|
|
1175
|
-
|
|
1412
|
+
courseId: string;
|
|
1413
|
+
teacherId: string;
|
|
1414
|
+
paymentReceived?: boolean | undefined;
|
|
1415
|
+
expireAt?: Date | undefined;
|
|
1416
|
+
userId?: string | undefined;
|
|
1417
|
+
phone?: string | undefined;
|
|
1176
1418
|
address?: string | undefined;
|
|
1419
|
+
notes?: string | undefined;
|
|
1420
|
+
classDate?: string | undefined;
|
|
1177
1421
|
editedBy?: string | undefined;
|
|
1178
1422
|
createdAt?: string | undefined;
|
|
1179
1423
|
updatedAt?: string | undefined;
|
|
1180
|
-
username?: string | undefined;
|
|
1181
|
-
password?: string | undefined;
|
|
1182
|
-
roles?: number[] | undefined;
|
|
1183
|
-
country?: string | undefined;
|
|
1184
|
-
phoneNumber?: string | undefined;
|
|
1185
|
-
birthDate?: string | undefined;
|
|
1186
|
-
isInactive?: boolean | undefined;
|
|
1187
|
-
title?: string | undefined;
|
|
1188
|
-
bio?: string | undefined;
|
|
1189
|
-
available?: number[][][] | undefined;
|
|
1190
|
-
}>;
|
|
1191
|
-
type BUser = z.infer<typeof zBUser>;
|
|
1192
|
-
type User = z.infer<typeof zUser>;
|
|
1193
|
-
type Student = z.infer<typeof zStudent>;
|
|
1194
|
-
type Teacher = z.infer<typeof zTeacher>;
|
|
1195
|
-
|
|
1196
|
-
declare const zUserRoles: z.ZodObject<{
|
|
1197
|
-
user: z.ZodNumber;
|
|
1198
|
-
admin: z.ZodNumber;
|
|
1199
|
-
superadmin: z.ZodNumber;
|
|
1200
|
-
}, "strip", z.ZodTypeAny, {
|
|
1201
|
-
user: number;
|
|
1202
|
-
admin: number;
|
|
1203
|
-
superadmin: number;
|
|
1204
|
-
}, {
|
|
1205
|
-
user: number;
|
|
1206
|
-
admin: number;
|
|
1207
|
-
superadmin: number;
|
|
1208
1424
|
}>;
|
|
1209
|
-
type
|
|
1425
|
+
type BPrivateBooking = z.infer<typeof zBPrivateBooking>;
|
|
1426
|
+
type PrivateBooking = z.infer<typeof zPrivateBooking>;
|
|
1210
1427
|
|
|
1211
1428
|
declare enum PaymentMethod {
|
|
1212
1429
|
CASH = "Cash",
|
|
@@ -1283,12 +1500,9 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1283
1500
|
units: number;
|
|
1284
1501
|
}>, "many">;
|
|
1285
1502
|
student: z.ZodObject<{
|
|
1503
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1286
1504
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1287
1505
|
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
1506
|
name: z.ZodString;
|
|
1293
1507
|
username: z.ZodOptional<z.ZodString>;
|
|
1294
1508
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1296,17 +1510,17 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1296
1510
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1297
1511
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1298
1512
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1299
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1300
1513
|
guardian: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
_id: z.ZodString;
|
|
1515
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1517
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1301
1518
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1302
1519
|
rank: GoRank;
|
|
1303
1520
|
_id: string;
|
|
1304
1521
|
name: string;
|
|
1305
1522
|
email?: string | undefined;
|
|
1306
1523
|
address?: string | undefined;
|
|
1307
|
-
editedBy?: string | undefined;
|
|
1308
|
-
createdAt?: string | undefined;
|
|
1309
|
-
updatedAt?: string | undefined;
|
|
1310
1524
|
username?: string | undefined;
|
|
1311
1525
|
password?: string | undefined;
|
|
1312
1526
|
roles?: number[] | undefined;
|
|
@@ -1314,15 +1528,15 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1314
1528
|
phoneNumber?: string | undefined;
|
|
1315
1529
|
birthDate?: string | undefined;
|
|
1316
1530
|
guardian?: string | undefined;
|
|
1531
|
+
editedBy?: string | undefined;
|
|
1532
|
+
createdAt?: string | undefined;
|
|
1533
|
+
updatedAt?: string | undefined;
|
|
1317
1534
|
}, {
|
|
1318
1535
|
rank: GoRank;
|
|
1319
1536
|
_id: string;
|
|
1320
1537
|
name: string;
|
|
1321
1538
|
email?: string | undefined;
|
|
1322
1539
|
address?: string | undefined;
|
|
1323
|
-
editedBy?: string | undefined;
|
|
1324
|
-
createdAt?: string | undefined;
|
|
1325
|
-
updatedAt?: string | undefined;
|
|
1326
1540
|
username?: string | undefined;
|
|
1327
1541
|
password?: string | undefined;
|
|
1328
1542
|
roles?: number[] | undefined;
|
|
@@ -1330,6 +1544,9 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1330
1544
|
phoneNumber?: string | undefined;
|
|
1331
1545
|
birthDate?: string | undefined;
|
|
1332
1546
|
guardian?: string | undefined;
|
|
1547
|
+
editedBy?: string | undefined;
|
|
1548
|
+
createdAt?: string | undefined;
|
|
1549
|
+
updatedAt?: string | undefined;
|
|
1333
1550
|
}>;
|
|
1334
1551
|
}, "strip", z.ZodTypeAny, {
|
|
1335
1552
|
student: {
|
|
@@ -1338,9 +1555,6 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1338
1555
|
name: string;
|
|
1339
1556
|
email?: string | undefined;
|
|
1340
1557
|
address?: string | undefined;
|
|
1341
|
-
editedBy?: string | undefined;
|
|
1342
|
-
createdAt?: string | undefined;
|
|
1343
|
-
updatedAt?: string | undefined;
|
|
1344
1558
|
username?: string | undefined;
|
|
1345
1559
|
password?: string | undefined;
|
|
1346
1560
|
roles?: number[] | undefined;
|
|
@@ -1348,6 +1562,9 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1348
1562
|
phoneNumber?: string | undefined;
|
|
1349
1563
|
birthDate?: string | undefined;
|
|
1350
1564
|
guardian?: string | undefined;
|
|
1565
|
+
editedBy?: string | undefined;
|
|
1566
|
+
createdAt?: string | undefined;
|
|
1567
|
+
updatedAt?: string | undefined;
|
|
1351
1568
|
};
|
|
1352
1569
|
items: {
|
|
1353
1570
|
course: string;
|
|
@@ -1361,9 +1578,6 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1361
1578
|
name: string;
|
|
1362
1579
|
email?: string | undefined;
|
|
1363
1580
|
address?: string | undefined;
|
|
1364
|
-
editedBy?: string | undefined;
|
|
1365
|
-
createdAt?: string | undefined;
|
|
1366
|
-
updatedAt?: string | undefined;
|
|
1367
1581
|
username?: string | undefined;
|
|
1368
1582
|
password?: string | undefined;
|
|
1369
1583
|
roles?: number[] | undefined;
|
|
@@ -1371,6 +1585,9 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1371
1585
|
phoneNumber?: string | undefined;
|
|
1372
1586
|
birthDate?: string | undefined;
|
|
1373
1587
|
guardian?: string | undefined;
|
|
1588
|
+
editedBy?: string | undefined;
|
|
1589
|
+
createdAt?: string | undefined;
|
|
1590
|
+
updatedAt?: string | undefined;
|
|
1374
1591
|
};
|
|
1375
1592
|
items: {
|
|
1376
1593
|
course: string;
|
|
@@ -1589,12 +1806,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1589
1806
|
amount: number;
|
|
1590
1807
|
}>, "many">;
|
|
1591
1808
|
createdBy: z.ZodObject<{
|
|
1809
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1592
1810
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1593
1811
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1594
|
-
_id: z.ZodString;
|
|
1595
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1596
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1597
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1598
1812
|
name: z.ZodString;
|
|
1599
1813
|
username: z.ZodOptional<z.ZodString>;
|
|
1600
1814
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1602,20 +1816,20 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1602
1816
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1603
1817
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1604
1818
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1605
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1606
1819
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1607
1820
|
title: z.ZodOptional<z.ZodString>;
|
|
1608
1821
|
bio: z.ZodOptional<z.ZodString>;
|
|
1609
1822
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1823
|
+
_id: z.ZodString;
|
|
1824
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1825
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1826
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1610
1827
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1611
1828
|
rank: GoRank;
|
|
1612
1829
|
_id: string;
|
|
1613
1830
|
name: string;
|
|
1614
1831
|
email?: string | undefined;
|
|
1615
1832
|
address?: string | undefined;
|
|
1616
|
-
editedBy?: string | undefined;
|
|
1617
|
-
createdAt?: string | undefined;
|
|
1618
|
-
updatedAt?: string | undefined;
|
|
1619
1833
|
username?: string | undefined;
|
|
1620
1834
|
password?: string | undefined;
|
|
1621
1835
|
roles?: number[] | undefined;
|
|
@@ -1626,15 +1840,15 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1626
1840
|
title?: string | undefined;
|
|
1627
1841
|
bio?: string | undefined;
|
|
1628
1842
|
available?: number[][][] | undefined;
|
|
1843
|
+
editedBy?: string | undefined;
|
|
1844
|
+
createdAt?: string | undefined;
|
|
1845
|
+
updatedAt?: string | undefined;
|
|
1629
1846
|
}, {
|
|
1630
1847
|
rank: GoRank;
|
|
1631
1848
|
_id: string;
|
|
1632
1849
|
name: string;
|
|
1633
1850
|
email?: string | undefined;
|
|
1634
1851
|
address?: string | undefined;
|
|
1635
|
-
editedBy?: string | undefined;
|
|
1636
|
-
createdAt?: string | undefined;
|
|
1637
|
-
updatedAt?: string | undefined;
|
|
1638
1852
|
username?: string | undefined;
|
|
1639
1853
|
password?: string | undefined;
|
|
1640
1854
|
roles?: number[] | undefined;
|
|
@@ -1645,14 +1859,14 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1645
1859
|
title?: string | undefined;
|
|
1646
1860
|
bio?: string | undefined;
|
|
1647
1861
|
available?: number[][][] | undefined;
|
|
1862
|
+
editedBy?: string | undefined;
|
|
1863
|
+
createdAt?: string | undefined;
|
|
1864
|
+
updatedAt?: string | undefined;
|
|
1648
1865
|
}>;
|
|
1649
1866
|
lastEditBy: z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1650
1868
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1651
1869
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1652
|
-
_id: z.ZodString;
|
|
1653
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1654
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1655
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1656
1870
|
name: z.ZodString;
|
|
1657
1871
|
username: z.ZodOptional<z.ZodString>;
|
|
1658
1872
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1660,20 +1874,20 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1660
1874
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1661
1875
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1662
1876
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1663
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1664
1877
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1665
1878
|
title: z.ZodOptional<z.ZodString>;
|
|
1666
1879
|
bio: z.ZodOptional<z.ZodString>;
|
|
1667
1880
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1881
|
+
_id: z.ZodString;
|
|
1882
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1883
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1884
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1668
1885
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1669
1886
|
rank: GoRank;
|
|
1670
1887
|
_id: string;
|
|
1671
1888
|
name: string;
|
|
1672
1889
|
email?: string | undefined;
|
|
1673
1890
|
address?: string | undefined;
|
|
1674
|
-
editedBy?: string | undefined;
|
|
1675
|
-
createdAt?: string | undefined;
|
|
1676
|
-
updatedAt?: string | undefined;
|
|
1677
1891
|
username?: string | undefined;
|
|
1678
1892
|
password?: string | undefined;
|
|
1679
1893
|
roles?: number[] | undefined;
|
|
@@ -1684,15 +1898,15 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1684
1898
|
title?: string | undefined;
|
|
1685
1899
|
bio?: string | undefined;
|
|
1686
1900
|
available?: number[][][] | undefined;
|
|
1901
|
+
editedBy?: string | undefined;
|
|
1902
|
+
createdAt?: string | undefined;
|
|
1903
|
+
updatedAt?: string | undefined;
|
|
1687
1904
|
}, {
|
|
1688
1905
|
rank: GoRank;
|
|
1689
1906
|
_id: string;
|
|
1690
1907
|
name: string;
|
|
1691
1908
|
email?: string | undefined;
|
|
1692
1909
|
address?: string | undefined;
|
|
1693
|
-
editedBy?: string | undefined;
|
|
1694
|
-
createdAt?: string | undefined;
|
|
1695
|
-
updatedAt?: string | undefined;
|
|
1696
1910
|
username?: string | undefined;
|
|
1697
1911
|
password?: string | undefined;
|
|
1698
1912
|
roles?: number[] | undefined;
|
|
@@ -1703,6 +1917,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1703
1917
|
title?: string | undefined;
|
|
1704
1918
|
bio?: string | undefined;
|
|
1705
1919
|
available?: number[][][] | undefined;
|
|
1920
|
+
editedBy?: string | undefined;
|
|
1921
|
+
createdAt?: string | undefined;
|
|
1922
|
+
updatedAt?: string | undefined;
|
|
1706
1923
|
}>>;
|
|
1707
1924
|
packages: z.ZodArray<z.ZodObject<{
|
|
1708
1925
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1719,12 +1936,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1719
1936
|
units: number;
|
|
1720
1937
|
}>, "many">;
|
|
1721
1938
|
student: z.ZodObject<{
|
|
1939
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1722
1940
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1723
1941
|
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
1942
|
name: z.ZodString;
|
|
1729
1943
|
username: z.ZodOptional<z.ZodString>;
|
|
1730
1944
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1732,17 +1946,17 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1732
1946
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1733
1947
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1734
1948
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1735
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1736
1949
|
guardian: z.ZodOptional<z.ZodString>;
|
|
1950
|
+
_id: z.ZodString;
|
|
1951
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1952
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1953
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1737
1954
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1738
1955
|
rank: GoRank;
|
|
1739
1956
|
_id: string;
|
|
1740
1957
|
name: string;
|
|
1741
1958
|
email?: string | undefined;
|
|
1742
1959
|
address?: string | undefined;
|
|
1743
|
-
editedBy?: string | undefined;
|
|
1744
|
-
createdAt?: string | undefined;
|
|
1745
|
-
updatedAt?: string | undefined;
|
|
1746
1960
|
username?: string | undefined;
|
|
1747
1961
|
password?: string | undefined;
|
|
1748
1962
|
roles?: number[] | undefined;
|
|
@@ -1750,15 +1964,15 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1750
1964
|
phoneNumber?: string | undefined;
|
|
1751
1965
|
birthDate?: string | undefined;
|
|
1752
1966
|
guardian?: string | undefined;
|
|
1967
|
+
editedBy?: string | undefined;
|
|
1968
|
+
createdAt?: string | undefined;
|
|
1969
|
+
updatedAt?: string | undefined;
|
|
1753
1970
|
}, {
|
|
1754
1971
|
rank: GoRank;
|
|
1755
1972
|
_id: string;
|
|
1756
1973
|
name: string;
|
|
1757
1974
|
email?: string | undefined;
|
|
1758
1975
|
address?: string | undefined;
|
|
1759
|
-
editedBy?: string | undefined;
|
|
1760
|
-
createdAt?: string | undefined;
|
|
1761
|
-
updatedAt?: string | undefined;
|
|
1762
1976
|
username?: string | undefined;
|
|
1763
1977
|
password?: string | undefined;
|
|
1764
1978
|
roles?: number[] | undefined;
|
|
@@ -1766,6 +1980,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1766
1980
|
phoneNumber?: string | undefined;
|
|
1767
1981
|
birthDate?: string | undefined;
|
|
1768
1982
|
guardian?: string | undefined;
|
|
1983
|
+
editedBy?: string | undefined;
|
|
1984
|
+
createdAt?: string | undefined;
|
|
1985
|
+
updatedAt?: string | undefined;
|
|
1769
1986
|
}>;
|
|
1770
1987
|
}, "strip", z.ZodTypeAny, {
|
|
1771
1988
|
student: {
|
|
@@ -1774,9 +1991,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1774
1991
|
name: string;
|
|
1775
1992
|
email?: string | undefined;
|
|
1776
1993
|
address?: string | undefined;
|
|
1777
|
-
editedBy?: string | undefined;
|
|
1778
|
-
createdAt?: string | undefined;
|
|
1779
|
-
updatedAt?: string | undefined;
|
|
1780
1994
|
username?: string | undefined;
|
|
1781
1995
|
password?: string | undefined;
|
|
1782
1996
|
roles?: number[] | undefined;
|
|
@@ -1784,6 +1998,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1784
1998
|
phoneNumber?: string | undefined;
|
|
1785
1999
|
birthDate?: string | undefined;
|
|
1786
2000
|
guardian?: string | undefined;
|
|
2001
|
+
editedBy?: string | undefined;
|
|
2002
|
+
createdAt?: string | undefined;
|
|
2003
|
+
updatedAt?: string | undefined;
|
|
1787
2004
|
};
|
|
1788
2005
|
items: {
|
|
1789
2006
|
course: string;
|
|
@@ -1797,9 +2014,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1797
2014
|
name: string;
|
|
1798
2015
|
email?: string | undefined;
|
|
1799
2016
|
address?: string | undefined;
|
|
1800
|
-
editedBy?: string | undefined;
|
|
1801
|
-
createdAt?: string | undefined;
|
|
1802
|
-
updatedAt?: string | undefined;
|
|
1803
2017
|
username?: string | undefined;
|
|
1804
2018
|
password?: string | undefined;
|
|
1805
2019
|
roles?: number[] | undefined;
|
|
@@ -1807,6 +2021,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1807
2021
|
phoneNumber?: string | undefined;
|
|
1808
2022
|
birthDate?: string | undefined;
|
|
1809
2023
|
guardian?: string | undefined;
|
|
2024
|
+
editedBy?: string | undefined;
|
|
2025
|
+
createdAt?: string | undefined;
|
|
2026
|
+
updatedAt?: string | undefined;
|
|
1810
2027
|
};
|
|
1811
2028
|
items: {
|
|
1812
2029
|
course: string;
|
|
@@ -1824,9 +2041,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1824
2041
|
name: string;
|
|
1825
2042
|
email?: string | undefined;
|
|
1826
2043
|
address?: string | undefined;
|
|
1827
|
-
editedBy?: string | undefined;
|
|
1828
|
-
createdAt?: string | undefined;
|
|
1829
|
-
updatedAt?: string | undefined;
|
|
1830
2044
|
username?: string | undefined;
|
|
1831
2045
|
password?: string | undefined;
|
|
1832
2046
|
roles?: number[] | undefined;
|
|
@@ -1834,6 +2048,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1834
2048
|
phoneNumber?: string | undefined;
|
|
1835
2049
|
birthDate?: string | undefined;
|
|
1836
2050
|
guardian?: string | undefined;
|
|
2051
|
+
editedBy?: string | undefined;
|
|
2052
|
+
createdAt?: string | undefined;
|
|
2053
|
+
updatedAt?: string | undefined;
|
|
1837
2054
|
};
|
|
1838
2055
|
items: {
|
|
1839
2056
|
course: string;
|
|
@@ -1851,9 +2068,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1851
2068
|
name: string;
|
|
1852
2069
|
email?: string | undefined;
|
|
1853
2070
|
address?: string | undefined;
|
|
1854
|
-
editedBy?: string | undefined;
|
|
1855
|
-
createdAt?: string | undefined;
|
|
1856
|
-
updatedAt?: string | undefined;
|
|
1857
2071
|
username?: string | undefined;
|
|
1858
2072
|
password?: string | undefined;
|
|
1859
2073
|
roles?: number[] | undefined;
|
|
@@ -1864,6 +2078,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1864
2078
|
title?: string | undefined;
|
|
1865
2079
|
bio?: string | undefined;
|
|
1866
2080
|
available?: number[][][] | undefined;
|
|
2081
|
+
editedBy?: string | undefined;
|
|
2082
|
+
createdAt?: string | undefined;
|
|
2083
|
+
updatedAt?: string | undefined;
|
|
1867
2084
|
};
|
|
1868
2085
|
notes?: string | undefined;
|
|
1869
2086
|
textbook?: number | undefined;
|
|
@@ -1878,9 +2095,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1878
2095
|
name: string;
|
|
1879
2096
|
email?: string | undefined;
|
|
1880
2097
|
address?: string | undefined;
|
|
1881
|
-
editedBy?: string | undefined;
|
|
1882
|
-
createdAt?: string | undefined;
|
|
1883
|
-
updatedAt?: string | undefined;
|
|
1884
2098
|
username?: string | undefined;
|
|
1885
2099
|
password?: string | undefined;
|
|
1886
2100
|
roles?: number[] | undefined;
|
|
@@ -1891,6 +2105,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1891
2105
|
title?: string | undefined;
|
|
1892
2106
|
bio?: string | undefined;
|
|
1893
2107
|
available?: number[][][] | undefined;
|
|
2108
|
+
editedBy?: string | undefined;
|
|
2109
|
+
createdAt?: string | undefined;
|
|
2110
|
+
updatedAt?: string | undefined;
|
|
1894
2111
|
} | undefined;
|
|
1895
2112
|
}, {
|
|
1896
2113
|
_id: string;
|
|
@@ -1902,9 +2119,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1902
2119
|
name: string;
|
|
1903
2120
|
email?: string | undefined;
|
|
1904
2121
|
address?: string | undefined;
|
|
1905
|
-
editedBy?: string | undefined;
|
|
1906
|
-
createdAt?: string | undefined;
|
|
1907
|
-
updatedAt?: string | undefined;
|
|
1908
2122
|
username?: string | undefined;
|
|
1909
2123
|
password?: string | undefined;
|
|
1910
2124
|
roles?: number[] | undefined;
|
|
@@ -1912,6 +2126,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1912
2126
|
phoneNumber?: string | undefined;
|
|
1913
2127
|
birthDate?: string | undefined;
|
|
1914
2128
|
guardian?: string | undefined;
|
|
2129
|
+
editedBy?: string | undefined;
|
|
2130
|
+
createdAt?: string | undefined;
|
|
2131
|
+
updatedAt?: string | undefined;
|
|
1915
2132
|
};
|
|
1916
2133
|
items: {
|
|
1917
2134
|
course: string;
|
|
@@ -1929,9 +2146,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1929
2146
|
name: string;
|
|
1930
2147
|
email?: string | undefined;
|
|
1931
2148
|
address?: string | undefined;
|
|
1932
|
-
editedBy?: string | undefined;
|
|
1933
|
-
createdAt?: string | undefined;
|
|
1934
|
-
updatedAt?: string | undefined;
|
|
1935
2149
|
username?: string | undefined;
|
|
1936
2150
|
password?: string | undefined;
|
|
1937
2151
|
roles?: number[] | undefined;
|
|
@@ -1942,6 +2156,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1942
2156
|
title?: string | undefined;
|
|
1943
2157
|
bio?: string | undefined;
|
|
1944
2158
|
available?: number[][][] | undefined;
|
|
2159
|
+
editedBy?: string | undefined;
|
|
2160
|
+
createdAt?: string | undefined;
|
|
2161
|
+
updatedAt?: string | undefined;
|
|
1945
2162
|
};
|
|
1946
2163
|
notes?: string | undefined;
|
|
1947
2164
|
textbook?: number | undefined;
|
|
@@ -1956,9 +2173,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1956
2173
|
name: string;
|
|
1957
2174
|
email?: string | undefined;
|
|
1958
2175
|
address?: string | undefined;
|
|
1959
|
-
editedBy?: string | undefined;
|
|
1960
|
-
createdAt?: string | undefined;
|
|
1961
|
-
updatedAt?: string | undefined;
|
|
1962
2176
|
username?: string | undefined;
|
|
1963
2177
|
password?: string | undefined;
|
|
1964
2178
|
roles?: number[] | undefined;
|
|
@@ -1969,6 +2183,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1969
2183
|
title?: string | undefined;
|
|
1970
2184
|
bio?: string | undefined;
|
|
1971
2185
|
available?: number[][][] | undefined;
|
|
2186
|
+
editedBy?: string | undefined;
|
|
2187
|
+
createdAt?: string | undefined;
|
|
2188
|
+
updatedAt?: string | undefined;
|
|
1972
2189
|
} | undefined;
|
|
1973
2190
|
}>;
|
|
1974
2191
|
type Discount = z.infer<typeof zDiscount>;
|
|
@@ -2111,12 +2328,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2111
2328
|
wage: number;
|
|
2112
2329
|
}>, "many">;
|
|
2113
2330
|
teacher: z.ZodObject<{
|
|
2331
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
2114
2332
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2115
2333
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2116
|
-
_id: z.ZodString;
|
|
2117
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
2118
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
2119
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2120
2334
|
name: z.ZodString;
|
|
2121
2335
|
username: z.ZodOptional<z.ZodString>;
|
|
2122
2336
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -2124,20 +2338,20 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2124
2338
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2125
2339
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2126
2340
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2127
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
2128
2341
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2129
2342
|
title: z.ZodOptional<z.ZodString>;
|
|
2130
2343
|
bio: z.ZodOptional<z.ZodString>;
|
|
2131
2344
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2345
|
+
_id: z.ZodString;
|
|
2346
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2347
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2348
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2132
2349
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2133
2350
|
rank: GoRank;
|
|
2134
2351
|
_id: string;
|
|
2135
2352
|
name: string;
|
|
2136
2353
|
email?: string | undefined;
|
|
2137
2354
|
address?: string | undefined;
|
|
2138
|
-
editedBy?: string | undefined;
|
|
2139
|
-
createdAt?: string | undefined;
|
|
2140
|
-
updatedAt?: string | undefined;
|
|
2141
2355
|
username?: string | undefined;
|
|
2142
2356
|
password?: string | undefined;
|
|
2143
2357
|
roles?: number[] | undefined;
|
|
@@ -2148,15 +2362,15 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2148
2362
|
title?: string | undefined;
|
|
2149
2363
|
bio?: string | undefined;
|
|
2150
2364
|
available?: number[][][] | undefined;
|
|
2365
|
+
editedBy?: string | undefined;
|
|
2366
|
+
createdAt?: string | undefined;
|
|
2367
|
+
updatedAt?: string | undefined;
|
|
2151
2368
|
}, {
|
|
2152
2369
|
rank: GoRank;
|
|
2153
2370
|
_id: string;
|
|
2154
2371
|
name: string;
|
|
2155
2372
|
email?: string | undefined;
|
|
2156
2373
|
address?: string | undefined;
|
|
2157
|
-
editedBy?: string | undefined;
|
|
2158
|
-
createdAt?: string | undefined;
|
|
2159
|
-
updatedAt?: string | undefined;
|
|
2160
2374
|
username?: string | undefined;
|
|
2161
2375
|
password?: string | undefined;
|
|
2162
2376
|
roles?: number[] | undefined;
|
|
@@ -2167,6 +2381,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2167
2381
|
title?: string | undefined;
|
|
2168
2382
|
bio?: string | undefined;
|
|
2169
2383
|
available?: number[][][] | undefined;
|
|
2384
|
+
editedBy?: string | undefined;
|
|
2385
|
+
createdAt?: string | undefined;
|
|
2386
|
+
updatedAt?: string | undefined;
|
|
2170
2387
|
}>;
|
|
2171
2388
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2172
2389
|
_id: string;
|
|
@@ -2176,9 +2393,6 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2176
2393
|
name: string;
|
|
2177
2394
|
email?: string | undefined;
|
|
2178
2395
|
address?: string | undefined;
|
|
2179
|
-
editedBy?: string | undefined;
|
|
2180
|
-
createdAt?: string | undefined;
|
|
2181
|
-
updatedAt?: string | undefined;
|
|
2182
2396
|
username?: string | undefined;
|
|
2183
2397
|
password?: string | undefined;
|
|
2184
2398
|
roles?: number[] | undefined;
|
|
@@ -2189,6 +2403,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2189
2403
|
title?: string | undefined;
|
|
2190
2404
|
bio?: string | undefined;
|
|
2191
2405
|
available?: number[][][] | undefined;
|
|
2406
|
+
editedBy?: string | undefined;
|
|
2407
|
+
createdAt?: string | undefined;
|
|
2408
|
+
updatedAt?: string | undefined;
|
|
2192
2409
|
};
|
|
2193
2410
|
rows: {
|
|
2194
2411
|
length: number;
|
|
@@ -2208,9 +2425,6 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2208
2425
|
name: string;
|
|
2209
2426
|
email?: string | undefined;
|
|
2210
2427
|
address?: string | undefined;
|
|
2211
|
-
editedBy?: string | undefined;
|
|
2212
|
-
createdAt?: string | undefined;
|
|
2213
|
-
updatedAt?: string | undefined;
|
|
2214
2428
|
username?: string | undefined;
|
|
2215
2429
|
password?: string | undefined;
|
|
2216
2430
|
roles?: number[] | undefined;
|
|
@@ -2221,6 +2435,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2221
2435
|
title?: string | undefined;
|
|
2222
2436
|
bio?: string | undefined;
|
|
2223
2437
|
available?: number[][][] | undefined;
|
|
2438
|
+
editedBy?: string | undefined;
|
|
2439
|
+
createdAt?: string | undefined;
|
|
2440
|
+
updatedAt?: string | undefined;
|
|
2224
2441
|
};
|
|
2225
2442
|
rows: {
|
|
2226
2443
|
length: number;
|
|
@@ -2280,15 +2497,15 @@ declare const zCourseTable: z.ZodObject<{
|
|
|
2280
2497
|
recommendedLevel: z.ZodString;
|
|
2281
2498
|
tuition: z.ZodString;
|
|
2282
2499
|
}, "strip", z.ZodTypeAny, {
|
|
2283
|
-
tuition: string;
|
|
2284
2500
|
name: string;
|
|
2501
|
+
tuition: string;
|
|
2285
2502
|
duration: number;
|
|
2286
2503
|
id: string;
|
|
2287
2504
|
dateAndTime: string;
|
|
2288
2505
|
recommendedLevel: string;
|
|
2289
2506
|
}, {
|
|
2290
|
-
tuition: string;
|
|
2291
2507
|
name: string;
|
|
2508
|
+
tuition: string;
|
|
2292
2509
|
duration: number;
|
|
2293
2510
|
id: string;
|
|
2294
2511
|
dateAndTime: string;
|
|
@@ -3507,4 +3724,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
3507
3724
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
3508
3725
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
3509
3726
|
|
|
3510
|
-
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 ReportTicketResponse, 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, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|
|
3727
|
+
export { AgeGroup, AttendState, type Attendance, 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 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 ReportTicketResponse, 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, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, 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, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|