@lcas58/esmi-api-types 1.0.6 → 1.0.8

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.
Files changed (43) hide show
  1. package/dist/src/app.d.ts +0 -1156
  2. package/dist/src/app.js +0 -1
  3. package/dist/src/routes/events/events.handlers.d.ts +20 -0
  4. package/dist/src/routes/events/events.handlers.js +177 -0
  5. package/dist/src/routes/events/events.index.d.ts +501 -0
  6. package/dist/src/routes/events/events.index.js +9 -0
  7. package/dist/src/routes/events/events.routes.d.ts +1375 -0
  8. package/dist/src/routes/events/events.routes.js +72 -0
  9. package/dist/src/routes/events/schemas/event.schemas.d.ts +896 -0
  10. package/dist/src/routes/events/schemas/event.schemas.js +49 -0
  11. package/dist/src/routes/events/schemas/index.d.ts +1 -0
  12. package/dist/src/routes/events/schemas/index.js +1 -0
  13. package/dist/src/routes/index.route.d.ts +13 -0
  14. package/dist/src/routes/index.route.js +19 -0
  15. package/dist/src/routes/leagues/leagues.handlers.d.ts +3 -0
  16. package/dist/src/routes/leagues/leagues.handlers.js +49 -0
  17. package/dist/src/routes/leagues/leagues.index.d.ts +53 -0
  18. package/dist/src/routes/leagues/leagues.index.js +6 -0
  19. package/dist/src/routes/leagues/leagues.routes.d.ts +137 -0
  20. package/dist/src/routes/leagues/leagues.routes.js +47 -0
  21. package/dist/src/routes/marketing/marketing.handlers.d.ts +4 -0
  22. package/dist/src/routes/marketing/marketing.handlers.js +20 -0
  23. package/dist/src/routes/marketing/marketing.index.d.ts +58 -0
  24. package/dist/src/routes/marketing/marketing.index.js +7 -0
  25. package/dist/src/routes/marketing/marketing.routes.d.ts +154 -0
  26. package/dist/src/routes/marketing/marketing.routes.js +27 -0
  27. package/dist/src/routes/organizations/organizations.handlers.d.ts +74 -0
  28. package/dist/src/routes/organizations/organizations.handlers.js +485 -0
  29. package/dist/src/routes/organizations/organizations.index.d.ts +517 -0
  30. package/dist/src/routes/organizations/organizations.index.js +12 -0
  31. package/dist/src/routes/organizations/organizations.routes.d.ts +1236 -0
  32. package/dist/src/routes/organizations/organizations.routes.js +137 -0
  33. package/dist/src/routes/organizations/tasks.test.d.ts +0 -0
  34. package/dist/src/routes/organizations/tasks.test.js +181 -0
  35. package/dist/src/routes/tags/tags.handlers.d.ts +3 -0
  36. package/dist/src/routes/tags/tags.handlers.js +15 -0
  37. package/dist/src/routes/tags/tags.index.d.ts +24 -0
  38. package/dist/src/routes/tags/tags.index.js +6 -0
  39. package/dist/src/routes/tags/tags.routes.d.ts +68 -0
  40. package/dist/src/routes/tags/tags.routes.js +25 -0
  41. package/dist/src/shared/client-types.d.ts +8 -3
  42. package/dist/src/shared/client-types.js +1 -1
  43. package/package.json +2 -2
