@deepintel-ltd/farmpro-contracts 1.36.4 → 1.36.5

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 (70) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/routes/accounting.routes.d.ts +18 -18
  5. package/dist/routes/agent-workflows.routes.d.ts +56 -56
  6. package/dist/routes/cooperative.routes.d.ts +6 -6
  7. package/dist/routes/crop-care.routes.d.ts +2 -2
  8. package/dist/routes/extension.routes.d.ts +18 -18
  9. package/dist/routes/farm-status.routes.d.ts +8 -8
  10. package/dist/routes/fertigation.routes.d.ts +556 -556
  11. package/dist/routes/field-monitoring.routes.d.ts +89 -89
  12. package/dist/routes/field-observations.routes.d.ts +50 -50
  13. package/dist/routes/index.d.ts +0 -3
  14. package/dist/routes/index.d.ts.map +1 -1
  15. package/dist/routes/index.js +0 -2
  16. package/dist/routes/integrations.routes.d.ts +4 -4
  17. package/dist/routes/inventory.routes.d.ts +966 -0
  18. package/dist/routes/inventory.routes.d.ts.map +1 -1
  19. package/dist/routes/invoices.routes.d.ts +30 -30
  20. package/dist/routes/irrigation.routes.d.ts +20 -20
  21. package/dist/routes/measurements.routes.d.ts +6 -6
  22. package/dist/routes/monitoring-visualization.routes.d.ts +16 -16
  23. package/dist/routes/nutrient-plan.routes.d.ts +1520 -350
  24. package/dist/routes/nutrient-plan.routes.d.ts.map +1 -1
  25. package/dist/routes/nutrient-plan.routes.js +46 -0
  26. package/dist/routes/orchard-plan.routes.d.ts +10 -10
  27. package/dist/routes/purchase-orders.routes.d.ts +6 -6
  28. package/dist/routes/session.routes.d.ts +36 -36
  29. package/dist/routes/soil-tests.routes.d.ts +126 -126
  30. package/dist/routes/team-payments.routes.d.ts +36 -36
  31. package/dist/routes/waybills.routes.d.ts +12 -12
  32. package/dist/routes/weather.routes.d.ts +12 -12
  33. package/dist/routes/yield-prediction.routes.d.ts +8 -8
  34. package/dist/schemas/accounting.schemas.d.ts +20 -20
  35. package/dist/schemas/agent-workflows.schemas.d.ts +64 -64
  36. package/dist/schemas/cooperative.schemas.d.ts +8 -8
  37. package/dist/schemas/crop-care.schemas.d.ts +2 -2
  38. package/dist/schemas/extension.schemas.d.ts +18 -18
  39. package/dist/schemas/farm-fertilizers.schemas.d.ts +289 -162
  40. package/dist/schemas/farm-fertilizers.schemas.d.ts.map +1 -1
  41. package/dist/schemas/farm-fertilizers.schemas.js +31 -5
  42. package/dist/schemas/farm-status.schemas.d.ts +14 -14
  43. package/dist/schemas/fertigation-board.schemas.d.ts +356 -0
  44. package/dist/schemas/fertigation-board.schemas.d.ts.map +1 -0
  45. package/dist/schemas/fertigation-board.schemas.js +55 -0
  46. package/dist/schemas/fertigation.schemas.d.ts +214 -214
  47. package/dist/schemas/field-monitoring.schemas.d.ts +69 -69
  48. package/dist/schemas/field-observations.schemas.d.ts +34 -34
  49. package/dist/schemas/integrations.schemas.d.ts +6 -6
  50. package/dist/schemas/inventory.schemas.d.ts +1298 -0
  51. package/dist/schemas/inventory.schemas.d.ts.map +1 -1
  52. package/dist/schemas/inventory.schemas.js +7 -0
  53. package/dist/schemas/invoices.schemas.d.ts +18 -18
  54. package/dist/schemas/irrigation.schemas.d.ts +12 -12
  55. package/dist/schemas/measurements.schemas.d.ts +6 -6
  56. package/dist/schemas/monitoring-visualization.schemas.d.ts +16 -16
  57. package/dist/schemas/nutrient-plan.schemas.d.ts +98 -98
  58. package/dist/schemas/orchard-plan.schemas.d.ts +26 -26
  59. package/dist/schemas/purchase-orders.schemas.d.ts +6 -6
  60. package/dist/schemas/recommendations.schemas.d.ts +6 -6
  61. package/dist/schemas/session.schemas.d.ts +36 -36
  62. package/dist/schemas/soil-tests.schemas.d.ts +120 -120
  63. package/dist/schemas/team-payments.schemas.d.ts +30 -30
  64. package/dist/schemas/waybills.schemas.d.ts +12 -12
  65. package/dist/schemas/weather.schemas.d.ts +36 -36
  66. package/dist/schemas/yield-prediction.schemas.d.ts +4 -4
  67. package/package.json +1 -1
  68. package/dist/routes/farm-fertilizers.routes.d.ts +0 -1139
  69. package/dist/routes/farm-fertilizers.routes.d.ts.map +0 -1
  70. package/dist/routes/farm-fertilizers.routes.js +0 -63
