@deepintel-ltd/farmpro-contracts 1.16.10 → 1.16.12

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 (35) hide show
  1. package/dist/routes/admin.routes.d.ts +1036 -0
  2. package/dist/routes/admin.routes.d.ts.map +1 -1
  3. package/dist/routes/admin.routes.js +29 -1
  4. package/dist/routes/agent-workflows.routes.d.ts +246 -246
  5. package/dist/routes/agents.routes.d.ts +16 -16
  6. package/dist/routes/fertigation.routes.d.ts +336 -336
  7. package/dist/routes/field-monitoring.routes.d.ts +8 -8
  8. package/dist/routes/field-observations.routes.d.ts +56 -56
  9. package/dist/routes/fields.routes.d.ts +63 -63
  10. package/dist/routes/health.routes.d.ts +66 -0
  11. package/dist/routes/health.routes.d.ts.map +1 -1
  12. package/dist/routes/livestock-groups.routes.d.ts +8 -8
  13. package/dist/routes/livestock.routes.d.ts +50 -50
  14. package/dist/routes/payments.routes.d.ts +20 -20
  15. package/dist/routes/pest-disease-risk.routes.d.ts +4 -4
  16. package/dist/routes/soil-tests.routes.d.ts +40 -40
  17. package/dist/schemas/admin.schemas.d.ts +267 -0
  18. package/dist/schemas/admin.schemas.d.ts.map +1 -1
  19. package/dist/schemas/admin.schemas.js +38 -0
  20. package/dist/schemas/agent-workflows.schemas.d.ts +206 -206
  21. package/dist/schemas/agents.schemas.d.ts +16 -16
  22. package/dist/schemas/fertigation.schemas.d.ts +128 -128
  23. package/dist/schemas/field-monitoring.schemas.d.ts +8 -8
  24. package/dist/schemas/field-observations.schemas.d.ts +46 -46
  25. package/dist/schemas/fields.schemas.d.ts +59 -59
  26. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  27. package/dist/schemas/fields.schemas.js +8 -1
  28. package/dist/schemas/health.schemas.d.ts +33 -0
  29. package/dist/schemas/health.schemas.d.ts.map +1 -1
  30. package/dist/schemas/health.schemas.js +1 -0
  31. package/dist/schemas/livestock.schemas.d.ts +50 -50
  32. package/dist/schemas/payments.schemas.d.ts +20 -20
  33. package/dist/schemas/pest-disease-risk.schemas.d.ts +2 -2
  34. package/dist/schemas/soil-tests.schemas.d.ts +42 -42
  35. package/package.json +1 -1
