@lcas58/esmi-api-types 1.0.28 → 1.0.29

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.
@@ -4,10 +4,10 @@ declare const router: import("@hono/zod-openapi").OpenAPIHono<import("../../shar
4
4
  input: {
5
5
  query: {
6
6
  search?: string | string[] | undefined;
7
+ sportId?: string | string[] | undefined;
7
8
  city?: string | string[] | undefined;
8
9
  state?: string | string[] | undefined;
9
- sportId?: string | string[] | undefined;
10
- source?: string | string[] | undefined;
10
+ platform?: string | string[] | undefined;
11
11
  limit?: string | string[] | undefined;
12
12
  offset?: string | string[] | undefined;
13
13
  };
@@ -16,24 +16,23 @@ declare const router: import("@hono/zod-openapi").OpenAPIHono<import("../../shar
16
16
  id: string;
17
17
  description: string | null;
18
18
  name: string;
19
- city: string | null;
20
- state: string | null;
21
- sportId: string;
22
19
  createdAt: string;
23
20
  sport: {
24
21
  id: string;
25
22
  name: string;
26
23
  icon: string | null;
27
24
  } | null;
25
+ sportId: string;
26
+ city: string | null;
27
+ state: string | null;
28
28
  country: string;
29
- source: "external" | "internal";
30
29
  slug: string;
31
- isActive: boolean;
32
- sourceOrgId: string | null;
30
+ platform: string | null;
33
31
  externalUrl: string | null;
34
32
  updatedAt: string;
35
33
  createdByUserId: string | null;
36
34
  imageUrl: string | null;
35
+ isActive: boolean;
37
36
  creator: {
38
37
  image: string | null;
39
38
  id: string;
@@ -70,24 +69,23 @@ declare const router: import("@hono/zod-openapi").OpenAPIHono<import("../../shar
70
69
  id: string;
71
70
  description: string | null;
72
71
  name: string;
73
- city: string | null;
74
- state: string | null;
75
- sportId: string;
76
72
  createdAt: string;
77
73
  sport: {
78
74
  id: string;
79
75
  name: string;
80
76
  icon: string | null;
81
77
  } | null;
78
+ sportId: string;
79
+ city: string | null;
80
+ state: string | null;
82
81
  country: string;
83
- source: "external" | "internal";
84
82
  slug: string;
85
- isActive: boolean;
86
- sourceOrgId: string | null;
83
+ platform: string | null;
87
84
  externalUrl: string | null;
88
85
  updatedAt: string;
89
86
  createdByUserId: string | null;
90
87
  imageUrl: string | null;
88
+ isActive: boolean;
91
89
  creator: {
92
90
  image: string | null;
93
91
  id: string;
@@ -119,23 +117,24 @@ declare const router: import("@hono/zod-openapi").OpenAPIHono<import("../../shar
119
117
  output: {
120
118
  metadata: any;
121
119
  id: string;
120
+ description: string | null;
122
121
  title: string;
123
- sportId: string;
124
122
  createdAt: string;
125
123
  sport: {
126
124
  id: string;
127
125
  name: string;
128
126
  icon: string | null;
129
127
  } | null;
128
+ sportId: string;
130
129
  startsAt: string;
131
130
  endsAt: string | null;
132
131
  timezone: string;
133
132
  location: {
134
133
  id: string;
135
134
  name: string;
135
+ formattedAddress: string;
136
136
  city: string | null;
137
137
  state: string | null;
138
- formattedAddress: string;
139
138
  latitude: number | null;
140
139
  longitude: number | null;
141
140
  } | null;
@@ -213,24 +212,23 @@ declare const router: import("@hono/zod-openapi").OpenAPIHono<import("../../shar
213
212
  id: string;
214
213
  description: string | null;
215
214
  name: string;
216
- city: string | null;
217
- state: string | null;
218
- sportId: string;
219
215
  createdAt: string;
220
216
  sport: {
221
217
  id: string;
222
218
  name: string;
223
219
  icon: string | null;
224
220
  } | null;
221
+ sportId: string;
222
+ city: string | null;
223
+ state: string | null;
225
224
  country: string;
226
- source: "external" | "internal";
227
225
  slug: string;
228
- isActive: boolean;
229
- sourceOrgId: string | null;
226
+ platform: string | null;
230
227
  externalUrl: string | null;
231
228
  updatedAt: string;
232
229
  createdByUserId: string | null;
233
230
  imageUrl: string | null;
231
+ isActive: boolean;
234
232
  creator: {
235
233
  image: string | null;
236
234
  id: string;
@@ -302,24 +300,23 @@ declare const router: import("@hono/zod-openapi").OpenAPIHono<import("../../shar
302
300
  id: string;
303
301
  description: string | null;
304
302
  name: string;
305
- city: string | null;
306
- state: string | null;
307
- sportId: string;
308
303
  createdAt: string;
309
304
  sport: {
310
305
  id: string;
311
306
  name: string;
312
307
  icon: string | null;
313
308
  } | null;
309
+ sportId: string;
310
+ city: string | null;
311
+ state: string | null;
314
312
  country: string;
315
- source: "external" | "internal";
316
313
  slug: string;
317
- isActive: boolean;
318
- sourceOrgId: string | null;
314
+ platform: string | null;
319
315
  externalUrl: string | null;
320
316
  updatedAt: string;
321
317
  createdByUserId: string | null;
322
318
  imageUrl: string | null;
319
+ isActive: boolean;
323
320
  creator: {
324
321
  image: string | null;
325
322
  id: string;
@@ -8,7 +8,7 @@ export declare const list: {
8
8
  sportId: z.ZodOptional<z.ZodString>;
9
9
  city: z.ZodOptional<z.ZodString>;
10
10
  state: z.ZodOptional<z.ZodString>;
11
- source: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
11
+ platform: z.ZodOptional<z.ZodString>;
12
12
  search: z.ZodOptional<z.ZodString>;
13
13
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
14
14
  offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -16,16 +16,16 @@ export declare const list: {
16
16
  limit: number;
17
17
  offset: number;
18
18
  search?: string | undefined;
19
+ sportId?: string | undefined;
19
20
  city?: string | undefined;
20
21
  state?: string | undefined;
21
- sportId?: string | undefined;
22
- source?: "external" | "internal" | undefined;
22
+ platform?: string | undefined;
23
23
  }, {
24
24
  search?: string | undefined;
25
+ sportId?: string | undefined;
25
26
  city?: string | undefined;
26
27
  state?: string | undefined;
27
- sportId?: string | undefined;
28
- source?: "external" | "internal" | undefined;
28
+ platform?: string | undefined;
29
29
  limit?: number | undefined;
30
30
  offset?: number | undefined;
31
31
  }>;
@@ -39,12 +39,11 @@ export declare const list: {
39
39
  name: z.ZodString;
40
40
  slug: z.ZodString;
41
41
  description: z.ZodNullable<z.ZodString>;
42
- source: z.ZodEnum<["internal", "external"]>;
42
+ platform: z.ZodNullable<z.ZodString>;
43
43
  city: z.ZodNullable<z.ZodString>;
44
44
  state: z.ZodNullable<z.ZodString>;
45
45
  country: z.ZodString;
46
46
  sportId: z.ZodString;
47
- sourceOrgId: z.ZodNullable<z.ZodString>;
48
47
  externalUrl: z.ZodNullable<z.ZodString>;
49
48
  createdByUserId: z.ZodNullable<z.ZodString>;
50
49
  imageUrl: z.ZodNullable<z.ZodString>;
@@ -89,24 +88,23 @@ export declare const list: {
89
88
  id: string;
90
89
  description: string | null;
91
90
  name: string;
92
- city: string | null;
93
- state: string | null;
94
- sportId: string;
95
91
  createdAt: Date;
96
92
  sport: {
97
93
  id: string;
98
94
  name: string;
99
95
  icon: string | null;
100
96
  } | null;
97
+ sportId: string;
98
+ city: string | null;
99
+ state: string | null;
101
100
  country: string;
102
- source: "external" | "internal";
103
101
  slug: string;
104
- isActive: boolean;
105
- sourceOrgId: string | null;
102
+ platform: string | null;
106
103
  externalUrl: string | null;
107
104
  updatedAt: Date;
108
105
  createdByUserId: string | null;
109
106
  imageUrl: string | null;
107
+ isActive: boolean;
110
108
  creator: {
111
109
  image: string | null;
112
110
  id: string;
@@ -119,24 +117,23 @@ export declare const list: {
119
117
  id: string;
120
118
  description: string | null;
121
119
  name: string;
122
- city: string | null;
123
- state: string | null;
124
- sportId: string;
125
120
  createdAt: Date;
126
121
  sport: {
127
122
  id: string;
128
123
  name: string;
129
124
  icon: string | null;
130
125
  } | null;
126
+ sportId: string;
127
+ city: string | null;
128
+ state: string | null;
131
129
  country: string;
132
- source: "external" | "internal";
133
130
  slug: string;
134
- isActive: boolean;
135
- sourceOrgId: string | null;
131
+ platform: string | null;
136
132
  externalUrl: string | null;
137
133
  updatedAt: Date;
138
134
  createdByUserId: string | null;
139
135
  imageUrl: string | null;
136
+ isActive: boolean;
140
137
  creator: {
141
138
  image: string | null;
142
139
  id: string;
@@ -176,12 +173,11 @@ export declare const getOne: {
176
173
  name: z.ZodString;
177
174
  slug: z.ZodString;
178
175
  description: z.ZodNullable<z.ZodString>;
179
- source: z.ZodEnum<["internal", "external"]>;
176
+ platform: z.ZodNullable<z.ZodString>;
180
177
  city: z.ZodNullable<z.ZodString>;
181
178
  state: z.ZodNullable<z.ZodString>;
182
179
  country: z.ZodString;
183
180
  sportId: z.ZodString;
184
- sourceOrgId: z.ZodNullable<z.ZodString>;
185
181
  externalUrl: z.ZodNullable<z.ZodString>;
186
182
  createdByUserId: z.ZodNullable<z.ZodString>;
187
183
  imageUrl: z.ZodNullable<z.ZodString>;
@@ -226,24 +222,23 @@ export declare const getOne: {
226
222
  id: string;
227
223
  description: string | null;
228
224
  name: string;
229
- city: string | null;
230
- state: string | null;
231
- sportId: string;
232
225
  createdAt: Date;
233
226
  sport: {
234
227
  id: string;
235
228
  name: string;
236
229
  icon: string | null;
237
230
  } | null;
231
+ sportId: string;
232
+ city: string | null;
233
+ state: string | null;
238
234
  country: string;
239
- source: "external" | "internal";
240
235
  slug: string;
241
- isActive: boolean;
242
- sourceOrgId: string | null;
236
+ platform: string | null;
243
237
  externalUrl: string | null;
244
238
  updatedAt: Date;
245
239
  createdByUserId: string | null;
246
240
  imageUrl: string | null;
241
+ isActive: boolean;
247
242
  creator: {
248
243
  image: string | null;
249
244
  id: string;
@@ -256,24 +251,23 @@ export declare const getOne: {
256
251
  id: string;
257
252
  description: string | null;
258
253
  name: string;
259
- city: string | null;
260
- state: string | null;
261
- sportId: string;
262
254
  createdAt: Date;
263
255
  sport: {
264
256
  id: string;
265
257
  name: string;
266
258
  icon: string | null;
267
259
  } | null;
260
+ sportId: string;
261
+ city: string | null;
262
+ state: string | null;
268
263
  country: string;
269
- source: "external" | "internal";
270
264
  slug: string;
271
- isActive: boolean;
272
- sourceOrgId: string | null;
265
+ platform: string | null;
273
266
  externalUrl: string | null;
274
267
  updatedAt: Date;
275
268
  createdByUserId: string | null;
276
269
  imageUrl: string | null;
270
+ isActive: boolean;
277
271
  creator: {
278
272
  image: string | null;
279
273
  id: string;
@@ -401,6 +395,7 @@ export declare const getEvents: {
401
395
  groupId: z.ZodNullable<z.ZodString>;
402
396
  createdByUserId: z.ZodNullable<z.ZodString>;
403
397
  createdAt: z.ZodDate;
398
+ description: z.ZodNullable<z.ZodString>;
404
399
  }, {
405
400
  sport: z.ZodNullable<z.ZodObject<{
406
401
  id: z.ZodString;
@@ -426,17 +421,17 @@ export declare const getEvents: {
426
421
  }, "strip", z.ZodTypeAny, {
427
422
  id: string;
428
423
  name: string;
424
+ formattedAddress: string;
429
425
  city: string | null;
430
426
  state: string | null;
431
- formattedAddress: string;
432
427
  latitude: number | null;
433
428
  longitude: number | null;
434
429
  }, {
435
430
  id: string;
436
431
  name: string;
432
+ formattedAddress: string;
437
433
  city: string | null;
438
434
  state: string | null;
439
- formattedAddress: string;
440
435
  latitude: number | null;
441
436
  longitude: number | null;
442
437
  }>>;
@@ -493,23 +488,24 @@ export declare const getEvents: {
493
488
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
494
489
  } | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
495
490
  id: string;
491
+ description: string | null;
496
492
  title: string;
497
- sportId: string;
498
493
  createdAt: Date;
499
494
  sport: {
500
495
  id: string;
501
496
  name: string;
502
497
  icon: string | null;
503
498
  } | null;
499
+ sportId: string;
504
500
  startsAt: Date;
505
501
  endsAt: Date | null;
506
502
  timezone: string;
507
503
  location: {
508
504
  id: string;
509
505
  name: string;
506
+ formattedAddress: string;
510
507
  city: string | null;
511
508
  state: string | null;
512
- formattedAddress: string;
513
509
  latitude: number | null;
514
510
  longitude: number | null;
515
511
  } | null;
@@ -556,23 +552,24 @@ export declare const getEvents: {
556
552
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
557
553
  } | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
558
554
  id: string;
555
+ description: string | null;
559
556
  title: string;
560
- sportId: string;
561
557
  createdAt: Date;
562
558
  sport: {
563
559
  id: string;
564
560
  name: string;
565
561
  icon: string | null;
566
562
  } | null;
563
+ sportId: string;
567
564
  startsAt: Date;
568
565
  endsAt: Date | null;
569
566
  timezone: string;
570
567
  location: {
571
568
  id: string;
572
569
  name: string;
570
+ formattedAddress: string;
573
571
  city: string | null;
574
572
  state: string | null;
575
- formattedAddress: string;
576
573
  latitude: number | null;
577
574
  longitude: number | null;
578
575
  } | null;
@@ -664,12 +661,11 @@ export declare const create: {
664
661
  name: z.ZodString;
665
662
  slug: z.ZodString;
666
663
  description: z.ZodNullable<z.ZodString>;
667
- source: z.ZodEnum<["internal", "external"]>;
664
+ platform: z.ZodNullable<z.ZodString>;
668
665
  city: z.ZodNullable<z.ZodString>;
669
666
  state: z.ZodNullable<z.ZodString>;
670
667
  country: z.ZodString;
671
668
  sportId: z.ZodString;
672
- sourceOrgId: z.ZodNullable<z.ZodString>;
673
669
  externalUrl: z.ZodNullable<z.ZodString>;
674
670
  createdByUserId: z.ZodNullable<z.ZodString>;
675
671
  imageUrl: z.ZodNullable<z.ZodString>;
@@ -714,24 +710,23 @@ export declare const create: {
714
710
  id: string;
715
711
  description: string | null;
716
712
  name: string;
717
- city: string | null;
718
- state: string | null;
719
- sportId: string;
720
713
  createdAt: Date;
721
714
  sport: {
722
715
  id: string;
723
716
  name: string;
724
717
  icon: string | null;
725
718
  } | null;
719
+ sportId: string;
720
+ city: string | null;
721
+ state: string | null;
726
722
  country: string;
727
- source: "external" | "internal";
728
723
  slug: string;
729
- isActive: boolean;
730
- sourceOrgId: string | null;
724
+ platform: string | null;
731
725
  externalUrl: string | null;
732
726
  updatedAt: Date;
733
727
  createdByUserId: string | null;
734
728
  imageUrl: string | null;
729
+ isActive: boolean;
735
730
  creator: {
736
731
  image: string | null;
737
732
  id: string;
@@ -744,24 +739,23 @@ export declare const create: {
744
739
  id: string;
745
740
  description: string | null;
746
741
  name: string;
747
- city: string | null;
748
- state: string | null;
749
- sportId: string;
750
742
  createdAt: Date;
751
743
  sport: {
752
744
  id: string;
753
745
  name: string;
754
746
  icon: string | null;
755
747
  } | null;
748
+ sportId: string;
749
+ city: string | null;
750
+ state: string | null;
756
751
  country: string;
757
- source: "external" | "internal";
758
752
  slug: string;
759
- isActive: boolean;
760
- sourceOrgId: string | null;
753
+ platform: string | null;
761
754
  externalUrl: string | null;
762
755
  updatedAt: Date;
763
756
  createdByUserId: string | null;
764
757
  imageUrl: string | null;
758
+ isActive: boolean;
765
759
  creator: {
766
760
  image: string | null;
767
761
  id: string;
@@ -855,12 +849,11 @@ export declare const update: {
855
849
  name: z.ZodString;
856
850
  slug: z.ZodString;
857
851
  description: z.ZodNullable<z.ZodString>;
858
- source: z.ZodEnum<["internal", "external"]>;
852
+ platform: z.ZodNullable<z.ZodString>;
859
853
  city: z.ZodNullable<z.ZodString>;
860
854
  state: z.ZodNullable<z.ZodString>;
861
855
  country: z.ZodString;
862
856
  sportId: z.ZodString;
863
- sourceOrgId: z.ZodNullable<z.ZodString>;
864
857
  externalUrl: z.ZodNullable<z.ZodString>;
865
858
  createdByUserId: z.ZodNullable<z.ZodString>;
866
859
  imageUrl: z.ZodNullable<z.ZodString>;
@@ -905,24 +898,23 @@ export declare const update: {
905
898
  id: string;
906
899
  description: string | null;
907
900
  name: string;
908
- city: string | null;
909
- state: string | null;
910
- sportId: string;
911
901
  createdAt: Date;
912
902
  sport: {
913
903
  id: string;
914
904
  name: string;
915
905
  icon: string | null;
916
906
  } | null;
907
+ sportId: string;
908
+ city: string | null;
909
+ state: string | null;
917
910
  country: string;
918
- source: "external" | "internal";
919
911
  slug: string;
920
- isActive: boolean;
921
- sourceOrgId: string | null;
912
+ platform: string | null;
922
913
  externalUrl: string | null;
923
914
  updatedAt: Date;
924
915
  createdByUserId: string | null;
925
916
  imageUrl: string | null;
917
+ isActive: boolean;
926
918
  creator: {
927
919
  image: string | null;
928
920
  id: string;
@@ -935,24 +927,23 @@ export declare const update: {
935
927
  id: string;
936
928
  description: string | null;
937
929
  name: string;
938
- city: string | null;
939
- state: string | null;
940
- sportId: string;
941
930
  createdAt: Date;
942
931
  sport: {
943
932
  id: string;
944
933
  name: string;
945
934
  icon: string | null;
946
935
  } | null;
936
+ sportId: string;
937
+ city: string | null;
938
+ state: string | null;
947
939
  country: string;
948
- source: "external" | "internal";
949
940
  slug: string;
950
- isActive: boolean;
951
- sourceOrgId: string | null;
941
+ platform: string | null;
952
942
  externalUrl: string | null;
953
943
  updatedAt: Date;
954
944
  createdByUserId: string | null;
955
945
  imageUrl: string | null;
946
+ isActive: boolean;
956
947
  creator: {
957
948
  image: string | null;
958
949
  id: string;
@@ -4,12 +4,11 @@ export declare const groupWithRelationsSchema: z.ZodObject<z.objectUtil.extendSh
4
4
  name: z.ZodString;
5
5
  slug: z.ZodString;
6
6
  description: z.ZodNullable<z.ZodString>;
7
- source: z.ZodEnum<["internal", "external"]>;
7
+ platform: z.ZodNullable<z.ZodString>;
8
8
  city: z.ZodNullable<z.ZodString>;
9
9
  state: z.ZodNullable<z.ZodString>;
10
10
  country: z.ZodString;
11
11
  sportId: z.ZodString;
12
- sourceOrgId: z.ZodNullable<z.ZodString>;
13
12
  externalUrl: z.ZodNullable<z.ZodString>;
14
13
  createdByUserId: z.ZodNullable<z.ZodString>;
15
14
  imageUrl: z.ZodNullable<z.ZodString>;
@@ -54,24 +53,23 @@ export declare const groupWithRelationsSchema: z.ZodObject<z.objectUtil.extendSh
54
53
  id: string;
55
54
  description: string | null;
56
55
  name: string;
57
- city: string | null;
58
- state: string | null;
59
- sportId: string;
60
56
  createdAt: Date;
61
57
  sport: {
62
58
  id: string;
63
59
  name: string;
64
60
  icon: string | null;
65
61
  } | null;
62
+ sportId: string;
63
+ city: string | null;
64
+ state: string | null;
66
65
  country: string;
67
- source: "external" | "internal";
68
66
  slug: string;
69
- isActive: boolean;
70
- sourceOrgId: string | null;
67
+ platform: string | null;
71
68
  externalUrl: string | null;
72
69
  updatedAt: Date;
73
70
  createdByUserId: string | null;
74
71
  imageUrl: string | null;
72
+ isActive: boolean;
75
73
  creator: {
76
74
  image: string | null;
77
75
  id: string;
@@ -84,24 +82,23 @@ export declare const groupWithRelationsSchema: z.ZodObject<z.objectUtil.extendSh
84
82
  id: string;
85
83
  description: string | null;
86
84
  name: string;
87
- city: string | null;
88
- state: string | null;
89
- sportId: string;
90
85
  createdAt: Date;
91
86
  sport: {
92
87
  id: string;
93
88
  name: string;
94
89
  icon: string | null;
95
90
  } | null;
91
+ sportId: string;
92
+ city: string | null;
93
+ state: string | null;
96
94
  country: string;
97
- source: "external" | "internal";
98
95
  slug: string;
99
- isActive: boolean;
100
- sourceOrgId: string | null;
96
+ platform: string | null;
101
97
  externalUrl: string | null;
102
98
  updatedAt: Date;
103
99
  createdByUserId: string | null;
104
100
  imageUrl: string | null;
101
+ isActive: boolean;
105
102
  creator: {
106
103
  image: string | null;
107
104
  id: string;
@@ -115,7 +112,7 @@ export declare const listGroupsQuerySchema: z.ZodObject<{
115
112
  sportId: z.ZodOptional<z.ZodString>;
116
113
  city: z.ZodOptional<z.ZodString>;
117
114
  state: z.ZodOptional<z.ZodString>;
118
- source: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
115
+ platform: z.ZodOptional<z.ZodString>;
119
116
  search: z.ZodOptional<z.ZodString>;
120
117
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
121
118
  offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -123,16 +120,16 @@ export declare const listGroupsQuerySchema: z.ZodObject<{
123
120
  limit: number;
124
121
  offset: number;
125
122
  search?: string | undefined;
123
+ sportId?: string | undefined;
126
124
  city?: string | undefined;
127
125
  state?: string | undefined;
128
- sportId?: string | undefined;
129
- source?: "external" | "internal" | undefined;
126
+ platform?: string | undefined;
130
127
  }, {
131
128
  search?: string | undefined;
129
+ sportId?: string | undefined;
132
130
  city?: string | undefined;
133
131
  state?: string | undefined;
134
- sportId?: string | undefined;
135
- source?: "external" | "internal" | undefined;
132
+ platform?: string | undefined;
136
133
  limit?: number | undefined;
137
134
  offset?: number | undefined;
138
135
  }>;
@@ -19,7 +19,7 @@ export const listGroupsQuerySchema = z.object({
19
19
  sportId: z.string().optional(),
20
20
  city: z.string().optional(),
21
21
  state: z.string().optional(),
22
- source: z.enum(["internal", "external"]).optional(),
22
+ platform: z.string().optional(),
23
23
  search: z.string().optional(),
24
24
  limit: z.coerce.number().min(1).max(100).optional().default(20),
25
25
  offset: z.coerce.number().min(0).optional().default(0),