@deepintel-ltd/farmpro-contracts 1.7.13 → 1.7.19

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 (78) hide show
  1. package/dist/index.d.ts +3 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -0
  4. package/dist/routes/agent-workflows.routes.d.ts +88 -88
  5. package/dist/routes/agents.routes.d.ts +3260 -0
  6. package/dist/routes/agents.routes.d.ts.map +1 -1
  7. package/dist/routes/agents.routes.js +130 -1
  8. package/dist/routes/analytics.routes.d.ts +20 -20
  9. package/dist/routes/documents.routes.d.ts +855 -58
  10. package/dist/routes/documents.routes.d.ts.map +1 -1
  11. package/dist/routes/documents.routes.js +43 -1
  12. package/dist/routes/equipment.routes.d.ts +38 -38
  13. package/dist/routes/farm-status.routes.d.ts +315 -0
  14. package/dist/routes/farm-status.routes.d.ts.map +1 -0
  15. package/dist/routes/farm-status.routes.js +26 -0
  16. package/dist/routes/fertigation.routes.d.ts +148 -148
  17. package/dist/routes/field-monitoring.routes.d.ts +52 -52
  18. package/dist/routes/field-observations.routes.d.ts +56 -56
  19. package/dist/routes/finance.routes.d.ts +3493 -0
  20. package/dist/routes/finance.routes.d.ts.map +1 -1
  21. package/dist/routes/finance.routes.js +158 -1
  22. package/dist/routes/geofences.routes.d.ts.map +1 -1
  23. package/dist/routes/index.d.ts +3 -0
  24. package/dist/routes/index.d.ts.map +1 -1
  25. package/dist/routes/index.js +2 -0
  26. package/dist/routes/irrigation.routes.d.ts +6 -6
  27. package/dist/routes/measurements.routes.d.ts +13 -4
  28. package/dist/routes/measurements.routes.d.ts.map +1 -1
  29. package/dist/routes/monitoring-visualization.routes.d.ts +43 -36
  30. package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
  31. package/dist/routes/monitoring-visualization.routes.js +7 -4
  32. package/dist/routes/pest-disease-risk.routes.d.ts +20 -20
  33. package/dist/routes/prescription-maps.routes.d.ts +570 -23
  34. package/dist/routes/prescription-maps.routes.d.ts.map +1 -1
  35. package/dist/routes/prescription-maps.routes.js +18 -1
  36. package/dist/routes/soil-tests.routes.d.ts +30 -30
  37. package/dist/routes/subscriptions.routes.d.ts +14 -14
  38. package/dist/routes/weather.routes.d.ts +545 -52
  39. package/dist/routes/weather.routes.d.ts.map +1 -1
  40. package/dist/routes/weather.routes.js +13 -1
  41. package/dist/routes/yield-prediction.routes.d.ts +30 -30
  42. package/dist/schemas/agent-workflows.schemas.d.ts +92 -92
  43. package/dist/schemas/agents.schemas.d.ts +1120 -0
  44. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  45. package/dist/schemas/agents.schemas.js +181 -0
  46. package/dist/schemas/analytics.schemas.d.ts +56 -56
  47. package/dist/schemas/documents.schemas.d.ts +248 -48
  48. package/dist/schemas/documents.schemas.d.ts.map +1 -1
  49. package/dist/schemas/documents.schemas.js +38 -0
  50. package/dist/schemas/equipment.schemas.d.ts +30 -30
  51. package/dist/schemas/farm-status.schemas.d.ts +451 -0
  52. package/dist/schemas/farm-status.schemas.d.ts.map +1 -0
  53. package/dist/schemas/farm-status.schemas.js +44 -0
  54. package/dist/schemas/fertigation.schemas.d.ts +50 -50
  55. package/dist/schemas/field-monitoring.schemas.d.ts +42 -42
  56. package/dist/schemas/field-observations.schemas.d.ts +44 -44
  57. package/dist/schemas/finance.schemas.d.ts +1057 -0
  58. package/dist/schemas/finance.schemas.d.ts.map +1 -1
  59. package/dist/schemas/finance.schemas.js +170 -0
  60. package/dist/schemas/irrigation.schemas.d.ts +8 -8
  61. package/dist/schemas/measurements.schemas.d.ts +21 -8
  62. package/dist/schemas/measurements.schemas.d.ts.map +1 -1
  63. package/dist/schemas/measurements.schemas.js +13 -6
  64. package/dist/schemas/monitoring-visualization.schemas.d.ts +50 -43
  65. package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
  66. package/dist/schemas/monitoring-visualization.schemas.js +27 -17
  67. package/dist/schemas/pest-disease-risk.schemas.d.ts +18 -18
  68. package/dist/schemas/prescription-maps.schemas.d.ts +45 -22
  69. package/dist/schemas/prescription-maps.schemas.d.ts.map +1 -1
  70. package/dist/schemas/prescription-maps.schemas.js +9 -1
  71. package/dist/schemas/recommendations.schemas.d.ts +2 -2
  72. package/dist/schemas/soil-tests.schemas.d.ts +28 -28
  73. package/dist/schemas/subscriptions.schemas.d.ts +22 -22
  74. package/dist/schemas/weather.schemas.d.ts +789 -112
  75. package/dist/schemas/weather.schemas.d.ts.map +1 -1
  76. package/dist/schemas/weather.schemas.js +37 -0
  77. package/dist/schemas/yield-prediction.schemas.d.ts +12 -12
  78. package/package.json +1 -1
