@deepintel-ltd/farmpro-contracts 1.16.9 → 1.16.11
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.
- package/dist/routes/admin.routes.d.ts +1036 -0
- package/dist/routes/admin.routes.d.ts.map +1 -1
- package/dist/routes/admin.routes.js +29 -1
- package/dist/routes/agent-workflows.routes.d.ts +246 -246
- package/dist/routes/agents.routes.d.ts +16 -16
- package/dist/routes/fertigation.routes.d.ts +80 -80
- package/dist/routes/field-monitoring.routes.d.ts +8 -8
- package/dist/routes/field-observations.routes.d.ts +28 -28
- package/dist/routes/health.routes.d.ts +66 -0
- package/dist/routes/health.routes.d.ts.map +1 -1
- package/dist/routes/livestock-groups.routes.d.ts +8 -8
- package/dist/routes/livestock.routes.d.ts +50 -50
- package/dist/routes/payments.routes.d.ts +20 -20
- package/dist/routes/pest-disease-risk.routes.d.ts +4 -4
- package/dist/routes/soil-tests.routes.d.ts +40 -40
- package/dist/schemas/admin.schemas.d.ts +267 -0
- package/dist/schemas/admin.schemas.d.ts.map +1 -1
- package/dist/schemas/admin.schemas.js +38 -0
- package/dist/schemas/agent-workflows.schemas.d.ts +206 -206
- package/dist/schemas/agents.schemas.d.ts +16 -16
- package/dist/schemas/fertigation.schemas.d.ts +36 -36
- package/dist/schemas/field-monitoring.schemas.d.ts +8 -8
- package/dist/schemas/field-observations.schemas.d.ts +20 -20
- package/dist/schemas/field-observations.schemas.d.ts.map +1 -1
- package/dist/schemas/field-observations.schemas.js +3 -2
- package/dist/schemas/health.schemas.d.ts +33 -0
- package/dist/schemas/health.schemas.d.ts.map +1 -1
- package/dist/schemas/health.schemas.js +1 -0
- package/dist/schemas/livestock.schemas.d.ts +50 -50
- package/dist/schemas/monitoring-visualization.schemas.js +4 -4
- package/dist/schemas/payments.schemas.d.ts +20 -20
- package/dist/schemas/pest-disease-risk.schemas.d.ts +2 -2
- package/dist/schemas/soil-tests.schemas.d.ts +42 -42
- package/package.json +1 -1
|
@@ -94,6 +94,7 @@ export declare const agentRecommendationResultSchema: z.ZodObject<{
|
|
|
94
94
|
taskId: z.ZodOptional<z.ZodString>;
|
|
95
95
|
reason: z.ZodString;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
reason: string;
|
|
97
98
|
recommendation: {
|
|
98
99
|
priority: number;
|
|
99
100
|
action: string;
|
|
@@ -116,10 +117,10 @@ export declare const agentRecommendationResultSchema: z.ZodObject<{
|
|
|
116
117
|
estimatedTime?: string | undefined;
|
|
117
118
|
riskLevel?: string | undefined;
|
|
118
119
|
};
|
|
119
|
-
reason: string;
|
|
120
120
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
121
121
|
taskId?: string | undefined;
|
|
122
122
|
}, {
|
|
123
|
+
reason: string;
|
|
123
124
|
recommendation: {
|
|
124
125
|
priority: number;
|
|
125
126
|
action: string;
|
|
@@ -142,7 +143,6 @@ export declare const agentRecommendationResultSchema: z.ZodObject<{
|
|
|
142
143
|
estimatedTime?: string | undefined;
|
|
143
144
|
riskLevel?: string | undefined;
|
|
144
145
|
};
|
|
145
|
-
reason: string;
|
|
146
146
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
147
147
|
taskId?: string | undefined;
|
|
148
148
|
}>;
|
|
@@ -248,6 +248,7 @@ export declare const agentResultsSchema: z.ZodObject<{
|
|
|
248
248
|
taskId: z.ZodOptional<z.ZodString>;
|
|
249
249
|
reason: z.ZodString;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
+
reason: string;
|
|
251
252
|
recommendation: {
|
|
252
253
|
priority: number;
|
|
253
254
|
action: string;
|
|
@@ -270,10 +271,10 @@ export declare const agentResultsSchema: z.ZodObject<{
|
|
|
270
271
|
estimatedTime?: string | undefined;
|
|
271
272
|
riskLevel?: string | undefined;
|
|
272
273
|
};
|
|
273
|
-
reason: string;
|
|
274
274
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
275
275
|
taskId?: string | undefined;
|
|
276
276
|
}, {
|
|
277
|
+
reason: string;
|
|
277
278
|
recommendation: {
|
|
278
279
|
priority: number;
|
|
279
280
|
action: string;
|
|
@@ -296,19 +297,13 @@ export declare const agentResultsSchema: z.ZodObject<{
|
|
|
296
297
|
estimatedTime?: string | undefined;
|
|
297
298
|
riskLevel?: string | undefined;
|
|
298
299
|
};
|
|
299
|
-
reason: string;
|
|
300
300
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
301
301
|
taskId?: string | undefined;
|
|
302
302
|
}>, "many">;
|
|
303
303
|
taskReview: z.ZodOptional<z.ZodAny>;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
summary: {
|
|
306
|
-
tasksCreated: number;
|
|
307
|
-
tasksUpdated: number;
|
|
308
|
-
skipped: number;
|
|
309
|
-
sourceType: string;
|
|
310
|
-
};
|
|
311
305
|
results: {
|
|
306
|
+
reason: string;
|
|
312
307
|
recommendation: {
|
|
313
308
|
priority: number;
|
|
314
309
|
action: string;
|
|
@@ -331,19 +326,19 @@ export declare const agentResultsSchema: z.ZodObject<{
|
|
|
331
326
|
estimatedTime?: string | undefined;
|
|
332
327
|
riskLevel?: string | undefined;
|
|
333
328
|
};
|
|
334
|
-
reason: string;
|
|
335
329
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
336
330
|
taskId?: string | undefined;
|
|
337
331
|
}[];
|
|
338
|
-
taskReview?: any;
|
|
339
|
-
}, {
|
|
340
332
|
summary: {
|
|
341
333
|
tasksCreated: number;
|
|
342
334
|
tasksUpdated: number;
|
|
343
335
|
skipped: number;
|
|
344
336
|
sourceType: string;
|
|
345
337
|
};
|
|
338
|
+
taskReview?: any;
|
|
339
|
+
}, {
|
|
346
340
|
results: {
|
|
341
|
+
reason: string;
|
|
347
342
|
recommendation: {
|
|
348
343
|
priority: number;
|
|
349
344
|
action: string;
|
|
@@ -366,10 +361,15 @@ export declare const agentResultsSchema: z.ZodObject<{
|
|
|
366
361
|
estimatedTime?: string | undefined;
|
|
367
362
|
riskLevel?: string | undefined;
|
|
368
363
|
};
|
|
369
|
-
reason: string;
|
|
370
364
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
371
365
|
taskId?: string | undefined;
|
|
372
366
|
}[];
|
|
367
|
+
summary: {
|
|
368
|
+
tasksCreated: number;
|
|
369
|
+
tasksUpdated: number;
|
|
370
|
+
skipped: number;
|
|
371
|
+
sourceType: string;
|
|
372
|
+
};
|
|
373
373
|
taskReview?: any;
|
|
374
374
|
}>;
|
|
375
375
|
export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
@@ -482,6 +482,7 @@ export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
|
482
482
|
taskId: z.ZodOptional<z.ZodString>;
|
|
483
483
|
reason: z.ZodString;
|
|
484
484
|
}, "strip", z.ZodTypeAny, {
|
|
485
|
+
reason: string;
|
|
485
486
|
recommendation: {
|
|
486
487
|
priority: number;
|
|
487
488
|
action: string;
|
|
@@ -504,10 +505,10 @@ export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
|
504
505
|
estimatedTime?: string | undefined;
|
|
505
506
|
riskLevel?: string | undefined;
|
|
506
507
|
};
|
|
507
|
-
reason: string;
|
|
508
508
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
509
509
|
taskId?: string | undefined;
|
|
510
510
|
}, {
|
|
511
|
+
reason: string;
|
|
511
512
|
recommendation: {
|
|
512
513
|
priority: number;
|
|
513
514
|
action: string;
|
|
@@ -530,19 +531,13 @@ export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
|
530
531
|
estimatedTime?: string | undefined;
|
|
531
532
|
riskLevel?: string | undefined;
|
|
532
533
|
};
|
|
533
|
-
reason: string;
|
|
534
534
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
535
535
|
taskId?: string | undefined;
|
|
536
536
|
}>, "many">;
|
|
537
537
|
taskReview: z.ZodOptional<z.ZodAny>;
|
|
538
538
|
}, "strip", z.ZodTypeAny, {
|
|
539
|
-
summary: {
|
|
540
|
-
tasksCreated: number;
|
|
541
|
-
tasksUpdated: number;
|
|
542
|
-
skipped: number;
|
|
543
|
-
sourceType: string;
|
|
544
|
-
};
|
|
545
539
|
results: {
|
|
540
|
+
reason: string;
|
|
546
541
|
recommendation: {
|
|
547
542
|
priority: number;
|
|
548
543
|
action: string;
|
|
@@ -565,19 +560,19 @@ export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
|
565
560
|
estimatedTime?: string | undefined;
|
|
566
561
|
riskLevel?: string | undefined;
|
|
567
562
|
};
|
|
568
|
-
reason: string;
|
|
569
563
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
570
564
|
taskId?: string | undefined;
|
|
571
565
|
}[];
|
|
572
|
-
taskReview?: any;
|
|
573
|
-
}, {
|
|
574
566
|
summary: {
|
|
575
567
|
tasksCreated: number;
|
|
576
568
|
tasksUpdated: number;
|
|
577
569
|
skipped: number;
|
|
578
570
|
sourceType: string;
|
|
579
571
|
};
|
|
572
|
+
taskReview?: any;
|
|
573
|
+
}, {
|
|
580
574
|
results: {
|
|
575
|
+
reason: string;
|
|
581
576
|
recommendation: {
|
|
582
577
|
priority: number;
|
|
583
578
|
action: string;
|
|
@@ -600,10 +595,15 @@ export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
|
600
595
|
estimatedTime?: string | undefined;
|
|
601
596
|
riskLevel?: string | undefined;
|
|
602
597
|
};
|
|
603
|
-
reason: string;
|
|
604
598
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
605
599
|
taskId?: string | undefined;
|
|
606
600
|
}[];
|
|
601
|
+
summary: {
|
|
602
|
+
tasksCreated: number;
|
|
603
|
+
tasksUpdated: number;
|
|
604
|
+
skipped: number;
|
|
605
|
+
sourceType: string;
|
|
606
|
+
};
|
|
607
607
|
taskReview?: any;
|
|
608
608
|
}>>;
|
|
609
609
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -612,7 +612,7 @@ export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
|
612
612
|
createdAt: z.ZodString;
|
|
613
613
|
updatedAt: z.ZodString;
|
|
614
614
|
}, "strip", z.ZodTypeAny, {
|
|
615
|
-
status: "
|
|
615
|
+
status: "failed" | "completed" | "in_progress";
|
|
616
616
|
createdAt: string;
|
|
617
617
|
updatedAt: string;
|
|
618
618
|
farmId: string;
|
|
@@ -622,13 +622,8 @@ export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
|
622
622
|
triggerEvent: string;
|
|
623
623
|
triggerId: string;
|
|
624
624
|
agentResults: {
|
|
625
|
-
summary: {
|
|
626
|
-
tasksCreated: number;
|
|
627
|
-
tasksUpdated: number;
|
|
628
|
-
skipped: number;
|
|
629
|
-
sourceType: string;
|
|
630
|
-
};
|
|
631
625
|
results: {
|
|
626
|
+
reason: string;
|
|
632
627
|
recommendation: {
|
|
633
628
|
priority: number;
|
|
634
629
|
action: string;
|
|
@@ -651,16 +646,21 @@ export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
|
651
646
|
estimatedTime?: string | undefined;
|
|
652
647
|
riskLevel?: string | undefined;
|
|
653
648
|
};
|
|
654
|
-
reason: string;
|
|
655
649
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
656
650
|
taskId?: string | undefined;
|
|
657
651
|
}[];
|
|
652
|
+
summary: {
|
|
653
|
+
tasksCreated: number;
|
|
654
|
+
tasksUpdated: number;
|
|
655
|
+
skipped: number;
|
|
656
|
+
sourceType: string;
|
|
657
|
+
};
|
|
658
658
|
taskReview?: any;
|
|
659
659
|
} | null;
|
|
660
660
|
errorMessage: string | null;
|
|
661
661
|
completedAt: Date | null;
|
|
662
662
|
}, {
|
|
663
|
-
status: "
|
|
663
|
+
status: "failed" | "completed" | "in_progress";
|
|
664
664
|
createdAt: string;
|
|
665
665
|
updatedAt: string;
|
|
666
666
|
farmId: string;
|
|
@@ -670,13 +670,8 @@ export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
|
670
670
|
triggerEvent: string;
|
|
671
671
|
triggerId: string;
|
|
672
672
|
agentResults: {
|
|
673
|
-
summary: {
|
|
674
|
-
tasksCreated: number;
|
|
675
|
-
tasksUpdated: number;
|
|
676
|
-
skipped: number;
|
|
677
|
-
sourceType: string;
|
|
678
|
-
};
|
|
679
673
|
results: {
|
|
674
|
+
reason: string;
|
|
680
675
|
recommendation: {
|
|
681
676
|
priority: number;
|
|
682
677
|
action: string;
|
|
@@ -699,10 +694,15 @@ export declare const agentWorkflowAttributesSchema: z.ZodObject<{
|
|
|
699
694
|
estimatedTime?: string | undefined;
|
|
700
695
|
riskLevel?: string | undefined;
|
|
701
696
|
};
|
|
702
|
-
reason: string;
|
|
703
697
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
704
698
|
taskId?: string | undefined;
|
|
705
699
|
}[];
|
|
700
|
+
summary: {
|
|
701
|
+
tasksCreated: number;
|
|
702
|
+
tasksUpdated: number;
|
|
703
|
+
skipped: number;
|
|
704
|
+
sourceType: string;
|
|
705
|
+
};
|
|
706
706
|
taskReview?: any;
|
|
707
707
|
} | null;
|
|
708
708
|
errorMessage: string | null;
|
|
@@ -821,6 +821,7 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
821
821
|
taskId: z.ZodOptional<z.ZodString>;
|
|
822
822
|
reason: z.ZodString;
|
|
823
823
|
}, "strip", z.ZodTypeAny, {
|
|
824
|
+
reason: string;
|
|
824
825
|
recommendation: {
|
|
825
826
|
priority: number;
|
|
826
827
|
action: string;
|
|
@@ -843,10 +844,10 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
843
844
|
estimatedTime?: string | undefined;
|
|
844
845
|
riskLevel?: string | undefined;
|
|
845
846
|
};
|
|
846
|
-
reason: string;
|
|
847
847
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
848
848
|
taskId?: string | undefined;
|
|
849
849
|
}, {
|
|
850
|
+
reason: string;
|
|
850
851
|
recommendation: {
|
|
851
852
|
priority: number;
|
|
852
853
|
action: string;
|
|
@@ -869,19 +870,13 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
869
870
|
estimatedTime?: string | undefined;
|
|
870
871
|
riskLevel?: string | undefined;
|
|
871
872
|
};
|
|
872
|
-
reason: string;
|
|
873
873
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
874
874
|
taskId?: string | undefined;
|
|
875
875
|
}>, "many">;
|
|
876
876
|
taskReview: z.ZodOptional<z.ZodAny>;
|
|
877
877
|
}, "strip", z.ZodTypeAny, {
|
|
878
|
-
summary: {
|
|
879
|
-
tasksCreated: number;
|
|
880
|
-
tasksUpdated: number;
|
|
881
|
-
skipped: number;
|
|
882
|
-
sourceType: string;
|
|
883
|
-
};
|
|
884
878
|
results: {
|
|
879
|
+
reason: string;
|
|
885
880
|
recommendation: {
|
|
886
881
|
priority: number;
|
|
887
882
|
action: string;
|
|
@@ -904,19 +899,19 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
904
899
|
estimatedTime?: string | undefined;
|
|
905
900
|
riskLevel?: string | undefined;
|
|
906
901
|
};
|
|
907
|
-
reason: string;
|
|
908
902
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
909
903
|
taskId?: string | undefined;
|
|
910
904
|
}[];
|
|
911
|
-
taskReview?: any;
|
|
912
|
-
}, {
|
|
913
905
|
summary: {
|
|
914
906
|
tasksCreated: number;
|
|
915
907
|
tasksUpdated: number;
|
|
916
908
|
skipped: number;
|
|
917
909
|
sourceType: string;
|
|
918
910
|
};
|
|
911
|
+
taskReview?: any;
|
|
912
|
+
}, {
|
|
919
913
|
results: {
|
|
914
|
+
reason: string;
|
|
920
915
|
recommendation: {
|
|
921
916
|
priority: number;
|
|
922
917
|
action: string;
|
|
@@ -939,10 +934,15 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
939
934
|
estimatedTime?: string | undefined;
|
|
940
935
|
riskLevel?: string | undefined;
|
|
941
936
|
};
|
|
942
|
-
reason: string;
|
|
943
937
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
944
938
|
taskId?: string | undefined;
|
|
945
939
|
}[];
|
|
940
|
+
summary: {
|
|
941
|
+
tasksCreated: number;
|
|
942
|
+
tasksUpdated: number;
|
|
943
|
+
skipped: number;
|
|
944
|
+
sourceType: string;
|
|
945
|
+
};
|
|
946
946
|
taskReview?: any;
|
|
947
947
|
}>>;
|
|
948
948
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -951,7 +951,7 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
951
951
|
createdAt: z.ZodString;
|
|
952
952
|
updatedAt: z.ZodString;
|
|
953
953
|
}, "strip", z.ZodTypeAny, {
|
|
954
|
-
status: "
|
|
954
|
+
status: "failed" | "completed" | "in_progress";
|
|
955
955
|
createdAt: string;
|
|
956
956
|
updatedAt: string;
|
|
957
957
|
farmId: string;
|
|
@@ -961,13 +961,8 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
961
961
|
triggerEvent: string;
|
|
962
962
|
triggerId: string;
|
|
963
963
|
agentResults: {
|
|
964
|
-
summary: {
|
|
965
|
-
tasksCreated: number;
|
|
966
|
-
tasksUpdated: number;
|
|
967
|
-
skipped: number;
|
|
968
|
-
sourceType: string;
|
|
969
|
-
};
|
|
970
964
|
results: {
|
|
965
|
+
reason: string;
|
|
971
966
|
recommendation: {
|
|
972
967
|
priority: number;
|
|
973
968
|
action: string;
|
|
@@ -990,16 +985,21 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
990
985
|
estimatedTime?: string | undefined;
|
|
991
986
|
riskLevel?: string | undefined;
|
|
992
987
|
};
|
|
993
|
-
reason: string;
|
|
994
988
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
995
989
|
taskId?: string | undefined;
|
|
996
990
|
}[];
|
|
991
|
+
summary: {
|
|
992
|
+
tasksCreated: number;
|
|
993
|
+
tasksUpdated: number;
|
|
994
|
+
skipped: number;
|
|
995
|
+
sourceType: string;
|
|
996
|
+
};
|
|
997
997
|
taskReview?: any;
|
|
998
998
|
} | null;
|
|
999
999
|
errorMessage: string | null;
|
|
1000
1000
|
completedAt: Date | null;
|
|
1001
1001
|
}, {
|
|
1002
|
-
status: "
|
|
1002
|
+
status: "failed" | "completed" | "in_progress";
|
|
1003
1003
|
createdAt: string;
|
|
1004
1004
|
updatedAt: string;
|
|
1005
1005
|
farmId: string;
|
|
@@ -1009,13 +1009,8 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
1009
1009
|
triggerEvent: string;
|
|
1010
1010
|
triggerId: string;
|
|
1011
1011
|
agentResults: {
|
|
1012
|
-
summary: {
|
|
1013
|
-
tasksCreated: number;
|
|
1014
|
-
tasksUpdated: number;
|
|
1015
|
-
skipped: number;
|
|
1016
|
-
sourceType: string;
|
|
1017
|
-
};
|
|
1018
1012
|
results: {
|
|
1013
|
+
reason: string;
|
|
1019
1014
|
recommendation: {
|
|
1020
1015
|
priority: number;
|
|
1021
1016
|
action: string;
|
|
@@ -1038,10 +1033,15 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
1038
1033
|
estimatedTime?: string | undefined;
|
|
1039
1034
|
riskLevel?: string | undefined;
|
|
1040
1035
|
};
|
|
1041
|
-
reason: string;
|
|
1042
1036
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1043
1037
|
taskId?: string | undefined;
|
|
1044
1038
|
}[];
|
|
1039
|
+
summary: {
|
|
1040
|
+
tasksCreated: number;
|
|
1041
|
+
tasksUpdated: number;
|
|
1042
|
+
skipped: number;
|
|
1043
|
+
sourceType: string;
|
|
1044
|
+
};
|
|
1045
1045
|
taskReview?: any;
|
|
1046
1046
|
} | null;
|
|
1047
1047
|
errorMessage: string | null;
|
|
@@ -1054,7 +1054,7 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
1054
1054
|
type: string;
|
|
1055
1055
|
id: string;
|
|
1056
1056
|
attributes: {
|
|
1057
|
-
status: "
|
|
1057
|
+
status: "failed" | "completed" | "in_progress";
|
|
1058
1058
|
createdAt: string;
|
|
1059
1059
|
updatedAt: string;
|
|
1060
1060
|
farmId: string;
|
|
@@ -1064,13 +1064,8 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
1064
1064
|
triggerEvent: string;
|
|
1065
1065
|
triggerId: string;
|
|
1066
1066
|
agentResults: {
|
|
1067
|
-
summary: {
|
|
1068
|
-
tasksCreated: number;
|
|
1069
|
-
tasksUpdated: number;
|
|
1070
|
-
skipped: number;
|
|
1071
|
-
sourceType: string;
|
|
1072
|
-
};
|
|
1073
1067
|
results: {
|
|
1068
|
+
reason: string;
|
|
1074
1069
|
recommendation: {
|
|
1075
1070
|
priority: number;
|
|
1076
1071
|
action: string;
|
|
@@ -1093,10 +1088,15 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
1093
1088
|
estimatedTime?: string | undefined;
|
|
1094
1089
|
riskLevel?: string | undefined;
|
|
1095
1090
|
};
|
|
1096
|
-
reason: string;
|
|
1097
1091
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1098
1092
|
taskId?: string | undefined;
|
|
1099
1093
|
}[];
|
|
1094
|
+
summary: {
|
|
1095
|
+
tasksCreated: number;
|
|
1096
|
+
tasksUpdated: number;
|
|
1097
|
+
skipped: number;
|
|
1098
|
+
sourceType: string;
|
|
1099
|
+
};
|
|
1100
1100
|
taskReview?: any;
|
|
1101
1101
|
} | null;
|
|
1102
1102
|
errorMessage: string | null;
|
|
@@ -1109,7 +1109,7 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
1109
1109
|
type: string;
|
|
1110
1110
|
id: string;
|
|
1111
1111
|
attributes: {
|
|
1112
|
-
status: "
|
|
1112
|
+
status: "failed" | "completed" | "in_progress";
|
|
1113
1113
|
createdAt: string;
|
|
1114
1114
|
updatedAt: string;
|
|
1115
1115
|
farmId: string;
|
|
@@ -1119,13 +1119,8 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
1119
1119
|
triggerEvent: string;
|
|
1120
1120
|
triggerId: string;
|
|
1121
1121
|
agentResults: {
|
|
1122
|
-
summary: {
|
|
1123
|
-
tasksCreated: number;
|
|
1124
|
-
tasksUpdated: number;
|
|
1125
|
-
skipped: number;
|
|
1126
|
-
sourceType: string;
|
|
1127
|
-
};
|
|
1128
1122
|
results: {
|
|
1123
|
+
reason: string;
|
|
1129
1124
|
recommendation: {
|
|
1130
1125
|
priority: number;
|
|
1131
1126
|
action: string;
|
|
@@ -1148,10 +1143,15 @@ export declare const agentWorkflowResourceSchema: z.ZodObject<{
|
|
|
1148
1143
|
estimatedTime?: string | undefined;
|
|
1149
1144
|
riskLevel?: string | undefined;
|
|
1150
1145
|
};
|
|
1151
|
-
reason: string;
|
|
1152
1146
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1153
1147
|
taskId?: string | undefined;
|
|
1154
1148
|
}[];
|
|
1149
|
+
summary: {
|
|
1150
|
+
tasksCreated: number;
|
|
1151
|
+
tasksUpdated: number;
|
|
1152
|
+
skipped: number;
|
|
1153
|
+
sourceType: string;
|
|
1154
|
+
};
|
|
1155
1155
|
taskReview?: any;
|
|
1156
1156
|
} | null;
|
|
1157
1157
|
errorMessage: string | null;
|
|
@@ -1275,6 +1275,7 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1275
1275
|
taskId: z.ZodOptional<z.ZodString>;
|
|
1276
1276
|
reason: z.ZodString;
|
|
1277
1277
|
}, "strip", z.ZodTypeAny, {
|
|
1278
|
+
reason: string;
|
|
1278
1279
|
recommendation: {
|
|
1279
1280
|
priority: number;
|
|
1280
1281
|
action: string;
|
|
@@ -1297,10 +1298,10 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1297
1298
|
estimatedTime?: string | undefined;
|
|
1298
1299
|
riskLevel?: string | undefined;
|
|
1299
1300
|
};
|
|
1300
|
-
reason: string;
|
|
1301
1301
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1302
1302
|
taskId?: string | undefined;
|
|
1303
1303
|
}, {
|
|
1304
|
+
reason: string;
|
|
1304
1305
|
recommendation: {
|
|
1305
1306
|
priority: number;
|
|
1306
1307
|
action: string;
|
|
@@ -1323,19 +1324,13 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1323
1324
|
estimatedTime?: string | undefined;
|
|
1324
1325
|
riskLevel?: string | undefined;
|
|
1325
1326
|
};
|
|
1326
|
-
reason: string;
|
|
1327
1327
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1328
1328
|
taskId?: string | undefined;
|
|
1329
1329
|
}>, "many">;
|
|
1330
1330
|
taskReview: z.ZodOptional<z.ZodAny>;
|
|
1331
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1332
|
-
summary: {
|
|
1333
|
-
tasksCreated: number;
|
|
1334
|
-
tasksUpdated: number;
|
|
1335
|
-
skipped: number;
|
|
1336
|
-
sourceType: string;
|
|
1337
|
-
};
|
|
1338
1332
|
results: {
|
|
1333
|
+
reason: string;
|
|
1339
1334
|
recommendation: {
|
|
1340
1335
|
priority: number;
|
|
1341
1336
|
action: string;
|
|
@@ -1358,19 +1353,19 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1358
1353
|
estimatedTime?: string | undefined;
|
|
1359
1354
|
riskLevel?: string | undefined;
|
|
1360
1355
|
};
|
|
1361
|
-
reason: string;
|
|
1362
1356
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1363
1357
|
taskId?: string | undefined;
|
|
1364
1358
|
}[];
|
|
1365
|
-
taskReview?: any;
|
|
1366
|
-
}, {
|
|
1367
1359
|
summary: {
|
|
1368
1360
|
tasksCreated: number;
|
|
1369
1361
|
tasksUpdated: number;
|
|
1370
1362
|
skipped: number;
|
|
1371
1363
|
sourceType: string;
|
|
1372
1364
|
};
|
|
1365
|
+
taskReview?: any;
|
|
1366
|
+
}, {
|
|
1373
1367
|
results: {
|
|
1368
|
+
reason: string;
|
|
1374
1369
|
recommendation: {
|
|
1375
1370
|
priority: number;
|
|
1376
1371
|
action: string;
|
|
@@ -1393,10 +1388,15 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1393
1388
|
estimatedTime?: string | undefined;
|
|
1394
1389
|
riskLevel?: string | undefined;
|
|
1395
1390
|
};
|
|
1396
|
-
reason: string;
|
|
1397
1391
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1398
1392
|
taskId?: string | undefined;
|
|
1399
1393
|
}[];
|
|
1394
|
+
summary: {
|
|
1395
|
+
tasksCreated: number;
|
|
1396
|
+
tasksUpdated: number;
|
|
1397
|
+
skipped: number;
|
|
1398
|
+
sourceType: string;
|
|
1399
|
+
};
|
|
1400
1400
|
taskReview?: any;
|
|
1401
1401
|
}>>;
|
|
1402
1402
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -1405,7 +1405,7 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1405
1405
|
createdAt: z.ZodString;
|
|
1406
1406
|
updatedAt: z.ZodString;
|
|
1407
1407
|
}, "strip", z.ZodTypeAny, {
|
|
1408
|
-
status: "
|
|
1408
|
+
status: "failed" | "completed" | "in_progress";
|
|
1409
1409
|
createdAt: string;
|
|
1410
1410
|
updatedAt: string;
|
|
1411
1411
|
farmId: string;
|
|
@@ -1415,13 +1415,8 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1415
1415
|
triggerEvent: string;
|
|
1416
1416
|
triggerId: string;
|
|
1417
1417
|
agentResults: {
|
|
1418
|
-
summary: {
|
|
1419
|
-
tasksCreated: number;
|
|
1420
|
-
tasksUpdated: number;
|
|
1421
|
-
skipped: number;
|
|
1422
|
-
sourceType: string;
|
|
1423
|
-
};
|
|
1424
1418
|
results: {
|
|
1419
|
+
reason: string;
|
|
1425
1420
|
recommendation: {
|
|
1426
1421
|
priority: number;
|
|
1427
1422
|
action: string;
|
|
@@ -1444,16 +1439,21 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1444
1439
|
estimatedTime?: string | undefined;
|
|
1445
1440
|
riskLevel?: string | undefined;
|
|
1446
1441
|
};
|
|
1447
|
-
reason: string;
|
|
1448
1442
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1449
1443
|
taskId?: string | undefined;
|
|
1450
1444
|
}[];
|
|
1445
|
+
summary: {
|
|
1446
|
+
tasksCreated: number;
|
|
1447
|
+
tasksUpdated: number;
|
|
1448
|
+
skipped: number;
|
|
1449
|
+
sourceType: string;
|
|
1450
|
+
};
|
|
1451
1451
|
taskReview?: any;
|
|
1452
1452
|
} | null;
|
|
1453
1453
|
errorMessage: string | null;
|
|
1454
1454
|
completedAt: Date | null;
|
|
1455
1455
|
}, {
|
|
1456
|
-
status: "
|
|
1456
|
+
status: "failed" | "completed" | "in_progress";
|
|
1457
1457
|
createdAt: string;
|
|
1458
1458
|
updatedAt: string;
|
|
1459
1459
|
farmId: string;
|
|
@@ -1463,13 +1463,8 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1463
1463
|
triggerEvent: string;
|
|
1464
1464
|
triggerId: string;
|
|
1465
1465
|
agentResults: {
|
|
1466
|
-
summary: {
|
|
1467
|
-
tasksCreated: number;
|
|
1468
|
-
tasksUpdated: number;
|
|
1469
|
-
skipped: number;
|
|
1470
|
-
sourceType: string;
|
|
1471
|
-
};
|
|
1472
1466
|
results: {
|
|
1467
|
+
reason: string;
|
|
1473
1468
|
recommendation: {
|
|
1474
1469
|
priority: number;
|
|
1475
1470
|
action: string;
|
|
@@ -1492,10 +1487,15 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1492
1487
|
estimatedTime?: string | undefined;
|
|
1493
1488
|
riskLevel?: string | undefined;
|
|
1494
1489
|
};
|
|
1495
|
-
reason: string;
|
|
1496
1490
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1497
1491
|
taskId?: string | undefined;
|
|
1498
1492
|
}[];
|
|
1493
|
+
summary: {
|
|
1494
|
+
tasksCreated: number;
|
|
1495
|
+
tasksUpdated: number;
|
|
1496
|
+
skipped: number;
|
|
1497
|
+
sourceType: string;
|
|
1498
|
+
};
|
|
1499
1499
|
taskReview?: any;
|
|
1500
1500
|
} | null;
|
|
1501
1501
|
errorMessage: string | null;
|
|
@@ -1508,7 +1508,7 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1508
1508
|
type: string;
|
|
1509
1509
|
id: string;
|
|
1510
1510
|
attributes: {
|
|
1511
|
-
status: "
|
|
1511
|
+
status: "failed" | "completed" | "in_progress";
|
|
1512
1512
|
createdAt: string;
|
|
1513
1513
|
updatedAt: string;
|
|
1514
1514
|
farmId: string;
|
|
@@ -1518,13 +1518,8 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1518
1518
|
triggerEvent: string;
|
|
1519
1519
|
triggerId: string;
|
|
1520
1520
|
agentResults: {
|
|
1521
|
-
summary: {
|
|
1522
|
-
tasksCreated: number;
|
|
1523
|
-
tasksUpdated: number;
|
|
1524
|
-
skipped: number;
|
|
1525
|
-
sourceType: string;
|
|
1526
|
-
};
|
|
1527
1521
|
results: {
|
|
1522
|
+
reason: string;
|
|
1528
1523
|
recommendation: {
|
|
1529
1524
|
priority: number;
|
|
1530
1525
|
action: string;
|
|
@@ -1547,10 +1542,15 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1547
1542
|
estimatedTime?: string | undefined;
|
|
1548
1543
|
riskLevel?: string | undefined;
|
|
1549
1544
|
};
|
|
1550
|
-
reason: string;
|
|
1551
1545
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1552
1546
|
taskId?: string | undefined;
|
|
1553
1547
|
}[];
|
|
1548
|
+
summary: {
|
|
1549
|
+
tasksCreated: number;
|
|
1550
|
+
tasksUpdated: number;
|
|
1551
|
+
skipped: number;
|
|
1552
|
+
sourceType: string;
|
|
1553
|
+
};
|
|
1554
1554
|
taskReview?: any;
|
|
1555
1555
|
} | null;
|
|
1556
1556
|
errorMessage: string | null;
|
|
@@ -1563,7 +1563,7 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1563
1563
|
type: string;
|
|
1564
1564
|
id: string;
|
|
1565
1565
|
attributes: {
|
|
1566
|
-
status: "
|
|
1566
|
+
status: "failed" | "completed" | "in_progress";
|
|
1567
1567
|
createdAt: string;
|
|
1568
1568
|
updatedAt: string;
|
|
1569
1569
|
farmId: string;
|
|
@@ -1573,13 +1573,8 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1573
1573
|
triggerEvent: string;
|
|
1574
1574
|
triggerId: string;
|
|
1575
1575
|
agentResults: {
|
|
1576
|
-
summary: {
|
|
1577
|
-
tasksCreated: number;
|
|
1578
|
-
tasksUpdated: number;
|
|
1579
|
-
skipped: number;
|
|
1580
|
-
sourceType: string;
|
|
1581
|
-
};
|
|
1582
1576
|
results: {
|
|
1577
|
+
reason: string;
|
|
1583
1578
|
recommendation: {
|
|
1584
1579
|
priority: number;
|
|
1585
1580
|
action: string;
|
|
@@ -1602,10 +1597,15 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1602
1597
|
estimatedTime?: string | undefined;
|
|
1603
1598
|
riskLevel?: string | undefined;
|
|
1604
1599
|
};
|
|
1605
|
-
reason: string;
|
|
1606
1600
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1607
1601
|
taskId?: string | undefined;
|
|
1608
1602
|
}[];
|
|
1603
|
+
summary: {
|
|
1604
|
+
tasksCreated: number;
|
|
1605
|
+
tasksUpdated: number;
|
|
1606
|
+
skipped: number;
|
|
1607
|
+
sourceType: string;
|
|
1608
|
+
};
|
|
1609
1609
|
taskReview?: any;
|
|
1610
1610
|
} | null;
|
|
1611
1611
|
errorMessage: string | null;
|
|
@@ -1644,7 +1644,7 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1644
1644
|
type: string;
|
|
1645
1645
|
id: string;
|
|
1646
1646
|
attributes: {
|
|
1647
|
-
status: "
|
|
1647
|
+
status: "failed" | "completed" | "in_progress";
|
|
1648
1648
|
createdAt: string;
|
|
1649
1649
|
updatedAt: string;
|
|
1650
1650
|
farmId: string;
|
|
@@ -1654,13 +1654,8 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1654
1654
|
triggerEvent: string;
|
|
1655
1655
|
triggerId: string;
|
|
1656
1656
|
agentResults: {
|
|
1657
|
-
summary: {
|
|
1658
|
-
tasksCreated: number;
|
|
1659
|
-
tasksUpdated: number;
|
|
1660
|
-
skipped: number;
|
|
1661
|
-
sourceType: string;
|
|
1662
|
-
};
|
|
1663
1657
|
results: {
|
|
1658
|
+
reason: string;
|
|
1664
1659
|
recommendation: {
|
|
1665
1660
|
priority: number;
|
|
1666
1661
|
action: string;
|
|
@@ -1683,10 +1678,15 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1683
1678
|
estimatedTime?: string | undefined;
|
|
1684
1679
|
riskLevel?: string | undefined;
|
|
1685
1680
|
};
|
|
1686
|
-
reason: string;
|
|
1687
1681
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1688
1682
|
taskId?: string | undefined;
|
|
1689
1683
|
}[];
|
|
1684
|
+
summary: {
|
|
1685
|
+
tasksCreated: number;
|
|
1686
|
+
tasksUpdated: number;
|
|
1687
|
+
skipped: number;
|
|
1688
|
+
sourceType: string;
|
|
1689
|
+
};
|
|
1690
1690
|
taskReview?: any;
|
|
1691
1691
|
} | null;
|
|
1692
1692
|
errorMessage: string | null;
|
|
@@ -1711,7 +1711,7 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1711
1711
|
type: string;
|
|
1712
1712
|
id: string;
|
|
1713
1713
|
attributes: {
|
|
1714
|
-
status: "
|
|
1714
|
+
status: "failed" | "completed" | "in_progress";
|
|
1715
1715
|
createdAt: string;
|
|
1716
1716
|
updatedAt: string;
|
|
1717
1717
|
farmId: string;
|
|
@@ -1721,13 +1721,8 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1721
1721
|
triggerEvent: string;
|
|
1722
1722
|
triggerId: string;
|
|
1723
1723
|
agentResults: {
|
|
1724
|
-
summary: {
|
|
1725
|
-
tasksCreated: number;
|
|
1726
|
-
tasksUpdated: number;
|
|
1727
|
-
skipped: number;
|
|
1728
|
-
sourceType: string;
|
|
1729
|
-
};
|
|
1730
1724
|
results: {
|
|
1725
|
+
reason: string;
|
|
1731
1726
|
recommendation: {
|
|
1732
1727
|
priority: number;
|
|
1733
1728
|
action: string;
|
|
@@ -1750,10 +1745,15 @@ export declare const agentWorkflowResponseSchema: z.ZodObject<{
|
|
|
1750
1745
|
estimatedTime?: string | undefined;
|
|
1751
1746
|
riskLevel?: string | undefined;
|
|
1752
1747
|
};
|
|
1753
|
-
reason: string;
|
|
1754
1748
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1755
1749
|
taskId?: string | undefined;
|
|
1756
1750
|
}[];
|
|
1751
|
+
summary: {
|
|
1752
|
+
tasksCreated: number;
|
|
1753
|
+
tasksUpdated: number;
|
|
1754
|
+
skipped: number;
|
|
1755
|
+
sourceType: string;
|
|
1756
|
+
};
|
|
1757
1757
|
taskReview?: any;
|
|
1758
1758
|
} | null;
|
|
1759
1759
|
errorMessage: string | null;
|
|
@@ -1888,6 +1888,7 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
1888
1888
|
taskId: z.ZodOptional<z.ZodString>;
|
|
1889
1889
|
reason: z.ZodString;
|
|
1890
1890
|
}, "strip", z.ZodTypeAny, {
|
|
1891
|
+
reason: string;
|
|
1891
1892
|
recommendation: {
|
|
1892
1893
|
priority: number;
|
|
1893
1894
|
action: string;
|
|
@@ -1910,10 +1911,10 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
1910
1911
|
estimatedTime?: string | undefined;
|
|
1911
1912
|
riskLevel?: string | undefined;
|
|
1912
1913
|
};
|
|
1913
|
-
reason: string;
|
|
1914
1914
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1915
1915
|
taskId?: string | undefined;
|
|
1916
1916
|
}, {
|
|
1917
|
+
reason: string;
|
|
1917
1918
|
recommendation: {
|
|
1918
1919
|
priority: number;
|
|
1919
1920
|
action: string;
|
|
@@ -1936,19 +1937,13 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
1936
1937
|
estimatedTime?: string | undefined;
|
|
1937
1938
|
riskLevel?: string | undefined;
|
|
1938
1939
|
};
|
|
1939
|
-
reason: string;
|
|
1940
1940
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1941
1941
|
taskId?: string | undefined;
|
|
1942
1942
|
}>, "many">;
|
|
1943
1943
|
taskReview: z.ZodOptional<z.ZodAny>;
|
|
1944
1944
|
}, "strip", z.ZodTypeAny, {
|
|
1945
|
-
summary: {
|
|
1946
|
-
tasksCreated: number;
|
|
1947
|
-
tasksUpdated: number;
|
|
1948
|
-
skipped: number;
|
|
1949
|
-
sourceType: string;
|
|
1950
|
-
};
|
|
1951
1945
|
results: {
|
|
1946
|
+
reason: string;
|
|
1952
1947
|
recommendation: {
|
|
1953
1948
|
priority: number;
|
|
1954
1949
|
action: string;
|
|
@@ -1971,19 +1966,19 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
1971
1966
|
estimatedTime?: string | undefined;
|
|
1972
1967
|
riskLevel?: string | undefined;
|
|
1973
1968
|
};
|
|
1974
|
-
reason: string;
|
|
1975
1969
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
1976
1970
|
taskId?: string | undefined;
|
|
1977
1971
|
}[];
|
|
1978
|
-
taskReview?: any;
|
|
1979
|
-
}, {
|
|
1980
1972
|
summary: {
|
|
1981
1973
|
tasksCreated: number;
|
|
1982
1974
|
tasksUpdated: number;
|
|
1983
1975
|
skipped: number;
|
|
1984
1976
|
sourceType: string;
|
|
1985
1977
|
};
|
|
1978
|
+
taskReview?: any;
|
|
1979
|
+
}, {
|
|
1986
1980
|
results: {
|
|
1981
|
+
reason: string;
|
|
1987
1982
|
recommendation: {
|
|
1988
1983
|
priority: number;
|
|
1989
1984
|
action: string;
|
|
@@ -2006,10 +2001,15 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2006
2001
|
estimatedTime?: string | undefined;
|
|
2007
2002
|
riskLevel?: string | undefined;
|
|
2008
2003
|
};
|
|
2009
|
-
reason: string;
|
|
2010
2004
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
2011
2005
|
taskId?: string | undefined;
|
|
2012
2006
|
}[];
|
|
2007
|
+
summary: {
|
|
2008
|
+
tasksCreated: number;
|
|
2009
|
+
tasksUpdated: number;
|
|
2010
|
+
skipped: number;
|
|
2011
|
+
sourceType: string;
|
|
2012
|
+
};
|
|
2013
2013
|
taskReview?: any;
|
|
2014
2014
|
}>>;
|
|
2015
2015
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -2018,7 +2018,7 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2018
2018
|
createdAt: z.ZodString;
|
|
2019
2019
|
updatedAt: z.ZodString;
|
|
2020
2020
|
}, "strip", z.ZodTypeAny, {
|
|
2021
|
-
status: "
|
|
2021
|
+
status: "failed" | "completed" | "in_progress";
|
|
2022
2022
|
createdAt: string;
|
|
2023
2023
|
updatedAt: string;
|
|
2024
2024
|
farmId: string;
|
|
@@ -2028,13 +2028,8 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2028
2028
|
triggerEvent: string;
|
|
2029
2029
|
triggerId: string;
|
|
2030
2030
|
agentResults: {
|
|
2031
|
-
summary: {
|
|
2032
|
-
tasksCreated: number;
|
|
2033
|
-
tasksUpdated: number;
|
|
2034
|
-
skipped: number;
|
|
2035
|
-
sourceType: string;
|
|
2036
|
-
};
|
|
2037
2031
|
results: {
|
|
2032
|
+
reason: string;
|
|
2038
2033
|
recommendation: {
|
|
2039
2034
|
priority: number;
|
|
2040
2035
|
action: string;
|
|
@@ -2057,16 +2052,21 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2057
2052
|
estimatedTime?: string | undefined;
|
|
2058
2053
|
riskLevel?: string | undefined;
|
|
2059
2054
|
};
|
|
2060
|
-
reason: string;
|
|
2061
2055
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
2062
2056
|
taskId?: string | undefined;
|
|
2063
2057
|
}[];
|
|
2058
|
+
summary: {
|
|
2059
|
+
tasksCreated: number;
|
|
2060
|
+
tasksUpdated: number;
|
|
2061
|
+
skipped: number;
|
|
2062
|
+
sourceType: string;
|
|
2063
|
+
};
|
|
2064
2064
|
taskReview?: any;
|
|
2065
2065
|
} | null;
|
|
2066
2066
|
errorMessage: string | null;
|
|
2067
2067
|
completedAt: Date | null;
|
|
2068
2068
|
}, {
|
|
2069
|
-
status: "
|
|
2069
|
+
status: "failed" | "completed" | "in_progress";
|
|
2070
2070
|
createdAt: string;
|
|
2071
2071
|
updatedAt: string;
|
|
2072
2072
|
farmId: string;
|
|
@@ -2076,13 +2076,8 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2076
2076
|
triggerEvent: string;
|
|
2077
2077
|
triggerId: string;
|
|
2078
2078
|
agentResults: {
|
|
2079
|
-
summary: {
|
|
2080
|
-
tasksCreated: number;
|
|
2081
|
-
tasksUpdated: number;
|
|
2082
|
-
skipped: number;
|
|
2083
|
-
sourceType: string;
|
|
2084
|
-
};
|
|
2085
2079
|
results: {
|
|
2080
|
+
reason: string;
|
|
2086
2081
|
recommendation: {
|
|
2087
2082
|
priority: number;
|
|
2088
2083
|
action: string;
|
|
@@ -2105,10 +2100,15 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2105
2100
|
estimatedTime?: string | undefined;
|
|
2106
2101
|
riskLevel?: string | undefined;
|
|
2107
2102
|
};
|
|
2108
|
-
reason: string;
|
|
2109
2103
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
2110
2104
|
taskId?: string | undefined;
|
|
2111
2105
|
}[];
|
|
2106
|
+
summary: {
|
|
2107
|
+
tasksCreated: number;
|
|
2108
|
+
tasksUpdated: number;
|
|
2109
|
+
skipped: number;
|
|
2110
|
+
sourceType: string;
|
|
2111
|
+
};
|
|
2112
2112
|
taskReview?: any;
|
|
2113
2113
|
} | null;
|
|
2114
2114
|
errorMessage: string | null;
|
|
@@ -2121,7 +2121,7 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2121
2121
|
type: string;
|
|
2122
2122
|
id: string;
|
|
2123
2123
|
attributes: {
|
|
2124
|
-
status: "
|
|
2124
|
+
status: "failed" | "completed" | "in_progress";
|
|
2125
2125
|
createdAt: string;
|
|
2126
2126
|
updatedAt: string;
|
|
2127
2127
|
farmId: string;
|
|
@@ -2131,13 +2131,8 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2131
2131
|
triggerEvent: string;
|
|
2132
2132
|
triggerId: string;
|
|
2133
2133
|
agentResults: {
|
|
2134
|
-
summary: {
|
|
2135
|
-
tasksCreated: number;
|
|
2136
|
-
tasksUpdated: number;
|
|
2137
|
-
skipped: number;
|
|
2138
|
-
sourceType: string;
|
|
2139
|
-
};
|
|
2140
2134
|
results: {
|
|
2135
|
+
reason: string;
|
|
2141
2136
|
recommendation: {
|
|
2142
2137
|
priority: number;
|
|
2143
2138
|
action: string;
|
|
@@ -2160,10 +2155,15 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2160
2155
|
estimatedTime?: string | undefined;
|
|
2161
2156
|
riskLevel?: string | undefined;
|
|
2162
2157
|
};
|
|
2163
|
-
reason: string;
|
|
2164
2158
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
2165
2159
|
taskId?: string | undefined;
|
|
2166
2160
|
}[];
|
|
2161
|
+
summary: {
|
|
2162
|
+
tasksCreated: number;
|
|
2163
|
+
tasksUpdated: number;
|
|
2164
|
+
skipped: number;
|
|
2165
|
+
sourceType: string;
|
|
2166
|
+
};
|
|
2167
2167
|
taskReview?: any;
|
|
2168
2168
|
} | null;
|
|
2169
2169
|
errorMessage: string | null;
|
|
@@ -2176,7 +2176,7 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2176
2176
|
type: string;
|
|
2177
2177
|
id: string;
|
|
2178
2178
|
attributes: {
|
|
2179
|
-
status: "
|
|
2179
|
+
status: "failed" | "completed" | "in_progress";
|
|
2180
2180
|
createdAt: string;
|
|
2181
2181
|
updatedAt: string;
|
|
2182
2182
|
farmId: string;
|
|
@@ -2186,13 +2186,8 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2186
2186
|
triggerEvent: string;
|
|
2187
2187
|
triggerId: string;
|
|
2188
2188
|
agentResults: {
|
|
2189
|
-
summary: {
|
|
2190
|
-
tasksCreated: number;
|
|
2191
|
-
tasksUpdated: number;
|
|
2192
|
-
skipped: number;
|
|
2193
|
-
sourceType: string;
|
|
2194
|
-
};
|
|
2195
2189
|
results: {
|
|
2190
|
+
reason: string;
|
|
2196
2191
|
recommendation: {
|
|
2197
2192
|
priority: number;
|
|
2198
2193
|
action: string;
|
|
@@ -2215,10 +2210,15 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2215
2210
|
estimatedTime?: string | undefined;
|
|
2216
2211
|
riskLevel?: string | undefined;
|
|
2217
2212
|
};
|
|
2218
|
-
reason: string;
|
|
2219
2213
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
2220
2214
|
taskId?: string | undefined;
|
|
2221
2215
|
}[];
|
|
2216
|
+
summary: {
|
|
2217
|
+
tasksCreated: number;
|
|
2218
|
+
tasksUpdated: number;
|
|
2219
|
+
skipped: number;
|
|
2220
|
+
sourceType: string;
|
|
2221
|
+
};
|
|
2222
2222
|
taskReview?: any;
|
|
2223
2223
|
} | null;
|
|
2224
2224
|
errorMessage: string | null;
|
|
@@ -2257,7 +2257,7 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2257
2257
|
type: string;
|
|
2258
2258
|
id: string;
|
|
2259
2259
|
attributes: {
|
|
2260
|
-
status: "
|
|
2260
|
+
status: "failed" | "completed" | "in_progress";
|
|
2261
2261
|
createdAt: string;
|
|
2262
2262
|
updatedAt: string;
|
|
2263
2263
|
farmId: string;
|
|
@@ -2267,13 +2267,8 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2267
2267
|
triggerEvent: string;
|
|
2268
2268
|
triggerId: string;
|
|
2269
2269
|
agentResults: {
|
|
2270
|
-
summary: {
|
|
2271
|
-
tasksCreated: number;
|
|
2272
|
-
tasksUpdated: number;
|
|
2273
|
-
skipped: number;
|
|
2274
|
-
sourceType: string;
|
|
2275
|
-
};
|
|
2276
2270
|
results: {
|
|
2271
|
+
reason: string;
|
|
2277
2272
|
recommendation: {
|
|
2278
2273
|
priority: number;
|
|
2279
2274
|
action: string;
|
|
@@ -2296,10 +2291,15 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2296
2291
|
estimatedTime?: string | undefined;
|
|
2297
2292
|
riskLevel?: string | undefined;
|
|
2298
2293
|
};
|
|
2299
|
-
reason: string;
|
|
2300
2294
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
2301
2295
|
taskId?: string | undefined;
|
|
2302
2296
|
}[];
|
|
2297
|
+
summary: {
|
|
2298
|
+
tasksCreated: number;
|
|
2299
|
+
tasksUpdated: number;
|
|
2300
|
+
skipped: number;
|
|
2301
|
+
sourceType: string;
|
|
2302
|
+
};
|
|
2303
2303
|
taskReview?: any;
|
|
2304
2304
|
} | null;
|
|
2305
2305
|
errorMessage: string | null;
|
|
@@ -2324,7 +2324,7 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2324
2324
|
type: string;
|
|
2325
2325
|
id: string;
|
|
2326
2326
|
attributes: {
|
|
2327
|
-
status: "
|
|
2327
|
+
status: "failed" | "completed" | "in_progress";
|
|
2328
2328
|
createdAt: string;
|
|
2329
2329
|
updatedAt: string;
|
|
2330
2330
|
farmId: string;
|
|
@@ -2334,13 +2334,8 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2334
2334
|
triggerEvent: string;
|
|
2335
2335
|
triggerId: string;
|
|
2336
2336
|
agentResults: {
|
|
2337
|
-
summary: {
|
|
2338
|
-
tasksCreated: number;
|
|
2339
|
-
tasksUpdated: number;
|
|
2340
|
-
skipped: number;
|
|
2341
|
-
sourceType: string;
|
|
2342
|
-
};
|
|
2343
2337
|
results: {
|
|
2338
|
+
reason: string;
|
|
2344
2339
|
recommendation: {
|
|
2345
2340
|
priority: number;
|
|
2346
2341
|
action: string;
|
|
@@ -2363,10 +2358,15 @@ export declare const agentWorkflowListResponseSchema: z.ZodObject<{
|
|
|
2363
2358
|
estimatedTime?: string | undefined;
|
|
2364
2359
|
riskLevel?: string | undefined;
|
|
2365
2360
|
};
|
|
2366
|
-
reason: string;
|
|
2367
2361
|
outcome: "skipped" | "error" | "created" | "updated";
|
|
2368
2362
|
taskId?: string | undefined;
|
|
2369
2363
|
}[];
|
|
2364
|
+
summary: {
|
|
2365
|
+
tasksCreated: number;
|
|
2366
|
+
tasksUpdated: number;
|
|
2367
|
+
skipped: number;
|
|
2368
|
+
sourceType: string;
|
|
2369
|
+
};
|
|
2370
2370
|
taskReview?: any;
|
|
2371
2371
|
} | null;
|
|
2372
2372
|
errorMessage: string | null;
|