@deepintel-ltd/farmpro-contracts 1.16.0 → 1.16.2

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 (51) hide show
  1. package/dist/routes/agents.routes.d.ts +8 -8
  2. package/dist/routes/documents.routes.d.ts +78 -78
  3. package/dist/routes/fertigation.routes.d.ts +4 -4
  4. package/dist/routes/field-observations.routes.d.ts +174 -28
  5. package/dist/routes/field-observations.routes.d.ts.map +1 -1
  6. package/dist/routes/field-observations.routes.js +7 -4
  7. package/dist/routes/fields.routes.d.ts +797 -0
  8. package/dist/routes/fields.routes.d.ts.map +1 -1
  9. package/dist/routes/fields.routes.js +23 -1
  10. package/dist/routes/files.routes.d.ts +6 -6
  11. package/dist/routes/finance.routes.d.ts +30 -30
  12. package/dist/routes/inventory.routes.d.ts +6 -6
  13. package/dist/routes/irrigation.routes.d.ts +2 -2
  14. package/dist/routes/live-monitor.routes.d.ts +29 -9
  15. package/dist/routes/live-monitor.routes.d.ts.map +1 -1
  16. package/dist/routes/monitoring-visualization.routes.d.ts +173 -45
  17. package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
  18. package/dist/routes/monitoring-visualization.routes.js +4 -4
  19. package/dist/routes/pest-disease-risk.routes.d.ts +66 -66
  20. package/dist/routes/prescription-maps.routes.d.ts +4 -4
  21. package/dist/routes/subscriptions.routes.d.ts +4 -4
  22. package/dist/routes/tasks.routes.d.ts +108 -108
  23. package/dist/routes/team-payments.routes.d.ts +72 -72
  24. package/dist/routes/weather.routes.d.ts +42 -42
  25. package/dist/schemas/agents.schemas.d.ts +152 -8
  26. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  27. package/dist/schemas/agents.schemas.js +35 -0
  28. package/dist/schemas/common.schemas.d.ts +32 -0
  29. package/dist/schemas/common.schemas.d.ts.map +1 -1
  30. package/dist/schemas/common.schemas.js +14 -0
  31. package/dist/schemas/documents.schemas.d.ts +48 -48
  32. package/dist/schemas/fertigation.schemas.d.ts +2 -2
  33. package/dist/schemas/fields.schemas.d.ts +42 -0
  34. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  35. package/dist/schemas/fields.schemas.js +4 -0
  36. package/dist/schemas/files.schemas.d.ts +12 -12
  37. package/dist/schemas/finance.schemas.d.ts +34 -34
  38. package/dist/schemas/inventory.schemas.d.ts +6 -6
  39. package/dist/schemas/irrigation.schemas.d.ts +2 -2
  40. package/dist/schemas/live-monitor.schemas.d.ts +44 -12
  41. package/dist/schemas/live-monitor.schemas.d.ts.map +1 -1
  42. package/dist/schemas/monitoring-visualization.schemas.d.ts +329 -46
  43. package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
  44. package/dist/schemas/monitoring-visualization.schemas.js +30 -0
  45. package/dist/schemas/pest-disease-risk.schemas.d.ts +56 -56
  46. package/dist/schemas/prescription-maps.schemas.d.ts +4 -4
  47. package/dist/schemas/subscriptions.schemas.d.ts +2 -2
  48. package/dist/schemas/tasks.schemas.d.ts +96 -96
  49. package/dist/schemas/team-payments.schemas.d.ts +54 -54
  50. package/dist/schemas/weather.schemas.d.ts +84 -84
  51. package/package.json +1 -1