@@ -1 +1 @@
1
- {"version":3,"file":"inventory.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/inventory.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOhB,CAAC;AAG3B,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;EAM9C,CAAC;AAGH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;EAI9C,CAAC;AAGH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAatC,CAAC;AAGH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpC,CAAC;AAGH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpC,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5B,CAAC;AAEH,uFAAuF;AACvF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BjC,CAAC;AAEL,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGzB,CAAC;AAGH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgF,CAAC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 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { timestampsSchema, createJsonApiResourceSchema, jsonApiSingleResponseSchema, jsonApiCollectionResponseSchema } from './common.schemas';
3
+ import { fertilizerProfileInputSchema, fertilizerProfileViewSchema, } from './farm-fertilizers.schemas';
3
4
  /**
4
5
  * Inventory schemas - JSON:API compliant
5
6
  */
@@ -11,6 +12,10 @@ export const inventoryItemAttributesSchema = z.object({
11
12
  unit: z.string(),
12
13
  avgCost: z.number().nonnegative(), // Average cost per unit
13
14
  totalValue: z.number().nonnegative().optional(), // stock * avgCost
15
+ /** Present when this supply item is a confirmed fertilizer bag. */
16
+ fertilizerProfile: fertilizerProfileViewSchema.nullable().optional(),
17
+ /** How delete will treat a bag: drop the whole item, or only its analysis. */
18
+ profileRemoval: z.enum(['item', 'profile']).nullable().optional(),
14
19
  }).merge(timestampsSchema);
15
20
  // Inventory item attributes for creation (input)
16
21
  export const createInventoryItemAttributesSchema = z.object({
@@ -19,12 +24,14 @@ export const createInventoryItemAttributesSchema = z.object({
19
24
  unit: z.string().min(1),
20
25
  initialStock: z.number().nonnegative().default(0).optional(),
21
26
  initialCost: z.number().nonnegative().optional(),
27
+ fertilizerProfile: fertilizerProfileInputSchema.optional(),
22
28
  });
23
29
  // Inventory item attributes for update (input)
24
30
  export const updateInventoryItemAttributesSchema = z.object({
25
31
  name: z.string().min(1).max(200).optional(),
26
32
  category: z.string().min(1).optional(),
27
33
  unit: z.string().min(1).optional(),
34
+ fertilizerProfile: fertilizerProfileInputSchema.optional(),
28
35
  });
29
36
  // Log purchase attributes (creates inventory item and expense)
30
37
  export const logPurchaseAttributesSchema = z.object({
@@ -105,7 +105,6 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
105
105
  updatedAt: string;
106
106
  currency: string;
107
107
  organizationId: string;
108
- total: number;
109
108
  items: {
110
109
  description: string;
111
110
  quantity: number;
@@ -116,6 +115,7 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
116
115
  taxRate?: number | undefined;
117
116
  remark?: string | undefined;
118
117
  }[];
118
+ total: number;
119
119
  issueDate: string;
120
120
  invoiceNumber: string;
121
121
  billFromName: string;
@@ -155,7 +155,6 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
155
155
  createdAt: string;
156
156
  updatedAt: string;
157
157
  organizationId: string;
158
- total: number;
159
158
  items: {
160
159
  description: string;
161
160
  quantity: number;
@@ -166,6 +165,7 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
166
165
  taxRate?: number | undefined;
167
166
  remark?: string | undefined;
168
167
  }[];
168
+ total: number;
169
169
  issueDate: string;
170
170
  invoiceNumber: string;
171
171
  billFromName: string;
@@ -884,7 +884,6 @@ export declare const invoiceResourceSchema: z.ZodObject<{
884
884
  updatedAt: string;
885
885
  currency: string;
886
886
  organizationId: string;
887
- total: number;
888
887
  items: {
889
888
  description: string;
890
889
  quantity: number;
@@ -895,6 +894,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
895
894
  taxRate?: number | undefined;
896
895
  remark?: string | undefined;
897
896
  }[];
897
+ total: number;
898
898
  issueDate: string;
899
899
  invoiceNumber: string;
900
900
  billFromName: string;
@@ -934,7 +934,6 @@ export declare const invoiceResourceSchema: z.ZodObject<{
934
934
  createdAt: string;
935
935
  updatedAt: string;
936
936
  organizationId: string;
937
- total: number;
938
937
  items: {
939
938
  description: string;
940
939
  quantity: number;
@@ -945,6 +944,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
945
944
  taxRate?: number | undefined;
946
945
  remark?: string | undefined;
947
946
  }[];
947
+ total: number;
948
948
  issueDate: string;
949
949
  invoiceNumber: string;
950
950
  billFromName: string;
@@ -993,7 +993,6 @@ export declare const invoiceResourceSchema: z.ZodObject<{
993
993
  updatedAt: string;
994
994
  currency: string;
995
995
  organizationId: string;
996
- total: number;
997
996
  items: {
998
997
  description: string;
999
998
  quantity: number;
@@ -1004,6 +1003,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
1004
1003
  taxRate?: number | undefined;
1005
1004
  remark?: string | undefined;
1006
1005
  }[];
1006
+ total: number;
1007
1007
  issueDate: string;
1008
1008
  invoiceNumber: string;
1009
1009
  billFromName: string;
@@ -1050,7 +1050,6 @@ export declare const invoiceResourceSchema: z.ZodObject<{
1050
1050
  createdAt: string;
1051
1051
  updatedAt: string;
1052
1052
  organizationId: string;
1053
- total: number;
1054
1053
  items: {
1055
1054
  description: string;
1056
1055
  quantity: number;
@@ -1061,6 +1060,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
1061
1060
  taxRate?: number | undefined;
1062
1061
  remark?: string | undefined;
1063
1062
  }[];
1063
+ total: number;
1064
1064
  issueDate: string;
1065
1065
  invoiceNumber: string;
1066
1066
  billFromName: string;
@@ -1181,7 +1181,6 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1181
1181
  updatedAt: string;
1182
1182
  currency: string;
1183
1183
  organizationId: string;
1184
- total: number;
1185
1184
  items: {
1186
1185
  description: string;
1187
1186
  quantity: number;
@@ -1192,6 +1191,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1192
1191
  taxRate?: number | undefined;
1193
1192
  remark?: string | undefined;
1194
1193
  }[];
1194
+ total: number;
1195
1195
  issueDate: string;
1196
1196
  invoiceNumber: string;
1197
1197
  billFromName: string;
@@ -1231,7 +1231,6 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1231
1231
  createdAt: string;
1232
1232
  updatedAt: string;
1233
1233
  organizationId: string;
1234
- total: number;
1235
1234
  items: {
1236
1235
  description: string;
1237
1236
  quantity: number;
@@ -1242,6 +1241,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1242
1241
  taxRate?: number | undefined;
1243
1242
  remark?: string | undefined;
1244
1243
  }[];
1244
+ total: number;
1245
1245
  issueDate: string;
1246
1246
  invoiceNumber: string;
1247
1247
  billFromName: string;
@@ -1290,7 +1290,6 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1290
1290
  updatedAt: string;
1291
1291
  currency: string;
1292
1292
  organizationId: string;
1293
- total: number;
1294
1293
  items: {
1295
1294
  description: string;
1296
1295
  quantity: number;
@@ -1301,6 +1300,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1301
1300
  taxRate?: number | undefined;
1302
1301
  remark?: string | undefined;
1303
1302
  }[];
1303
+ total: number;
1304
1304
  issueDate: string;
1305
1305
  invoiceNumber: string;
1306
1306
  billFromName: string;
@@ -1347,7 +1347,6 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1347
1347
  createdAt: string;
1348
1348
  updatedAt: string;
1349
1349
  organizationId: string;
1350
- total: number;
1351
1350
  items: {
1352
1351
  description: string;
1353
1352
  quantity: number;
@@ -1358,6 +1357,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1358
1357
  taxRate?: number | undefined;
1359
1358
  remark?: string | undefined;
1360
1359
  }[];
1360
+ total: number;
1361
1361
  issueDate: string;
1362
1362
  invoiceNumber: string;
1363
1363
  billFromName: string;
@@ -1432,7 +1432,6 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1432
1432
  updatedAt: string;
1433
1433
  currency: string;
1434
1434
  organizationId: string;
1435
- total: number;
1436
1435
  items: {
1437
1436
  description: string;
1438
1437
  quantity: number;
@@ -1443,6 +1442,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1443
1442
  taxRate?: number | undefined;
1444
1443
  remark?: string | undefined;
1445
1444
  }[];
1445
+ total: number;
1446
1446
  issueDate: string;
1447
1447
  invoiceNumber: string;
1448
1448
  billFromName: string;
@@ -1501,7 +1501,6 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1501
1501
  createdAt: string;
1502
1502
  updatedAt: string;
1503
1503
  organizationId: string;
1504
- total: number;
1505
1504
  items: {
1506
1505
  description: string;
1507
1506
  quantity: number;
@@ -1512,6 +1511,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1512
1511
  taxRate?: number | undefined;
1513
1512
  remark?: string | undefined;
1514
1513
  }[];
1514
+ total: number;
1515
1515
  issueDate: string;
1516
1516
  invoiceNumber: string;
1517
1517
  billFromName: string;
@@ -1643,7 +1643,6 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1643
1643
  updatedAt: string;
1644
1644
  currency: string;
1645
1645
  organizationId: string;
1646
- total: number;
1647
1646
  items: {
1648
1647
  description: string;
1649
1648
  quantity: number;
@@ -1654,6 +1653,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1654
1653
  taxRate?: number | undefined;
1655
1654
  remark?: string | undefined;
1656
1655
  }[];
1656
+ total: number;
1657
1657
  issueDate: string;
1658
1658
  invoiceNumber: string;
1659
1659
  billFromName: string;
@@ -1693,7 +1693,6 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1693
1693
  createdAt: string;
1694
1694
  updatedAt: string;
1695
1695
  organizationId: string;
1696
- total: number;
1697
1696
  items: {
1698
1697
  description: string;
1699
1698
  quantity: number;
@@ -1704,6 +1703,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1704
1703
  taxRate?: number | undefined;
1705
1704
  remark?: string | undefined;
1706
1705
  }[];
1706
+ total: number;
1707
1707
  issueDate: string;
1708
1708
  invoiceNumber: string;
1709
1709
  billFromName: string;
@@ -1752,7 +1752,6 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1752
1752
  updatedAt: string;
1753
1753
  currency: string;
1754
1754
  organizationId: string;
1755
- total: number;
1756
1755
  items: {
1757
1756
  description: string;
1758
1757
  quantity: number;
@@ -1763,6 +1762,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1763
1762
  taxRate?: number | undefined;
1764
1763
  remark?: string | undefined;
1765
1764
  }[];
1765
+ total: number;
1766
1766
  issueDate: string;
1767
1767
  invoiceNumber: string;
1768
1768
  billFromName: string;
@@ -1809,7 +1809,6 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1809
1809
  createdAt: string;
1810
1810
  updatedAt: string;
1811
1811
  organizationId: string;
1812
- total: number;
1813
1812
  items: {
1814
1813
  description: string;
1815
1814
  quantity: number;
@@ -1820,6 +1819,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1820
1819
  taxRate?: number | undefined;
1821
1820
  remark?: string | undefined;
1822
1821
  }[];
1822
+ total: number;
1823
1823
  issueDate: string;
1824
1824
  invoiceNumber: string;
1825
1825
  billFromName: string;
@@ -1894,7 +1894,6 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1894
1894
  updatedAt: string;
1895
1895
  currency: string;
1896
1896
  organizationId: string;
1897
- total: number;
1898
1897
  items: {
1899
1898
  description: string;
1900
1899
  quantity: number;
@@ -1905,6 +1904,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1905
1904
  taxRate?: number | undefined;
1906
1905
  remark?: string | undefined;
1907
1906
  }[];
1907
+ total: number;
1908
1908
  issueDate: string;
1909
1909
  invoiceNumber: string;
1910
1910
  billFromName: string;
@@ -1963,7 +1963,6 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1963
1963
  createdAt: string;
1964
1964
  updatedAt: string;
1965
1965
  organizationId: string;
1966
- total: number;
1967
1966
  items: {
1968
1967
  description: string;
1969
1968
  quantity: number;
@@ -1974,6 +1973,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1974
1973
  taxRate?: number | undefined;
1975
1974
  remark?: string | undefined;
1976
1975
  }[];
1976
+ total: number;
1977
1977
  issueDate: string;
1978
1978
  invoiceNumber: string;
1979
1979
  billFromName: string;
@@ -340,13 +340,13 @@ export declare const irrigationEventAttributesSchema: z.ZodObject<{
340
340
  recentRainfallMM: number | null;
341
341
  forecastRainfallMM: number | null;
342
342
  } | null;
343
+ skipReason: string | null;
343
344
  plannedDurationMinutes: number;
344
345
  actualDurationMinutes: number | null;
345
346
  plannedVolumeLiters: number;
346
347
  actualVolumeLiters: number | null;
347
348
  soilMoistureBefore: number | null;
348
349
  soilMoistureAfter: number | null;
349
- skipReason: string | null;
350
350
  }, {
351
351
  status: "skipped" | "pending" | "completed" | "cancelled";
352
352
  id: string;
@@ -364,13 +364,13 @@ export declare const irrigationEventAttributesSchema: z.ZodObject<{
364
364
  recentRainfallMM: number | null;
365
365
  forecastRainfallMM: number | null;
366
366
  } | null;
367
+ skipReason: string | null;
367
368
  plannedDurationMinutes: number;
368
369
  actualDurationMinutes: number | null;
369
370
  plannedVolumeLiters: number;
370
371
  actualVolumeLiters: number | null;
371
372
  soilMoistureBefore: number | null;
372
373
  soilMoistureAfter: number | null;
373
- skipReason: string | null;
374
374
  }>;
375
375
  export declare const completeIrrigationEventSchema: z.ZodObject<{
376
376
  actualDurationMinutes: z.ZodNumber;
@@ -780,13 +780,13 @@ export declare const irrigationEventResponseSchema: z.ZodObject<{
780
780
  recentRainfallMM: number | null;
781
781
  forecastRainfallMM: number | null;
782
782
  } | null;
783
+ skipReason: string | null;
783
784
  plannedDurationMinutes: number;
784
785
  actualDurationMinutes: number | null;
785
786
  plannedVolumeLiters: number;
786
787
  actualVolumeLiters: number | null;
787
788
  soilMoistureBefore: number | null;
788
789
  soilMoistureAfter: number | null;
789
- skipReason: string | null;
790
790
  }, {
791
791
  status: "skipped" | "pending" | "completed" | "cancelled";
792
792
  id: string;
@@ -804,13 +804,13 @@ export declare const irrigationEventResponseSchema: z.ZodObject<{
804
804
  recentRainfallMM: number | null;
805
805
  forecastRainfallMM: number | null;
806
806
  } | null;
807
+ skipReason: string | null;
807
808
  plannedDurationMinutes: number;
808
809
  actualDurationMinutes: number | null;
809
810
  plannedVolumeLiters: number;
810
811
  actualVolumeLiters: number | null;
811
812
  soilMoistureBefore: number | null;
812
813
  soilMoistureAfter: number | null;
813
- skipReason: string | null;
814
814
  }>;
815
815
  }, "strip", z.ZodTypeAny, {
816
816
  type: "irrigation-events";
@@ -832,13 +832,13 @@ export declare const irrigationEventResponseSchema: z.ZodObject<{
832
832
  recentRainfallMM: number | null;
833
833
  forecastRainfallMM: number | null;
834
834
  } | null;
835
+ skipReason: string | null;
835
836
  plannedDurationMinutes: number;
836
837
  actualDurationMinutes: number | null;
837
838
  plannedVolumeLiters: number;
838
839
  actualVolumeLiters: number | null;
839
840
  soilMoistureBefore: number | null;
840
841
  soilMoistureAfter: number | null;
841
- skipReason: string | null;
842
842
  };
843
843
  }, {
844
844
  type: "irrigation-events";
@@ -860,13 +860,13 @@ export declare const irrigationEventResponseSchema: z.ZodObject<{
860
860
  recentRainfallMM: number | null;
861
861
  forecastRainfallMM: number | null;
862
862
  } | null;
863
+ skipReason: string | null;
863
864
  plannedDurationMinutes: number;
864
865
  actualDurationMinutes: number | null;
865
866
  plannedVolumeLiters: number;
866
867
  actualVolumeLiters: number | null;
867
868
  soilMoistureBefore: number | null;
868
869
  soilMoistureAfter: number | null;
869
- skipReason: string | null;
870
870
  };
871
871
  }>;
872
872
  export declare const irrigationEventListResponseSchema: z.ZodObject<{
@@ -926,13 +926,13 @@ export declare const irrigationEventListResponseSchema: z.ZodObject<{
926
926
  recentRainfallMM: number | null;
927
927
  forecastRainfallMM: number | null;
928
928
  } | null;
929
+ skipReason: string | null;
929
930
  plannedDurationMinutes: number;
930
931
  actualDurationMinutes: number | null;
931
932
  plannedVolumeLiters: number;
932
933
  actualVolumeLiters: number | null;
933
934
  soilMoistureBefore: number | null;
934
935
  soilMoistureAfter: number | null;
935
- skipReason: string | null;
936
936
  }, {
937
937
  status: "skipped" | "pending" | "completed" | "cancelled";
938
938
  id: string;
@@ -950,13 +950,13 @@ export declare const irrigationEventListResponseSchema: z.ZodObject<{
950
950
  recentRainfallMM: number | null;
951
951
  forecastRainfallMM: number | null;
952
952
  } | null;
953
+ skipReason: string | null;
953
954
  plannedDurationMinutes: number;
954
955
  actualDurationMinutes: number | null;
955
956
  plannedVolumeLiters: number;
956
957
  actualVolumeLiters: number | null;
957
958
  soilMoistureBefore: number | null;
958
959
  soilMoistureAfter: number | null;
959
- skipReason: string | null;
960
960
  }>;
961
961
  }, "strip", z.ZodTypeAny, {
962
962
  type: "irrigation-events";
@@ -978,13 +978,13 @@ export declare const irrigationEventListResponseSchema: z.ZodObject<{
978
978
  recentRainfallMM: number | null;
979
979
  forecastRainfallMM: number | null;
980
980
  } | null;
981
+ skipReason: string | null;
981
982
  plannedDurationMinutes: number;
982
983
  actualDurationMinutes: number | null;
983
984
  plannedVolumeLiters: number;
984
985
  actualVolumeLiters: number | null;
985
986
  soilMoistureBefore: number | null;
986
987
  soilMoistureAfter: number | null;
987
- skipReason: string | null;
988
988
  };
989
989
  }, {
990
990
  type: "irrigation-events";
@@ -1006,13 +1006,13 @@ export declare const irrigationEventListResponseSchema: z.ZodObject<{
1006
1006
  recentRainfallMM: number | null;
1007
1007
  forecastRainfallMM: number | null;
1008
1008
  } | null;
1009
+ skipReason: string | null;
1009
1010
  plannedDurationMinutes: number;
1010
1011
  actualDurationMinutes: number | null;
1011
1012
  plannedVolumeLiters: number;
1012
1013
  actualVolumeLiters: number | null;
1013
1014
  soilMoistureBefore: number | null;
1014
1015
  soilMoistureAfter: number | null;
1015
- skipReason: string | null;
1016
1016
  };
1017
1017
  }>, "many">;
1018
1018
  meta: z.ZodOptional<z.ZodObject<{
@@ -1043,13 +1043,13 @@ export declare const irrigationEventListResponseSchema: z.ZodObject<{
1043
1043
  recentRainfallMM: number | null;
1044
1044
  forecastRainfallMM: number | null;
1045
1045
  } | null;
1046
+ skipReason: string | null;
1046
1047
  plannedDurationMinutes: number;
1047
1048
  actualDurationMinutes: number | null;
1048
1049
  plannedVolumeLiters: number;
1049
1050
  actualVolumeLiters: number | null;
1050
1051
  soilMoistureBefore: number | null;
1051
1052
  soilMoistureAfter: number | null;
1052
- skipReason: string | null;
1053
1053
  };
1054
1054
  }[];
1055
1055
  meta?: {
@@ -1076,13 +1076,13 @@ export declare const irrigationEventListResponseSchema: z.ZodObject<{
1076
1076
  recentRainfallMM: number | null;
1077
1077
  forecastRainfallMM: number | null;
1078
1078
  } | null;
1079
+ skipReason: string | null;
1079
1080
  plannedDurationMinutes: number;
1080
1081
  actualDurationMinutes: number | null;
1081
1082
  plannedVolumeLiters: number;
1082
1083
  actualVolumeLiters: number | null;
1083
1084
  soilMoistureBefore: number | null;
1084
1085
  soilMoistureAfter: number | null;
1085
- skipReason: string | null;
1086
1086
  };
1087
1087
  }[];