@@ -112,7 +112,7 @@ export declare const equipmentAttributesSchema: z.ZodObject<{
112
112
  createdAt: z.ZodString;
113
113
  updatedAt: z.ZodString;
114
114
  }, "strip", z.ZodTypeAny, {
115
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
115
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
116
116
  status: "operational" | "maintenance" | "repair" | "retired";
117
117
  createdAt: string;
118
118
  updatedAt: string;
@@ -145,7 +145,7 @@ export declare const equipmentAttributesSchema: z.ZodObject<{
145
145
  performedBy: string | null;
146
146
  }[] | undefined;
147
147
  }, {
148
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
148
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
149
149
  status: "operational" | "maintenance" | "repair" | "retired";
150
150
  createdAt: string;
151
151
  updatedAt: string;
@@ -192,7 +192,7 @@ export declare const createEquipmentAttributesSchema: z.ZodObject<{
192
192
  assignedTo: z.ZodOptional<z.ZodString>;
193
193
  notes: z.ZodOptional<z.ZodString>;
194
194
  }, "strip", z.ZodTypeAny, {
195
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
195
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
196
196
  status: "operational" | "maintenance" | "repair" | "retired";
197
197
  name: string;
198
198
  brand?: string | undefined;
@@ -205,7 +205,7 @@ export declare const createEquipmentAttributesSchema: z.ZodObject<{
205
205
  purchasePrice?: number | undefined;
206
206
  currentValue?: number | undefined;
207
207
  }, {
208
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
208
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
209
209
  name: string;
210
210
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
211
211
  brand?: string | undefined;
@@ -232,7 +232,7 @@ export declare const updateEquipmentAttributesSchema: z.ZodObject<{
232
232
  assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
233
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
234
  }, "strip", z.ZodTypeAny, {
235
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
235
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
236
236
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
237
237
  name?: string | undefined;
238
238
  brand?: string | null | undefined;
@@ -245,7 +245,7 @@ export declare const updateEquipmentAttributesSchema: z.ZodObject<{
245
245
  purchasePrice?: number | null | undefined;
246
246
  currentValue?: number | null | undefined;
247
247
  }, {
248
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
248
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
249
249
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
250
250
  name?: string | undefined;
251
251
  brand?: string | null | undefined;
@@ -299,7 +299,7 @@ export declare const createEquipmentSchema: z.ZodObject<{
299
299
  assignedTo: z.ZodOptional<z.ZodString>;
300
300
  notes: z.ZodOptional<z.ZodString>;
301
301
  }, "strip", z.ZodTypeAny, {
302
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
302
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
303
303
  status: "operational" | "maintenance" | "repair" | "retired";
304
304
  name: string;
305
305
  brand?: string | undefined;
@@ -312,7 +312,7 @@ export declare const createEquipmentSchema: z.ZodObject<{
312
312
  purchasePrice?: number | undefined;
313
313
  currentValue?: number | undefined;
314
314
  }, {
315
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
315
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
316
316
  name: string;
317
317
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
318
318
  brand?: string | undefined;
@@ -328,7 +328,7 @@ export declare const createEquipmentSchema: z.ZodObject<{
328
328
  }, "strip", z.ZodTypeAny, {
329
329
  type: "equipment";
330
330
  attributes: {
331
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
331
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
332
332
  status: "operational" | "maintenance" | "repair" | "retired";
333
333
  name: string;
334
334
  brand?: string | undefined;
@@ -344,7 +344,7 @@ export declare const createEquipmentSchema: z.ZodObject<{
344
344
  }, {
345
345
  type: "equipment";
346
346
  attributes: {
347
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
347
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
348
348
  name: string;
349
349
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
350
350
  brand?: string | undefined;
@@ -375,7 +375,7 @@ export declare const updateEquipmentSchema: z.ZodObject<{
375
375
  assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
376
376
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
377
377
  }, "strip", z.ZodTypeAny, {
378
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
378
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
379
379
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
380
380
  name?: string | undefined;
381
381
  brand?: string | null | undefined;
@@ -388,7 +388,7 @@ export declare const updateEquipmentSchema: z.ZodObject<{
388
388
  purchasePrice?: number | null | undefined;
389
389
  currentValue?: number | null | undefined;
390
390
  }, {
391
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
391
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
392
392
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
393
393
  name?: string | undefined;
394
394
  brand?: string | null | undefined;
@@ -405,7 +405,7 @@ export declare const updateEquipmentSchema: z.ZodObject<{
405
405
  type: "equipment";
406
406
  id: string;
407
407
  attributes: {
408
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
408
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
409
409
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
410
410
  name?: string | undefined;
411
411
  brand?: string | null | undefined;
@@ -422,7 +422,7 @@ export declare const updateEquipmentSchema: z.ZodObject<{
422
422
  type: "equipment";
423
423
  id: string;
424
424
  attributes: {
425
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
425
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
426
426
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
427
427
  name?: string | undefined;
428
428
  brand?: string | null | undefined;
@@ -552,7 +552,7 @@ export declare const equipmentResourceSchema: z.ZodObject<{
552
552
  createdAt: z.ZodString;
553
553
  updatedAt: z.ZodString;
554
554
  }, "strip", z.ZodTypeAny, {
555
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
555
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
556
556
  status: "operational" | "maintenance" | "repair" | "retired";
557
557
  createdAt: string;
558
558
  updatedAt: string;
@@ -585,7 +585,7 @@ export declare const equipmentResourceSchema: z.ZodObject<{
585
585
  performedBy: string | null;
586
586
  }[] | undefined;
587
587
  }, {
588
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
588
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
589
589
  status: "operational" | "maintenance" | "repair" | "retired";
590
590
  createdAt: string;
591
591
  updatedAt: string;
@@ -625,7 +625,7 @@ export declare const equipmentResourceSchema: z.ZodObject<{
625
625
  type: string;
626
626
  id: string;
627
627
  attributes: {
628
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
628
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
629
629
  status: "operational" | "maintenance" | "repair" | "retired";
630
630
  createdAt: string;
631
631
  updatedAt: string;
@@ -665,7 +665,7 @@ export declare const equipmentResourceSchema: z.ZodObject<{
665
665
  type: string;
666
666
  id: string;
667
667
  attributes: {
668
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
668
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
669
669
  status: "operational" | "maintenance" | "repair" | "retired";
670
670
  createdAt: string;
671
671
  updatedAt: string;
@@ -831,7 +831,7 @@ export declare const equipmentResponseSchema: z.ZodObject<{
831
831
  createdAt: z.ZodString;
832
832
  updatedAt: z.ZodString;
833
833
  }, "strip", z.ZodTypeAny, {
834
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
834
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
835
835
  status: "operational" | "maintenance" | "repair" | "retired";
836
836
  createdAt: string;
837
837
  updatedAt: string;
@@ -864,7 +864,7 @@ export declare const equipmentResponseSchema: z.ZodObject<{
864
864
  performedBy: string | null;
865
865
  }[] | undefined;
866
866
  }, {
867
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
867
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
868
868
  status: "operational" | "maintenance" | "repair" | "retired";
869
869
  createdAt: string;
870
870
  updatedAt: string;
@@ -904,7 +904,7 @@ export declare const equipmentResponseSchema: z.ZodObject<{
904
904
  type: string;
905
905
  id: string;
906
906
  attributes: {
907
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
907
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
908
908
  status: "operational" | "maintenance" | "repair" | "retired";
909
909
  createdAt: string;
910
910
  updatedAt: string;
@@ -944,7 +944,7 @@ export declare const equipmentResponseSchema: z.ZodObject<{
944
944
  type: string;
945
945
  id: string;
946
946
  attributes: {
947
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
947
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
948
948
  status: "operational" | "maintenance" | "repair" | "retired";
949
949
  createdAt: string;
950
950
  updatedAt: string;
@@ -1010,7 +1010,7 @@ export declare const equipmentResponseSchema: z.ZodObject<{
1010
1010
  type: string;
1011
1011
  id: string;
1012
1012
  attributes: {
1013
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1013
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1014
1014
  status: "operational" | "maintenance" | "repair" | "retired";
1015
1015
  createdAt: string;
1016
1016
  updatedAt: string;
@@ -1062,7 +1062,7 @@ export declare const equipmentResponseSchema: z.ZodObject<{
1062
1062
  type: string;
1063
1063
  id: string;
1064
1064
  attributes: {
1065
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1065
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1066
1066
  status: "operational" | "maintenance" | "repair" | "retired";
1067
1067
  createdAt: string;
1068
1068
  updatedAt: string;
@@ -1177,7 +1177,7 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1177
1177
  createdAt: z.ZodString;
1178
1178
  updatedAt: z.ZodString;
1179
1179
  }, "strip", z.ZodTypeAny, {
1180
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1180
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1181
1181
  status: "operational" | "maintenance" | "repair" | "retired";
1182
1182
  createdAt: string;
1183
1183
  updatedAt: string;
@@ -1210,7 +1210,7 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1210
1210
  performedBy: string | null;
1211
1211
  }[] | undefined;
1212
1212
  }, {
1213
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1213
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1214
1214
  status: "operational" | "maintenance" | "repair" | "retired";
1215
1215
  createdAt: string;
1216
1216
  updatedAt: string;
@@ -1250,7 +1250,7 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1250
1250
  type: string;
1251
1251
  id: string;
1252
1252
  attributes: {
1253
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1253
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1254
1254
  status: "operational" | "maintenance" | "repair" | "retired";
1255
1255
  createdAt: string;
1256
1256
  updatedAt: string;
@@ -1290,7 +1290,7 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1290
1290
  type: string;
1291
1291
  id: string;
1292
1292
  attributes: {
1293
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1293
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1294
1294
  status: "operational" | "maintenance" | "repair" | "retired";
1295
1295
  createdAt: string;
1296
1296
  updatedAt: string;
@@ -1356,7 +1356,7 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1356
1356
  type: string;
1357
1357
  id: string;
1358
1358
  attributes: {
1359
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1359
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1360
1360
  status: "operational" | "maintenance" | "repair" | "retired";
1361
1361
  createdAt: string;
1362
1362
  updatedAt: string;
@@ -1408,7 +1408,7 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1408
1408
  type: string;
1409
1409
  id: string;
1410
1410
  attributes: {
1411
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1411
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1412
1412
  status: "operational" | "maintenance" | "repair" | "retired";
1413
1413
  createdAt: string;
1414
1414
  updatedAt: string;