@nyig/models 0.2.44 → 0.2.45
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 +495 -618
- package/index.d.ts +495 -618
- package/index.js +71 -75
- package/index.mjs +71 -74
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -69,336 +69,6 @@ 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
|
-
|
|
402
72
|
declare enum CampOption {
|
|
403
73
|
AM = "am",
|
|
404
74
|
PM = "pm",
|
|
@@ -422,7 +92,7 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
422
92
|
shipping?: boolean | undefined;
|
|
423
93
|
}>;
|
|
424
94
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
425
|
-
campOption: z.
|
|
95
|
+
campOption: z.ZodNativeEnum<typeof CampOption>;
|
|
426
96
|
}, "strip", z.ZodTypeAny, {
|
|
427
97
|
student: string;
|
|
428
98
|
states: AttendState[];
|
|
@@ -431,8 +101,8 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
431
101
|
textbook?: boolean | undefined;
|
|
432
102
|
shipping?: boolean | undefined;
|
|
433
103
|
};
|
|
104
|
+
campOption: CampOption;
|
|
434
105
|
paid?: boolean | undefined;
|
|
435
|
-
campOption?: CampOption | undefined;
|
|
436
106
|
}, {
|
|
437
107
|
student: string;
|
|
438
108
|
states: AttendState[];
|
|
@@ -441,8 +111,8 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
441
111
|
textbook?: boolean | undefined;
|
|
442
112
|
shipping?: boolean | undefined;
|
|
443
113
|
};
|
|
114
|
+
campOption: CampOption;
|
|
444
115
|
paid?: boolean | undefined;
|
|
445
|
-
campOption?: CampOption | undefined;
|
|
446
116
|
}>;
|
|
447
117
|
declare const zAttendance: z.ZodObject<{
|
|
448
118
|
student: z.ZodString;
|
|
@@ -461,7 +131,7 @@ declare const zAttendance: z.ZodObject<{
|
|
|
461
131
|
shipping?: boolean | undefined;
|
|
462
132
|
}>;
|
|
463
133
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
464
|
-
campOption: z.
|
|
134
|
+
campOption: z.ZodNativeEnum<typeof CampOption>;
|
|
465
135
|
_id: z.ZodString;
|
|
466
136
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
467
137
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -475,8 +145,8 @@ declare const zAttendance: z.ZodObject<{
|
|
|
475
145
|
textbook?: boolean | undefined;
|
|
476
146
|
shipping?: boolean | undefined;
|
|
477
147
|
};
|
|
148
|
+
campOption: CampOption;
|
|
478
149
|
paid?: boolean | undefined;
|
|
479
|
-
campOption?: CampOption | undefined;
|
|
480
150
|
editedBy?: string | undefined;
|
|
481
151
|
createdAt?: string | undefined;
|
|
482
152
|
updatedAt?: string | undefined;
|
|
@@ -489,146 +159,14 @@ declare const zAttendance: z.ZodObject<{
|
|
|
489
159
|
textbook?: boolean | undefined;
|
|
490
160
|
shipping?: boolean | undefined;
|
|
491
161
|
};
|
|
162
|
+
campOption: CampOption;
|
|
492
163
|
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
|
-
};
|
|
593
|
-
editedBy?: string | undefined;
|
|
594
|
-
createdAt?: string | undefined;
|
|
595
|
-
updatedAt?: string | undefined;
|
|
596
|
-
paid?: boolean | undefined;
|
|
597
|
-
campOption?: CampOption | undefined;
|
|
598
|
-
}, {
|
|
599
|
-
_id: string;
|
|
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
|
-
};
|
|
617
|
-
states: AttendState[];
|
|
618
|
-
tuition: {
|
|
619
|
-
primary: number;
|
|
620
|
-
textbook?: boolean | undefined;
|
|
621
|
-
shipping?: boolean | undefined;
|
|
622
|
-
};
|
|
623
164
|
editedBy?: string | undefined;
|
|
624
165
|
createdAt?: string | undefined;
|
|
625
166
|
updatedAt?: string | undefined;
|
|
626
|
-
paid?: boolean | undefined;
|
|
627
|
-
campOption?: CampOption | undefined;
|
|
628
167
|
}>;
|
|
629
168
|
type BAttendance = z.infer<typeof zBAttendance>;
|
|
630
169
|
type Attendance = z.infer<typeof zAttendance>;
|
|
631
|
-
type AttendanceResponse = z.infer<typeof zAttendanceResponse>;
|
|
632
170
|
|
|
633
171
|
declare const zBCampTracker: z.ZodObject<{
|
|
634
172
|
course: z.ZodString;
|
|
@@ -1132,7 +670,126 @@ declare const zBCampBooking: z.ZodObject<{
|
|
|
1132
670
|
paymentReceived?: boolean | undefined;
|
|
1133
671
|
expireAt?: Date | undefined;
|
|
1134
672
|
}>;
|
|
1135
|
-
declare const zCampBooking: z.ZodObject<{
|
|
673
|
+
declare const zCampBooking: z.ZodObject<{
|
|
674
|
+
paymentAmount: z.ZodNumber;
|
|
675
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
676
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
677
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
678
|
+
firstName: z.ZodString;
|
|
679
|
+
lastName: z.ZodString;
|
|
680
|
+
rank: z.ZodString;
|
|
681
|
+
email: z.ZodString;
|
|
682
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
683
|
+
address: z.ZodOptional<z.ZodString>;
|
|
684
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
685
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
686
|
+
campOption: z.ZodNativeEnum<typeof CampOption>;
|
|
687
|
+
ctId: z.ZodOptional<z.ZodString>;
|
|
688
|
+
isOnline: z.ZodBoolean;
|
|
689
|
+
classDates: z.ZodString;
|
|
690
|
+
_id: z.ZodString;
|
|
691
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
692
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
693
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
694
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
695
|
+
paymentAmount: number;
|
|
696
|
+
firstName: string;
|
|
697
|
+
lastName: string;
|
|
698
|
+
rank: string;
|
|
699
|
+
email: string;
|
|
700
|
+
_id: string;
|
|
701
|
+
campOption: CampOption;
|
|
702
|
+
isOnline: boolean;
|
|
703
|
+
classDates: string;
|
|
704
|
+
paymentReceived?: boolean | undefined;
|
|
705
|
+
expireAt?: Date | undefined;
|
|
706
|
+
userId?: string | undefined;
|
|
707
|
+
phone?: string | undefined;
|
|
708
|
+
address?: string | undefined;
|
|
709
|
+
notes?: string | undefined;
|
|
710
|
+
shipping?: boolean | undefined;
|
|
711
|
+
ctId?: string | undefined;
|
|
712
|
+
editedBy?: string | undefined;
|
|
713
|
+
createdAt?: string | undefined;
|
|
714
|
+
updatedAt?: string | undefined;
|
|
715
|
+
}, {
|
|
716
|
+
paymentAmount: number;
|
|
717
|
+
firstName: string;
|
|
718
|
+
lastName: string;
|
|
719
|
+
rank: string;
|
|
720
|
+
email: string;
|
|
721
|
+
_id: string;
|
|
722
|
+
campOption: CampOption;
|
|
723
|
+
isOnline: boolean;
|
|
724
|
+
classDates: string;
|
|
725
|
+
paymentReceived?: boolean | undefined;
|
|
726
|
+
expireAt?: Date | undefined;
|
|
727
|
+
userId?: string | undefined;
|
|
728
|
+
phone?: string | undefined;
|
|
729
|
+
address?: string | undefined;
|
|
730
|
+
notes?: string | undefined;
|
|
731
|
+
shipping?: boolean | undefined;
|
|
732
|
+
ctId?: string | undefined;
|
|
733
|
+
editedBy?: string | undefined;
|
|
734
|
+
createdAt?: string | undefined;
|
|
735
|
+
updatedAt?: string | undefined;
|
|
736
|
+
}>;
|
|
737
|
+
type BCampBooking = z.infer<typeof zBCampBooking>;
|
|
738
|
+
type CampBooking = z.infer<typeof zCampBooking>;
|
|
739
|
+
|
|
740
|
+
declare const zBGroupBooking: z.ZodObject<{
|
|
741
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
742
|
+
firstName: z.ZodString;
|
|
743
|
+
lastName: z.ZodString;
|
|
744
|
+
rank: z.ZodString;
|
|
745
|
+
email: z.ZodString;
|
|
746
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
747
|
+
address: z.ZodOptional<z.ZodString>;
|
|
748
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
749
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
750
|
+
isOnline: z.ZodBoolean;
|
|
751
|
+
gtId: z.ZodOptional<z.ZodString>;
|
|
752
|
+
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
753
|
+
classDate: z.ZodOptional<z.ZodString>;
|
|
754
|
+
paymentAmount: z.ZodNumber;
|
|
755
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
756
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
757
|
+
}, "strip", z.ZodTypeAny, {
|
|
758
|
+
paymentAmount: number;
|
|
759
|
+
firstName: string;
|
|
760
|
+
lastName: string;
|
|
761
|
+
rank: string;
|
|
762
|
+
email: string;
|
|
763
|
+
isOnline: boolean;
|
|
764
|
+
userId?: string | undefined;
|
|
765
|
+
phone?: string | undefined;
|
|
766
|
+
address?: string | undefined;
|
|
767
|
+
notes?: string | undefined;
|
|
768
|
+
shipping?: boolean | undefined;
|
|
769
|
+
gtId?: string | undefined;
|
|
770
|
+
isTrial?: boolean | undefined;
|
|
771
|
+
classDate?: string | undefined;
|
|
772
|
+
paymentReceived?: boolean | undefined;
|
|
773
|
+
expireAt?: Date | undefined;
|
|
774
|
+
}, {
|
|
775
|
+
paymentAmount: number;
|
|
776
|
+
firstName: string;
|
|
777
|
+
lastName: string;
|
|
778
|
+
rank: string;
|
|
779
|
+
email: string;
|
|
780
|
+
isOnline: boolean;
|
|
781
|
+
userId?: string | undefined;
|
|
782
|
+
phone?: string | undefined;
|
|
783
|
+
address?: string | undefined;
|
|
784
|
+
notes?: string | undefined;
|
|
785
|
+
shipping?: boolean | undefined;
|
|
786
|
+
gtId?: string | undefined;
|
|
787
|
+
isTrial?: boolean | undefined;
|
|
788
|
+
classDate?: string | undefined;
|
|
789
|
+
paymentReceived?: boolean | undefined;
|
|
790
|
+
expireAt?: Date | undefined;
|
|
791
|
+
}>;
|
|
792
|
+
declare const zGroupBooking: z.ZodObject<{
|
|
1136
793
|
paymentAmount: z.ZodNumber;
|
|
1137
794
|
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1138
795
|
expireAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -1145,10 +802,10 @@ declare const zCampBooking: z.ZodObject<{
|
|
|
1145
802
|
address: z.ZodOptional<z.ZodString>;
|
|
1146
803
|
notes: z.ZodOptional<z.ZodString>;
|
|
1147
804
|
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1148
|
-
campOption: z.ZodNativeEnum<typeof CampOption>;
|
|
1149
|
-
ctId: z.ZodOptional<z.ZodString>;
|
|
1150
805
|
isOnline: z.ZodBoolean;
|
|
1151
|
-
|
|
806
|
+
gtId: z.ZodOptional<z.ZodString>;
|
|
807
|
+
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
808
|
+
classDate: z.ZodOptional<z.ZodString>;
|
|
1152
809
|
_id: z.ZodString;
|
|
1153
810
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1154
811
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1160,9 +817,7 @@ declare const zCampBooking: z.ZodObject<{
|
|
|
1160
817
|
rank: string;
|
|
1161
818
|
email: string;
|
|
1162
819
|
_id: string;
|
|
1163
|
-
campOption: CampOption;
|
|
1164
820
|
isOnline: boolean;
|
|
1165
|
-
classDates: string;
|
|
1166
821
|
paymentReceived?: boolean | undefined;
|
|
1167
822
|
expireAt?: Date | undefined;
|
|
1168
823
|
userId?: string | undefined;
|
|
@@ -1170,7 +825,9 @@ declare const zCampBooking: z.ZodObject<{
|
|
|
1170
825
|
address?: string | undefined;
|
|
1171
826
|
notes?: string | undefined;
|
|
1172
827
|
shipping?: boolean | undefined;
|
|
1173
|
-
|
|
828
|
+
gtId?: string | undefined;
|
|
829
|
+
isTrial?: boolean | undefined;
|
|
830
|
+
classDate?: string | undefined;
|
|
1174
831
|
editedBy?: string | undefined;
|
|
1175
832
|
createdAt?: string | undefined;
|
|
1176
833
|
updatedAt?: string | undefined;
|
|
@@ -1181,9 +838,7 @@ declare const zCampBooking: z.ZodObject<{
|
|
|
1181
838
|
rank: string;
|
|
1182
839
|
email: string;
|
|
1183
840
|
_id: string;
|
|
1184
|
-
campOption: CampOption;
|
|
1185
841
|
isOnline: boolean;
|
|
1186
|
-
classDates: string;
|
|
1187
842
|
paymentReceived?: boolean | undefined;
|
|
1188
843
|
expireAt?: Date | undefined;
|
|
1189
844
|
userId?: string | undefined;
|
|
@@ -1191,15 +846,17 @@ declare const zCampBooking: z.ZodObject<{
|
|
|
1191
846
|
address?: string | undefined;
|
|
1192
847
|
notes?: string | undefined;
|
|
1193
848
|
shipping?: boolean | undefined;
|
|
1194
|
-
|
|
849
|
+
gtId?: string | undefined;
|
|
850
|
+
isTrial?: boolean | undefined;
|
|
851
|
+
classDate?: string | undefined;
|
|
1195
852
|
editedBy?: string | undefined;
|
|
1196
853
|
createdAt?: string | undefined;
|
|
1197
854
|
updatedAt?: string | undefined;
|
|
1198
855
|
}>;
|
|
1199
|
-
type
|
|
1200
|
-
type
|
|
856
|
+
type BGroupBooking = z.infer<typeof zBGroupBooking>;
|
|
857
|
+
type GroupBooking = z.infer<typeof zGroupBooking>;
|
|
1201
858
|
|
|
1202
|
-
declare const
|
|
859
|
+
declare const zBPrivateBooking: z.ZodObject<{
|
|
1203
860
|
userId: z.ZodOptional<z.ZodString>;
|
|
1204
861
|
firstName: z.ZodString;
|
|
1205
862
|
lastName: z.ZodString;
|
|
@@ -1208,11 +865,9 @@ declare const zBGroupBooking: z.ZodObject<{
|
|
|
1208
865
|
phone: z.ZodOptional<z.ZodString>;
|
|
1209
866
|
address: z.ZodOptional<z.ZodString>;
|
|
1210
867
|
notes: z.ZodOptional<z.ZodString>;
|
|
1211
|
-
|
|
1212
|
-
isOnline: z.ZodBoolean;
|
|
1213
|
-
gtId: z.ZodOptional<z.ZodString>;
|
|
1214
|
-
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
868
|
+
courseId: z.ZodString;
|
|
1215
869
|
classDate: z.ZodOptional<z.ZodString>;
|
|
870
|
+
teacherId: z.ZodString;
|
|
1216
871
|
paymentAmount: z.ZodNumber;
|
|
1217
872
|
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1218
873
|
expireAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -1222,14 +877,12 @@ declare const zBGroupBooking: z.ZodObject<{
|
|
|
1222
877
|
lastName: string;
|
|
1223
878
|
rank: string;
|
|
1224
879
|
email: string;
|
|
1225
|
-
|
|
880
|
+
courseId: string;
|
|
881
|
+
teacherId: string;
|
|
1226
882
|
userId?: string | undefined;
|
|
1227
883
|
phone?: string | undefined;
|
|
1228
884
|
address?: string | undefined;
|
|
1229
885
|
notes?: string | undefined;
|
|
1230
|
-
shipping?: boolean | undefined;
|
|
1231
|
-
gtId?: string | undefined;
|
|
1232
|
-
isTrial?: boolean | undefined;
|
|
1233
886
|
classDate?: string | undefined;
|
|
1234
887
|
paymentReceived?: boolean | undefined;
|
|
1235
888
|
expireAt?: Date | undefined;
|
|
@@ -1239,19 +892,17 @@ declare const zBGroupBooking: z.ZodObject<{
|
|
|
1239
892
|
lastName: string;
|
|
1240
893
|
rank: string;
|
|
1241
894
|
email: string;
|
|
1242
|
-
|
|
895
|
+
courseId: string;
|
|
896
|
+
teacherId: string;
|
|
1243
897
|
userId?: string | undefined;
|
|
1244
898
|
phone?: string | undefined;
|
|
1245
899
|
address?: string | undefined;
|
|
1246
900
|
notes?: string | undefined;
|
|
1247
|
-
shipping?: boolean | undefined;
|
|
1248
|
-
gtId?: string | undefined;
|
|
1249
|
-
isTrial?: boolean | undefined;
|
|
1250
901
|
classDate?: string | undefined;
|
|
1251
902
|
paymentReceived?: boolean | undefined;
|
|
1252
903
|
expireAt?: Date | undefined;
|
|
1253
904
|
}>;
|
|
1254
|
-
declare const
|
|
905
|
+
declare const zPrivateBooking: z.ZodObject<{
|
|
1255
906
|
paymentAmount: z.ZodNumber;
|
|
1256
907
|
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1257
908
|
expireAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -1263,167 +914,384 @@ declare const zGroupBooking: z.ZodObject<{
|
|
|
1263
914
|
phone: z.ZodOptional<z.ZodString>;
|
|
1264
915
|
address: z.ZodOptional<z.ZodString>;
|
|
1265
916
|
notes: z.ZodOptional<z.ZodString>;
|
|
1266
|
-
|
|
1267
|
-
isOnline: z.ZodBoolean;
|
|
1268
|
-
gtId: z.ZodOptional<z.ZodString>;
|
|
1269
|
-
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
917
|
+
courseId: z.ZodString;
|
|
1270
918
|
classDate: z.ZodOptional<z.ZodString>;
|
|
919
|
+
teacherId: z.ZodString;
|
|
920
|
+
_id: z.ZodString;
|
|
921
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
922
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
923
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
924
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
925
|
+
paymentAmount: number;
|
|
926
|
+
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 zBStudent: z.ZodObject<{
|
|
1085
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1086
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1087
|
+
name: z.ZodString;
|
|
1088
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1091
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1092
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1093
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1094
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1095
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
1096
|
+
}, "strip", z.ZodTypeAny, {
|
|
1097
|
+
rank: GoRank;
|
|
1098
|
+
name: string;
|
|
1099
|
+
email?: string | undefined;
|
|
1100
|
+
address?: string | undefined;
|
|
1101
|
+
username?: string | undefined;
|
|
1102
|
+
password?: string | undefined;
|
|
1103
|
+
roles?: number[] | undefined;
|
|
1104
|
+
country?: string | undefined;
|
|
1105
|
+
phoneNumber?: string | undefined;
|
|
1106
|
+
birthDate?: string | undefined;
|
|
1107
|
+
guardian?: string | undefined;
|
|
1108
|
+
}, {
|
|
1109
|
+
rank: GoRank;
|
|
1110
|
+
name: string;
|
|
1111
|
+
email?: string | undefined;
|
|
1112
|
+
address?: string | undefined;
|
|
1113
|
+
username?: string | undefined;
|
|
1114
|
+
password?: string | undefined;
|
|
1115
|
+
roles?: number[] | undefined;
|
|
1116
|
+
country?: string | undefined;
|
|
1117
|
+
phoneNumber?: string | undefined;
|
|
1118
|
+
birthDate?: string | undefined;
|
|
1119
|
+
guardian?: string | undefined;
|
|
1120
|
+
}>;
|
|
1121
|
+
declare const zStudent: z.ZodObject<{
|
|
1122
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1123
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1124
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1125
|
+
name: z.ZodString;
|
|
1126
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1127
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1129
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1130
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1131
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1132
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
1271
1133
|
_id: z.ZodString;
|
|
1272
1134
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1273
1135
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1274
1136
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1275
1137
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1276
|
-
|
|
1277
|
-
firstName: string;
|
|
1278
|
-
lastName: string;
|
|
1279
|
-
rank: string;
|
|
1280
|
-
email: string;
|
|
1138
|
+
rank: GoRank;
|
|
1281
1139
|
_id: string;
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
expireAt?: Date | undefined;
|
|
1285
|
-
userId?: string | undefined;
|
|
1286
|
-
phone?: string | undefined;
|
|
1140
|
+
name: string;
|
|
1141
|
+
email?: string | undefined;
|
|
1287
1142
|
address?: string | undefined;
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1143
|
+
username?: string | undefined;
|
|
1144
|
+
password?: string | undefined;
|
|
1145
|
+
roles?: number[] | undefined;
|
|
1146
|
+
country?: string | undefined;
|
|
1147
|
+
phoneNumber?: string | undefined;
|
|
1148
|
+
birthDate?: string | undefined;
|
|
1149
|
+
guardian?: string | undefined;
|
|
1293
1150
|
editedBy?: string | undefined;
|
|
1294
1151
|
createdAt?: string | undefined;
|
|
1295
1152
|
updatedAt?: string | undefined;
|
|
1296
1153
|
}, {
|
|
1297
|
-
|
|
1298
|
-
firstName: string;
|
|
1299
|
-
lastName: string;
|
|
1300
|
-
rank: string;
|
|
1301
|
-
email: string;
|
|
1154
|
+
rank: GoRank;
|
|
1302
1155
|
_id: string;
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
expireAt?: Date | undefined;
|
|
1306
|
-
userId?: string | undefined;
|
|
1307
|
-
phone?: string | undefined;
|
|
1156
|
+
name: string;
|
|
1157
|
+
email?: string | undefined;
|
|
1308
1158
|
address?: string | undefined;
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1159
|
+
username?: string | undefined;
|
|
1160
|
+
password?: string | undefined;
|
|
1161
|
+
roles?: number[] | undefined;
|
|
1162
|
+
country?: string | undefined;
|
|
1163
|
+
phoneNumber?: string | undefined;
|
|
1164
|
+
birthDate?: string | undefined;
|
|
1165
|
+
guardian?: string | undefined;
|
|
1314
1166
|
editedBy?: string | undefined;
|
|
1315
1167
|
createdAt?: string | undefined;
|
|
1316
1168
|
updatedAt?: string | undefined;
|
|
1317
1169
|
}>;
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
paymentAmount: z.ZodNumber;
|
|
1334
|
-
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1335
|
-
expireAt: z.ZodOptional<z.ZodDate>;
|
|
1170
|
+
declare const zBTeacher: z.ZodObject<{
|
|
1171
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1172
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1173
|
+
name: z.ZodString;
|
|
1174
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1176
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1177
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1178
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1179
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1180
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1181
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1182
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
1184
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1336
1185
|
}, "strip", z.ZodTypeAny, {
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
rank: string;
|
|
1341
|
-
email: string;
|
|
1342
|
-
courseId: string;
|
|
1343
|
-
teacherId: string;
|
|
1344
|
-
userId?: string | undefined;
|
|
1345
|
-
phone?: string | undefined;
|
|
1186
|
+
rank: GoRank;
|
|
1187
|
+
name: string;
|
|
1188
|
+
email?: string | undefined;
|
|
1346
1189
|
address?: string | undefined;
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1190
|
+
username?: string | undefined;
|
|
1191
|
+
password?: string | undefined;
|
|
1192
|
+
roles?: number[] | undefined;
|
|
1193
|
+
country?: string | undefined;
|
|
1194
|
+
phoneNumber?: string | undefined;
|
|
1195
|
+
birthDate?: string | undefined;
|
|
1196
|
+
isInactive?: boolean | undefined;
|
|
1197
|
+
title?: string | undefined;
|
|
1198
|
+
bio?: string | undefined;
|
|
1199
|
+
available?: number[][][] | undefined;
|
|
1351
1200
|
}, {
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
rank: string;
|
|
1356
|
-
email: string;
|
|
1357
|
-
courseId: string;
|
|
1358
|
-
teacherId: string;
|
|
1359
|
-
userId?: string | undefined;
|
|
1360
|
-
phone?: string | undefined;
|
|
1201
|
+
rank: GoRank;
|
|
1202
|
+
name: string;
|
|
1203
|
+
email?: string | undefined;
|
|
1361
1204
|
address?: string | undefined;
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1205
|
+
username?: string | undefined;
|
|
1206
|
+
password?: string | undefined;
|
|
1207
|
+
roles?: number[] | undefined;
|
|
1208
|
+
country?: string | undefined;
|
|
1209
|
+
phoneNumber?: string | undefined;
|
|
1210
|
+
birthDate?: string | undefined;
|
|
1211
|
+
isInactive?: boolean | undefined;
|
|
1212
|
+
title?: string | undefined;
|
|
1213
|
+
bio?: string | undefined;
|
|
1214
|
+
available?: number[][][] | undefined;
|
|
1366
1215
|
}>;
|
|
1367
|
-
declare const
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1216
|
+
declare const zTeacher: z.ZodObject<{
|
|
1217
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1218
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1219
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1220
|
+
name: z.ZodString;
|
|
1221
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1224
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1225
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1226
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1227
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1228
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1229
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1382
1231
|
_id: z.ZodString;
|
|
1383
1232
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1384
1233
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1385
1234
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1386
1235
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1387
|
-
|
|
1388
|
-
firstName: string;
|
|
1389
|
-
lastName: string;
|
|
1390
|
-
rank: string;
|
|
1391
|
-
email: string;
|
|
1236
|
+
rank: GoRank;
|
|
1392
1237
|
_id: string;
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
paymentReceived?: boolean | undefined;
|
|
1396
|
-
expireAt?: Date | undefined;
|
|
1397
|
-
userId?: string | undefined;
|
|
1398
|
-
phone?: string | undefined;
|
|
1238
|
+
name: string;
|
|
1239
|
+
email?: string | undefined;
|
|
1399
1240
|
address?: string | undefined;
|
|
1400
|
-
|
|
1401
|
-
|
|
1241
|
+
username?: string | undefined;
|
|
1242
|
+
password?: string | undefined;
|
|
1243
|
+
roles?: number[] | undefined;
|
|
1244
|
+
country?: string | undefined;
|
|
1245
|
+
phoneNumber?: string | undefined;
|
|
1246
|
+
birthDate?: string | undefined;
|
|
1247
|
+
isInactive?: boolean | undefined;
|
|
1248
|
+
title?: string | undefined;
|
|
1249
|
+
bio?: string | undefined;
|
|
1250
|
+
available?: number[][][] | undefined;
|
|
1402
1251
|
editedBy?: string | undefined;
|
|
1403
1252
|
createdAt?: string | undefined;
|
|
1404
1253
|
updatedAt?: string | undefined;
|
|
1405
1254
|
}, {
|
|
1406
|
-
|
|
1407
|
-
firstName: string;
|
|
1408
|
-
lastName: string;
|
|
1409
|
-
rank: string;
|
|
1410
|
-
email: string;
|
|
1255
|
+
rank: GoRank;
|
|
1411
1256
|
_id: string;
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
paymentReceived?: boolean | undefined;
|
|
1415
|
-
expireAt?: Date | undefined;
|
|
1416
|
-
userId?: string | undefined;
|
|
1417
|
-
phone?: string | undefined;
|
|
1257
|
+
name: string;
|
|
1258
|
+
email?: string | undefined;
|
|
1418
1259
|
address?: string | undefined;
|
|
1419
|
-
|
|
1420
|
-
|
|
1260
|
+
username?: string | undefined;
|
|
1261
|
+
password?: string | undefined;
|
|
1262
|
+
roles?: number[] | undefined;
|
|
1263
|
+
country?: string | undefined;
|
|
1264
|
+
phoneNumber?: string | undefined;
|
|
1265
|
+
birthDate?: string | undefined;
|
|
1266
|
+
isInactive?: boolean | undefined;
|
|
1267
|
+
title?: string | undefined;
|
|
1268
|
+
bio?: string | undefined;
|
|
1269
|
+
available?: number[][][] | undefined;
|
|
1421
1270
|
editedBy?: string | undefined;
|
|
1422
1271
|
createdAt?: string | undefined;
|
|
1423
1272
|
updatedAt?: string | undefined;
|
|
1424
1273
|
}>;
|
|
1425
|
-
type
|
|
1426
|
-
type
|
|
1274
|
+
type BUser = z.infer<typeof zBUser>;
|
|
1275
|
+
type User = z.infer<typeof zUser>;
|
|
1276
|
+
type BStudent = z.infer<typeof zBStudent>;
|
|
1277
|
+
type Student = z.infer<typeof zStudent>;
|
|
1278
|
+
type BTeacher = z.infer<typeof zBTeacher>;
|
|
1279
|
+
type Teacher = z.infer<typeof zTeacher>;
|
|
1280
|
+
|
|
1281
|
+
declare const zUserRoles: z.ZodObject<{
|
|
1282
|
+
user: z.ZodNumber;
|
|
1283
|
+
admin: z.ZodNumber;
|
|
1284
|
+
superadmin: z.ZodNumber;
|
|
1285
|
+
}, "strip", z.ZodTypeAny, {
|
|
1286
|
+
user: number;
|
|
1287
|
+
admin: number;
|
|
1288
|
+
superadmin: number;
|
|
1289
|
+
}, {
|
|
1290
|
+
user: number;
|
|
1291
|
+
admin: number;
|
|
1292
|
+
superadmin: number;
|
|
1293
|
+
}>;
|
|
1294
|
+
type UserRoles = z.infer<typeof zUserRoles>;
|
|
1427
1295
|
|
|
1428
1296
|
declare enum PaymentMethod {
|
|
1429
1297
|
CASH = "Cash",
|
|
@@ -1640,6 +1508,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1640
1508
|
textbook: z.ZodOptional<z.ZodNumber>;
|
|
1641
1509
|
shipping: z.ZodOptional<z.ZodNumber>;
|
|
1642
1510
|
paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
|
|
1511
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1643
1512
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1644
1513
|
createdBy: z.ZodString;
|
|
1645
1514
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1661,6 +1530,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1661
1530
|
textbook?: number | undefined;
|
|
1662
1531
|
shipping?: number | undefined;
|
|
1663
1532
|
paid?: PaymentMethod | undefined;
|
|
1533
|
+
showEin?: boolean | undefined;
|
|
1664
1534
|
notes?: string | undefined;
|
|
1665
1535
|
lastEditBy?: string | undefined;
|
|
1666
1536
|
}, {
|
|
@@ -1681,6 +1551,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1681
1551
|
textbook?: number | undefined;
|
|
1682
1552
|
shipping?: number | undefined;
|
|
1683
1553
|
paid?: PaymentMethod | undefined;
|
|
1554
|
+
showEin?: boolean | undefined;
|
|
1684
1555
|
notes?: string | undefined;
|
|
1685
1556
|
lastEditBy?: string | undefined;
|
|
1686
1557
|
}>;
|
|
@@ -1730,6 +1601,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1730
1601
|
desc: string;
|
|
1731
1602
|
amount: number;
|
|
1732
1603
|
}>, "many">;
|
|
1604
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1733
1605
|
createdBy: z.ZodString;
|
|
1734
1606
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
1735
1607
|
_id: z.ZodString;
|
|
@@ -1756,6 +1628,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1756
1628
|
textbook?: number | undefined;
|
|
1757
1629
|
shipping?: number | undefined;
|
|
1758
1630
|
paid?: PaymentMethod | undefined;
|
|
1631
|
+
showEin?: boolean | undefined;
|
|
1759
1632
|
lastEditBy?: string | undefined;
|
|
1760
1633
|
editedBy?: string | undefined;
|
|
1761
1634
|
createdAt?: string | undefined;
|
|
@@ -1780,6 +1653,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1780
1653
|
textbook?: number | undefined;
|
|
1781
1654
|
shipping?: number | undefined;
|
|
1782
1655
|
paid?: PaymentMethod | undefined;
|
|
1656
|
+
showEin?: boolean | undefined;
|
|
1783
1657
|
lastEditBy?: string | undefined;
|
|
1784
1658
|
editedBy?: string | undefined;
|
|
1785
1659
|
createdAt?: string | undefined;
|
|
@@ -1805,6 +1679,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1805
1679
|
desc: string;
|
|
1806
1680
|
amount: number;
|
|
1807
1681
|
}>, "many">;
|
|
1682
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1808
1683
|
createdBy: z.ZodObject<{
|
|
1809
1684
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1810
1685
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -2089,6 +1964,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2089
1964
|
createdAt?: string | undefined;
|
|
2090
1965
|
updatedAt?: string | undefined;
|
|
2091
1966
|
paid?: PaymentMethod | undefined;
|
|
1967
|
+
showEin?: boolean | undefined;
|
|
2092
1968
|
lastEditBy?: {
|
|
2093
1969
|
rank: GoRank;
|
|
2094
1970
|
_id: string;
|
|
@@ -2167,6 +2043,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2167
2043
|
createdAt?: string | undefined;
|
|
2168
2044
|
updatedAt?: string | undefined;
|
|
2169
2045
|
paid?: PaymentMethod | undefined;
|
|
2046
|
+
showEin?: boolean | undefined;
|
|
2170
2047
|
lastEditBy?: {
|
|
2171
2048
|
rank: GoRank;
|
|
2172
2049
|
_id: string;
|
|
@@ -2497,15 +2374,15 @@ declare const zCourseTable: z.ZodObject<{
|
|
|
2497
2374
|
recommendedLevel: z.ZodString;
|
|
2498
2375
|
tuition: z.ZodString;
|
|
2499
2376
|
}, "strip", z.ZodTypeAny, {
|
|
2500
|
-
name: string;
|
|
2501
2377
|
tuition: string;
|
|
2378
|
+
name: string;
|
|
2502
2379
|
duration: number;
|
|
2503
2380
|
id: string;
|
|
2504
2381
|
dateAndTime: string;
|
|
2505
2382
|
recommendedLevel: string;
|
|
2506
2383
|
}, {
|
|
2507
|
-
name: string;
|
|
2508
2384
|
tuition: string;
|
|
2385
|
+
name: string;
|
|
2509
2386
|
duration: number;
|
|
2510
2387
|
id: string;
|
|
2511
2388
|
dateAndTime: string;
|
|
@@ -3724,4 +3601,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
3724
3601
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
3725
3602
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
3726
3603
|
|
|
3727
|
-
export { AgeGroup, AttendState, type Attendance, type
|
|
3604
|
+
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 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, 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 };
|