@nyig/models 0.2.43 → 0.2.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +686 -554
- package/index.d.ts +686 -554
- package/index.js +75 -70
- package/index.mjs +74 -70
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -69,6 +69,336 @@ declare enum AttendState {
|
|
|
69
69
|
NONE = "none"
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
declare enum GoRank {
|
|
73
|
+
KYU1 = "1k",
|
|
74
|
+
KYU2 = "2k",
|
|
75
|
+
KYU3 = "3k",
|
|
76
|
+
KYU4 = "4k",
|
|
77
|
+
KYU5 = "5k",
|
|
78
|
+
KYU6 = "6k",
|
|
79
|
+
KYU7 = "7k",
|
|
80
|
+
KYU8 = "8k",
|
|
81
|
+
KYU9 = "9k",
|
|
82
|
+
KYU10 = "10k",
|
|
83
|
+
KYU11 = "11k",
|
|
84
|
+
KYU12 = "12k",
|
|
85
|
+
KYU13 = "13k",
|
|
86
|
+
KYU14 = "14k",
|
|
87
|
+
KYU15 = "15k",
|
|
88
|
+
KYU16 = "16k",
|
|
89
|
+
KYU17 = "17k",
|
|
90
|
+
KYU18 = "18k",
|
|
91
|
+
KYU19 = "19k",
|
|
92
|
+
KYU20 = "20k",
|
|
93
|
+
KYU21 = "21k",
|
|
94
|
+
KYU22 = "22k",
|
|
95
|
+
KYU23 = "23k",
|
|
96
|
+
KYU24 = "24k",
|
|
97
|
+
KYU25 = "25k",
|
|
98
|
+
DAN1 = "1d",
|
|
99
|
+
DAN2 = "2d",
|
|
100
|
+
DAN3 = "3d",
|
|
101
|
+
DAN4 = "4d",
|
|
102
|
+
DAN5 = "5d",
|
|
103
|
+
DAN6 = "6d",
|
|
104
|
+
DAN7 = "7d",
|
|
105
|
+
PRO1 = "1p",
|
|
106
|
+
PRO2 = "2p",
|
|
107
|
+
PRO3 = "3p",
|
|
108
|
+
PRO4 = "4p",
|
|
109
|
+
PRO5 = "5p",
|
|
110
|
+
PRO6 = "6p",
|
|
111
|
+
PRO7 = "7p",
|
|
112
|
+
PRO8 = "8p",
|
|
113
|
+
PRO9 = "9p"
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
declare const zBUser: z.ZodObject<{
|
|
117
|
+
name: z.ZodString;
|
|
118
|
+
username: z.ZodOptional<z.ZodString>;
|
|
119
|
+
password: z.ZodOptional<z.ZodString>;
|
|
120
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
121
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
122
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
123
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
124
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
125
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
name: string;
|
|
128
|
+
username?: string | undefined;
|
|
129
|
+
password?: string | undefined;
|
|
130
|
+
roles?: number[] | undefined;
|
|
131
|
+
email?: string | undefined;
|
|
132
|
+
address?: string | undefined;
|
|
133
|
+
country?: string | undefined;
|
|
134
|
+
phoneNumber?: string | undefined;
|
|
135
|
+
birthDate?: string | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
name: string;
|
|
138
|
+
username?: string | undefined;
|
|
139
|
+
password?: string | undefined;
|
|
140
|
+
roles?: number[] | undefined;
|
|
141
|
+
email?: string | undefined;
|
|
142
|
+
address?: string | undefined;
|
|
143
|
+
country?: string | undefined;
|
|
144
|
+
phoneNumber?: string | undefined;
|
|
145
|
+
birthDate?: string | undefined;
|
|
146
|
+
}>;
|
|
147
|
+
declare const zUser: z.ZodObject<{
|
|
148
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
149
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
150
|
+
name: z.ZodString;
|
|
151
|
+
username: z.ZodOptional<z.ZodString>;
|
|
152
|
+
password: z.ZodOptional<z.ZodString>;
|
|
153
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
154
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
155
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
156
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
157
|
+
_id: z.ZodString;
|
|
158
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
159
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
160
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
161
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
162
|
+
_id: string;
|
|
163
|
+
name: string;
|
|
164
|
+
email?: string | undefined;
|
|
165
|
+
address?: string | undefined;
|
|
166
|
+
username?: string | undefined;
|
|
167
|
+
password?: string | undefined;
|
|
168
|
+
roles?: number[] | undefined;
|
|
169
|
+
country?: string | undefined;
|
|
170
|
+
phoneNumber?: string | undefined;
|
|
171
|
+
birthDate?: string | undefined;
|
|
172
|
+
editedBy?: string | undefined;
|
|
173
|
+
createdAt?: string | undefined;
|
|
174
|
+
updatedAt?: string | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
_id: string;
|
|
177
|
+
name: string;
|
|
178
|
+
email?: string | undefined;
|
|
179
|
+
address?: string | undefined;
|
|
180
|
+
username?: string | undefined;
|
|
181
|
+
password?: string | undefined;
|
|
182
|
+
roles?: number[] | undefined;
|
|
183
|
+
country?: string | undefined;
|
|
184
|
+
phoneNumber?: string | undefined;
|
|
185
|
+
birthDate?: string | undefined;
|
|
186
|
+
editedBy?: string | undefined;
|
|
187
|
+
createdAt?: string | undefined;
|
|
188
|
+
updatedAt?: string | undefined;
|
|
189
|
+
}>;
|
|
190
|
+
declare const zBStudent: z.ZodObject<{
|
|
191
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
192
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
193
|
+
name: z.ZodString;
|
|
194
|
+
username: z.ZodOptional<z.ZodString>;
|
|
195
|
+
password: z.ZodOptional<z.ZodString>;
|
|
196
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
197
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
198
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
199
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
200
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
201
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
rank: GoRank;
|
|
204
|
+
name: string;
|
|
205
|
+
email?: string | undefined;
|
|
206
|
+
address?: string | undefined;
|
|
207
|
+
username?: string | undefined;
|
|
208
|
+
password?: string | undefined;
|
|
209
|
+
roles?: number[] | undefined;
|
|
210
|
+
country?: string | undefined;
|
|
211
|
+
phoneNumber?: string | undefined;
|
|
212
|
+
birthDate?: string | undefined;
|
|
213
|
+
guardian?: string | undefined;
|
|
214
|
+
}, {
|
|
215
|
+
rank: GoRank;
|
|
216
|
+
name: string;
|
|
217
|
+
email?: string | undefined;
|
|
218
|
+
address?: string | undefined;
|
|
219
|
+
username?: string | undefined;
|
|
220
|
+
password?: string | undefined;
|
|
221
|
+
roles?: number[] | undefined;
|
|
222
|
+
country?: string | undefined;
|
|
223
|
+
phoneNumber?: string | undefined;
|
|
224
|
+
birthDate?: string | undefined;
|
|
225
|
+
guardian?: string | undefined;
|
|
226
|
+
}>;
|
|
227
|
+
declare const zStudent: z.ZodObject<{
|
|
228
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
229
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
230
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
231
|
+
name: z.ZodString;
|
|
232
|
+
username: z.ZodOptional<z.ZodString>;
|
|
233
|
+
password: z.ZodOptional<z.ZodString>;
|
|
234
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
235
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
236
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
237
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
238
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
239
|
+
_id: z.ZodString;
|
|
240
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
241
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
242
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
244
|
+
rank: GoRank;
|
|
245
|
+
_id: string;
|
|
246
|
+
name: string;
|
|
247
|
+
email?: string | undefined;
|
|
248
|
+
address?: string | undefined;
|
|
249
|
+
username?: string | undefined;
|
|
250
|
+
password?: string | undefined;
|
|
251
|
+
roles?: number[] | undefined;
|
|
252
|
+
country?: string | undefined;
|
|
253
|
+
phoneNumber?: string | undefined;
|
|
254
|
+
birthDate?: string | undefined;
|
|
255
|
+
guardian?: string | undefined;
|
|
256
|
+
editedBy?: string | undefined;
|
|
257
|
+
createdAt?: string | undefined;
|
|
258
|
+
updatedAt?: string | undefined;
|
|
259
|
+
}, {
|
|
260
|
+
rank: GoRank;
|
|
261
|
+
_id: string;
|
|
262
|
+
name: string;
|
|
263
|
+
email?: string | undefined;
|
|
264
|
+
address?: string | undefined;
|
|
265
|
+
username?: string | undefined;
|
|
266
|
+
password?: string | undefined;
|
|
267
|
+
roles?: number[] | undefined;
|
|
268
|
+
country?: string | undefined;
|
|
269
|
+
phoneNumber?: string | undefined;
|
|
270
|
+
birthDate?: string | undefined;
|
|
271
|
+
guardian?: string | undefined;
|
|
272
|
+
editedBy?: string | undefined;
|
|
273
|
+
createdAt?: string | undefined;
|
|
274
|
+
updatedAt?: string | undefined;
|
|
275
|
+
}>;
|
|
276
|
+
declare const zBTeacher: z.ZodObject<{
|
|
277
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
278
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
279
|
+
name: z.ZodString;
|
|
280
|
+
username: z.ZodOptional<z.ZodString>;
|
|
281
|
+
password: z.ZodOptional<z.ZodString>;
|
|
282
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
283
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
284
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
285
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
286
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
287
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
title: z.ZodOptional<z.ZodString>;
|
|
289
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
290
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
rank: GoRank;
|
|
293
|
+
name: string;
|
|
294
|
+
email?: string | undefined;
|
|
295
|
+
address?: string | undefined;
|
|
296
|
+
username?: string | undefined;
|
|
297
|
+
password?: string | undefined;
|
|
298
|
+
roles?: number[] | undefined;
|
|
299
|
+
country?: string | undefined;
|
|
300
|
+
phoneNumber?: string | undefined;
|
|
301
|
+
birthDate?: string | undefined;
|
|
302
|
+
isInactive?: boolean | undefined;
|
|
303
|
+
title?: string | undefined;
|
|
304
|
+
bio?: string | undefined;
|
|
305
|
+
available?: number[][][] | undefined;
|
|
306
|
+
}, {
|
|
307
|
+
rank: GoRank;
|
|
308
|
+
name: string;
|
|
309
|
+
email?: string | undefined;
|
|
310
|
+
address?: string | undefined;
|
|
311
|
+
username?: string | undefined;
|
|
312
|
+
password?: string | undefined;
|
|
313
|
+
roles?: number[] | undefined;
|
|
314
|
+
country?: string | undefined;
|
|
315
|
+
phoneNumber?: string | undefined;
|
|
316
|
+
birthDate?: string | undefined;
|
|
317
|
+
isInactive?: boolean | undefined;
|
|
318
|
+
title?: string | undefined;
|
|
319
|
+
bio?: string | undefined;
|
|
320
|
+
available?: number[][][] | undefined;
|
|
321
|
+
}>;
|
|
322
|
+
declare const zTeacher: z.ZodObject<{
|
|
323
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
324
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
325
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
326
|
+
name: z.ZodString;
|
|
327
|
+
username: z.ZodOptional<z.ZodString>;
|
|
328
|
+
password: z.ZodOptional<z.ZodString>;
|
|
329
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
330
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
331
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
332
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
333
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
334
|
+
title: z.ZodOptional<z.ZodString>;
|
|
335
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
336
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
337
|
+
_id: z.ZodString;
|
|
338
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
339
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
340
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
341
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
342
|
+
rank: GoRank;
|
|
343
|
+
_id: string;
|
|
344
|
+
name: string;
|
|
345
|
+
email?: string | undefined;
|
|
346
|
+
address?: string | undefined;
|
|
347
|
+
username?: string | undefined;
|
|
348
|
+
password?: string | undefined;
|
|
349
|
+
roles?: number[] | undefined;
|
|
350
|
+
country?: string | undefined;
|
|
351
|
+
phoneNumber?: string | undefined;
|
|
352
|
+
birthDate?: string | undefined;
|
|
353
|
+
isInactive?: boolean | undefined;
|
|
354
|
+
title?: string | undefined;
|
|
355
|
+
bio?: string | undefined;
|
|
356
|
+
available?: number[][][] | undefined;
|
|
357
|
+
editedBy?: string | undefined;
|
|
358
|
+
createdAt?: string | undefined;
|
|
359
|
+
updatedAt?: string | undefined;
|
|
360
|
+
}, {
|
|
361
|
+
rank: GoRank;
|
|
362
|
+
_id: string;
|
|
363
|
+
name: string;
|
|
364
|
+
email?: string | undefined;
|
|
365
|
+
address?: string | undefined;
|
|
366
|
+
username?: string | undefined;
|
|
367
|
+
password?: string | undefined;
|
|
368
|
+
roles?: number[] | undefined;
|
|
369
|
+
country?: string | undefined;
|
|
370
|
+
phoneNumber?: string | undefined;
|
|
371
|
+
birthDate?: string | undefined;
|
|
372
|
+
isInactive?: boolean | undefined;
|
|
373
|
+
title?: string | undefined;
|
|
374
|
+
bio?: string | undefined;
|
|
375
|
+
available?: number[][][] | undefined;
|
|
376
|
+
editedBy?: string | undefined;
|
|
377
|
+
createdAt?: string | undefined;
|
|
378
|
+
updatedAt?: string | undefined;
|
|
379
|
+
}>;
|
|
380
|
+
type BUser = z.infer<typeof zBUser>;
|
|
381
|
+
type User = z.infer<typeof zUser>;
|
|
382
|
+
type BStudent = z.infer<typeof zBStudent>;
|
|
383
|
+
type Student = z.infer<typeof zStudent>;
|
|
384
|
+
type BTeacher = z.infer<typeof zBTeacher>;
|
|
385
|
+
type Teacher = z.infer<typeof zTeacher>;
|
|
386
|
+
|
|
387
|
+
declare const zUserRoles: z.ZodObject<{
|
|
388
|
+
user: z.ZodNumber;
|
|
389
|
+
admin: z.ZodNumber;
|
|
390
|
+
superadmin: z.ZodNumber;
|
|
391
|
+
}, "strip", z.ZodTypeAny, {
|
|
392
|
+
user: number;
|
|
393
|
+
admin: number;
|
|
394
|
+
superadmin: number;
|
|
395
|
+
}, {
|
|
396
|
+
user: number;
|
|
397
|
+
admin: number;
|
|
398
|
+
superadmin: number;
|
|
399
|
+
}>;
|
|
400
|
+
type UserRoles = z.infer<typeof zUserRoles>;
|
|
401
|
+
|
|
72
402
|
declare enum CampOption {
|
|
73
403
|
AM = "am",
|
|
74
404
|
PM = "pm",
|
|
@@ -92,7 +422,7 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
92
422
|
shipping?: boolean | undefined;
|
|
93
423
|
}>;
|
|
94
424
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
-
campOption: z.ZodNativeEnum<typeof CampOption
|
|
425
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
96
426
|
}, "strip", z.ZodTypeAny, {
|
|
97
427
|
student: string;
|
|
98
428
|
states: AttendState[];
|
|
@@ -101,8 +431,8 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
101
431
|
textbook?: boolean | undefined;
|
|
102
432
|
shipping?: boolean | undefined;
|
|
103
433
|
};
|
|
104
|
-
campOption: CampOption;
|
|
105
434
|
paid?: boolean | undefined;
|
|
435
|
+
campOption?: CampOption | undefined;
|
|
106
436
|
}, {
|
|
107
437
|
student: string;
|
|
108
438
|
states: AttendState[];
|
|
@@ -111,8 +441,8 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
111
441
|
textbook?: boolean | undefined;
|
|
112
442
|
shipping?: boolean | undefined;
|
|
113
443
|
};
|
|
114
|
-
campOption: CampOption;
|
|
115
444
|
paid?: boolean | undefined;
|
|
445
|
+
campOption?: CampOption | undefined;
|
|
116
446
|
}>;
|
|
117
447
|
declare const zAttendance: z.ZodObject<{
|
|
118
448
|
student: z.ZodString;
|
|
@@ -131,7 +461,7 @@ declare const zAttendance: z.ZodObject<{
|
|
|
131
461
|
shipping?: boolean | undefined;
|
|
132
462
|
}>;
|
|
133
463
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
campOption: z.ZodNativeEnum<typeof CampOption
|
|
464
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
135
465
|
_id: z.ZodString;
|
|
136
466
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
137
467
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -145,28 +475,160 @@ declare const zAttendance: z.ZodObject<{
|
|
|
145
475
|
textbook?: boolean | undefined;
|
|
146
476
|
shipping?: boolean | undefined;
|
|
147
477
|
};
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
editedBy?: string | undefined;
|
|
151
|
-
createdAt?: string | undefined;
|
|
152
|
-
updatedAt?: string | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
_id: string;
|
|
155
|
-
student: string;
|
|
478
|
+
paid?: boolean | undefined;
|
|
479
|
+
campOption?: CampOption | undefined;
|
|
480
|
+
editedBy?: string | undefined;
|
|
481
|
+
createdAt?: string | undefined;
|
|
482
|
+
updatedAt?: string | undefined;
|
|
483
|
+
}, {
|
|
484
|
+
_id: string;
|
|
485
|
+
student: string;
|
|
486
|
+
states: AttendState[];
|
|
487
|
+
tuition: {
|
|
488
|
+
primary: number;
|
|
489
|
+
textbook?: boolean | undefined;
|
|
490
|
+
shipping?: boolean | undefined;
|
|
491
|
+
};
|
|
492
|
+
paid?: boolean | undefined;
|
|
493
|
+
campOption?: CampOption | undefined;
|
|
494
|
+
editedBy?: string | undefined;
|
|
495
|
+
createdAt?: string | undefined;
|
|
496
|
+
updatedAt?: string | undefined;
|
|
497
|
+
}>;
|
|
498
|
+
declare const zAttendanceResponse: z.ZodObject<{
|
|
499
|
+
_id: z.ZodString;
|
|
500
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
501
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
502
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
503
|
+
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
504
|
+
tuition: z.ZodObject<{
|
|
505
|
+
primary: z.ZodNumber;
|
|
506
|
+
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
507
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
508
|
+
}, "strip", z.ZodTypeAny, {
|
|
509
|
+
primary: number;
|
|
510
|
+
textbook?: boolean | undefined;
|
|
511
|
+
shipping?: boolean | undefined;
|
|
512
|
+
}, {
|
|
513
|
+
primary: number;
|
|
514
|
+
textbook?: boolean | undefined;
|
|
515
|
+
shipping?: boolean | undefined;
|
|
516
|
+
}>;
|
|
517
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
518
|
+
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
519
|
+
student: z.ZodObject<{
|
|
520
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
521
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
522
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
523
|
+
name: z.ZodString;
|
|
524
|
+
username: z.ZodOptional<z.ZodString>;
|
|
525
|
+
password: z.ZodOptional<z.ZodString>;
|
|
526
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
527
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
528
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
529
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
530
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
531
|
+
_id: z.ZodString;
|
|
532
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
533
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
534
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
535
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
536
|
+
rank: GoRank;
|
|
537
|
+
_id: string;
|
|
538
|
+
name: string;
|
|
539
|
+
email?: string | undefined;
|
|
540
|
+
address?: string | undefined;
|
|
541
|
+
username?: string | undefined;
|
|
542
|
+
password?: string | undefined;
|
|
543
|
+
roles?: number[] | undefined;
|
|
544
|
+
country?: string | undefined;
|
|
545
|
+
phoneNumber?: string | undefined;
|
|
546
|
+
birthDate?: string | undefined;
|
|
547
|
+
guardian?: string | undefined;
|
|
548
|
+
editedBy?: string | undefined;
|
|
549
|
+
createdAt?: string | undefined;
|
|
550
|
+
updatedAt?: string | undefined;
|
|
551
|
+
}, {
|
|
552
|
+
rank: GoRank;
|
|
553
|
+
_id: string;
|
|
554
|
+
name: string;
|
|
555
|
+
email?: string | undefined;
|
|
556
|
+
address?: string | undefined;
|
|
557
|
+
username?: string | undefined;
|
|
558
|
+
password?: string | undefined;
|
|
559
|
+
roles?: number[] | undefined;
|
|
560
|
+
country?: string | undefined;
|
|
561
|
+
phoneNumber?: string | undefined;
|
|
562
|
+
birthDate?: string | undefined;
|
|
563
|
+
guardian?: string | undefined;
|
|
564
|
+
editedBy?: string | undefined;
|
|
565
|
+
createdAt?: string | undefined;
|
|
566
|
+
updatedAt?: string | undefined;
|
|
567
|
+
}>;
|
|
568
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
569
|
+
_id: string;
|
|
570
|
+
student: {
|
|
571
|
+
rank: GoRank;
|
|
572
|
+
_id: string;
|
|
573
|
+
name: string;
|
|
574
|
+
email?: string | undefined;
|
|
575
|
+
address?: string | undefined;
|
|
576
|
+
username?: string | undefined;
|
|
577
|
+
password?: string | undefined;
|
|
578
|
+
roles?: number[] | undefined;
|
|
579
|
+
country?: string | undefined;
|
|
580
|
+
phoneNumber?: string | undefined;
|
|
581
|
+
birthDate?: string | undefined;
|
|
582
|
+
guardian?: string | undefined;
|
|
583
|
+
editedBy?: string | undefined;
|
|
584
|
+
createdAt?: string | undefined;
|
|
585
|
+
updatedAt?: string | undefined;
|
|
586
|
+
};
|
|
587
|
+
states: AttendState[];
|
|
588
|
+
tuition: {
|
|
589
|
+
primary: number;
|
|
590
|
+
textbook?: boolean | undefined;
|
|
591
|
+
shipping?: boolean | undefined;
|
|
592
|
+
};
|
|
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
|
+
};
|
|
156
617
|
states: AttendState[];
|
|
157
618
|
tuition: {
|
|
158
619
|
primary: number;
|
|
159
620
|
textbook?: boolean | undefined;
|
|
160
621
|
shipping?: boolean | undefined;
|
|
161
622
|
};
|
|
162
|
-
campOption: CampOption;
|
|
163
|
-
paid?: boolean | undefined;
|
|
164
623
|
editedBy?: string | undefined;
|
|
165
624
|
createdAt?: string | undefined;
|
|
166
625
|
updatedAt?: string | undefined;
|
|
626
|
+
paid?: boolean | undefined;
|
|
627
|
+
campOption?: CampOption | undefined;
|
|
167
628
|
}>;
|
|
168
629
|
type BAttendance = z.infer<typeof zBAttendance>;
|
|
169
630
|
type Attendance = z.infer<typeof zAttendance>;
|
|
631
|
+
type AttendanceResponse = z.infer<typeof zAttendanceResponse>;
|
|
170
632
|
|
|
171
633
|
declare const zBCampTracker: z.ZodObject<{
|
|
172
634
|
course: z.ZodString;
|
|
@@ -643,247 +1105,13 @@ declare const zBCampBooking: z.ZodObject<{
|
|
|
643
1105
|
email: string;
|
|
644
1106
|
campOption: CampOption;
|
|
645
1107
|
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;
|
|
1108
|
+
classDates: string;
|
|
882
1109
|
userId?: string | undefined;
|
|
883
1110
|
phone?: string | undefined;
|
|
884
1111
|
address?: string | undefined;
|
|
885
1112
|
notes?: string | undefined;
|
|
886
|
-
|
|
1113
|
+
shipping?: boolean | undefined;
|
|
1114
|
+
ctId?: string | undefined;
|
|
887
1115
|
paymentReceived?: boolean | undefined;
|
|
888
1116
|
expireAt?: Date | undefined;
|
|
889
1117
|
}, {
|
|
@@ -892,17 +1120,19 @@ declare const zBPrivateBooking: z.ZodObject<{
|
|
|
892
1120
|
lastName: string;
|
|
893
1121
|
rank: string;
|
|
894
1122
|
email: string;
|
|
895
|
-
|
|
896
|
-
|
|
1123
|
+
campOption: CampOption;
|
|
1124
|
+
isOnline: boolean;
|
|
1125
|
+
classDates: string;
|
|
897
1126
|
userId?: string | undefined;
|
|
898
1127
|
phone?: string | undefined;
|
|
899
1128
|
address?: string | undefined;
|
|
900
1129
|
notes?: string | undefined;
|
|
901
|
-
|
|
1130
|
+
shipping?: boolean | undefined;
|
|
1131
|
+
ctId?: string | undefined;
|
|
902
1132
|
paymentReceived?: boolean | undefined;
|
|
903
1133
|
expireAt?: Date | undefined;
|
|
904
1134
|
}>;
|
|
905
|
-
declare const
|
|
1135
|
+
declare const zCampBooking: z.ZodObject<{
|
|
906
1136
|
paymentAmount: z.ZodNumber;
|
|
907
1137
|
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
908
1138
|
expireAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -914,9 +1144,11 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
914
1144
|
phone: z.ZodOptional<z.ZodString>;
|
|
915
1145
|
address: z.ZodOptional<z.ZodString>;
|
|
916
1146
|
notes: z.ZodOptional<z.ZodString>;
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
1147
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1148
|
+
campOption: z.ZodNativeEnum<typeof CampOption>;
|
|
1149
|
+
ctId: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
isOnline: z.ZodBoolean;
|
|
1151
|
+
classDates: z.ZodString;
|
|
920
1152
|
_id: z.ZodString;
|
|
921
1153
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
922
1154
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -928,15 +1160,17 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
928
1160
|
rank: string;
|
|
929
1161
|
email: string;
|
|
930
1162
|
_id: string;
|
|
931
|
-
|
|
932
|
-
|
|
1163
|
+
campOption: CampOption;
|
|
1164
|
+
isOnline: boolean;
|
|
1165
|
+
classDates: string;
|
|
933
1166
|
paymentReceived?: boolean | undefined;
|
|
934
1167
|
expireAt?: Date | undefined;
|
|
935
1168
|
userId?: string | undefined;
|
|
936
1169
|
phone?: string | undefined;
|
|
937
1170
|
address?: string | undefined;
|
|
938
1171
|
notes?: string | undefined;
|
|
939
|
-
|
|
1172
|
+
shipping?: boolean | undefined;
|
|
1173
|
+
ctId?: string | undefined;
|
|
940
1174
|
editedBy?: string | undefined;
|
|
941
1175
|
createdAt?: string | undefined;
|
|
942
1176
|
updatedAt?: string | undefined;
|
|
@@ -947,351 +1181,249 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
947
1181
|
rank: string;
|
|
948
1182
|
email: string;
|
|
949
1183
|
_id: string;
|
|
950
|
-
|
|
951
|
-
|
|
1184
|
+
campOption: CampOption;
|
|
1185
|
+
isOnline: boolean;
|
|
1186
|
+
classDates: string;
|
|
952
1187
|
paymentReceived?: boolean | undefined;
|
|
953
1188
|
expireAt?: Date | undefined;
|
|
954
1189
|
userId?: string | undefined;
|
|
955
1190
|
phone?: string | undefined;
|
|
956
1191
|
address?: string | undefined;
|
|
957
1192
|
notes?: string | undefined;
|
|
958
|
-
|
|
1193
|
+
shipping?: boolean | undefined;
|
|
1194
|
+
ctId?: string | undefined;
|
|
959
1195
|
editedBy?: string | undefined;
|
|
960
1196
|
createdAt?: string | undefined;
|
|
961
1197
|
updatedAt?: string | undefined;
|
|
962
1198
|
}>;
|
|
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
|
-
}
|
|
1199
|
+
type BCampBooking = z.infer<typeof zBCampBooking>;
|
|
1200
|
+
type CampBooking = z.infer<typeof zCampBooking>;
|
|
1009
1201
|
|
|
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>;
|
|
1202
|
+
declare const zBGroupBooking: z.ZodObject<{
|
|
1203
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
firstName: z.ZodString;
|
|
1205
|
+
lastName: z.ZodString;
|
|
1206
|
+
rank: z.ZodString;
|
|
1207
|
+
email: z.ZodString;
|
|
1208
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1212
|
+
isOnline: z.ZodBoolean;
|
|
1213
|
+
gtId: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
1215
|
+
classDate: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
paymentAmount: z.ZodNumber;
|
|
1217
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1218
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
1096
1219
|
}, "strip", z.ZodTypeAny, {
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1220
|
+
paymentAmount: number;
|
|
1221
|
+
firstName: string;
|
|
1222
|
+
lastName: string;
|
|
1223
|
+
rank: string;
|
|
1224
|
+
email: string;
|
|
1225
|
+
isOnline: boolean;
|
|
1226
|
+
userId?: string | undefined;
|
|
1227
|
+
phone?: string | undefined;
|
|
1100
1228
|
address?: string | undefined;
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1229
|
+
notes?: string | undefined;
|
|
1230
|
+
shipping?: boolean | undefined;
|
|
1231
|
+
gtId?: string | undefined;
|
|
1232
|
+
isTrial?: boolean | undefined;
|
|
1233
|
+
classDate?: string | undefined;
|
|
1234
|
+
paymentReceived?: boolean | undefined;
|
|
1235
|
+
expireAt?: Date | undefined;
|
|
1108
1236
|
}, {
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1237
|
+
paymentAmount: number;
|
|
1238
|
+
firstName: string;
|
|
1239
|
+
lastName: string;
|
|
1240
|
+
rank: string;
|
|
1241
|
+
email: string;
|
|
1242
|
+
isOnline: boolean;
|
|
1243
|
+
userId?: string | undefined;
|
|
1244
|
+
phone?: string | undefined;
|
|
1112
1245
|
address?: string | undefined;
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1246
|
+
notes?: string | undefined;
|
|
1247
|
+
shipping?: boolean | undefined;
|
|
1248
|
+
gtId?: string | undefined;
|
|
1249
|
+
isTrial?: boolean | undefined;
|
|
1250
|
+
classDate?: string | undefined;
|
|
1251
|
+
paymentReceived?: boolean | undefined;
|
|
1252
|
+
expireAt?: Date | undefined;
|
|
1120
1253
|
}>;
|
|
1121
|
-
declare const
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1254
|
+
declare const zGroupBooking: z.ZodObject<{
|
|
1255
|
+
paymentAmount: z.ZodNumber;
|
|
1256
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1257
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
1258
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
firstName: z.ZodString;
|
|
1260
|
+
lastName: z.ZodString;
|
|
1261
|
+
rank: z.ZodString;
|
|
1262
|
+
email: z.ZodString;
|
|
1263
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
1267
|
+
isOnline: z.ZodBoolean;
|
|
1268
|
+
gtId: z.ZodOptional<z.ZodString>;
|
|
1269
|
+
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
1270
|
+
classDate: z.ZodOptional<z.ZodString>;
|
|
1133
1271
|
_id: z.ZodString;
|
|
1134
1272
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1135
1273
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1136
1274
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1137
1275
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1138
|
-
|
|
1276
|
+
paymentAmount: number;
|
|
1277
|
+
firstName: string;
|
|
1278
|
+
lastName: string;
|
|
1279
|
+
rank: string;
|
|
1280
|
+
email: string;
|
|
1139
1281
|
_id: string;
|
|
1140
|
-
|
|
1141
|
-
|
|
1282
|
+
isOnline: boolean;
|
|
1283
|
+
paymentReceived?: boolean | undefined;
|
|
1284
|
+
expireAt?: Date | undefined;
|
|
1285
|
+
userId?: string | undefined;
|
|
1286
|
+
phone?: string | undefined;
|
|
1142
1287
|
address?: string | undefined;
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
birthDate?: string | undefined;
|
|
1149
|
-
guardian?: string | undefined;
|
|
1288
|
+
notes?: string | undefined;
|
|
1289
|
+
shipping?: boolean | undefined;
|
|
1290
|
+
gtId?: string | undefined;
|
|
1291
|
+
isTrial?: boolean | undefined;
|
|
1292
|
+
classDate?: string | undefined;
|
|
1150
1293
|
editedBy?: string | undefined;
|
|
1151
1294
|
createdAt?: string | undefined;
|
|
1152
1295
|
updatedAt?: string | undefined;
|
|
1153
1296
|
}, {
|
|
1154
|
-
|
|
1297
|
+
paymentAmount: number;
|
|
1298
|
+
firstName: string;
|
|
1299
|
+
lastName: string;
|
|
1300
|
+
rank: string;
|
|
1301
|
+
email: string;
|
|
1155
1302
|
_id: string;
|
|
1156
|
-
|
|
1157
|
-
|
|
1303
|
+
isOnline: boolean;
|
|
1304
|
+
paymentReceived?: boolean | undefined;
|
|
1305
|
+
expireAt?: Date | undefined;
|
|
1306
|
+
userId?: string | undefined;
|
|
1307
|
+
phone?: string | undefined;
|
|
1158
1308
|
address?: string | undefined;
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
birthDate?: string | undefined;
|
|
1165
|
-
guardian?: string | undefined;
|
|
1309
|
+
notes?: string | undefined;
|
|
1310
|
+
shipping?: boolean | undefined;
|
|
1311
|
+
gtId?: string | undefined;
|
|
1312
|
+
isTrial?: boolean | undefined;
|
|
1313
|
+
classDate?: string | undefined;
|
|
1166
1314
|
editedBy?: string | undefined;
|
|
1167
1315
|
createdAt?: string | undefined;
|
|
1168
1316
|
updatedAt?: string | undefined;
|
|
1169
1317
|
}>;
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1318
|
+
type BGroupBooking = z.infer<typeof zBGroupBooking>;
|
|
1319
|
+
type GroupBooking = z.infer<typeof zGroupBooking>;
|
|
1320
|
+
|
|
1321
|
+
declare const zBPrivateBooking: z.ZodObject<{
|
|
1322
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
firstName: z.ZodString;
|
|
1324
|
+
lastName: z.ZodString;
|
|
1325
|
+
rank: z.ZodString;
|
|
1326
|
+
email: z.ZodString;
|
|
1327
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1330
|
+
courseId: z.ZodString;
|
|
1331
|
+
classDate: z.ZodOptional<z.ZodString>;
|
|
1332
|
+
teacherId: z.ZodString;
|
|
1333
|
+
paymentAmount: z.ZodNumber;
|
|
1334
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1335
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
1185
1336
|
}, "strip", z.ZodTypeAny, {
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1337
|
+
paymentAmount: number;
|
|
1338
|
+
firstName: string;
|
|
1339
|
+
lastName: string;
|
|
1340
|
+
rank: string;
|
|
1341
|
+
email: string;
|
|
1342
|
+
courseId: string;
|
|
1343
|
+
teacherId: string;
|
|
1344
|
+
userId?: string | undefined;
|
|
1345
|
+
phone?: string | undefined;
|
|
1189
1346
|
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;
|
|
1347
|
+
notes?: string | undefined;
|
|
1348
|
+
classDate?: string | undefined;
|
|
1349
|
+
paymentReceived?: boolean | undefined;
|
|
1350
|
+
expireAt?: Date | undefined;
|
|
1200
1351
|
}, {
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1352
|
+
paymentAmount: number;
|
|
1353
|
+
firstName: string;
|
|
1354
|
+
lastName: string;
|
|
1355
|
+
rank: string;
|
|
1356
|
+
email: string;
|
|
1357
|
+
courseId: string;
|
|
1358
|
+
teacherId: string;
|
|
1359
|
+
userId?: string | undefined;
|
|
1360
|
+
phone?: string | undefined;
|
|
1204
1361
|
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;
|
|
1362
|
+
notes?: string | undefined;
|
|
1363
|
+
classDate?: string | undefined;
|
|
1364
|
+
paymentReceived?: boolean | undefined;
|
|
1365
|
+
expireAt?: Date | undefined;
|
|
1215
1366
|
}>;
|
|
1216
|
-
declare const
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1367
|
+
declare const zPrivateBooking: z.ZodObject<{
|
|
1368
|
+
paymentAmount: z.ZodNumber;
|
|
1369
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1370
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
1371
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
firstName: z.ZodString;
|
|
1373
|
+
lastName: z.ZodString;
|
|
1374
|
+
rank: z.ZodString;
|
|
1375
|
+
email: z.ZodString;
|
|
1376
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
courseId: z.ZodString;
|
|
1380
|
+
classDate: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
teacherId: z.ZodString;
|
|
1231
1382
|
_id: z.ZodString;
|
|
1232
1383
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1233
1384
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1234
1385
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1235
1386
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1236
|
-
|
|
1387
|
+
paymentAmount: number;
|
|
1388
|
+
firstName: string;
|
|
1389
|
+
lastName: string;
|
|
1390
|
+
rank: string;
|
|
1391
|
+
email: string;
|
|
1237
1392
|
_id: string;
|
|
1238
|
-
|
|
1239
|
-
|
|
1393
|
+
courseId: string;
|
|
1394
|
+
teacherId: string;
|
|
1395
|
+
paymentReceived?: boolean | undefined;
|
|
1396
|
+
expireAt?: Date | undefined;
|
|
1397
|
+
userId?: string | undefined;
|
|
1398
|
+
phone?: string | undefined;
|
|
1240
1399
|
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;
|
|
1400
|
+
notes?: string | undefined;
|
|
1401
|
+
classDate?: string | undefined;
|
|
1251
1402
|
editedBy?: string | undefined;
|
|
1252
1403
|
createdAt?: string | undefined;
|
|
1253
1404
|
updatedAt?: string | undefined;
|
|
1254
1405
|
}, {
|
|
1255
|
-
|
|
1406
|
+
paymentAmount: number;
|
|
1407
|
+
firstName: string;
|
|
1408
|
+
lastName: string;
|
|
1409
|
+
rank: string;
|
|
1410
|
+
email: string;
|
|
1256
1411
|
_id: string;
|
|
1257
|
-
|
|
1258
|
-
|
|
1412
|
+
courseId: string;
|
|
1413
|
+
teacherId: string;
|
|
1414
|
+
paymentReceived?: boolean | undefined;
|
|
1415
|
+
expireAt?: Date | undefined;
|
|
1416
|
+
userId?: string | undefined;
|
|
1417
|
+
phone?: string | undefined;
|
|
1259
1418
|
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;
|
|
1419
|
+
notes?: string | undefined;
|
|
1420
|
+
classDate?: string | undefined;
|
|
1270
1421
|
editedBy?: string | undefined;
|
|
1271
1422
|
createdAt?: string | undefined;
|
|
1272
1423
|
updatedAt?: string | undefined;
|
|
1273
1424
|
}>;
|
|
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>;
|
|
1425
|
+
type BPrivateBooking = z.infer<typeof zBPrivateBooking>;
|
|
1426
|
+
type PrivateBooking = z.infer<typeof zPrivateBooking>;
|
|
1295
1427
|
|
|
1296
1428
|
declare enum PaymentMethod {
|
|
1297
1429
|
CASH = "Cash",
|
|
@@ -2365,15 +2497,15 @@ declare const zCourseTable: z.ZodObject<{
|
|
|
2365
2497
|
recommendedLevel: z.ZodString;
|
|
2366
2498
|
tuition: z.ZodString;
|
|
2367
2499
|
}, "strip", z.ZodTypeAny, {
|
|
2368
|
-
tuition: string;
|
|
2369
2500
|
name: string;
|
|
2501
|
+
tuition: string;
|
|
2370
2502
|
duration: number;
|
|
2371
2503
|
id: string;
|
|
2372
2504
|
dateAndTime: string;
|
|
2373
2505
|
recommendedLevel: string;
|
|
2374
2506
|
}, {
|
|
2375
|
-
tuition: string;
|
|
2376
2507
|
name: string;
|
|
2508
|
+
tuition: string;
|
|
2377
2509
|
duration: number;
|
|
2378
2510
|
id: string;
|
|
2379
2511
|
dateAndTime: string;
|
|
@@ -3592,4 +3724,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
3592
3724
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
3593
3725
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
3594
3726
|
|
|
3595
|
-
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 };
|
|
3727
|
+
export { AgeGroup, AttendState, type Attendance, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ReportTicketResponse, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|