@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":"nutrient-plan.routes.d.ts","sourceRoot":"","sources":["../../src/routes/nutrient-plan.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoBxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;YAWzB,qFAAqF;;YAErF,wFAAwF;;YAExF,kDAAkD;;YAKlD,gFAAgF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4IpF,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import { initContract } from '@ts-rest/core';
2
2
  import { z } from 'zod';
3
+ import { fertigationBoardSchema, fertigationFeedSchema, recordFeedBodySchema, } from '../schemas/fertigation-board.schemas';
4
+ import { fertilizerRequirementsResponseSchema } from '../schemas/farm-fertilizers.schemas';
3
5
  import { fertigationSettingsSchema, nutrientPlanResponseSchema, reportSymptomBodySchema, sapReadingBodySchema, sapReadingSchema, symptomCatalogSchema, updateSettingsBodySchema, } from '../schemas/nutrient-plan.schemas';
4
6
  const c = initContract();
5
7
  const fieldParams = z.object({
@@ -109,4 +111,48 @@ export const nutrientPlanRouter = c.router({
109
111
  responses: { 200: z.object({ readings: z.array(sapReadingSchema) }), 404: message },
110
112
  summary: 'Sap readings for a field, newest first',
111
113
  },
114
+ requirementsForField: {
115
+ method: 'GET',
116
+ path: '/farms/:farmId/fields/:fieldId/fertilizer-requirements',
117
+ pathParams: fieldParams,
118
+ query: z.object({
119
+ today: z.string().regex(/^\d{4}-\d{2}-\d{2}/).optional(),
120
+ }),
121
+ responses: { 200: fertilizerRequirementsResponseSchema, 404: message },
122
+ summary: 'What a field needs from each fertilizer on hand',
123
+ },
124
+ fertigationBoard: {
125
+ method: 'GET',
126
+ path: '/farms/:farmId/fertigation-board',
127
+ pathParams: z.object({ farmId: z.string().min(1) }),
128
+ query: z.object({
129
+ today: z.string().regex(/^\d{4}-\d{2}-\d{2}/).optional(),
130
+ }),
131
+ responses: { 200: fertigationBoardSchema, 404: message },
132
+ summary: "Today's fertigation feed for every covered field",
133
+ },
134
+ completeFeed: {
135
+ method: 'POST',
136
+ path: '/farms/:farmId/fields/:fieldId/fertigation-feeds',
137
+ pathParams: fieldParams,
138
+ body: recordFeedBodySchema,
139
+ responses: { 200: fertigationFeedSchema, 400: message, 404: message, 409: message },
140
+ summary: 'Record a feed at the planned dose, with amounts the crew can change',
141
+ },
142
+ skipFeed: {
143
+ method: 'POST',
144
+ path: '/farms/:farmId/fields/:fieldId/fertigation-feeds/skips',
145
+ pathParams: fieldParams,
146
+ body: recordFeedBodySchema,
147
+ responses: { 200: fertigationFeedSchema, 400: message, 404: message, 409: message },
148
+ summary: 'Skip a feed without moving stock',
149
+ },
150
+ voidFeed: {
151
+ method: 'POST',
152
+ path: '/farms/:farmId/fertigation-feeds/:feedId/void',
153
+ pathParams: z.object({ farmId: z.string().min(1), feedId: z.string().min(1) }),
154
+ body: z.object({}),
155
+ responses: { 200: fertigationFeedSchema, 404: message },
156
+ summary: 'Void a feed and restore any stock it deducted',
157
+ },
112
158
  });
@@ -266,8 +266,8 @@ export declare const orchardPlanRouter: {
266
266
  }, "strip", z.ZodTypeAny, {
267
267
  status: "upcoming" | "open" | "passed";
268
268
  id: string;
269
- label: string;
270
269
  why: string;
270
+ label: string;
271
271
  windowFrom: string;
272
272
  windowTo: string;
273
273
  daysUntilOpen: number | null;
@@ -281,8 +281,8 @@ export declare const orchardPlanRouter: {
281
281
  }, {
282
282
  status: "upcoming" | "open" | "passed";
283
283
  id: string;
284
- label: string;
285
284
  why: string;
285
+ label: string;
286
286
  windowFrom: string;
287
287
  windowTo: string;
288
288
  daysUntilOpen: number | null;
@@ -305,8 +305,8 @@ export declare const orchardPlanRouter: {
305
305
  applications: {
306
306
  status: "upcoming" | "open" | "passed";
307
307
  id: string;
308
- label: string;
309
308
  why: string;
309
+ label: string;
310
310
  windowFrom: string;
311
311
  windowTo: string;
312
312
  daysUntilOpen: number | null;
@@ -329,8 +329,8 @@ export declare const orchardPlanRouter: {
329
329
  applications: {
330
330
  status: "upcoming" | "open" | "passed";
331
331
  id: string;
332
- label: string;
333
332
  why: string;
333
+ label: string;
334
334
  windowFrom: string;
335
335
  windowTo: string;
336
336
  daysUntilOpen: number | null;
@@ -363,8 +363,8 @@ export declare const orchardPlanRouter: {
363
363
  applications: {
364
364
  status: "upcoming" | "open" | "passed";
365
365
  id: string;
366
- label: string;
367
366
  why: string;
367
+ label: string;
368
368
  windowFrom: string;
369
369
  windowTo: string;
370
370
  daysUntilOpen: number | null;
@@ -396,8 +396,8 @@ export declare const orchardPlanRouter: {
396
396
  applications: {
397
397
  status: "upcoming" | "open" | "passed";
398
398
  id: string;
399
- label: string;
400
399
  why: string;
400
+ label: string;
401
401
  windowFrom: string;
402
402
  windowTo: string;
403
403
  daysUntilOpen: number | null;
@@ -555,8 +555,8 @@ export declare const orchardPlanRouter: {
555
555
  applications: {
556
556
  status: "upcoming" | "open" | "passed";
557
557
  id: string;
558
- label: string;
559
558
  why: string;
559
+ label: string;
560
560
  windowFrom: string;
561
561
  windowTo: string;
562
562
  daysUntilOpen: number | null;
@@ -662,8 +662,8 @@ export declare const orchardPlanRouter: {
662
662
  applications: {
663
663
  status: "upcoming" | "open" | "passed";
664
664
  id: string;
665
- label: string;
666
665
  why: string;
666
+ label: string;
667
667
  windowFrom: string;
668
668
  windowTo: string;
669
669
  daysUntilOpen: number | null;
@@ -775,8 +775,8 @@ export declare const orchardPlanRouter: {
775
775
  applications: {
776
776
  status: "upcoming" | "open" | "passed";
777
777
  id: string;
778
- label: string;
779
778
  why: string;
779
+ label: string;
780
780
  windowFrom: string;
781
781
  windowTo: string;
782
782
  daysUntilOpen: number | null;
@@ -888,8 +888,8 @@ export declare const orchardPlanRouter: {
888
888
  applications: {
889
889
  status: "upcoming" | "open" | "passed";
890
890
  id: string;
891
- label: string;
892
891
  why: string;
892
+ label: string;
893
893
  windowFrom: string;
894
894
  windowTo: string;
895
895
  daysUntilOpen: number | null;
@@ -1342,7 +1342,6 @@ export declare const purchaseOrdersRouter: {
1342
1342
  status?: "received" | "cancelled" | "draft" | "ordered" | undefined;
1343
1343
  currency?: string | undefined;
1344
1344
  notes?: string | null | undefined;
1345
- totalAmount?: number | undefined;
1346
1345
  items?: {
1347
1346
  description: string;
1348
1347
  quantity: number;
@@ -1350,6 +1349,7 @@ export declare const purchaseOrdersRouter: {
1350
1349
  amount?: number | undefined;
1351
1350
  unitPrice?: number | undefined;
1352
1351
  }[] | undefined;
1352
+ totalAmount?: number | undefined;
1353
1353
  receivedAt?: string | null | undefined;
1354
1354
  supplierId?: string | null | undefined;
1355
1355
  dealId?: string | null | undefined;
@@ -1358,7 +1358,6 @@ export declare const purchaseOrdersRouter: {
1358
1358
  status?: "received" | "cancelled" | "draft" | "ordered" | undefined;
1359
1359
  currency?: string | undefined;
1360
1360
  notes?: string | null | undefined;
1361
- totalAmount?: number | undefined;
1362
1361
  items?: {
1363
1362
  description: string;
1364
1363
  quantity: number;
@@ -1366,6 +1365,7 @@ export declare const purchaseOrdersRouter: {
1366
1365
  amount?: number | undefined;
1367
1366
  unitPrice?: number | undefined;
1368
1367
  }[] | undefined;
1368
+ totalAmount?: number | undefined;
1369
1369
  receivedAt?: string | null | undefined;
1370
1370
  supplierId?: string | null | undefined;
1371
1371
  dealId?: string | null | undefined;
@@ -1377,7 +1377,6 @@ export declare const purchaseOrdersRouter: {
1377
1377
  status?: "received" | "cancelled" | "draft" | "ordered" | undefined;
1378
1378
  currency?: string | undefined;
1379
1379
  notes?: string | null | undefined;
1380
- totalAmount?: number | undefined;
1381
1380
  items?: {
1382
1381
  description: string;
1383
1382
  quantity: number;
@@ -1385,6 +1384,7 @@ export declare const purchaseOrdersRouter: {
1385
1384
  amount?: number | undefined;
1386
1385
  unitPrice?: number | undefined;
1387
1386
  }[] | undefined;
1387
+ totalAmount?: number | undefined;
1388
1388
  receivedAt?: string | null | undefined;
1389
1389
  supplierId?: string | null | undefined;
1390
1390
  dealId?: string | null | undefined;
@@ -1397,7 +1397,6 @@ export declare const purchaseOrdersRouter: {
1397
1397
  status?: "received" | "cancelled" | "draft" | "ordered" | undefined;
1398
1398
  currency?: string | undefined;
1399
1399
  notes?: string | null | undefined;
1400
- totalAmount?: number | undefined;
1401
1400
  items?: {
1402
1401
  description: string;
1403
1402
  quantity: number;
@@ -1405,6 +1404,7 @@ export declare const purchaseOrdersRouter: {
1405
1404
  amount?: number | undefined;
1406
1405
  unitPrice?: number | undefined;
1407
1406
  }[] | undefined;
1407
+ totalAmount?: number | undefined;
1408
1408
  receivedAt?: string | null | undefined;
1409
1409
  supplierId?: string | null | undefined;
1410
1410
  dealId?: string | null | undefined;
@@ -1419,7 +1419,6 @@ export declare const purchaseOrdersRouter: {
1419
1419
  status?: "received" | "cancelled" | "draft" | "ordered" | undefined;
1420
1420
  currency?: string | undefined;
1421
1421
  notes?: string | null | undefined;
1422
- totalAmount?: number | undefined;
1423
1422
  items?: {
1424
1423
  description: string;
1425
1424
  quantity: number;
@@ -1427,6 +1426,7 @@ export declare const purchaseOrdersRouter: {
1427
1426
  amount?: number | undefined;
1428
1427
  unitPrice?: number | undefined;
1429
1428
  }[] | undefined;
1429
+ totalAmount?: number | undefined;
1430
1430
  receivedAt?: string | null | undefined;
1431
1431
  supplierId?: string | null | undefined;
1432
1432
  dealId?: string | null | undefined;
@@ -1441,7 +1441,6 @@ export declare const purchaseOrdersRouter: {
1441
1441
  status?: "received" | "cancelled" | "draft" | "ordered" | undefined;
1442
1442
  currency?: string | undefined;
1443
1443
  notes?: string | null | undefined;
1444
- totalAmount?: number | undefined;
1445
1444
  items?: {
1446
1445
  description: string;
1447
1446
  quantity: number;
@@ -1449,6 +1448,7 @@ export declare const purchaseOrdersRouter: {
1449
1448
  amount?: number | undefined;
1450
1449
  unitPrice?: number | undefined;
1451
1450
  }[] | undefined;
1451
+ totalAmount?: number | undefined;
1452
1452
  receivedAt?: string | null | undefined;
1453
1453
  supplierId?: string | null | undefined;
1454
1454
  dealId?: string | null | undefined;
@@ -758,12 +758,12 @@ export declare const sessionRouter: {
758
758
  data?: unknown;
759
759
  error?: string | undefined;
760
760
  };
761
- alerts: {
761
+ soil: {
762
762
  ok: boolean;
763
763
  data?: unknown;
764
764
  error?: string | undefined;
765
765
  };
766
- soil: {
766
+ alerts: {
767
767
  ok: boolean;
768
768
  data?: unknown;
769
769
  error?: string | undefined;
@@ -784,12 +784,12 @@ export declare const sessionRouter: {
784
784
  data?: unknown;
785
785
  error?: string | undefined;
786
786
  };
787
- alerts: {
787
+ soil: {
788
788
  ok: boolean;
789
789
  data?: unknown;
790
790
  error?: string | undefined;
791
791
  };
792
- soil: {
792
+ alerts: {
793
793
  ok: boolean;
794
794
  data?: unknown;
795
795
  error?: string | undefined;
@@ -1018,9 +1018,9 @@ export declare const sessionRouter: {
1018
1018
  quantity: number;
1019
1019
  unit: string;
1020
1020
  inventoryItemId?: string | undefined;
1021
+ availability?: string | undefined;
1021
1022
  totalCost?: number | undefined;
1022
1023
  costPerUnit?: number | undefined;
1023
- availability?: string | undefined;
1024
1024
  inStock?: boolean | undefined;
1025
1025
  stockQuantity?: number | undefined;
1026
1026
  applicationMethod?: string | undefined;
@@ -1029,9 +1029,9 @@ export declare const sessionRouter: {
1029
1029
  quantity: number;
1030
1030
  unit: string;
1031
1031
  inventoryItemId?: string | undefined;
1032
+ availability?: string | undefined;
1032
1033
  totalCost?: number | undefined;
1033
1034
  costPerUnit?: number | undefined;
1034
- availability?: string | undefined;
1035
1035
  inStock?: boolean | undefined;
1036
1036
  stockQuantity?: number | undefined;
1037
1037
  applicationMethod?: string | undefined;
@@ -1054,9 +1054,9 @@ export declare const sessionRouter: {
1054
1054
  quantity: number;
1055
1055
  unit: string;
1056
1056
  inventoryItemId?: string | undefined;
1057
+ availability?: string | undefined;
1057
1058
  totalCost?: number | undefined;
1058
1059
  costPerUnit?: number | undefined;
1059
- availability?: string | undefined;
1060
1060
  inStock?: boolean | undefined;
1061
1061
  stockQuantity?: number | undefined;
1062
1062
  applicationMethod?: string | undefined;
@@ -1078,9 +1078,9 @@ export declare const sessionRouter: {
1078
1078
  quantity: number;
1079
1079
  unit: string;
1080
1080
  inventoryItemId?: string | undefined;
1081
+ availability?: string | undefined;
1081
1082
  totalCost?: number | undefined;
1082
1083
  costPerUnit?: number | undefined;
1083
- availability?: string | undefined;
1084
1084
  inStock?: boolean | undefined;
1085
1085
  stockQuantity?: number | undefined;
1086
1086
  applicationMethod?: string | undefined;
@@ -1121,9 +1121,9 @@ export declare const sessionRouter: {
1121
1121
  quantity: number;
1122
1122
  unit: string;
1123
1123
  inventoryItemId?: string | undefined;
1124
+ availability?: string | undefined;
1124
1125
  totalCost?: number | undefined;
1125
1126
  costPerUnit?: number | undefined;
1126
- availability?: string | undefined;
1127
1127
  inStock?: boolean | undefined;
1128
1128
  stockQuantity?: number | undefined;
1129
1129
  applicationMethod?: string | undefined;
@@ -1165,9 +1165,9 @@ export declare const sessionRouter: {
1165
1165
  quantity: number;
1166
1166
  unit: string;
1167
1167
  inventoryItemId?: string | undefined;
1168
+ availability?: string | undefined;
1168
1169
  totalCost?: number | undefined;
1169
1170
  costPerUnit?: number | undefined;
1170
- availability?: string | undefined;
1171
1171
  inStock?: boolean | undefined;
1172
1172
  stockQuantity?: number | undefined;
1173
1173
  applicationMethod?: string | undefined;
@@ -1233,9 +1233,9 @@ export declare const sessionRouter: {
1233
1233
  quantity: number;
1234
1234
  unit: string;
1235
1235
  inventoryItemId?: string | undefined;
1236
+ availability?: string | undefined;
1236
1237
  totalCost?: number | undefined;
1237
1238
  costPerUnit?: number | undefined;
1238
- availability?: string | undefined;
1239
1239
  inStock?: boolean | undefined;
1240
1240
  stockQuantity?: number | undefined;
1241
1241
  applicationMethod?: string | undefined;
@@ -1285,9 +1285,9 @@ export declare const sessionRouter: {
1285
1285
  quantity: number;
1286
1286
  unit: string;
1287
1287
  inventoryItemId?: string | undefined;
1288
+ availability?: string | undefined;
1288
1289
  totalCost?: number | undefined;
1289
1290
  costPerUnit?: number | undefined;
1290
- availability?: string | undefined;
1291
1291
  inStock?: boolean | undefined;
1292
1292
  stockQuantity?: number | undefined;
1293
1293
  applicationMethod?: string | undefined;
@@ -1341,9 +1341,9 @@ export declare const sessionRouter: {
1341
1341
  quantity: number;
1342
1342
  unit: string;
1343
1343
  inventoryItemId?: string | undefined;
1344
+ availability?: string | undefined;
1344
1345
  totalCost?: number | undefined;
1345
1346
  costPerUnit?: number | undefined;
1346
- availability?: string | undefined;
1347
1347
  inStock?: boolean | undefined;
1348
1348
  stockQuantity?: number | undefined;
1349
1349
  applicationMethod?: string | undefined;
@@ -1397,9 +1397,9 @@ export declare const sessionRouter: {
1397
1397
  quantity: number;
1398
1398
  unit: string;
1399
1399
  inventoryItemId?: string | undefined;
1400
+ availability?: string | undefined;
1400
1401
  totalCost?: number | undefined;
1401
1402
  costPerUnit?: number | undefined;
1402
- availability?: string | undefined;
1403
1403
  inStock?: boolean | undefined;
1404
1404
  stockQuantity?: number | undefined;
1405
1405
  applicationMethod?: string | undefined;
@@ -1447,6 +1447,16 @@ export declare const sessionRouter: {
1447
1447
  } | undefined;
1448
1448
  error?: string | undefined;
1449
1449
  };
1450
+ soil: {
1451
+ ok: boolean;
1452
+ data?: {
1453
+ readingDate: string;
1454
+ soilMoisture: number | null;
1455
+ surfaceTemp: number | null;
1456
+ temp10cm: number | null;
1457
+ } | null | undefined;
1458
+ error?: string | undefined;
1459
+ };
1450
1460
  alerts: {
1451
1461
  ok: boolean;
1452
1462
  data?: {
@@ -1476,9 +1486,9 @@ export declare const sessionRouter: {
1476
1486
  quantity: number;
1477
1487
  unit: string;
1478
1488
  inventoryItemId?: string | undefined;
1489
+ availability?: string | undefined;
1479
1490
  totalCost?: number | undefined;
1480
1491
  costPerUnit?: number | undefined;
1481
- availability?: string | undefined;
1482
1492
  inStock?: boolean | undefined;
1483
1493
  stockQuantity?: number | undefined;
1484
1494
  applicationMethod?: string | undefined;
@@ -1504,16 +1514,6 @@ export declare const sessionRouter: {
1504
1514
  } | undefined;
1505
1515
  error?: string | undefined;
1506
1516
  };
1507
- soil: {
1508
- ok: boolean;
1509
- data?: {
1510
- readingDate: string;
1511
- soilMoisture: number | null;
1512
- surfaceTemp: number | null;
1513
- temp10cm: number | null;
1514
- } | null | undefined;
1515
- error?: string | undefined;
1516
- };
1517
1517
  availableDates: {
1518
1518
  ok: boolean;
1519
1519
  data?: unknown;
@@ -1541,6 +1541,16 @@ export declare const sessionRouter: {
1541
1541
  } | undefined;
1542
1542
  error?: string | undefined;
1543
1543
  };
1544
+ soil: {
1545
+ ok: boolean;
1546
+ data?: {
1547
+ readingDate: string;
1548
+ soilMoisture: number | null;
1549
+ surfaceTemp: number | null;
1550
+ temp10cm: number | null;
1551
+ } | null | undefined;
1552
+ error?: string | undefined;
1553
+ };
1544
1554
  alerts: {
1545
1555
  ok: boolean;
1546
1556
  data?: {
@@ -1570,9 +1580,9 @@ export declare const sessionRouter: {
1570
1580
  quantity: number;
1571
1581
  unit: string;
1572
1582
  inventoryItemId?: string | undefined;
1583
+ availability?: string | undefined;
1573
1584
  totalCost?: number | undefined;
1574
1585
  costPerUnit?: number | undefined;
1575
- availability?: string | undefined;
1576
1586
  inStock?: boolean | undefined;
1577
1587
  stockQuantity?: number | undefined;
1578
1588
  applicationMethod?: string | undefined;
@@ -1598,16 +1608,6 @@ export declare const sessionRouter: {
1598
1608
  } | undefined;
1599
1609
  error?: string | undefined;
1600
1610
  };
1601
- soil: {
1602
- ok: boolean;
1603
- data?: {
1604
- readingDate: string;
1605
- soilMoisture: number | null;
1606
- surfaceTemp: number | null;
1607
- temp10cm: number | null;
1608
- } | null | undefined;
1609
- error?: string | undefined;
1610
- };
1611
1611
  availableDates: {
1612
1612
  ok: boolean;
1613
1613
  data?: unknown;