1088
1088
  meta?: {
@@ -57,9 +57,9 @@ export declare const measurementSchema: z.ZodObject<{
57
57
  farmId: string;
58
58
  unit: string;
59
59
  fieldId: string;
60
+ label: string | null;
60
61
  createdBy: string | null;
61
62
  result: number;
62
- label: string | null;
63
63
  points: [number, number][];
64
64
  segments: {
65
65
  distance: number;
@@ -74,9 +74,9 @@ export declare const measurementSchema: z.ZodObject<{
74
74
  farmId: string;
75
75
  unit: string;
76
76
  fieldId: string;
77
+ label: string | null;
77
78
  createdBy: string | null;
78
79
  result: number;
79
- label: string | null;
80
80
  points: [number, number][];
81
81
  segments: {
82
82
  distance: number;
@@ -151,9 +151,9 @@ export declare const measurementListResponseSchema: z.ZodArray<z.ZodObject<{
151
151
  farmId: string;
152
152
  unit: string;
153
153
  fieldId: string;
154
+ label: string | null;
154
155
  createdBy: string | null;
155
156
  result: number;
156
- label: string | null;
157
157
  points: [number, number][];
158
158
  segments: {
159
159
  distance: number;
@@ -168,9 +168,9 @@ export declare const measurementListResponseSchema: z.ZodArray<z.ZodObject<{
168
168
  farmId: string;
169
169
  unit: string;
170
170
  fieldId: string;
171
+ label: string | null;
171
172
  createdBy: string | null;
172
173
  result: number;
173
- label: string | null;
174
174
  points: [number, number][];
175
175
  segments: {
176
176
  distance: number;
@@ -212,9 +212,9 @@ export declare const measurementSingleResponseSchema: z.ZodObject<{
212
212
  farmId: string;
213
213
  unit: string;
214
214
  fieldId: string;
215
+ label: string | null;
215
216
  createdBy: string | null;
216
217
  result: number;
217
- label: string | null;
218
218
  points: [number, number][];
219
219
  segments: {
220
220
  distance: number;
@@ -229,9 +229,9 @@ export declare const measurementSingleResponseSchema: z.ZodObject<{
229
229
  farmId: string;
230
230
  unit: string;
231
231
  fieldId: string;
232
+ label: string | null;
232
233
  createdBy: string | null;
233
234
  result: number;
234
- label: string | null;
235
235
  points: [number, number][];
236
236
  segments: {
237
237
  distance: number;
@@ -3476,6 +3476,7 @@ export declare const terrainResponseSchema: z.ZodObject<{
3476
3476
  mean: number;
3477
3477
  };
3478
3478
  source?: string | undefined;
3479
+ profile?: unknown;
3479
3480
  drainagePatterns?: {
3480
3481
  flowDirection: {
3481
3482
  type: "FeatureCollection";
@@ -3490,7 +3491,6 @@ export declare const terrainResponseSchema: z.ZodObject<{
3490
3491
  resolutionM?: number | undefined;
3491
3492
  interpolated?: boolean | undefined;
3492
3493
  trustNote?: string | undefined;
3493
- profile?: unknown;
3494
3494
  }, {
3495
3495
  data: {
3496
3496
  resolution: number;
@@ -3512,6 +3512,7 @@ export declare const terrainResponseSchema: z.ZodObject<{
3512
3512
  mean: number;
3513
3513
  };
3514
3514
  source?: string | undefined;
3515
+ profile?: unknown;
3515
3516
  drainagePatterns?: {
3516
3517
  flowDirection: {
3517
3518
  type: "FeatureCollection";
@@ -3526,7 +3527,6 @@ export declare const terrainResponseSchema: z.ZodObject<{
3526
3527
  resolutionM?: number | undefined;
3527
3528
  interpolated?: boolean | undefined;
3528
3529
  trustNote?: string | undefined;
3529
- profile?: unknown;
3530
3530
  }>;
3531
3531
  export declare const elevationHeatmapQuerySchema: z.ZodObject<{
3532
3532
  resolution: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
@@ -4881,6 +4881,13 @@ export declare const elevationProfileResponseSchema: z.ZodObject<{
4881
4881
  }>, "many">;
4882
4882
  }, "strip", z.ZodTypeAny, {
4883
4883
  fieldId: string;
4884
+ profile: {
4885
+ lat: number;
4886
+ lng: number;
4887
+ elevation: number;
4888
+ distance: number;
4889
+ slope: number;
4890
+ }[];
4884
4891
  statistics: {
4885
4892
  minElevation: number;
4886
4893
  maxElevation: number;
@@ -4890,13 +4897,6 @@ export declare const elevationProfileResponseSchema: z.ZodObject<{
4890
4897
  netElevationChange: number;
4891
4898
  averageSlope: number;
4892
4899
  };
4893
- profile: {
4894
- lat: number;
4895
- lng: number;
4896
- elevation: number;
4897
- distance: number;
4898
- slope: number;
4899
- }[];
4900
4900
  keyPoints: {
4901
4901
  type: "high_point" | "low_point" | "steep_section" | "flat_section";
4902
4902
  description: string;
@@ -4909,6 +4909,13 @@ export declare const elevationProfileResponseSchema: z.ZodObject<{
4909
4909
  }[];
4910
4910
  }, {
4911
4911
  fieldId: string;
4912
+ profile: {
4913
+ lat: number;
4914
+ lng: number;
4915
+ elevation: number;
4916
+ distance: number;
4917
+ slope: number;
4918
+ }[];
4912
4919
  statistics: {
4913
4920
  minElevation: number;
4914
4921
  maxElevation: number;
@@ -4918,13 +4925,6 @@ export declare const elevationProfileResponseSchema: z.ZodObject<{
4918
4925
  netElevationChange: number;
4919
4926
  averageSlope: number;
4920
4927
  };
4921
- profile: {
4922
- lat: number;
4923
- lng: number;
4924
- elevation: number;
4925
- distance: number;
4926
- slope: number;
4927
- }[];
4928
4928
  keyPoints: {
4929
4929
  type: "high_point" | "low_point" | "steep_section" | "flat_section";
4930
4930
  description: string;