@deepintel-ltd/farmpro-contracts 1.7.19 → 1.7.21

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 (84) hide show
  1. package/dist/index.d.ts +18 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +17 -0
  4. package/dist/routes/agents.routes.d.ts +6 -6
  5. package/dist/routes/commodity-deals.routes.d.ts +2702 -0
  6. package/dist/routes/commodity-deals.routes.d.ts.map +1 -0
  7. package/dist/routes/commodity-deals.routes.js +83 -0
  8. package/dist/routes/cooperative.routes.d.ts +1327 -0
  9. package/dist/routes/cooperative.routes.d.ts.map +1 -0
  10. package/dist/routes/cooperative.routes.js +47 -0
  11. package/dist/routes/extension.routes.d.ts +2431 -0
  12. package/dist/routes/extension.routes.d.ts.map +1 -0
  13. package/dist/routes/extension.routes.js +75 -0
  14. package/dist/routes/farms.routes.d.ts +775 -0
  15. package/dist/routes/farms.routes.d.ts.map +1 -1
  16. package/dist/routes/farms.routes.js +15 -1
  17. package/dist/routes/field-monitoring.routes.d.ts +505 -0
  18. package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
  19. package/dist/routes/field-monitoring.routes.js +23 -1
  20. package/dist/routes/fields.routes.d.ts +156 -155
  21. package/dist/routes/fields.routes.d.ts.map +1 -1
  22. package/dist/routes/index.d.ts +18 -0
  23. package/dist/routes/index.d.ts.map +1 -1
  24. package/dist/routes/index.js +12 -0
  25. package/dist/routes/invoices.routes.d.ts +49 -0
  26. package/dist/routes/invoices.routes.d.ts.map +1 -1
  27. package/dist/routes/live-monitor.routes.d.ts +513 -0
  28. package/dist/routes/live-monitor.routes.d.ts.map +1 -0
  29. package/dist/routes/live-monitor.routes.js +81 -0
  30. package/dist/routes/livestock-map.routes.d.ts +4 -4
  31. package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
  32. package/dist/routes/notifications.routes.d.ts +1350 -0
  33. package/dist/routes/notifications.routes.d.ts.map +1 -0
  34. package/dist/routes/notifications.routes.js +66 -0
  35. package/dist/routes/organizations.routes.d.ts +49 -0
  36. package/dist/routes/organizations.routes.d.ts.map +1 -1
  37. package/dist/routes/team-payments.routes.d.ts +9571 -0
  38. package/dist/routes/team-payments.routes.d.ts.map +1 -0
  39. package/dist/routes/team-payments.routes.js +262 -0
  40. package/dist/routes/waybills.routes.d.ts +42 -0
  41. package/dist/routes/waybills.routes.d.ts.map +1 -1
  42. package/dist/schemas/agents.schemas.d.ts +1 -0
  43. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  44. package/dist/schemas/commodity-deals.schemas.d.ts +1109 -0
  45. package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -0
  46. package/dist/schemas/commodity-deals.schemas.js +82 -0
  47. package/dist/schemas/cooperative.schemas.d.ts +560 -0
  48. package/dist/schemas/cooperative.schemas.d.ts.map +1 -0
  49. package/dist/schemas/cooperative.schemas.js +71 -0
  50. package/dist/schemas/extension.schemas.d.ts +1204 -0
  51. package/dist/schemas/extension.schemas.d.ts.map +1 -0
  52. package/dist/schemas/extension.schemas.js +68 -0
  53. package/dist/schemas/farms.schemas.d.ts +591 -0
  54. package/dist/schemas/farms.schemas.d.ts.map +1 -1
  55. package/dist/schemas/farms.schemas.js +44 -0
  56. package/dist/schemas/field-monitoring.schemas.d.ts +276 -0
  57. package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
  58. package/dist/schemas/field-monitoring.schemas.js +9 -0
  59. package/dist/schemas/field-observations.schemas.d.ts +1 -0
  60. package/dist/schemas/field-observations.schemas.d.ts.map +1 -1
  61. package/dist/schemas/fields.schemas.d.ts +188 -186
  62. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  63. package/dist/schemas/fields.schemas.js +10 -2
  64. package/dist/schemas/invoices.schemas.d.ts +38 -0
  65. package/dist/schemas/invoices.schemas.d.ts.map +1 -1
  66. package/dist/schemas/invoices.schemas.js +2 -0
  67. package/dist/schemas/live-monitor.schemas.d.ts +596 -0
  68. package/dist/schemas/live-monitor.schemas.d.ts.map +1 -0
  69. package/dist/schemas/live-monitor.schemas.js +107 -0
  70. package/dist/schemas/livestock-map.schemas.d.ts +10 -10
  71. package/dist/schemas/monitoring-visualization.schemas.d.ts +4 -4
  72. package/dist/schemas/notifications.schemas.d.ts +464 -0
  73. package/dist/schemas/notifications.schemas.d.ts.map +1 -0
  74. package/dist/schemas/notifications.schemas.js +40 -0
  75. package/dist/schemas/organizations.schemas.d.ts +38 -0
  76. package/dist/schemas/organizations.schemas.d.ts.map +1 -1
  77. package/dist/schemas/organizations.schemas.js +2 -0
  78. package/dist/schemas/team-payments.schemas.d.ts +2604 -0
  79. package/dist/schemas/team-payments.schemas.d.ts.map +1 -0
  80. package/dist/schemas/team-payments.schemas.js +151 -0
  81. package/dist/schemas/waybills.schemas.d.ts +48 -0
  82. package/dist/schemas/waybills.schemas.d.ts.map +1 -1
  83. package/dist/schemas/waybills.schemas.js +3 -0
  84. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"farms.routes.d.ts","sourceRoot":"","sources":["../../src/routes/farms.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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Schema, farmListResponseSchema, } from '../schemas/farms.schemas';
3
+ import { createFarmSchema, updateFarmSchema, farmResponseSchema, farmDetailResponseSchema, farmListResponseSchema, farmOnboardingInputSchema, farmOnboardingResponseSchema, } from '../schemas/farms.schemas';
4
4
  import { jsonApiErrorResponseSchema, jsonApiSuccessResponseSchema, idParamSchema, jsonApiPaginationQuerySchema, jsonApiSortQuerySchema, jsonApiIncludeQuerySchema } from '../schemas/common.schemas';
5
5
  const c = initContract();
6
6
  export const farmsRouter = c.router({
@@ -92,6 +92,20 @@ export const farmsRouter = c.router({
92
92
  summary: 'Update farm',
93
93
  description: 'Update farm information including boundary',
94
94
  },
95
+ // Atomic onboarding: create farm + first field and mark onboarding complete
96
+ completeFarmOnboarding: {
97
+ method: 'POST',
98
+ path: '/farms/onboarding',
99
+ body: z.object({ data: farmOnboardingInputSchema }),
100
+ responses: {
101
+ 201: farmOnboardingResponseSchema,
102
+ 400: jsonApiErrorResponseSchema,
103
+ 401: jsonApiErrorResponseSchema,
104
+ 422: jsonApiErrorResponseSchema,
105
+ },
106
+ summary: 'Complete farm onboarding',
107
+ description: 'Create a farm and first field in one transaction, then mark user onboarding complete.',
108
+ },
95
109
  // Delete farm
96
110
  deleteFarm: {
97
111
  method: 'DELETE',
@@ -227,6 +227,8 @@ export declare const fieldMonitoringRouter: {
227
227
  status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
228
228
  acknowledgedAt: z.ZodNullable<z.ZodString>;
229
229
  acknowledgedBy: z.ZodNullable<z.ZodString>;
230
+ readAt: z.ZodNullable<z.ZodString>;
231
+ readBy: z.ZodNullable<z.ZodString>;
230
232
  resolvedAt: z.ZodNullable<z.ZodString>;
231
233
  confidence: z.ZodNullable<z.ZodNumber>;
232
234
  generatedBy: z.ZodString;
@@ -265,6 +267,8 @@ export declare const fieldMonitoringRouter: {
265
267
  severity: "critical" | "low" | "medium" | "high";
266
268
  acknowledgedAt: string | null;
267
269
  acknowledgedBy: string | null;
270
+ readAt: string | null;
271
+ readBy: string | null;
268
272
  resolvedAt: string | null;
269
273
  generatedBy: string;
270
274
  fieldName?: string | undefined;
@@ -302,6 +306,8 @@ export declare const fieldMonitoringRouter: {
302
306
  severity: "critical" | "low" | "medium" | "high";
303
307
  acknowledgedAt: string | null;
304
308
  acknowledgedBy: string | null;
309
+ readAt: string | null;
310
+ readBy: string | null;
305
311
  resolvedAt: string | null;
306
312
  generatedBy: string;
307
313
  fieldName?: string | undefined;
@@ -411,6 +417,8 @@ export declare const fieldMonitoringRouter: {
411
417
  status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
412
418
  acknowledgedAt: z.ZodNullable<z.ZodString>;
413
419
  acknowledgedBy: z.ZodNullable<z.ZodString>;
420
+ readAt: z.ZodNullable<z.ZodString>;
421
+ readBy: z.ZodNullable<z.ZodString>;
414
422
  resolvedAt: z.ZodNullable<z.ZodString>;
415
423
  confidence: z.ZodNullable<z.ZodNumber>;
416
424
  generatedBy: z.ZodString;
@@ -449,6 +457,8 @@ export declare const fieldMonitoringRouter: {
449
457
  severity: "critical" | "low" | "medium" | "high";
450
458
  acknowledgedAt: string | null;
451
459
  acknowledgedBy: string | null;
460
+ readAt: string | null;
461
+ readBy: string | null;
452
462
  resolvedAt: string | null;
453
463
  generatedBy: string;
454
464
  fieldName?: string | undefined;
@@ -486,6 +496,8 @@ export declare const fieldMonitoringRouter: {
486
496
  severity: "critical" | "low" | "medium" | "high";
487
497
  acknowledgedAt: string | null;
488
498
  acknowledgedBy: string | null;
499
+ readAt: string | null;
500
+ readBy: string | null;
489
501
  resolvedAt: string | null;
490
502
  generatedBy: string;
491
503
  fieldName?: string | undefined;
@@ -547,6 +559,487 @@ export declare const fieldMonitoringRouter: {
547
559
  }>;
548
560
  };
549
561
  };
562
+ markAlertRead: {
563
+ summary: "Mark an alert as read";
564
+ method: "PATCH";
565
+ body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
566
+ path: "/farms/:farmId/monitoring/alerts/:alertId/read";
567
+ responses: {
568
+ 200: z.ZodObject<{
569
+ id: z.ZodString;
570
+ fieldId: z.ZodString;
571
+ fieldName: z.ZodOptional<z.ZodString>;
572
+ type: z.ZodString;
573
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
574
+ title: z.ZodString;
575
+ message: z.ZodString;
576
+ recommendations: z.ZodNullable<z.ZodArray<z.ZodObject<{
577
+ priority: z.ZodNumber;
578
+ action: z.ZodString;
579
+ details: z.ZodString;
580
+ timing: z.ZodString;
581
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
582
+ confidence: z.ZodOptional<z.ZodNumber>;
583
+ materials: z.ZodOptional<z.ZodArray<z.ZodObject<{
584
+ inventoryItemId: z.ZodOptional<z.ZodString>;
585
+ name: z.ZodString;
586
+ quantity: z.ZodNumber;
587
+ unit: z.ZodString;
588
+ costPerUnit: z.ZodOptional<z.ZodNumber>;
589
+ totalCost: z.ZodOptional<z.ZodNumber>;
590
+ availability: z.ZodOptional<z.ZodString>;
591
+ }, "strip", z.ZodTypeAny, {
592
+ name: string;
593
+ unit: string;
594
+ quantity: number;
595
+ inventoryItemId?: string | undefined;
596
+ totalCost?: number | undefined;
597
+ costPerUnit?: number | undefined;
598
+ availability?: string | undefined;
599
+ }, {
600
+ name: string;
601
+ unit: string;
602
+ quantity: number;
603
+ inventoryItemId?: string | undefined;
604
+ totalCost?: number | undefined;
605
+ costPerUnit?: number | undefined;
606
+ availability?: string | undefined;
607
+ }>, "many">>;
608
+ applicationMethod: z.ZodOptional<z.ZodString>;
609
+ expectedOutcome: z.ZodOptional<z.ZodString>;
610
+ preventiveMeasures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
611
+ estimatedTime: z.ZodOptional<z.ZodString>;
612
+ riskLevel: z.ZodOptional<z.ZodString>;
613
+ }, "strip", z.ZodTypeAny, {
614
+ priority: number;
615
+ action: string;
616
+ details: string;
617
+ timing: string;
618
+ confidence?: number | undefined;
619
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
620
+ materials?: {
621
+ name: string;
622
+ unit: string;
623
+ quantity: number;
624
+ inventoryItemId?: string | undefined;
625
+ totalCost?: number | undefined;
626
+ costPerUnit?: number | undefined;
627
+ availability?: string | undefined;
628
+ }[] | undefined;
629
+ applicationMethod?: string | undefined;
630
+ expectedOutcome?: string | undefined;
631
+ preventiveMeasures?: string[] | undefined;
632
+ estimatedTime?: string | undefined;
633
+ riskLevel?: string | undefined;
634
+ }, {
635
+ priority: number;
636
+ action: string;
637
+ details: string;
638
+ timing: string;
639
+ confidence?: number | undefined;
640
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
641
+ materials?: {
642
+ name: string;
643
+ unit: string;
644
+ quantity: number;
645
+ inventoryItemId?: string | undefined;
646
+ totalCost?: number | undefined;
647
+ costPerUnit?: number | undefined;
648
+ availability?: string | undefined;
649
+ }[] | undefined;
650
+ applicationMethod?: string | undefined;
651
+ expectedOutcome?: string | undefined;
652
+ preventiveMeasures?: string[] | undefined;
653
+ estimatedTime?: string | undefined;
654
+ riskLevel?: string | undefined;
655
+ }>, "many">>;
656
+ status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
657
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
658
+ acknowledgedBy: z.ZodNullable<z.ZodString>;
659
+ readAt: z.ZodNullable<z.ZodString>;
660
+ readBy: z.ZodNullable<z.ZodString>;
661
+ resolvedAt: z.ZodNullable<z.ZodString>;
662
+ confidence: z.ZodNullable<z.ZodNumber>;
663
+ generatedBy: z.ZodString;
664
+ createdAt: z.ZodString;
665
+ }, "strip", z.ZodTypeAny, {
666
+ type: string;
667
+ status: "active" | "acknowledged" | "resolved";
668
+ message: string;
669
+ id: string;
670
+ title: string;
671
+ createdAt: string;
672
+ fieldId: string;
673
+ recommendations: {
674
+ priority: number;
675
+ action: string;
676
+ details: string;
677
+ timing: string;
678
+ confidence?: number | undefined;
679
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
680
+ materials?: {
681
+ name: string;
682
+ unit: string;
683
+ quantity: number;
684
+ inventoryItemId?: string | undefined;
685
+ totalCost?: number | undefined;
686
+ costPerUnit?: number | undefined;
687
+ availability?: string | undefined;
688
+ }[] | undefined;
689
+ applicationMethod?: string | undefined;
690
+ expectedOutcome?: string | undefined;
691
+ preventiveMeasures?: string[] | undefined;
692
+ estimatedTime?: string | undefined;
693
+ riskLevel?: string | undefined;
694
+ }[] | null;
695
+ confidence: number | null;
696
+ severity: "critical" | "low" | "medium" | "high";
697
+ acknowledgedAt: string | null;
698
+ acknowledgedBy: string | null;
699
+ readAt: string | null;
700
+ readBy: string | null;
701
+ resolvedAt: string | null;
702
+ generatedBy: string;
703
+ fieldName?: string | undefined;
704
+ }, {
705
+ type: string;
706
+ status: "active" | "acknowledged" | "resolved";
707
+ message: string;
708
+ id: string;
709
+ title: string;
710
+ createdAt: string;
711
+ fieldId: string;
712
+ recommendations: {
713
+ priority: number;
714
+ action: string;
715
+ details: string;
716
+ timing: string;
717
+ confidence?: number | undefined;
718
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
719
+ materials?: {
720
+ name: string;
721
+ unit: string;
722
+ quantity: number;
723
+ inventoryItemId?: string | undefined;
724
+ totalCost?: number | undefined;
725
+ costPerUnit?: number | undefined;
726
+ availability?: string | undefined;
727
+ }[] | undefined;
728
+ applicationMethod?: string | undefined;
729
+ expectedOutcome?: string | undefined;
730
+ preventiveMeasures?: string[] | undefined;
731
+ estimatedTime?: string | undefined;
732
+ riskLevel?: string | undefined;
733
+ }[] | null;
734
+ confidence: number | null;
735
+ severity: "critical" | "low" | "medium" | "high";
736
+ acknowledgedAt: string | null;
737
+ acknowledgedBy: string | null;
738
+ readAt: string | null;
739
+ readBy: string | null;
740
+ resolvedAt: string | null;
741
+ generatedBy: string;
742
+ fieldName?: string | undefined;
743
+ }>;
744
+ 404: z.ZodObject<{
745
+ message: z.ZodString;
746
+ code: z.ZodOptional<z.ZodString>;
747
+ }, "strip", z.ZodTypeAny, {
748
+ message: string;
749
+ code?: string | undefined;
750
+ }, {
751
+ message: string;
752
+ code?: string | undefined;
753
+ }>;
754
+ };
755
+ };
756
+ bulkMarkAlertsRead: {
757
+ summary: "Mark multiple alerts as read";
758
+ method: "POST";
759
+ body: z.ZodObject<{
760
+ alertIds: z.ZodArray<z.ZodString, "many">;
761
+ }, "strip", z.ZodTypeAny, {
762
+ alertIds: string[];
763
+ }, {
764
+ alertIds: string[];
765
+ }>;
766
+ path: "/farms/:farmId/monitoring/alerts/bulk-read";
767
+ responses: {
768
+ 200: z.ZodObject<{
769
+ updated: z.ZodNumber;
770
+ alerts: z.ZodArray<z.ZodObject<{
771
+ id: z.ZodString;
772
+ fieldId: z.ZodString;
773
+ fieldName: z.ZodOptional<z.ZodString>;
774
+ type: z.ZodString;
775
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
776
+ title: z.ZodString;
777
+ message: z.ZodString;
778
+ recommendations: z.ZodNullable<z.ZodArray<z.ZodObject<{
779
+ priority: z.ZodNumber;
780
+ action: z.ZodString;
781
+ details: z.ZodString;
782
+ timing: z.ZodString;
783
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
784
+ confidence: z.ZodOptional<z.ZodNumber>;
785
+ materials: z.ZodOptional<z.ZodArray<z.ZodObject<{
786
+ inventoryItemId: z.ZodOptional<z.ZodString>;
787
+ name: z.ZodString;
788
+ quantity: z.ZodNumber;
789
+ unit: z.ZodString;
790
+ costPerUnit: z.ZodOptional<z.ZodNumber>;
791
+ totalCost: z.ZodOptional<z.ZodNumber>;
792
+ availability: z.ZodOptional<z.ZodString>;
793
+ }, "strip", z.ZodTypeAny, {
794
+ name: string;
795
+ unit: string;
796
+ quantity: number;
797
+ inventoryItemId?: string | undefined;
798
+ totalCost?: number | undefined;
799
+ costPerUnit?: number | undefined;
800
+ availability?: string | undefined;
801
+ }, {
802
+ name: string;
803
+ unit: string;
804
+ quantity: number;
805
+ inventoryItemId?: string | undefined;
806
+ totalCost?: number | undefined;
807
+ costPerUnit?: number | undefined;
808
+ availability?: string | undefined;
809
+ }>, "many">>;
810
+ applicationMethod: z.ZodOptional<z.ZodString>;
811
+ expectedOutcome: z.ZodOptional<z.ZodString>;
812
+ preventiveMeasures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
813
+ estimatedTime: z.ZodOptional<z.ZodString>;
814
+ riskLevel: z.ZodOptional<z.ZodString>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ priority: number;
817
+ action: string;
818
+ details: string;
819
+ timing: string;
820
+ confidence?: number | undefined;
821
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
822
+ materials?: {
823
+ name: string;
824
+ unit: string;
825
+ quantity: number;
826
+ inventoryItemId?: string | undefined;
827
+ totalCost?: number | undefined;
828
+ costPerUnit?: number | undefined;
829
+ availability?: string | undefined;
830
+ }[] | undefined;
831
+ applicationMethod?: string | undefined;
832
+ expectedOutcome?: string | undefined;
833
+ preventiveMeasures?: string[] | undefined;
834
+ estimatedTime?: string | undefined;
835
+ riskLevel?: string | undefined;
836
+ }, {
837
+ priority: number;
838
+ action: string;
839
+ details: string;
840
+ timing: string;
841
+ confidence?: number | undefined;
842
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
843
+ materials?: {
844
+ name: string;
845
+ unit: string;
846
+ quantity: number;
847
+ inventoryItemId?: string | undefined;
848
+ totalCost?: number | undefined;
849
+ costPerUnit?: number | undefined;
850
+ availability?: string | undefined;
851
+ }[] | undefined;
852
+ applicationMethod?: string | undefined;
853
+ expectedOutcome?: string | undefined;
854
+ preventiveMeasures?: string[] | undefined;
855
+ estimatedTime?: string | undefined;
856
+ riskLevel?: string | undefined;
857
+ }>, "many">>;
858
+ status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
859
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
860
+ acknowledgedBy: z.ZodNullable<z.ZodString>;
861
+ readAt: z.ZodNullable<z.ZodString>;
862
+ readBy: z.ZodNullable<z.ZodString>;
863
+ resolvedAt: z.ZodNullable<z.ZodString>;
864
+ confidence: z.ZodNullable<z.ZodNumber>;
865
+ generatedBy: z.ZodString;
866
+ createdAt: z.ZodString;
867
+ }, "strip", z.ZodTypeAny, {
868
+ type: string;
869
+ status: "active" | "acknowledged" | "resolved";
870
+ message: string;
871
+ id: string;
872
+ title: string;
873
+ createdAt: string;
874
+ fieldId: string;
875
+ recommendations: {
876
+ priority: number;
877
+ action: string;
878
+ details: string;
879
+ timing: string;
880
+ confidence?: number | undefined;
881
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
882
+ materials?: {
883
+ name: string;
884
+ unit: string;
885
+ quantity: number;
886
+ inventoryItemId?: string | undefined;
887
+ totalCost?: number | undefined;
888
+ costPerUnit?: number | undefined;
889
+ availability?: string | undefined;
890
+ }[] | undefined;
891
+ applicationMethod?: string | undefined;
892
+ expectedOutcome?: string | undefined;
893
+ preventiveMeasures?: string[] | undefined;
894
+ estimatedTime?: string | undefined;
895
+ riskLevel?: string | undefined;
896
+ }[] | null;
897
+ confidence: number | null;
898
+ severity: "critical" | "low" | "medium" | "high";
899
+ acknowledgedAt: string | null;
900
+ acknowledgedBy: string | null;
901
+ readAt: string | null;
902
+ readBy: string | null;
903
+ resolvedAt: string | null;
904
+ generatedBy: string;
905
+ fieldName?: string | undefined;
906
+ }, {
907
+ type: string;
908
+ status: "active" | "acknowledged" | "resolved";
909
+ message: string;
910
+ id: string;
911
+ title: string;
912
+ createdAt: string;
913
+ fieldId: string;
914
+ recommendations: {
915
+ priority: number;
916
+ action: string;
917
+ details: string;
918
+ timing: string;
919
+ confidence?: number | undefined;
920
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
921
+ materials?: {
922
+ name: string;
923
+ unit: string;
924
+ quantity: number;
925
+ inventoryItemId?: string | undefined;
926
+ totalCost?: number | undefined;
927
+ costPerUnit?: number | undefined;
928
+ availability?: string | undefined;
929
+ }[] | undefined;
930
+ applicationMethod?: string | undefined;
931
+ expectedOutcome?: string | undefined;
932
+ preventiveMeasures?: string[] | undefined;
933
+ estimatedTime?: string | undefined;
934
+ riskLevel?: string | undefined;
935
+ }[] | null;
936
+ confidence: number | null;
937
+ severity: "critical" | "low" | "medium" | "high";
938
+ acknowledgedAt: string | null;
939
+ acknowledgedBy: string | null;
940
+ readAt: string | null;
941
+ readBy: string | null;
942
+ resolvedAt: string | null;
943
+ generatedBy: string;
944
+ fieldName?: string | undefined;
945
+ }>, "many">;
946
+ }, "strip", z.ZodTypeAny, {
947
+ alerts: {
948
+ type: string;
949
+ status: "active" | "acknowledged" | "resolved";
950
+ message: string;
951
+ id: string;
952
+ title: string;
953
+ createdAt: string;
954
+ fieldId: string;
955
+ recommendations: {
956
+ priority: number;
957
+ action: string;
958
+ details: string;
959
+ timing: string;
960
+ confidence?: number | undefined;
961
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
962
+ materials?: {
963
+ name: string;
964
+ unit: string;
965
+ quantity: number;
966
+ inventoryItemId?: string | undefined;
967
+ totalCost?: number | undefined;
968
+ costPerUnit?: number | undefined;
969
+ availability?: string | undefined;
970
+ }[] | undefined;
971
+ applicationMethod?: string | undefined;
972
+ expectedOutcome?: string | undefined;
973
+ preventiveMeasures?: string[] | undefined;
974
+ estimatedTime?: string | undefined;
975
+ riskLevel?: string | undefined;
976
+ }[] | null;
977
+ confidence: number | null;
978
+ severity: "critical" | "low" | "medium" | "high";
979
+ acknowledgedAt: string | null;
980
+ acknowledgedBy: string | null;
981
+ readAt: string | null;
982
+ readBy: string | null;
983
+ resolvedAt: string | null;
984
+ generatedBy: string;
985
+ fieldName?: string | undefined;
986
+ }[];
987
+ updated: number;
988
+ }, {
989
+ alerts: {
990
+ type: string;
991
+ status: "active" | "acknowledged" | "resolved";
992
+ message: string;
993
+ id: string;
994
+ title: string;
995
+ createdAt: string;
996
+ fieldId: string;
997
+ recommendations: {
998
+ priority: number;
999
+ action: string;
1000
+ details: string;
1001
+ timing: string;
1002
+ confidence?: number | undefined;
1003
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1004
+ materials?: {
1005
+ name: string;
1006
+ unit: string;
1007
+ quantity: number;
1008
+ inventoryItemId?: string | undefined;
1009
+ totalCost?: number | undefined;
1010
+ costPerUnit?: number | undefined;
1011
+ availability?: string | undefined;
1012
+ }[] | undefined;
1013
+ applicationMethod?: string | undefined;
1014
+ expectedOutcome?: string | undefined;
1015
+ preventiveMeasures?: string[] | undefined;
1016
+ estimatedTime?: string | undefined;
1017
+ riskLevel?: string | undefined;
1018
+ }[] | null;
1019
+ confidence: number | null;
1020
+ severity: "critical" | "low" | "medium" | "high";
1021
+ acknowledgedAt: string | null;
1022
+ acknowledgedBy: string | null;
1023
+ readAt: string | null;
1024
+ readBy: string | null;
1025
+ resolvedAt: string | null;
1026
+ generatedBy: string;
1027
+ fieldName?: string | undefined;
1028
+ }[];
1029
+ updated: number;
1030
+ }>;
1031
+ 404: z.ZodObject<{
1032
+ message: z.ZodString;
1033
+ code: z.ZodOptional<z.ZodString>;
1034
+ }, "strip", z.ZodTypeAny, {
1035
+ message: string;
1036
+ code?: string | undefined;
1037
+ }, {
1038
+ message: string;
1039
+ code?: string | undefined;
1040
+ }>;
1041
+ };
1042
+ };
550
1043
  acknowledgeAlert: {
551
1044
  summary: "Acknowledge an alert";
552
1045
  method: "PATCH";
@@ -644,6 +1137,8 @@ export declare const fieldMonitoringRouter: {
644
1137
  status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
645
1138
  acknowledgedAt: z.ZodNullable<z.ZodString>;
646
1139
  acknowledgedBy: z.ZodNullable<z.ZodString>;
1140
+ readAt: z.ZodNullable<z.ZodString>;
1141
+ readBy: z.ZodNullable<z.ZodString>;
647
1142
  resolvedAt: z.ZodNullable<z.ZodString>;
648
1143
  confidence: z.ZodNullable<z.ZodNumber>;
649
1144
  generatedBy: z.ZodString;
@@ -682,6 +1177,8 @@ export declare const fieldMonitoringRouter: {
682
1177
  severity: "critical" | "low" | "medium" | "high";
683
1178
  acknowledgedAt: string | null;
684
1179
  acknowledgedBy: string | null;
1180
+ readAt: string | null;
1181
+ readBy: string | null;
685
1182
  resolvedAt: string | null;
686
1183
  generatedBy: string;
687
1184
  fieldName?: string | undefined;
@@ -719,6 +1216,8 @@ export declare const fieldMonitoringRouter: {
719
1216
  severity: "critical" | "low" | "medium" | "high";
720
1217
  acknowledgedAt: string | null;
721
1218
  acknowledgedBy: string | null;
1219
+ readAt: string | null;
1220
+ readBy: string | null;
722
1221
  resolvedAt: string | null;
723
1222
  generatedBy: string;
724
1223
  fieldName?: string | undefined;
@@ -832,6 +1331,8 @@ export declare const fieldMonitoringRouter: {
832
1331
  status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
833
1332
  acknowledgedAt: z.ZodNullable<z.ZodString>;
834
1333
  acknowledgedBy: z.ZodNullable<z.ZodString>;
1334
+ readAt: z.ZodNullable<z.ZodString>;
1335
+ readBy: z.ZodNullable<z.ZodString>;
835
1336
  resolvedAt: z.ZodNullable<z.ZodString>;
836
1337
  confidence: z.ZodNullable<z.ZodNumber>;
837
1338
  generatedBy: z.ZodString;
@@ -870,6 +1371,8 @@ export declare const fieldMonitoringRouter: {
870
1371
  severity: "critical" | "low" | "medium" | "high";
871
1372
  acknowledgedAt: string | null;
872
1373
  acknowledgedBy: string | null;
1374
+ readAt: string | null;
1375
+ readBy: string | null;
873
1376
  resolvedAt: string | null;
874
1377
  generatedBy: string;
875
1378
  fieldName?: string | undefined;
@@ -907,6 +1410,8 @@ export declare const fieldMonitoringRouter: {
907
1410
  severity: "critical" | "low" | "medium" | "high";
908
1411
  acknowledgedAt: string | null;
909
1412
  acknowledgedBy: string | null;
1413
+ readAt: string | null;
1414
+ readBy: string | null;
910
1415
  resolvedAt: string | null;
911
1416
  generatedBy: string;
912
1417
  fieldName?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"field-monitoring.routes.d.ts","sourceRoot":"","sources":["../../src/routes/field-monitoring.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,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