@deepintel-ltd/farmpro-contracts 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/index.d.ts +43 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +84 -0
  4. package/dist/routes/analytics.routes.d.ts +754 -0
  5. package/dist/routes/analytics.routes.d.ts.map +1 -0
  6. package/dist/routes/analytics.routes.js +24 -0
  7. package/dist/routes/auth.routes.d.ts +3836 -0
  8. package/dist/routes/auth.routes.d.ts.map +1 -0
  9. package/dist/routes/auth.routes.js +158 -0
  10. package/dist/routes/categories.routes.d.ts +800 -0
  11. package/dist/routes/categories.routes.d.ts.map +1 -0
  12. package/dist/routes/categories.routes.js +120 -0
  13. package/dist/routes/documents.routes.d.ts +2476 -0
  14. package/dist/routes/documents.routes.d.ts.map +1 -0
  15. package/dist/routes/documents.routes.js +100 -0
  16. package/dist/routes/equipment.routes.d.ts +3617 -0
  17. package/dist/routes/equipment.routes.d.ts.map +1 -0
  18. package/dist/routes/equipment.routes.js +118 -0
  19. package/dist/routes/farms.routes.d.ts +2202 -0
  20. package/dist/routes/farms.routes.d.ts.map +1 -0
  21. package/dist/routes/farms.routes.js +111 -0
  22. package/dist/routes/fields.routes.d.ts +3479 -0
  23. package/dist/routes/fields.routes.d.ts.map +1 -0
  24. package/dist/routes/fields.routes.js +96 -0
  25. package/dist/routes/finance.routes.d.ts +6855 -0
  26. package/dist/routes/finance.routes.d.ts.map +1 -0
  27. package/dist/routes/finance.routes.js +259 -0
  28. package/dist/routes/harvest.routes.d.ts +2337 -0
  29. package/dist/routes/harvest.routes.d.ts.map +1 -0
  30. package/dist/routes/harvest.routes.js +99 -0
  31. package/dist/routes/index.d.ts +71 -0
  32. package/dist/routes/index.d.ts.map +1 -0
  33. package/dist/routes/index.js +45 -0
  34. package/dist/routes/inventory.routes.d.ts +2853 -0
  35. package/dist/routes/inventory.routes.d.ts.map +1 -0
  36. package/dist/routes/inventory.routes.js +121 -0
  37. package/dist/routes/soil-tests.routes.d.ts +3005 -0
  38. package/dist/routes/soil-tests.routes.d.ts.map +1 -0
  39. package/dist/routes/soil-tests.routes.js +98 -0
  40. package/dist/routes/suppliers.routes.d.ts +4190 -0
  41. package/dist/routes/suppliers.routes.d.ts.map +1 -0
  42. package/dist/routes/suppliers.routes.js +146 -0
  43. package/dist/routes/tasks.routes.d.ts +4248 -0
  44. package/dist/routes/tasks.routes.d.ts.map +1 -0
  45. package/dist/routes/tasks.routes.js +138 -0
  46. package/dist/routes/team.routes.d.ts +2210 -0
  47. package/dist/routes/team.routes.d.ts.map +1 -0
  48. package/dist/routes/team.routes.js +98 -0
  49. package/dist/routes/users.routes.d.ts +721 -0
  50. package/dist/routes/users.routes.d.ts.map +1 -0
  51. package/dist/routes/users.routes.js +35 -0
  52. package/dist/routes/weather.routes.d.ts +500 -0
  53. package/dist/routes/weather.routes.d.ts.map +1 -0
  54. package/dist/routes/weather.routes.js +23 -0
  55. package/dist/schemas/analytics.schemas.d.ts +1344 -0
  56. package/dist/schemas/analytics.schemas.d.ts.map +1 -0
  57. package/dist/schemas/analytics.schemas.js +73 -0
  58. package/dist/schemas/auth.schemas.d.ts +1093 -0
  59. package/dist/schemas/auth.schemas.d.ts.map +1 -0
  60. package/dist/schemas/auth.schemas.js +159 -0
  61. package/dist/schemas/categories.schemas.d.ts +471 -0
  62. package/dist/schemas/categories.schemas.d.ts.map +1 -0
  63. package/dist/schemas/categories.schemas.js +51 -0
  64. package/dist/schemas/common.schemas.d.ts +562 -0
  65. package/dist/schemas/common.schemas.d.ts.map +1 -0
  66. package/dist/schemas/common.schemas.js +122 -0
  67. package/dist/schemas/documents.schemas.d.ts +850 -0
  68. package/dist/schemas/documents.schemas.d.ts.map +1 -0
  69. package/dist/schemas/documents.schemas.js +75 -0
  70. package/dist/schemas/equipment.schemas.d.ts +1618 -0
  71. package/dist/schemas/equipment.schemas.d.ts.map +1 -0
  72. package/dist/schemas/equipment.schemas.js +125 -0
  73. package/dist/schemas/farms.schemas.d.ts +1171 -0
  74. package/dist/schemas/farms.schemas.d.ts.map +1 -0
  75. package/dist/schemas/farms.schemas.js +62 -0
  76. package/dist/schemas/fields.schemas.d.ts +2508 -0
  77. package/dist/schemas/fields.schemas.d.ts.map +1 -0
  78. package/dist/schemas/fields.schemas.js +125 -0
  79. package/dist/schemas/finance.schemas.d.ts +2869 -0
  80. package/dist/schemas/finance.schemas.d.ts.map +1 -0
  81. package/dist/schemas/finance.schemas.js +196 -0
  82. package/dist/schemas/harvest.schemas.d.ts +1051 -0
  83. package/dist/schemas/harvest.schemas.d.ts.map +1 -0
  84. package/dist/schemas/harvest.schemas.js +71 -0
  85. package/dist/schemas/inventory.schemas.d.ts +1138 -0
  86. package/dist/schemas/inventory.schemas.d.ts.map +1 -0
  87. package/dist/schemas/inventory.schemas.js +89 -0
  88. package/dist/schemas/soil-tests.schemas.d.ts +1885 -0
  89. package/dist/schemas/soil-tests.schemas.d.ts.map +1 -0
  90. package/dist/schemas/soil-tests.schemas.js +102 -0
  91. package/dist/schemas/suppliers.schemas.d.ts +1774 -0
  92. package/dist/schemas/suppliers.schemas.d.ts.map +1 -0
  93. package/dist/schemas/suppliers.schemas.js +121 -0
  94. package/dist/schemas/tasks.schemas.d.ts +1811 -0
  95. package/dist/schemas/tasks.schemas.d.ts.map +1 -0
  96. package/dist/schemas/tasks.schemas.js +124 -0
  97. package/dist/schemas/team.schemas.d.ts +583 -0
  98. package/dist/schemas/team.schemas.d.ts.map +1 -0
  99. package/dist/schemas/team.schemas.js +60 -0
  100. package/dist/schemas/users.schemas.d.ts +288 -0
  101. package/dist/schemas/users.schemas.d.ts.map +1 -0
  102. package/dist/schemas/users.schemas.js +32 -0
  103. package/dist/schemas/weather.schemas.d.ts +682 -0
  104. package/dist/schemas/weather.schemas.d.ts.map +1 -0
  105. package/dist/schemas/weather.schemas.js +49 -0
  106. package/package.json +1 -1
