@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
@@ -116,8 +116,8 @@ export declare const agentWorkflowsRouter: {
116
116
  action: string;
117
117
  details: string;
118
118
  timing: string;
119
- severity?: "critical" | "low" | "medium" | "high" | undefined;
120
119
  confidence?: number | undefined;
120
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
121
121
  materials?: {
122
122
  name: string;
123
123
  unit: string;
@@ -137,8 +137,8 @@ export declare const agentWorkflowsRouter: {
137
137
  action: string;
138
138
  details: string;
139
139
  timing: string;
140
- severity?: "critical" | "low" | "medium" | "high" | undefined;
141
140
  confidence?: number | undefined;
141
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
142
142
  materials?: {
143
143
  name: string;
144
144
  unit: string;
@@ -158,14 +158,13 @@ export declare const agentWorkflowsRouter: {
158
158
  taskId: z.ZodOptional<z.ZodString>;
159
159
  reason: z.ZodString;
160
160
  }, "strip", z.ZodTypeAny, {
161
- reason: string;
162
161
  recommendation: {
163
162
  priority: number;
164
163
  action: string;
165
164
  details: string;
166
165
  timing: string;
167
- severity?: "critical" | "low" | "medium" | "high" | undefined;
168
166
  confidence?: number | undefined;
167
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
169
168
  materials?: {
170
169
  name: string;
171
170
  unit: string;
@@ -181,17 +180,17 @@ export declare const agentWorkflowsRouter: {
181
180
  estimatedTime?: string | undefined;
182
181
  riskLevel?: string | undefined;
183
182
  };
183
+ reason: string;
184
184
  outcome: "error" | "created" | "updated" | "skipped";
185
185
  taskId?: string | undefined;
186
186
  }, {
187
- reason: string;
188
187
  recommendation: {
189
188
  priority: number;
190
189
  action: string;
191
190
  details: string;
192
191
  timing: string;
193
- severity?: "critical" | "low" | "medium" | "high" | undefined;
194
192
  confidence?: number | undefined;
193
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
195
194
  materials?: {
196
195
  name: string;
197
196
  unit: string;
@@ -207,6 +206,7 @@ export declare const agentWorkflowsRouter: {
207
206
  estimatedTime?: string | undefined;
208
207
  riskLevel?: string | undefined;
209
208
  };
209
+ reason: string;
210
210
  outcome: "error" | "created" | "updated" | "skipped";
211
211
  taskId?: string | undefined;
212
212
  }>, "many">;
@@ -219,14 +219,13 @@ export declare const agentWorkflowsRouter: {
219
219
  tasksUpdated: number;
220
220
  };
221
221
  results: {
222
- reason: string;
223
222
  recommendation: {
224
223
  priority: number;
225
224
  action: string;
226
225
  details: string;
227
226
  timing: string;
228
- severity?: "critical" | "low" | "medium" | "high" | undefined;
229
227
  confidence?: number | undefined;
228
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
230
229
  materials?: {
231
230
  name: string;
232
231
  unit: string;
@@ -242,6 +241,7 @@ export declare const agentWorkflowsRouter: {
242
241
  estimatedTime?: string | undefined;
243
242
  riskLevel?: string | undefined;
244
243
  };
244
+ reason: string;
245
245
  outcome: "error" | "created" | "updated" | "skipped";
246
246
  taskId?: string | undefined;
247
247
  }[];
@@ -254,14 +254,13 @@ export declare const agentWorkflowsRouter: {
254
254
  tasksUpdated: number;
255
255
  };
256
256
  results: {
257
- reason: string;
258
257
  recommendation: {
259
258
  priority: number;
260
259
  action: string;
261
260
  details: string;
262
261
  timing: string;
263
- severity?: "critical" | "low" | "medium" | "high" | undefined;
264
262
  confidence?: number | undefined;
263
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
265
264
  materials?: {
266
265
  name: string;
267
266
  unit: string;
@@ -277,6 +276,7 @@ export declare const agentWorkflowsRouter: {
277
276
  estimatedTime?: string | undefined;
278
277
  riskLevel?: string | undefined;
279
278
  };
279
+ reason: string;
280
280
  outcome: "error" | "created" | "updated" | "skipped";
281
281
  taskId?: string | undefined;
282
282
  }[];
@@ -305,14 +305,13 @@ export declare const agentWorkflowsRouter: {
305
305
  tasksUpdated: number;
306
306
  };
307
307
  results: {
308
- reason: string;
309
308
  recommendation: {
310
309
  priority: number;
311
310
  action: string;
312
311
  details: string;
313
312
  timing: string;
314
- severity?: "critical" | "low" | "medium" | "high" | undefined;
315
313
  confidence?: number | undefined;
314
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
316
315
  materials?: {
317
316
  name: string;
318
317
  unit: string;
@@ -328,6 +327,7 @@ export declare const agentWorkflowsRouter: {
328
327
  estimatedTime?: string | undefined;
329
328
  riskLevel?: string | undefined;
330
329
  };
330
+ reason: string;
331
331
  outcome: "error" | "created" | "updated" | "skipped";
332
332
  taskId?: string | undefined;
333
333
  }[];
@@ -353,14 +353,13 @@ export declare const agentWorkflowsRouter: {
353
353
  tasksUpdated: number;
354
354
  };
355
355
  results: {
356
- reason: string;
357
356
  recommendation: {
358
357
  priority: number;
359
358
  action: string;
360
359
  details: string;
361
360
  timing: string;
362
- severity?: "critical" | "low" | "medium" | "high" | undefined;
363
361
  confidence?: number | undefined;
362
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
364
363
  materials?: {
365
364
  name: string;
366
365
  unit: string;
@@ -376,6 +375,7 @@ export declare const agentWorkflowsRouter: {
376
375
  estimatedTime?: string | undefined;
377
376
  riskLevel?: string | undefined;
378
377
  };
378
+ reason: string;
379
379
  outcome: "error" | "created" | "updated" | "skipped";
380
380
  taskId?: string | undefined;
381
381
  }[];
@@ -408,14 +408,13 @@ export declare const agentWorkflowsRouter: {
408
408
  tasksUpdated: number;
409
409
  };
410
410
  results: {
411
- reason: string;
412
411
  recommendation: {
413
412
  priority: number;
414
413
  action: string;
415
414
  details: string;
416
415
  timing: string;
417
- severity?: "critical" | "low" | "medium" | "high" | undefined;
418
416
  confidence?: number | undefined;
417
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
419
418
  materials?: {
420
419
  name: string;
421
420
  unit: string;
@@ -431,6 +430,7 @@ export declare const agentWorkflowsRouter: {
431
430
  estimatedTime?: string | undefined;
432
431
  riskLevel?: string | undefined;
433
432
  };
433
+ reason: string;
434
434
  outcome: "error" | "created" | "updated" | "skipped";
435
435
  taskId?: string | undefined;
436
436
  }[];
@@ -463,14 +463,13 @@ export declare const agentWorkflowsRouter: {
463
463
  tasksUpdated: number;
464
464
  };
465
465
  results: {
466
- reason: string;
467
466
  recommendation: {
468
467
  priority: number;
469
468
  action: string;
470
469
  details: string;
471
470
  timing: string;
472
- severity?: "critical" | "low" | "medium" | "high" | undefined;
473
471
  confidence?: number | undefined;
472
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
474
473
  materials?: {
475
474
  name: string;
476
475
  unit: string;
@@ -486,6 +485,7 @@ export declare const agentWorkflowsRouter: {
486
485
  estimatedTime?: string | undefined;
487
486
  riskLevel?: string | undefined;
488
487
  };
488
+ reason: string;
489
489
  outcome: "error" | "created" | "updated" | "skipped";
490
490
  taskId?: string | undefined;
491
491
  }[];
@@ -544,14 +544,13 @@ export declare const agentWorkflowsRouter: {
544
544
  tasksUpdated: number;
545
545
  };
546
546
  results: {
547
- reason: string;
548
547
  recommendation: {
549
548
  priority: number;
550
549
  action: string;
551
550
  details: string;
552
551
  timing: string;
553
- severity?: "critical" | "low" | "medium" | "high" | undefined;
554
552
  confidence?: number | undefined;
553
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
555
554
  materials?: {
556
555
  name: string;
557
556
  unit: string;
@@ -567,6 +566,7 @@ export declare const agentWorkflowsRouter: {
567
566
  estimatedTime?: string | undefined;
568
567
  riskLevel?: string | undefined;
569
568
  };
569
+ reason: string;
570
570
  outcome: "error" | "created" | "updated" | "skipped";
571
571
  taskId?: string | undefined;
572
572
  }[];
@@ -611,14 +611,13 @@ export declare const agentWorkflowsRouter: {
611
611
  tasksUpdated: number;
612
612
  };
613
613
  results: {
614
- reason: string;
615
614
  recommendation: {
616
615
  priority: number;
617
616
  action: string;
618
617
  details: string;
619
618
  timing: string;
620
- severity?: "critical" | "low" | "medium" | "high" | undefined;
621
619
  confidence?: number | undefined;
620
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
622
621
  materials?: {
623
622
  name: string;
624
623
  unit: string;
@@ -634,6 +633,7 @@ export declare const agentWorkflowsRouter: {
634
633
  estimatedTime?: string | undefined;
635
634
  riskLevel?: string | undefined;
636
635
  };
636
+ reason: string;
637
637
  outcome: "error" | "created" | "updated" | "skipped";
638
638
  taskId?: string | undefined;
639
639
  }[];
@@ -768,8 +768,8 @@ export declare const agentWorkflowsRouter: {
768
768
  action: string;
769
769
  details: string;
770
770
  timing: string;
771
- severity?: "critical" | "low" | "medium" | "high" | undefined;
772
771
  confidence?: number | undefined;
772
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
773
773
  materials?: {
774
774
  name: string;
775
775
  unit: string;
@@ -789,8 +789,8 @@ export declare const agentWorkflowsRouter: {
789
789
  action: string;
790
790
  details: string;
791
791
  timing: string;
792
- severity?: "critical" | "low" | "medium" | "high" | undefined;
793
792
  confidence?: number | undefined;
793
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
794
794
  materials?: {
795
795
  name: string;
796
796
  unit: string;
@@ -810,14 +810,13 @@ export declare const agentWorkflowsRouter: {
810
810
  taskId: z.ZodOptional<z.ZodString>;
811
811
  reason: z.ZodString;
812
812
  }, "strip", z.ZodTypeAny, {
813
- reason: string;
814
813
  recommendation: {
815
814
  priority: number;
816
815
  action: string;
817
816
  details: string;
818
817
  timing: string;
819
- severity?: "critical" | "low" | "medium" | "high" | undefined;
820
818
  confidence?: number | undefined;
819
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
821
820
  materials?: {
822
821
  name: string;
823
822
  unit: string;
@@ -833,17 +832,17 @@ export declare const agentWorkflowsRouter: {
833
832
  estimatedTime?: string | undefined;
834
833
  riskLevel?: string | undefined;
835
834
  };
835
+ reason: string;
836
836
  outcome: "error" | "created" | "updated" | "skipped";
837
837
  taskId?: string | undefined;
838
838
  }, {
839
- reason: string;
840
839
  recommendation: {
841
840
  priority: number;
842
841
  action: string;
843
842
  details: string;
844
843
  timing: string;
845
- severity?: "critical" | "low" | "medium" | "high" | undefined;
846
844
  confidence?: number | undefined;
845
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
847
846
  materials?: {
848
847
  name: string;
849
848
  unit: string;
@@ -859,6 +858,7 @@ export declare const agentWorkflowsRouter: {
859
858
  estimatedTime?: string | undefined;
860
859
  riskLevel?: string | undefined;
861
860
  };
861
+ reason: string;
862
862
  outcome: "error" | "created" | "updated" | "skipped";
863
863
  taskId?: string | undefined;
864
864
  }>, "many">;
@@ -871,14 +871,13 @@ export declare const agentWorkflowsRouter: {
871
871
  tasksUpdated: number;
872
872
  };
873
873
  results: {
874
- reason: string;
875
874
  recommendation: {
876
875
  priority: number;
877
876
  action: string;
878
877
  details: string;
879
878
  timing: string;
880
- severity?: "critical" | "low" | "medium" | "high" | undefined;
881
879
  confidence?: number | undefined;
880
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
882
881
  materials?: {
883
882
  name: string;
884
883
  unit: string;
@@ -894,6 +893,7 @@ export declare const agentWorkflowsRouter: {
894
893
  estimatedTime?: string | undefined;
895
894
  riskLevel?: string | undefined;
896
895
  };
896
+ reason: string;
897
897
  outcome: "error" | "created" | "updated" | "skipped";
898
898
  taskId?: string | undefined;
899
899
  }[];
@@ -906,14 +906,13 @@ export declare const agentWorkflowsRouter: {
906
906
  tasksUpdated: number;
907
907
  };
908
908
  results: {
909
- reason: string;
910
909
  recommendation: {
911
910
  priority: number;
912
911
  action: string;
913
912
  details: string;
914
913
  timing: string;
915
- severity?: "critical" | "low" | "medium" | "high" | undefined;
916
914
  confidence?: number | undefined;
915
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
917
916
  materials?: {
918
917
  name: string;
919
918
  unit: string;
@@ -929,6 +928,7 @@ export declare const agentWorkflowsRouter: {
929
928
  estimatedTime?: string | undefined;
930
929
  riskLevel?: string | undefined;
931
930
  };
931
+ reason: string;
932
932
  outcome: "error" | "created" | "updated" | "skipped";
933
933
  taskId?: string | undefined;
934
934
  }[];
@@ -957,14 +957,13 @@ export declare const agentWorkflowsRouter: {
957
957
  tasksUpdated: number;
958
958
  };
959
959
  results: {
960
- reason: string;
961
960
  recommendation: {
962
961
  priority: number;
963
962
  action: string;
964
963
  details: string;
965
964
  timing: string;
966
- severity?: "critical" | "low" | "medium" | "high" | undefined;
967
965
  confidence?: number | undefined;
966
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
968
967
  materials?: {
969
968
  name: string;
970
969
  unit: string;
@@ -980,6 +979,7 @@ export declare const agentWorkflowsRouter: {
980
979
  estimatedTime?: string | undefined;
981
980
  riskLevel?: string | undefined;
982
981
  };
982
+ reason: string;
983
983
  outcome: "error" | "created" | "updated" | "skipped";
984
984
  taskId?: string | undefined;
985
985
  }[];
@@ -1005,14 +1005,13 @@ export declare const agentWorkflowsRouter: {
1005
1005
  tasksUpdated: number;
1006
1006
  };
1007
1007
  results: {
1008
- reason: string;
1009
1008
  recommendation: {
1010
1009
  priority: number;
1011
1010
  action: string;
1012
1011
  details: string;
1013
1012
  timing: string;
1014
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1015
1013
  confidence?: number | undefined;
1014
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1016
1015
  materials?: {
1017
1016
  name: string;
1018
1017
  unit: string;
@@ -1028,6 +1027,7 @@ export declare const agentWorkflowsRouter: {
1028
1027
  estimatedTime?: string | undefined;
1029
1028
  riskLevel?: string | undefined;
1030
1029
  };
1030
+ reason: string;
1031
1031
  outcome: "error" | "created" | "updated" | "skipped";
1032
1032
  taskId?: string | undefined;
1033
1033
  }[];
@@ -1060,14 +1060,13 @@ export declare const agentWorkflowsRouter: {
1060
1060
  tasksUpdated: number;
1061
1061
  };
1062
1062
  results: {
1063
- reason: string;
1064
1063
  recommendation: {
1065
1064
  priority: number;
1066
1065
  action: string;
1067
1066
  details: string;
1068
1067
  timing: string;
1069
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1070
1068
  confidence?: number | undefined;
1069
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1071
1070
  materials?: {
1072
1071
  name: string;
1073
1072
  unit: string;
@@ -1083,6 +1082,7 @@ export declare const agentWorkflowsRouter: {
1083
1082
  estimatedTime?: string | undefined;
1084
1083
  riskLevel?: string | undefined;
1085
1084
  };
1085
+ reason: string;
1086
1086
  outcome: "error" | "created" | "updated" | "skipped";
1087
1087
  taskId?: string | undefined;
1088
1088
  }[];
@@ -1115,14 +1115,13 @@ export declare const agentWorkflowsRouter: {
1115
1115
  tasksUpdated: number;
1116
1116
  };
1117
1117
  results: {
1118
- reason: string;
1119
1118
  recommendation: {
1120
1119
  priority: number;
1121
1120
  action: string;
1122
1121
  details: string;
1123
1122
  timing: string;
1124
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1125
1123
  confidence?: number | undefined;
1124
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1126
1125
  materials?: {
1127
1126
  name: string;
1128
1127
  unit: string;
@@ -1138,6 +1137,7 @@ export declare const agentWorkflowsRouter: {
1138
1137
  estimatedTime?: string | undefined;
1139
1138
  riskLevel?: string | undefined;
1140
1139
  };
1140
+ reason: string;
1141
1141
  outcome: "error" | "created" | "updated" | "skipped";
1142
1142
  taskId?: string | undefined;
1143
1143
  }[];
@@ -1196,14 +1196,13 @@ export declare const agentWorkflowsRouter: {
1196
1196
  tasksUpdated: number;
1197
1197
  };
1198
1198
  results: {
1199
- reason: string;
1200
1199
  recommendation: {
1201
1200
  priority: number;
1202
1201
  action: string;
1203
1202
  details: string;
1204
1203
  timing: string;
1205
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1206
1204
  confidence?: number | undefined;
1205
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1207
1206
  materials?: {
1208
1207
  name: string;
1209
1208
  unit: string;
@@ -1219,6 +1218,7 @@ export declare const agentWorkflowsRouter: {
1219
1218
  estimatedTime?: string | undefined;
1220
1219
  riskLevel?: string | undefined;
1221
1220
  };
1221
+ reason: string;
1222
1222
  outcome: "error" | "created" | "updated" | "skipped";
1223
1223
  taskId?: string | undefined;
1224
1224
  }[];
@@ -1263,14 +1263,13 @@ export declare const agentWorkflowsRouter: {
1263
1263
  tasksUpdated: number;
1264
1264
  };
1265
1265
  results: {
1266
- reason: string;
1267
1266
  recommendation: {
1268
1267
  priority: number;
1269
1268
  action: string;
1270
1269
  details: string;
1271
1270
  timing: string;
1272
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1273
1271
  confidence?: number | undefined;
1272
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1274
1273
  materials?: {
1275
1274
  name: string;
1276
1275
  unit: string;
@@ -1286,6 +1285,7 @@ export declare const agentWorkflowsRouter: {
1286
1285
  estimatedTime?: string | undefined;
1287
1286
  riskLevel?: string | undefined;
1288
1287
  };
1288
+ reason: string;
1289
1289
  outcome: "error" | "created" | "updated" | "skipped";
1290
1290
  taskId?: string | undefined;
1291
1291
  }[];
@@ -1434,8 +1434,8 @@ export declare const agentWorkflowsRouter: {
1434
1434
  action: string;
1435
1435
  details: string;
1436
1436
  timing: string;
1437
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1438
1437
  confidence?: number | undefined;
1438
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1439
1439
  materials?: {
1440
1440
  name: string;
1441
1441
  unit: string;
@@ -1455,8 +1455,8 @@ export declare const agentWorkflowsRouter: {
1455
1455
  action: string;
1456
1456
  details: string;
1457
1457
  timing: string;
1458
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1459
1458
  confidence?: number | undefined;
1459
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1460
1460
  materials?: {
1461
1461
  name: string;
1462
1462
  unit: string;
@@ -1476,14 +1476,13 @@ export declare const agentWorkflowsRouter: {
1476
1476
  taskId: z.ZodOptional<z.ZodString>;
1477
1477
  reason: z.ZodString;
1478
1478
  }, "strip", z.ZodTypeAny, {
1479
- reason: string;
1480
1479
  recommendation: {
1481
1480
  priority: number;
1482
1481
  action: string;
1483
1482
  details: string;
1484
1483
  timing: string;
1485
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1486
1484
  confidence?: number | undefined;
1485
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1487
1486
  materials?: {
1488
1487
  name: string;
1489
1488
  unit: string;
@@ -1499,17 +1498,17 @@ export declare const agentWorkflowsRouter: {
1499
1498
  estimatedTime?: string | undefined;
1500
1499
  riskLevel?: string | undefined;
1501
1500
  };
1501
+ reason: string;
1502
1502
  outcome: "error" | "created" | "updated" | "skipped";
1503
1503
  taskId?: string | undefined;
1504
1504
  }, {
1505
- reason: string;
1506
1505
  recommendation: {
1507
1506
  priority: number;
1508
1507
  action: string;
1509
1508
  details: string;
1510
1509
  timing: string;
1511
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1512
1510
  confidence?: number | undefined;
1511
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1513
1512
  materials?: {
1514
1513
  name: string;
1515
1514
  unit: string;
@@ -1525,6 +1524,7 @@ export declare const agentWorkflowsRouter: {
1525
1524
  estimatedTime?: string | undefined;
1526
1525
  riskLevel?: string | undefined;
1527
1526
  };
1527
+ reason: string;
1528
1528
  outcome: "error" | "created" | "updated" | "skipped";
1529
1529
  taskId?: string | undefined;
1530
1530
  }>, "many">;
@@ -1537,14 +1537,13 @@ export declare const agentWorkflowsRouter: {
1537
1537
  tasksUpdated: number;
1538
1538
  };
1539
1539
  results: {
1540
- reason: string;
1541
1540
  recommendation: {
1542
1541
  priority: number;
1543
1542
  action: string;
1544
1543
  details: string;
1545
1544
  timing: string;
1546
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1547
1545
  confidence?: number | undefined;
1546
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1548
1547
  materials?: {
1549
1548
  name: string;
1550
1549
  unit: string;
@@ -1560,6 +1559,7 @@ export declare const agentWorkflowsRouter: {
1560
1559
  estimatedTime?: string | undefined;
1561
1560
  riskLevel?: string | undefined;
1562
1561
  };
1562
+ reason: string;
1563
1563
  outcome: "error" | "created" | "updated" | "skipped";
1564
1564
  taskId?: string | undefined;
1565
1565
  }[];
@@ -1572,14 +1572,13 @@ export declare const agentWorkflowsRouter: {
1572
1572
  tasksUpdated: number;
1573
1573
  };
1574
1574
  results: {
1575
- reason: string;
1576
1575
  recommendation: {
1577
1576
  priority: number;
1578
1577
  action: string;
1579
1578
  details: string;
1580
1579
  timing: string;
1581
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1582
1580
  confidence?: number | undefined;
1581
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1583
1582
  materials?: {
1584
1583
  name: string;
1585
1584
  unit: string;
@@ -1595,6 +1594,7 @@ export declare const agentWorkflowsRouter: {
1595
1594
  estimatedTime?: string | undefined;
1596
1595
  riskLevel?: string | undefined;
1597
1596
  };
1597
+ reason: string;
1598
1598
  outcome: "error" | "created" | "updated" | "skipped";
1599
1599
  taskId?: string | undefined;
1600
1600
  }[];
@@ -1623,14 +1623,13 @@ export declare const agentWorkflowsRouter: {
1623
1623
  tasksUpdated: number;
1624
1624
  };
1625
1625
  results: {
1626
- reason: string;
1627
1626
  recommendation: {
1628
1627
  priority: number;
1629
1628
  action: string;
1630
1629
  details: string;
1631
1630
  timing: string;
1632
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1633
1631
  confidence?: number | undefined;
1632
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1634
1633
  materials?: {
1635
1634
  name: string;
1636
1635
  unit: string;
@@ -1646,6 +1645,7 @@ export declare const agentWorkflowsRouter: {
1646
1645
  estimatedTime?: string | undefined;
1647
1646
  riskLevel?: string | undefined;
1648
1647
  };
1648
+ reason: string;
1649
1649
  outcome: "error" | "created" | "updated" | "skipped";
1650
1650
  taskId?: string | undefined;
1651
1651
  }[];
@@ -1671,14 +1671,13 @@ export declare const agentWorkflowsRouter: {
1671
1671
  tasksUpdated: number;
1672
1672
  };
1673
1673
  results: {
1674
- reason: string;
1675
1674
  recommendation: {
1676
1675
  priority: number;
1677
1676
  action: string;
1678
1677
  details: string;
1679
1678
  timing: string;
1680
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1681
1679
  confidence?: number | undefined;
1680
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1682
1681
  materials?: {
1683
1682
  name: string;
1684
1683
  unit: string;
@@ -1694,6 +1693,7 @@ export declare const agentWorkflowsRouter: {
1694
1693
  estimatedTime?: string | undefined;
1695
1694
  riskLevel?: string | undefined;
1696
1695
  };
1696
+ reason: string;
1697
1697
  outcome: "error" | "created" | "updated" | "skipped";
1698
1698
  taskId?: string | undefined;
1699
1699
  }[];
@@ -1726,14 +1726,13 @@ export declare const agentWorkflowsRouter: {
1726
1726
  tasksUpdated: number;
1727
1727
  };
1728
1728
  results: {
1729
- reason: string;
1730
1729
  recommendation: {
1731
1730
  priority: number;
1732
1731
  action: string;
1733
1732
  details: string;
1734
1733
  timing: string;
1735
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1736
1734
  confidence?: number | undefined;
1735
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1737
1736
  materials?: {
1738
1737
  name: string;
1739
1738
  unit: string;
@@ -1749,6 +1748,7 @@ export declare const agentWorkflowsRouter: {
1749
1748
  estimatedTime?: string | undefined;
1750
1749
  riskLevel?: string | undefined;
1751
1750
  };
1751
+ reason: string;
1752
1752
  outcome: "error" | "created" | "updated" | "skipped";
1753
1753
  taskId?: string | undefined;
1754
1754
  }[];
@@ -1781,14 +1781,13 @@ export declare const agentWorkflowsRouter: {
1781
1781
  tasksUpdated: number;
1782
1782
  };
1783
1783
  results: {
1784
- reason: string;
1785
1784
  recommendation: {
1786
1785
  priority: number;
1787
1786
  action: string;
1788
1787
  details: string;
1789
1788
  timing: string;
1790
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1791
1789
  confidence?: number | undefined;
1790
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1792
1791
  materials?: {
1793
1792
  name: string;
1794
1793
  unit: string;
@@ -1804,6 +1803,7 @@ export declare const agentWorkflowsRouter: {
1804
1803
  estimatedTime?: string | undefined;
1805
1804
  riskLevel?: string | undefined;
1806
1805
  };
1806
+ reason: string;
1807
1807
  outcome: "error" | "created" | "updated" | "skipped";
1808
1808
  taskId?: string | undefined;
1809
1809
  }[];
@@ -1862,14 +1862,13 @@ export declare const agentWorkflowsRouter: {
1862
1862
  tasksUpdated: number;
1863
1863
  };
1864
1864
  results: {
1865
- reason: string;
1866
1865
  recommendation: {
1867
1866
  priority: number;
1868
1867
  action: string;
1869
1868
  details: string;
1870
1869
  timing: string;
1871
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1872
1870
  confidence?: number | undefined;
1871
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1873
1872
  materials?: {
1874
1873
  name: string;
1875
1874
  unit: string;
@@ -1885,6 +1884,7 @@ export declare const agentWorkflowsRouter: {
1885
1884
  estimatedTime?: string | undefined;
1886
1885
  riskLevel?: string | undefined;
1887
1886
  };
1887
+ reason: string;
1888
1888
  outcome: "error" | "created" | "updated" | "skipped";
1889
1889
  taskId?: string | undefined;
1890
1890
  }[];
@@ -1929,14 +1929,13 @@ export declare const agentWorkflowsRouter: {
1929
1929
  tasksUpdated: number;
1930
1930
  };
1931
1931
  results: {
1932
- reason: string;
1933
1932
  recommendation: {
1934
1933
  priority: number;
1935
1934
  action: string;
1936
1935
  details: string;
1937
1936
  timing: string;
1938
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1939
1937
  confidence?: number | undefined;
1938
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1940
1939
  materials?: {
1941
1940
  name: string;
1942
1941
  unit: string;
@@ -1952,6 +1951,7 @@ export declare const agentWorkflowsRouter: {
1952
1951
  estimatedTime?: string | undefined;
1953
1952
  riskLevel?: string | undefined;
1954
1953
  };
1954
+ reason: string;
1955
1955
  outcome: "error" | "created" | "updated" | "skipped";
1956
1956
  taskId?: string | undefined;
1957
1957
  }[];
@@ -2100,8 +2100,8 @@ export declare const agentWorkflowsRouter: {
2100
2100
  action: string;
2101
2101
  details: string;
2102
2102
  timing: string;
2103
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2104
2103
  confidence?: number | undefined;
2104
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2105
2105
  materials?: {
2106
2106
  name: string;
2107
2107
  unit: string;
@@ -2121,8 +2121,8 @@ export declare const agentWorkflowsRouter: {
2121
2121
  action: string;
2122
2122
  details: string;
2123
2123
  timing: string;
2124
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2125
2124
  confidence?: number | undefined;
2125
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2126
2126
  materials?: {
2127
2127
  name: string;
2128
2128
  unit: string;
@@ -2142,14 +2142,13 @@ export declare const agentWorkflowsRouter: {
2142
2142
  taskId: z.ZodOptional<z.ZodString>;
2143
2143
  reason: z.ZodString;
2144
2144
  }, "strip", z.ZodTypeAny, {
2145
- reason: string;
2146
2145
  recommendation: {
2147
2146
  priority: number;
2148
2147
  action: string;
2149
2148
  details: string;
2150
2149
  timing: string;
2151
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2152
2150
  confidence?: number | undefined;
2151
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2153
2152
  materials?: {
2154
2153
  name: string;
2155
2154
  unit: string;
@@ -2165,17 +2164,17 @@ export declare const agentWorkflowsRouter: {
2165
2164
  estimatedTime?: string | undefined;
2166
2165
  riskLevel?: string | undefined;
2167
2166
  };
2167
+ reason: string;
2168
2168
  outcome: "error" | "created" | "updated" | "skipped";
2169
2169
  taskId?: string | undefined;
2170
2170
  }, {
2171
- reason: string;
2172
2171
  recommendation: {
2173
2172
  priority: number;
2174
2173
  action: string;
2175
2174
  details: string;
2176
2175
  timing: string;
2177
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2178
2176
  confidence?: number | undefined;
2177
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2179
2178
  materials?: {
2180
2179
  name: string;
2181
2180
  unit: string;
@@ -2191,6 +2190,7 @@ export declare const agentWorkflowsRouter: {
2191
2190
  estimatedTime?: string | undefined;
2192
2191
  riskLevel?: string | undefined;
2193
2192
  };
2193
+ reason: string;
2194
2194
  outcome: "error" | "created" | "updated" | "skipped";
2195
2195
  taskId?: string | undefined;
2196
2196
  }>, "many">;
@@ -2203,14 +2203,13 @@ export declare const agentWorkflowsRouter: {
2203
2203
  tasksUpdated: number;
2204
2204
  };
2205
2205
  results: {
2206
- reason: string;
2207
2206
  recommendation: {
2208
2207
  priority: number;
2209
2208
  action: string;
2210
2209
  details: string;
2211
2210
  timing: string;
2212
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2213
2211
  confidence?: number | undefined;
2212
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2214
2213
  materials?: {
2215
2214
  name: string;
2216
2215
  unit: string;
@@ -2226,6 +2225,7 @@ export declare const agentWorkflowsRouter: {
2226
2225
  estimatedTime?: string | undefined;
2227
2226
  riskLevel?: string | undefined;
2228
2227
  };
2228
+ reason: string;
2229
2229
  outcome: "error" | "created" | "updated" | "skipped";
2230
2230
  taskId?: string | undefined;
2231
2231
  }[];
@@ -2238,14 +2238,13 @@ export declare const agentWorkflowsRouter: {
2238
2238
  tasksUpdated: number;
2239
2239
  };
2240
2240
  results: {
2241
- reason: string;
2242
2241
  recommendation: {
2243
2242
  priority: number;
2244
2243
  action: string;
2245
2244
  details: string;
2246
2245
  timing: string;
2247
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2248
2246
  confidence?: number | undefined;
2247
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2249
2248
  materials?: {
2250
2249
  name: string;
2251
2250
  unit: string;
@@ -2261,6 +2260,7 @@ export declare const agentWorkflowsRouter: {
2261
2260
  estimatedTime?: string | undefined;
2262
2261
  riskLevel?: string | undefined;
2263
2262
  };
2263
+ reason: string;
2264
2264
  outcome: "error" | "created" | "updated" | "skipped";
2265
2265
  taskId?: string | undefined;
2266
2266
  }[];
@@ -2289,14 +2289,13 @@ export declare const agentWorkflowsRouter: {
2289
2289
  tasksUpdated: number;
2290
2290
  };
2291
2291
  results: {
2292
- reason: string;
2293
2292
  recommendation: {
2294
2293
  priority: number;
2295
2294
  action: string;
2296
2295
  details: string;
2297
2296
  timing: string;
2298
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2299
2297
  confidence?: number | undefined;
2298
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2300
2299
  materials?: {
2301
2300
  name: string;
2302
2301
  unit: string;
@@ -2312,6 +2311,7 @@ export declare const agentWorkflowsRouter: {
2312
2311
  estimatedTime?: string | undefined;
2313
2312
  riskLevel?: string | undefined;
2314
2313
  };
2314
+ reason: string;
2315
2315
  outcome: "error" | "created" | "updated" | "skipped";
2316
2316
  taskId?: string | undefined;
2317
2317
  }[];
@@ -2337,14 +2337,13 @@ export declare const agentWorkflowsRouter: {
2337
2337
  tasksUpdated: number;
2338
2338
  };
2339
2339
  results: {
2340
- reason: string;
2341
2340
  recommendation: {
2342
2341
  priority: number;
2343
2342
  action: string;
2344
2343
  details: string;
2345
2344
  timing: string;
2346
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2347
2345
  confidence?: number | undefined;
2346
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2348
2347
  materials?: {
2349
2348
  name: string;
2350
2349
  unit: string;
@@ -2360,6 +2359,7 @@ export declare const agentWorkflowsRouter: {
2360
2359
  estimatedTime?: string | undefined;
2361
2360
  riskLevel?: string | undefined;
2362
2361
  };
2362
+ reason: string;
2363
2363
  outcome: "error" | "created" | "updated" | "skipped";
2364
2364
  taskId?: string | undefined;
2365
2365
  }[];
@@ -2392,14 +2392,13 @@ export declare const agentWorkflowsRouter: {
2392
2392
  tasksUpdated: number;
2393
2393
  };
2394
2394
  results: {
2395
- reason: string;
2396
2395
  recommendation: {
2397
2396
  priority: number;
2398
2397
  action: string;
2399
2398
  details: string;
2400
2399
  timing: string;
2401
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2402
2400
  confidence?: number | undefined;
2401
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2403
2402
  materials?: {
2404
2403
  name: string;
2405
2404
  unit: string;
@@ -2415,6 +2414,7 @@ export declare const agentWorkflowsRouter: {
2415
2414
  estimatedTime?: string | undefined;
2416
2415
  riskLevel?: string | undefined;
2417
2416
  };
2417
+ reason: string;
2418
2418
  outcome: "error" | "created" | "updated" | "skipped";
2419
2419
  taskId?: string | undefined;
2420
2420
  }[];
@@ -2447,14 +2447,13 @@ export declare const agentWorkflowsRouter: {
2447
2447
  tasksUpdated: number;
2448
2448
  };
2449
2449
  results: {
2450
- reason: string;
2451
2450
  recommendation: {
2452
2451
  priority: number;
2453
2452
  action: string;
2454
2453
  details: string;
2455
2454
  timing: string;
2456
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2457
2455
  confidence?: number | undefined;
2456
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2458
2457
  materials?: {
2459
2458
  name: string;
2460
2459
  unit: string;
@@ -2470,6 +2469,7 @@ export declare const agentWorkflowsRouter: {
2470
2469
  estimatedTime?: string | undefined;
2471
2470
  riskLevel?: string | undefined;
2472
2471
  };
2472
+ reason: string;
2473
2473
  outcome: "error" | "created" | "updated" | "skipped";
2474
2474
  taskId?: string | undefined;
2475
2475
  }[];
@@ -2528,14 +2528,13 @@ export declare const agentWorkflowsRouter: {
2528
2528
  tasksUpdated: number;
2529
2529
  };
2530
2530
  results: {
2531
- reason: string;
2532
2531
  recommendation: {
2533
2532
  priority: number;
2534
2533
  action: string;
2535
2534
  details: string;
2536
2535
  timing: string;
2537
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2538
2536
  confidence?: number | undefined;
2537
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2539
2538
  materials?: {
2540
2539
  name: string;
2541
2540
  unit: string;
@@ -2551,6 +2550,7 @@ export declare const agentWorkflowsRouter: {
2551
2550
  estimatedTime?: string | undefined;
2552
2551
  riskLevel?: string | undefined;
2553
2552
  };
2553
+ reason: string;
2554
2554
  outcome: "error" | "created" | "updated" | "skipped";
2555
2555
  taskId?: string | undefined;
2556
2556
  }[];
@@ -2595,14 +2595,13 @@ export declare const agentWorkflowsRouter: {
2595
2595
  tasksUpdated: number;
2596
2596
  };
2597
2597
  results: {
2598
- reason: string;
2599
2598
  recommendation: {
2600
2599
  priority: number;
2601
2600
  action: string;
2602
2601
  details: string;
2603
2602
  timing: string;
2604
- severity?: "critical" | "low" | "medium" | "high" | undefined;
2605
2603
  confidence?: number | undefined;
2604
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
2606
2605
  materials?: {
2607
2606
  name: string;
2608
2607
  unit: string;
@@ -2618,6 +2617,7 @@ export declare const agentWorkflowsRouter: {
2618
2617
  estimatedTime?: string | undefined;
2619
2618
  riskLevel?: string | undefined;
2620
2619
  };
2620
+ reason: string;
2621
2621
  outcome: "error" | "created" | "updated" | "skipped";
2622
2622
  taskId?: string | undefined;
2623
2623
  }[];