@nyig/models 0.2.45 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +746 -554
- package/index.d.ts +746 -554
- package/index.js +255 -232
- package/index.mjs +253 -232
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -69,6 +69,390 @@ 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
|
+
type BUser = z.infer<typeof zBUser>;
|
|
191
|
+
type User = z.infer<typeof zUser>;
|
|
192
|
+
|
|
193
|
+
declare enum Role {
|
|
194
|
+
SUPERADMIN = 7926,
|
|
195
|
+
ADMIN = 2023,
|
|
196
|
+
USER = 2014
|
|
197
|
+
}
|
|
198
|
+
declare const zUserRoles: z.ZodObject<{
|
|
199
|
+
user: z.ZodNumber;
|
|
200
|
+
admin: z.ZodNumber;
|
|
201
|
+
superadmin: z.ZodNumber;
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
user: number;
|
|
204
|
+
admin: number;
|
|
205
|
+
superadmin: number;
|
|
206
|
+
}, {
|
|
207
|
+
user: number;
|
|
208
|
+
admin: number;
|
|
209
|
+
superadmin: number;
|
|
210
|
+
}>;
|
|
211
|
+
type UserRoles = z.infer<typeof zUserRoles>;
|
|
212
|
+
|
|
213
|
+
declare const zBStudent: z.ZodObject<{
|
|
214
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
215
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
216
|
+
name: z.ZodString;
|
|
217
|
+
username: z.ZodOptional<z.ZodString>;
|
|
218
|
+
password: z.ZodOptional<z.ZodString>;
|
|
219
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
220
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
221
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
222
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
223
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
224
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
rank: GoRank;
|
|
227
|
+
name: string;
|
|
228
|
+
email?: string | undefined;
|
|
229
|
+
address?: string | undefined;
|
|
230
|
+
username?: string | undefined;
|
|
231
|
+
password?: string | undefined;
|
|
232
|
+
roles?: number[] | undefined;
|
|
233
|
+
country?: string | undefined;
|
|
234
|
+
phoneNumber?: string | undefined;
|
|
235
|
+
birthDate?: string | undefined;
|
|
236
|
+
guardian?: string | undefined;
|
|
237
|
+
}, {
|
|
238
|
+
rank: GoRank;
|
|
239
|
+
name: string;
|
|
240
|
+
email?: string | undefined;
|
|
241
|
+
address?: string | undefined;
|
|
242
|
+
username?: string | undefined;
|
|
243
|
+
password?: string | undefined;
|
|
244
|
+
roles?: number[] | undefined;
|
|
245
|
+
country?: string | undefined;
|
|
246
|
+
phoneNumber?: string | undefined;
|
|
247
|
+
birthDate?: string | undefined;
|
|
248
|
+
guardian?: string | undefined;
|
|
249
|
+
}>;
|
|
250
|
+
declare const zStudent: z.ZodObject<{
|
|
251
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
252
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
253
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
254
|
+
name: z.ZodString;
|
|
255
|
+
username: z.ZodOptional<z.ZodString>;
|
|
256
|
+
password: z.ZodOptional<z.ZodString>;
|
|
257
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
258
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
259
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
260
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
261
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
262
|
+
_id: z.ZodString;
|
|
263
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
264
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
265
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
266
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
267
|
+
rank: GoRank;
|
|
268
|
+
_id: string;
|
|
269
|
+
name: string;
|
|
270
|
+
email?: string | undefined;
|
|
271
|
+
address?: string | undefined;
|
|
272
|
+
username?: string | undefined;
|
|
273
|
+
password?: string | undefined;
|
|
274
|
+
roles?: number[] | undefined;
|
|
275
|
+
country?: string | undefined;
|
|
276
|
+
phoneNumber?: string | undefined;
|
|
277
|
+
birthDate?: string | undefined;
|
|
278
|
+
guardian?: string | undefined;
|
|
279
|
+
editedBy?: string | undefined;
|
|
280
|
+
createdAt?: string | undefined;
|
|
281
|
+
updatedAt?: string | undefined;
|
|
282
|
+
}, {
|
|
283
|
+
rank: GoRank;
|
|
284
|
+
_id: string;
|
|
285
|
+
name: string;
|
|
286
|
+
email?: string | undefined;
|
|
287
|
+
address?: string | undefined;
|
|
288
|
+
username?: string | undefined;
|
|
289
|
+
password?: string | undefined;
|
|
290
|
+
roles?: number[] | undefined;
|
|
291
|
+
country?: string | undefined;
|
|
292
|
+
phoneNumber?: string | undefined;
|
|
293
|
+
birthDate?: string | undefined;
|
|
294
|
+
guardian?: string | undefined;
|
|
295
|
+
editedBy?: string | undefined;
|
|
296
|
+
createdAt?: string | undefined;
|
|
297
|
+
updatedAt?: string | undefined;
|
|
298
|
+
}>;
|
|
299
|
+
type BStudent = z.infer<typeof zBStudent>;
|
|
300
|
+
type Student = z.infer<typeof zStudent>;
|
|
301
|
+
|
|
302
|
+
declare const zBTeacher: z.ZodObject<{
|
|
303
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
304
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
305
|
+
name: z.ZodString;
|
|
306
|
+
username: z.ZodOptional<z.ZodString>;
|
|
307
|
+
password: z.ZodOptional<z.ZodString>;
|
|
308
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
309
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
310
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
311
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
312
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
313
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
314
|
+
title: z.ZodOptional<z.ZodString>;
|
|
315
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
316
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
317
|
+
}, "strip", z.ZodTypeAny, {
|
|
318
|
+
rank: GoRank;
|
|
319
|
+
name: string;
|
|
320
|
+
email?: string | undefined;
|
|
321
|
+
address?: string | undefined;
|
|
322
|
+
username?: string | undefined;
|
|
323
|
+
password?: string | undefined;
|
|
324
|
+
roles?: number[] | undefined;
|
|
325
|
+
country?: string | undefined;
|
|
326
|
+
phoneNumber?: string | undefined;
|
|
327
|
+
birthDate?: string | undefined;
|
|
328
|
+
isInactive?: boolean | undefined;
|
|
329
|
+
title?: string | undefined;
|
|
330
|
+
bio?: string | undefined;
|
|
331
|
+
available?: number[][][] | undefined;
|
|
332
|
+
}, {
|
|
333
|
+
rank: GoRank;
|
|
334
|
+
name: string;
|
|
335
|
+
email?: string | undefined;
|
|
336
|
+
address?: string | undefined;
|
|
337
|
+
username?: string | undefined;
|
|
338
|
+
password?: string | undefined;
|
|
339
|
+
roles?: number[] | undefined;
|
|
340
|
+
country?: string | undefined;
|
|
341
|
+
phoneNumber?: string | undefined;
|
|
342
|
+
birthDate?: string | undefined;
|
|
343
|
+
isInactive?: boolean | undefined;
|
|
344
|
+
title?: string | undefined;
|
|
345
|
+
bio?: string | undefined;
|
|
346
|
+
available?: number[][][] | undefined;
|
|
347
|
+
}>;
|
|
348
|
+
declare const zTeacher: z.ZodObject<{
|
|
349
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
350
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
351
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
352
|
+
name: z.ZodString;
|
|
353
|
+
username: z.ZodOptional<z.ZodString>;
|
|
354
|
+
password: z.ZodOptional<z.ZodString>;
|
|
355
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
356
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
357
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
358
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
359
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
360
|
+
title: z.ZodOptional<z.ZodString>;
|
|
361
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
362
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
363
|
+
_id: z.ZodString;
|
|
364
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
365
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
366
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
367
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
368
|
+
rank: GoRank;
|
|
369
|
+
_id: string;
|
|
370
|
+
name: string;
|
|
371
|
+
email?: string | undefined;
|
|
372
|
+
address?: string | undefined;
|
|
373
|
+
username?: string | undefined;
|
|
374
|
+
password?: string | undefined;
|
|
375
|
+
roles?: number[] | undefined;
|
|
376
|
+
country?: string | undefined;
|
|
377
|
+
phoneNumber?: string | undefined;
|
|
378
|
+
birthDate?: string | undefined;
|
|
379
|
+
isInactive?: boolean | undefined;
|
|
380
|
+
title?: string | undefined;
|
|
381
|
+
bio?: string | undefined;
|
|
382
|
+
available?: number[][][] | undefined;
|
|
383
|
+
editedBy?: string | undefined;
|
|
384
|
+
createdAt?: string | undefined;
|
|
385
|
+
updatedAt?: string | undefined;
|
|
386
|
+
}, {
|
|
387
|
+
rank: GoRank;
|
|
388
|
+
_id: string;
|
|
389
|
+
name: string;
|
|
390
|
+
email?: string | undefined;
|
|
391
|
+
address?: string | undefined;
|
|
392
|
+
username?: string | undefined;
|
|
393
|
+
password?: string | undefined;
|
|
394
|
+
roles?: number[] | undefined;
|
|
395
|
+
country?: string | undefined;
|
|
396
|
+
phoneNumber?: string | undefined;
|
|
397
|
+
birthDate?: string | undefined;
|
|
398
|
+
isInactive?: boolean | undefined;
|
|
399
|
+
title?: string | undefined;
|
|
400
|
+
bio?: string | undefined;
|
|
401
|
+
available?: number[][][] | undefined;
|
|
402
|
+
editedBy?: string | undefined;
|
|
403
|
+
createdAt?: string | undefined;
|
|
404
|
+
updatedAt?: string | undefined;
|
|
405
|
+
}>;
|
|
406
|
+
declare const zTeacherResponse: z.ZodObject<{
|
|
407
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
408
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
409
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
410
|
+
_id: z.ZodString;
|
|
411
|
+
name: z.ZodString;
|
|
412
|
+
username: z.ZodOptional<z.ZodString>;
|
|
413
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
414
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
415
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
416
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
417
|
+
title: z.ZodOptional<z.ZodString>;
|
|
418
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
419
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
420
|
+
role: z.ZodString;
|
|
421
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
422
|
+
rank: GoRank;
|
|
423
|
+
_id: string;
|
|
424
|
+
name: string;
|
|
425
|
+
role: string;
|
|
426
|
+
email?: string | undefined;
|
|
427
|
+
address?: string | undefined;
|
|
428
|
+
username?: string | undefined;
|
|
429
|
+
country?: string | undefined;
|
|
430
|
+
phoneNumber?: string | undefined;
|
|
431
|
+
birthDate?: string | undefined;
|
|
432
|
+
isInactive?: boolean | undefined;
|
|
433
|
+
title?: string | undefined;
|
|
434
|
+
bio?: string | undefined;
|
|
435
|
+
available?: number[][][] | undefined;
|
|
436
|
+
}, {
|
|
437
|
+
rank: GoRank;
|
|
438
|
+
_id: string;
|
|
439
|
+
name: string;
|
|
440
|
+
role: string;
|
|
441
|
+
email?: string | undefined;
|
|
442
|
+
address?: string | undefined;
|
|
443
|
+
username?: string | undefined;
|
|
444
|
+
country?: string | undefined;
|
|
445
|
+
phoneNumber?: string | undefined;
|
|
446
|
+
birthDate?: string | undefined;
|
|
447
|
+
isInactive?: boolean | undefined;
|
|
448
|
+
title?: string | undefined;
|
|
449
|
+
bio?: string | undefined;
|
|
450
|
+
available?: number[][][] | undefined;
|
|
451
|
+
}>;
|
|
452
|
+
type BTeacher = z.infer<typeof zBTeacher>;
|
|
453
|
+
type Teacher = z.infer<typeof zTeacher>;
|
|
454
|
+
type TeacherResponse = z.infer<typeof zTeacherResponse>;
|
|
455
|
+
|
|
72
456
|
declare enum CampOption {
|
|
73
457
|
AM = "am",
|
|
74
458
|
PM = "pm",
|
|
@@ -92,7 +476,7 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
92
476
|
shipping?: boolean | undefined;
|
|
93
477
|
}>;
|
|
94
478
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
-
campOption: z.ZodNativeEnum<typeof CampOption
|
|
479
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
96
480
|
}, "strip", z.ZodTypeAny, {
|
|
97
481
|
student: string;
|
|
98
482
|
states: AttendState[];
|
|
@@ -101,8 +485,8 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
101
485
|
textbook?: boolean | undefined;
|
|
102
486
|
shipping?: boolean | undefined;
|
|
103
487
|
};
|
|
104
|
-
campOption: CampOption;
|
|
105
488
|
paid?: boolean | undefined;
|
|
489
|
+
campOption?: CampOption | undefined;
|
|
106
490
|
}, {
|
|
107
491
|
student: string;
|
|
108
492
|
states: AttendState[];
|
|
@@ -111,8 +495,8 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
111
495
|
textbook?: boolean | undefined;
|
|
112
496
|
shipping?: boolean | undefined;
|
|
113
497
|
};
|
|
114
|
-
campOption: CampOption;
|
|
115
498
|
paid?: boolean | undefined;
|
|
499
|
+
campOption?: CampOption | undefined;
|
|
116
500
|
}>;
|
|
117
501
|
declare const zAttendance: z.ZodObject<{
|
|
118
502
|
student: z.ZodString;
|
|
@@ -131,7 +515,7 @@ declare const zAttendance: z.ZodObject<{
|
|
|
131
515
|
shipping?: boolean | undefined;
|
|
132
516
|
}>;
|
|
133
517
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
campOption: z.ZodNativeEnum<typeof CampOption
|
|
518
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
135
519
|
_id: z.ZodString;
|
|
136
520
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
137
521
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -145,28 +529,160 @@ declare const zAttendance: z.ZodObject<{
|
|
|
145
529
|
textbook?: boolean | undefined;
|
|
146
530
|
shipping?: boolean | undefined;
|
|
147
531
|
};
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
editedBy?: string | undefined;
|
|
151
|
-
createdAt?: string | undefined;
|
|
152
|
-
updatedAt?: string | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
_id: string;
|
|
155
|
-
student: string;
|
|
532
|
+
paid?: boolean | undefined;
|
|
533
|
+
campOption?: CampOption | undefined;
|
|
534
|
+
editedBy?: string | undefined;
|
|
535
|
+
createdAt?: string | undefined;
|
|
536
|
+
updatedAt?: string | undefined;
|
|
537
|
+
}, {
|
|
538
|
+
_id: string;
|
|
539
|
+
student: string;
|
|
540
|
+
states: AttendState[];
|
|
541
|
+
tuition: {
|
|
542
|
+
primary: number;
|
|
543
|
+
textbook?: boolean | undefined;
|
|
544
|
+
shipping?: boolean | undefined;
|
|
545
|
+
};
|
|
546
|
+
paid?: boolean | undefined;
|
|
547
|
+
campOption?: CampOption | undefined;
|
|
548
|
+
editedBy?: string | undefined;
|
|
549
|
+
createdAt?: string | undefined;
|
|
550
|
+
updatedAt?: string | undefined;
|
|
551
|
+
}>;
|
|
552
|
+
declare const zAttendanceResponse: z.ZodObject<{
|
|
553
|
+
_id: z.ZodString;
|
|
554
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
555
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
556
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
557
|
+
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
558
|
+
tuition: z.ZodObject<{
|
|
559
|
+
primary: z.ZodNumber;
|
|
560
|
+
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
561
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
562
|
+
}, "strip", z.ZodTypeAny, {
|
|
563
|
+
primary: number;
|
|
564
|
+
textbook?: boolean | undefined;
|
|
565
|
+
shipping?: boolean | undefined;
|
|
566
|
+
}, {
|
|
567
|
+
primary: number;
|
|
568
|
+
textbook?: boolean | undefined;
|
|
569
|
+
shipping?: boolean | undefined;
|
|
570
|
+
}>;
|
|
571
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
572
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
573
|
+
student: z.ZodObject<{
|
|
574
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
575
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
576
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
577
|
+
name: z.ZodString;
|
|
578
|
+
username: z.ZodOptional<z.ZodString>;
|
|
579
|
+
password: z.ZodOptional<z.ZodString>;
|
|
580
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
581
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
582
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
583
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
584
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
585
|
+
_id: z.ZodString;
|
|
586
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
587
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
588
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
589
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
590
|
+
rank: GoRank;
|
|
591
|
+
_id: string;
|
|
592
|
+
name: string;
|
|
593
|
+
email?: string | undefined;
|
|
594
|
+
address?: string | undefined;
|
|
595
|
+
username?: string | undefined;
|
|
596
|
+
password?: string | undefined;
|
|
597
|
+
roles?: number[] | undefined;
|
|
598
|
+
country?: string | undefined;
|
|
599
|
+
phoneNumber?: string | undefined;
|
|
600
|
+
birthDate?: string | undefined;
|
|
601
|
+
guardian?: string | undefined;
|
|
602
|
+
editedBy?: string | undefined;
|
|
603
|
+
createdAt?: string | undefined;
|
|
604
|
+
updatedAt?: string | undefined;
|
|
605
|
+
}, {
|
|
606
|
+
rank: GoRank;
|
|
607
|
+
_id: string;
|
|
608
|
+
name: string;
|
|
609
|
+
email?: string | undefined;
|
|
610
|
+
address?: string | undefined;
|
|
611
|
+
username?: string | undefined;
|
|
612
|
+
password?: string | undefined;
|
|
613
|
+
roles?: number[] | undefined;
|
|
614
|
+
country?: string | undefined;
|
|
615
|
+
phoneNumber?: string | undefined;
|
|
616
|
+
birthDate?: string | undefined;
|
|
617
|
+
guardian?: string | undefined;
|
|
618
|
+
editedBy?: string | undefined;
|
|
619
|
+
createdAt?: string | undefined;
|
|
620
|
+
updatedAt?: string | undefined;
|
|
621
|
+
}>;
|
|
622
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
623
|
+
_id: string;
|
|
624
|
+
student: {
|
|
625
|
+
rank: GoRank;
|
|
626
|
+
_id: string;
|
|
627
|
+
name: string;
|
|
628
|
+
email?: string | undefined;
|
|
629
|
+
address?: string | undefined;
|
|
630
|
+
username?: string | undefined;
|
|
631
|
+
password?: string | undefined;
|
|
632
|
+
roles?: number[] | undefined;
|
|
633
|
+
country?: string | undefined;
|
|
634
|
+
phoneNumber?: string | undefined;
|
|
635
|
+
birthDate?: string | undefined;
|
|
636
|
+
guardian?: string | undefined;
|
|
637
|
+
editedBy?: string | undefined;
|
|
638
|
+
createdAt?: string | undefined;
|
|
639
|
+
updatedAt?: string | undefined;
|
|
640
|
+
};
|
|
641
|
+
states: AttendState[];
|
|
642
|
+
tuition: {
|
|
643
|
+
primary: number;
|
|
644
|
+
textbook?: boolean | undefined;
|
|
645
|
+
shipping?: boolean | undefined;
|
|
646
|
+
};
|
|
647
|
+
editedBy?: string | undefined;
|
|
648
|
+
createdAt?: string | undefined;
|
|
649
|
+
updatedAt?: string | undefined;
|
|
650
|
+
paid?: boolean | undefined;
|
|
651
|
+
campOption?: CampOption | undefined;
|
|
652
|
+
}, {
|
|
653
|
+
_id: string;
|
|
654
|
+
student: {
|
|
655
|
+
rank: GoRank;
|
|
656
|
+
_id: string;
|
|
657
|
+
name: string;
|
|
658
|
+
email?: string | undefined;
|
|
659
|
+
address?: string | undefined;
|
|
660
|
+
username?: string | undefined;
|
|
661
|
+
password?: string | undefined;
|
|
662
|
+
roles?: number[] | undefined;
|
|
663
|
+
country?: string | undefined;
|
|
664
|
+
phoneNumber?: string | undefined;
|
|
665
|
+
birthDate?: string | undefined;
|
|
666
|
+
guardian?: string | undefined;
|
|
667
|
+
editedBy?: string | undefined;
|
|
668
|
+
createdAt?: string | undefined;
|
|
669
|
+
updatedAt?: string | undefined;
|
|
670
|
+
};
|
|
156
671
|
states: AttendState[];
|
|
157
672
|
tuition: {
|
|
158
673
|
primary: number;
|
|
159
674
|
textbook?: boolean | undefined;
|
|
160
675
|
shipping?: boolean | undefined;
|
|
161
676
|
};
|
|
162
|
-
campOption: CampOption;
|
|
163
|
-
paid?: boolean | undefined;
|
|
164
677
|
editedBy?: string | undefined;
|
|
165
678
|
createdAt?: string | undefined;
|
|
166
679
|
updatedAt?: string | undefined;
|
|
680
|
+
paid?: boolean | undefined;
|
|
681
|
+
campOption?: CampOption | undefined;
|
|
167
682
|
}>;
|
|
168
683
|
type BAttendance = z.infer<typeof zBAttendance>;
|
|
169
684
|
type Attendance = z.infer<typeof zAttendance>;
|
|
685
|
+
type AttendanceResponse = z.infer<typeof zAttendanceResponse>;
|
|
170
686
|
|
|
171
687
|
declare const zBCampTracker: z.ZodObject<{
|
|
172
688
|
course: z.ZodString;
|
|
@@ -180,6 +696,7 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
180
696
|
* attendances are tracked by week for camps
|
|
181
697
|
*/
|
|
182
698
|
attendances: z.ZodArray<z.ZodString, "many">;
|
|
699
|
+
publicDescription: z.ZodOptional<z.ZodString>;
|
|
183
700
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
184
701
|
notes: z.ZodOptional<z.ZodString>;
|
|
185
702
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -188,6 +705,7 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
188
705
|
semester: string;
|
|
189
706
|
occurrences: string[];
|
|
190
707
|
attendances: string[];
|
|
708
|
+
publicDescription?: string | undefined;
|
|
191
709
|
isNonPublic?: boolean | undefined;
|
|
192
710
|
notes?: string | undefined;
|
|
193
711
|
}, {
|
|
@@ -196,6 +714,7 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
196
714
|
semester: string;
|
|
197
715
|
occurrences: string[];
|
|
198
716
|
attendances: string[];
|
|
717
|
+
publicDescription?: string | undefined;
|
|
199
718
|
isNonPublic?: boolean | undefined;
|
|
200
719
|
notes?: string | undefined;
|
|
201
720
|
}>;
|
|
@@ -206,6 +725,7 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
206
725
|
semester: z.ZodString;
|
|
207
726
|
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
208
727
|
attendances: z.ZodArray<z.ZodString, "many">;
|
|
728
|
+
publicDescription: z.ZodOptional<z.ZodString>;
|
|
209
729
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
210
730
|
_id: z.ZodString;
|
|
211
731
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -219,6 +739,7 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
219
739
|
occurrences: string[];
|
|
220
740
|
attendances: string[];
|
|
221
741
|
notes?: string | undefined;
|
|
742
|
+
publicDescription?: string | undefined;
|
|
222
743
|
isNonPublic?: boolean | undefined;
|
|
223
744
|
editedBy?: string | undefined;
|
|
224
745
|
createdAt?: string | undefined;
|
|
@@ -231,6 +752,7 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
231
752
|
occurrences: string[];
|
|
232
753
|
attendances: string[];
|
|
233
754
|
notes?: string | undefined;
|
|
755
|
+
publicDescription?: string | undefined;
|
|
234
756
|
isNonPublic?: boolean | undefined;
|
|
235
757
|
editedBy?: string | undefined;
|
|
236
758
|
createdAt?: string | undefined;
|
|
@@ -643,247 +1165,13 @@ declare const zBCampBooking: z.ZodObject<{
|
|
|
643
1165
|
email: string;
|
|
644
1166
|
campOption: CampOption;
|
|
645
1167
|
isOnline: boolean;
|
|
646
|
-
classDates: string;
|
|
647
|
-
userId?: string | undefined;
|
|
648
|
-
phone?: string | undefined;
|
|
649
|
-
address?: string | undefined;
|
|
650
|
-
notes?: string | undefined;
|
|
651
|
-
shipping?: boolean | undefined;
|
|
652
|
-
ctId?: string | undefined;
|
|
653
|
-
paymentReceived?: boolean | undefined;
|
|
654
|
-
expireAt?: Date | undefined;
|
|
655
|
-
}, {
|
|
656
|
-
paymentAmount: number;
|
|
657
|
-
firstName: string;
|
|
658
|
-
lastName: string;
|
|
659
|
-
rank: string;
|
|
660
|
-
email: string;
|
|
661
|
-
campOption: CampOption;
|
|
662
|
-
isOnline: boolean;
|
|
663
|
-
classDates: string;
|
|
664
|
-
userId?: string | undefined;
|
|
665
|
-
phone?: string | undefined;
|
|
666
|
-
address?: string | undefined;
|
|
667
|
-
notes?: string | undefined;
|
|
668
|
-
shipping?: boolean | undefined;
|
|
669
|
-
ctId?: string | undefined;
|
|
670
|
-
paymentReceived?: boolean | undefined;
|
|
671
|
-
expireAt?: Date | undefined;
|
|
672
|
-
}>;
|
|
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<{
|
|
793
|
-
paymentAmount: z.ZodNumber;
|
|
794
|
-
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
795
|
-
expireAt: z.ZodOptional<z.ZodDate>;
|
|
796
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
797
|
-
firstName: z.ZodString;
|
|
798
|
-
lastName: z.ZodString;
|
|
799
|
-
rank: z.ZodString;
|
|
800
|
-
email: z.ZodString;
|
|
801
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
802
|
-
address: z.ZodOptional<z.ZodString>;
|
|
803
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
804
|
-
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
805
|
-
isOnline: z.ZodBoolean;
|
|
806
|
-
gtId: z.ZodOptional<z.ZodString>;
|
|
807
|
-
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
808
|
-
classDate: z.ZodOptional<z.ZodString>;
|
|
809
|
-
_id: z.ZodString;
|
|
810
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
811
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
812
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
813
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
814
|
-
paymentAmount: number;
|
|
815
|
-
firstName: string;
|
|
816
|
-
lastName: string;
|
|
817
|
-
rank: string;
|
|
818
|
-
email: string;
|
|
819
|
-
_id: string;
|
|
820
|
-
isOnline: boolean;
|
|
821
|
-
paymentReceived?: boolean | undefined;
|
|
822
|
-
expireAt?: Date | undefined;
|
|
823
|
-
userId?: string | undefined;
|
|
824
|
-
phone?: string | undefined;
|
|
825
|
-
address?: string | undefined;
|
|
826
|
-
notes?: string | undefined;
|
|
827
|
-
shipping?: boolean | undefined;
|
|
828
|
-
gtId?: string | undefined;
|
|
829
|
-
isTrial?: boolean | undefined;
|
|
830
|
-
classDate?: string | undefined;
|
|
831
|
-
editedBy?: string | undefined;
|
|
832
|
-
createdAt?: string | undefined;
|
|
833
|
-
updatedAt?: string | undefined;
|
|
834
|
-
}, {
|
|
835
|
-
paymentAmount: number;
|
|
836
|
-
firstName: string;
|
|
837
|
-
lastName: string;
|
|
838
|
-
rank: string;
|
|
839
|
-
email: string;
|
|
840
|
-
_id: string;
|
|
841
|
-
isOnline: boolean;
|
|
842
|
-
paymentReceived?: boolean | undefined;
|
|
843
|
-
expireAt?: Date | undefined;
|
|
844
|
-
userId?: string | undefined;
|
|
845
|
-
phone?: string | undefined;
|
|
846
|
-
address?: string | undefined;
|
|
847
|
-
notes?: string | undefined;
|
|
848
|
-
shipping?: boolean | undefined;
|
|
849
|
-
gtId?: string | undefined;
|
|
850
|
-
isTrial?: boolean | undefined;
|
|
851
|
-
classDate?: string | undefined;
|
|
852
|
-
editedBy?: string | undefined;
|
|
853
|
-
createdAt?: string | undefined;
|
|
854
|
-
updatedAt?: string | undefined;
|
|
855
|
-
}>;
|
|
856
|
-
type BGroupBooking = z.infer<typeof zBGroupBooking>;
|
|
857
|
-
type GroupBooking = z.infer<typeof zGroupBooking>;
|
|
858
|
-
|
|
859
|
-
declare const zBPrivateBooking: z.ZodObject<{
|
|
860
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
861
|
-
firstName: z.ZodString;
|
|
862
|
-
lastName: z.ZodString;
|
|
863
|
-
rank: z.ZodString;
|
|
864
|
-
email: z.ZodString;
|
|
865
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
866
|
-
address: z.ZodOptional<z.ZodString>;
|
|
867
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
868
|
-
courseId: z.ZodString;
|
|
869
|
-
classDate: z.ZodOptional<z.ZodString>;
|
|
870
|
-
teacherId: z.ZodString;
|
|
871
|
-
paymentAmount: z.ZodNumber;
|
|
872
|
-
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
873
|
-
expireAt: z.ZodOptional<z.ZodDate>;
|
|
874
|
-
}, "strip", z.ZodTypeAny, {
|
|
875
|
-
paymentAmount: number;
|
|
876
|
-
firstName: string;
|
|
877
|
-
lastName: string;
|
|
878
|
-
rank: string;
|
|
879
|
-
email: string;
|
|
880
|
-
courseId: string;
|
|
881
|
-
teacherId: string;
|
|
1168
|
+
classDates: string;
|
|
882
1169
|
userId?: string | undefined;
|
|
883
1170
|
phone?: string | undefined;
|
|
884
1171
|
address?: string | undefined;
|
|
885
1172
|
notes?: string | undefined;
|
|
886
|
-
|
|
1173
|
+
shipping?: boolean | undefined;
|
|
1174
|
+
ctId?: string | undefined;
|
|
887
1175
|
paymentReceived?: boolean | undefined;
|
|
888
1176
|
expireAt?: Date | undefined;
|
|
889
1177
|
}, {
|
|
@@ -892,17 +1180,19 @@ declare const zBPrivateBooking: z.ZodObject<{
|
|
|
892
1180
|
lastName: string;
|
|
893
1181
|
rank: string;
|
|
894
1182
|
email: string;
|
|
895
|
-
|
|
896
|
-
|
|
1183
|
+
campOption: CampOption;
|
|
1184
|
+
isOnline: boolean;
|
|
1185
|
+
classDates: string;
|
|
897
1186
|
userId?: string | undefined;
|
|
898
1187
|
phone?: string | undefined;
|
|
899
1188
|
address?: string | undefined;
|
|
900
1189
|
notes?: string | undefined;
|
|
901
|
-
|
|
1190
|
+
shipping?: boolean | undefined;
|
|
1191
|
+
ctId?: string | undefined;
|
|
902
1192
|
paymentReceived?: boolean | undefined;
|
|
903
1193
|
expireAt?: Date | undefined;
|
|
904
1194
|
}>;
|
|
905
|
-
declare const
|
|
1195
|
+
declare const zCampBooking: z.ZodObject<{
|
|
906
1196
|
paymentAmount: z.ZodNumber;
|
|
907
1197
|
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
908
1198
|
expireAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -914,9 +1204,11 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
914
1204
|
phone: z.ZodOptional<z.ZodString>;
|
|
915
1205
|
address: z.ZodOptional<z.ZodString>;
|
|
916
1206
|
notes: z.ZodOptional<z.ZodString>;
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
1207
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1208
|
+
campOption: z.ZodNativeEnum<typeof CampOption>;
|
|
1209
|
+
ctId: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
isOnline: z.ZodBoolean;
|
|
1211
|
+
classDates: z.ZodString;
|
|
920
1212
|
_id: z.ZodString;
|
|
921
1213
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
922
1214
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -928,15 +1220,17 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
928
1220
|
rank: string;
|
|
929
1221
|
email: string;
|
|
930
1222
|
_id: string;
|
|
931
|
-
|
|
932
|
-
|
|
1223
|
+
campOption: CampOption;
|
|
1224
|
+
isOnline: boolean;
|
|
1225
|
+
classDates: string;
|
|
933
1226
|
paymentReceived?: boolean | undefined;
|
|
934
1227
|
expireAt?: Date | undefined;
|
|
935
1228
|
userId?: string | undefined;
|
|
936
1229
|
phone?: string | undefined;
|
|
937
1230
|
address?: string | undefined;
|
|
938
1231
|
notes?: string | undefined;
|
|
939
|
-
|
|
1232
|
+
shipping?: boolean | undefined;
|
|
1233
|
+
ctId?: string | undefined;
|
|
940
1234
|
editedBy?: string | undefined;
|
|
941
1235
|
createdAt?: string | undefined;
|
|
942
1236
|
updatedAt?: string | undefined;
|
|
@@ -947,351 +1241,249 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
947
1241
|
rank: string;
|
|
948
1242
|
email: string;
|
|
949
1243
|
_id: string;
|
|
950
|
-
|
|
951
|
-
|
|
1244
|
+
campOption: CampOption;
|
|
1245
|
+
isOnline: boolean;
|
|
1246
|
+
classDates: string;
|
|
952
1247
|
paymentReceived?: boolean | undefined;
|
|
953
1248
|
expireAt?: Date | undefined;
|
|
954
1249
|
userId?: string | undefined;
|
|
955
1250
|
phone?: string | undefined;
|
|
956
1251
|
address?: string | undefined;
|
|
957
1252
|
notes?: string | undefined;
|
|
958
|
-
|
|
1253
|
+
shipping?: boolean | undefined;
|
|
1254
|
+
ctId?: string | undefined;
|
|
959
1255
|
editedBy?: string | undefined;
|
|
960
1256
|
createdAt?: string | undefined;
|
|
961
1257
|
updatedAt?: string | undefined;
|
|
962
1258
|
}>;
|
|
963
|
-
type
|
|
964
|
-
type
|
|
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
|
-
}
|
|
1259
|
+
type BCampBooking = z.infer<typeof zBCampBooking>;
|
|
1260
|
+
type CampBooking = z.infer<typeof zCampBooking>;
|
|
1009
1261
|
|
|
1010
|
-
declare const
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
email: z.
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
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>;
|
|
1262
|
+
declare const zBGroupBooking: z.ZodObject<{
|
|
1263
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
firstName: z.ZodString;
|
|
1265
|
+
lastName: z.ZodString;
|
|
1266
|
+
rank: z.ZodString;
|
|
1267
|
+
email: z.ZodString;
|
|
1268
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1269
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1270
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1272
|
+
isOnline: z.ZodBoolean;
|
|
1273
|
+
gtId: z.ZodOptional<z.ZodString>;
|
|
1274
|
+
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
1275
|
+
classDate: z.ZodOptional<z.ZodString>;
|
|
1276
|
+
paymentAmount: z.ZodNumber;
|
|
1277
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1278
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
1096
1279
|
}, "strip", z.ZodTypeAny, {
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1280
|
+
paymentAmount: number;
|
|
1281
|
+
firstName: string;
|
|
1282
|
+
lastName: string;
|
|
1283
|
+
rank: string;
|
|
1284
|
+
email: string;
|
|
1285
|
+
isOnline: boolean;
|
|
1286
|
+
userId?: string | undefined;
|
|
1287
|
+
phone?: string | undefined;
|
|
1100
1288
|
address?: string | undefined;
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1289
|
+
notes?: string | undefined;
|
|
1290
|
+
shipping?: boolean | undefined;
|
|
1291
|
+
gtId?: string | undefined;
|
|
1292
|
+
isTrial?: boolean | undefined;
|
|
1293
|
+
classDate?: string | undefined;
|
|
1294
|
+
paymentReceived?: boolean | undefined;
|
|
1295
|
+
expireAt?: Date | undefined;
|
|
1108
1296
|
}, {
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1297
|
+
paymentAmount: number;
|
|
1298
|
+
firstName: string;
|
|
1299
|
+
lastName: string;
|
|
1300
|
+
rank: string;
|
|
1301
|
+
email: string;
|
|
1302
|
+
isOnline: boolean;
|
|
1303
|
+
userId?: string | undefined;
|
|
1304
|
+
phone?: string | undefined;
|
|
1112
1305
|
address?: string | undefined;
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1306
|
+
notes?: string | undefined;
|
|
1307
|
+
shipping?: boolean | undefined;
|
|
1308
|
+
gtId?: string | undefined;
|
|
1309
|
+
isTrial?: boolean | undefined;
|
|
1310
|
+
classDate?: string | undefined;
|
|
1311
|
+
paymentReceived?: boolean | undefined;
|
|
1312
|
+
expireAt?: Date | undefined;
|
|
1120
1313
|
}>;
|
|
1121
|
-
declare const
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1314
|
+
declare const zGroupBooking: z.ZodObject<{
|
|
1315
|
+
paymentAmount: z.ZodNumber;
|
|
1316
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1317
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
1318
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1319
|
+
firstName: z.ZodString;
|
|
1320
|
+
lastName: z.ZodString;
|
|
1321
|
+
rank: z.ZodString;
|
|
1322
|
+
email: z.ZodString;
|
|
1323
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1324
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1327
|
+
isOnline: z.ZodBoolean;
|
|
1328
|
+
gtId: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
1330
|
+
classDate: z.ZodOptional<z.ZodString>;
|
|
1133
1331
|
_id: z.ZodString;
|
|
1134
1332
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1135
1333
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1136
1334
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1137
1335
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1138
|
-
|
|
1336
|
+
paymentAmount: number;
|
|
1337
|
+
firstName: string;
|
|
1338
|
+
lastName: string;
|
|
1339
|
+
rank: string;
|
|
1340
|
+
email: string;
|
|
1139
1341
|
_id: string;
|
|
1140
|
-
|
|
1141
|
-
|
|
1342
|
+
isOnline: boolean;
|
|
1343
|
+
paymentReceived?: boolean | undefined;
|
|
1344
|
+
expireAt?: Date | undefined;
|
|
1345
|
+
userId?: string | undefined;
|
|
1346
|
+
phone?: string | undefined;
|
|
1142
1347
|
address?: string | undefined;
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
birthDate?: string | undefined;
|
|
1149
|
-
guardian?: string | undefined;
|
|
1348
|
+
notes?: string | undefined;
|
|
1349
|
+
shipping?: boolean | undefined;
|
|
1350
|
+
gtId?: string | undefined;
|
|
1351
|
+
isTrial?: boolean | undefined;
|
|
1352
|
+
classDate?: string | undefined;
|
|
1150
1353
|
editedBy?: string | undefined;
|
|
1151
1354
|
createdAt?: string | undefined;
|
|
1152
1355
|
updatedAt?: string | undefined;
|
|
1153
1356
|
}, {
|
|
1154
|
-
|
|
1357
|
+
paymentAmount: number;
|
|
1358
|
+
firstName: string;
|
|
1359
|
+
lastName: string;
|
|
1360
|
+
rank: string;
|
|
1361
|
+
email: string;
|
|
1155
1362
|
_id: string;
|
|
1156
|
-
|
|
1157
|
-
|
|
1363
|
+
isOnline: boolean;
|
|
1364
|
+
paymentReceived?: boolean | undefined;
|
|
1365
|
+
expireAt?: Date | undefined;
|
|
1366
|
+
userId?: string | undefined;
|
|
1367
|
+
phone?: string | undefined;
|
|
1158
1368
|
address?: string | undefined;
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
birthDate?: string | undefined;
|
|
1165
|
-
guardian?: string | undefined;
|
|
1369
|
+
notes?: string | undefined;
|
|
1370
|
+
shipping?: boolean | undefined;
|
|
1371
|
+
gtId?: string | undefined;
|
|
1372
|
+
isTrial?: boolean | undefined;
|
|
1373
|
+
classDate?: string | undefined;
|
|
1166
1374
|
editedBy?: string | undefined;
|
|
1167
1375
|
createdAt?: string | undefined;
|
|
1168
1376
|
updatedAt?: string | undefined;
|
|
1169
1377
|
}>;
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1378
|
+
type BGroupBooking = z.infer<typeof zBGroupBooking>;
|
|
1379
|
+
type GroupBooking = z.infer<typeof zGroupBooking>;
|
|
1380
|
+
|
|
1381
|
+
declare const zBPrivateBooking: z.ZodObject<{
|
|
1382
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
firstName: z.ZodString;
|
|
1384
|
+
lastName: z.ZodString;
|
|
1385
|
+
rank: z.ZodString;
|
|
1386
|
+
email: z.ZodString;
|
|
1387
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1389
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1390
|
+
courseId: z.ZodString;
|
|
1391
|
+
classDate: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
teacherId: z.ZodString;
|
|
1393
|
+
paymentAmount: z.ZodNumber;
|
|
1394
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1395
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
1185
1396
|
}, "strip", z.ZodTypeAny, {
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1397
|
+
paymentAmount: number;
|
|
1398
|
+
firstName: string;
|
|
1399
|
+
lastName: string;
|
|
1400
|
+
rank: string;
|
|
1401
|
+
email: string;
|
|
1402
|
+
courseId: string;
|
|
1403
|
+
teacherId: string;
|
|
1404
|
+
userId?: string | undefined;
|
|
1405
|
+
phone?: string | undefined;
|
|
1189
1406
|
address?: string | undefined;
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
phoneNumber?: string | undefined;
|
|
1195
|
-
birthDate?: string | undefined;
|
|
1196
|
-
isInactive?: boolean | undefined;
|
|
1197
|
-
title?: string | undefined;
|
|
1198
|
-
bio?: string | undefined;
|
|
1199
|
-
available?: number[][][] | undefined;
|
|
1407
|
+
notes?: string | undefined;
|
|
1408
|
+
classDate?: string | undefined;
|
|
1409
|
+
paymentReceived?: boolean | undefined;
|
|
1410
|
+
expireAt?: Date | undefined;
|
|
1200
1411
|
}, {
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1412
|
+
paymentAmount: number;
|
|
1413
|
+
firstName: string;
|
|
1414
|
+
lastName: string;
|
|
1415
|
+
rank: string;
|
|
1416
|
+
email: string;
|
|
1417
|
+
courseId: string;
|
|
1418
|
+
teacherId: string;
|
|
1419
|
+
userId?: string | undefined;
|
|
1420
|
+
phone?: string | undefined;
|
|
1204
1421
|
address?: string | undefined;
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
phoneNumber?: string | undefined;
|
|
1210
|
-
birthDate?: string | undefined;
|
|
1211
|
-
isInactive?: boolean | undefined;
|
|
1212
|
-
title?: string | undefined;
|
|
1213
|
-
bio?: string | undefined;
|
|
1214
|
-
available?: number[][][] | undefined;
|
|
1422
|
+
notes?: string | undefined;
|
|
1423
|
+
classDate?: string | undefined;
|
|
1424
|
+
paymentReceived?: boolean | undefined;
|
|
1425
|
+
expireAt?: Date | undefined;
|
|
1215
1426
|
}>;
|
|
1216
|
-
declare const
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1427
|
+
declare const zPrivateBooking: z.ZodObject<{
|
|
1428
|
+
paymentAmount: z.ZodNumber;
|
|
1429
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1430
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
1431
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1432
|
+
firstName: z.ZodString;
|
|
1433
|
+
lastName: z.ZodString;
|
|
1434
|
+
rank: z.ZodString;
|
|
1435
|
+
email: z.ZodString;
|
|
1436
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1437
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
courseId: z.ZodString;
|
|
1440
|
+
classDate: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
teacherId: z.ZodString;
|
|
1231
1442
|
_id: z.ZodString;
|
|
1232
1443
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1233
1444
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1234
1445
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1235
1446
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1236
|
-
|
|
1447
|
+
paymentAmount: number;
|
|
1448
|
+
firstName: string;
|
|
1449
|
+
lastName: string;
|
|
1450
|
+
rank: string;
|
|
1451
|
+
email: string;
|
|
1237
1452
|
_id: string;
|
|
1238
|
-
|
|
1239
|
-
|
|
1453
|
+
courseId: string;
|
|
1454
|
+
teacherId: string;
|
|
1455
|
+
paymentReceived?: boolean | undefined;
|
|
1456
|
+
expireAt?: Date | undefined;
|
|
1457
|
+
userId?: string | undefined;
|
|
1458
|
+
phone?: string | undefined;
|
|
1240
1459
|
address?: string | undefined;
|
|
1241
|
-
|
|
1242
|
-
|
|
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;
|
|
1460
|
+
notes?: string | undefined;
|
|
1461
|
+
classDate?: string | undefined;
|
|
1251
1462
|
editedBy?: string | undefined;
|
|
1252
1463
|
createdAt?: string | undefined;
|
|
1253
1464
|
updatedAt?: string | undefined;
|
|
1254
1465
|
}, {
|
|
1255
|
-
|
|
1466
|
+
paymentAmount: number;
|
|
1467
|
+
firstName: string;
|
|
1468
|
+
lastName: string;
|
|
1469
|
+
rank: string;
|
|
1470
|
+
email: string;
|
|
1256
1471
|
_id: string;
|
|
1257
|
-
|
|
1258
|
-
|
|
1472
|
+
courseId: string;
|
|
1473
|
+
teacherId: string;
|
|
1474
|
+
paymentReceived?: boolean | undefined;
|
|
1475
|
+
expireAt?: Date | undefined;
|
|
1476
|
+
userId?: string | undefined;
|
|
1477
|
+
phone?: string | undefined;
|
|
1259
1478
|
address?: string | undefined;
|
|
1260
|
-
|
|
1261
|
-
|
|
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;
|
|
1479
|
+
notes?: string | undefined;
|
|
1480
|
+
classDate?: string | undefined;
|
|
1270
1481
|
editedBy?: string | undefined;
|
|
1271
1482
|
createdAt?: string | undefined;
|
|
1272
1483
|
updatedAt?: string | undefined;
|
|
1273
1484
|
}>;
|
|
1274
|
-
type
|
|
1275
|
-
type
|
|
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>;
|
|
1485
|
+
type BPrivateBooking = z.infer<typeof zBPrivateBooking>;
|
|
1486
|
+
type PrivateBooking = z.infer<typeof zPrivateBooking>;
|
|
1295
1487
|
|
|
1296
1488
|
declare enum PaymentMethod {
|
|
1297
1489
|
CASH = "Cash",
|
|
@@ -2374,15 +2566,15 @@ declare const zCourseTable: z.ZodObject<{
|
|
|
2374
2566
|
recommendedLevel: z.ZodString;
|
|
2375
2567
|
tuition: z.ZodString;
|
|
2376
2568
|
}, "strip", z.ZodTypeAny, {
|
|
2377
|
-
tuition: string;
|
|
2378
2569
|
name: string;
|
|
2570
|
+
tuition: string;
|
|
2379
2571
|
duration: number;
|
|
2380
2572
|
id: string;
|
|
2381
2573
|
dateAndTime: string;
|
|
2382
2574
|
recommendedLevel: string;
|
|
2383
2575
|
}, {
|
|
2384
|
-
tuition: string;
|
|
2385
2576
|
name: string;
|
|
2577
|
+
tuition: string;
|
|
2386
2578
|
duration: number;
|
|
2387
2579
|
id: string;
|
|
2388
2580
|
dateAndTime: string;
|
|
@@ -3601,4 +3793,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
3601
3793
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
3602
3794
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
3603
3795
|
|
|
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 };
|
|
3796
|
+
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, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, 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 };
|