@deepintel-ltd/farmpro-contracts 1.7.13 → 1.7.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/index.d.ts +3 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -0
  4. package/dist/routes/agent-workflows.routes.d.ts +88 -88
  5. package/dist/routes/agents.routes.d.ts +3260 -0
  6. package/dist/routes/agents.routes.d.ts.map +1 -1
  7. package/dist/routes/agents.routes.js +130 -1
  8. package/dist/routes/analytics.routes.d.ts +20 -20
  9. package/dist/routes/documents.routes.d.ts +855 -58
  10. package/dist/routes/documents.routes.d.ts.map +1 -1
  11. package/dist/routes/documents.routes.js +43 -1
  12. package/dist/routes/equipment.routes.d.ts +38 -38
  13. package/dist/routes/farm-status.routes.d.ts +315 -0
  14. package/dist/routes/farm-status.routes.d.ts.map +1 -0
  15. package/dist/routes/farm-status.routes.js +26 -0
  16. package/dist/routes/fertigation.routes.d.ts +148 -148
  17. package/dist/routes/field-monitoring.routes.d.ts +52 -52
  18. package/dist/routes/field-observations.routes.d.ts +56 -56
  19. package/dist/routes/finance.routes.d.ts +3493 -0
  20. package/dist/routes/finance.routes.d.ts.map +1 -1
  21. package/dist/routes/finance.routes.js +158 -1
  22. package/dist/routes/geofences.routes.d.ts.map +1 -1
  23. package/dist/routes/index.d.ts +3 -0
  24. package/dist/routes/index.d.ts.map +1 -1
  25. package/dist/routes/index.js +2 -0
  26. package/dist/routes/irrigation.routes.d.ts +6 -6
  27. package/dist/routes/measurements.routes.d.ts +13 -4
  28. package/dist/routes/measurements.routes.d.ts.map +1 -1
  29. package/dist/routes/monitoring-visualization.routes.d.ts +43 -36
  30. package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
  31. package/dist/routes/monitoring-visualization.routes.js +7 -4
  32. package/dist/routes/pest-disease-risk.routes.d.ts +20 -20
  33. package/dist/routes/prescription-maps.routes.d.ts +570 -23
  34. package/dist/routes/prescription-maps.routes.d.ts.map +1 -1
  35. package/dist/routes/prescription-maps.routes.js +18 -1
  36. package/dist/routes/soil-tests.routes.d.ts +30 -30
  37. package/dist/routes/subscriptions.routes.d.ts +14 -14
  38. package/dist/routes/weather.routes.d.ts +545 -52
  39. package/dist/routes/weather.routes.d.ts.map +1 -1
  40. package/dist/routes/weather.routes.js +13 -1
  41. package/dist/routes/yield-prediction.routes.d.ts +30 -30
  42. package/dist/schemas/agent-workflows.schemas.d.ts +92 -92
  43. package/dist/schemas/agents.schemas.d.ts +1120 -0
  44. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  45. package/dist/schemas/agents.schemas.js +181 -0
  46. package/dist/schemas/analytics.schemas.d.ts +56 -56
  47. package/dist/schemas/documents.schemas.d.ts +248 -48
  48. package/dist/schemas/documents.schemas.d.ts.map +1 -1
  49. package/dist/schemas/documents.schemas.js +38 -0
  50. package/dist/schemas/equipment.schemas.d.ts +30 -30
  51. package/dist/schemas/farm-status.schemas.d.ts +451 -0
  52. package/dist/schemas/farm-status.schemas.d.ts.map +1 -0
  53. package/dist/schemas/farm-status.schemas.js +44 -0
  54. package/dist/schemas/fertigation.schemas.d.ts +50 -50
  55. package/dist/schemas/field-monitoring.schemas.d.ts +42 -42
  56. package/dist/schemas/field-observations.schemas.d.ts +44 -44
  57. package/dist/schemas/finance.schemas.d.ts +1057 -0
  58. package/dist/schemas/finance.schemas.d.ts.map +1 -1
  59. package/dist/schemas/finance.schemas.js +170 -0
  60. package/dist/schemas/irrigation.schemas.d.ts +8 -8
  61. package/dist/schemas/measurements.schemas.d.ts +21 -8
  62. package/dist/schemas/measurements.schemas.d.ts.map +1 -1
  63. package/dist/schemas/measurements.schemas.js +13 -6
  64. package/dist/schemas/monitoring-visualization.schemas.d.ts +50 -43
  65. package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
  66. package/dist/schemas/monitoring-visualization.schemas.js +27 -17
  67. package/dist/schemas/pest-disease-risk.schemas.d.ts +18 -18
  68. package/dist/schemas/prescription-maps.schemas.d.ts +45 -22
  69. package/dist/schemas/prescription-maps.schemas.d.ts.map +1 -1
  70. package/dist/schemas/prescription-maps.schemas.js +9 -1
  71. package/dist/schemas/recommendations.schemas.d.ts +2 -2
  72. package/dist/schemas/soil-tests.schemas.d.ts +28 -28
  73. package/dist/schemas/subscriptions.schemas.d.ts +22 -22
  74. package/dist/schemas/weather.schemas.d.ts +789 -112
  75. package/dist/schemas/weather.schemas.d.ts.map +1 -1
  76. package/dist/schemas/weather.schemas.js +37 -0
  77. package/dist/schemas/yield-prediction.schemas.d.ts +12 -12
  78. package/package.json +1 -1
