@deepintel-ltd/farmpro-contracts 1.7.6 → 1.7.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.
@@ -0,0 +1,1913 @@
1
+ import { z } from 'zod';
2
+ export declare const geofencesRouter: {
3
+ list: {
4
+ pathParams: z.ZodObject<{
5
+ farmId: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ farmId: string;
8
+ }, {
9
+ farmId: string;
10
+ }>;
11
+ summary: "List geofences";
12
+ method: "GET";
13
+ path: "/farms/:farmId/geofences";
14
+ responses: {
15
+ 200: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodString;
17
+ farmId: z.ZodString;
18
+ name: z.ZodString;
19
+ geometry: z.ZodObject<{
20
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
21
+ coordinates: z.ZodUnion<[z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
24
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
25
+ }, {
26
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
27
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
28
+ }>;
29
+ alertType: z.ZodEnum<["entry", "exit", "both"]>;
30
+ isActive: z.ZodBoolean;
31
+ color: z.ZodOptional<z.ZodString>;
32
+ linkedGroupIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33
+ linkedLivestockIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
34
+ createdAt: z.ZodString;
35
+ updatedAt: z.ZodOptional<z.ZodString>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ id: string;
38
+ createdAt: string;
39
+ name: string;
40
+ geometry: {
41
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
42
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
43
+ };
44
+ farmId: string;
45
+ alertType: "both" | "entry" | "exit";
46
+ isActive: boolean;
47
+ updatedAt?: string | undefined;
48
+ color?: string | undefined;
49
+ linkedGroupIds?: string[] | undefined;
50
+ linkedLivestockIds?: string[] | undefined;
51
+ }, {
52
+ id: string;
53
+ createdAt: string;
54
+ name: string;
55
+ geometry: {
56
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
57
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
58
+ };
59
+ farmId: string;
60
+ alertType: "both" | "entry" | "exit";
61
+ isActive: boolean;
62
+ updatedAt?: string | undefined;
63
+ color?: string | undefined;
64
+ linkedGroupIds?: string[] | undefined;
65
+ linkedLivestockIds?: string[] | undefined;
66
+ }>, "many">;
67
+ 403: z.ZodObject<{
68
+ errors: z.ZodArray<z.ZodObject<{
69
+ id: z.ZodOptional<z.ZodString>;
70
+ links: z.ZodOptional<z.ZodObject<{
71
+ about: z.ZodOptional<z.ZodString>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ about?: string | undefined;
74
+ }, {
75
+ about?: string | undefined;
76
+ }>>;
77
+ status: z.ZodOptional<z.ZodString>;
78
+ code: z.ZodOptional<z.ZodString>;
79
+ title: z.ZodOptional<z.ZodString>;
80
+ detail: z.ZodOptional<z.ZodString>;
81
+ source: z.ZodOptional<z.ZodObject<{
82
+ pointer: z.ZodOptional<z.ZodString>;
83
+ parameter: z.ZodOptional<z.ZodString>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ pointer?: string | undefined;
86
+ parameter?: string | undefined;
87
+ }, {
88
+ pointer?: string | undefined;
89
+ parameter?: string | undefined;
90
+ }>>;
91
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ status?: string | undefined;
94
+ code?: string | undefined;
95
+ id?: string | undefined;
96
+ links?: {
97
+ about?: string | undefined;
98
+ } | undefined;
99
+ meta?: Record<string, unknown> | undefined;
100
+ title?: string | undefined;
101
+ detail?: string | undefined;
102
+ source?: {
103
+ pointer?: string | undefined;
104
+ parameter?: string | undefined;
105
+ } | undefined;
106
+ }, {
107
+ status?: string | undefined;
108
+ code?: string | undefined;
109
+ id?: string | undefined;
110
+ links?: {
111
+ about?: string | undefined;
112
+ } | undefined;
113
+ meta?: Record<string, unknown> | undefined;
114
+ title?: string | undefined;
115
+ detail?: string | undefined;
116
+ source?: {
117
+ pointer?: string | undefined;
118
+ parameter?: string | undefined;
119
+ } | undefined;
120
+ }>, "many">;
121
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ errors: {
124
+ status?: string | undefined;
125
+ code?: string | undefined;
126
+ id?: string | undefined;
127
+ links?: {
128
+ about?: string | undefined;
129
+ } | undefined;
130
+ meta?: Record<string, unknown> | undefined;
131
+ title?: string | undefined;
132
+ detail?: string | undefined;
133
+ source?: {
134
+ pointer?: string | undefined;
135
+ parameter?: string | undefined;
136
+ } | undefined;
137
+ }[];
138
+ meta?: Record<string, unknown> | undefined;
139
+ }, {
140
+ errors: {
141
+ status?: string | undefined;
142
+ code?: string | undefined;
143
+ id?: string | undefined;
144
+ links?: {
145
+ about?: string | undefined;
146
+ } | undefined;
147
+ meta?: Record<string, unknown> | undefined;
148
+ title?: string | undefined;
149
+ detail?: string | undefined;
150
+ source?: {
151
+ pointer?: string | undefined;
152
+ parameter?: string | undefined;
153
+ } | undefined;
154
+ }[];
155
+ meta?: Record<string, unknown> | undefined;
156
+ }>;
157
+ 404: z.ZodObject<{
158
+ errors: z.ZodArray<z.ZodObject<{
159
+ id: z.ZodOptional<z.ZodString>;
160
+ links: z.ZodOptional<z.ZodObject<{
161
+ about: z.ZodOptional<z.ZodString>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ about?: string | undefined;
164
+ }, {
165
+ about?: string | undefined;
166
+ }>>;
167
+ status: z.ZodOptional<z.ZodString>;
168
+ code: z.ZodOptional<z.ZodString>;
169
+ title: z.ZodOptional<z.ZodString>;
170
+ detail: z.ZodOptional<z.ZodString>;
171
+ source: z.ZodOptional<z.ZodObject<{
172
+ pointer: z.ZodOptional<z.ZodString>;
173
+ parameter: z.ZodOptional<z.ZodString>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ pointer?: string | undefined;
176
+ parameter?: string | undefined;
177
+ }, {
178
+ pointer?: string | undefined;
179
+ parameter?: string | undefined;
180
+ }>>;
181
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
182
+ }, "strip", z.ZodTypeAny, {
183
+ status?: string | undefined;
184
+ code?: string | undefined;
185
+ id?: string | undefined;
186
+ links?: {
187
+ about?: string | undefined;
188
+ } | undefined;
189
+ meta?: Record<string, unknown> | undefined;
190
+ title?: string | undefined;
191
+ detail?: string | undefined;
192
+ source?: {
193
+ pointer?: string | undefined;
194
+ parameter?: string | undefined;
195
+ } | undefined;
196
+ }, {
197
+ status?: string | undefined;
198
+ code?: string | undefined;
199
+ id?: string | undefined;
200
+ links?: {
201
+ about?: string | undefined;
202
+ } | undefined;
203
+ meta?: Record<string, unknown> | undefined;
204
+ title?: string | undefined;
205
+ detail?: string | undefined;
206
+ source?: {
207
+ pointer?: string | undefined;
208
+ parameter?: string | undefined;
209
+ } | undefined;
210
+ }>, "many">;
211
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
212
+ }, "strip", z.ZodTypeAny, {
213
+ errors: {
214
+ status?: string | undefined;
215
+ code?: string | undefined;
216
+ id?: string | undefined;
217
+ links?: {
218
+ about?: string | undefined;
219
+ } | undefined;
220
+ meta?: Record<string, unknown> | undefined;
221
+ title?: string | undefined;
222
+ detail?: string | undefined;
223
+ source?: {
224
+ pointer?: string | undefined;
225
+ parameter?: string | undefined;
226
+ } | undefined;
227
+ }[];
228
+ meta?: Record<string, unknown> | undefined;
229
+ }, {
230
+ errors: {
231
+ status?: string | undefined;
232
+ code?: string | undefined;
233
+ id?: string | undefined;
234
+ links?: {
235
+ about?: string | undefined;
236
+ } | undefined;
237
+ meta?: Record<string, unknown> | undefined;
238
+ title?: string | undefined;
239
+ detail?: string | undefined;
240
+ source?: {
241
+ pointer?: string | undefined;
242
+ parameter?: string | undefined;
243
+ } | undefined;
244
+ }[];
245
+ meta?: Record<string, unknown> | undefined;
246
+ }>;
247
+ };
248
+ };
249
+ create: {
250
+ pathParams: z.ZodObject<{
251
+ farmId: z.ZodString;
252
+ }, "strip", z.ZodTypeAny, {
253
+ farmId: string;
254
+ }, {
255
+ farmId: string;
256
+ }>;
257
+ summary: "Create geofence";
258
+ method: "POST";
259
+ body: z.ZodObject<{
260
+ name: z.ZodString;
261
+ geometry: z.ZodObject<{
262
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
263
+ coordinates: z.ZodUnion<[z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
266
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
267
+ }, {
268
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
269
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
270
+ }>;
271
+ alertType: z.ZodEnum<["entry", "exit", "both"]>;
272
+ isActive: z.ZodOptional<z.ZodBoolean>;
273
+ color: z.ZodOptional<z.ZodString>;
274
+ linkedGroupIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
275
+ linkedLivestockIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ name: string;
278
+ geometry: {
279
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
280
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
281
+ };
282
+ alertType: "both" | "entry" | "exit";
283
+ color?: string | undefined;
284
+ isActive?: boolean | undefined;
285
+ linkedGroupIds?: string[] | undefined;
286
+ linkedLivestockIds?: string[] | undefined;
287
+ }, {
288
+ name: string;
289
+ geometry: {
290
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
291
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
292
+ };
293
+ alertType: "both" | "entry" | "exit";
294
+ color?: string | undefined;
295
+ isActive?: boolean | undefined;
296
+ linkedGroupIds?: string[] | undefined;
297
+ linkedLivestockIds?: string[] | undefined;
298
+ }>;
299
+ path: "/farms/:farmId/geofences";
300
+ responses: {
301
+ 201: z.ZodObject<{
302
+ id: z.ZodString;
303
+ farmId: z.ZodString;
304
+ name: z.ZodString;
305
+ geometry: z.ZodObject<{
306
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
307
+ coordinates: z.ZodUnion<[z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
308
+ }, "strip", z.ZodTypeAny, {
309
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
310
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
311
+ }, {
312
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
313
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
314
+ }>;
315
+ alertType: z.ZodEnum<["entry", "exit", "both"]>;
316
+ isActive: z.ZodBoolean;
317
+ color: z.ZodOptional<z.ZodString>;
318
+ linkedGroupIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
319
+ linkedLivestockIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
320
+ createdAt: z.ZodString;
321
+ updatedAt: z.ZodOptional<z.ZodString>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ id: string;
324
+ createdAt: string;
325
+ name: string;
326
+ geometry: {
327
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
328
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
329
+ };
330
+ farmId: string;
331
+ alertType: "both" | "entry" | "exit";
332
+ isActive: boolean;
333
+ updatedAt?: string | undefined;
334
+ color?: string | undefined;
335
+ linkedGroupIds?: string[] | undefined;
336
+ linkedLivestockIds?: string[] | undefined;
337
+ }, {
338
+ id: string;
339
+ createdAt: string;
340
+ name: string;
341
+ geometry: {
342
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
343
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
344
+ };
345
+ farmId: string;
346
+ alertType: "both" | "entry" | "exit";
347
+ isActive: boolean;
348
+ updatedAt?: string | undefined;
349
+ color?: string | undefined;
350
+ linkedGroupIds?: string[] | undefined;
351
+ linkedLivestockIds?: string[] | undefined;
352
+ }>;
353
+ 400: z.ZodObject<{
354
+ errors: z.ZodArray<z.ZodObject<{
355
+ id: z.ZodOptional<z.ZodString>;
356
+ links: z.ZodOptional<z.ZodObject<{
357
+ about: z.ZodOptional<z.ZodString>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ about?: string | undefined;
360
+ }, {
361
+ about?: string | undefined;
362
+ }>>;
363
+ status: z.ZodOptional<z.ZodString>;
364
+ code: z.ZodOptional<z.ZodString>;
365
+ title: z.ZodOptional<z.ZodString>;
366
+ detail: z.ZodOptional<z.ZodString>;
367
+ source: z.ZodOptional<z.ZodObject<{
368
+ pointer: z.ZodOptional<z.ZodString>;
369
+ parameter: z.ZodOptional<z.ZodString>;
370
+ }, "strip", z.ZodTypeAny, {
371
+ pointer?: string | undefined;
372
+ parameter?: string | undefined;
373
+ }, {
374
+ pointer?: string | undefined;
375
+ parameter?: string | undefined;
376
+ }>>;
377
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
378
+ }, "strip", z.ZodTypeAny, {
379
+ status?: string | undefined;
380
+ code?: string | undefined;
381
+ id?: string | undefined;
382
+ links?: {
383
+ about?: string | undefined;
384
+ } | undefined;
385
+ meta?: Record<string, unknown> | undefined;
386
+ title?: string | undefined;
387
+ detail?: string | undefined;
388
+ source?: {
389
+ pointer?: string | undefined;
390
+ parameter?: string | undefined;
391
+ } | undefined;
392
+ }, {
393
+ status?: string | undefined;
394
+ code?: string | undefined;
395
+ id?: string | undefined;
396
+ links?: {
397
+ about?: string | undefined;
398
+ } | undefined;
399
+ meta?: Record<string, unknown> | undefined;
400
+ title?: string | undefined;
401
+ detail?: string | undefined;
402
+ source?: {
403
+ pointer?: string | undefined;
404
+ parameter?: string | undefined;
405
+ } | undefined;
406
+ }>, "many">;
407
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
408
+ }, "strip", z.ZodTypeAny, {
409
+ errors: {
410
+ status?: string | undefined;
411
+ code?: string | undefined;
412
+ id?: string | undefined;
413
+ links?: {
414
+ about?: string | undefined;
415
+ } | undefined;
416
+ meta?: Record<string, unknown> | undefined;
417
+ title?: string | undefined;
418
+ detail?: string | undefined;
419
+ source?: {
420
+ pointer?: string | undefined;
421
+ parameter?: string | undefined;
422
+ } | undefined;
423
+ }[];
424
+ meta?: Record<string, unknown> | undefined;
425
+ }, {
426
+ errors: {
427
+ status?: string | undefined;
428
+ code?: string | undefined;
429
+ id?: string | undefined;
430
+ links?: {
431
+ about?: string | undefined;
432
+ } | undefined;
433
+ meta?: Record<string, unknown> | undefined;
434
+ title?: string | undefined;
435
+ detail?: string | undefined;
436
+ source?: {
437
+ pointer?: string | undefined;
438
+ parameter?: string | undefined;
439
+ } | undefined;
440
+ }[];
441
+ meta?: Record<string, unknown> | undefined;
442
+ }>;
443
+ 403: z.ZodObject<{
444
+ errors: z.ZodArray<z.ZodObject<{
445
+ id: z.ZodOptional<z.ZodString>;
446
+ links: z.ZodOptional<z.ZodObject<{
447
+ about: z.ZodOptional<z.ZodString>;
448
+ }, "strip", z.ZodTypeAny, {
449
+ about?: string | undefined;
450
+ }, {
451
+ about?: string | undefined;
452
+ }>>;
453
+ status: z.ZodOptional<z.ZodString>;
454
+ code: z.ZodOptional<z.ZodString>;
455
+ title: z.ZodOptional<z.ZodString>;
456
+ detail: z.ZodOptional<z.ZodString>;
457
+ source: z.ZodOptional<z.ZodObject<{
458
+ pointer: z.ZodOptional<z.ZodString>;
459
+ parameter: z.ZodOptional<z.ZodString>;
460
+ }, "strip", z.ZodTypeAny, {
461
+ pointer?: string | undefined;
462
+ parameter?: string | undefined;
463
+ }, {
464
+ pointer?: string | undefined;
465
+ parameter?: string | undefined;
466
+ }>>;
467
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
468
+ }, "strip", z.ZodTypeAny, {
469
+ status?: string | undefined;
470
+ code?: string | undefined;
471
+ id?: string | undefined;
472
+ links?: {
473
+ about?: string | undefined;
474
+ } | undefined;
475
+ meta?: Record<string, unknown> | undefined;
476
+ title?: string | undefined;
477
+ detail?: string | undefined;
478
+ source?: {
479
+ pointer?: string | undefined;
480
+ parameter?: string | undefined;
481
+ } | undefined;
482
+ }, {
483
+ status?: string | undefined;
484
+ code?: string | undefined;
485
+ id?: string | undefined;
486
+ links?: {
487
+ about?: string | undefined;
488
+ } | undefined;
489
+ meta?: Record<string, unknown> | undefined;
490
+ title?: string | undefined;
491
+ detail?: string | undefined;
492
+ source?: {
493
+ pointer?: string | undefined;
494
+ parameter?: string | undefined;
495
+ } | undefined;
496
+ }>, "many">;
497
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
498
+ }, "strip", z.ZodTypeAny, {
499
+ errors: {
500
+ status?: string | undefined;
501
+ code?: string | undefined;
502
+ id?: string | undefined;
503
+ links?: {
504
+ about?: string | undefined;
505
+ } | undefined;
506
+ meta?: Record<string, unknown> | undefined;
507
+ title?: string | undefined;
508
+ detail?: string | undefined;
509
+ source?: {
510
+ pointer?: string | undefined;
511
+ parameter?: string | undefined;
512
+ } | undefined;
513
+ }[];
514
+ meta?: Record<string, unknown> | undefined;
515
+ }, {
516
+ errors: {
517
+ status?: string | undefined;
518
+ code?: string | undefined;
519
+ id?: string | undefined;
520
+ links?: {
521
+ about?: string | undefined;
522
+ } | undefined;
523
+ meta?: Record<string, unknown> | undefined;
524
+ title?: string | undefined;
525
+ detail?: string | undefined;
526
+ source?: {
527
+ pointer?: string | undefined;
528
+ parameter?: string | undefined;
529
+ } | undefined;
530
+ }[];
531
+ meta?: Record<string, unknown> | undefined;
532
+ }>;
533
+ 404: z.ZodObject<{
534
+ errors: z.ZodArray<z.ZodObject<{
535
+ id: z.ZodOptional<z.ZodString>;
536
+ links: z.ZodOptional<z.ZodObject<{
537
+ about: z.ZodOptional<z.ZodString>;
538
+ }, "strip", z.ZodTypeAny, {
539
+ about?: string | undefined;
540
+ }, {
541
+ about?: string | undefined;
542
+ }>>;
543
+ status: z.ZodOptional<z.ZodString>;
544
+ code: z.ZodOptional<z.ZodString>;
545
+ title: z.ZodOptional<z.ZodString>;
546
+ detail: z.ZodOptional<z.ZodString>;
547
+ source: z.ZodOptional<z.ZodObject<{
548
+ pointer: z.ZodOptional<z.ZodString>;
549
+ parameter: z.ZodOptional<z.ZodString>;
550
+ }, "strip", z.ZodTypeAny, {
551
+ pointer?: string | undefined;
552
+ parameter?: string | undefined;
553
+ }, {
554
+ pointer?: string | undefined;
555
+ parameter?: string | undefined;
556
+ }>>;
557
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ status?: string | undefined;
560
+ code?: string | undefined;
561
+ id?: string | undefined;
562
+ links?: {
563
+ about?: string | undefined;
564
+ } | undefined;
565
+ meta?: Record<string, unknown> | undefined;
566
+ title?: string | undefined;
567
+ detail?: string | undefined;
568
+ source?: {
569
+ pointer?: string | undefined;
570
+ parameter?: string | undefined;
571
+ } | undefined;
572
+ }, {
573
+ status?: string | undefined;
574
+ code?: string | undefined;
575
+ id?: string | undefined;
576
+ links?: {
577
+ about?: string | undefined;
578
+ } | undefined;
579
+ meta?: Record<string, unknown> | undefined;
580
+ title?: string | undefined;
581
+ detail?: string | undefined;
582
+ source?: {
583
+ pointer?: string | undefined;
584
+ parameter?: string | undefined;
585
+ } | undefined;
586
+ }>, "many">;
587
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
588
+ }, "strip", z.ZodTypeAny, {
589
+ errors: {
590
+ status?: string | undefined;
591
+ code?: string | undefined;
592
+ id?: string | undefined;
593
+ links?: {
594
+ about?: string | undefined;
595
+ } | undefined;
596
+ meta?: Record<string, unknown> | undefined;
597
+ title?: string | undefined;
598
+ detail?: string | undefined;
599
+ source?: {
600
+ pointer?: string | undefined;
601
+ parameter?: string | undefined;
602
+ } | undefined;
603
+ }[];
604
+ meta?: Record<string, unknown> | undefined;
605
+ }, {
606
+ errors: {
607
+ status?: string | undefined;
608
+ code?: string | undefined;
609
+ id?: string | undefined;
610
+ links?: {
611
+ about?: string | undefined;
612
+ } | undefined;
613
+ meta?: Record<string, unknown> | undefined;
614
+ title?: string | undefined;
615
+ detail?: string | undefined;
616
+ source?: {
617
+ pointer?: string | undefined;
618
+ parameter?: string | undefined;
619
+ } | undefined;
620
+ }[];
621
+ meta?: Record<string, unknown> | undefined;
622
+ }>;
623
+ };
624
+ };
625
+ getOne: {
626
+ pathParams: z.ZodObject<{
627
+ farmId: z.ZodString;
628
+ geofenceId: z.ZodString;
629
+ }, "strip", z.ZodTypeAny, {
630
+ farmId: string;
631
+ geofenceId: string;
632
+ }, {
633
+ farmId: string;
634
+ geofenceId: string;
635
+ }>;
636
+ summary: "Get geofence";
637
+ method: "GET";
638
+ path: "/farms/:farmId/geofences/:geofenceId";
639
+ responses: {
640
+ 200: z.ZodObject<{
641
+ id: z.ZodString;
642
+ farmId: z.ZodString;
643
+ name: z.ZodString;
644
+ geometry: z.ZodObject<{
645
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
646
+ coordinates: z.ZodUnion<[z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
647
+ }, "strip", z.ZodTypeAny, {
648
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
649
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
650
+ }, {
651
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
652
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
653
+ }>;
654
+ alertType: z.ZodEnum<["entry", "exit", "both"]>;
655
+ isActive: z.ZodBoolean;
656
+ color: z.ZodOptional<z.ZodString>;
657
+ linkedGroupIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
658
+ linkedLivestockIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
659
+ createdAt: z.ZodString;
660
+ updatedAt: z.ZodOptional<z.ZodString>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ id: string;
663
+ createdAt: string;
664
+ name: string;
665
+ geometry: {
666
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
667
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
668
+ };
669
+ farmId: string;
670
+ alertType: "both" | "entry" | "exit";
671
+ isActive: boolean;
672
+ updatedAt?: string | undefined;
673
+ color?: string | undefined;
674
+ linkedGroupIds?: string[] | undefined;
675
+ linkedLivestockIds?: string[] | undefined;
676
+ }, {
677
+ id: string;
678
+ createdAt: string;
679
+ name: string;
680
+ geometry: {
681
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
682
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
683
+ };
684
+ farmId: string;
685
+ alertType: "both" | "entry" | "exit";
686
+ isActive: boolean;
687
+ updatedAt?: string | undefined;
688
+ color?: string | undefined;
689
+ linkedGroupIds?: string[] | undefined;
690
+ linkedLivestockIds?: string[] | undefined;
691
+ }>;
692
+ 403: z.ZodObject<{
693
+ errors: z.ZodArray<z.ZodObject<{
694
+ id: z.ZodOptional<z.ZodString>;
695
+ links: z.ZodOptional<z.ZodObject<{
696
+ about: z.ZodOptional<z.ZodString>;
697
+ }, "strip", z.ZodTypeAny, {
698
+ about?: string | undefined;
699
+ }, {
700
+ about?: string | undefined;
701
+ }>>;
702
+ status: z.ZodOptional<z.ZodString>;
703
+ code: z.ZodOptional<z.ZodString>;
704
+ title: z.ZodOptional<z.ZodString>;
705
+ detail: z.ZodOptional<z.ZodString>;
706
+ source: z.ZodOptional<z.ZodObject<{
707
+ pointer: z.ZodOptional<z.ZodString>;
708
+ parameter: z.ZodOptional<z.ZodString>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ pointer?: string | undefined;
711
+ parameter?: string | undefined;
712
+ }, {
713
+ pointer?: string | undefined;
714
+ parameter?: string | undefined;
715
+ }>>;
716
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
717
+ }, "strip", z.ZodTypeAny, {
718
+ status?: string | undefined;
719
+ code?: string | undefined;
720
+ id?: string | undefined;
721
+ links?: {
722
+ about?: string | undefined;
723
+ } | undefined;
724
+ meta?: Record<string, unknown> | undefined;
725
+ title?: string | undefined;
726
+ detail?: string | undefined;
727
+ source?: {
728
+ pointer?: string | undefined;
729
+ parameter?: string | undefined;
730
+ } | undefined;
731
+ }, {
732
+ status?: string | undefined;
733
+ code?: string | undefined;
734
+ id?: string | undefined;
735
+ links?: {
736
+ about?: string | undefined;
737
+ } | undefined;
738
+ meta?: Record<string, unknown> | undefined;
739
+ title?: string | undefined;
740
+ detail?: string | undefined;
741
+ source?: {
742
+ pointer?: string | undefined;
743
+ parameter?: string | undefined;
744
+ } | undefined;
745
+ }>, "many">;
746
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
747
+ }, "strip", z.ZodTypeAny, {
748
+ errors: {
749
+ status?: string | undefined;
750
+ code?: string | undefined;
751
+ id?: string | undefined;
752
+ links?: {
753
+ about?: string | undefined;
754
+ } | undefined;
755
+ meta?: Record<string, unknown> | undefined;
756
+ title?: string | undefined;
757
+ detail?: string | undefined;
758
+ source?: {
759
+ pointer?: string | undefined;
760
+ parameter?: string | undefined;
761
+ } | undefined;
762
+ }[];
763
+ meta?: Record<string, unknown> | undefined;
764
+ }, {
765
+ errors: {
766
+ status?: string | undefined;
767
+ code?: string | undefined;
768
+ id?: string | undefined;
769
+ links?: {
770
+ about?: string | undefined;
771
+ } | undefined;
772
+ meta?: Record<string, unknown> | undefined;
773
+ title?: string | undefined;
774
+ detail?: string | undefined;
775
+ source?: {
776
+ pointer?: string | undefined;
777
+ parameter?: string | undefined;
778
+ } | undefined;
779
+ }[];
780
+ meta?: Record<string, unknown> | undefined;
781
+ }>;
782
+ 404: z.ZodObject<{
783
+ errors: z.ZodArray<z.ZodObject<{
784
+ id: z.ZodOptional<z.ZodString>;
785
+ links: z.ZodOptional<z.ZodObject<{
786
+ about: z.ZodOptional<z.ZodString>;
787
+ }, "strip", z.ZodTypeAny, {
788
+ about?: string | undefined;
789
+ }, {
790
+ about?: string | undefined;
791
+ }>>;
792
+ status: z.ZodOptional<z.ZodString>;
793
+ code: z.ZodOptional<z.ZodString>;
794
+ title: z.ZodOptional<z.ZodString>;
795
+ detail: z.ZodOptional<z.ZodString>;
796
+ source: z.ZodOptional<z.ZodObject<{
797
+ pointer: z.ZodOptional<z.ZodString>;
798
+ parameter: z.ZodOptional<z.ZodString>;
799
+ }, "strip", z.ZodTypeAny, {
800
+ pointer?: string | undefined;
801
+ parameter?: string | undefined;
802
+ }, {
803
+ pointer?: string | undefined;
804
+ parameter?: string | undefined;
805
+ }>>;
806
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ status?: string | undefined;
809
+ code?: string | undefined;
810
+ id?: string | undefined;
811
+ links?: {
812
+ about?: string | undefined;
813
+ } | undefined;
814
+ meta?: Record<string, unknown> | undefined;
815
+ title?: string | undefined;
816
+ detail?: string | undefined;
817
+ source?: {
818
+ pointer?: string | undefined;
819
+ parameter?: string | undefined;
820
+ } | undefined;
821
+ }, {
822
+ status?: string | undefined;
823
+ code?: string | undefined;
824
+ id?: string | undefined;
825
+ links?: {
826
+ about?: string | undefined;
827
+ } | undefined;
828
+ meta?: Record<string, unknown> | undefined;
829
+ title?: string | undefined;
830
+ detail?: string | undefined;
831
+ source?: {
832
+ pointer?: string | undefined;
833
+ parameter?: string | undefined;
834
+ } | undefined;
835
+ }>, "many">;
836
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
837
+ }, "strip", z.ZodTypeAny, {
838
+ errors: {
839
+ status?: string | undefined;
840
+ code?: string | undefined;
841
+ id?: string | undefined;
842
+ links?: {
843
+ about?: string | undefined;
844
+ } | undefined;
845
+ meta?: Record<string, unknown> | undefined;
846
+ title?: string | undefined;
847
+ detail?: string | undefined;
848
+ source?: {
849
+ pointer?: string | undefined;
850
+ parameter?: string | undefined;
851
+ } | undefined;
852
+ }[];
853
+ meta?: Record<string, unknown> | undefined;
854
+ }, {
855
+ errors: {
856
+ status?: string | undefined;
857
+ code?: string | undefined;
858
+ id?: string | undefined;
859
+ links?: {
860
+ about?: string | undefined;
861
+ } | undefined;
862
+ meta?: Record<string, unknown> | undefined;
863
+ title?: string | undefined;
864
+ detail?: string | undefined;
865
+ source?: {
866
+ pointer?: string | undefined;
867
+ parameter?: string | undefined;
868
+ } | undefined;
869
+ }[];
870
+ meta?: Record<string, unknown> | undefined;
871
+ }>;
872
+ };
873
+ };
874
+ update: {
875
+ pathParams: z.ZodObject<{
876
+ farmId: z.ZodString;
877
+ geofenceId: z.ZodString;
878
+ }, "strip", z.ZodTypeAny, {
879
+ farmId: string;
880
+ geofenceId: string;
881
+ }, {
882
+ farmId: string;
883
+ geofenceId: string;
884
+ }>;
885
+ summary: "Update geofence";
886
+ method: "PATCH";
887
+ body: z.ZodObject<{
888
+ name: z.ZodOptional<z.ZodString>;
889
+ geometry: z.ZodOptional<z.ZodObject<{
890
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
891
+ coordinates: z.ZodUnion<[z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
892
+ }, "strip", z.ZodTypeAny, {
893
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
894
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
895
+ }, {
896
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
897
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
898
+ }>>;
899
+ alertType: z.ZodOptional<z.ZodEnum<["entry", "exit", "both"]>>;
900
+ isActive: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
901
+ color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
902
+ linkedGroupIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
903
+ linkedLivestockIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
904
+ }, "strip", z.ZodTypeAny, {
905
+ name?: string | undefined;
906
+ geometry?: {
907
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
908
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
909
+ } | undefined;
910
+ color?: string | undefined;
911
+ alertType?: "both" | "entry" | "exit" | undefined;
912
+ isActive?: boolean | undefined;
913
+ linkedGroupIds?: string[] | undefined;
914
+ linkedLivestockIds?: string[] | undefined;
915
+ }, {
916
+ name?: string | undefined;
917
+ geometry?: {
918
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
919
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
920
+ } | undefined;
921
+ color?: string | undefined;
922
+ alertType?: "both" | "entry" | "exit" | undefined;
923
+ isActive?: boolean | undefined;
924
+ linkedGroupIds?: string[] | undefined;
925
+ linkedLivestockIds?: string[] | undefined;
926
+ }>;
927
+ path: "/farms/:farmId/geofences/:geofenceId";
928
+ responses: {
929
+ 200: z.ZodObject<{
930
+ id: z.ZodString;
931
+ farmId: z.ZodString;
932
+ name: z.ZodString;
933
+ geometry: z.ZodObject<{
934
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
935
+ coordinates: z.ZodUnion<[z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
936
+ }, "strip", z.ZodTypeAny, {
937
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
938
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
939
+ }, {
940
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
941
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
942
+ }>;
943
+ alertType: z.ZodEnum<["entry", "exit", "both"]>;
944
+ isActive: z.ZodBoolean;
945
+ color: z.ZodOptional<z.ZodString>;
946
+ linkedGroupIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
947
+ linkedLivestockIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
948
+ createdAt: z.ZodString;
949
+ updatedAt: z.ZodOptional<z.ZodString>;
950
+ }, "strip", z.ZodTypeAny, {
951
+ id: string;
952
+ createdAt: string;
953
+ name: string;
954
+ geometry: {
955
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
956
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
957
+ };
958
+ farmId: string;
959
+ alertType: "both" | "entry" | "exit";
960
+ isActive: boolean;
961
+ updatedAt?: string | undefined;
962
+ color?: string | undefined;
963
+ linkedGroupIds?: string[] | undefined;
964
+ linkedLivestockIds?: string[] | undefined;
965
+ }, {
966
+ id: string;
967
+ createdAt: string;
968
+ name: string;
969
+ geometry: {
970
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
971
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
972
+ };
973
+ farmId: string;
974
+ alertType: "both" | "entry" | "exit";
975
+ isActive: boolean;
976
+ updatedAt?: string | undefined;
977
+ color?: string | undefined;
978
+ linkedGroupIds?: string[] | undefined;
979
+ linkedLivestockIds?: string[] | undefined;
980
+ }>;
981
+ 400: z.ZodObject<{
982
+ errors: z.ZodArray<z.ZodObject<{
983
+ id: z.ZodOptional<z.ZodString>;
984
+ links: z.ZodOptional<z.ZodObject<{
985
+ about: z.ZodOptional<z.ZodString>;
986
+ }, "strip", z.ZodTypeAny, {
987
+ about?: string | undefined;
988
+ }, {
989
+ about?: string | undefined;
990
+ }>>;
991
+ status: z.ZodOptional<z.ZodString>;
992
+ code: z.ZodOptional<z.ZodString>;
993
+ title: z.ZodOptional<z.ZodString>;
994
+ detail: z.ZodOptional<z.ZodString>;
995
+ source: z.ZodOptional<z.ZodObject<{
996
+ pointer: z.ZodOptional<z.ZodString>;
997
+ parameter: z.ZodOptional<z.ZodString>;
998
+ }, "strip", z.ZodTypeAny, {
999
+ pointer?: string | undefined;
1000
+ parameter?: string | undefined;
1001
+ }, {
1002
+ pointer?: string | undefined;
1003
+ parameter?: string | undefined;
1004
+ }>>;
1005
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1006
+ }, "strip", z.ZodTypeAny, {
1007
+ status?: string | undefined;
1008
+ code?: string | undefined;
1009
+ id?: string | undefined;
1010
+ links?: {
1011
+ about?: string | undefined;
1012
+ } | undefined;
1013
+ meta?: Record<string, unknown> | undefined;
1014
+ title?: string | undefined;
1015
+ detail?: string | undefined;
1016
+ source?: {
1017
+ pointer?: string | undefined;
1018
+ parameter?: string | undefined;
1019
+ } | undefined;
1020
+ }, {
1021
+ status?: string | undefined;
1022
+ code?: string | undefined;
1023
+ id?: string | undefined;
1024
+ links?: {
1025
+ about?: string | undefined;
1026
+ } | undefined;
1027
+ meta?: Record<string, unknown> | undefined;
1028
+ title?: string | undefined;
1029
+ detail?: string | undefined;
1030
+ source?: {
1031
+ pointer?: string | undefined;
1032
+ parameter?: string | undefined;
1033
+ } | undefined;
1034
+ }>, "many">;
1035
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1036
+ }, "strip", z.ZodTypeAny, {
1037
+ errors: {
1038
+ status?: string | undefined;
1039
+ code?: string | undefined;
1040
+ id?: string | undefined;
1041
+ links?: {
1042
+ about?: string | undefined;
1043
+ } | undefined;
1044
+ meta?: Record<string, unknown> | undefined;
1045
+ title?: string | undefined;
1046
+ detail?: string | undefined;
1047
+ source?: {
1048
+ pointer?: string | undefined;
1049
+ parameter?: string | undefined;
1050
+ } | undefined;
1051
+ }[];
1052
+ meta?: Record<string, unknown> | undefined;
1053
+ }, {
1054
+ errors: {
1055
+ status?: string | undefined;
1056
+ code?: string | undefined;
1057
+ id?: string | undefined;
1058
+ links?: {
1059
+ about?: string | undefined;
1060
+ } | undefined;
1061
+ meta?: Record<string, unknown> | undefined;
1062
+ title?: string | undefined;
1063
+ detail?: string | undefined;
1064
+ source?: {
1065
+ pointer?: string | undefined;
1066
+ parameter?: string | undefined;
1067
+ } | undefined;
1068
+ }[];
1069
+ meta?: Record<string, unknown> | undefined;
1070
+ }>;
1071
+ 403: z.ZodObject<{
1072
+ errors: z.ZodArray<z.ZodObject<{
1073
+ id: z.ZodOptional<z.ZodString>;
1074
+ links: z.ZodOptional<z.ZodObject<{
1075
+ about: z.ZodOptional<z.ZodString>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ about?: string | undefined;
1078
+ }, {
1079
+ about?: string | undefined;
1080
+ }>>;
1081
+ status: z.ZodOptional<z.ZodString>;
1082
+ code: z.ZodOptional<z.ZodString>;
1083
+ title: z.ZodOptional<z.ZodString>;
1084
+ detail: z.ZodOptional<z.ZodString>;
1085
+ source: z.ZodOptional<z.ZodObject<{
1086
+ pointer: z.ZodOptional<z.ZodString>;
1087
+ parameter: z.ZodOptional<z.ZodString>;
1088
+ }, "strip", z.ZodTypeAny, {
1089
+ pointer?: string | undefined;
1090
+ parameter?: string | undefined;
1091
+ }, {
1092
+ pointer?: string | undefined;
1093
+ parameter?: string | undefined;
1094
+ }>>;
1095
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1096
+ }, "strip", z.ZodTypeAny, {
1097
+ status?: string | undefined;
1098
+ code?: string | undefined;
1099
+ id?: string | undefined;
1100
+ links?: {
1101
+ about?: string | undefined;
1102
+ } | undefined;
1103
+ meta?: Record<string, unknown> | undefined;
1104
+ title?: string | undefined;
1105
+ detail?: string | undefined;
1106
+ source?: {
1107
+ pointer?: string | undefined;
1108
+ parameter?: string | undefined;
1109
+ } | undefined;
1110
+ }, {
1111
+ status?: string | undefined;
1112
+ code?: string | undefined;
1113
+ id?: string | undefined;
1114
+ links?: {
1115
+ about?: string | undefined;
1116
+ } | undefined;
1117
+ meta?: Record<string, unknown> | undefined;
1118
+ title?: string | undefined;
1119
+ detail?: string | undefined;
1120
+ source?: {
1121
+ pointer?: string | undefined;
1122
+ parameter?: string | undefined;
1123
+ } | undefined;
1124
+ }>, "many">;
1125
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1126
+ }, "strip", z.ZodTypeAny, {
1127
+ errors: {
1128
+ status?: string | undefined;
1129
+ code?: string | undefined;
1130
+ id?: string | undefined;
1131
+ links?: {
1132
+ about?: string | undefined;
1133
+ } | undefined;
1134
+ meta?: Record<string, unknown> | undefined;
1135
+ title?: string | undefined;
1136
+ detail?: string | undefined;
1137
+ source?: {
1138
+ pointer?: string | undefined;
1139
+ parameter?: string | undefined;
1140
+ } | undefined;
1141
+ }[];
1142
+ meta?: Record<string, unknown> | undefined;
1143
+ }, {
1144
+ errors: {
1145
+ status?: string | undefined;
1146
+ code?: string | undefined;
1147
+ id?: string | undefined;
1148
+ links?: {
1149
+ about?: string | undefined;
1150
+ } | undefined;
1151
+ meta?: Record<string, unknown> | undefined;
1152
+ title?: string | undefined;
1153
+ detail?: string | undefined;
1154
+ source?: {
1155
+ pointer?: string | undefined;
1156
+ parameter?: string | undefined;
1157
+ } | undefined;
1158
+ }[];
1159
+ meta?: Record<string, unknown> | undefined;
1160
+ }>;
1161
+ 404: z.ZodObject<{
1162
+ errors: z.ZodArray<z.ZodObject<{
1163
+ id: z.ZodOptional<z.ZodString>;
1164
+ links: z.ZodOptional<z.ZodObject<{
1165
+ about: z.ZodOptional<z.ZodString>;
1166
+ }, "strip", z.ZodTypeAny, {
1167
+ about?: string | undefined;
1168
+ }, {
1169
+ about?: string | undefined;
1170
+ }>>;
1171
+ status: z.ZodOptional<z.ZodString>;
1172
+ code: z.ZodOptional<z.ZodString>;
1173
+ title: z.ZodOptional<z.ZodString>;
1174
+ detail: z.ZodOptional<z.ZodString>;
1175
+ source: z.ZodOptional<z.ZodObject<{
1176
+ pointer: z.ZodOptional<z.ZodString>;
1177
+ parameter: z.ZodOptional<z.ZodString>;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ pointer?: string | undefined;
1180
+ parameter?: string | undefined;
1181
+ }, {
1182
+ pointer?: string | undefined;
1183
+ parameter?: string | undefined;
1184
+ }>>;
1185
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1186
+ }, "strip", z.ZodTypeAny, {
1187
+ status?: string | undefined;
1188
+ code?: string | undefined;
1189
+ id?: string | undefined;
1190
+ links?: {
1191
+ about?: string | undefined;
1192
+ } | undefined;
1193
+ meta?: Record<string, unknown> | undefined;
1194
+ title?: string | undefined;
1195
+ detail?: string | undefined;
1196
+ source?: {
1197
+ pointer?: string | undefined;
1198
+ parameter?: string | undefined;
1199
+ } | undefined;
1200
+ }, {
1201
+ status?: string | undefined;
1202
+ code?: string | undefined;
1203
+ id?: string | undefined;
1204
+ links?: {
1205
+ about?: string | undefined;
1206
+ } | undefined;
1207
+ meta?: Record<string, unknown> | undefined;
1208
+ title?: string | undefined;
1209
+ detail?: string | undefined;
1210
+ source?: {
1211
+ pointer?: string | undefined;
1212
+ parameter?: string | undefined;
1213
+ } | undefined;
1214
+ }>, "many">;
1215
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1216
+ }, "strip", z.ZodTypeAny, {
1217
+ errors: {
1218
+ status?: string | undefined;
1219
+ code?: string | undefined;
1220
+ id?: string | undefined;
1221
+ links?: {
1222
+ about?: string | undefined;
1223
+ } | undefined;
1224
+ meta?: Record<string, unknown> | undefined;
1225
+ title?: string | undefined;
1226
+ detail?: string | undefined;
1227
+ source?: {
1228
+ pointer?: string | undefined;
1229
+ parameter?: string | undefined;
1230
+ } | undefined;
1231
+ }[];
1232
+ meta?: Record<string, unknown> | undefined;
1233
+ }, {
1234
+ errors: {
1235
+ status?: string | undefined;
1236
+ code?: string | undefined;
1237
+ id?: string | undefined;
1238
+ links?: {
1239
+ about?: string | undefined;
1240
+ } | undefined;
1241
+ meta?: Record<string, unknown> | undefined;
1242
+ title?: string | undefined;
1243
+ detail?: string | undefined;
1244
+ source?: {
1245
+ pointer?: string | undefined;
1246
+ parameter?: string | undefined;
1247
+ } | undefined;
1248
+ }[];
1249
+ meta?: Record<string, unknown> | undefined;
1250
+ }>;
1251
+ };
1252
+ };
1253
+ delete: {
1254
+ pathParams: z.ZodObject<{
1255
+ farmId: z.ZodString;
1256
+ geofenceId: z.ZodString;
1257
+ }, "strip", z.ZodTypeAny, {
1258
+ farmId: string;
1259
+ geofenceId: string;
1260
+ }, {
1261
+ farmId: string;
1262
+ geofenceId: string;
1263
+ }>;
1264
+ summary: "Delete geofence";
1265
+ method: "DELETE";
1266
+ path: "/farms/:farmId/geofences/:geofenceId";
1267
+ responses: {
1268
+ 204: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1269
+ 403: z.ZodObject<{
1270
+ errors: z.ZodArray<z.ZodObject<{
1271
+ id: z.ZodOptional<z.ZodString>;
1272
+ links: z.ZodOptional<z.ZodObject<{
1273
+ about: z.ZodOptional<z.ZodString>;
1274
+ }, "strip", z.ZodTypeAny, {
1275
+ about?: string | undefined;
1276
+ }, {
1277
+ about?: string | undefined;
1278
+ }>>;
1279
+ status: z.ZodOptional<z.ZodString>;
1280
+ code: z.ZodOptional<z.ZodString>;
1281
+ title: z.ZodOptional<z.ZodString>;
1282
+ detail: z.ZodOptional<z.ZodString>;
1283
+ source: z.ZodOptional<z.ZodObject<{
1284
+ pointer: z.ZodOptional<z.ZodString>;
1285
+ parameter: z.ZodOptional<z.ZodString>;
1286
+ }, "strip", z.ZodTypeAny, {
1287
+ pointer?: string | undefined;
1288
+ parameter?: string | undefined;
1289
+ }, {
1290
+ pointer?: string | undefined;
1291
+ parameter?: string | undefined;
1292
+ }>>;
1293
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1294
+ }, "strip", z.ZodTypeAny, {
1295
+ status?: string | undefined;
1296
+ code?: string | undefined;
1297
+ id?: string | undefined;
1298
+ links?: {
1299
+ about?: string | undefined;
1300
+ } | undefined;
1301
+ meta?: Record<string, unknown> | undefined;
1302
+ title?: string | undefined;
1303
+ detail?: string | undefined;
1304
+ source?: {
1305
+ pointer?: string | undefined;
1306
+ parameter?: string | undefined;
1307
+ } | undefined;
1308
+ }, {
1309
+ status?: string | undefined;
1310
+ code?: string | undefined;
1311
+ id?: string | undefined;
1312
+ links?: {
1313
+ about?: string | undefined;
1314
+ } | undefined;
1315
+ meta?: Record<string, unknown> | undefined;
1316
+ title?: string | undefined;
1317
+ detail?: string | undefined;
1318
+ source?: {
1319
+ pointer?: string | undefined;
1320
+ parameter?: string | undefined;
1321
+ } | undefined;
1322
+ }>, "many">;
1323
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1324
+ }, "strip", z.ZodTypeAny, {
1325
+ errors: {
1326
+ status?: string | undefined;
1327
+ code?: string | undefined;
1328
+ id?: string | undefined;
1329
+ links?: {
1330
+ about?: string | undefined;
1331
+ } | undefined;
1332
+ meta?: Record<string, unknown> | undefined;
1333
+ title?: string | undefined;
1334
+ detail?: string | undefined;
1335
+ source?: {
1336
+ pointer?: string | undefined;
1337
+ parameter?: string | undefined;
1338
+ } | undefined;
1339
+ }[];
1340
+ meta?: Record<string, unknown> | undefined;
1341
+ }, {
1342
+ errors: {
1343
+ status?: string | undefined;
1344
+ code?: string | undefined;
1345
+ id?: string | undefined;
1346
+ links?: {
1347
+ about?: string | undefined;
1348
+ } | undefined;
1349
+ meta?: Record<string, unknown> | undefined;
1350
+ title?: string | undefined;
1351
+ detail?: string | undefined;
1352
+ source?: {
1353
+ pointer?: string | undefined;
1354
+ parameter?: string | undefined;
1355
+ } | undefined;
1356
+ }[];
1357
+ meta?: Record<string, unknown> | undefined;
1358
+ }>;
1359
+ 404: z.ZodObject<{
1360
+ errors: z.ZodArray<z.ZodObject<{
1361
+ id: z.ZodOptional<z.ZodString>;
1362
+ links: z.ZodOptional<z.ZodObject<{
1363
+ about: z.ZodOptional<z.ZodString>;
1364
+ }, "strip", z.ZodTypeAny, {
1365
+ about?: string | undefined;
1366
+ }, {
1367
+ about?: string | undefined;
1368
+ }>>;
1369
+ status: z.ZodOptional<z.ZodString>;
1370
+ code: z.ZodOptional<z.ZodString>;
1371
+ title: z.ZodOptional<z.ZodString>;
1372
+ detail: z.ZodOptional<z.ZodString>;
1373
+ source: z.ZodOptional<z.ZodObject<{
1374
+ pointer: z.ZodOptional<z.ZodString>;
1375
+ parameter: z.ZodOptional<z.ZodString>;
1376
+ }, "strip", z.ZodTypeAny, {
1377
+ pointer?: string | undefined;
1378
+ parameter?: string | undefined;
1379
+ }, {
1380
+ pointer?: string | undefined;
1381
+ parameter?: string | undefined;
1382
+ }>>;
1383
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1384
+ }, "strip", z.ZodTypeAny, {
1385
+ status?: string | undefined;
1386
+ code?: string | undefined;
1387
+ id?: string | undefined;
1388
+ links?: {
1389
+ about?: string | undefined;
1390
+ } | undefined;
1391
+ meta?: Record<string, unknown> | undefined;
1392
+ title?: string | undefined;
1393
+ detail?: string | undefined;
1394
+ source?: {
1395
+ pointer?: string | undefined;
1396
+ parameter?: string | undefined;
1397
+ } | undefined;
1398
+ }, {
1399
+ status?: string | undefined;
1400
+ code?: string | undefined;
1401
+ id?: string | undefined;
1402
+ links?: {
1403
+ about?: string | undefined;
1404
+ } | undefined;
1405
+ meta?: Record<string, unknown> | undefined;
1406
+ title?: string | undefined;
1407
+ detail?: string | undefined;
1408
+ source?: {
1409
+ pointer?: string | undefined;
1410
+ parameter?: string | undefined;
1411
+ } | undefined;
1412
+ }>, "many">;
1413
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1414
+ }, "strip", z.ZodTypeAny, {
1415
+ errors: {
1416
+ status?: string | undefined;
1417
+ code?: string | undefined;
1418
+ id?: string | undefined;
1419
+ links?: {
1420
+ about?: string | undefined;
1421
+ } | undefined;
1422
+ meta?: Record<string, unknown> | undefined;
1423
+ title?: string | undefined;
1424
+ detail?: string | undefined;
1425
+ source?: {
1426
+ pointer?: string | undefined;
1427
+ parameter?: string | undefined;
1428
+ } | undefined;
1429
+ }[];
1430
+ meta?: Record<string, unknown> | undefined;
1431
+ }, {
1432
+ errors: {
1433
+ status?: string | undefined;
1434
+ code?: string | undefined;
1435
+ id?: string | undefined;
1436
+ links?: {
1437
+ about?: string | undefined;
1438
+ } | undefined;
1439
+ meta?: Record<string, unknown> | undefined;
1440
+ title?: string | undefined;
1441
+ detail?: string | undefined;
1442
+ source?: {
1443
+ pointer?: string | undefined;
1444
+ parameter?: string | undefined;
1445
+ } | undefined;
1446
+ }[];
1447
+ meta?: Record<string, unknown> | undefined;
1448
+ }>;
1449
+ };
1450
+ };
1451
+ listAlerts: {
1452
+ pathParams: z.ZodObject<{
1453
+ farmId: z.ZodString;
1454
+ }, "strip", z.ZodTypeAny, {
1455
+ farmId: string;
1456
+ }, {
1457
+ farmId: string;
1458
+ }>;
1459
+ query: z.ZodObject<{
1460
+ unacknowledgedOnly: z.ZodOptional<z.ZodBoolean>;
1461
+ limit: z.ZodOptional<z.ZodNumber>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ limit?: number | undefined;
1464
+ unacknowledgedOnly?: boolean | undefined;
1465
+ }, {
1466
+ limit?: number | undefined;
1467
+ unacknowledgedOnly?: boolean | undefined;
1468
+ }>;
1469
+ summary: "List geofence alerts";
1470
+ method: "GET";
1471
+ path: "/farms/:farmId/geofences/alerts";
1472
+ responses: {
1473
+ 200: z.ZodArray<z.ZodObject<{
1474
+ id: z.ZodString;
1475
+ geofenceId: z.ZodString;
1476
+ geofenceName: z.ZodOptional<z.ZodString>;
1477
+ livestockId: z.ZodOptional<z.ZodString>;
1478
+ livestockTagId: z.ZodOptional<z.ZodString>;
1479
+ groupId: z.ZodOptional<z.ZodString>;
1480
+ groupName: z.ZodOptional<z.ZodString>;
1481
+ alertType: z.ZodEnum<["entry", "exit"]>;
1482
+ timestamp: z.ZodString;
1483
+ coordinates: z.ZodObject<{
1484
+ lat: z.ZodNumber;
1485
+ lng: z.ZodNumber;
1486
+ }, "strip", z.ZodTypeAny, {
1487
+ lat: number;
1488
+ lng: number;
1489
+ }, {
1490
+ lat: number;
1491
+ lng: number;
1492
+ }>;
1493
+ acknowledged: z.ZodBoolean;
1494
+ acknowledgedAt: z.ZodOptional<z.ZodString>;
1495
+ acknowledgedBy: z.ZodOptional<z.ZodString>;
1496
+ }, "strip", z.ZodTypeAny, {
1497
+ coordinates: {
1498
+ lat: number;
1499
+ lng: number;
1500
+ };
1501
+ id: string;
1502
+ timestamp: string;
1503
+ acknowledged: boolean;
1504
+ alertType: "entry" | "exit";
1505
+ geofenceId: string;
1506
+ acknowledgedAt?: string | undefined;
1507
+ acknowledgedBy?: string | undefined;
1508
+ groupId?: string | undefined;
1509
+ geofenceName?: string | undefined;
1510
+ livestockId?: string | undefined;
1511
+ livestockTagId?: string | undefined;
1512
+ groupName?: string | undefined;
1513
+ }, {
1514
+ coordinates: {
1515
+ lat: number;
1516
+ lng: number;
1517
+ };
1518
+ id: string;
1519
+ timestamp: string;
1520
+ acknowledged: boolean;
1521
+ alertType: "entry" | "exit";
1522
+ geofenceId: string;
1523
+ acknowledgedAt?: string | undefined;
1524
+ acknowledgedBy?: string | undefined;
1525
+ groupId?: string | undefined;
1526
+ geofenceName?: string | undefined;
1527
+ livestockId?: string | undefined;
1528
+ livestockTagId?: string | undefined;
1529
+ groupName?: string | undefined;
1530
+ }>, "many">;
1531
+ 403: z.ZodObject<{
1532
+ errors: z.ZodArray<z.ZodObject<{
1533
+ id: z.ZodOptional<z.ZodString>;
1534
+ links: z.ZodOptional<z.ZodObject<{
1535
+ about: z.ZodOptional<z.ZodString>;
1536
+ }, "strip", z.ZodTypeAny, {
1537
+ about?: string | undefined;
1538
+ }, {
1539
+ about?: string | undefined;
1540
+ }>>;
1541
+ status: z.ZodOptional<z.ZodString>;
1542
+ code: z.ZodOptional<z.ZodString>;
1543
+ title: z.ZodOptional<z.ZodString>;
1544
+ detail: z.ZodOptional<z.ZodString>;
1545
+ source: z.ZodOptional<z.ZodObject<{
1546
+ pointer: z.ZodOptional<z.ZodString>;
1547
+ parameter: z.ZodOptional<z.ZodString>;
1548
+ }, "strip", z.ZodTypeAny, {
1549
+ pointer?: string | undefined;
1550
+ parameter?: string | undefined;
1551
+ }, {
1552
+ pointer?: string | undefined;
1553
+ parameter?: string | undefined;
1554
+ }>>;
1555
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1556
+ }, "strip", z.ZodTypeAny, {
1557
+ status?: string | undefined;
1558
+ code?: string | undefined;
1559
+ id?: string | undefined;
1560
+ links?: {
1561
+ about?: string | undefined;
1562
+ } | undefined;
1563
+ meta?: Record<string, unknown> | undefined;
1564
+ title?: string | undefined;
1565
+ detail?: string | undefined;
1566
+ source?: {
1567
+ pointer?: string | undefined;
1568
+ parameter?: string | undefined;
1569
+ } | undefined;
1570
+ }, {
1571
+ status?: string | undefined;
1572
+ code?: string | undefined;
1573
+ id?: string | undefined;
1574
+ links?: {
1575
+ about?: string | undefined;
1576
+ } | undefined;
1577
+ meta?: Record<string, unknown> | undefined;
1578
+ title?: string | undefined;
1579
+ detail?: string | undefined;
1580
+ source?: {
1581
+ pointer?: string | undefined;
1582
+ parameter?: string | undefined;
1583
+ } | undefined;
1584
+ }>, "many">;
1585
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1586
+ }, "strip", z.ZodTypeAny, {
1587
+ errors: {
1588
+ status?: string | undefined;
1589
+ code?: string | undefined;
1590
+ id?: string | undefined;
1591
+ links?: {
1592
+ about?: string | undefined;
1593
+ } | undefined;
1594
+ meta?: Record<string, unknown> | undefined;
1595
+ title?: string | undefined;
1596
+ detail?: string | undefined;
1597
+ source?: {
1598
+ pointer?: string | undefined;
1599
+ parameter?: string | undefined;
1600
+ } | undefined;
1601
+ }[];
1602
+ meta?: Record<string, unknown> | undefined;
1603
+ }, {
1604
+ errors: {
1605
+ status?: string | undefined;
1606
+ code?: string | undefined;
1607
+ id?: string | undefined;
1608
+ links?: {
1609
+ about?: string | undefined;
1610
+ } | undefined;
1611
+ meta?: Record<string, unknown> | undefined;
1612
+ title?: string | undefined;
1613
+ detail?: string | undefined;
1614
+ source?: {
1615
+ pointer?: string | undefined;
1616
+ parameter?: string | undefined;
1617
+ } | undefined;
1618
+ }[];
1619
+ meta?: Record<string, unknown> | undefined;
1620
+ }>;
1621
+ 404: z.ZodObject<{
1622
+ errors: z.ZodArray<z.ZodObject<{
1623
+ id: z.ZodOptional<z.ZodString>;
1624
+ links: z.ZodOptional<z.ZodObject<{
1625
+ about: z.ZodOptional<z.ZodString>;
1626
+ }, "strip", z.ZodTypeAny, {
1627
+ about?: string | undefined;
1628
+ }, {
1629
+ about?: string | undefined;
1630
+ }>>;
1631
+ status: z.ZodOptional<z.ZodString>;
1632
+ code: z.ZodOptional<z.ZodString>;
1633
+ title: z.ZodOptional<z.ZodString>;
1634
+ detail: z.ZodOptional<z.ZodString>;
1635
+ source: z.ZodOptional<z.ZodObject<{
1636
+ pointer: z.ZodOptional<z.ZodString>;
1637
+ parameter: z.ZodOptional<z.ZodString>;
1638
+ }, "strip", z.ZodTypeAny, {
1639
+ pointer?: string | undefined;
1640
+ parameter?: string | undefined;
1641
+ }, {
1642
+ pointer?: string | undefined;
1643
+ parameter?: string | undefined;
1644
+ }>>;
1645
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1646
+ }, "strip", z.ZodTypeAny, {
1647
+ status?: string | undefined;
1648
+ code?: string | undefined;
1649
+ id?: string | undefined;
1650
+ links?: {
1651
+ about?: string | undefined;
1652
+ } | undefined;
1653
+ meta?: Record<string, unknown> | undefined;
1654
+ title?: string | undefined;
1655
+ detail?: string | undefined;
1656
+ source?: {
1657
+ pointer?: string | undefined;
1658
+ parameter?: string | undefined;
1659
+ } | undefined;
1660
+ }, {
1661
+ status?: string | undefined;
1662
+ code?: string | undefined;
1663
+ id?: string | undefined;
1664
+ links?: {
1665
+ about?: string | undefined;
1666
+ } | undefined;
1667
+ meta?: Record<string, unknown> | undefined;
1668
+ title?: string | undefined;
1669
+ detail?: string | undefined;
1670
+ source?: {
1671
+ pointer?: string | undefined;
1672
+ parameter?: string | undefined;
1673
+ } | undefined;
1674
+ }>, "many">;
1675
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1676
+ }, "strip", z.ZodTypeAny, {
1677
+ errors: {
1678
+ status?: string | undefined;
1679
+ code?: string | undefined;
1680
+ id?: string | undefined;
1681
+ links?: {
1682
+ about?: string | undefined;
1683
+ } | undefined;
1684
+ meta?: Record<string, unknown> | undefined;
1685
+ title?: string | undefined;
1686
+ detail?: string | undefined;
1687
+ source?: {
1688
+ pointer?: string | undefined;
1689
+ parameter?: string | undefined;
1690
+ } | undefined;
1691
+ }[];
1692
+ meta?: Record<string, unknown> | undefined;
1693
+ }, {
1694
+ errors: {
1695
+ status?: string | undefined;
1696
+ code?: string | undefined;
1697
+ id?: string | undefined;
1698
+ links?: {
1699
+ about?: string | undefined;
1700
+ } | undefined;
1701
+ meta?: Record<string, unknown> | undefined;
1702
+ title?: string | undefined;
1703
+ detail?: string | undefined;
1704
+ source?: {
1705
+ pointer?: string | undefined;
1706
+ parameter?: string | undefined;
1707
+ } | undefined;
1708
+ }[];
1709
+ meta?: Record<string, unknown> | undefined;
1710
+ }>;
1711
+ };
1712
+ };
1713
+ acknowledgeAlert: {
1714
+ pathParams: z.ZodObject<{
1715
+ farmId: z.ZodString;
1716
+ alertId: z.ZodString;
1717
+ }, "strip", z.ZodTypeAny, {
1718
+ farmId: string;
1719
+ alertId: string;
1720
+ }, {
1721
+ farmId: string;
1722
+ alertId: string;
1723
+ }>;
1724
+ summary: "Acknowledge geofence alert";
1725
+ method: "POST";
1726
+ body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1727
+ path: "/farms/:farmId/geofences/alerts/:alertId/acknowledge";
1728
+ responses: {
1729
+ 204: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1730
+ 403: z.ZodObject<{
1731
+ errors: z.ZodArray<z.ZodObject<{
1732
+ id: z.ZodOptional<z.ZodString>;
1733
+ links: z.ZodOptional<z.ZodObject<{
1734
+ about: z.ZodOptional<z.ZodString>;
1735
+ }, "strip", z.ZodTypeAny, {
1736
+ about?: string | undefined;
1737
+ }, {
1738
+ about?: string | undefined;
1739
+ }>>;
1740
+ status: z.ZodOptional<z.ZodString>;
1741
+ code: z.ZodOptional<z.ZodString>;
1742
+ title: z.ZodOptional<z.ZodString>;
1743
+ detail: z.ZodOptional<z.ZodString>;
1744
+ source: z.ZodOptional<z.ZodObject<{
1745
+ pointer: z.ZodOptional<z.ZodString>;
1746
+ parameter: z.ZodOptional<z.ZodString>;
1747
+ }, "strip", z.ZodTypeAny, {
1748
+ pointer?: string | undefined;
1749
+ parameter?: string | undefined;
1750
+ }, {
1751
+ pointer?: string | undefined;
1752
+ parameter?: string | undefined;
1753
+ }>>;
1754
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1755
+ }, "strip", z.ZodTypeAny, {
1756
+ status?: string | undefined;
1757
+ code?: string | undefined;
1758
+ id?: string | undefined;
1759
+ links?: {
1760
+ about?: string | undefined;
1761
+ } | undefined;
1762
+ meta?: Record<string, unknown> | undefined;
1763
+ title?: string | undefined;
1764
+ detail?: string | undefined;
1765
+ source?: {
1766
+ pointer?: string | undefined;
1767
+ parameter?: string | undefined;
1768
+ } | undefined;
1769
+ }, {
1770
+ status?: string | undefined;
1771
+ code?: string | undefined;
1772
+ id?: string | undefined;
1773
+ links?: {
1774
+ about?: string | undefined;
1775
+ } | undefined;
1776
+ meta?: Record<string, unknown> | undefined;
1777
+ title?: string | undefined;
1778
+ detail?: string | undefined;
1779
+ source?: {
1780
+ pointer?: string | undefined;
1781
+ parameter?: string | undefined;
1782
+ } | undefined;
1783
+ }>, "many">;
1784
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1785
+ }, "strip", z.ZodTypeAny, {
1786
+ errors: {
1787
+ status?: string | undefined;
1788
+ code?: string | undefined;
1789
+ id?: string | undefined;
1790
+ links?: {
1791
+ about?: string | undefined;
1792
+ } | undefined;
1793
+ meta?: Record<string, unknown> | undefined;
1794
+ title?: string | undefined;
1795
+ detail?: string | undefined;
1796
+ source?: {
1797
+ pointer?: string | undefined;
1798
+ parameter?: string | undefined;
1799
+ } | undefined;
1800
+ }[];
1801
+ meta?: Record<string, unknown> | undefined;
1802
+ }, {
1803
+ errors: {
1804
+ status?: string | undefined;
1805
+ code?: string | undefined;
1806
+ id?: string | undefined;
1807
+ links?: {
1808
+ about?: string | undefined;
1809
+ } | undefined;
1810
+ meta?: Record<string, unknown> | undefined;
1811
+ title?: string | undefined;
1812
+ detail?: string | undefined;
1813
+ source?: {
1814
+ pointer?: string | undefined;
1815
+ parameter?: string | undefined;
1816
+ } | undefined;
1817
+ }[];
1818
+ meta?: Record<string, unknown> | undefined;
1819
+ }>;
1820
+ 404: z.ZodObject<{
1821
+ errors: z.ZodArray<z.ZodObject<{
1822
+ id: z.ZodOptional<z.ZodString>;
1823
+ links: z.ZodOptional<z.ZodObject<{
1824
+ about: z.ZodOptional<z.ZodString>;
1825
+ }, "strip", z.ZodTypeAny, {
1826
+ about?: string | undefined;
1827
+ }, {
1828
+ about?: string | undefined;
1829
+ }>>;
1830
+ status: z.ZodOptional<z.ZodString>;
1831
+ code: z.ZodOptional<z.ZodString>;
1832
+ title: z.ZodOptional<z.ZodString>;
1833
+ detail: z.ZodOptional<z.ZodString>;
1834
+ source: z.ZodOptional<z.ZodObject<{
1835
+ pointer: z.ZodOptional<z.ZodString>;
1836
+ parameter: z.ZodOptional<z.ZodString>;
1837
+ }, "strip", z.ZodTypeAny, {
1838
+ pointer?: string | undefined;
1839
+ parameter?: string | undefined;
1840
+ }, {
1841
+ pointer?: string | undefined;
1842
+ parameter?: string | undefined;
1843
+ }>>;
1844
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1845
+ }, "strip", z.ZodTypeAny, {
1846
+ status?: string | undefined;
1847
+ code?: string | undefined;
1848
+ id?: string | undefined;
1849
+ links?: {
1850
+ about?: string | undefined;
1851
+ } | undefined;
1852
+ meta?: Record<string, unknown> | undefined;
1853
+ title?: string | undefined;
1854
+ detail?: string | undefined;
1855
+ source?: {
1856
+ pointer?: string | undefined;
1857
+ parameter?: string | undefined;
1858
+ } | undefined;
1859
+ }, {
1860
+ status?: string | undefined;
1861
+ code?: string | undefined;
1862
+ id?: string | undefined;
1863
+ links?: {
1864
+ about?: string | undefined;
1865
+ } | undefined;
1866
+ meta?: Record<string, unknown> | undefined;
1867
+ title?: string | undefined;
1868
+ detail?: string | undefined;
1869
+ source?: {
1870
+ pointer?: string | undefined;
1871
+ parameter?: string | undefined;
1872
+ } | undefined;
1873
+ }>, "many">;
1874
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1875
+ }, "strip", z.ZodTypeAny, {
1876
+ errors: {
1877
+ status?: string | undefined;
1878
+ code?: string | undefined;
1879
+ id?: string | undefined;
1880
+ links?: {
1881
+ about?: string | undefined;
1882
+ } | undefined;
1883
+ meta?: Record<string, unknown> | undefined;
1884
+ title?: string | undefined;
1885
+ detail?: string | undefined;
1886
+ source?: {
1887
+ pointer?: string | undefined;
1888
+ parameter?: string | undefined;
1889
+ } | undefined;
1890
+ }[];
1891
+ meta?: Record<string, unknown> | undefined;
1892
+ }, {
1893
+ errors: {
1894
+ status?: string | undefined;
1895
+ code?: string | undefined;
1896
+ id?: string | undefined;
1897
+ links?: {
1898
+ about?: string | undefined;
1899
+ } | undefined;
1900
+ meta?: Record<string, unknown> | undefined;
1901
+ title?: string | undefined;
1902
+ detail?: string | undefined;
1903
+ source?: {
1904
+ pointer?: string | undefined;
1905
+ parameter?: string | undefined;
1906
+ } | undefined;
1907
+ }[];
1908
+ meta?: Record<string, unknown> | undefined;
1909
+ }>;
1910
+ };
1911
+ };
1912
+ };
1913
+ //# sourceMappingURL=geofences.routes.d.ts.map