@@ -70,6 +70,7 @@ export declare const fieldsRouter: {
70
70
  plantingDate: z.ZodNullable<z.ZodString>;
71
71
  expectedHarvestDate: z.ZodNullable<z.ZodString>;
72
72
  cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
73
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
74
  historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
75
  date: z.ZodString;
75
76
  value: z.ZodNumber;
@@ -126,6 +127,7 @@ export declare const fieldsRouter: {
126
127
  soilType: string | null;
127
128
  expectedHarvestDate: string | null;
128
129
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
130
+ coverImage?: string | null | undefined;
129
131
  historicalNdvi?: {
130
132
  value: number;
131
133
  date: string;
@@ -157,6 +159,7 @@ export declare const fieldsRouter: {
157
159
  soilType: string | null;
158
160
  expectedHarvestDate: string | null;
159
161
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
162
+ coverImage?: string | null | undefined;
160
163
  historicalNdvi?: {
161
164
  value: number;
162
165
  date: string;
@@ -195,6 +198,7 @@ export declare const fieldsRouter: {
195
198
  soilType: string | null;
196
199
  expectedHarvestDate: string | null;
197
200
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
201
+ coverImage?: string | null | undefined;
198
202
  historicalNdvi?: {
199
203
  value: number;
200
204
  date: string;
@@ -233,6 +237,7 @@ export declare const fieldsRouter: {
233
237
  soilType: string | null;
234
238
  expectedHarvestDate: string | null;
235
239
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
240
+ coverImage?: string | null | undefined;
236
241
  historicalNdvi?: {
237
242
  value: number;
238
243
  date: string;
@@ -297,6 +302,7 @@ export declare const fieldsRouter: {
297
302
  soilType: string | null;
298
303
  expectedHarvestDate: string | null;
299
304
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
305
+ coverImage?: string | null | undefined;
300
306
  historicalNdvi?: {
301
307
  value: number;
302
308
  date: string;
@@ -347,6 +353,7 @@ export declare const fieldsRouter: {
347
353
  soilType: string | null;
348
354
  expectedHarvestDate: string | null;
349
355
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
356
+ coverImage?: string | null | undefined;
350
357
  historicalNdvi?: {
351
358
  value: number;
352
359
  date: string;
@@ -883,6 +890,7 @@ export declare const fieldsRouter: {
883
890
  plantingDate: z.ZodNullable<z.ZodString>;
884
891
  expectedHarvestDate: z.ZodNullable<z.ZodString>;
885
892
  cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
893
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
886
894
  historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
887
895
  date: z.ZodString;
888
896
  value: z.ZodNumber;
@@ -939,6 +947,7 @@ export declare const fieldsRouter: {
939
947
  soilType: string | null;
940
948
  expectedHarvestDate: string | null;
941
949
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
950
+ coverImage?: string | null | undefined;
942
951
  historicalNdvi?: {
943
952
  value: number;
944
953
  date: string;
@@ -970,6 +979,7 @@ export declare const fieldsRouter: {
970
979
  soilType: string | null;
971
980
  expectedHarvestDate: string | null;
972
981
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
982
+ coverImage?: string | null | undefined;
973
983
  historicalNdvi?: {
974
984
  value: number;
975
985
  date: string;
@@ -1008,6 +1018,7 @@ export declare const fieldsRouter: {
1008
1018
  soilType: string | null;
1009
1019
  expectedHarvestDate: string | null;
1010
1020
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1021
+ coverImage?: string | null | undefined;
1011
1022
  historicalNdvi?: {
1012
1023
  value: number;
1013
1024
  date: string;
@@ -1046,6 +1057,7 @@ export declare const fieldsRouter: {
1046
1057
  soilType: string | null;
1047
1058
  expectedHarvestDate: string | null;
1048
1059
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1060
+ coverImage?: string | null | undefined;
1049
1061
  historicalNdvi?: {
1050
1062
  value: number;
1051
1063
  date: string;
@@ -1110,6 +1122,7 @@ export declare const fieldsRouter: {
1110
1122
  soilType: string | null;
1111
1123
  expectedHarvestDate: string | null;
1112
1124
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1125
+ coverImage?: string | null | undefined;
1113
1126
  historicalNdvi?: {
1114
1127
  value: number;
1115
1128
  date: string;
@@ -1160,6 +1173,7 @@ export declare const fieldsRouter: {
1160
1173
  soilType: string | null;
1161
1174
  expectedHarvestDate: string | null;
1162
1175
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1176
+ coverImage?: string | null | undefined;
1163
1177
  historicalNdvi?: {
1164
1178
  value: number;
1165
1179
  date: string;
@@ -1279,6 +1293,126 @@ export declare const fieldsRouter: {
1279
1293
  }[];
1280
1294
  meta?: Record<string, unknown> | undefined;
1281
1295
  }>;
1296
+ 403: z.ZodUnion<[z.ZodObject<{
1297
+ message: z.ZodString;
1298
+ code: z.ZodString;
1299
+ upgradeUrl: z.ZodOptional<z.ZodString>;
1300
+ currentLimit: z.ZodOptional<z.ZodNumber>;
1301
+ currentUsage: z.ZodOptional<z.ZodNumber>;
1302
+ limit: z.ZodOptional<z.ZodNumber>;
1303
+ resetDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1304
+ resetTime: z.ZodOptional<z.ZodString>;
1305
+ current: z.ZodOptional<z.ZodNumber>;
1306
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1307
+ message: z.ZodString;
1308
+ code: z.ZodString;
1309
+ upgradeUrl: z.ZodOptional<z.ZodString>;
1310
+ currentLimit: z.ZodOptional<z.ZodNumber>;
1311
+ currentUsage: z.ZodOptional<z.ZodNumber>;
1312
+ limit: z.ZodOptional<z.ZodNumber>;
1313
+ resetDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1314
+ resetTime: z.ZodOptional<z.ZodString>;
1315
+ current: z.ZodOptional<z.ZodNumber>;
1316
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1317
+ message: z.ZodString;
1318
+ code: z.ZodString;
1319
+ upgradeUrl: z.ZodOptional<z.ZodString>;
1320
+ currentLimit: z.ZodOptional<z.ZodNumber>;
1321
+ currentUsage: z.ZodOptional<z.ZodNumber>;
1322
+ limit: z.ZodOptional<z.ZodNumber>;
1323
+ resetDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1324
+ resetTime: z.ZodOptional<z.ZodString>;
1325
+ current: z.ZodOptional<z.ZodNumber>;
1326
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1327
+ errors: z.ZodArray<z.ZodObject<{
1328
+ id: z.ZodOptional<z.ZodString>;
1329
+ links: z.ZodOptional<z.ZodObject<{
1330
+ about: z.ZodOptional<z.ZodString>;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ about?: string | undefined;
1333
+ }, {
1334
+ about?: string | undefined;
1335
+ }>>;
1336
+ status: z.ZodOptional<z.ZodString>;
1337
+ code: z.ZodOptional<z.ZodString>;
1338
+ title: z.ZodOptional<z.ZodString>;
1339
+ detail: z.ZodOptional<z.ZodString>;
1340
+ source: z.ZodOptional<z.ZodObject<{
1341
+ pointer: z.ZodOptional<z.ZodString>;
1342
+ parameter: z.ZodOptional<z.ZodString>;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ pointer?: string | undefined;
1345
+ parameter?: string | undefined;
1346
+ }, {
1347
+ pointer?: string | undefined;
1348
+ parameter?: string | undefined;
1349
+ }>>;
1350
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1351
+ }, "strip", z.ZodTypeAny, {
1352
+ status?: string | undefined;
1353
+ code?: string | undefined;
1354
+ id?: string | undefined;
1355
+ links?: {
1356
+ about?: string | undefined;
1357
+ } | undefined;
1358
+ meta?: Record<string, unknown> | undefined;
1359
+ title?: string | undefined;
1360
+ detail?: string | undefined;
1361
+ source?: {
1362
+ pointer?: string | undefined;
1363
+ parameter?: string | undefined;
1364
+ } | undefined;
1365
+ }, {
1366
+ status?: string | undefined;
1367
+ code?: string | undefined;
1368
+ id?: string | undefined;
1369
+ links?: {
1370
+ about?: string | undefined;
1371
+ } | undefined;
1372
+ meta?: Record<string, unknown> | undefined;
1373
+ title?: string | undefined;
1374
+ detail?: string | undefined;
1375
+ source?: {
1376
+ pointer?: string | undefined;
1377
+ parameter?: string | undefined;
1378
+ } | undefined;
1379
+ }>, "many">;
1380
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1381
+ }, "strip", z.ZodTypeAny, {
1382
+ errors: {
1383
+ status?: string | undefined;
1384
+ code?: string | undefined;
1385
+ id?: string | undefined;
1386
+ links?: {
1387
+ about?: string | undefined;
1388
+ } | undefined;
1389
+ meta?: Record<string, unknown> | undefined;
1390
+ title?: string | undefined;
1391
+ detail?: string | undefined;
1392
+ source?: {
1393
+ pointer?: string | undefined;
1394
+ parameter?: string | undefined;
1395
+ } | undefined;
1396
+ }[];
1397
+ meta?: Record<string, unknown> | undefined;
1398
+ }, {
1399
+ errors: {
1400
+ status?: string | undefined;
1401
+ code?: string | undefined;
1402
+ id?: string | undefined;
1403
+ links?: {
1404
+ about?: string | undefined;
1405
+ } | undefined;
1406
+ meta?: Record<string, unknown> | undefined;
1407
+ title?: string | undefined;
1408
+ detail?: string | undefined;
1409
+ source?: {
1410
+ pointer?: string | undefined;
1411
+ parameter?: string | undefined;
1412
+ } | undefined;
1413
+ }[];
1414
+ meta?: Record<string, unknown> | undefined;
1415
+ }>]>;
1282
1416
  404: z.ZodObject<{
1283
1417
  errors: z.ZodArray<z.ZodObject<{
1284
1418
  id: z.ZodOptional<z.ZodString>;
@@ -1600,6 +1734,7 @@ export declare const fieldsRouter: {
1600
1734
  plantingDate: z.ZodNullable<z.ZodString>;
1601
1735
  expectedHarvestDate: z.ZodNullable<z.ZodString>;
1602
1736
  cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
1737
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1603
1738
  historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
1604
1739
  date: z.ZodString;
1605
1740
  value: z.ZodNumber;
@@ -1656,6 +1791,7 @@ export declare const fieldsRouter: {
1656
1791
  soilType: string | null;
1657
1792
  expectedHarvestDate: string | null;
1658
1793
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1794
+ coverImage?: string | null | undefined;
1659
1795
  historicalNdvi?: {
1660
1796
  value: number;
1661
1797
  date: string;
@@ -1687,6 +1823,7 @@ export declare const fieldsRouter: {
1687
1823
  soilType: string | null;
1688
1824
  expectedHarvestDate: string | null;
1689
1825
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1826
+ coverImage?: string | null | undefined;
1690
1827
  historicalNdvi?: {
1691
1828
  value: number;
1692
1829
  date: string;
@@ -1920,6 +2057,7 @@ export declare const fieldsRouter: {
1920
2057
  soilType: string | null;
1921
2058
  expectedHarvestDate: string | null;
1922
2059
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2060
+ coverImage?: string | null | undefined;
1923
2061
  historicalNdvi?: {
1924
2062
  value: number;
1925
2063
  date: string;
@@ -1992,6 +2130,7 @@ export declare const fieldsRouter: {
1992
2130
  soilType: string | null;
1993
2131
  expectedHarvestDate: string | null;
1994
2132
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2133
+ coverImage?: string | null | undefined;
1995
2134
  historicalNdvi?: {
1996
2135
  value: number;
1997
2136
  date: string;
@@ -2090,6 +2229,7 @@ export declare const fieldsRouter: {
2090
2229
  soilType: string | null;
2091
2230
  expectedHarvestDate: string | null;
2092
2231
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2232
+ coverImage?: string | null | undefined;
2093
2233
  historicalNdvi?: {
2094
2234
  value: number;
2095
2235
  date: string;
@@ -2174,6 +2314,7 @@ export declare const fieldsRouter: {
2174
2314
  soilType: string | null;
2175
2315
  expectedHarvestDate: string | null;
2176
2316
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2317
+ coverImage?: string | null | undefined;
2177
2318
  historicalNdvi?: {
2178
2319
  value: number;
2179
2320
  date: string;
@@ -2484,6 +2625,7 @@ export declare const fieldsRouter: {
2484
2625
  yield: number | null;
2485
2626
  yieldUnit: string | null;
2486
2627
  }>, "many">>;
2628
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2487
2629
  }, "strip", z.ZodTypeAny, {
2488
2630
  name?: string | undefined;
2489
2631
  crop?: string | undefined;
@@ -2499,6 +2641,7 @@ export declare const fieldsRouter: {
2499
2641
  soilType?: string | undefined;
2500
2642
  expectedHarvestDate?: string | null | undefined;
2501
2643
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2644
+ coverImage?: string | null | undefined;
2502
2645
  cropHistory?: {
2503
2646
  id: string;
2504
2647
  crop: string;
@@ -2523,6 +2666,7 @@ export declare const fieldsRouter: {
2523
2666
  soilType?: string | undefined;
2524
2667
  expectedHarvestDate?: string | null | undefined;
2525
2668
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2669
+ coverImage?: string | null | undefined;
2526
2670
  cropHistory?: {
2527
2671
  id: string;
2528
2672
  crop: string;
@@ -2551,6 +2695,7 @@ export declare const fieldsRouter: {
2551
2695
  soilType?: string | undefined;
2552
2696
  expectedHarvestDate?: string | null | undefined;
2553
2697
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2698
+ coverImage?: string | null | undefined;
2554
2699
  cropHistory?: {
2555
2700
  id: string;
2556
2701
  crop: string;
@@ -2579,6 +2724,7 @@ export declare const fieldsRouter: {
2579
2724
  soilType?: string | undefined;
2580
2725
  expectedHarvestDate?: string | null | undefined;
2581
2726
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2727
+ coverImage?: string | null | undefined;
2582
2728
  cropHistory?: {
2583
2729
  id: string;
2584
2730
  crop: string;
@@ -2609,6 +2755,7 @@ export declare const fieldsRouter: {
2609
2755
  soilType?: string | undefined;
2610
2756
  expectedHarvestDate?: string | null | undefined;
2611
2757
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2758
+ coverImage?: string | null | undefined;
2612
2759
  cropHistory?: {
2613
2760
  id: string;
2614
2761
  crop: string;
@@ -2639,6 +2786,7 @@ export declare const fieldsRouter: {
2639
2786
  soilType?: string | undefined;
2640
2787
  expectedHarvestDate?: string | null | undefined;
2641
2788
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2789
+ coverImage?: string | null | undefined;
2642
2790
  cropHistory?: {
2643
2791
  id: string;
2644
2792
  crop: string;
@@ -2679,6 +2827,7 @@ export declare const fieldsRouter: {
2679
2827
  plantingDate: z.ZodNullable<z.ZodString>;
2680
2828
  expectedHarvestDate: z.ZodNullable<z.ZodString>;
2681
2829
  cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
2830
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2682
2831
  historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
2683
2832
  date: z.ZodString;
2684
2833
  value: z.ZodNumber;
@@ -2735,6 +2884,7 @@ export declare const fieldsRouter: {
2735
2884
  soilType: string | null;
2736
2885
  expectedHarvestDate: string | null;
2737
2886
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2887
+ coverImage?: string | null | undefined;
2738
2888
  historicalNdvi?: {
2739
2889
  value: number;
2740
2890
  date: string;
@@ -2766,6 +2916,7 @@ export declare const fieldsRouter: {
2766
2916
  soilType: string | null;
2767
2917
  expectedHarvestDate: string | null;
2768
2918
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2919
+ coverImage?: string | null | undefined;
2769
2920
  historicalNdvi?: {
2770
2921
  value: number;
2771
2922
  date: string;
@@ -2804,6 +2955,7 @@ export declare const fieldsRouter: {
2804
2955
  soilType: string | null;
2805
2956
  expectedHarvestDate: string | null;
2806
2957
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2958
+ coverImage?: string | null | undefined;
2807
2959
  historicalNdvi?: {
2808
2960
  value: number;
2809
2961
  date: string;
@@ -2842,6 +2994,7 @@ export declare const fieldsRouter: {
2842
2994
  soilType: string | null;
2843
2995
  expectedHarvestDate: string | null;
2844
2996
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2997
+ coverImage?: string | null | undefined;
2845
2998
  historicalNdvi?: {
2846
2999
  value: number;
2847
3000
  date: string;
@@ -2906,6 +3059,7 @@ export declare const fieldsRouter: {
2906
3059
  soilType: string | null;
2907
3060
  expectedHarvestDate: string | null;
2908
3061
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3062
+ coverImage?: string | null | undefined;
2909
3063
  historicalNdvi?: {
2910
3064
  value: number;
2911
3065
  date: string;
@@ -2956,6 +3110,7 @@ export declare const fieldsRouter: {
2956
3110
  soilType: string | null;
2957
3111
  expectedHarvestDate: string | null;
2958
3112
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3113
+ coverImage?: string | null | undefined;
2959
3114
  historicalNdvi?: {
2960
3115
  value: number;
2961
3116
  date: string;
@@ -3460,6 +3615,7 @@ export declare const fieldsRouter: {
3460
3615
  plantingDate: z.ZodNullable<z.ZodString>;
3461
3616
  expectedHarvestDate: z.ZodNullable<z.ZodString>;
3462
3617
  cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
3618
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3463
3619
  historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
3464
3620
  date: z.ZodString;
3465
3621
  value: z.ZodNumber;
@@ -3516,6 +3672,7 @@ export declare const fieldsRouter: {
3516
3672
  soilType: string | null;
3517
3673
  expectedHarvestDate: string | null;
3518
3674
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3675
+ coverImage?: string | null | undefined;
3519
3676
  historicalNdvi?: {
3520
3677
  value: number;
3521
3678
  date: string;
@@ -3547,6 +3704,7 @@ export declare const fieldsRouter: {
3547
3704
  soilType: string | null;
3548
3705
  expectedHarvestDate: string | null;
3549
3706
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3707
+ coverImage?: string | null | undefined;
3550
3708
  historicalNdvi?: {
3551
3709
  value: number;
3552
3710
  date: string;
@@ -3585,6 +3743,7 @@ export declare const fieldsRouter: {
3585
3743
  soilType: string | null;
3586
3744
  expectedHarvestDate: string | null;
3587
3745
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3746
+ coverImage?: string | null | undefined;
3588
3747
  historicalNdvi?: {
3589
3748
  value: number;
3590
3749
  date: string;
@@ -3623,6 +3782,7 @@ export declare const fieldsRouter: {
3623
3782
  soilType: string | null;
3624
3783
  expectedHarvestDate: string | null;
3625
3784
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3785
+ coverImage?: string | null | undefined;
3626
3786
  historicalNdvi?: {
3627
3787
  value: number;
3628
3788
  date: string;
@@ -3687,6 +3847,7 @@ export declare const fieldsRouter: {
3687
3847
  soilType: string | null;
3688
3848
  expectedHarvestDate: string | null;
3689
3849
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3850
+ coverImage?: string | null | undefined;
3690
3851
  historicalNdvi?: {
3691
3852
  value: number;
3692
3853
  date: string;
@@ -3737,6 +3898,7 @@ export declare const fieldsRouter: {
3737
3898
  soilType: string | null;
3738
3899
  expectedHarvestDate: string | null;
3739
3900
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3901
+ coverImage?: string | null | undefined;
3740
3902
  historicalNdvi?: {
3741
3903
  value: number;
3742
3904
  date: string;
@@ -4804,5 +4966,640 @@ export declare const fieldsRouter: {
4804
4966
  }>;
4805
4967
  };
4806
4968
  };
4969
+ uploadFieldCover: {
4970
+ pathParams: z.ZodObject<{
4971
+ farmId: z.ZodString;
4972
+ id: z.ZodString;
4973
+ }, "strip", z.ZodTypeAny, {
4974
+ id: string;
4975
+ farmId: string;
4976
+ }, {
4977
+ id: string;
4978
+ farmId: string;
4979
+ }>;
4980
+ summary: "Upload field cover image";
4981
+ description: "Upload a custom cover photo for a field card. Stores a proxy URL on coverImage.";
4982
+ method: "POST";
4983
+ contentType: "multipart/form-data";
4984
+ body: z.ZodUnion<[z.ZodObject<{
4985
+ file: z.ZodAny;
4986
+ }, "strip", z.ZodTypeAny, {
4987
+ file?: any;
4988
+ }, {
4989
+ file?: any;
4990
+ }>, z.ZodUndefined]>;
4991
+ path: "/farms/:farmId/fields/:id/cover";
4992
+ responses: {
4993
+ 200: z.ZodObject<{
4994
+ data: z.ZodObject<{
4995
+ type: z.ZodLiteral<string>;
4996
+ id: z.ZodString;
4997
+ attributes: z.ZodObject<{
4998
+ name: z.ZodString;
4999
+ geometry: z.ZodNullable<z.ZodObject<{
5000
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
5001
+ 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">]>;
5002
+ }, "strip", z.ZodTypeAny, {
5003
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5004
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5005
+ }, {
5006
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5007
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5008
+ }>>;
5009
+ ndvi: z.ZodNullable<z.ZodNumber>;
5010
+ moisture: z.ZodNullable<z.ZodString>;
5011
+ status: z.ZodEnum<["ok", "alert", "critical"]>;
5012
+ area: z.ZodNullable<z.ZodString>;
5013
+ crop: z.ZodNullable<z.ZodString>;
5014
+ soilType: z.ZodNullable<z.ZodString>;
5015
+ currentCrop: z.ZodNullable<z.ZodString>;
5016
+ plantingDate: z.ZodNullable<z.ZodString>;
5017
+ expectedHarvestDate: z.ZodNullable<z.ZodString>;
5018
+ cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
5019
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5020
+ historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
5021
+ date: z.ZodString;
5022
+ value: z.ZodNumber;
5023
+ }, "strip", z.ZodTypeAny, {
5024
+ value: number;
5025
+ date: string;
5026
+ }, {
5027
+ value: number;
5028
+ date: string;
5029
+ }>, "many">>;
5030
+ cropHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
5031
+ id: z.ZodString;
5032
+ season: z.ZodString;
5033
+ crop: z.ZodString;
5034
+ plantingDate: z.ZodString;
5035
+ harvestDate: z.ZodNullable<z.ZodString>;
5036
+ yield: z.ZodNullable<z.ZodNumber>;
5037
+ yieldUnit: z.ZodNullable<z.ZodString>;
5038
+ }, "strip", z.ZodTypeAny, {
5039
+ id: string;
5040
+ crop: string;
5041
+ season: string;
5042
+ plantingDate: string;
5043
+ harvestDate: string | null;
5044
+ yield: number | null;
5045
+ yieldUnit: string | null;
5046
+ }, {
5047
+ id: string;
5048
+ crop: string;
5049
+ season: string;
5050
+ plantingDate: string;
5051
+ harvestDate: string | null;
5052
+ yield: number | null;
5053
+ yieldUnit: string | null;
5054
+ }>, "many">>;
5055
+ } & {
5056
+ createdAt: z.ZodString;
5057
+ updatedAt: z.ZodString;
5058
+ }, "strip", z.ZodTypeAny, {
5059
+ status: "ok" | "alert" | "critical";
5060
+ createdAt: string;
5061
+ updatedAt: string;
5062
+ name: string;
5063
+ crop: string | null;
5064
+ geometry: {
5065
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5066
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5067
+ } | null;
5068
+ area: string | null;
5069
+ currentCrop: string | null;
5070
+ plantingDate: string | null;
5071
+ ndvi: number | null;
5072
+ moisture: string | null;
5073
+ soilType: string | null;
5074
+ expectedHarvestDate: string | null;
5075
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5076
+ coverImage?: string | null | undefined;
5077
+ historicalNdvi?: {
5078
+ value: number;
5079
+ date: string;
5080
+ }[] | undefined;
5081
+ cropHistory?: {
5082
+ id: string;
5083
+ crop: string;
5084
+ season: string;
5085
+ plantingDate: string;
5086
+ harvestDate: string | null;
5087
+ yield: number | null;
5088
+ yieldUnit: string | null;
5089
+ }[] | undefined;
5090
+ }, {
5091
+ status: "ok" | "alert" | "critical";
5092
+ createdAt: string;
5093
+ updatedAt: string;
5094
+ name: string;
5095
+ crop: string | null;
5096
+ geometry: {
5097
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5098
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5099
+ } | null;
5100
+ area: string | null;
5101
+ currentCrop: string | null;
5102
+ plantingDate: string | null;
5103
+ ndvi: number | null;
5104
+ moisture: string | null;
5105
+ soilType: string | null;
5106
+ expectedHarvestDate: string | null;
5107
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5108
+ coverImage?: string | null | undefined;
5109
+ historicalNdvi?: {
5110
+ value: number;
5111
+ date: string;
5112
+ }[] | undefined;
5113
+ cropHistory?: {
5114
+ id: string;
5115
+ crop: string;
5116
+ season: string;
5117
+ plantingDate: string;
5118
+ harvestDate: string | null;
5119
+ yield: number | null;
5120
+ yieldUnit: string | null;
5121
+ }[] | undefined;
5122
+ }>;
5123
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5124
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5125
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5126
+ }, "strip", z.ZodTypeAny, {
5127
+ type: string;
5128
+ id: string;
5129
+ attributes: {
5130
+ status: "ok" | "alert" | "critical";
5131
+ createdAt: string;
5132
+ updatedAt: string;
5133
+ name: string;
5134
+ crop: string | null;
5135
+ geometry: {
5136
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5137
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5138
+ } | null;
5139
+ area: string | null;
5140
+ currentCrop: string | null;
5141
+ plantingDate: string | null;
5142
+ ndvi: number | null;
5143
+ moisture: string | null;
5144
+ soilType: string | null;
5145
+ expectedHarvestDate: string | null;
5146
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5147
+ coverImage?: string | null | undefined;
5148
+ historicalNdvi?: {
5149
+ value: number;
5150
+ date: string;
5151
+ }[] | undefined;
5152
+ cropHistory?: {
5153
+ id: string;
5154
+ crop: string;
5155
+ season: string;
5156
+ plantingDate: string;
5157
+ harvestDate: string | null;
5158
+ yield: number | null;
5159
+ yieldUnit: string | null;
5160
+ }[] | undefined;
5161
+ };
5162
+ relationships?: Record<string, unknown> | undefined;
5163
+ links?: Record<string, string> | undefined;
5164
+ meta?: Record<string, unknown> | undefined;
5165
+ }, {
5166
+ type: string;
5167
+ id: string;
5168
+ attributes: {
5169
+ status: "ok" | "alert" | "critical";
5170
+ createdAt: string;
5171
+ updatedAt: string;
5172
+ name: string;
5173
+ crop: string | null;
5174
+ geometry: {
5175
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5176
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5177
+ } | null;
5178
+ area: string | null;
5179
+ currentCrop: string | null;
5180
+ plantingDate: string | null;
5181
+ ndvi: number | null;
5182
+ moisture: string | null;
5183
+ soilType: string | null;
5184
+ expectedHarvestDate: string | null;
5185
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5186
+ coverImage?: string | null | undefined;
5187
+ historicalNdvi?: {
5188
+ value: number;
5189
+ date: string;
5190
+ }[] | undefined;
5191
+ cropHistory?: {
5192
+ id: string;
5193
+ crop: string;
5194
+ season: string;
5195
+ plantingDate: string;
5196
+ harvestDate: string | null;
5197
+ yield: number | null;
5198
+ yieldUnit: string | null;
5199
+ }[] | undefined;
5200
+ };
5201
+ relationships?: Record<string, unknown> | undefined;
5202
+ links?: Record<string, string> | undefined;
5203
+ meta?: Record<string, unknown> | undefined;
5204
+ }>;
5205
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
5206
+ type: z.ZodString;
5207
+ id: z.ZodString;
5208
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5209
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5210
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5211
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5212
+ }, "strip", z.ZodTypeAny, {
5213
+ type: string;
5214
+ id: string;
5215
+ attributes?: Record<string, unknown> | undefined;
5216
+ relationships?: Record<string, unknown> | undefined;
5217
+ links?: Record<string, string> | undefined;
5218
+ meta?: Record<string, unknown> | undefined;
5219
+ }, {
5220
+ type: string;
5221
+ id: string;
5222
+ attributes?: Record<string, unknown> | undefined;
5223
+ relationships?: Record<string, unknown> | undefined;
5224
+ links?: Record<string, string> | undefined;
5225
+ meta?: Record<string, unknown> | undefined;
5226
+ }>, "many">>;
5227
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5228
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5229
+ }, "strip", z.ZodTypeAny, {
5230
+ data: {
5231
+ type: string;
5232
+ id: string;
5233
+ attributes: {
5234
+ status: "ok" | "alert" | "critical";
5235
+ createdAt: string;
5236
+ updatedAt: string;
5237
+ name: string;
5238
+ crop: string | null;
5239
+ geometry: {
5240
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5241
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5242
+ } | null;
5243
+ area: string | null;
5244
+ currentCrop: string | null;
5245
+ plantingDate: string | null;
5246
+ ndvi: number | null;
5247
+ moisture: string | null;
5248
+ soilType: string | null;
5249
+ expectedHarvestDate: string | null;
5250
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5251
+ coverImage?: string | null | undefined;
5252
+ historicalNdvi?: {
5253
+ value: number;
5254
+ date: string;
5255
+ }[] | undefined;
5256
+ cropHistory?: {
5257
+ id: string;
5258
+ crop: string;
5259
+ season: string;
5260
+ plantingDate: string;
5261
+ harvestDate: string | null;
5262
+ yield: number | null;
5263
+ yieldUnit: string | null;
5264
+ }[] | undefined;
5265
+ };
5266
+ relationships?: Record<string, unknown> | undefined;
5267
+ links?: Record<string, string> | undefined;
5268
+ meta?: Record<string, unknown> | undefined;
5269
+ };
5270
+ links?: Record<string, string> | undefined;
5271
+ meta?: Record<string, unknown> | undefined;
5272
+ included?: {
5273
+ type: string;
5274
+ id: string;
5275
+ attributes?: Record<string, unknown> | undefined;
5276
+ relationships?: Record<string, unknown> | undefined;
5277
+ links?: Record<string, string> | undefined;
5278
+ meta?: Record<string, unknown> | undefined;
5279
+ }[] | undefined;
5280
+ }, {
5281
+ data: {
5282
+ type: string;
5283
+ id: string;
5284
+ attributes: {
5285
+ status: "ok" | "alert" | "critical";
5286
+ createdAt: string;
5287
+ updatedAt: string;
5288
+ name: string;
5289
+ crop: string | null;
5290
+ geometry: {
5291
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5292
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5293
+ } | null;
5294
+ area: string | null;
5295
+ currentCrop: string | null;
5296
+ plantingDate: string | null;
5297
+ ndvi: number | null;
5298
+ moisture: string | null;
5299
+ soilType: string | null;
5300
+ expectedHarvestDate: string | null;
5301
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5302
+ coverImage?: string | null | undefined;
5303
+ historicalNdvi?: {
5304
+ value: number;
5305
+ date: string;
5306
+ }[] | undefined;
5307
+ cropHistory?: {
5308
+ id: string;
5309
+ crop: string;
5310
+ season: string;
5311
+ plantingDate: string;
5312
+ harvestDate: string | null;
5313
+ yield: number | null;
5314
+ yieldUnit: string | null;
5315
+ }[] | undefined;
5316
+ };
5317
+ relationships?: Record<string, unknown> | undefined;
5318
+ links?: Record<string, string> | undefined;
5319
+ meta?: Record<string, unknown> | undefined;
5320
+ };
5321
+ links?: Record<string, string> | undefined;
5322
+ meta?: Record<string, unknown> | undefined;
5323
+ included?: {
5324
+ type: string;
5325
+ id: string;
5326
+ attributes?: Record<string, unknown> | undefined;
5327
+ relationships?: Record<string, unknown> | undefined;
5328
+ links?: Record<string, string> | undefined;
5329
+ meta?: Record<string, unknown> | undefined;
5330
+ }[] | undefined;
5331
+ }>;
5332
+ 400: z.ZodObject<{
5333
+ errors: z.ZodArray<z.ZodObject<{
5334
+ id: z.ZodOptional<z.ZodString>;
5335
+ links: z.ZodOptional<z.ZodObject<{
5336
+ about: z.ZodOptional<z.ZodString>;
5337
+ }, "strip", z.ZodTypeAny, {
5338
+ about?: string | undefined;
5339
+ }, {
5340
+ about?: string | undefined;
5341
+ }>>;
5342
+ status: z.ZodOptional<z.ZodString>;
5343
+ code: z.ZodOptional<z.ZodString>;
5344
+ title: z.ZodOptional<z.ZodString>;
5345
+ detail: z.ZodOptional<z.ZodString>;
5346
+ source: z.ZodOptional<z.ZodObject<{
5347
+ pointer: z.ZodOptional<z.ZodString>;
5348
+ parameter: z.ZodOptional<z.ZodString>;
5349
+ }, "strip", z.ZodTypeAny, {
5350
+ pointer?: string | undefined;
5351
+ parameter?: string | undefined;
5352
+ }, {
5353
+ pointer?: string | undefined;
5354
+ parameter?: string | undefined;
5355
+ }>>;
5356
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5357
+ }, "strip", z.ZodTypeAny, {
5358
+ status?: string | undefined;
5359
+ code?: string | undefined;
5360
+ id?: string | undefined;
5361
+ links?: {
5362
+ about?: string | undefined;
5363
+ } | undefined;
5364
+ meta?: Record<string, unknown> | undefined;
5365
+ title?: string | undefined;
5366
+ detail?: string | undefined;
5367
+ source?: {
5368
+ pointer?: string | undefined;
5369
+ parameter?: string | undefined;
5370
+ } | undefined;
5371
+ }, {
5372
+ status?: string | undefined;
5373
+ code?: string | undefined;
5374
+ id?: string | undefined;
5375
+ links?: {
5376
+ about?: string | undefined;
5377
+ } | undefined;
5378
+ meta?: Record<string, unknown> | undefined;
5379
+ title?: string | undefined;
5380
+ detail?: string | undefined;
5381
+ source?: {
5382
+ pointer?: string | undefined;
5383
+ parameter?: string | undefined;
5384
+ } | undefined;
5385
+ }>, "many">;
5386
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5387
+ }, "strip", z.ZodTypeAny, {
5388
+ errors: {
5389
+ status?: string | undefined;
5390
+ code?: string | undefined;
5391
+ id?: string | undefined;
5392
+ links?: {
5393
+ about?: string | undefined;
5394
+ } | undefined;
5395
+ meta?: Record<string, unknown> | undefined;
5396
+ title?: string | undefined;
5397
+ detail?: string | undefined;
5398
+ source?: {
5399
+ pointer?: string | undefined;
5400
+ parameter?: string | undefined;
5401
+ } | undefined;
5402
+ }[];
5403
+ meta?: Record<string, unknown> | undefined;
5404
+ }, {
5405
+ errors: {
5406
+ status?: string | undefined;
5407
+ code?: string | undefined;
5408
+ id?: string | undefined;
5409
+ links?: {
5410
+ about?: string | undefined;
5411
+ } | undefined;
5412
+ meta?: Record<string, unknown> | undefined;
5413
+ title?: string | undefined;
5414
+ detail?: string | undefined;
5415
+ source?: {
5416
+ pointer?: string | undefined;
5417
+ parameter?: string | undefined;
5418
+ } | undefined;
5419
+ }[];
5420
+ meta?: Record<string, unknown> | undefined;
5421
+ }>;
5422
+ 404: z.ZodObject<{
5423
+ errors: z.ZodArray<z.ZodObject<{
5424
+ id: z.ZodOptional<z.ZodString>;
5425
+ links: z.ZodOptional<z.ZodObject<{
5426
+ about: z.ZodOptional<z.ZodString>;
5427
+ }, "strip", z.ZodTypeAny, {
5428
+ about?: string | undefined;
5429
+ }, {
5430
+ about?: string | undefined;
5431
+ }>>;
5432
+ status: z.ZodOptional<z.ZodString>;
5433
+ code: z.ZodOptional<z.ZodString>;
5434
+ title: z.ZodOptional<z.ZodString>;
5435
+ detail: z.ZodOptional<z.ZodString>;
5436
+ source: z.ZodOptional<z.ZodObject<{
5437
+ pointer: z.ZodOptional<z.ZodString>;
5438
+ parameter: z.ZodOptional<z.ZodString>;
5439
+ }, "strip", z.ZodTypeAny, {
5440
+ pointer?: string | undefined;
5441
+ parameter?: string | undefined;
5442
+ }, {
5443
+ pointer?: string | undefined;
5444
+ parameter?: string | undefined;
5445
+ }>>;
5446
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5447
+ }, "strip", z.ZodTypeAny, {
5448
+ status?: string | undefined;
5449
+ code?: string | undefined;
5450
+ id?: string | undefined;
5451
+ links?: {
5452
+ about?: string | undefined;
5453
+ } | undefined;
5454
+ meta?: Record<string, unknown> | undefined;
5455
+ title?: string | undefined;
5456
+ detail?: string | undefined;
5457
+ source?: {
5458
+ pointer?: string | undefined;
5459
+ parameter?: string | undefined;
5460
+ } | undefined;
5461
+ }, {
5462
+ status?: string | undefined;
5463
+ code?: string | undefined;
5464
+ id?: string | undefined;
5465
+ links?: {
5466
+ about?: string | undefined;
5467
+ } | undefined;
5468
+ meta?: Record<string, unknown> | undefined;
5469
+ title?: string | undefined;
5470
+ detail?: string | undefined;
5471
+ source?: {
5472
+ pointer?: string | undefined;
5473
+ parameter?: string | undefined;
5474
+ } | undefined;
5475
+ }>, "many">;
5476
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5477
+ }, "strip", z.ZodTypeAny, {
5478
+ errors: {
5479
+ status?: string | undefined;
5480
+ code?: string | undefined;
5481
+ id?: string | undefined;
5482
+ links?: {
5483
+ about?: string | undefined;
5484
+ } | undefined;
5485
+ meta?: Record<string, unknown> | undefined;
5486
+ title?: string | undefined;
5487
+ detail?: string | undefined;
5488
+ source?: {
5489
+ pointer?: string | undefined;
5490
+ parameter?: string | undefined;
5491
+ } | undefined;
5492
+ }[];
5493
+ meta?: Record<string, unknown> | undefined;
5494
+ }, {
5495
+ errors: {
5496
+ status?: string | undefined;
5497
+ code?: string | undefined;
5498
+ id?: string | undefined;
5499
+ links?: {
5500
+ about?: string | undefined;
5501
+ } | undefined;
5502
+ meta?: Record<string, unknown> | undefined;
5503
+ title?: string | undefined;
5504
+ detail?: string | undefined;
5505
+ source?: {
5506
+ pointer?: string | undefined;
5507
+ parameter?: string | undefined;
5508
+ } | undefined;
5509
+ }[];
5510
+ meta?: Record<string, unknown> | undefined;
5511
+ }>;
5512
+ 401: z.ZodObject<{
5513
+ errors: z.ZodArray<z.ZodObject<{
5514
+ id: z.ZodOptional<z.ZodString>;
5515
+ links: z.ZodOptional<z.ZodObject<{
5516
+ about: z.ZodOptional<z.ZodString>;
5517
+ }, "strip", z.ZodTypeAny, {
5518
+ about?: string | undefined;
5519
+ }, {
5520
+ about?: string | undefined;
5521
+ }>>;
5522
+ status: z.ZodOptional<z.ZodString>;
5523
+ code: z.ZodOptional<z.ZodString>;
5524
+ title: z.ZodOptional<z.ZodString>;
5525
+ detail: z.ZodOptional<z.ZodString>;
5526
+ source: z.ZodOptional<z.ZodObject<{
5527
+ pointer: z.ZodOptional<z.ZodString>;
5528
+ parameter: z.ZodOptional<z.ZodString>;
5529
+ }, "strip", z.ZodTypeAny, {
5530
+ pointer?: string | undefined;
5531
+ parameter?: string | undefined;
5532
+ }, {
5533
+ pointer?: string | undefined;
5534
+ parameter?: string | undefined;
5535
+ }>>;
5536
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5537
+ }, "strip", z.ZodTypeAny, {
5538
+ status?: string | undefined;
5539
+ code?: string | undefined;
5540
+ id?: string | undefined;
5541
+ links?: {
5542
+ about?: string | undefined;
5543
+ } | undefined;
5544
+ meta?: Record<string, unknown> | undefined;
5545
+ title?: string | undefined;
5546
+ detail?: string | undefined;
5547
+ source?: {
5548
+ pointer?: string | undefined;
5549
+ parameter?: string | undefined;
5550
+ } | undefined;
5551
+ }, {
5552
+ status?: string | undefined;
5553
+ code?: string | undefined;
5554
+ id?: string | undefined;
5555
+ links?: {
5556
+ about?: string | undefined;
5557
+ } | undefined;
5558
+ meta?: Record<string, unknown> | undefined;
5559
+ title?: string | undefined;
5560
+ detail?: string | undefined;
5561
+ source?: {
5562
+ pointer?: string | undefined;
5563
+ parameter?: string | undefined;
5564
+ } | undefined;
5565
+ }>, "many">;
5566
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5567
+ }, "strip", z.ZodTypeAny, {
5568
+ errors: {
5569
+ status?: string | undefined;
5570
+ code?: string | undefined;
5571
+ id?: string | undefined;
5572
+ links?: {
5573
+ about?: string | undefined;
5574
+ } | undefined;
5575
+ meta?: Record<string, unknown> | undefined;
5576
+ title?: string | undefined;
5577
+ detail?: string | undefined;
5578
+ source?: {
5579
+ pointer?: string | undefined;
5580
+ parameter?: string | undefined;
5581
+ } | undefined;
5582
+ }[];
5583
+ meta?: Record<string, unknown> | undefined;
5584
+ }, {
5585
+ errors: {
5586
+ status?: string | undefined;
5587
+ code?: string | undefined;
5588
+ id?: string | undefined;
5589
+ links?: {
5590
+ about?: string | undefined;
5591
+ } | undefined;
5592
+ meta?: Record<string, unknown> | undefined;
5593
+ title?: string | undefined;
5594
+ detail?: string | undefined;
5595
+ source?: {
5596
+ pointer?: string | undefined;
5597
+ parameter?: string | undefined;
5598
+ } | undefined;
5599
+ }[];
5600
+ meta?: Record<string, unknown> | undefined;
5601
+ }>;
5602
+ };
5603
+ };
4807
5604
  };
4808
5605
  //# sourceMappingURL=fields.routes.d.ts.map