@@ -91,8 +91,8 @@ export declare const weatherAlertSchema: z.ZodObject<{
91
91
  action: string;
92
92
  details: string;
93
93
  timing: string;
94
- severity?: "critical" | "low" | "medium" | "high" | undefined;
95
94
  confidence?: number | undefined;
95
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
96
96
  materials?: {
97
97
  name: string;
98
98
  unit: string;
@@ -112,8 +112,8 @@ export declare const weatherAlertSchema: z.ZodObject<{
112
112
  action: string;
113
113
  details: string;
114
114
  timing: string;
115
- severity?: "critical" | "low" | "medium" | "high" | undefined;
116
115
  confidence?: number | undefined;
116
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
117
117
  materials?: {
118
118
  name: string;
119
119
  unit: string;
@@ -141,8 +141,8 @@ export declare const weatherAlertSchema: z.ZodObject<{
141
141
  action: string;
142
142
  details: string;
143
143
  timing: string;
144
- severity?: "critical" | "low" | "medium" | "high" | undefined;
145
144
  confidence?: number | undefined;
145
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
146
146
  materials?: {
147
147
  name: string;
148
148
  unit: string;
@@ -170,8 +170,8 @@ export declare const weatherAlertSchema: z.ZodObject<{
170
170
  action: string;
171
171
  details: string;
172
172
  timing: string;
173
- severity?: "critical" | "low" | "medium" | "high" | undefined;
174
173
  confidence?: number | undefined;
174
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
175
175
  materials?: {
176
176
  name: string;
177
177
  unit: string;
@@ -277,8 +277,8 @@ export declare const weatherAttributesSchema: z.ZodObject<{
277
277
  action: string;
278
278
  details: string;
279
279
  timing: string;
280
- severity?: "critical" | "low" | "medium" | "high" | undefined;
281
280
  confidence?: number | undefined;
281
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
282
282
  materials?: {
283
283
  name: string;
284
284
  unit: string;
@@ -298,8 +298,8 @@ export declare const weatherAttributesSchema: z.ZodObject<{
298
298
  action: string;
299
299
  details: string;
300
300
  timing: string;
301
- severity?: "critical" | "low" | "medium" | "high" | undefined;
302
301
  confidence?: number | undefined;
302
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
303
303
  materials?: {
304
304
  name: string;
305
305
  unit: string;
@@ -327,8 +327,8 @@ export declare const weatherAttributesSchema: z.ZodObject<{
327
327
  action: string;
328
328
  details: string;
329
329
  timing: string;
330
- severity?: "critical" | "low" | "medium" | "high" | undefined;
331
330
  confidence?: number | undefined;
331
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
332
332
  materials?: {
333
333
  name: string;
334
334
  unit: string;
@@ -356,8 +356,8 @@ export declare const weatherAttributesSchema: z.ZodObject<{
356
356
  action: string;
357
357
  details: string;
358
358
  timing: string;
359
- severity?: "critical" | "low" | "medium" | "high" | undefined;
360
359
  confidence?: number | undefined;
360
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
361
361
  materials?: {
362
362
  name: string;
363
363
  unit: string;
@@ -376,13 +376,6 @@ export declare const weatherAttributesSchema: z.ZodObject<{
376
376
  }>, "many">>;
377
377
  }, "strip", z.ZodTypeAny, {
378
378
  farmId: string;
379
- current: {
380
- temp: number;
381
- condition: string;
382
- icon?: string | undefined;
383
- rainfall?: number | undefined;
384
- humidity?: number | undefined;
385
- };
386
379
  forecast: {
387
380
  temp: number;
388
381
  day: string;
@@ -390,6 +383,13 @@ export declare const weatherAttributesSchema: z.ZodObject<{
390
383
  rainfall?: number | undefined;
391
384
  rain?: number | undefined;
392
385
  }[];
386
+ current: {
387
+ temp: number;
388
+ condition: string;
389
+ icon?: string | undefined;
390
+ rainfall?: number | undefined;
391
+ humidity?: number | undefined;
392
+ };
393
393
  alerts?: {
394
394
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
395
395
  message: string;
@@ -402,8 +402,8 @@ export declare const weatherAttributesSchema: z.ZodObject<{
402
402
  action: string;
403
403
  details: string;
404
404
  timing: string;
405
- severity?: "critical" | "low" | "medium" | "high" | undefined;
406
405
  confidence?: number | undefined;
406
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
407
407
  materials?: {
408
408
  name: string;
409
409
  unit: string;
@@ -422,13 +422,6 @@ export declare const weatherAttributesSchema: z.ZodObject<{
422
422
  }[] | undefined;
423
423
  }, {
424
424
  farmId: string;
425
- current: {
426
- temp: number;
427
- condition: string;
428
- icon?: string | undefined;
429
- rainfall?: number | undefined;
430
- humidity?: number | undefined;
431
- };
432
425
  forecast: {
433
426
  temp: number;
434
427
  day: string;
@@ -436,6 +429,13 @@ export declare const weatherAttributesSchema: z.ZodObject<{
436
429
  rainfall?: number | undefined;
437
430
  rain?: number | undefined;
438
431
  }[];
432
+ current: {
433
+ temp: number;
434
+ condition: string;
435
+ icon?: string | undefined;
436
+ rainfall?: number | undefined;
437
+ humidity?: number | undefined;
438
+ };
439
439
  alerts?: {
440
440
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
441
441
  message: string;
@@ -448,8 +448,8 @@ export declare const weatherAttributesSchema: z.ZodObject<{
448
448
  action: string;
449
449
  details: string;
450
450
  timing: string;
451
- severity?: "critical" | "low" | "medium" | "high" | undefined;
452
451
  confidence?: number | undefined;
452
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
453
453
  materials?: {
454
454
  name: string;
455
455
  unit: string;
@@ -467,6 +467,682 @@ export declare const weatherAttributesSchema: z.ZodObject<{
467
467
  }[] | undefined;
468
468
  }[] | undefined;
469
469
  }>;
470
+ export declare const plannerRiskLevelSchema: z.ZodEnum<["low", "medium", "high"]>;
471
+ export declare const plannerActivityScoreSchema: z.ZodObject<{
472
+ spraying: z.ZodEnum<["low", "medium", "high"]>;
473
+ irrigation: z.ZodEnum<["low", "medium", "high"]>;
474
+ planting: z.ZodEnum<["low", "medium", "high"]>;
475
+ harvesting: z.ZodEnum<["low", "medium", "high"]>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ spraying: "low" | "medium" | "high";
478
+ irrigation: "low" | "medium" | "high";
479
+ planting: "low" | "medium" | "high";
480
+ harvesting: "low" | "medium" | "high";
481
+ }, {
482
+ spraying: "low" | "medium" | "high";
483
+ irrigation: "low" | "medium" | "high";
484
+ planting: "low" | "medium" | "high";
485
+ harvesting: "low" | "medium" | "high";
486
+ }>;
487
+ export declare const weatherPlannerDaySchema: z.ZodObject<{
488
+ date: z.ZodString;
489
+ score: z.ZodNumber;
490
+ risks: z.ZodObject<{
491
+ frost: z.ZodNumber;
492
+ rain: z.ZodNumber;
493
+ wind: z.ZodNumber;
494
+ heatStress: z.ZodNumber;
495
+ evapotranspiration: z.ZodNumber;
496
+ }, "strip", z.ZodTypeAny, {
497
+ frost: number;
498
+ wind: number;
499
+ rain: number;
500
+ heatStress: number;
501
+ evapotranspiration: number;
502
+ }, {
503
+ frost: number;
504
+ wind: number;
505
+ rain: number;
506
+ heatStress: number;
507
+ evapotranspiration: number;
508
+ }>;
509
+ activities: z.ZodObject<{
510
+ spraying: z.ZodEnum<["low", "medium", "high"]>;
511
+ irrigation: z.ZodEnum<["low", "medium", "high"]>;
512
+ planting: z.ZodEnum<["low", "medium", "high"]>;
513
+ harvesting: z.ZodEnum<["low", "medium", "high"]>;
514
+ }, "strip", z.ZodTypeAny, {
515
+ spraying: "low" | "medium" | "high";
516
+ irrigation: "low" | "medium" | "high";
517
+ planting: "low" | "medium" | "high";
518
+ harvesting: "low" | "medium" | "high";
519
+ }, {
520
+ spraying: "low" | "medium" | "high";
521
+ irrigation: "low" | "medium" | "high";
522
+ planting: "low" | "medium" | "high";
523
+ harvesting: "low" | "medium" | "high";
524
+ }>;
525
+ }, "strip", z.ZodTypeAny, {
526
+ date: string;
527
+ score: number;
528
+ risks: {
529
+ frost: number;
530
+ wind: number;
531
+ rain: number;
532
+ heatStress: number;
533
+ evapotranspiration: number;
534
+ };
535
+ activities: {
536
+ spraying: "low" | "medium" | "high";
537
+ irrigation: "low" | "medium" | "high";
538
+ planting: "low" | "medium" | "high";
539
+ harvesting: "low" | "medium" | "high";
540
+ };
541
+ }, {
542
+ date: string;
543
+ score: number;
544
+ risks: {
545
+ frost: number;
546
+ wind: number;
547
+ rain: number;
548
+ heatStress: number;
549
+ evapotranspiration: number;
550
+ };
551
+ activities: {
552
+ spraying: "low" | "medium" | "high";
553
+ irrigation: "low" | "medium" | "high";
554
+ planting: "low" | "medium" | "high";
555
+ harvesting: "low" | "medium" | "high";
556
+ };
557
+ }>;
558
+ export declare const weatherPlannerFieldSchema: z.ZodObject<{
559
+ fieldId: z.ZodString;
560
+ fieldName: z.ZodString;
561
+ cropStage: z.ZodNullable<z.ZodString>;
562
+ days: z.ZodArray<z.ZodObject<{
563
+ date: z.ZodString;
564
+ score: z.ZodNumber;
565
+ risks: z.ZodObject<{
566
+ frost: z.ZodNumber;
567
+ rain: z.ZodNumber;
568
+ wind: z.ZodNumber;
569
+ heatStress: z.ZodNumber;
570
+ evapotranspiration: z.ZodNumber;
571
+ }, "strip", z.ZodTypeAny, {
572
+ frost: number;
573
+ wind: number;
574
+ rain: number;
575
+ heatStress: number;
576
+ evapotranspiration: number;
577
+ }, {
578
+ frost: number;
579
+ wind: number;
580
+ rain: number;
581
+ heatStress: number;
582
+ evapotranspiration: number;
583
+ }>;
584
+ activities: z.ZodObject<{
585
+ spraying: z.ZodEnum<["low", "medium", "high"]>;
586
+ irrigation: z.ZodEnum<["low", "medium", "high"]>;
587
+ planting: z.ZodEnum<["low", "medium", "high"]>;
588
+ harvesting: z.ZodEnum<["low", "medium", "high"]>;
589
+ }, "strip", z.ZodTypeAny, {
590
+ spraying: "low" | "medium" | "high";
591
+ irrigation: "low" | "medium" | "high";
592
+ planting: "low" | "medium" | "high";
593
+ harvesting: "low" | "medium" | "high";
594
+ }, {
595
+ spraying: "low" | "medium" | "high";
596
+ irrigation: "low" | "medium" | "high";
597
+ planting: "low" | "medium" | "high";
598
+ harvesting: "low" | "medium" | "high";
599
+ }>;
600
+ }, "strip", z.ZodTypeAny, {
601
+ date: string;
602
+ score: number;
603
+ risks: {
604
+ frost: number;
605
+ wind: number;
606
+ rain: number;
607
+ heatStress: number;
608
+ evapotranspiration: number;
609
+ };
610
+ activities: {
611
+ spraying: "low" | "medium" | "high";
612
+ irrigation: "low" | "medium" | "high";
613
+ planting: "low" | "medium" | "high";
614
+ harvesting: "low" | "medium" | "high";
615
+ };
616
+ }, {
617
+ date: string;
618
+ score: number;
619
+ risks: {
620
+ frost: number;
621
+ wind: number;
622
+ rain: number;
623
+ heatStress: number;
624
+ evapotranspiration: number;
625
+ };
626
+ activities: {
627
+ spraying: "low" | "medium" | "high";
628
+ irrigation: "low" | "medium" | "high";
629
+ planting: "low" | "medium" | "high";
630
+ harvesting: "low" | "medium" | "high";
631
+ };
632
+ }>, "many">;
633
+ }, "strip", z.ZodTypeAny, {
634
+ cropStage: string | null;
635
+ fieldId: string;
636
+ fieldName: string;
637
+ days: {
638
+ date: string;
639
+ score: number;
640
+ risks: {
641
+ frost: number;
642
+ wind: number;
643
+ rain: number;
644
+ heatStress: number;
645
+ evapotranspiration: number;
646
+ };
647
+ activities: {
648
+ spraying: "low" | "medium" | "high";
649
+ irrigation: "low" | "medium" | "high";
650
+ planting: "low" | "medium" | "high";
651
+ harvesting: "low" | "medium" | "high";
652
+ };
653
+ }[];
654
+ }, {
655
+ cropStage: string | null;
656
+ fieldId: string;
657
+ fieldName: string;
658
+ days: {
659
+ date: string;
660
+ score: number;
661
+ risks: {
662
+ frost: number;
663
+ wind: number;
664
+ rain: number;
665
+ heatStress: number;
666
+ evapotranspiration: number;
667
+ };
668
+ activities: {
669
+ spraying: "low" | "medium" | "high";
670
+ irrigation: "low" | "medium" | "high";
671
+ planting: "low" | "medium" | "high";
672
+ harvesting: "low" | "medium" | "high";
673
+ };
674
+ }[];
675
+ }>;
676
+ export declare const weatherPlannerAttributesSchema: z.ZodObject<{
677
+ farmId: z.ZodString;
678
+ generatedAt: z.ZodString;
679
+ fields: z.ZodArray<z.ZodObject<{
680
+ fieldId: z.ZodString;
681
+ fieldName: z.ZodString;
682
+ cropStage: z.ZodNullable<z.ZodString>;
683
+ days: z.ZodArray<z.ZodObject<{
684
+ date: z.ZodString;
685
+ score: z.ZodNumber;
686
+ risks: z.ZodObject<{
687
+ frost: z.ZodNumber;
688
+ rain: z.ZodNumber;
689
+ wind: z.ZodNumber;
690
+ heatStress: z.ZodNumber;
691
+ evapotranspiration: z.ZodNumber;
692
+ }, "strip", z.ZodTypeAny, {
693
+ frost: number;
694
+ wind: number;
695
+ rain: number;
696
+ heatStress: number;
697
+ evapotranspiration: number;
698
+ }, {
699
+ frost: number;
700
+ wind: number;
701
+ rain: number;
702
+ heatStress: number;
703
+ evapotranspiration: number;
704
+ }>;
705
+ activities: z.ZodObject<{
706
+ spraying: z.ZodEnum<["low", "medium", "high"]>;
707
+ irrigation: z.ZodEnum<["low", "medium", "high"]>;
708
+ planting: z.ZodEnum<["low", "medium", "high"]>;
709
+ harvesting: z.ZodEnum<["low", "medium", "high"]>;
710
+ }, "strip", z.ZodTypeAny, {
711
+ spraying: "low" | "medium" | "high";
712
+ irrigation: "low" | "medium" | "high";
713
+ planting: "low" | "medium" | "high";
714
+ harvesting: "low" | "medium" | "high";
715
+ }, {
716
+ spraying: "low" | "medium" | "high";
717
+ irrigation: "low" | "medium" | "high";
718
+ planting: "low" | "medium" | "high";
719
+ harvesting: "low" | "medium" | "high";
720
+ }>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ date: string;
723
+ score: number;
724
+ risks: {
725
+ frost: number;
726
+ wind: number;
727
+ rain: number;
728
+ heatStress: number;
729
+ evapotranspiration: number;
730
+ };
731
+ activities: {
732
+ spraying: "low" | "medium" | "high";
733
+ irrigation: "low" | "medium" | "high";
734
+ planting: "low" | "medium" | "high";
735
+ harvesting: "low" | "medium" | "high";
736
+ };
737
+ }, {
738
+ date: string;
739
+ score: number;
740
+ risks: {
741
+ frost: number;
742
+ wind: number;
743
+ rain: number;
744
+ heatStress: number;
745
+ evapotranspiration: number;
746
+ };
747
+ activities: {
748
+ spraying: "low" | "medium" | "high";
749
+ irrigation: "low" | "medium" | "high";
750
+ planting: "low" | "medium" | "high";
751
+ harvesting: "low" | "medium" | "high";
752
+ };
753
+ }>, "many">;
754
+ }, "strip", z.ZodTypeAny, {
755
+ cropStage: string | null;
756
+ fieldId: string;
757
+ fieldName: string;
758
+ days: {
759
+ date: string;
760
+ score: number;
761
+ risks: {
762
+ frost: number;
763
+ wind: number;
764
+ rain: number;
765
+ heatStress: number;
766
+ evapotranspiration: number;
767
+ };
768
+ activities: {
769
+ spraying: "low" | "medium" | "high";
770
+ irrigation: "low" | "medium" | "high";
771
+ planting: "low" | "medium" | "high";
772
+ harvesting: "low" | "medium" | "high";
773
+ };
774
+ }[];
775
+ }, {
776
+ cropStage: string | null;
777
+ fieldId: string;
778
+ fieldName: string;
779
+ days: {
780
+ date: string;
781
+ score: number;
782
+ risks: {
783
+ frost: number;
784
+ wind: number;
785
+ rain: number;
786
+ heatStress: number;
787
+ evapotranspiration: number;
788
+ };
789
+ activities: {
790
+ spraying: "low" | "medium" | "high";
791
+ irrigation: "low" | "medium" | "high";
792
+ planting: "low" | "medium" | "high";
793
+ harvesting: "low" | "medium" | "high";
794
+ };
795
+ }[];
796
+ }>, "many">;
797
+ }, "strip", z.ZodTypeAny, {
798
+ fields: {
799
+ cropStage: string | null;
800
+ fieldId: string;
801
+ fieldName: string;
802
+ days: {
803
+ date: string;
804
+ score: number;
805
+ risks: {
806
+ frost: number;
807
+ wind: number;
808
+ rain: number;
809
+ heatStress: number;
810
+ evapotranspiration: number;
811
+ };
812
+ activities: {
813
+ spraying: "low" | "medium" | "high";
814
+ irrigation: "low" | "medium" | "high";
815
+ planting: "low" | "medium" | "high";
816
+ harvesting: "low" | "medium" | "high";
817
+ };
818
+ }[];
819
+ }[];
820
+ farmId: string;
821
+ generatedAt: string;
822
+ }, {
823
+ fields: {
824
+ cropStage: string | null;
825
+ fieldId: string;
826
+ fieldName: string;
827
+ days: {
828
+ date: string;
829
+ score: number;
830
+ risks: {
831
+ frost: number;
832
+ wind: number;
833
+ rain: number;
834
+ heatStress: number;
835
+ evapotranspiration: number;
836
+ };
837
+ activities: {
838
+ spraying: "low" | "medium" | "high";
839
+ irrigation: "low" | "medium" | "high";
840
+ planting: "low" | "medium" | "high";
841
+ harvesting: "low" | "medium" | "high";
842
+ };
843
+ }[];
844
+ }[];
845
+ farmId: string;
846
+ generatedAt: string;
847
+ }>;
848
+ export declare const weatherPlannerResponseSchema: z.ZodObject<{
849
+ data: z.ZodObject<{
850
+ type: z.ZodLiteral<"weather-planner">;
851
+ id: z.ZodString;
852
+ attributes: z.ZodObject<{
853
+ farmId: z.ZodString;
854
+ generatedAt: z.ZodString;
855
+ fields: z.ZodArray<z.ZodObject<{
856
+ fieldId: z.ZodString;
857
+ fieldName: z.ZodString;
858
+ cropStage: z.ZodNullable<z.ZodString>;
859
+ days: z.ZodArray<z.ZodObject<{
860
+ date: z.ZodString;
861
+ score: z.ZodNumber;
862
+ risks: z.ZodObject<{
863
+ frost: z.ZodNumber;
864
+ rain: z.ZodNumber;
865
+ wind: z.ZodNumber;
866
+ heatStress: z.ZodNumber;
867
+ evapotranspiration: z.ZodNumber;
868
+ }, "strip", z.ZodTypeAny, {
869
+ frost: number;
870
+ wind: number;
871
+ rain: number;
872
+ heatStress: number;
873
+ evapotranspiration: number;
874
+ }, {
875
+ frost: number;
876
+ wind: number;
877
+ rain: number;
878
+ heatStress: number;
879
+ evapotranspiration: number;
880
+ }>;
881
+ activities: z.ZodObject<{
882
+ spraying: z.ZodEnum<["low", "medium", "high"]>;
883
+ irrigation: z.ZodEnum<["low", "medium", "high"]>;
884
+ planting: z.ZodEnum<["low", "medium", "high"]>;
885
+ harvesting: z.ZodEnum<["low", "medium", "high"]>;
886
+ }, "strip", z.ZodTypeAny, {
887
+ spraying: "low" | "medium" | "high";
888
+ irrigation: "low" | "medium" | "high";
889
+ planting: "low" | "medium" | "high";
890
+ harvesting: "low" | "medium" | "high";
891
+ }, {
892
+ spraying: "low" | "medium" | "high";
893
+ irrigation: "low" | "medium" | "high";
894
+ planting: "low" | "medium" | "high";
895
+ harvesting: "low" | "medium" | "high";
896
+ }>;
897
+ }, "strip", z.ZodTypeAny, {
898
+ date: string;
899
+ score: number;
900
+ risks: {
901
+ frost: number;
902
+ wind: number;
903
+ rain: number;
904
+ heatStress: number;
905
+ evapotranspiration: number;
906
+ };
907
+ activities: {
908
+ spraying: "low" | "medium" | "high";
909
+ irrigation: "low" | "medium" | "high";
910
+ planting: "low" | "medium" | "high";
911
+ harvesting: "low" | "medium" | "high";
912
+ };
913
+ }, {
914
+ date: string;
915
+ score: number;
916
+ risks: {
917
+ frost: number;
918
+ wind: number;
919
+ rain: number;
920
+ heatStress: number;
921
+ evapotranspiration: number;
922
+ };
923
+ activities: {
924
+ spraying: "low" | "medium" | "high";
925
+ irrigation: "low" | "medium" | "high";
926
+ planting: "low" | "medium" | "high";
927
+ harvesting: "low" | "medium" | "high";
928
+ };
929
+ }>, "many">;
930
+ }, "strip", z.ZodTypeAny, {
931
+ cropStage: string | null;
932
+ fieldId: string;
933
+ fieldName: string;
934
+ days: {
935
+ date: string;
936
+ score: number;
937
+ risks: {
938
+ frost: number;
939
+ wind: number;
940
+ rain: number;
941
+ heatStress: number;
942
+ evapotranspiration: number;
943
+ };
944
+ activities: {
945
+ spraying: "low" | "medium" | "high";
946
+ irrigation: "low" | "medium" | "high";
947
+ planting: "low" | "medium" | "high";
948
+ harvesting: "low" | "medium" | "high";
949
+ };
950
+ }[];
951
+ }, {
952
+ cropStage: string | null;
953
+ fieldId: string;
954
+ fieldName: string;
955
+ days: {
956
+ date: string;
957
+ score: number;
958
+ risks: {
959
+ frost: number;
960
+ wind: number;
961
+ rain: number;
962
+ heatStress: number;
963
+ evapotranspiration: number;
964
+ };
965
+ activities: {
966
+ spraying: "low" | "medium" | "high";
967
+ irrigation: "low" | "medium" | "high";
968
+ planting: "low" | "medium" | "high";
969
+ harvesting: "low" | "medium" | "high";
970
+ };
971
+ }[];
972
+ }>, "many">;
973
+ }, "strip", z.ZodTypeAny, {
974
+ fields: {
975
+ cropStage: string | null;
976
+ fieldId: string;
977
+ fieldName: string;
978
+ days: {
979
+ date: string;
980
+ score: number;
981
+ risks: {
982
+ frost: number;
983
+ wind: number;
984
+ rain: number;
985
+ heatStress: number;
986
+ evapotranspiration: number;
987
+ };
988
+ activities: {
989
+ spraying: "low" | "medium" | "high";
990
+ irrigation: "low" | "medium" | "high";
991
+ planting: "low" | "medium" | "high";
992
+ harvesting: "low" | "medium" | "high";
993
+ };
994
+ }[];
995
+ }[];
996
+ farmId: string;
997
+ generatedAt: string;
998
+ }, {
999
+ fields: {
1000
+ cropStage: string | null;
1001
+ fieldId: string;
1002
+ fieldName: string;
1003
+ days: {
1004
+ date: string;
1005
+ score: number;
1006
+ risks: {
1007
+ frost: number;
1008
+ wind: number;
1009
+ rain: number;
1010
+ heatStress: number;
1011
+ evapotranspiration: number;
1012
+ };
1013
+ activities: {
1014
+ spraying: "low" | "medium" | "high";
1015
+ irrigation: "low" | "medium" | "high";
1016
+ planting: "low" | "medium" | "high";
1017
+ harvesting: "low" | "medium" | "high";
1018
+ };
1019
+ }[];
1020
+ }[];
1021
+ farmId: string;
1022
+ generatedAt: string;
1023
+ }>;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ type: "weather-planner";
1026
+ id: string;
1027
+ attributes: {
1028
+ fields: {
1029
+ cropStage: string | null;
1030
+ fieldId: string;
1031
+ fieldName: string;
1032
+ days: {
1033
+ date: string;
1034
+ score: number;
1035
+ risks: {
1036
+ frost: number;
1037
+ wind: number;
1038
+ rain: number;
1039
+ heatStress: number;
1040
+ evapotranspiration: number;
1041
+ };
1042
+ activities: {
1043
+ spraying: "low" | "medium" | "high";
1044
+ irrigation: "low" | "medium" | "high";
1045
+ planting: "low" | "medium" | "high";
1046
+ harvesting: "low" | "medium" | "high";
1047
+ };
1048
+ }[];
1049
+ }[];
1050
+ farmId: string;
1051
+ generatedAt: string;
1052
+ };
1053
+ }, {
1054
+ type: "weather-planner";
1055
+ id: string;
1056
+ attributes: {
1057
+ fields: {
1058
+ cropStage: string | null;
1059
+ fieldId: string;
1060
+ fieldName: string;
1061
+ days: {
1062
+ date: string;
1063
+ score: number;
1064
+ risks: {
1065
+ frost: number;
1066
+ wind: number;
1067
+ rain: number;
1068
+ heatStress: number;
1069
+ evapotranspiration: number;
1070
+ };
1071
+ activities: {
1072
+ spraying: "low" | "medium" | "high";
1073
+ irrigation: "low" | "medium" | "high";
1074
+ planting: "low" | "medium" | "high";
1075
+ harvesting: "low" | "medium" | "high";
1076
+ };
1077
+ }[];
1078
+ }[];
1079
+ farmId: string;
1080
+ generatedAt: string;
1081
+ };
1082
+ }>;
1083
+ }, "strip", z.ZodTypeAny, {
1084
+ data: {
1085
+ type: "weather-planner";
1086
+ id: string;
1087
+ attributes: {
1088
+ fields: {
1089
+ cropStage: string | null;
1090
+ fieldId: string;
1091
+ fieldName: string;
1092
+ days: {
1093
+ date: string;
1094
+ score: number;
1095
+ risks: {
1096
+ frost: number;
1097
+ wind: number;
1098
+ rain: number;
1099
+ heatStress: number;
1100
+ evapotranspiration: number;
1101
+ };
1102
+ activities: {
1103
+ spraying: "low" | "medium" | "high";
1104
+ irrigation: "low" | "medium" | "high";
1105
+ planting: "low" | "medium" | "high";
1106
+ harvesting: "low" | "medium" | "high";
1107
+ };
1108
+ }[];
1109
+ }[];
1110
+ farmId: string;
1111
+ generatedAt: string;
1112
+ };
1113
+ };
1114
+ }, {
1115
+ data: {
1116
+ type: "weather-planner";
1117
+ id: string;
1118
+ attributes: {
1119
+ fields: {
1120
+ cropStage: string | null;
1121
+ fieldId: string;
1122
+ fieldName: string;
1123
+ days: {
1124
+ date: string;
1125
+ score: number;
1126
+ risks: {
1127
+ frost: number;
1128
+ wind: number;
1129
+ rain: number;
1130
+ heatStress: number;
1131
+ evapotranspiration: number;
1132
+ };
1133
+ activities: {
1134
+ spraying: "low" | "medium" | "high";
1135
+ irrigation: "low" | "medium" | "high";
1136
+ planting: "low" | "medium" | "high";
1137
+ harvesting: "low" | "medium" | "high";
1138
+ };
1139
+ }[];
1140
+ }[];
1141
+ farmId: string;
1142
+ generatedAt: string;
1143
+ };
1144
+ };
1145
+ }>;
470
1146
  export declare const weatherResourceSchema: z.ZodObject<{
471
1147
  type: z.ZodLiteral<string>;
472
1148
  id: z.ZodString;
@@ -559,8 +1235,8 @@ export declare const weatherResourceSchema: z.ZodObject<{
559
1235
  action: string;
560
1236
  details: string;
561
1237
  timing: string;
562
- severity?: "critical" | "low" | "medium" | "high" | undefined;
563
1238
  confidence?: number | undefined;
1239
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
564
1240
  materials?: {
565
1241
  name: string;
566
1242
  unit: string;
@@ -580,8 +1256,8 @@ export declare const weatherResourceSchema: z.ZodObject<{
580
1256
  action: string;
581
1257
  details: string;
582
1258
  timing: string;
583
- severity?: "critical" | "low" | "medium" | "high" | undefined;
584
1259
  confidence?: number | undefined;
1260
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
585
1261
  materials?: {
586
1262
  name: string;
587
1263
  unit: string;
@@ -609,8 +1285,8 @@ export declare const weatherResourceSchema: z.ZodObject<{
609
1285
  action: string;
610
1286
  details: string;
611
1287
  timing: string;
612
- severity?: "critical" | "low" | "medium" | "high" | undefined;
613
1288
  confidence?: number | undefined;
1289
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
614
1290
  materials?: {
615
1291
  name: string;
616
1292
  unit: string;
@@ -638,8 +1314,8 @@ export declare const weatherResourceSchema: z.ZodObject<{
638
1314
  action: string;
639
1315
  details: string;
640
1316
  timing: string;
641
- severity?: "critical" | "low" | "medium" | "high" | undefined;
642
1317
  confidence?: number | undefined;
1318
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
643
1319
  materials?: {
644
1320
  name: string;
645
1321
  unit: string;
@@ -658,13 +1334,6 @@ export declare const weatherResourceSchema: z.ZodObject<{
658
1334
  }>, "many">>;
659
1335
  }, "strip", z.ZodTypeAny, {
660
1336
  farmId: string;
661
- current: {
662
- temp: number;
663
- condition: string;
664
- icon?: string | undefined;
665
- rainfall?: number | undefined;
666
- humidity?: number | undefined;
667
- };
668
1337
  forecast: {
669
1338
  temp: number;
670
1339
  day: string;
@@ -672,6 +1341,13 @@ export declare const weatherResourceSchema: z.ZodObject<{
672
1341
  rainfall?: number | undefined;
673
1342
  rain?: number | undefined;
674
1343
  }[];
1344
+ current: {
1345
+ temp: number;
1346
+ condition: string;
1347
+ icon?: string | undefined;
1348
+ rainfall?: number | undefined;
1349
+ humidity?: number | undefined;
1350
+ };
675
1351
  alerts?: {
676
1352
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
677
1353
  message: string;
@@ -684,8 +1360,8 @@ export declare const weatherResourceSchema: z.ZodObject<{
684
1360
  action: string;
685
1361
  details: string;
686
1362
  timing: string;
687
- severity?: "critical" | "low" | "medium" | "high" | undefined;
688
1363
  confidence?: number | undefined;
1364
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
689
1365
  materials?: {
690
1366
  name: string;
691
1367
  unit: string;
@@ -704,13 +1380,6 @@ export declare const weatherResourceSchema: z.ZodObject<{
704
1380
  }[] | undefined;
705
1381
  }, {
706
1382
  farmId: string;
707
- current: {
708
- temp: number;
709
- condition: string;
710
- icon?: string | undefined;
711
- rainfall?: number | undefined;
712
- humidity?: number | undefined;
713
- };
714
1383
  forecast: {
715
1384
  temp: number;
716
1385
  day: string;
@@ -718,6 +1387,13 @@ export declare const weatherResourceSchema: z.ZodObject<{
718
1387
  rainfall?: number | undefined;
719
1388
  rain?: number | undefined;
720
1389
  }[];
1390
+ current: {
1391
+ temp: number;
1392
+ condition: string;
1393
+ icon?: string | undefined;
1394
+ rainfall?: number | undefined;
1395
+ humidity?: number | undefined;
1396
+ };
721
1397
  alerts?: {
722
1398
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
723
1399
  message: string;
@@ -730,8 +1406,8 @@ export declare const weatherResourceSchema: z.ZodObject<{
730
1406
  action: string;
731
1407
  details: string;
732
1408
  timing: string;
733
- severity?: "critical" | "low" | "medium" | "high" | undefined;
734
1409
  confidence?: number | undefined;
1410
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
735
1411
  materials?: {
736
1412
  name: string;
737
1413
  unit: string;
@@ -757,13 +1433,6 @@ export declare const weatherResourceSchema: z.ZodObject<{
757
1433
  id: string;
758
1434
  attributes: {
759
1435
  farmId: string;
760
- current: {
761
- temp: number;
762
- condition: string;
763
- icon?: string | undefined;
764
- rainfall?: number | undefined;
765
- humidity?: number | undefined;
766
- };
767
1436
  forecast: {
768
1437
  temp: number;
769
1438
  day: string;
@@ -771,6 +1440,13 @@ export declare const weatherResourceSchema: z.ZodObject<{
771
1440
  rainfall?: number | undefined;
772
1441
  rain?: number | undefined;
773
1442
  }[];
1443
+ current: {
1444
+ temp: number;
1445
+ condition: string;
1446
+ icon?: string | undefined;
1447
+ rainfall?: number | undefined;
1448
+ humidity?: number | undefined;
1449
+ };
774
1450
  alerts?: {
775
1451
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
776
1452
  message: string;
@@ -783,8 +1459,8 @@ export declare const weatherResourceSchema: z.ZodObject<{
783
1459
  action: string;
784
1460
  details: string;
785
1461
  timing: string;
786
- severity?: "critical" | "low" | "medium" | "high" | undefined;
787
1462
  confidence?: number | undefined;
1463
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
788
1464
  materials?: {
789
1465
  name: string;
790
1466
  unit: string;
@@ -810,13 +1486,6 @@ export declare const weatherResourceSchema: z.ZodObject<{
810
1486
  id: string;
811
1487
  attributes: {
812
1488
  farmId: string;
813
- current: {
814
- temp: number;
815
- condition: string;
816
- icon?: string | undefined;
817
- rainfall?: number | undefined;
818
- humidity?: number | undefined;
819
- };
820
1489
  forecast: {
821
1490
  temp: number;
822
1491
  day: string;
@@ -824,6 +1493,13 @@ export declare const weatherResourceSchema: z.ZodObject<{
824
1493
  rainfall?: number | undefined;
825
1494
  rain?: number | undefined;
826
1495
  }[];
1496
+ current: {
1497
+ temp: number;
1498
+ condition: string;
1499
+ icon?: string | undefined;
1500
+ rainfall?: number | undefined;
1501
+ humidity?: number | undefined;
1502
+ };
827
1503
  alerts?: {
828
1504
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
829
1505
  message: string;
@@ -836,8 +1512,8 @@ export declare const weatherResourceSchema: z.ZodObject<{
836
1512
  action: string;
837
1513
  details: string;
838
1514
  timing: string;
839
- severity?: "critical" | "low" | "medium" | "high" | undefined;
840
1515
  confidence?: number | undefined;
1516
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
841
1517
  materials?: {
842
1518
  name: string;
843
1519
  unit: string;
@@ -952,8 +1628,8 @@ export declare const weatherResponseSchema: z.ZodObject<{
952
1628
  action: string;
953
1629
  details: string;
954
1630
  timing: string;
955
- severity?: "critical" | "low" | "medium" | "high" | undefined;
956
1631
  confidence?: number | undefined;
1632
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
957
1633
  materials?: {
958
1634
  name: string;
959
1635
  unit: string;
@@ -973,8 +1649,8 @@ export declare const weatherResponseSchema: z.ZodObject<{
973
1649
  action: string;
974
1650
  details: string;
975
1651
  timing: string;
976
- severity?: "critical" | "low" | "medium" | "high" | undefined;
977
1652
  confidence?: number | undefined;
1653
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
978
1654
  materials?: {
979
1655
  name: string;
980
1656
  unit: string;
@@ -1002,8 +1678,8 @@ export declare const weatherResponseSchema: z.ZodObject<{
1002
1678
  action: string;
1003
1679
  details: string;
1004
1680
  timing: string;
1005
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1006
1681
  confidence?: number | undefined;
1682
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1007
1683
  materials?: {
1008
1684
  name: string;
1009
1685
  unit: string;
@@ -1031,8 +1707,8 @@ export declare const weatherResponseSchema: z.ZodObject<{
1031
1707
  action: string;
1032
1708
  details: string;
1033
1709
  timing: string;
1034
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1035
1710
  confidence?: number | undefined;
1711
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1036
1712
  materials?: {
1037
1713
  name: string;
1038
1714
  unit: string;
@@ -1051,13 +1727,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
1051
1727
  }>, "many">>;
1052
1728
  }, "strip", z.ZodTypeAny, {
1053
1729
  farmId: string;
1054
- current: {
1055
- temp: number;
1056
- condition: string;
1057
- icon?: string | undefined;
1058
- rainfall?: number | undefined;
1059
- humidity?: number | undefined;
1060
- };
1061
1730
  forecast: {
1062
1731
  temp: number;
1063
1732
  day: string;
@@ -1065,6 +1734,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
1065
1734
  rainfall?: number | undefined;
1066
1735
  rain?: number | undefined;
1067
1736
  }[];
1737
+ current: {
1738
+ temp: number;
1739
+ condition: string;
1740
+ icon?: string | undefined;
1741
+ rainfall?: number | undefined;
1742
+ humidity?: number | undefined;
1743
+ };
1068
1744
  alerts?: {
1069
1745
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
1070
1746
  message: string;
@@ -1077,8 +1753,8 @@ export declare const weatherResponseSchema: z.ZodObject<{
1077
1753
  action: string;
1078
1754
  details: string;
1079
1755
  timing: string;
1080
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1081
1756
  confidence?: number | undefined;
1757
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1082
1758
  materials?: {
1083
1759
  name: string;
1084
1760
  unit: string;
@@ -1097,13 +1773,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
1097
1773
  }[] | undefined;
1098
1774
  }, {
1099
1775
  farmId: string;
1100
- current: {
1101
- temp: number;
1102
- condition: string;
1103
- icon?: string | undefined;
1104
- rainfall?: number | undefined;
1105
- humidity?: number | undefined;
1106
- };
1107
1776
  forecast: {
1108
1777
  temp: number;
1109
1778
  day: string;
@@ -1111,6 +1780,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
1111
1780
  rainfall?: number | undefined;
1112
1781
  rain?: number | undefined;
1113
1782
  }[];
1783
+ current: {
1784
+ temp: number;
1785
+ condition: string;
1786
+ icon?: string | undefined;
1787
+ rainfall?: number | undefined;
1788
+ humidity?: number | undefined;
1789
+ };
1114
1790
  alerts?: {
1115
1791
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
1116
1792
  message: string;
@@ -1123,8 +1799,8 @@ export declare const weatherResponseSchema: z.ZodObject<{
1123
1799
  action: string;
1124
1800
  details: string;
1125
1801
  timing: string;
1126
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1127
1802
  confidence?: number | undefined;
1803
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1128
1804
  materials?: {
1129
1805
  name: string;
1130
1806
  unit: string;
@@ -1150,13 +1826,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
1150
1826
  id: string;
1151
1827
  attributes: {
1152
1828
  farmId: string;
1153
- current: {
1154
- temp: number;
1155
- condition: string;
1156
- icon?: string | undefined;
1157
- rainfall?: number | undefined;
1158
- humidity?: number | undefined;
1159
- };
1160
1829
  forecast: {
1161
1830
  temp: number;
1162
1831
  day: string;
@@ -1164,6 +1833,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
1164
1833
  rainfall?: number | undefined;
1165
1834
  rain?: number | undefined;
1166
1835
  }[];
1836
+ current: {
1837
+ temp: number;
1838
+ condition: string;
1839
+ icon?: string | undefined;
1840
+ rainfall?: number | undefined;
1841
+ humidity?: number | undefined;
1842
+ };
1167
1843
  alerts?: {
1168
1844
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
1169
1845
  message: string;
@@ -1176,8 +1852,8 @@ export declare const weatherResponseSchema: z.ZodObject<{
1176
1852
  action: string;
1177
1853
  details: string;
1178
1854
  timing: string;
1179
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1180
1855
  confidence?: number | undefined;
1856
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1181
1857
  materials?: {
1182
1858
  name: string;
1183
1859
  unit: string;
@@ -1203,13 +1879,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
1203
1879
  id: string;
1204
1880
  attributes: {
1205
1881
  farmId: string;
1206
- current: {
1207
- temp: number;
1208
- condition: string;
1209
- icon?: string | undefined;
1210
- rainfall?: number | undefined;
1211
- humidity?: number | undefined;
1212
- };
1213
1882
  forecast: {
1214
1883
  temp: number;
1215
1884
  day: string;
@@ -1217,6 +1886,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
1217
1886
  rainfall?: number | undefined;
1218
1887
  rain?: number | undefined;
1219
1888
  }[];
1889
+ current: {
1890
+ temp: number;
1891
+ condition: string;
1892
+ icon?: string | undefined;
1893
+ rainfall?: number | undefined;
1894
+ humidity?: number | undefined;
1895
+ };
1220
1896
  alerts?: {
1221
1897
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
1222
1898
  message: string;
@@ -1229,8 +1905,8 @@ export declare const weatherResponseSchema: z.ZodObject<{
1229
1905
  action: string;
1230
1906
  details: string;
1231
1907
  timing: string;
1232
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1233
1908
  confidence?: number | undefined;
1909
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1234
1910
  materials?: {
1235
1911
  name: string;
1236
1912
  unit: string;
@@ -1282,13 +1958,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
1282
1958
  id: string;
1283
1959
  attributes: {
1284
1960
  farmId: string;
1285
- current: {
1286
- temp: number;
1287
- condition: string;
1288
- icon?: string | undefined;
1289
- rainfall?: number | undefined;
1290
- humidity?: number | undefined;
1291
- };
1292
1961
  forecast: {
1293
1962
  temp: number;
1294
1963
  day: string;
@@ -1296,6 +1965,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
1296
1965
  rainfall?: number | undefined;
1297
1966
  rain?: number | undefined;
1298
1967
  }[];
1968
+ current: {
1969
+ temp: number;
1970
+ condition: string;
1971
+ icon?: string | undefined;
1972
+ rainfall?: number | undefined;
1973
+ humidity?: number | undefined;
1974
+ };
1299
1975
  alerts?: {
1300
1976
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
1301
1977
  message: string;
@@ -1308,8 +1984,8 @@ export declare const weatherResponseSchema: z.ZodObject<{
1308
1984
  action: string;
1309
1985
  details: string;
1310
1986
  timing: string;
1311
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1312
1987
  confidence?: number | undefined;
1988
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1313
1989
  materials?: {
1314
1990
  name: string;
1315
1991
  unit: string;
@@ -1347,13 +2023,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
1347
2023
  id: string;
1348
2024
  attributes: {
1349
2025
  farmId: string;
1350
- current: {
1351
- temp: number;
1352
- condition: string;
1353
- icon?: string | undefined;
1354
- rainfall?: number | undefined;
1355
- humidity?: number | undefined;
1356
- };
1357
2026
  forecast: {
1358
2027
  temp: number;
1359
2028
  day: string;
@@ -1361,6 +2030,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
1361
2030
  rainfall?: number | undefined;
1362
2031
  rain?: number | undefined;
1363
2032
  }[];
2033
+ current: {
2034
+ temp: number;
2035
+ condition: string;
2036
+ icon?: string | undefined;
2037
+ rainfall?: number | undefined;
2038
+ humidity?: number | undefined;
2039
+ };
1364
2040
  alerts?: {
1365
2041
  type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
1366
2042
  message: string;
@@ -1373,8 +2049,8 @@ export declare const weatherResponseSchema: z.ZodObject<{
1373
2049
  action: string;
1374
2050
  details: string;
1375
2051
  timing: string;
1376
- severity?: "critical" | "low" | "medium" | "high" | undefined;
1377
2052
  confidence?: number | undefined;
2053
+ severity?: "critical" | "low" | "medium" | "high" | undefined;
1378
2054
  materials?: {
1379
2055
  name: string;
1380
2056
  unit: string;
@@ -1415,4 +2091,5 @@ export type WeatherAlert = z.infer<typeof weatherAlertSchema>;
1415
2091
  export type WeatherAttributes = z.infer<typeof weatherAttributesSchema>;
1416
2092
  export type WeatherResource = z.infer<typeof weatherResourceSchema>;
1417
2093
  export type WeatherResponse = z.infer<typeof weatherResponseSchema>;
2094
+ export type WeatherPlannerResponse = z.infer<typeof weatherPlannerResponseSchema>;
1418
2095
  //# sourceMappingURL=weather.schemas.d.ts.map