@deepintel-ltd/farmpro-contracts 1.36.4 → 1.36.6

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 +4 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -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 +1847 -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 +889 -0
  44. package/dist/schemas/fertigation-board.schemas.d.ts.map +1 -0
  45. package/dist/schemas/fertigation-board.schemas.js +107 -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
@@ -111,9 +111,9 @@ export declare const fieldAlertSchema: z.ZodObject<{
111
111
  quantity: number;
112
112
  unit: string;
113
113
  inventoryItemId?: string | undefined;
114
+ availability?: string | undefined;
114
115
  totalCost?: number | undefined;
115
116
  costPerUnit?: number | undefined;
116
- availability?: string | undefined;
117
117
  inStock?: boolean | undefined;
118
118
  stockQuantity?: number | undefined;
119
119
  applicationMethod?: string | undefined;
@@ -122,9 +122,9 @@ export declare const fieldAlertSchema: z.ZodObject<{
122
122
  quantity: number;
123
123
  unit: string;
124
124
  inventoryItemId?: string | undefined;
125
+ availability?: string | undefined;
125
126
  totalCost?: number | undefined;
126
127
  costPerUnit?: number | undefined;
127
- availability?: string | undefined;
128
128
  inStock?: boolean | undefined;
129
129
  stockQuantity?: number | undefined;
130
130
  applicationMethod?: string | undefined;
@@ -147,9 +147,9 @@ export declare const fieldAlertSchema: z.ZodObject<{
147
147
  quantity: number;
148
148
  unit: string;
149
149
  inventoryItemId?: string | undefined;
150
+ availability?: string | undefined;
150
151
  totalCost?: number | undefined;
151
152
  costPerUnit?: number | undefined;
152
- availability?: string | undefined;
153
153
  inStock?: boolean | undefined;
154
154
  stockQuantity?: number | undefined;
155
155
  applicationMethod?: string | undefined;
@@ -171,9 +171,9 @@ export declare const fieldAlertSchema: z.ZodObject<{
171
171
  quantity: number;
172
172
  unit: string;
173
173
  inventoryItemId?: string | undefined;
174
+ availability?: string | undefined;
174
175
  totalCost?: number | undefined;
175
176
  costPerUnit?: number | undefined;
176
- availability?: string | undefined;
177
177
  inStock?: boolean | undefined;
178
178
  stockQuantity?: number | undefined;
179
179
  applicationMethod?: string | undefined;
@@ -216,9 +216,9 @@ export declare const fieldAlertSchema: z.ZodObject<{
216
216
  quantity: number;
217
217
  unit: string;
218
218
  inventoryItemId?: string | undefined;
219
+ availability?: string | undefined;
219
220
  totalCost?: number | undefined;
220
221
  costPerUnit?: number | undefined;
221
- availability?: string | undefined;
222
222
  inStock?: boolean | undefined;
223
223
  stockQuantity?: number | undefined;
224
224
  applicationMethod?: string | undefined;
@@ -260,9 +260,9 @@ export declare const fieldAlertSchema: z.ZodObject<{
260
260
  quantity: number;
261
261
  unit: string;
262
262
  inventoryItemId?: string | undefined;
263
+ availability?: string | undefined;
263
264
  totalCost?: number | undefined;
264
265
  costPerUnit?: number | undefined;
265
- availability?: string | undefined;
266
266
  inStock?: boolean | undefined;
267
267
  stockQuantity?: number | undefined;
268
268
  applicationMethod?: string | undefined;
@@ -388,9 +388,9 @@ export declare const fieldAlertListResponseSchema: z.ZodObject<{
388
388
  quantity: number;
389
389
  unit: string;
390
390
  inventoryItemId?: string | undefined;
391
+ availability?: string | undefined;
391
392
  totalCost?: number | undefined;
392
393
  costPerUnit?: number | undefined;
393
- availability?: string | undefined;
394
394
  inStock?: boolean | undefined;
395
395
  stockQuantity?: number | undefined;
396
396
  applicationMethod?: string | undefined;
@@ -399,9 +399,9 @@ export declare const fieldAlertListResponseSchema: z.ZodObject<{
399
399
  quantity: number;
400
400
  unit: string;
401
401
  inventoryItemId?: string | undefined;
402
+ availability?: string | undefined;
402
403
  totalCost?: number | undefined;
403
404
  costPerUnit?: number | undefined;
404
- availability?: string | undefined;
405
405
  inStock?: boolean | undefined;
406
406
  stockQuantity?: number | undefined;
407
407
  applicationMethod?: string | undefined;
@@ -424,9 +424,9 @@ export declare const fieldAlertListResponseSchema: z.ZodObject<{
424
424
  quantity: number;
425
425
  unit: string;
426
426
  inventoryItemId?: string | undefined;
427
+ availability?: string | undefined;
427
428
  totalCost?: number | undefined;
428
429
  costPerUnit?: number | undefined;
429
- availability?: string | undefined;
430
430
  inStock?: boolean | undefined;
431
431
  stockQuantity?: number | undefined;
432
432
  applicationMethod?: string | undefined;
@@ -448,9 +448,9 @@ export declare const fieldAlertListResponseSchema: z.ZodObject<{
448
448
  quantity: number;
449
449
  unit: string;
450
450
  inventoryItemId?: string | undefined;
451
+ availability?: string | undefined;
451
452
  totalCost?: number | undefined;
452
453
  costPerUnit?: number | undefined;
453
- availability?: string | undefined;
454
454
  inStock?: boolean | undefined;
455
455
  stockQuantity?: number | undefined;
456
456
  applicationMethod?: string | undefined;
@@ -493,9 +493,9 @@ export declare const fieldAlertListResponseSchema: z.ZodObject<{
493
493
  quantity: number;
494
494
  unit: string;
495
495
  inventoryItemId?: string | undefined;
496
+ availability?: string | undefined;
496
497
  totalCost?: number | undefined;
497
498
  costPerUnit?: number | undefined;
498
- availability?: string | undefined;
499
499
  inStock?: boolean | undefined;
500
500
  stockQuantity?: number | undefined;
501
501
  applicationMethod?: string | undefined;
@@ -537,9 +537,9 @@ export declare const fieldAlertListResponseSchema: z.ZodObject<{
537
537
  quantity: number;
538
538
  unit: string;
539
539
  inventoryItemId?: string | undefined;
540
+ availability?: string | undefined;
540
541
  totalCost?: number | undefined;
541
542
  costPerUnit?: number | undefined;
542
- availability?: string | undefined;
543
543
  inStock?: boolean | undefined;
544
544
  stockQuantity?: number | undefined;
545
545
  applicationMethod?: string | undefined;
@@ -605,9 +605,9 @@ export declare const fieldAlertListResponseSchema: z.ZodObject<{
605
605
  quantity: number;
606
606
  unit: string;
607
607
  inventoryItemId?: string | undefined;
608
+ availability?: string | undefined;
608
609
  totalCost?: number | undefined;
609
610
  costPerUnit?: number | undefined;
610
- availability?: string | undefined;
611
611
  inStock?: boolean | undefined;
612
612
  stockQuantity?: number | undefined;
613
613
  applicationMethod?: string | undefined;
@@ -657,9 +657,9 @@ export declare const fieldAlertListResponseSchema: z.ZodObject<{
657
657
  quantity: number;
658
658
  unit: string;
659
659
  inventoryItemId?: string | undefined;
660
+ availability?: string | undefined;
660
661
  totalCost?: number | undefined;
661
662
  costPerUnit?: number | undefined;
662
- availability?: string | undefined;
663
663
  inStock?: boolean | undefined;
664
664
  stockQuantity?: number | undefined;
665
665
  applicationMethod?: string | undefined;
@@ -724,9 +724,9 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
724
724
  quantity: number;
725
725
  unit: string;
726
726
  inventoryItemId?: string | undefined;
727
+ availability?: string | undefined;
727
728
  totalCost?: number | undefined;
728
729
  costPerUnit?: number | undefined;
729
- availability?: string | undefined;
730
730
  inStock?: boolean | undefined;
731
731
  stockQuantity?: number | undefined;
732
732
  applicationMethod?: string | undefined;
@@ -735,9 +735,9 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
735
735
  quantity: number;
736
736
  unit: string;
737
737
  inventoryItemId?: string | undefined;
738
+ availability?: string | undefined;
738
739
  totalCost?: number | undefined;
739
740
  costPerUnit?: number | undefined;
740
- availability?: string | undefined;
741
741
  inStock?: boolean | undefined;
742
742
  stockQuantity?: number | undefined;
743
743
  applicationMethod?: string | undefined;
@@ -760,9 +760,9 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
760
760
  quantity: number;
761
761
  unit: string;
762
762
  inventoryItemId?: string | undefined;
763
+ availability?: string | undefined;
763
764
  totalCost?: number | undefined;
764
765
  costPerUnit?: number | undefined;
765
- availability?: string | undefined;
766
766
  inStock?: boolean | undefined;
767
767
  stockQuantity?: number | undefined;
768
768
  applicationMethod?: string | undefined;
@@ -784,9 +784,9 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
784
784
  quantity: number;
785
785
  unit: string;
786
786
  inventoryItemId?: string | undefined;
787
+ availability?: string | undefined;
787
788
  totalCost?: number | undefined;
788
789
  costPerUnit?: number | undefined;
789
- availability?: string | undefined;
790
790
  inStock?: boolean | undefined;
791
791
  stockQuantity?: number | undefined;
792
792
  applicationMethod?: string | undefined;
@@ -829,9 +829,9 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
829
829
  quantity: number;
830
830
  unit: string;
831
831
  inventoryItemId?: string | undefined;
832
+ availability?: string | undefined;
832
833
  totalCost?: number | undefined;
833
834
  costPerUnit?: number | undefined;
834
- availability?: string | undefined;
835
835
  inStock?: boolean | undefined;
836
836
  stockQuantity?: number | undefined;
837
837
  applicationMethod?: string | undefined;
@@ -873,9 +873,9 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
873
873
  quantity: number;
874
874
  unit: string;
875
875
  inventoryItemId?: string | undefined;
876
+ availability?: string | undefined;
876
877
  totalCost?: number | undefined;
877
878
  costPerUnit?: number | undefined;
878
- availability?: string | undefined;
879
879
  inStock?: boolean | undefined;
880
880
  stockQuantity?: number | undefined;
881
881
  applicationMethod?: string | undefined;
@@ -919,9 +919,9 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
919
919
  quantity: number;
920
920
  unit: string;
921
921
  inventoryItemId?: string | undefined;
922
+ availability?: string | undefined;
922
923
  totalCost?: number | undefined;
923
924
  costPerUnit?: number | undefined;
924
- availability?: string | undefined;
925
925
  inStock?: boolean | undefined;
926
926
  stockQuantity?: number | undefined;
927
927
  applicationMethod?: string | undefined;
@@ -966,9 +966,9 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
966
966
  quantity: number;
967
967
  unit: string;
968
968
  inventoryItemId?: string | undefined;
969
+ availability?: string | undefined;
969
970
  totalCost?: number | undefined;
970
971
  costPerUnit?: number | undefined;
971
- availability?: string | undefined;
972
972
  inStock?: boolean | undefined;
973
973
  stockQuantity?: number | undefined;
974
974
  applicationMethod?: string | undefined;
@@ -1026,14 +1026,14 @@ export declare const monitoringCacheBuildingResponseSchema: z.ZodObject<{
1026
1026
  farmId: z.ZodOptional<z.ZodString>;
1027
1027
  }, "strip", z.ZodTypeAny, {
1028
1028
  status: "building";
1029
- kind: "terrain" | "soil";
1029
+ kind: "soil" | "terrain";
1030
1030
  fieldId: string;
1031
1031
  jobId: string;
1032
1032
  cacheKey: string;
1033
1033
  farmId?: string | undefined;
1034
1034
  }, {
1035
1035
  status: "building";
1036
- kind: "terrain" | "soil";
1036
+ kind: "soil" | "terrain";
1037
1037
  fieldId: string;
1038
1038
  jobId: string;
1039
1039
  cacheKey: string;
@@ -1476,7 +1476,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1476
1476
  sourceId?: string | undefined;
1477
1477
  }>;
1478
1478
  }, "strip", z.ZodTypeAny, {
1479
- pH: {
1479
+ nitrogen: {
1480
1480
  value: number | null;
1481
1481
  source: "manual" | "regional_api" | "global_api" | "predicted";
1482
1482
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -1484,7 +1484,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1484
1484
  lastUpdated: string;
1485
1485
  sourceId?: string | undefined;
1486
1486
  };
1487
- nitrogen: {
1487
+ phosphorus: {
1488
1488
  value: number | null;
1489
1489
  source: "manual" | "regional_api" | "global_api" | "predicted";
1490
1490
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -1492,7 +1492,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1492
1492
  lastUpdated: string;
1493
1493
  sourceId?: string | undefined;
1494
1494
  };
1495
- phosphorus: {
1495
+ potassium: {
1496
1496
  value: number | null;
1497
1497
  source: "manual" | "regional_api" | "global_api" | "predicted";
1498
1498
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -1500,7 +1500,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1500
1500
  lastUpdated: string;
1501
1501
  sourceId?: string | undefined;
1502
1502
  };
1503
- potassium: {
1503
+ pH: {
1504
1504
  value: number | null;
1505
1505
  source: "manual" | "regional_api" | "global_api" | "predicted";
1506
1506
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -1533,7 +1533,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1533
1533
  sourceId?: string | undefined;
1534
1534
  };
1535
1535
  }, {
1536
- pH: {
1536
+ nitrogen: {
1537
1537
  value: number | null;
1538
1538
  source: "manual" | "regional_api" | "global_api" | "predicted";
1539
1539
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -1541,7 +1541,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1541
1541
  lastUpdated: string;
1542
1542
  sourceId?: string | undefined;
1543
1543
  };
1544
- nitrogen: {
1544
+ phosphorus: {
1545
1545
  value: number | null;
1546
1546
  source: "manual" | "regional_api" | "global_api" | "predicted";
1547
1547
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -1549,7 +1549,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1549
1549
  lastUpdated: string;
1550
1550
  sourceId?: string | undefined;
1551
1551
  };
1552
- phosphorus: {
1552
+ potassium: {
1553
1553
  value: number | null;
1554
1554
  source: "manual" | "regional_api" | "global_api" | "predicted";
1555
1555
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -1557,7 +1557,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1557
1557
  lastUpdated: string;
1558
1558
  sourceId?: string | undefined;
1559
1559
  };
1560
- potassium: {
1560
+ pH: {
1561
1561
  value: number | null;
1562
1562
  source: "manual" | "regional_api" | "global_api" | "predicted";
1563
1563
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -1846,17 +1846,17 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1846
1846
  }, "strip", z.ZodTypeAny, {
1847
1847
  date: string;
1848
1848
  id: string;
1849
- pH: number;
1850
1849
  nitrogen: number | null;
1851
1850
  phosphorus: number | null;
1852
1851
  potassium: number | null;
1852
+ pH: number;
1853
1853
  }, {
1854
1854
  date: string;
1855
1855
  id: string;
1856
- pH: number;
1857
1856
  nitrogen: number | null;
1858
1857
  phosphorus: number | null;
1859
1858
  potassium: number | null;
1859
+ pH: number;
1860
1860
  }>, "many">;
1861
1861
  trends: z.ZodOptional<z.ZodObject<{
1862
1862
  pH: z.ZodOptional<z.ZodObject<{
@@ -1910,10 +1910,6 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1910
1910
  rate: number;
1911
1911
  }>>;
1912
1912
  }, "strip", z.ZodTypeAny, {
1913
- pH?: {
1914
- direction: "stable" | "increasing" | "decreasing";
1915
- rate: number;
1916
- } | undefined;
1917
1913
  nitrogen?: {
1918
1914
  direction: "stable" | "increasing" | "decreasing";
1919
1915
  rate: number;
@@ -1926,15 +1922,15 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1926
1922
  direction: "stable" | "increasing" | "decreasing";
1927
1923
  rate: number;
1928
1924
  } | undefined;
1929
- organicMatter?: {
1925
+ pH?: {
1930
1926
  direction: "stable" | "increasing" | "decreasing";
1931
1927
  rate: number;
1932
1928
  } | undefined;
1933
- }, {
1934
- pH?: {
1929
+ organicMatter?: {
1935
1930
  direction: "stable" | "increasing" | "decreasing";
1936
1931
  rate: number;
1937
1932
  } | undefined;
1933
+ }, {
1938
1934
  nitrogen?: {
1939
1935
  direction: "stable" | "increasing" | "decreasing";
1940
1936
  rate: number;
@@ -1947,6 +1943,10 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1947
1943
  direction: "stable" | "increasing" | "decreasing";
1948
1944
  rate: number;
1949
1945
  } | undefined;
1946
+ pH?: {
1947
+ direction: "stable" | "increasing" | "decreasing";
1948
+ rate: number;
1949
+ } | undefined;
1950
1950
  organicMatter?: {
1951
1951
  direction: "stable" | "increasing" | "decreasing";
1952
1952
  rate: number;
@@ -1957,16 +1957,12 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1957
1957
  testHistory: {
1958
1958
  date: string;
1959
1959
  id: string;
1960
- pH: number;
1961
1960
  nitrogen: number | null;
1962
1961
  phosphorus: number | null;
1963
1962
  potassium: number | null;
1963
+ pH: number;
1964
1964
  }[];
1965
1965
  trends?: {
1966
- pH?: {
1967
- direction: "stable" | "increasing" | "decreasing";
1968
- rate: number;
1969
- } | undefined;
1970
1966
  nitrogen?: {
1971
1967
  direction: "stable" | "increasing" | "decreasing";
1972
1968
  rate: number;
@@ -1979,6 +1975,10 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1979
1975
  direction: "stable" | "increasing" | "decreasing";
1980
1976
  rate: number;
1981
1977
  } | undefined;
1978
+ pH?: {
1979
+ direction: "stable" | "increasing" | "decreasing";
1980
+ rate: number;
1981
+ } | undefined;
1982
1982
  organicMatter?: {
1983
1983
  direction: "stable" | "increasing" | "decreasing";
1984
1984
  rate: number;
@@ -1989,16 +1989,12 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
1989
1989
  testHistory: {
1990
1990
  date: string;
1991
1991
  id: string;
1992
- pH: number;
1993
1992
  nitrogen: number | null;
1994
1993
  phosphorus: number | null;
1995
1994
  potassium: number | null;
1995
+ pH: number;
1996
1996
  }[];
1997
1997
  trends?: {
1998
- pH?: {
1999
- direction: "stable" | "increasing" | "decreasing";
2000
- rate: number;
2001
- } | undefined;
2002
1998
  nitrogen?: {
2003
1999
  direction: "stable" | "increasing" | "decreasing";
2004
2000
  rate: number;
@@ -2011,6 +2007,10 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2011
2007
  direction: "stable" | "increasing" | "decreasing";
2012
2008
  rate: number;
2013
2009
  } | undefined;
2010
+ pH?: {
2011
+ direction: "stable" | "increasing" | "decreasing";
2012
+ rate: number;
2013
+ } | undefined;
2014
2014
  organicMatter?: {
2015
2015
  direction: "stable" | "increasing" | "decreasing";
2016
2016
  rate: number;
@@ -2285,7 +2285,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2285
2285
  };
2286
2286
  };
2287
2287
  nutrients: {
2288
- pH: {
2288
+ nitrogen: {
2289
2289
  value: number | null;
2290
2290
  source: "manual" | "regional_api" | "global_api" | "predicted";
2291
2291
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -2293,7 +2293,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2293
2293
  lastUpdated: string;
2294
2294
  sourceId?: string | undefined;
2295
2295
  };
2296
- nitrogen: {
2296
+ phosphorus: {
2297
2297
  value: number | null;
2298
2298
  source: "manual" | "regional_api" | "global_api" | "predicted";
2299
2299
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -2301,7 +2301,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2301
2301
  lastUpdated: string;
2302
2302
  sourceId?: string | undefined;
2303
2303
  };
2304
- phosphorus: {
2304
+ potassium: {
2305
2305
  value: number | null;
2306
2306
  source: "manual" | "regional_api" | "global_api" | "predicted";
2307
2307
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -2309,7 +2309,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2309
2309
  lastUpdated: string;
2310
2310
  sourceId?: string | undefined;
2311
2311
  };
2312
- potassium: {
2312
+ pH: {
2313
2313
  value: number | null;
2314
2314
  source: "manual" | "regional_api" | "global_api" | "predicted";
2315
2315
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -2355,16 +2355,12 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2355
2355
  testHistory: {
2356
2356
  date: string;
2357
2357
  id: string;
2358
- pH: number;
2359
2358
  nitrogen: number | null;
2360
2359
  phosphorus: number | null;
2361
2360
  potassium: number | null;
2361
+ pH: number;
2362
2362
  }[];
2363
2363
  trends?: {
2364
- pH?: {
2365
- direction: "stable" | "increasing" | "decreasing";
2366
- rate: number;
2367
- } | undefined;
2368
2364
  nitrogen?: {
2369
2365
  direction: "stable" | "increasing" | "decreasing";
2370
2366
  rate: number;
@@ -2377,6 +2373,10 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2377
2373
  direction: "stable" | "increasing" | "decreasing";
2378
2374
  rate: number;
2379
2375
  } | undefined;
2376
+ pH?: {
2377
+ direction: "stable" | "increasing" | "decreasing";
2378
+ rate: number;
2379
+ } | undefined;
2380
2380
  organicMatter?: {
2381
2381
  direction: "stable" | "increasing" | "decreasing";
2382
2382
  rate: number;
@@ -2472,7 +2472,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2472
2472
  };
2473
2473
  };
2474
2474
  nutrients: {
2475
- pH: {
2475
+ nitrogen: {
2476
2476
  value: number | null;
2477
2477
  source: "manual" | "regional_api" | "global_api" | "predicted";
2478
2478
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -2480,7 +2480,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2480
2480
  lastUpdated: string;
2481
2481
  sourceId?: string | undefined;
2482
2482
  };
2483
- nitrogen: {
2483
+ phosphorus: {
2484
2484
  value: number | null;
2485
2485
  source: "manual" | "regional_api" | "global_api" | "predicted";
2486
2486
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -2488,7 +2488,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2488
2488
  lastUpdated: string;
2489
2489
  sourceId?: string | undefined;
2490
2490
  };
2491
- phosphorus: {
2491
+ potassium: {
2492
2492
  value: number | null;
2493
2493
  source: "manual" | "regional_api" | "global_api" | "predicted";
2494
2494
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -2496,7 +2496,7 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2496
2496
  lastUpdated: string;
2497
2497
  sourceId?: string | undefined;
2498
2498
  };
2499
- potassium: {
2499
+ pH: {
2500
2500
  value: number | null;
2501
2501
  source: "manual" | "regional_api" | "global_api" | "predicted";
2502
2502
  unit: "ppm" | "kg/ha" | "g/kg" | "%" | "cmol(c)/kg";
@@ -2542,16 +2542,12 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2542
2542
  testHistory: {
2543
2543
  date: string;
2544
2544
  id: string;
2545
- pH: number;
2546
2545
  nitrogen: number | null;
2547
2546
  phosphorus: number | null;
2548
2547
  potassium: number | null;
2548
+ pH: number;
2549
2549
  }[];
2550
2550
  trends?: {
2551
- pH?: {
2552
- direction: "stable" | "increasing" | "decreasing";
2553
- rate: number;
2554
- } | undefined;
2555
2551
  nitrogen?: {
2556
2552
  direction: "stable" | "increasing" | "decreasing";
2557
2553
  rate: number;
@@ -2564,6 +2560,10 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
2564
2560
  direction: "stable" | "increasing" | "decreasing";
2565
2561
  rate: number;
2566
2562
  } | undefined;
2563
+ pH?: {
2564
+ direction: "stable" | "increasing" | "decreasing";
2565
+ rate: number;
2566
+ } | undefined;
2567
2567
  organicMatter?: {
2568
2568
  direction: "stable" | "increasing" | "decreasing";
2569
2569
  rate: number;