@@ -0,0 +1,896 @@
1
+ import { z } from "zod";
2
+ export declare const createEventSchema: z.ZodEffects<z.ZodObject<{
3
+ name: z.ZodString;
4
+ description: z.ZodNullable<z.ZodString>;
5
+ location: z.ZodObject<{
6
+ id: z.ZodString;
7
+ name: z.ZodString;
8
+ provider: z.ZodString;
9
+ formattedAddress: z.ZodString;
10
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
17
+ id: string;
18
+ name: string;
19
+ provider: string;
20
+ formattedAddress: string;
21
+ city?: string | null | undefined;
22
+ state?: string | null | undefined;
23
+ country?: string | null | undefined;
24
+ postalCode?: string | null | undefined;
25
+ latitude?: string | null | undefined;
26
+ longitude?: string | null | undefined;
27
+ }, {
28
+ id: string;
29
+ name: string;
30
+ provider: string;
31
+ formattedAddress: string;
32
+ city?: string | null | undefined;
33
+ state?: string | null | undefined;
34
+ country?: string | null | undefined;
35
+ postalCode?: string | null | undefined;
36
+ latitude?: string | null | undefined;
37
+ longitude?: string | null | undefined;
38
+ }>;
39
+ type: z.ZodString;
40
+ organizationId: z.ZodString;
41
+ ageGroup: z.ZodString;
42
+ gender: z.ZodString;
43
+ }, "strip", z.ZodTypeAny, {
44
+ type: string;
45
+ description: string | null;
46
+ name: string;
47
+ location: {
48
+ id: string;
49
+ name: string;
50
+ provider: string;
51
+ formattedAddress: string;
52
+ city?: string | null | undefined;
53
+ state?: string | null | undefined;
54
+ country?: string | null | undefined;
55
+ postalCode?: string | null | undefined;
56
+ latitude?: string | null | undefined;
57
+ longitude?: string | null | undefined;
58
+ };
59
+ organizationId: string;
60
+ ageGroup: string;
61
+ gender: string;
62
+ }, {
63
+ type: string;
64
+ description: string | null;
65
+ name: string;
66
+ location: {
67
+ id: string;
68
+ name: string;
69
+ provider: string;
70
+ formattedAddress: string;
71
+ city?: string | null | undefined;
72
+ state?: string | null | undefined;
73
+ country?: string | null | undefined;
74
+ postalCode?: string | null | undefined;
75
+ latitude?: string | null | undefined;
76
+ longitude?: string | null | undefined;
77
+ };
78
+ organizationId: string;
79
+ ageGroup: string;
80
+ gender: string;
81
+ }>, {
82
+ type: string;
83
+ description: string | null;
84
+ name: string;
85
+ location: {
86
+ id: string;
87
+ name: string;
88
+ provider: string;
89
+ formattedAddress: string;
90
+ city?: string | null | undefined;
91
+ state?: string | null | undefined;
92
+ country?: string | null | undefined;
93
+ postalCode?: string | null | undefined;
94
+ latitude?: string | null | undefined;
95
+ longitude?: string | null | undefined;
96
+ };
97
+ organizationId: string;
98
+ ageGroup: string;
99
+ gender: string;
100
+ }, {
101
+ type: string;
102
+ description: string | null;
103
+ name: string;
104
+ location: {
105
+ id: string;
106
+ name: string;
107
+ provider: string;
108
+ formattedAddress: string;
109
+ city?: string | null | undefined;
110
+ state?: string | null | undefined;
111
+ country?: string | null | undefined;
112
+ postalCode?: string | null | undefined;
113
+ latitude?: string | null | undefined;
114
+ longitude?: string | null | undefined;
115
+ };
116
+ organizationId: string;
117
+ ageGroup: string;
118
+ gender: string;
119
+ }>;
120
+ export declare const patchEventSchema: z.ZodObject<{
121
+ name: z.ZodOptional<z.ZodString>;
122
+ description: z.ZodNullable<z.ZodString>;
123
+ location: z.ZodOptional<z.ZodObject<{
124
+ id: z.ZodString;
125
+ name: z.ZodString;
126
+ provider: z.ZodString;
127
+ formattedAddress: z.ZodString;
128
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
135
+ id: string;
136
+ name: string;
137
+ provider: string;
138
+ formattedAddress: string;
139
+ city?: string | null | undefined;
140
+ state?: string | null | undefined;
141
+ country?: string | null | undefined;
142
+ postalCode?: string | null | undefined;
143
+ latitude?: string | null | undefined;
144
+ longitude?: string | null | undefined;
145
+ }, {
146
+ id: string;
147
+ name: string;
148
+ provider: string;
149
+ formattedAddress: string;
150
+ city?: string | null | undefined;
151
+ state?: string | null | undefined;
152
+ country?: string | null | undefined;
153
+ postalCode?: string | null | undefined;
154
+ latitude?: string | null | undefined;
155
+ longitude?: string | null | undefined;
156
+ }>>;
157
+ type: z.ZodOptional<z.ZodString>;
158
+ organizationId: z.ZodOptional<z.ZodString>;
159
+ mode: z.ZodOptional<z.ZodString>;
160
+ ageGroup: z.ZodOptional<z.ZodString>;
161
+ gender: z.ZodString;
162
+ status: z.ZodOptional<z.ZodString>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ description: string | null;
165
+ gender: string;
166
+ status?: string | undefined;
167
+ type?: string | undefined;
168
+ name?: string | undefined;
169
+ location?: {
170
+ id: string;
171
+ name: string;
172
+ provider: string;
173
+ formattedAddress: string;
174
+ city?: string | null | undefined;
175
+ state?: string | null | undefined;
176
+ country?: string | null | undefined;
177
+ postalCode?: string | null | undefined;
178
+ latitude?: string | null | undefined;
179
+ longitude?: string | null | undefined;
180
+ } | undefined;
181
+ organizationId?: string | undefined;
182
+ mode?: string | undefined;
183
+ ageGroup?: string | undefined;
184
+ }, {
185
+ description: string | null;
186
+ gender: string;
187
+ status?: string | undefined;
188
+ type?: string | undefined;
189
+ name?: string | undefined;
190
+ location?: {
191
+ id: string;
192
+ name: string;
193
+ provider: string;
194
+ formattedAddress: string;
195
+ city?: string | null | undefined;
196
+ state?: string | null | undefined;
197
+ country?: string | null | undefined;
198
+ postalCode?: string | null | undefined;
199
+ latitude?: string | null | undefined;
200
+ longitude?: string | null | undefined;
201
+ } | undefined;
202
+ organizationId?: string | undefined;
203
+ mode?: string | undefined;
204
+ ageGroup?: string | undefined;
205
+ }>;
206
+ export declare const listEventsQuerySchema: z.ZodObject<{
207
+ status: z.ZodOptional<z.ZodString>;
208
+ type: z.ZodOptional<z.ZodString>;
209
+ organizationId: z.ZodOptional<z.ZodString>;
210
+ }, "strip", z.ZodTypeAny, {
211
+ status?: string | undefined;
212
+ type?: string | undefined;
213
+ organizationId?: string | undefined;
214
+ }, {
215
+ status?: string | undefined;
216
+ type?: string | undefined;
217
+ organizationId?: string | undefined;
218
+ }>;
219
+ export declare const eventWithRelationsSchema: z.ZodObject<z.objectUtil.extendShape<{
220
+ id: z.ZodString;
221
+ name: z.ZodString;
222
+ description: z.ZodNullable<z.ZodString>;
223
+ locationId: z.ZodNullable<z.ZodString>;
224
+ type: z.ZodString;
225
+ organizationId: z.ZodString;
226
+ creatorId: z.ZodNullable<z.ZodString>;
227
+ mode: z.ZodString;
228
+ ageGroup: z.ZodString;
229
+ gender: z.ZodString;
230
+ status: z.ZodString;
231
+ createdAt: z.ZodDate;
232
+ updatedAt: z.ZodDate;
233
+ }, {
234
+ creator: z.ZodNullable<z.ZodObject<{
235
+ id: z.ZodString;
236
+ name: z.ZodString;
237
+ email: z.ZodString;
238
+ emailVerified: z.ZodBoolean;
239
+ image: z.ZodNullable<z.ZodString>;
240
+ createdAt: z.ZodDate;
241
+ updatedAt: z.ZodDate;
242
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
243
+ image: string | null;
244
+ id: string;
245
+ name: string;
246
+ email: string;
247
+ emailVerified: boolean;
248
+ createdAt: Date;
249
+ updatedAt: Date;
250
+ }, {
251
+ image: string | null;
252
+ id: string;
253
+ name: string;
254
+ email: string;
255
+ emailVerified: boolean;
256
+ createdAt: Date;
257
+ updatedAt: Date;
258
+ }>>;
259
+ organization: z.ZodNullable<z.ZodObject<{
260
+ id: z.ZodString;
261
+ name: z.ZodString;
262
+ description: z.ZodString;
263
+ ownerId: z.ZodString;
264
+ slug: z.ZodString;
265
+ status: z.ZodString;
266
+ avatar: z.ZodNullable<z.ZodString>;
267
+ city: z.ZodNullable<z.ZodString>;
268
+ state: z.ZodNullable<z.ZodString>;
269
+ stateCd: z.ZodNullable<z.ZodString>;
270
+ country: z.ZodNullable<z.ZodString>;
271
+ createdAt: z.ZodNullable<z.ZodDate>;
272
+ updatedAt: z.ZodNullable<z.ZodDate>;
273
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
274
+ id: string;
275
+ status: string;
276
+ description: string;
277
+ name: string;
278
+ city: string | null;
279
+ state: string | null;
280
+ country: string | null;
281
+ createdAt: Date | null;
282
+ updatedAt: Date | null;
283
+ ownerId: string;
284
+ slug: string;
285
+ avatar: string | null;
286
+ stateCd: string | null;
287
+ }, {
288
+ id: string;
289
+ status: string;
290
+ description: string;
291
+ name: string;
292
+ city: string | null;
293
+ state: string | null;
294
+ country: string | null;
295
+ createdAt: Date | null;
296
+ updatedAt: Date | null;
297
+ ownerId: string;
298
+ slug: string;
299
+ avatar: string | null;
300
+ stateCd: string | null;
301
+ }>>;
302
+ location: z.ZodNullable<z.ZodObject<{
303
+ id: z.ZodString;
304
+ provider: z.ZodString;
305
+ name: z.ZodString;
306
+ formattedAddress: z.ZodString;
307
+ city: z.ZodNullable<z.ZodString>;
308
+ state: z.ZodNullable<z.ZodString>;
309
+ country: z.ZodNullable<z.ZodString>;
310
+ postalCode: z.ZodNullable<z.ZodString>;
311
+ latitude: z.ZodNullable<z.ZodString>;
312
+ longitude: z.ZodNullable<z.ZodString>;
313
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
314
+ id: string;
315
+ name: string;
316
+ provider: string;
317
+ formattedAddress: string;
318
+ city: string | null;
319
+ state: string | null;
320
+ country: string | null;
321
+ postalCode: string | null;
322
+ latitude: string | null;
323
+ longitude: string | null;
324
+ }, {
325
+ id: string;
326
+ name: string;
327
+ provider: string;
328
+ formattedAddress: string;
329
+ city: string | null;
330
+ state: string | null;
331
+ country: string | null;
332
+ postalCode: string | null;
333
+ latitude: string | null;
334
+ longitude: string | null;
335
+ }>>;
336
+ }>, z.UnknownKeysParam, z.ZodTypeAny, {
337
+ id: string;
338
+ status: string;
339
+ type: string;
340
+ description: string | null;
341
+ name: string;
342
+ location: {
343
+ id: string;
344
+ name: string;
345
+ provider: string;
346
+ formattedAddress: string;
347
+ city: string | null;
348
+ state: string | null;
349
+ country: string | null;
350
+ postalCode: string | null;
351
+ latitude: string | null;
352
+ longitude: string | null;
353
+ } | null;
354
+ locationId: string | null;
355
+ organizationId: string;
356
+ organization: {
357
+ id: string;
358
+ status: string;
359
+ description: string;
360
+ name: string;
361
+ city: string | null;
362
+ state: string | null;
363
+ country: string | null;
364
+ createdAt: Date | null;
365
+ updatedAt: Date | null;
366
+ ownerId: string;
367
+ slug: string;
368
+ avatar: string | null;
369
+ stateCd: string | null;
370
+ } | null;
371
+ mode: string;
372
+ createdAt: Date;
373
+ updatedAt: Date;
374
+ creatorId: string | null;
375
+ ageGroup: string;
376
+ gender: string;
377
+ creator: {
378
+ image: string | null;
379
+ id: string;
380
+ name: string;
381
+ email: string;
382
+ emailVerified: boolean;
383
+ createdAt: Date;
384
+ updatedAt: Date;
385
+ } | null;
386
+ }, {
387
+ id: string;
388
+ status: string;
389
+ type: string;
390
+ description: string | null;
391
+ name: string;
392
+ location: {
393
+ id: string;
394
+ name: string;
395
+ provider: string;
396
+ formattedAddress: string;
397
+ city: string | null;
398
+ state: string | null;
399
+ country: string | null;
400
+ postalCode: string | null;
401
+ latitude: string | null;
402
+ longitude: string | null;
403
+ } | null;
404
+ locationId: string | null;
405
+ organizationId: string;
406
+ organization: {
407
+ id: string;
408
+ status: string;
409
+ description: string;
410
+ name: string;
411
+ city: string | null;
412
+ state: string | null;
413
+ country: string | null;
414
+ createdAt: Date | null;
415
+ updatedAt: Date | null;
416
+ ownerId: string;
417
+ slug: string;
418
+ avatar: string | null;
419
+ stateCd: string | null;
420
+ } | null;
421
+ mode: string;
422
+ createdAt: Date;
423
+ updatedAt: Date;
424
+ creatorId: string | null;
425
+ ageGroup: string;
426
+ gender: string;
427
+ creator: {
428
+ image: string | null;
429
+ id: string;
430
+ name: string;
431
+ email: string;
432
+ emailVerified: boolean;
433
+ createdAt: Date;
434
+ updatedAt: Date;
435
+ } | null;
436
+ }>;
437
+ export declare const eventResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
438
+ id: z.ZodString;
439
+ name: z.ZodString;
440
+ description: z.ZodNullable<z.ZodString>;
441
+ locationId: z.ZodNullable<z.ZodString>;
442
+ type: z.ZodString;
443
+ organizationId: z.ZodString;
444
+ creatorId: z.ZodNullable<z.ZodString>;
445
+ mode: z.ZodString;
446
+ ageGroup: z.ZodString;
447
+ gender: z.ZodString;
448
+ status: z.ZodString;
449
+ createdAt: z.ZodDate;
450
+ updatedAt: z.ZodDate;
451
+ }, {
452
+ creator: z.ZodNullable<z.ZodObject<{
453
+ id: z.ZodString;
454
+ name: z.ZodString;
455
+ email: z.ZodString;
456
+ emailVerified: z.ZodBoolean;
457
+ image: z.ZodNullable<z.ZodString>;
458
+ createdAt: z.ZodDate;
459
+ updatedAt: z.ZodDate;
460
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
461
+ image: string | null;
462
+ id: string;
463
+ name: string;
464
+ email: string;
465
+ emailVerified: boolean;
466
+ createdAt: Date;
467
+ updatedAt: Date;
468
+ }, {
469
+ image: string | null;
470
+ id: string;
471
+ name: string;
472
+ email: string;
473
+ emailVerified: boolean;
474
+ createdAt: Date;
475
+ updatedAt: Date;
476
+ }>>;
477
+ organization: z.ZodNullable<z.ZodObject<{
478
+ id: z.ZodString;
479
+ name: z.ZodString;
480
+ description: z.ZodString;
481
+ ownerId: z.ZodString;
482
+ slug: z.ZodString;
483
+ status: z.ZodString;
484
+ avatar: z.ZodNullable<z.ZodString>;
485
+ city: z.ZodNullable<z.ZodString>;
486
+ state: z.ZodNullable<z.ZodString>;
487
+ stateCd: z.ZodNullable<z.ZodString>;
488
+ country: z.ZodNullable<z.ZodString>;
489
+ createdAt: z.ZodNullable<z.ZodDate>;
490
+ updatedAt: z.ZodNullable<z.ZodDate>;
491
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
492
+ id: string;
493
+ status: string;
494
+ description: string;
495
+ name: string;
496
+ city: string | null;
497
+ state: string | null;
498
+ country: string | null;
499
+ createdAt: Date | null;
500
+ updatedAt: Date | null;
501
+ ownerId: string;
502
+ slug: string;
503
+ avatar: string | null;
504
+ stateCd: string | null;
505
+ }, {
506
+ id: string;
507
+ status: string;
508
+ description: string;
509
+ name: string;
510
+ city: string | null;
511
+ state: string | null;
512
+ country: string | null;
513
+ createdAt: Date | null;
514
+ updatedAt: Date | null;
515
+ ownerId: string;
516
+ slug: string;
517
+ avatar: string | null;
518
+ stateCd: string | null;
519
+ }>>;
520
+ location: z.ZodNullable<z.ZodObject<{
521
+ id: z.ZodString;
522
+ provider: z.ZodString;
523
+ name: z.ZodString;
524
+ formattedAddress: z.ZodString;
525
+ city: z.ZodNullable<z.ZodString>;
526
+ state: z.ZodNullable<z.ZodString>;
527
+ country: z.ZodNullable<z.ZodString>;
528
+ postalCode: z.ZodNullable<z.ZodString>;
529
+ latitude: z.ZodNullable<z.ZodString>;
530
+ longitude: z.ZodNullable<z.ZodString>;
531
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
532
+ id: string;
533
+ name: string;
534
+ provider: string;
535
+ formattedAddress: string;
536
+ city: string | null;
537
+ state: string | null;
538
+ country: string | null;
539
+ postalCode: string | null;
540
+ latitude: string | null;
541
+ longitude: string | null;
542
+ }, {
543
+ id: string;
544
+ name: string;
545
+ provider: string;
546
+ formattedAddress: string;
547
+ city: string | null;
548
+ state: string | null;
549
+ country: string | null;
550
+ postalCode: string | null;
551
+ latitude: string | null;
552
+ longitude: string | null;
553
+ }>>;
554
+ }>, z.UnknownKeysParam, z.ZodTypeAny, {
555
+ id: string;
556
+ status: string;
557
+ type: string;
558
+ description: string | null;
559
+ name: string;
560
+ location: {
561
+ id: string;
562
+ name: string;
563
+ provider: string;
564
+ formattedAddress: string;
565
+ city: string | null;
566
+ state: string | null;
567
+ country: string | null;
568
+ postalCode: string | null;
569
+ latitude: string | null;
570
+ longitude: string | null;
571
+ } | null;
572
+ locationId: string | null;
573
+ organizationId: string;
574
+ organization: {
575
+ id: string;
576
+ status: string;
577
+ description: string;
578
+ name: string;
579
+ city: string | null;
580
+ state: string | null;
581
+ country: string | null;
582
+ createdAt: Date | null;
583
+ updatedAt: Date | null;
584
+ ownerId: string;
585
+ slug: string;
586
+ avatar: string | null;
587
+ stateCd: string | null;
588
+ } | null;
589
+ mode: string;
590
+ createdAt: Date;
591
+ updatedAt: Date;
592
+ creatorId: string | null;
593
+ ageGroup: string;
594
+ gender: string;
595
+ creator: {
596
+ image: string | null;
597
+ id: string;
598
+ name: string;
599
+ email: string;
600
+ emailVerified: boolean;
601
+ createdAt: Date;
602
+ updatedAt: Date;
603
+ } | null;
604
+ }, {
605
+ id: string;
606
+ status: string;
607
+ type: string;
608
+ description: string | null;
609
+ name: string;
610
+ location: {
611
+ id: string;
612
+ name: string;
613
+ provider: string;
614
+ formattedAddress: string;
615
+ city: string | null;
616
+ state: string | null;
617
+ country: string | null;
618
+ postalCode: string | null;
619
+ latitude: string | null;
620
+ longitude: string | null;
621
+ } | null;
622
+ locationId: string | null;
623
+ organizationId: string;
624
+ organization: {
625
+ id: string;
626
+ status: string;
627
+ description: string;
628
+ name: string;
629
+ city: string | null;
630
+ state: string | null;
631
+ country: string | null;
632
+ createdAt: Date | null;
633
+ updatedAt: Date | null;
634
+ ownerId: string;
635
+ slug: string;
636
+ avatar: string | null;
637
+ stateCd: string | null;
638
+ } | null;
639
+ mode: string;
640
+ createdAt: Date;
641
+ updatedAt: Date;
642
+ creatorId: string | null;
643
+ ageGroup: string;
644
+ gender: string;
645
+ creator: {
646
+ image: string | null;
647
+ id: string;
648
+ name: string;
649
+ email: string;
650
+ emailVerified: boolean;
651
+ createdAt: Date;
652
+ updatedAt: Date;
653
+ } | null;
654
+ }>;
655
+ export declare const eventsListResponseSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
656
+ id: z.ZodString;
657
+ name: z.ZodString;
658
+ description: z.ZodNullable<z.ZodString>;
659
+ locationId: z.ZodNullable<z.ZodString>;
660
+ type: z.ZodString;
661
+ organizationId: z.ZodString;
662
+ creatorId: z.ZodNullable<z.ZodString>;
663
+ mode: z.ZodString;
664
+ ageGroup: z.ZodString;
665
+ gender: z.ZodString;
666
+ status: z.ZodString;
667
+ createdAt: z.ZodDate;
668
+ updatedAt: z.ZodDate;
669
+ }, {
670
+ creator: z.ZodNullable<z.ZodObject<{
671
+ id: z.ZodString;
672
+ name: z.ZodString;
673
+ email: z.ZodString;
674
+ emailVerified: z.ZodBoolean;
675
+ image: z.ZodNullable<z.ZodString>;
676
+ createdAt: z.ZodDate;
677
+ updatedAt: z.ZodDate;
678
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
679
+ image: string | null;
680
+ id: string;
681
+ name: string;
682
+ email: string;
683
+ emailVerified: boolean;
684
+ createdAt: Date;
685
+ updatedAt: Date;
686
+ }, {
687
+ image: string | null;
688
+ id: string;
689
+ name: string;
690
+ email: string;
691
+ emailVerified: boolean;
692
+ createdAt: Date;
693
+ updatedAt: Date;
694
+ }>>;
695
+ organization: z.ZodNullable<z.ZodObject<{
696
+ id: z.ZodString;
697
+ name: z.ZodString;
698
+ description: z.ZodString;
699
+ ownerId: z.ZodString;
700
+ slug: z.ZodString;
701
+ status: z.ZodString;
702
+ avatar: z.ZodNullable<z.ZodString>;
703
+ city: z.ZodNullable<z.ZodString>;
704
+ state: z.ZodNullable<z.ZodString>;
705
+ stateCd: z.ZodNullable<z.ZodString>;
706
+ country: z.ZodNullable<z.ZodString>;
707
+ createdAt: z.ZodNullable<z.ZodDate>;
708
+ updatedAt: z.ZodNullable<z.ZodDate>;
709
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
710
+ id: string;
711
+ status: string;
712
+ description: string;
713
+ name: string;
714
+ city: string | null;
715
+ state: string | null;
716
+ country: string | null;
717
+ createdAt: Date | null;
718
+ updatedAt: Date | null;
719
+ ownerId: string;
720
+ slug: string;
721
+ avatar: string | null;
722
+ stateCd: string | null;
723
+ }, {
724
+ id: string;
725
+ status: string;
726
+ description: string;
727
+ name: string;
728
+ city: string | null;
729
+ state: string | null;
730
+ country: string | null;
731
+ createdAt: Date | null;
732
+ updatedAt: Date | null;
733
+ ownerId: string;
734
+ slug: string;
735
+ avatar: string | null;
736
+ stateCd: string | null;
737
+ }>>;
738
+ location: z.ZodNullable<z.ZodObject<{
739
+ id: z.ZodString;
740
+ provider: z.ZodString;
741
+ name: z.ZodString;
742
+ formattedAddress: z.ZodString;
743
+ city: z.ZodNullable<z.ZodString>;
744
+ state: z.ZodNullable<z.ZodString>;
745
+ country: z.ZodNullable<z.ZodString>;
746
+ postalCode: z.ZodNullable<z.ZodString>;
747
+ latitude: z.ZodNullable<z.ZodString>;
748
+ longitude: z.ZodNullable<z.ZodString>;
749
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
750
+ id: string;
751
+ name: string;
752
+ provider: string;
753
+ formattedAddress: string;
754
+ city: string | null;
755
+ state: string | null;
756
+ country: string | null;
757
+ postalCode: string | null;
758
+ latitude: string | null;
759
+ longitude: string | null;
760
+ }, {
761
+ id: string;
762
+ name: string;
763
+ provider: string;
764
+ formattedAddress: string;
765
+ city: string | null;
766
+ state: string | null;
767
+ country: string | null;
768
+ postalCode: string | null;
769
+ latitude: string | null;
770
+ longitude: string | null;
771
+ }>>;
772
+ }>, z.UnknownKeysParam, z.ZodTypeAny, {
773
+ id: string;
774
+ status: string;
775
+ type: string;
776
+ description: string | null;
777
+ name: string;
778
+ location: {
779
+ id: string;
780
+ name: string;
781
+ provider: string;
782
+ formattedAddress: string;
783
+ city: string | null;
784
+ state: string | null;
785
+ country: string | null;
786
+ postalCode: string | null;
787
+ latitude: string | null;
788
+ longitude: string | null;
789
+ } | null;
790
+ locationId: string | null;
791
+ organizationId: string;
792
+ organization: {
793
+ id: string;
794
+ status: string;
795
+ description: string;
796
+ name: string;
797
+ city: string | null;
798
+ state: string | null;
799
+ country: string | null;
800
+ createdAt: Date | null;
801
+ updatedAt: Date | null;
802
+ ownerId: string;
803
+ slug: string;
804
+ avatar: string | null;
805
+ stateCd: string | null;
806
+ } | null;
807
+ mode: string;
808
+ createdAt: Date;
809
+ updatedAt: Date;
810
+ creatorId: string | null;
811
+ ageGroup: string;
812
+ gender: string;
813
+ creator: {
814
+ image: string | null;
815
+ id: string;
816
+ name: string;
817
+ email: string;
818
+ emailVerified: boolean;
819
+ createdAt: Date;
820
+ updatedAt: Date;
821
+ } | null;
822
+ }, {
823
+ id: string;
824
+ status: string;
825
+ type: string;
826
+ description: string | null;
827
+ name: string;
828
+ location: {
829
+ id: string;
830
+ name: string;
831
+ provider: string;
832
+ formattedAddress: string;
833
+ city: string | null;
834
+ state: string | null;
835
+ country: string | null;
836
+ postalCode: string | null;
837
+ latitude: string | null;
838
+ longitude: string | null;
839
+ } | null;
840
+ locationId: string | null;
841
+ organizationId: string;
842
+ organization: {
843
+ id: string;
844
+ status: string;
845
+ description: string;
846
+ name: string;
847
+ city: string | null;
848
+ state: string | null;
849
+ country: string | null;
850
+ createdAt: Date | null;
851
+ updatedAt: Date | null;
852
+ ownerId: string;
853
+ slug: string;
854
+ avatar: string | null;
855
+ stateCd: string | null;
856
+ } | null;
857
+ mode: string;
858
+ createdAt: Date;
859
+ updatedAt: Date;
860
+ creatorId: string | null;
861
+ ageGroup: string;
862
+ gender: string;
863
+ creator: {
864
+ image: string | null;
865
+ id: string;
866
+ name: string;
867
+ email: string;
868
+ emailVerified: boolean;
869
+ createdAt: Date;
870
+ updatedAt: Date;
871
+ } | null;
872
+ }>, "many">;
873
+ export declare const countStatsResponseSchema: z.ZodObject<{
874
+ total: z.ZodNumber;
875
+ thisMonth: z.ZodNumber;
876
+ upcoming: z.ZodNumber;
877
+ inProgress: z.ZodNumber;
878
+ completed: z.ZodNumber;
879
+ }, "strip", z.ZodTypeAny, {
880
+ total: number;
881
+ thisMonth: number;
882
+ upcoming: number;
883
+ inProgress: number;
884
+ completed: number;
885
+ }, {
886
+ total: number;
887
+ thisMonth: number;
888
+ upcoming: number;
889
+ inProgress: number;
890
+ completed: number;
891
+ }>;
892
+ export type CreateEventInput = z.infer<typeof createEventSchema>;
893
+ export type PatchEventInput = z.infer<typeof patchEventSchema>;
894
+ export type ListEventsQuery = z.infer<typeof listEventsQuerySchema>;
895
+ export type EventResponse = z.infer<typeof eventResponseSchema>;
896
+ export type EventsListResponse = z.infer<typeof eventsListResponseSchema>;