@@ -24,7 +24,7 @@ export declare const agentWorkflowsRouter: {
24
24
  'page[size]'?: number | undefined;
25
25
  'filter[startDate]'?: string | undefined;
26
26
  'filter[endDate]'?: string | undefined;
27
- 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
27
+ 'filter[status]'?: "failed" | "completed" | "in_progress" | undefined;
28
28
  'filter[crop]'?: string | undefined;
29
29
  'filter[fieldId]'?: string | undefined;
30
30
  'filter[farmId]'?: string | undefined;
@@ -34,7 +34,7 @@ export declare const agentWorkflowsRouter: {
34
34
  'page[size]'?: number | undefined;
35
35
  'filter[startDate]'?: string | undefined;
36
36
  'filter[endDate]'?: string | undefined;
37
- 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
37
+ 'filter[status]'?: "failed" | "completed" | "in_progress" | undefined;
38
38
  'filter[crop]'?: string | undefined;
39
39
  'filter[fieldId]'?: string | undefined;
40
40
  'filter[farmId]'?: string | undefined;
@@ -158,6 +158,7 @@ export declare const agentWorkflowsRouter: {
158
158
  taskId: z.ZodOptional<z.ZodString>;
159
159
  reason: z.ZodString;
160
160
  }, "strip", z.ZodTypeAny, {
161
+ reason: string;
161
162
  recommendation: {
162
163
  priority: number;
163
164
  action: string;
@@ -180,10 +181,10 @@ export declare const agentWorkflowsRouter: {
180
181
  estimatedTime?: string | undefined;
181
182
  riskLevel?: string | undefined;
182
183
  };
183
- reason: string;
184
184
  outcome: "skipped" | "error" | "created" | "updated";
185
185
  taskId?: string | undefined;
186
186
  }, {
187
+ reason: string;
187
188
  recommendation: {
188
189
  priority: number;
189
190
  action: string;
@@ -206,19 +207,13 @@ export declare const agentWorkflowsRouter: {
206
207
  estimatedTime?: string | undefined;
207
208
  riskLevel?: string | undefined;
208
209
  };
209
- reason: string;
210
210
  outcome: "skipped" | "error" | "created" | "updated";
211
211
  taskId?: string | undefined;
212
212
  }>, "many">;
213
213
  taskReview: z.ZodOptional<z.ZodAny>;
214
214
  }, "strip", z.ZodTypeAny, {
215
- summary: {
216
- tasksCreated: number;
217
- tasksUpdated: number;
218
- skipped: number;
219
- sourceType: string;
220
- };
221
215
  results: {
216
+ reason: string;
222
217
  recommendation: {
223
218
  priority: number;
224
219
  action: string;
@@ -241,19 +236,19 @@ export declare const agentWorkflowsRouter: {
241
236
  estimatedTime?: string | undefined;
242
237
  riskLevel?: string | undefined;
243
238
  };
244
- reason: string;
245
239
  outcome: "skipped" | "error" | "created" | "updated";
246
240
  taskId?: string | undefined;
247
241
  }[];
248
- taskReview?: any;
249
- }, {
250
242
  summary: {
251
243
  tasksCreated: number;
252
244
  tasksUpdated: number;
253
245
  skipped: number;
254
246
  sourceType: string;
255
247
  };
248
+ taskReview?: any;
249
+ }, {
256
250
  results: {
251
+ reason: string;
257
252
  recommendation: {
258
253
  priority: number;
259
254
  action: string;
@@ -276,10 +271,15 @@ export declare const agentWorkflowsRouter: {
276
271
  estimatedTime?: string | undefined;
277
272
  riskLevel?: string | undefined;
278
273
  };
279
- reason: string;
280
274
  outcome: "skipped" | "error" | "created" | "updated";
281
275
  taskId?: string | undefined;
282
276
  }[];
277
+ summary: {
278
+ tasksCreated: number;
279
+ tasksUpdated: number;
280
+ skipped: number;
281
+ sourceType: string;
282
+ };
283
283
  taskReview?: any;
284
284
  }>>;
285
285
  errorMessage: z.ZodNullable<z.ZodString>;
@@ -288,7 +288,7 @@ export declare const agentWorkflowsRouter: {
288
288
  createdAt: z.ZodString;
289
289
  updatedAt: z.ZodString;
290
290
  }, "strip", z.ZodTypeAny, {
291
- status: "completed" | "in_progress" | "failed";
291
+ status: "failed" | "completed" | "in_progress";
292
292
  createdAt: string;
293
293
  updatedAt: string;
294
294
  farmId: string;
@@ -298,13 +298,8 @@ export declare const agentWorkflowsRouter: {
298
298
  triggerEvent: string;
299
299
  triggerId: string;
300
300
  agentResults: {
301
- summary: {
302
- tasksCreated: number;
303
- tasksUpdated: number;
304
- skipped: number;
305
- sourceType: string;
306
- };
307
301
  results: {
302
+ reason: string;
308
303
  recommendation: {
309
304
  priority: number;
310
305
  action: string;
@@ -327,16 +322,21 @@ export declare const agentWorkflowsRouter: {
327
322
  estimatedTime?: string | undefined;
328
323
  riskLevel?: string | undefined;
329
324
  };
330
- reason: string;
331
325
  outcome: "skipped" | "error" | "created" | "updated";
332
326
  taskId?: string | undefined;
333
327
  }[];
328
+ summary: {
329
+ tasksCreated: number;
330
+ tasksUpdated: number;
331
+ skipped: number;
332
+ sourceType: string;
333
+ };
334
334
  taskReview?: any;
335
335
  } | null;
336
336
  errorMessage: string | null;
337
337
  completedAt: Date | null;
338
338
  }, {
339
- status: "completed" | "in_progress" | "failed";
339
+ status: "failed" | "completed" | "in_progress";
340
340
  createdAt: string;
341
341
  updatedAt: string;
342
342
  farmId: string;
@@ -346,13 +346,8 @@ export declare const agentWorkflowsRouter: {
346
346
  triggerEvent: string;
347
347
  triggerId: string;
348
348
  agentResults: {
349
- summary: {
350
- tasksCreated: number;
351
- tasksUpdated: number;
352
- skipped: number;
353
- sourceType: string;
354
- };
355
349
  results: {
350
+ reason: string;
356
351
  recommendation: {
357
352
  priority: number;
358
353
  action: string;
@@ -375,10 +370,15 @@ export declare const agentWorkflowsRouter: {
375
370
  estimatedTime?: string | undefined;
376
371
  riskLevel?: string | undefined;
377
372
  };
378
- reason: string;
379
373
  outcome: "skipped" | "error" | "created" | "updated";
380
374
  taskId?: string | undefined;
381
375
  }[];
376
+ summary: {
377
+ tasksCreated: number;
378
+ tasksUpdated: number;
379
+ skipped: number;
380
+ sourceType: string;
381
+ };
382
382
  taskReview?: any;
383
383
  } | null;
384
384
  errorMessage: string | null;
@@ -391,7 +391,7 @@ export declare const agentWorkflowsRouter: {
391
391
  type: string;
392
392
  id: string;
393
393
  attributes: {
394
- status: "completed" | "in_progress" | "failed";
394
+ status: "failed" | "completed" | "in_progress";
395
395
  createdAt: string;
396
396
  updatedAt: string;
397
397
  farmId: string;
@@ -401,13 +401,8 @@ export declare const agentWorkflowsRouter: {
401
401
  triggerEvent: string;
402
402
  triggerId: string;
403
403
  agentResults: {
404
- summary: {
405
- tasksCreated: number;
406
- tasksUpdated: number;
407
- skipped: number;
408
- sourceType: string;
409
- };
410
404
  results: {
405
+ reason: string;
411
406
  recommendation: {
412
407
  priority: number;
413
408
  action: string;
@@ -430,10 +425,15 @@ export declare const agentWorkflowsRouter: {
430
425
  estimatedTime?: string | undefined;
431
426
  riskLevel?: string | undefined;
432
427
  };
433
- reason: string;
434
428
  outcome: "skipped" | "error" | "created" | "updated";
435
429
  taskId?: string | undefined;
436
430
  }[];
431
+ summary: {
432
+ tasksCreated: number;
433
+ tasksUpdated: number;
434
+ skipped: number;
435
+ sourceType: string;
436
+ };
437
437
  taskReview?: any;
438
438
  } | null;
439
439
  errorMessage: string | null;
@@ -446,7 +446,7 @@ export declare const agentWorkflowsRouter: {
446
446
  type: string;
447
447
  id: string;
448
448
  attributes: {
449
- status: "completed" | "in_progress" | "failed";
449
+ status: "failed" | "completed" | "in_progress";
450
450
  createdAt: string;
451
451
  updatedAt: string;
452
452
  farmId: string;
@@ -456,13 +456,8 @@ export declare const agentWorkflowsRouter: {
456
456
  triggerEvent: string;
457
457
  triggerId: string;
458
458
  agentResults: {
459
- summary: {
460
- tasksCreated: number;
461
- tasksUpdated: number;
462
- skipped: number;
463
- sourceType: string;
464
- };
465
459
  results: {
460
+ reason: string;
466
461
  recommendation: {
467
462
  priority: number;
468
463
  action: string;
@@ -485,10 +480,15 @@ export declare const agentWorkflowsRouter: {
485
480
  estimatedTime?: string | undefined;
486
481
  riskLevel?: string | undefined;
487
482
  };
488
- reason: string;
489
483
  outcome: "skipped" | "error" | "created" | "updated";
490
484
  taskId?: string | undefined;
491
485
  }[];
486
+ summary: {
487
+ tasksCreated: number;
488
+ tasksUpdated: number;
489
+ skipped: number;
490
+ sourceType: string;
491
+ };
492
492
  taskReview?: any;
493
493
  } | null;
494
494
  errorMessage: string | null;
@@ -527,7 +527,7 @@ export declare const agentWorkflowsRouter: {
527
527
  type: string;
528
528
  id: string;
529
529
  attributes: {
530
- status: "completed" | "in_progress" | "failed";
530
+ status: "failed" | "completed" | "in_progress";
531
531
  createdAt: string;
532
532
  updatedAt: string;
533
533
  farmId: string;
@@ -537,13 +537,8 @@ export declare const agentWorkflowsRouter: {
537
537
  triggerEvent: string;
538
538
  triggerId: string;
539
539
  agentResults: {
540
- summary: {
541
- tasksCreated: number;
542
- tasksUpdated: number;
543
- skipped: number;
544
- sourceType: string;
545
- };
546
540
  results: {
541
+ reason: string;
547
542
  recommendation: {
548
543
  priority: number;
549
544
  action: string;
@@ -566,10 +561,15 @@ export declare const agentWorkflowsRouter: {
566
561
  estimatedTime?: string | undefined;
567
562
  riskLevel?: string | undefined;
568
563
  };
569
- reason: string;
570
564
  outcome: "skipped" | "error" | "created" | "updated";
571
565
  taskId?: string | undefined;
572
566
  }[];
567
+ summary: {
568
+ tasksCreated: number;
569
+ tasksUpdated: number;
570
+ skipped: number;
571
+ sourceType: string;
572
+ };
573
573
  taskReview?: any;
574
574
  } | null;
575
575
  errorMessage: string | null;
@@ -594,7 +594,7 @@ export declare const agentWorkflowsRouter: {
594
594
  type: string;
595
595
  id: string;
596
596
  attributes: {
597
- status: "completed" | "in_progress" | "failed";
597
+ status: "failed" | "completed" | "in_progress";
598
598
  createdAt: string;
599
599
  updatedAt: string;
600
600
  farmId: string;
@@ -604,13 +604,8 @@ export declare const agentWorkflowsRouter: {
604
604
  triggerEvent: string;
605
605
  triggerId: string;
606
606
  agentResults: {
607
- summary: {
608
- tasksCreated: number;
609
- tasksUpdated: number;
610
- skipped: number;
611
- sourceType: string;
612
- };
613
607
  results: {
608
+ reason: string;
614
609
  recommendation: {
615
610
  priority: number;
616
611
  action: string;
@@ -633,10 +628,15 @@ export declare const agentWorkflowsRouter: {
633
628
  estimatedTime?: string | undefined;
634
629
  riskLevel?: string | undefined;
635
630
  };
636
- reason: string;
637
631
  outcome: "skipped" | "error" | "created" | "updated";
638
632
  taskId?: string | undefined;
639
633
  }[];
634
+ summary: {
635
+ tasksCreated: number;
636
+ tasksUpdated: number;
637
+ skipped: number;
638
+ sourceType: string;
639
+ };
640
640
  taskReview?: any;
641
641
  } | null;
642
642
  errorMessage: string | null;
@@ -810,6 +810,7 @@ export declare const agentWorkflowsRouter: {
810
810
  taskId: z.ZodOptional<z.ZodString>;
811
811
  reason: z.ZodString;
812
812
  }, "strip", z.ZodTypeAny, {
813
+ reason: string;
813
814
  recommendation: {
814
815
  priority: number;
815
816
  action: string;
@@ -832,10 +833,10 @@ export declare const agentWorkflowsRouter: {
832
833
  estimatedTime?: string | undefined;
833
834
  riskLevel?: string | undefined;
834
835
  };
835
- reason: string;
836
836
  outcome: "skipped" | "error" | "created" | "updated";
837
837
  taskId?: string | undefined;
838
838
  }, {
839
+ reason: string;
839
840
  recommendation: {
840
841
  priority: number;
841
842
  action: string;
@@ -858,19 +859,13 @@ export declare const agentWorkflowsRouter: {
858
859
  estimatedTime?: string | undefined;
859
860
  riskLevel?: string | undefined;
860
861
  };
861
- reason: string;
862
862
  outcome: "skipped" | "error" | "created" | "updated";
863
863
  taskId?: string | undefined;
864
864
  }>, "many">;
865
865
  taskReview: z.ZodOptional<z.ZodAny>;
866
866
  }, "strip", z.ZodTypeAny, {
867
- summary: {
868
- tasksCreated: number;
869
- tasksUpdated: number;
870
- skipped: number;
871
- sourceType: string;
872
- };
873
867
  results: {
868
+ reason: string;
874
869
  recommendation: {
875
870
  priority: number;
876
871
  action: string;
@@ -893,19 +888,19 @@ export declare const agentWorkflowsRouter: {
893
888
  estimatedTime?: string | undefined;
894
889
  riskLevel?: string | undefined;
895
890
  };
896
- reason: string;
897
891
  outcome: "skipped" | "error" | "created" | "updated";
898
892
  taskId?: string | undefined;
899
893
  }[];
900
- taskReview?: any;
901
- }, {
902
894
  summary: {
903
895
  tasksCreated: number;
904
896
  tasksUpdated: number;
905
897
  skipped: number;
906
898
  sourceType: string;
907
899
  };
900
+ taskReview?: any;
901
+ }, {
908
902
  results: {
903
+ reason: string;
909
904
  recommendation: {
910
905
  priority: number;
911
906
  action: string;
@@ -928,10 +923,15 @@ export declare const agentWorkflowsRouter: {
928
923
  estimatedTime?: string | undefined;
929
924
  riskLevel?: string | undefined;
930
925
  };
931
- reason: string;
932
926
  outcome: "skipped" | "error" | "created" | "updated";
933
927
  taskId?: string | undefined;
934
928
  }[];
929
+ summary: {
930
+ tasksCreated: number;
931
+ tasksUpdated: number;
932
+ skipped: number;
933
+ sourceType: string;
934
+ };
935
935
  taskReview?: any;
936
936
  }>>;
937
937
  errorMessage: z.ZodNullable<z.ZodString>;
@@ -940,7 +940,7 @@ export declare const agentWorkflowsRouter: {
940
940
  createdAt: z.ZodString;
941
941
  updatedAt: z.ZodString;
942
942
  }, "strip", z.ZodTypeAny, {
943
- status: "completed" | "in_progress" | "failed";
943
+ status: "failed" | "completed" | "in_progress";
944
944
  createdAt: string;
945
945
  updatedAt: string;
946
946
  farmId: string;
@@ -950,13 +950,8 @@ export declare const agentWorkflowsRouter: {
950
950
  triggerEvent: string;
951
951
  triggerId: string;
952
952
  agentResults: {
953
- summary: {
954
- tasksCreated: number;
955
- tasksUpdated: number;
956
- skipped: number;
957
- sourceType: string;
958
- };
959
953
  results: {
954
+ reason: string;
960
955
  recommendation: {
961
956
  priority: number;
962
957
  action: string;
@@ -979,16 +974,21 @@ export declare const agentWorkflowsRouter: {
979
974
  estimatedTime?: string | undefined;
980
975
  riskLevel?: string | undefined;
981
976
  };
982
- reason: string;
983
977
  outcome: "skipped" | "error" | "created" | "updated";
984
978
  taskId?: string | undefined;
985
979
  }[];
980
+ summary: {
981
+ tasksCreated: number;
982
+ tasksUpdated: number;
983
+ skipped: number;
984
+ sourceType: string;
985
+ };
986
986
  taskReview?: any;
987
987
  } | null;
988
988
  errorMessage: string | null;
989
989
  completedAt: Date | null;
990
990
  }, {
991
- status: "completed" | "in_progress" | "failed";
991
+ status: "failed" | "completed" | "in_progress";
992
992
  createdAt: string;
993
993
  updatedAt: string;
994
994
  farmId: string;
@@ -998,13 +998,8 @@ export declare const agentWorkflowsRouter: {
998
998
  triggerEvent: string;
999
999
  triggerId: string;
1000
1000
  agentResults: {
1001
- summary: {
1002
- tasksCreated: number;
1003
- tasksUpdated: number;
1004
- skipped: number;
1005
- sourceType: string;
1006
- };
1007
1001
  results: {
1002
+ reason: string;
1008
1003
  recommendation: {
1009
1004
  priority: number;
1010
1005
  action: string;
@@ -1027,10 +1022,15 @@ export declare const agentWorkflowsRouter: {
1027
1022
  estimatedTime?: string | undefined;
1028
1023
  riskLevel?: string | undefined;
1029
1024
  };
1030
- reason: string;
1031
1025
  outcome: "skipped" | "error" | "created" | "updated";
1032
1026
  taskId?: string | undefined;
1033
1027
  }[];
1028
+ summary: {
1029
+ tasksCreated: number;
1030
+ tasksUpdated: number;
1031
+ skipped: number;
1032
+ sourceType: string;
1033
+ };
1034
1034
  taskReview?: any;
1035
1035
  } | null;
1036
1036
  errorMessage: string | null;
@@ -1043,7 +1043,7 @@ export declare const agentWorkflowsRouter: {
1043
1043
  type: string;
1044
1044
  id: string;
1045
1045
  attributes: {
1046
- status: "completed" | "in_progress" | "failed";
1046
+ status: "failed" | "completed" | "in_progress";
1047
1047
  createdAt: string;
1048
1048
  updatedAt: string;
1049
1049
  farmId: string;
@@ -1053,13 +1053,8 @@ export declare const agentWorkflowsRouter: {
1053
1053
  triggerEvent: string;
1054
1054
  triggerId: string;
1055
1055
  agentResults: {
1056
- summary: {
1057
- tasksCreated: number;
1058
- tasksUpdated: number;
1059
- skipped: number;
1060
- sourceType: string;
1061
- };
1062
1056
  results: {
1057
+ reason: string;
1063
1058
  recommendation: {
1064
1059
  priority: number;
1065
1060
  action: string;
@@ -1082,10 +1077,15 @@ export declare const agentWorkflowsRouter: {
1082
1077
  estimatedTime?: string | undefined;
1083
1078
  riskLevel?: string | undefined;
1084
1079
  };
1085
- reason: string;
1086
1080
  outcome: "skipped" | "error" | "created" | "updated";
1087
1081
  taskId?: string | undefined;
1088
1082
  }[];
1083
+ summary: {
1084
+ tasksCreated: number;
1085
+ tasksUpdated: number;
1086
+ skipped: number;
1087
+ sourceType: string;
1088
+ };
1089
1089
  taskReview?: any;
1090
1090
  } | null;
1091
1091
  errorMessage: string | null;
@@ -1098,7 +1098,7 @@ export declare const agentWorkflowsRouter: {
1098
1098
  type: string;
1099
1099
  id: string;
1100
1100
  attributes: {
1101
- status: "completed" | "in_progress" | "failed";
1101
+ status: "failed" | "completed" | "in_progress";
1102
1102
  createdAt: string;
1103
1103
  updatedAt: string;
1104
1104
  farmId: string;
@@ -1108,13 +1108,8 @@ export declare const agentWorkflowsRouter: {
1108
1108
  triggerEvent: string;
1109
1109
  triggerId: string;
1110
1110
  agentResults: {
1111
- summary: {
1112
- tasksCreated: number;
1113
- tasksUpdated: number;
1114
- skipped: number;
1115
- sourceType: string;
1116
- };
1117
1111
  results: {
1112
+ reason: string;
1118
1113
  recommendation: {
1119
1114
  priority: number;
1120
1115
  action: string;
@@ -1137,10 +1132,15 @@ export declare const agentWorkflowsRouter: {
1137
1132
  estimatedTime?: string | undefined;
1138
1133
  riskLevel?: string | undefined;
1139
1134
  };
1140
- reason: string;
1141
1135
  outcome: "skipped" | "error" | "created" | "updated";
1142
1136
  taskId?: string | undefined;
1143
1137
  }[];
1138
+ summary: {
1139
+ tasksCreated: number;
1140
+ tasksUpdated: number;
1141
+ skipped: number;
1142
+ sourceType: string;
1143
+ };
1144
1144
  taskReview?: any;
1145
1145
  } | null;
1146
1146
  errorMessage: string | null;
@@ -1179,7 +1179,7 @@ export declare const agentWorkflowsRouter: {
1179
1179
  type: string;
1180
1180
  id: string;
1181
1181
  attributes: {
1182
- status: "completed" | "in_progress" | "failed";
1182
+ status: "failed" | "completed" | "in_progress";
1183
1183
  createdAt: string;
1184
1184
  updatedAt: string;
1185
1185
  farmId: string;
@@ -1189,13 +1189,8 @@ export declare const agentWorkflowsRouter: {
1189
1189
  triggerEvent: string;
1190
1190
  triggerId: string;
1191
1191
  agentResults: {
1192
- summary: {
1193
- tasksCreated: number;
1194
- tasksUpdated: number;
1195
- skipped: number;
1196
- sourceType: string;
1197
- };
1198
1192
  results: {
1193
+ reason: string;
1199
1194
  recommendation: {
1200
1195
  priority: number;
1201
1196
  action: string;
@@ -1218,10 +1213,15 @@ export declare const agentWorkflowsRouter: {
1218
1213
  estimatedTime?: string | undefined;
1219
1214
  riskLevel?: string | undefined;
1220
1215
  };
1221
- reason: string;
1222
1216
  outcome: "skipped" | "error" | "created" | "updated";
1223
1217
  taskId?: string | undefined;
1224
1218
  }[];
1219
+ summary: {
1220
+ tasksCreated: number;
1221
+ tasksUpdated: number;
1222
+ skipped: number;
1223
+ sourceType: string;
1224
+ };
1225
1225
  taskReview?: any;
1226
1226
  } | null;
1227
1227
  errorMessage: string | null;
@@ -1246,7 +1246,7 @@ export declare const agentWorkflowsRouter: {
1246
1246
  type: string;
1247
1247
  id: string;
1248
1248
  attributes: {
1249
- status: "completed" | "in_progress" | "failed";
1249
+ status: "failed" | "completed" | "in_progress";
1250
1250
  createdAt: string;
1251
1251
  updatedAt: string;
1252
1252
  farmId: string;
@@ -1256,13 +1256,8 @@ export declare const agentWorkflowsRouter: {
1256
1256
  triggerEvent: string;
1257
1257
  triggerId: string;
1258
1258
  agentResults: {
1259
- summary: {
1260
- tasksCreated: number;
1261
- tasksUpdated: number;
1262
- skipped: number;
1263
- sourceType: string;
1264
- };
1265
1259
  results: {
1260
+ reason: string;
1266
1261
  recommendation: {
1267
1262
  priority: number;
1268
1263
  action: string;
@@ -1285,10 +1280,15 @@ export declare const agentWorkflowsRouter: {
1285
1280
  estimatedTime?: string | undefined;
1286
1281
  riskLevel?: string | undefined;
1287
1282
  };
1288
- reason: string;
1289
1283
  outcome: "skipped" | "error" | "created" | "updated";
1290
1284
  taskId?: string | undefined;
1291
1285
  }[];
1286
+ summary: {
1287
+ tasksCreated: number;
1288
+ tasksUpdated: number;
1289
+ skipped: number;
1290
+ sourceType: string;
1291
+ };
1292
1292
  taskReview?: any;
1293
1293
  } | null;
1294
1294
  errorMessage: string | null;
@@ -1352,11 +1352,11 @@ export declare const agentWorkflowsRouter: {
1352
1352
  }, "strip", z.ZodTypeAny, {
1353
1353
  'page[number]'?: number | undefined;
1354
1354
  'page[size]'?: number | undefined;
1355
- 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
1355
+ 'filter[status]'?: "failed" | "completed" | "in_progress" | undefined;
1356
1356
  }, {
1357
1357
  'page[number]'?: number | undefined;
1358
1358
  'page[size]'?: number | undefined;
1359
- 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
1359
+ 'filter[status]'?: "failed" | "completed" | "in_progress" | undefined;
1360
1360
  }>;
1361
1361
  summary: "Get all workflows for a farm";
1362
1362
  method: "GET";
@@ -1476,6 +1476,7 @@ export declare const agentWorkflowsRouter: {
1476
1476
  taskId: z.ZodOptional<z.ZodString>;
1477
1477
  reason: z.ZodString;
1478
1478
  }, "strip", z.ZodTypeAny, {
1479
+ reason: string;
1479
1480
  recommendation: {
1480
1481
  priority: number;
1481
1482
  action: string;
@@ -1498,10 +1499,10 @@ export declare const agentWorkflowsRouter: {
1498
1499
  estimatedTime?: string | undefined;
1499
1500
  riskLevel?: string | undefined;
1500
1501
  };
1501
- reason: string;
1502
1502
  outcome: "skipped" | "error" | "created" | "updated";
1503
1503
  taskId?: string | undefined;
1504
1504
  }, {
1505
+ reason: string;
1505
1506
  recommendation: {
1506
1507
  priority: number;
1507
1508
  action: string;
@@ -1524,19 +1525,13 @@ export declare const agentWorkflowsRouter: {
1524
1525
  estimatedTime?: string | undefined;
1525
1526
  riskLevel?: string | undefined;
1526
1527
  };
1527
- reason: string;
1528
1528
  outcome: "skipped" | "error" | "created" | "updated";
1529
1529
  taskId?: string | undefined;
1530
1530
  }>, "many">;
1531
1531
  taskReview: z.ZodOptional<z.ZodAny>;
1532
1532
  }, "strip", z.ZodTypeAny, {
1533
- summary: {
1534
- tasksCreated: number;
1535
- tasksUpdated: number;
1536
- skipped: number;
1537
- sourceType: string;
1538
- };
1539
1533
  results: {
1534
+ reason: string;
1540
1535
  recommendation: {
1541
1536
  priority: number;
1542
1537
  action: string;
@@ -1559,19 +1554,19 @@ export declare const agentWorkflowsRouter: {
1559
1554
  estimatedTime?: string | undefined;
1560
1555
  riskLevel?: string | undefined;
1561
1556
  };
1562
- reason: string;
1563
1557
  outcome: "skipped" | "error" | "created" | "updated";
1564
1558
  taskId?: string | undefined;
1565
1559
  }[];
1566
- taskReview?: any;
1567
- }, {
1568
1560
  summary: {
1569
1561
  tasksCreated: number;
1570
1562
  tasksUpdated: number;
1571
1563
  skipped: number;
1572
1564
  sourceType: string;
1573
1565
  };
1566
+ taskReview?: any;
1567
+ }, {
1574
1568
  results: {
1569
+ reason: string;
1575
1570
  recommendation: {
1576
1571
  priority: number;
1577
1572
  action: string;
@@ -1594,10 +1589,15 @@ export declare const agentWorkflowsRouter: {
1594
1589
  estimatedTime?: string | undefined;
1595
1590
  riskLevel?: string | undefined;
1596
1591
  };
1597
- reason: string;
1598
1592
  outcome: "skipped" | "error" | "created" | "updated";
1599
1593
  taskId?: string | undefined;
1600
1594
  }[];
1595
+ summary: {
1596
+ tasksCreated: number;
1597
+ tasksUpdated: number;
1598
+ skipped: number;
1599
+ sourceType: string;
1600
+ };
1601
1601
  taskReview?: any;
1602
1602
  }>>;
1603
1603
  errorMessage: z.ZodNullable<z.ZodString>;
@@ -1606,7 +1606,7 @@ export declare const agentWorkflowsRouter: {
1606
1606
  createdAt: z.ZodString;
1607
1607
  updatedAt: z.ZodString;
1608
1608
  }, "strip", z.ZodTypeAny, {
1609
- status: "completed" | "in_progress" | "failed";
1609
+ status: "failed" | "completed" | "in_progress";
1610
1610
  createdAt: string;
1611
1611
  updatedAt: string;
1612
1612
  farmId: string;
@@ -1616,13 +1616,8 @@ export declare const agentWorkflowsRouter: {
1616
1616
  triggerEvent: string;
1617
1617
  triggerId: string;
1618
1618
  agentResults: {
1619
- summary: {
1620
- tasksCreated: number;
1621
- tasksUpdated: number;
1622
- skipped: number;
1623
- sourceType: string;
1624
- };
1625
1619
  results: {
1620
+ reason: string;
1626
1621
  recommendation: {
1627
1622
  priority: number;
1628
1623
  action: string;
@@ -1645,16 +1640,21 @@ export declare const agentWorkflowsRouter: {
1645
1640
  estimatedTime?: string | undefined;
1646
1641
  riskLevel?: string | undefined;
1647
1642
  };
1648
- reason: string;
1649
1643
  outcome: "skipped" | "error" | "created" | "updated";
1650
1644
  taskId?: string | undefined;
1651
1645
  }[];
1646
+ summary: {
1647
+ tasksCreated: number;
1648
+ tasksUpdated: number;
1649
+ skipped: number;
1650
+ sourceType: string;
1651
+ };
1652
1652
  taskReview?: any;
1653
1653
  } | null;
1654
1654
  errorMessage: string | null;
1655
1655
  completedAt: Date | null;
1656
1656
  }, {
1657
- status: "completed" | "in_progress" | "failed";
1657
+ status: "failed" | "completed" | "in_progress";
1658
1658
  createdAt: string;
1659
1659
  updatedAt: string;
1660
1660
  farmId: string;
@@ -1664,13 +1664,8 @@ export declare const agentWorkflowsRouter: {
1664
1664
  triggerEvent: string;
1665
1665
  triggerId: string;
1666
1666
  agentResults: {
1667
- summary: {
1668
- tasksCreated: number;
1669
- tasksUpdated: number;
1670
- skipped: number;
1671
- sourceType: string;
1672
- };
1673
1667
  results: {
1668
+ reason: string;
1674
1669
  recommendation: {
1675
1670
  priority: number;
1676
1671
  action: string;
@@ -1693,10 +1688,15 @@ export declare const agentWorkflowsRouter: {
1693
1688
  estimatedTime?: string | undefined;
1694
1689
  riskLevel?: string | undefined;
1695
1690
  };
1696
- reason: string;
1697
1691
  outcome: "skipped" | "error" | "created" | "updated";
1698
1692
  taskId?: string | undefined;
1699
1693
  }[];
1694
+ summary: {
1695
+ tasksCreated: number;
1696
+ tasksUpdated: number;
1697
+ skipped: number;
1698
+ sourceType: string;
1699
+ };
1700
1700
  taskReview?: any;
1701
1701
  } | null;
1702
1702
  errorMessage: string | null;
@@ -1709,7 +1709,7 @@ export declare const agentWorkflowsRouter: {
1709
1709
  type: string;
1710
1710
  id: string;
1711
1711
  attributes: {
1712
- status: "completed" | "in_progress" | "failed";
1712
+ status: "failed" | "completed" | "in_progress";
1713
1713
  createdAt: string;
1714
1714
  updatedAt: string;
1715
1715
  farmId: string;
@@ -1719,13 +1719,8 @@ export declare const agentWorkflowsRouter: {
1719
1719
  triggerEvent: string;
1720
1720
  triggerId: string;
1721
1721
  agentResults: {
1722
- summary: {
1723
- tasksCreated: number;
1724
- tasksUpdated: number;
1725
- skipped: number;
1726
- sourceType: string;
1727
- };
1728
1722
  results: {
1723
+ reason: string;
1729
1724
  recommendation: {
1730
1725
  priority: number;
1731
1726
  action: string;
@@ -1748,10 +1743,15 @@ export declare const agentWorkflowsRouter: {
1748
1743
  estimatedTime?: string | undefined;
1749
1744
  riskLevel?: string | undefined;
1750
1745
  };
1751
- reason: string;
1752
1746
  outcome: "skipped" | "error" | "created" | "updated";
1753
1747
  taskId?: string | undefined;
1754
1748
  }[];
1749
+ summary: {
1750
+ tasksCreated: number;
1751
+ tasksUpdated: number;
1752
+ skipped: number;
1753
+ sourceType: string;
1754
+ };
1755
1755
  taskReview?: any;
1756
1756
  } | null;
1757
1757
  errorMessage: string | null;
@@ -1764,7 +1764,7 @@ export declare const agentWorkflowsRouter: {
1764
1764
  type: string;
1765
1765
  id: string;
1766
1766
  attributes: {
1767
- status: "completed" | "in_progress" | "failed";
1767
+ status: "failed" | "completed" | "in_progress";
1768
1768
  createdAt: string;
1769
1769
  updatedAt: string;
1770
1770
  farmId: string;
@@ -1774,13 +1774,8 @@ export declare const agentWorkflowsRouter: {
1774
1774
  triggerEvent: string;
1775
1775
  triggerId: string;
1776
1776
  agentResults: {
1777
- summary: {
1778
- tasksCreated: number;
1779
- tasksUpdated: number;
1780
- skipped: number;
1781
- sourceType: string;
1782
- };
1783
1777
  results: {
1778
+ reason: string;
1784
1779
  recommendation: {
1785
1780
  priority: number;
1786
1781
  action: string;
@@ -1803,10 +1798,15 @@ export declare const agentWorkflowsRouter: {
1803
1798
  estimatedTime?: string | undefined;
1804
1799
  riskLevel?: string | undefined;
1805
1800
  };
1806
- reason: string;
1807
1801
  outcome: "skipped" | "error" | "created" | "updated";
1808
1802
  taskId?: string | undefined;
1809
1803
  }[];
1804
+ summary: {
1805
+ tasksCreated: number;
1806
+ tasksUpdated: number;
1807
+ skipped: number;
1808
+ sourceType: string;
1809
+ };
1810
1810
  taskReview?: any;
1811
1811
  } | null;
1812
1812
  errorMessage: string | null;
@@ -1845,7 +1845,7 @@ export declare const agentWorkflowsRouter: {
1845
1845
  type: string;
1846
1846
  id: string;
1847
1847
  attributes: {
1848
- status: "completed" | "in_progress" | "failed";
1848
+ status: "failed" | "completed" | "in_progress";
1849
1849
  createdAt: string;
1850
1850
  updatedAt: string;
1851
1851
  farmId: string;
@@ -1855,13 +1855,8 @@ export declare const agentWorkflowsRouter: {
1855
1855
  triggerEvent: string;
1856
1856
  triggerId: string;
1857
1857
  agentResults: {
1858
- summary: {
1859
- tasksCreated: number;
1860
- tasksUpdated: number;
1861
- skipped: number;
1862
- sourceType: string;
1863
- };
1864
1858
  results: {
1859
+ reason: string;
1865
1860
  recommendation: {
1866
1861
  priority: number;
1867
1862
  action: string;
@@ -1884,10 +1879,15 @@ export declare const agentWorkflowsRouter: {
1884
1879
  estimatedTime?: string | undefined;
1885
1880
  riskLevel?: string | undefined;
1886
1881
  };
1887
- reason: string;
1888
1882
  outcome: "skipped" | "error" | "created" | "updated";
1889
1883
  taskId?: string | undefined;
1890
1884
  }[];
1885
+ summary: {
1886
+ tasksCreated: number;
1887
+ tasksUpdated: number;
1888
+ skipped: number;
1889
+ sourceType: string;
1890
+ };
1891
1891
  taskReview?: any;
1892
1892
  } | null;
1893
1893
  errorMessage: string | null;
@@ -1912,7 +1912,7 @@ export declare const agentWorkflowsRouter: {
1912
1912
  type: string;
1913
1913
  id: string;
1914
1914
  attributes: {
1915
- status: "completed" | "in_progress" | "failed";
1915
+ status: "failed" | "completed" | "in_progress";
1916
1916
  createdAt: string;
1917
1917
  updatedAt: string;
1918
1918
  farmId: string;
@@ -1922,13 +1922,8 @@ export declare const agentWorkflowsRouter: {
1922
1922
  triggerEvent: string;
1923
1923
  triggerId: string;
1924
1924
  agentResults: {
1925
- summary: {
1926
- tasksCreated: number;
1927
- tasksUpdated: number;
1928
- skipped: number;
1929
- sourceType: string;
1930
- };
1931
1925
  results: {
1926
+ reason: string;
1932
1927
  recommendation: {
1933
1928
  priority: number;
1934
1929
  action: string;
@@ -1951,10 +1946,15 @@ export declare const agentWorkflowsRouter: {
1951
1946
  estimatedTime?: string | undefined;
1952
1947
  riskLevel?: string | undefined;
1953
1948
  };
1954
- reason: string;
1955
1949
  outcome: "skipped" | "error" | "created" | "updated";
1956
1950
  taskId?: string | undefined;
1957
1951
  }[];
1952
+ summary: {
1953
+ tasksCreated: number;
1954
+ tasksUpdated: number;
1955
+ skipped: number;
1956
+ sourceType: string;
1957
+ };
1958
1958
  taskReview?: any;
1959
1959
  } | null;
1960
1960
  errorMessage: string | null;
@@ -2018,11 +2018,11 @@ export declare const agentWorkflowsRouter: {
2018
2018
  }, "strip", z.ZodTypeAny, {
2019
2019
  'page[number]'?: number | undefined;
2020
2020
  'page[size]'?: number | undefined;
2021
- 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
2021
+ 'filter[status]'?: "failed" | "completed" | "in_progress" | undefined;
2022
2022
  }, {
2023
2023
  'page[number]'?: number | undefined;
2024
2024
  'page[size]'?: number | undefined;
2025
- 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
2025
+ 'filter[status]'?: "failed" | "completed" | "in_progress" | undefined;
2026
2026
  }>;
2027
2027
  summary: "Get all workflows for a field";
2028
2028
  method: "GET";
@@ -2142,6 +2142,7 @@ export declare const agentWorkflowsRouter: {
2142
2142
  taskId: z.ZodOptional<z.ZodString>;
2143
2143
  reason: z.ZodString;
2144
2144
  }, "strip", z.ZodTypeAny, {
2145
+ reason: string;
2145
2146
  recommendation: {
2146
2147
  priority: number;
2147
2148
  action: string;
@@ -2164,10 +2165,10 @@ export declare const agentWorkflowsRouter: {
2164
2165
  estimatedTime?: string | undefined;
2165
2166
  riskLevel?: string | undefined;
2166
2167
  };
2167
- reason: string;
2168
2168
  outcome: "skipped" | "error" | "created" | "updated";
2169
2169
  taskId?: string | undefined;
2170
2170
  }, {
2171
+ reason: string;
2171
2172
  recommendation: {
2172
2173
  priority: number;
2173
2174
  action: string;
@@ -2190,19 +2191,13 @@ export declare const agentWorkflowsRouter: {
2190
2191
  estimatedTime?: string | undefined;
2191
2192
  riskLevel?: string | undefined;
2192
2193
  };
2193
- reason: string;
2194
2194
  outcome: "skipped" | "error" | "created" | "updated";
2195
2195
  taskId?: string | undefined;
2196
2196
  }>, "many">;
2197
2197
  taskReview: z.ZodOptional<z.ZodAny>;
2198
2198
  }, "strip", z.ZodTypeAny, {
2199
- summary: {
2200
- tasksCreated: number;
2201
- tasksUpdated: number;
2202
- skipped: number;
2203
- sourceType: string;
2204
- };
2205
2199
  results: {
2200
+ reason: string;
2206
2201
  recommendation: {
2207
2202
  priority: number;
2208
2203
  action: string;
@@ -2225,19 +2220,19 @@ export declare const agentWorkflowsRouter: {
2225
2220
  estimatedTime?: string | undefined;
2226
2221
  riskLevel?: string | undefined;
2227
2222
  };
2228
- reason: string;
2229
2223
  outcome: "skipped" | "error" | "created" | "updated";
2230
2224
  taskId?: string | undefined;
2231
2225
  }[];
2232
- taskReview?: any;
2233
- }, {
2234
2226
  summary: {
2235
2227
  tasksCreated: number;
2236
2228
  tasksUpdated: number;
2237
2229
  skipped: number;
2238
2230
  sourceType: string;
2239
2231
  };
2232
+ taskReview?: any;
2233
+ }, {
2240
2234
  results: {
2235
+ reason: string;
2241
2236
  recommendation: {
2242
2237
  priority: number;
2243
2238
  action: string;
@@ -2260,10 +2255,15 @@ export declare const agentWorkflowsRouter: {
2260
2255
  estimatedTime?: string | undefined;
2261
2256
  riskLevel?: string | undefined;
2262
2257
  };
2263
- reason: string;
2264
2258
  outcome: "skipped" | "error" | "created" | "updated";
2265
2259
  taskId?: string | undefined;
2266
2260
  }[];
2261
+ summary: {
2262
+ tasksCreated: number;
2263
+ tasksUpdated: number;
2264
+ skipped: number;
2265
+ sourceType: string;
2266
+ };
2267
2267
  taskReview?: any;
2268
2268
  }>>;
2269
2269
  errorMessage: z.ZodNullable<z.ZodString>;
@@ -2272,7 +2272,7 @@ export declare const agentWorkflowsRouter: {
2272
2272
  createdAt: z.ZodString;
2273
2273
  updatedAt: z.ZodString;
2274
2274
  }, "strip", z.ZodTypeAny, {
2275
- status: "completed" | "in_progress" | "failed";
2275
+ status: "failed" | "completed" | "in_progress";
2276
2276
  createdAt: string;
2277
2277
  updatedAt: string;
2278
2278
  farmId: string;
@@ -2282,13 +2282,8 @@ export declare const agentWorkflowsRouter: {
2282
2282
  triggerEvent: string;
2283
2283
  triggerId: string;
2284
2284
  agentResults: {
2285
- summary: {
2286
- tasksCreated: number;
2287
- tasksUpdated: number;
2288
- skipped: number;
2289
- sourceType: string;
2290
- };
2291
2285
  results: {
2286
+ reason: string;
2292
2287
  recommendation: {
2293
2288
  priority: number;
2294
2289
  action: string;
@@ -2311,16 +2306,21 @@ export declare const agentWorkflowsRouter: {
2311
2306
  estimatedTime?: string | undefined;
2312
2307
  riskLevel?: string | undefined;
2313
2308
  };
2314
- reason: string;
2315
2309
  outcome: "skipped" | "error" | "created" | "updated";
2316
2310
  taskId?: string | undefined;
2317
2311
  }[];
2312
+ summary: {
2313
+ tasksCreated: number;
2314
+ tasksUpdated: number;
2315
+ skipped: number;
2316
+ sourceType: string;
2317
+ };
2318
2318
  taskReview?: any;
2319
2319
  } | null;
2320
2320
  errorMessage: string | null;
2321
2321
  completedAt: Date | null;
2322
2322
  }, {
2323
- status: "completed" | "in_progress" | "failed";
2323
+ status: "failed" | "completed" | "in_progress";
2324
2324
  createdAt: string;
2325
2325
  updatedAt: string;
2326
2326
  farmId: string;
@@ -2330,13 +2330,8 @@ export declare const agentWorkflowsRouter: {
2330
2330
  triggerEvent: string;
2331
2331
  triggerId: string;
2332
2332
  agentResults: {
2333
- summary: {
2334
- tasksCreated: number;
2335
- tasksUpdated: number;
2336
- skipped: number;
2337
- sourceType: string;
2338
- };
2339
2333
  results: {
2334
+ reason: string;
2340
2335
  recommendation: {
2341
2336
  priority: number;
2342
2337
  action: string;
@@ -2359,10 +2354,15 @@ export declare const agentWorkflowsRouter: {
2359
2354
  estimatedTime?: string | undefined;
2360
2355
  riskLevel?: string | undefined;
2361
2356
  };
2362
- reason: string;
2363
2357
  outcome: "skipped" | "error" | "created" | "updated";
2364
2358
  taskId?: string | undefined;
2365
2359
  }[];
2360
+ summary: {
2361
+ tasksCreated: number;
2362
+ tasksUpdated: number;
2363
+ skipped: number;
2364
+ sourceType: string;
2365
+ };
2366
2366
  taskReview?: any;
2367
2367
  } | null;
2368
2368
  errorMessage: string | null;
@@ -2375,7 +2375,7 @@ export declare const agentWorkflowsRouter: {
2375
2375
  type: string;
2376
2376
  id: string;
2377
2377
  attributes: {
2378
- status: "completed" | "in_progress" | "failed";
2378
+ status: "failed" | "completed" | "in_progress";
2379
2379
  createdAt: string;
2380
2380
  updatedAt: string;
2381
2381
  farmId: string;
@@ -2385,13 +2385,8 @@ export declare const agentWorkflowsRouter: {
2385
2385
  triggerEvent: string;
2386
2386
  triggerId: string;
2387
2387
  agentResults: {
2388
- summary: {
2389
- tasksCreated: number;
2390
- tasksUpdated: number;
2391
- skipped: number;
2392
- sourceType: string;
2393
- };
2394
2388
  results: {
2389
+ reason: string;
2395
2390
  recommendation: {
2396
2391
  priority: number;
2397
2392
  action: string;
@@ -2414,10 +2409,15 @@ export declare const agentWorkflowsRouter: {
2414
2409
  estimatedTime?: string | undefined;
2415
2410
  riskLevel?: string | undefined;
2416
2411
  };
2417
- reason: string;
2418
2412
  outcome: "skipped" | "error" | "created" | "updated";
2419
2413
  taskId?: string | undefined;
2420
2414
  }[];
2415
+ summary: {
2416
+ tasksCreated: number;
2417
+ tasksUpdated: number;
2418
+ skipped: number;
2419
+ sourceType: string;
2420
+ };
2421
2421
  taskReview?: any;
2422
2422
  } | null;
2423
2423
  errorMessage: string | null;
@@ -2430,7 +2430,7 @@ export declare const agentWorkflowsRouter: {
2430
2430
  type: string;
2431
2431
  id: string;
2432
2432
  attributes: {
2433
- status: "completed" | "in_progress" | "failed";
2433
+ status: "failed" | "completed" | "in_progress";
2434
2434
  createdAt: string;
2435
2435
  updatedAt: string;
2436
2436
  farmId: string;
@@ -2440,13 +2440,8 @@ export declare const agentWorkflowsRouter: {
2440
2440
  triggerEvent: string;
2441
2441
  triggerId: string;
2442
2442
  agentResults: {
2443
- summary: {
2444
- tasksCreated: number;
2445
- tasksUpdated: number;
2446
- skipped: number;
2447
- sourceType: string;
2448
- };
2449
2443
  results: {
2444
+ reason: string;
2450
2445
  recommendation: {
2451
2446
  priority: number;
2452
2447
  action: string;
@@ -2469,10 +2464,15 @@ export declare const agentWorkflowsRouter: {
2469
2464
  estimatedTime?: string | undefined;
2470
2465
  riskLevel?: string | undefined;
2471
2466
  };
2472
- reason: string;
2473
2467
  outcome: "skipped" | "error" | "created" | "updated";
2474
2468
  taskId?: string | undefined;
2475
2469
  }[];
2470
+ summary: {
2471
+ tasksCreated: number;
2472
+ tasksUpdated: number;
2473
+ skipped: number;
2474
+ sourceType: string;
2475
+ };
2476
2476
  taskReview?: any;
2477
2477
  } | null;
2478
2478
  errorMessage: string | null;
@@ -2511,7 +2511,7 @@ export declare const agentWorkflowsRouter: {
2511
2511
  type: string;
2512
2512
  id: string;
2513
2513
  attributes: {
2514
- status: "completed" | "in_progress" | "failed";
2514
+ status: "failed" | "completed" | "in_progress";
2515
2515
  createdAt: string;
2516
2516
  updatedAt: string;
2517
2517
  farmId: string;
@@ -2521,13 +2521,8 @@ export declare const agentWorkflowsRouter: {
2521
2521
  triggerEvent: string;
2522
2522
  triggerId: string;
2523
2523
  agentResults: {
2524
- summary: {
2525
- tasksCreated: number;
2526
- tasksUpdated: number;
2527
- skipped: number;
2528
- sourceType: string;
2529
- };
2530
2524
  results: {
2525
+ reason: string;
2531
2526
  recommendation: {
2532
2527
  priority: number;
2533
2528
  action: string;
@@ -2550,10 +2545,15 @@ export declare const agentWorkflowsRouter: {
2550
2545
  estimatedTime?: string | undefined;
2551
2546
  riskLevel?: string | undefined;
2552
2547
  };
2553
- reason: string;
2554
2548
  outcome: "skipped" | "error" | "created" | "updated";
2555
2549
  taskId?: string | undefined;
2556
2550
  }[];
2551
+ summary: {
2552
+ tasksCreated: number;
2553
+ tasksUpdated: number;
2554
+ skipped: number;
2555
+ sourceType: string;
2556
+ };
2557
2557
  taskReview?: any;
2558
2558
  } | null;
2559
2559
  errorMessage: string | null;
@@ -2578,7 +2578,7 @@ export declare const agentWorkflowsRouter: {
2578
2578
  type: string;
2579
2579
  id: string;
2580
2580
  attributes: {
2581
- status: "completed" | "in_progress" | "failed";
2581
+ status: "failed" | "completed" | "in_progress";
2582
2582
  createdAt: string;
2583
2583
  updatedAt: string;
2584
2584
  farmId: string;
@@ -2588,13 +2588,8 @@ export declare const agentWorkflowsRouter: {
2588
2588
  triggerEvent: string;
2589
2589
  triggerId: string;
2590
2590
  agentResults: {
2591
- summary: {
2592
- tasksCreated: number;
2593
- tasksUpdated: number;
2594
- skipped: number;
2595
- sourceType: string;
2596
- };
2597
2591
  results: {
2592
+ reason: string;
2598
2593
  recommendation: {
2599
2594
  priority: number;
2600
2595
  action: string;
@@ -2617,10 +2612,15 @@ export declare const agentWorkflowsRouter: {
2617
2612
  estimatedTime?: string | undefined;
2618
2613
  riskLevel?: string | undefined;
2619
2614
  };
2620
- reason: string;
2621
2615
  outcome: "skipped" | "error" | "created" | "updated";
2622
2616
  taskId?: string | undefined;
2623
2617
  }[];
2618
+ summary: {
2619
+ tasksCreated: number;
2620
+ tasksUpdated: number;
2621
+ skipped: number;
2622
+ sourceType: string;
2623
+ };
2624
2624
  taskReview?: any;
2625
2625
  } | null;
2626
2626
  errorMessage: string | null;