@@ -0,0 +1,1171 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Farm schemas - JSON:API compliant
4
+ */
5
+ export declare const farmAttributesSchema: z.ZodObject<{
6
+ name: z.ZodString;
7
+ location: z.ZodString;
8
+ size: z.ZodNullable<z.ZodNumber>;
9
+ boundary: z.ZodNullable<z.ZodObject<{
10
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
11
+ 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">]>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
14
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
15
+ }, {
16
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
17
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
18
+ }>>;
19
+ } & {
20
+ createdAt: z.ZodString;
21
+ updatedAt: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
23
+ createdAt: string;
24
+ updatedAt: string;
25
+ name: string;
26
+ location: string;
27
+ size: number | null;
28
+ boundary: {
29
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
30
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
31
+ } | null;
32
+ }, {
33
+ createdAt: string;
34
+ updatedAt: string;
35
+ name: string;
36
+ location: string;
37
+ size: number | null;
38
+ boundary: {
39
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
40
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
41
+ } | null;
42
+ }>;
43
+ export declare const createFarmAttributesSchema: z.ZodObject<{
44
+ name: z.ZodString;
45
+ location: z.ZodString;
46
+ size: z.ZodOptional<z.ZodNumber>;
47
+ boundary: z.ZodOptional<z.ZodObject<{
48
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
49
+ 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">]>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
52
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
53
+ }, {
54
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
55
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
56
+ }>>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ name: string;
59
+ location: string;
60
+ size?: number | undefined;
61
+ boundary?: {
62
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
63
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
64
+ } | undefined;
65
+ }, {
66
+ name: string;
67
+ location: string;
68
+ size?: number | undefined;
69
+ boundary?: {
70
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
71
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
72
+ } | undefined;
73
+ }>;
74
+ export declare const updateFarmAttributesSchema: z.ZodObject<{
75
+ name: z.ZodOptional<z.ZodString>;
76
+ location: z.ZodOptional<z.ZodString>;
77
+ size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
78
+ boundary: z.ZodOptional<z.ZodOptional<z.ZodObject<{
79
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
80
+ 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">]>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
83
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
84
+ }, {
85
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
86
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
87
+ }>>>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ name?: string | undefined;
90
+ location?: string | undefined;
91
+ size?: number | undefined;
92
+ boundary?: {
93
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
94
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
95
+ } | undefined;
96
+ }, {
97
+ name?: string | undefined;
98
+ location?: string | undefined;
99
+ size?: number | undefined;
100
+ boundary?: {
101
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
102
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
103
+ } | undefined;
104
+ }>;
105
+ export declare const createFarmSchema: z.ZodObject<{
106
+ type: z.ZodLiteral<"farms">;
107
+ attributes: z.ZodObject<{
108
+ name: z.ZodString;
109
+ location: z.ZodString;
110
+ size: z.ZodOptional<z.ZodNumber>;
111
+ boundary: z.ZodOptional<z.ZodObject<{
112
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
113
+ 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">]>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
116
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
117
+ }, {
118
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
119
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
120
+ }>>;
121
+ }, "strip", z.ZodTypeAny, {
122
+ name: string;
123
+ location: string;
124
+ size?: number | undefined;
125
+ boundary?: {
126
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
127
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
128
+ } | undefined;
129
+ }, {
130
+ name: string;
131
+ location: string;
132
+ size?: number | undefined;
133
+ boundary?: {
134
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
135
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
136
+ } | undefined;
137
+ }>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ type: "farms";
140
+ attributes: {
141
+ name: string;
142
+ location: string;
143
+ size?: number | undefined;
144
+ boundary?: {
145
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
146
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
147
+ } | undefined;
148
+ };
149
+ }, {
150
+ type: "farms";
151
+ attributes: {
152
+ name: string;
153
+ location: string;
154
+ size?: number | undefined;
155
+ boundary?: {
156
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
157
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
158
+ } | undefined;
159
+ };
160
+ }>;
161
+ export declare const updateFarmSchema: z.ZodObject<{
162
+ type: z.ZodLiteral<"farms">;
163
+ id: z.ZodString;
164
+ attributes: z.ZodObject<{
165
+ name: z.ZodOptional<z.ZodString>;
166
+ location: z.ZodOptional<z.ZodString>;
167
+ size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
168
+ boundary: z.ZodOptional<z.ZodOptional<z.ZodObject<{
169
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
170
+ 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">]>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
173
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
174
+ }, {
175
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
176
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
177
+ }>>>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ name?: string | undefined;
180
+ location?: string | undefined;
181
+ size?: number | undefined;
182
+ boundary?: {
183
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
184
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
185
+ } | undefined;
186
+ }, {
187
+ name?: string | undefined;
188
+ location?: string | undefined;
189
+ size?: number | undefined;
190
+ boundary?: {
191
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
192
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
193
+ } | undefined;
194
+ }>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ type: "farms";
197
+ id: string;
198
+ attributes: {
199
+ name?: string | undefined;
200
+ location?: string | undefined;
201
+ size?: number | undefined;
202
+ boundary?: {
203
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
204
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
205
+ } | undefined;
206
+ };
207
+ }, {
208
+ type: "farms";
209
+ id: string;
210
+ attributes: {
211
+ name?: string | undefined;
212
+ location?: string | undefined;
213
+ size?: number | undefined;
214
+ boundary?: {
215
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
216
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
217
+ } | undefined;
218
+ };
219
+ }>;
220
+ export declare const farmResourceSchema: z.ZodObject<{
221
+ type: z.ZodLiteral<string>;
222
+ id: z.ZodString;
223
+ attributes: z.ZodObject<{
224
+ name: z.ZodString;
225
+ location: z.ZodString;
226
+ size: z.ZodNullable<z.ZodNumber>;
227
+ boundary: z.ZodNullable<z.ZodObject<{
228
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
229
+ 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">]>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
232
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
233
+ }, {
234
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
235
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
236
+ }>>;
237
+ } & {
238
+ createdAt: z.ZodString;
239
+ updatedAt: z.ZodString;
240
+ }, "strip", z.ZodTypeAny, {
241
+ createdAt: string;
242
+ updatedAt: string;
243
+ name: string;
244
+ location: string;
245
+ size: number | null;
246
+ boundary: {
247
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
248
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
249
+ } | null;
250
+ }, {
251
+ createdAt: string;
252
+ updatedAt: string;
253
+ name: string;
254
+ location: string;
255
+ size: number | null;
256
+ boundary: {
257
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
258
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
259
+ } | null;
260
+ }>;
261
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
262
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
263
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ type: string;
266
+ id: string;
267
+ attributes: {
268
+ createdAt: string;
269
+ updatedAt: string;
270
+ name: string;
271
+ location: string;
272
+ size: number | null;
273
+ boundary: {
274
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
275
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
276
+ } | null;
277
+ };
278
+ relationships?: Record<string, unknown> | undefined;
279
+ links?: Record<string, string> | undefined;
280
+ meta?: Record<string, unknown> | undefined;
281
+ }, {
282
+ type: string;
283
+ id: string;
284
+ attributes: {
285
+ createdAt: string;
286
+ updatedAt: string;
287
+ name: string;
288
+ location: string;
289
+ size: number | null;
290
+ boundary: {
291
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
292
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
293
+ } | null;
294
+ };
295
+ relationships?: Record<string, unknown> | undefined;
296
+ links?: Record<string, string> | undefined;
297
+ meta?: Record<string, unknown> | undefined;
298
+ }>;
299
+ export declare const farmDetailResourceSchema: z.ZodObject<{
300
+ type: z.ZodLiteral<string>;
301
+ id: z.ZodString;
302
+ attributes: z.ZodObject<{
303
+ name: z.ZodString;
304
+ location: z.ZodString;
305
+ size: z.ZodNullable<z.ZodNumber>;
306
+ boundary: z.ZodNullable<z.ZodObject<{
307
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
308
+ 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">]>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
311
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
312
+ }, {
313
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
314
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
315
+ }>>;
316
+ } & {
317
+ createdAt: z.ZodString;
318
+ updatedAt: z.ZodString;
319
+ }, "strip", z.ZodTypeAny, {
320
+ createdAt: string;
321
+ updatedAt: string;
322
+ name: string;
323
+ location: string;
324
+ size: number | null;
325
+ boundary: {
326
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
327
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
328
+ } | null;
329
+ }, {
330
+ createdAt: string;
331
+ updatedAt: string;
332
+ name: string;
333
+ location: string;
334
+ size: number | null;
335
+ boundary: {
336
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
337
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
338
+ } | null;
339
+ }>;
340
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
341
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
342
+ } & {
343
+ relationships: z.ZodOptional<z.ZodObject<{
344
+ fields: z.ZodOptional<z.ZodObject<{
345
+ meta: z.ZodObject<{
346
+ count: z.ZodNumber;
347
+ }, "strip", z.ZodTypeAny, {
348
+ count: number;
349
+ }, {
350
+ count: number;
351
+ }>;
352
+ links: z.ZodObject<{
353
+ related: z.ZodString;
354
+ }, "strip", z.ZodTypeAny, {
355
+ related: string;
356
+ }, {
357
+ related: string;
358
+ }>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ links: {
361
+ related: string;
362
+ };
363
+ meta: {
364
+ count: number;
365
+ };
366
+ }, {
367
+ links: {
368
+ related: string;
369
+ };
370
+ meta: {
371
+ count: number;
372
+ };
373
+ }>>;
374
+ team: z.ZodOptional<z.ZodObject<{
375
+ meta: z.ZodObject<{
376
+ count: z.ZodNumber;
377
+ }, "strip", z.ZodTypeAny, {
378
+ count: number;
379
+ }, {
380
+ count: number;
381
+ }>;
382
+ links: z.ZodObject<{
383
+ related: z.ZodString;
384
+ }, "strip", z.ZodTypeAny, {
385
+ related: string;
386
+ }, {
387
+ related: string;
388
+ }>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ links: {
391
+ related: string;
392
+ };
393
+ meta: {
394
+ count: number;
395
+ };
396
+ }, {
397
+ links: {
398
+ related: string;
399
+ };
400
+ meta: {
401
+ count: number;
402
+ };
403
+ }>>;
404
+ }, "strip", z.ZodTypeAny, {
405
+ fields?: {
406
+ links: {
407
+ related: string;
408
+ };
409
+ meta: {
410
+ count: number;
411
+ };
412
+ } | undefined;
413
+ team?: {
414
+ links: {
415
+ related: string;
416
+ };
417
+ meta: {
418
+ count: number;
419
+ };
420
+ } | undefined;
421
+ }, {
422
+ fields?: {
423
+ links: {
424
+ related: string;
425
+ };
426
+ meta: {
427
+ count: number;
428
+ };
429
+ } | undefined;
430
+ team?: {
431
+ links: {
432
+ related: string;
433
+ };
434
+ meta: {
435
+ count: number;
436
+ };
437
+ } | undefined;
438
+ }>>;
439
+ }, "strip", z.ZodTypeAny, {
440
+ type: string;
441
+ id: string;
442
+ attributes: {
443
+ createdAt: string;
444
+ updatedAt: string;
445
+ name: string;
446
+ location: string;
447
+ size: number | null;
448
+ boundary: {
449
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
450
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
451
+ } | null;
452
+ };
453
+ relationships?: {
454
+ fields?: {
455
+ links: {
456
+ related: string;
457
+ };
458
+ meta: {
459
+ count: number;
460
+ };
461
+ } | undefined;
462
+ team?: {
463
+ links: {
464
+ related: string;
465
+ };
466
+ meta: {
467
+ count: number;
468
+ };
469
+ } | undefined;
470
+ } | undefined;
471
+ links?: Record<string, string> | undefined;
472
+ meta?: Record<string, unknown> | undefined;
473
+ }, {
474
+ type: string;
475
+ id: string;
476
+ attributes: {
477
+ createdAt: string;
478
+ updatedAt: string;
479
+ name: string;
480
+ location: string;
481
+ size: number | null;
482
+ boundary: {
483
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
484
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
485
+ } | null;
486
+ };
487
+ relationships?: {
488
+ fields?: {
489
+ links: {
490
+ related: string;
491
+ };
492
+ meta: {
493
+ count: number;
494
+ };
495
+ } | undefined;
496
+ team?: {
497
+ links: {
498
+ related: string;
499
+ };
500
+ meta: {
501
+ count: number;
502
+ };
503
+ } | undefined;
504
+ } | undefined;
505
+ links?: Record<string, string> | undefined;
506
+ meta?: Record<string, unknown> | undefined;
507
+ }>;
508
+ export declare const farmResponseSchema: z.ZodObject<{
509
+ data: z.ZodObject<{
510
+ type: z.ZodLiteral<string>;
511
+ id: z.ZodString;
512
+ attributes: z.ZodObject<{
513
+ name: z.ZodString;
514
+ location: z.ZodString;
515
+ size: z.ZodNullable<z.ZodNumber>;
516
+ boundary: z.ZodNullable<z.ZodObject<{
517
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
518
+ 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">]>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
521
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
522
+ }, {
523
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
524
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
525
+ }>>;
526
+ } & {
527
+ createdAt: z.ZodString;
528
+ updatedAt: z.ZodString;
529
+ }, "strip", z.ZodTypeAny, {
530
+ createdAt: string;
531
+ updatedAt: string;
532
+ name: string;
533
+ location: string;
534
+ size: number | null;
535
+ boundary: {
536
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
537
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
538
+ } | null;
539
+ }, {
540
+ createdAt: string;
541
+ updatedAt: string;
542
+ name: string;
543
+ location: string;
544
+ size: number | null;
545
+ boundary: {
546
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
547
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
548
+ } | null;
549
+ }>;
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: {
557
+ createdAt: string;
558
+ updatedAt: string;
559
+ name: string;
560
+ location: string;
561
+ size: number | null;
562
+ boundary: {
563
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
564
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
565
+ } | null;
566
+ };
567
+ relationships?: Record<string, unknown> | undefined;
568
+ links?: Record<string, string> | undefined;
569
+ meta?: Record<string, unknown> | undefined;
570
+ }, {
571
+ type: string;
572
+ id: string;
573
+ attributes: {
574
+ createdAt: string;
575
+ updatedAt: string;
576
+ name: string;
577
+ location: string;
578
+ size: number | null;
579
+ boundary: {
580
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
581
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
582
+ } | null;
583
+ };
584
+ relationships?: Record<string, unknown> | undefined;
585
+ links?: Record<string, string> | undefined;
586
+ meta?: Record<string, unknown> | undefined;
587
+ }>;
588
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
589
+ type: z.ZodString;
590
+ id: z.ZodString;
591
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
592
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
593
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
594
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
595
+ }, "strip", z.ZodTypeAny, {
596
+ type: string;
597
+ id: string;
598
+ attributes?: Record<string, unknown> | undefined;
599
+ relationships?: Record<string, unknown> | undefined;
600
+ links?: Record<string, string> | undefined;
601
+ meta?: Record<string, unknown> | undefined;
602
+ }, {
603
+ type: string;
604
+ id: string;
605
+ attributes?: Record<string, unknown> | undefined;
606
+ relationships?: Record<string, unknown> | undefined;
607
+ links?: Record<string, string> | undefined;
608
+ meta?: Record<string, unknown> | undefined;
609
+ }>, "many">>;
610
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
611
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ data: {
614
+ type: string;
615
+ id: string;
616
+ attributes: {
617
+ createdAt: string;
618
+ updatedAt: string;
619
+ name: string;
620
+ location: string;
621
+ size: number | null;
622
+ boundary: {
623
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
624
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
625
+ } | null;
626
+ };
627
+ relationships?: Record<string, unknown> | undefined;
628
+ links?: Record<string, string> | undefined;
629
+ meta?: Record<string, unknown> | undefined;
630
+ };
631
+ links?: Record<string, string> | undefined;
632
+ meta?: Record<string, unknown> | undefined;
633
+ included?: {
634
+ type: string;
635
+ id: string;
636
+ attributes?: Record<string, unknown> | undefined;
637
+ relationships?: Record<string, unknown> | undefined;
638
+ links?: Record<string, string> | undefined;
639
+ meta?: Record<string, unknown> | undefined;
640
+ }[] | undefined;
641
+ }, {
642
+ data: {
643
+ type: string;
644
+ id: string;
645
+ attributes: {
646
+ createdAt: string;
647
+ updatedAt: string;
648
+ name: string;
649
+ location: string;
650
+ size: number | null;
651
+ boundary: {
652
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
653
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
654
+ } | null;
655
+ };
656
+ relationships?: Record<string, unknown> | undefined;
657
+ links?: Record<string, string> | undefined;
658
+ meta?: Record<string, unknown> | undefined;
659
+ };
660
+ links?: Record<string, string> | undefined;
661
+ meta?: Record<string, unknown> | undefined;
662
+ included?: {
663
+ type: string;
664
+ id: string;
665
+ attributes?: Record<string, unknown> | undefined;
666
+ relationships?: Record<string, unknown> | undefined;
667
+ links?: Record<string, string> | undefined;
668
+ meta?: Record<string, unknown> | undefined;
669
+ }[] | undefined;
670
+ }>;
671
+ export declare const farmDetailResponseSchema: z.ZodObject<{
672
+ data: z.ZodObject<{
673
+ type: z.ZodLiteral<string>;
674
+ id: z.ZodString;
675
+ attributes: z.ZodObject<{
676
+ name: z.ZodString;
677
+ location: z.ZodString;
678
+ size: z.ZodNullable<z.ZodNumber>;
679
+ boundary: z.ZodNullable<z.ZodObject<{
680
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
681
+ 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">]>;
682
+ }, "strip", z.ZodTypeAny, {
683
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
684
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
685
+ }, {
686
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
687
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
688
+ }>>;
689
+ } & {
690
+ createdAt: z.ZodString;
691
+ updatedAt: z.ZodString;
692
+ }, "strip", z.ZodTypeAny, {
693
+ createdAt: string;
694
+ updatedAt: string;
695
+ name: string;
696
+ location: string;
697
+ size: number | null;
698
+ boundary: {
699
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
700
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
701
+ } | null;
702
+ }, {
703
+ createdAt: string;
704
+ updatedAt: string;
705
+ name: string;
706
+ location: string;
707
+ size: number | null;
708
+ boundary: {
709
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
710
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
711
+ } | null;
712
+ }>;
713
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
714
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
715
+ } & {
716
+ relationships: z.ZodOptional<z.ZodObject<{
717
+ fields: z.ZodOptional<z.ZodObject<{
718
+ meta: z.ZodObject<{
719
+ count: z.ZodNumber;
720
+ }, "strip", z.ZodTypeAny, {
721
+ count: number;
722
+ }, {
723
+ count: number;
724
+ }>;
725
+ links: z.ZodObject<{
726
+ related: z.ZodString;
727
+ }, "strip", z.ZodTypeAny, {
728
+ related: string;
729
+ }, {
730
+ related: string;
731
+ }>;
732
+ }, "strip", z.ZodTypeAny, {
733
+ links: {
734
+ related: string;
735
+ };
736
+ meta: {
737
+ count: number;
738
+ };
739
+ }, {
740
+ links: {
741
+ related: string;
742
+ };
743
+ meta: {
744
+ count: number;
745
+ };
746
+ }>>;
747
+ team: z.ZodOptional<z.ZodObject<{
748
+ meta: z.ZodObject<{
749
+ count: z.ZodNumber;
750
+ }, "strip", z.ZodTypeAny, {
751
+ count: number;
752
+ }, {
753
+ count: number;
754
+ }>;
755
+ links: z.ZodObject<{
756
+ related: z.ZodString;
757
+ }, "strip", z.ZodTypeAny, {
758
+ related: string;
759
+ }, {
760
+ related: string;
761
+ }>;
762
+ }, "strip", z.ZodTypeAny, {
763
+ links: {
764
+ related: string;
765
+ };
766
+ meta: {
767
+ count: number;
768
+ };
769
+ }, {
770
+ links: {
771
+ related: string;
772
+ };
773
+ meta: {
774
+ count: number;
775
+ };
776
+ }>>;
777
+ }, "strip", z.ZodTypeAny, {
778
+ fields?: {
779
+ links: {
780
+ related: string;
781
+ };
782
+ meta: {
783
+ count: number;
784
+ };
785
+ } | undefined;
786
+ team?: {
787
+ links: {
788
+ related: string;
789
+ };
790
+ meta: {
791
+ count: number;
792
+ };
793
+ } | undefined;
794
+ }, {
795
+ fields?: {
796
+ links: {
797
+ related: string;
798
+ };
799
+ meta: {
800
+ count: number;
801
+ };
802
+ } | undefined;
803
+ team?: {
804
+ links: {
805
+ related: string;
806
+ };
807
+ meta: {
808
+ count: number;
809
+ };
810
+ } | undefined;
811
+ }>>;
812
+ }, "strip", z.ZodTypeAny, {
813
+ type: string;
814
+ id: string;
815
+ attributes: {
816
+ createdAt: string;
817
+ updatedAt: string;
818
+ name: string;
819
+ location: string;
820
+ size: number | null;
821
+ boundary: {
822
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
823
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
824
+ } | null;
825
+ };
826
+ relationships?: {
827
+ fields?: {
828
+ links: {
829
+ related: string;
830
+ };
831
+ meta: {
832
+ count: number;
833
+ };
834
+ } | undefined;
835
+ team?: {
836
+ links: {
837
+ related: string;
838
+ };
839
+ meta: {
840
+ count: number;
841
+ };
842
+ } | undefined;
843
+ } | undefined;
844
+ links?: Record<string, string> | undefined;
845
+ meta?: Record<string, unknown> | undefined;
846
+ }, {
847
+ type: string;
848
+ id: string;
849
+ attributes: {
850
+ createdAt: string;
851
+ updatedAt: string;
852
+ name: string;
853
+ location: string;
854
+ size: number | null;
855
+ boundary: {
856
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
857
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
858
+ } | null;
859
+ };
860
+ relationships?: {
861
+ fields?: {
862
+ links: {
863
+ related: string;
864
+ };
865
+ meta: {
866
+ count: number;
867
+ };
868
+ } | undefined;
869
+ team?: {
870
+ links: {
871
+ related: string;
872
+ };
873
+ meta: {
874
+ count: number;
875
+ };
876
+ } | undefined;
877
+ } | undefined;
878
+ links?: Record<string, string> | undefined;
879
+ meta?: Record<string, unknown> | undefined;
880
+ }>;
881
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
882
+ type: z.ZodString;
883
+ id: z.ZodString;
884
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
885
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
886
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
887
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
888
+ }, "strip", z.ZodTypeAny, {
889
+ type: string;
890
+ id: string;
891
+ attributes?: Record<string, unknown> | undefined;
892
+ relationships?: Record<string, unknown> | undefined;
893
+ links?: Record<string, string> | undefined;
894
+ meta?: Record<string, unknown> | undefined;
895
+ }, {
896
+ type: string;
897
+ id: string;
898
+ attributes?: Record<string, unknown> | undefined;
899
+ relationships?: Record<string, unknown> | undefined;
900
+ links?: Record<string, string> | undefined;
901
+ meta?: Record<string, unknown> | undefined;
902
+ }>, "many">>;
903
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
904
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
905
+ }, "strip", z.ZodTypeAny, {
906
+ data: {
907
+ type: string;
908
+ id: string;
909
+ attributes: {
910
+ createdAt: string;
911
+ updatedAt: string;
912
+ name: string;
913
+ location: string;
914
+ size: number | null;
915
+ boundary: {
916
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
917
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
918
+ } | null;
919
+ };
920
+ relationships?: {
921
+ fields?: {
922
+ links: {
923
+ related: string;
924
+ };
925
+ meta: {
926
+ count: number;
927
+ };
928
+ } | undefined;
929
+ team?: {
930
+ links: {
931
+ related: string;
932
+ };
933
+ meta: {
934
+ count: number;
935
+ };
936
+ } | undefined;
937
+ } | undefined;
938
+ links?: Record<string, string> | undefined;
939
+ meta?: Record<string, unknown> | undefined;
940
+ };
941
+ links?: Record<string, string> | undefined;
942
+ meta?: Record<string, unknown> | undefined;
943
+ included?: {
944
+ type: string;
945
+ id: string;
946
+ attributes?: Record<string, unknown> | undefined;
947
+ relationships?: Record<string, unknown> | undefined;
948
+ links?: Record<string, string> | undefined;
949
+ meta?: Record<string, unknown> | undefined;
950
+ }[] | undefined;
951
+ }, {
952
+ data: {
953
+ type: string;
954
+ id: string;
955
+ attributes: {
956
+ createdAt: string;
957
+ updatedAt: string;
958
+ name: string;
959
+ location: string;
960
+ size: number | null;
961
+ boundary: {
962
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
963
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
964
+ } | null;
965
+ };
966
+ relationships?: {
967
+ fields?: {
968
+ links: {
969
+ related: string;
970
+ };
971
+ meta: {
972
+ count: number;
973
+ };
974
+ } | undefined;
975
+ team?: {
976
+ links: {
977
+ related: string;
978
+ };
979
+ meta: {
980
+ count: number;
981
+ };
982
+ } | undefined;
983
+ } | undefined;
984
+ links?: Record<string, string> | undefined;
985
+ meta?: Record<string, unknown> | undefined;
986
+ };
987
+ links?: Record<string, string> | undefined;
988
+ meta?: Record<string, unknown> | undefined;
989
+ included?: {
990
+ type: string;
991
+ id: string;
992
+ attributes?: Record<string, unknown> | undefined;
993
+ relationships?: Record<string, unknown> | undefined;
994
+ links?: Record<string, string> | undefined;
995
+ meta?: Record<string, unknown> | undefined;
996
+ }[] | undefined;
997
+ }>;
998
+ export declare const farmListResponseSchema: z.ZodObject<{
999
+ data: z.ZodArray<z.ZodObject<{
1000
+ type: z.ZodLiteral<string>;
1001
+ id: z.ZodString;
1002
+ attributes: z.ZodObject<{
1003
+ name: z.ZodString;
1004
+ location: z.ZodString;
1005
+ size: z.ZodNullable<z.ZodNumber>;
1006
+ boundary: z.ZodNullable<z.ZodObject<{
1007
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
1008
+ 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">]>;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1011
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
1012
+ }, {
1013
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1014
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
1015
+ }>>;
1016
+ } & {
1017
+ createdAt: z.ZodString;
1018
+ updatedAt: z.ZodString;
1019
+ }, "strip", z.ZodTypeAny, {
1020
+ createdAt: string;
1021
+ updatedAt: string;
1022
+ name: string;
1023
+ location: string;
1024
+ size: number | null;
1025
+ boundary: {
1026
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1027
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
1028
+ } | null;
1029
+ }, {
1030
+ createdAt: string;
1031
+ updatedAt: string;
1032
+ name: string;
1033
+ location: string;
1034
+ size: number | null;
1035
+ boundary: {
1036
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1037
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
1038
+ } | null;
1039
+ }>;
1040
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1041
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1042
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ type: string;
1045
+ id: string;
1046
+ attributes: {
1047
+ createdAt: string;
1048
+ updatedAt: string;
1049
+ name: string;
1050
+ location: string;
1051
+ size: number | null;
1052
+ boundary: {
1053
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1054
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
1055
+ } | null;
1056
+ };
1057
+ relationships?: Record<string, unknown> | undefined;
1058
+ links?: Record<string, string> | undefined;
1059
+ meta?: Record<string, unknown> | undefined;
1060
+ }, {
1061
+ type: string;
1062
+ id: string;
1063
+ attributes: {
1064
+ createdAt: string;
1065
+ updatedAt: string;
1066
+ name: string;
1067
+ location: string;
1068
+ size: number | null;
1069
+ boundary: {
1070
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1071
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
1072
+ } | null;
1073
+ };
1074
+ relationships?: Record<string, unknown> | undefined;
1075
+ links?: Record<string, string> | undefined;
1076
+ meta?: Record<string, unknown> | undefined;
1077
+ }>, "many">;
1078
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
1079
+ type: z.ZodString;
1080
+ id: z.ZodString;
1081
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1082
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1083
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1084
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ type: string;
1087
+ id: string;
1088
+ attributes?: Record<string, unknown> | undefined;
1089
+ relationships?: Record<string, unknown> | undefined;
1090
+ links?: Record<string, string> | undefined;
1091
+ meta?: Record<string, unknown> | undefined;
1092
+ }, {
1093
+ type: string;
1094
+ id: string;
1095
+ attributes?: Record<string, unknown> | undefined;
1096
+ relationships?: Record<string, unknown> | undefined;
1097
+ links?: Record<string, string> | undefined;
1098
+ meta?: Record<string, unknown> | undefined;
1099
+ }>, "many">>;
1100
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1101
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ data: {
1104
+ type: string;
1105
+ id: string;
1106
+ attributes: {
1107
+ createdAt: string;
1108
+ updatedAt: string;
1109
+ name: string;
1110
+ location: string;
1111
+ size: number | null;
1112
+ boundary: {
1113
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1114
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
1115
+ } | null;
1116
+ };
1117
+ relationships?: Record<string, unknown> | undefined;
1118
+ links?: Record<string, string> | undefined;
1119
+ meta?: Record<string, unknown> | undefined;
1120
+ }[];
1121
+ links?: Record<string, string> | undefined;
1122
+ meta?: Record<string, unknown> | undefined;
1123
+ included?: {
1124
+ type: string;
1125
+ id: string;
1126
+ attributes?: Record<string, unknown> | undefined;
1127
+ relationships?: Record<string, unknown> | undefined;
1128
+ links?: Record<string, string> | undefined;
1129
+ meta?: Record<string, unknown> | undefined;
1130
+ }[] | undefined;
1131
+ }, {
1132
+ data: {
1133
+ type: string;
1134
+ id: string;
1135
+ attributes: {
1136
+ createdAt: string;
1137
+ updatedAt: string;
1138
+ name: string;
1139
+ location: string;
1140
+ size: number | null;
1141
+ boundary: {
1142
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1143
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
1144
+ } | null;
1145
+ };
1146
+ relationships?: Record<string, unknown> | undefined;
1147
+ links?: Record<string, string> | undefined;
1148
+ meta?: Record<string, unknown> | undefined;
1149
+ }[];
1150
+ links?: Record<string, string> | undefined;
1151
+ meta?: Record<string, unknown> | undefined;
1152
+ included?: {
1153
+ type: string;
1154
+ id: string;
1155
+ attributes?: Record<string, unknown> | undefined;
1156
+ relationships?: Record<string, unknown> | undefined;
1157
+ links?: Record<string, string> | undefined;
1158
+ meta?: Record<string, unknown> | undefined;
1159
+ }[] | undefined;
1160
+ }>;
1161
+ export type CreateFarmAttributes = z.infer<typeof createFarmAttributesSchema>;
1162
+ export type UpdateFarmAttributes = z.infer<typeof updateFarmAttributesSchema>;
1163
+ export type CreateFarmInput = z.infer<typeof createFarmSchema>;
1164
+ export type UpdateFarmInput = z.infer<typeof updateFarmSchema>;
1165
+ export type FarmAttributes = z.infer<typeof farmAttributesSchema>;
1166
+ export type FarmResource = z.infer<typeof farmResourceSchema>;
1167
+ export type FarmDetailResource = z.infer<typeof farmDetailResourceSchema>;
1168
+ export type FarmResponse = z.infer<typeof farmResponseSchema>;
1169
+ export type FarmDetailResponse = z.infer<typeof farmDetailResponseSchema>;
1170
+ export type FarmListResponse = z.infer<typeof farmListResponseSchema>;
1171
+ //# sourceMappingURL=farms.schemas.d.ts.map