@deepintel-ltd/farmpro-contracts 1.22.1 → 1.22.3

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