@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.
Files changed (34) hide show
  1. package/dist/routes/admin.routes.d.ts +1036 -0
  2. package/dist/routes/admin.routes.d.ts.map +1 -1
  3. package/dist/routes/admin.routes.js +29 -1
  4. package/dist/routes/agent-workflows.routes.d.ts +246 -246
  5. package/dist/routes/agents.routes.d.ts +16 -16
  6. package/dist/routes/fertigation.routes.d.ts +80 -80
  7. package/dist/routes/field-monitoring.routes.d.ts +8 -8
  8. package/dist/routes/field-observations.routes.d.ts +28 -28
  9. package/dist/routes/health.routes.d.ts +66 -0
  10. package/dist/routes/health.routes.d.ts.map +1 -1
  11. package/dist/routes/livestock-groups.routes.d.ts +8 -8
  12. package/dist/routes/livestock.routes.d.ts +50 -50
  13. package/dist/routes/payments.routes.d.ts +20 -20
  14. package/dist/routes/pest-disease-risk.routes.d.ts +4 -4
  15. package/dist/routes/soil-tests.routes.d.ts +40 -40
  16. package/dist/schemas/admin.schemas.d.ts +267 -0
  17. package/dist/schemas/admin.schemas.d.ts.map +1 -1
  18. package/dist/schemas/admin.schemas.js +38 -0
  19. package/dist/schemas/agent-workflows.schemas.d.ts +206 -206
  20. package/dist/schemas/agents.schemas.d.ts +16 -16
  21. package/dist/schemas/fertigation.schemas.d.ts +36 -36
  22. package/dist/schemas/field-monitoring.schemas.d.ts +8 -8
  23. package/dist/schemas/field-observations.schemas.d.ts +20 -20
  24. package/dist/schemas/field-observations.schemas.d.ts.map +1 -1
  25. package/dist/schemas/field-observations.schemas.js +3 -2
  26. package/dist/schemas/health.schemas.d.ts +33 -0
  27. package/dist/schemas/health.schemas.d.ts.map +1 -1
  28. package/dist/schemas/health.schemas.js +1 -0
  29. package/dist/schemas/livestock.schemas.d.ts +50 -50
  30. package/dist/schemas/monitoring-visualization.schemas.js +4 -4
  31. package/dist/schemas/payments.schemas.d.ts +20 -20
  32. package/dist/schemas/pest-disease-risk.schemas.d.ts +2 -2
  33. package/dist/schemas/soil-tests.schemas.d.ts +42 -42
  34. package/package.json +1 -1
@@ -1833,14 +1833,14 @@ export declare const fieldMonitoringRouter: {
1833
1833
  failed: z.ZodNumber;
1834
1834
  completed: z.ZodNumber;
1835
1835
  }, "strip", z.ZodTypeAny, {
1836
- completed: number;
1837
1836
  failed: number;
1837
+ completed: number;
1838
1838
  active: number;
1839
1839
  waiting: number;
1840
1840
  delayed: number;
1841
1841
  }, {
1842
- completed: number;
1843
1842
  failed: number;
1843
+ completed: number;
1844
1844
  active: number;
1845
1845
  waiting: number;
1846
1846
  delayed: number;
@@ -2814,18 +2814,18 @@ export declare const fieldMonitoringRouter: {
2814
2814
  applicationTiming: z.ZodOptional<z.ZodString>;
2815
2815
  confidence: z.ZodOptional<z.ZodNumber>;
2816
2816
  }, "strip", z.ZodTypeAny, {
2817
+ reason: string;
2817
2818
  quantity: number;
2818
2819
  unit: string;
2819
- reason: string;
2820
2820
  productName?: string | undefined;
2821
2821
  inventoryItemId?: string | undefined;
2822
2822
  confidence?: number | undefined;
2823
2823
  estimatedCost?: number | undefined;
2824
2824
  applicationTiming?: string | undefined;
2825
2825
  }, {
2826
+ reason: string;
2826
2827
  quantity: number;
2827
2828
  unit: string;
2828
- reason: string;
2829
2829
  productName?: string | undefined;
2830
2830
  inventoryItemId?: string | undefined;
2831
2831
  confidence?: number | undefined;
@@ -2857,9 +2857,9 @@ export declare const fieldMonitoringRouter: {
2857
2857
  summary: z.ZodOptional<z.ZodString>;
2858
2858
  }, "strip", z.ZodTypeAny, {
2859
2859
  fertilizer: {
2860
+ reason: string;
2860
2861
  quantity: number;
2861
2862
  unit: string;
2862
- reason: string;
2863
2863
  productName?: string | undefined;
2864
2864
  inventoryItemId?: string | undefined;
2865
2865
  confidence?: number | undefined;
@@ -2892,9 +2892,9 @@ export declare const fieldMonitoringRouter: {
2892
2892
  }[] | undefined;
2893
2893
  }, {
2894
2894
  fertilizer: {
2895
+ reason: string;
2895
2896
  quantity: number;
2896
2897
  unit: string;
2897
- reason: string;
2898
2898
  productName?: string | undefined;
2899
2899
  inventoryItemId?: string | undefined;
2900
2900
  confidence?: number | undefined;
@@ -2949,9 +2949,9 @@ export declare const fieldMonitoringRouter: {
2949
2949
  };
2950
2950
  recommendations: {
2951
2951
  fertilizer: {
2952
+ reason: string;
2952
2953
  quantity: number;
2953
2954
  unit: string;
2954
- reason: string;
2955
2955
  productName?: string | undefined;
2956
2956
  inventoryItemId?: string | undefined;
2957
2957
  confidence?: number | undefined;
@@ -3135,9 +3135,9 @@ export declare const fieldMonitoringRouter: {
3135
3135
  };
3136
3136
  recommendations: {
3137
3137
  fertilizer: {
3138
+ reason: string;
3138
3139
  quantity: number;
3139
3140
  unit: string;
3140
- reason: string;
3141
3141
  productName?: string | undefined;
3142
3142
  inventoryItemId?: string | undefined;
3143
3143
  confidence?: number | undefined;
@@ -620,7 +620,7 @@ export declare const fieldObservationsRouter: {
620
620
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
621
621
  userNotes: string | null;
622
622
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
623
- analysisStatus: "pending" | "completed" | "failed" | "processing";
623
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
624
624
  analysisCompletedAt: Date | null;
625
625
  identifiedCrop: string | null;
626
626
  identifiedCropConfidence: number | null;
@@ -703,7 +703,7 @@ export declare const fieldObservationsRouter: {
703
703
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
704
704
  userNotes: string | null;
705
705
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
706
- analysisStatus: "pending" | "completed" | "failed" | "processing";
706
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
707
707
  analysisCompletedAt: Date | null;
708
708
  identifiedCrop: string | null;
709
709
  identifiedCropConfidence: number | null;
@@ -793,7 +793,7 @@ export declare const fieldObservationsRouter: {
793
793
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
794
794
  userNotes: string | null;
795
795
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
796
- analysisStatus: "pending" | "completed" | "failed" | "processing";
796
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
797
797
  analysisCompletedAt: Date | null;
798
798
  identifiedCrop: string | null;
799
799
  identifiedCropConfidence: number | null;
@@ -883,7 +883,7 @@ export declare const fieldObservationsRouter: {
883
883
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
884
884
  userNotes: string | null;
885
885
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
886
- analysisStatus: "pending" | "completed" | "failed" | "processing";
886
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
887
887
  analysisCompletedAt: Date | null;
888
888
  identifiedCrop: string | null;
889
889
  identifiedCropConfidence: number | null;
@@ -999,7 +999,7 @@ export declare const fieldObservationsRouter: {
999
999
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
1000
1000
  userNotes: string | null;
1001
1001
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
1002
- analysisStatus: "pending" | "completed" | "failed" | "processing";
1002
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
1003
1003
  analysisCompletedAt: Date | null;
1004
1004
  identifiedCrop: string | null;
1005
1005
  identifiedCropConfidence: number | null;
@@ -1101,7 +1101,7 @@ export declare const fieldObservationsRouter: {
1101
1101
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
1102
1102
  userNotes: string | null;
1103
1103
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
1104
- analysisStatus: "pending" | "completed" | "failed" | "processing";
1104
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
1105
1105
  analysisCompletedAt: Date | null;
1106
1106
  identifiedCrop: string | null;
1107
1107
  identifiedCropConfidence: number | null;
@@ -1188,7 +1188,7 @@ export declare const fieldObservationsRouter: {
1188
1188
  'page[size]'?: number | undefined;
1189
1189
  'filter[startDate]'?: string | undefined;
1190
1190
  'filter[endDate]'?: string | undefined;
1191
- 'filter[status]'?: "pending" | "completed" | "failed" | "processing" | undefined;
1191
+ 'filter[status]'?: "pending" | "failed" | "processing" | "completed" | undefined;
1192
1192
  'filter[crop]'?: string | undefined;
1193
1193
  'filter[fieldId]'?: string | undefined;
1194
1194
  'filter[observationType]'?: string | undefined;
@@ -1198,7 +1198,7 @@ export declare const fieldObservationsRouter: {
1198
1198
  'page[size]'?: number | undefined;
1199
1199
  'filter[startDate]'?: string | undefined;
1200
1200
  'filter[endDate]'?: string | undefined;
1201
- 'filter[status]'?: "pending" | "completed" | "failed" | "processing" | undefined;
1201
+ 'filter[status]'?: "pending" | "failed" | "processing" | "completed" | undefined;
1202
1202
  'filter[crop]'?: string | undefined;
1203
1203
  'filter[fieldId]'?: string | undefined;
1204
1204
  'filter[observationType]'?: string | undefined;
@@ -1477,7 +1477,7 @@ export declare const fieldObservationsRouter: {
1477
1477
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
1478
1478
  userNotes: string | null;
1479
1479
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
1480
- analysisStatus: "pending" | "completed" | "failed" | "processing";
1480
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
1481
1481
  analysisCompletedAt: Date | null;
1482
1482
  identifiedCrop: string | null;
1483
1483
  identifiedCropConfidence: number | null;
@@ -1560,7 +1560,7 @@ export declare const fieldObservationsRouter: {
1560
1560
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
1561
1561
  userNotes: string | null;
1562
1562
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
1563
- analysisStatus: "pending" | "completed" | "failed" | "processing";
1563
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
1564
1564
  analysisCompletedAt: Date | null;
1565
1565
  identifiedCrop: string | null;
1566
1566
  identifiedCropConfidence: number | null;
@@ -1650,7 +1650,7 @@ export declare const fieldObservationsRouter: {
1650
1650
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
1651
1651
  userNotes: string | null;
1652
1652
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
1653
- analysisStatus: "pending" | "completed" | "failed" | "processing";
1653
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
1654
1654
  analysisCompletedAt: Date | null;
1655
1655
  identifiedCrop: string | null;
1656
1656
  identifiedCropConfidence: number | null;
@@ -1740,7 +1740,7 @@ export declare const fieldObservationsRouter: {
1740
1740
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
1741
1741
  userNotes: string | null;
1742
1742
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
1743
- analysisStatus: "pending" | "completed" | "failed" | "processing";
1743
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
1744
1744
  analysisCompletedAt: Date | null;
1745
1745
  identifiedCrop: string | null;
1746
1746
  identifiedCropConfidence: number | null;
@@ -1856,7 +1856,7 @@ export declare const fieldObservationsRouter: {
1856
1856
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
1857
1857
  userNotes: string | null;
1858
1858
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
1859
- analysisStatus: "pending" | "completed" | "failed" | "processing";
1859
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
1860
1860
  analysisCompletedAt: Date | null;
1861
1861
  identifiedCrop: string | null;
1862
1862
  identifiedCropConfidence: number | null;
@@ -1958,7 +1958,7 @@ export declare const fieldObservationsRouter: {
1958
1958
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
1959
1959
  userNotes: string | null;
1960
1960
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
1961
- analysisStatus: "pending" | "completed" | "failed" | "processing";
1961
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
1962
1962
  analysisCompletedAt: Date | null;
1963
1963
  identifiedCrop: string | null;
1964
1964
  identifiedCropConfidence: number | null;
@@ -2045,7 +2045,7 @@ export declare const fieldObservationsRouter: {
2045
2045
  'page[size]'?: number | undefined;
2046
2046
  'filter[startDate]'?: string | undefined;
2047
2047
  'filter[endDate]'?: string | undefined;
2048
- 'filter[status]'?: "pending" | "completed" | "failed" | "processing" | undefined;
2048
+ 'filter[status]'?: "pending" | "failed" | "processing" | "completed" | undefined;
2049
2049
  'filter[crop]'?: string | undefined;
2050
2050
  'filter[fieldId]'?: string | undefined;
2051
2051
  'filter[observationType]'?: string | undefined;
@@ -2055,7 +2055,7 @@ export declare const fieldObservationsRouter: {
2055
2055
  'page[size]'?: number | undefined;
2056
2056
  'filter[startDate]'?: string | undefined;
2057
2057
  'filter[endDate]'?: string | undefined;
2058
- 'filter[status]'?: "pending" | "completed" | "failed" | "processing" | undefined;
2058
+ 'filter[status]'?: "pending" | "failed" | "processing" | "completed" | undefined;
2059
2059
  'filter[crop]'?: string | undefined;
2060
2060
  'filter[fieldId]'?: string | undefined;
2061
2061
  'filter[observationType]'?: string | undefined;
@@ -2334,7 +2334,7 @@ export declare const fieldObservationsRouter: {
2334
2334
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
2335
2335
  userNotes: string | null;
2336
2336
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
2337
- analysisStatus: "pending" | "completed" | "failed" | "processing";
2337
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
2338
2338
  analysisCompletedAt: Date | null;
2339
2339
  identifiedCrop: string | null;
2340
2340
  identifiedCropConfidence: number | null;
@@ -2417,7 +2417,7 @@ export declare const fieldObservationsRouter: {
2417
2417
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
2418
2418
  userNotes: string | null;
2419
2419
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
2420
- analysisStatus: "pending" | "completed" | "failed" | "processing";
2420
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
2421
2421
  analysisCompletedAt: Date | null;
2422
2422
  identifiedCrop: string | null;
2423
2423
  identifiedCropConfidence: number | null;
@@ -2507,7 +2507,7 @@ export declare const fieldObservationsRouter: {
2507
2507
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
2508
2508
  userNotes: string | null;
2509
2509
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
2510
- analysisStatus: "pending" | "completed" | "failed" | "processing";
2510
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
2511
2511
  analysisCompletedAt: Date | null;
2512
2512
  identifiedCrop: string | null;
2513
2513
  identifiedCropConfidence: number | null;
@@ -2597,7 +2597,7 @@ export declare const fieldObservationsRouter: {
2597
2597
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
2598
2598
  userNotes: string | null;
2599
2599
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
2600
- analysisStatus: "pending" | "completed" | "failed" | "processing";
2600
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
2601
2601
  analysisCompletedAt: Date | null;
2602
2602
  identifiedCrop: string | null;
2603
2603
  identifiedCropConfidence: number | null;
@@ -2713,7 +2713,7 @@ export declare const fieldObservationsRouter: {
2713
2713
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
2714
2714
  userNotes: string | null;
2715
2715
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
2716
- analysisStatus: "pending" | "completed" | "failed" | "processing";
2716
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
2717
2717
  analysisCompletedAt: Date | null;
2718
2718
  identifiedCrop: string | null;
2719
2719
  identifiedCropConfidence: number | null;
@@ -2815,7 +2815,7 @@ export declare const fieldObservationsRouter: {
2815
2815
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
2816
2816
  userNotes: string | null;
2817
2817
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
2818
- analysisStatus: "pending" | "completed" | "failed" | "processing";
2818
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
2819
2819
  analysisCompletedAt: Date | null;
2820
2820
  identifiedCrop: string | null;
2821
2821
  identifiedCropConfidence: number | null;
@@ -3191,7 +3191,7 @@ export declare const fieldObservationsRouter: {
3191
3191
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
3192
3192
  userNotes: string | null;
3193
3193
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
3194
- analysisStatus: "pending" | "completed" | "failed" | "processing";
3194
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
3195
3195
  analysisCompletedAt: Date | null;
3196
3196
  identifiedCrop: string | null;
3197
3197
  identifiedCropConfidence: number | null;
@@ -3274,7 +3274,7 @@ export declare const fieldObservationsRouter: {
3274
3274
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
3275
3275
  userNotes: string | null;
3276
3276
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
3277
- analysisStatus: "pending" | "completed" | "failed" | "processing";
3277
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
3278
3278
  analysisCompletedAt: Date | null;
3279
3279
  identifiedCrop: string | null;
3280
3280
  identifiedCropConfidence: number | null;
@@ -3364,7 +3364,7 @@ export declare const fieldObservationsRouter: {
3364
3364
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
3365
3365
  userNotes: string | null;
3366
3366
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
3367
- analysisStatus: "pending" | "completed" | "failed" | "processing";
3367
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
3368
3368
  analysisCompletedAt: Date | null;
3369
3369
  identifiedCrop: string | null;
3370
3370
  identifiedCropConfidence: number | null;
@@ -3454,7 +3454,7 @@ export declare const fieldObservationsRouter: {
3454
3454
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
3455
3455
  userNotes: string | null;
3456
3456
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
3457
- analysisStatus: "pending" | "completed" | "failed" | "processing";
3457
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
3458
3458
  analysisCompletedAt: Date | null;
3459
3459
  identifiedCrop: string | null;
3460
3460
  identifiedCropConfidence: number | null;
@@ -3570,7 +3570,7 @@ export declare const fieldObservationsRouter: {
3570
3570
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
3571
3571
  userNotes: string | null;
3572
3572
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
3573
- analysisStatus: "pending" | "completed" | "failed" | "processing";
3573
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
3574
3574
  analysisCompletedAt: Date | null;
3575
3575
  identifiedCrop: string | null;
3576
3576
  identifiedCropConfidence: number | null;
@@ -3672,7 +3672,7 @@ export declare const fieldObservationsRouter: {
3672
3672
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
3673
3673
  userNotes: string | null;
3674
3674
  cropStageAtTime: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | null;
3675
- analysisStatus: "pending" | "completed" | "failed" | "processing";
3675
+ analysisStatus: "pending" | "failed" | "processing" | "completed";
3676
3676
  analysisCompletedAt: Date | null;
3677
3677
  identifiedCrop: string | null;
3678
3678
  identifiedCropConfidence: number | null;
@@ -36,6 +36,19 @@ export declare const healthRouter: {
36
36
  message?: string | undefined;
37
37
  responseTime?: number | undefined;
38
38
  }>;
39
+ queue: import("zod").ZodOptional<import("zod").ZodObject<{
40
+ status: import("zod").ZodEnum<["healthy", "unhealthy", "degraded"]>;
41
+ message: import("zod").ZodOptional<import("zod").ZodString>;
42
+ responseTime: import("zod").ZodOptional<import("zod").ZodNumber>;
43
+ }, "strip", import("zod").ZodTypeAny, {
44
+ status: "healthy" | "unhealthy" | "degraded";
45
+ message?: string | undefined;
46
+ responseTime?: number | undefined;
47
+ }, {
48
+ status: "healthy" | "unhealthy" | "degraded";
49
+ message?: string | undefined;
50
+ responseTime?: number | undefined;
51
+ }>>;
39
52
  storage: import("zod").ZodOptional<import("zod").ZodObject<{
40
53
  status: import("zod").ZodEnum<["healthy", "unhealthy", "degraded"]>;
41
54
  message: import("zod").ZodOptional<import("zod").ZodString>;
@@ -73,6 +86,11 @@ export declare const healthRouter: {
73
86
  message?: string | undefined;
74
87
  responseTime?: number | undefined;
75
88
  };
89
+ queue?: {
90
+ status: "healthy" | "unhealthy" | "degraded";
91
+ message?: string | undefined;
92
+ responseTime?: number | undefined;
93
+ } | undefined;
76
94
  storage?: {
77
95
  status: "healthy" | "unhealthy" | "degraded";
78
96
  message?: string | undefined;
@@ -94,6 +112,11 @@ export declare const healthRouter: {
94
112
  message?: string | undefined;
95
113
  responseTime?: number | undefined;
96
114
  };
115
+ queue?: {
116
+ status: "healthy" | "unhealthy" | "degraded";
117
+ message?: string | undefined;
118
+ responseTime?: number | undefined;
119
+ } | undefined;
97
120
  storage?: {
98
121
  status: "healthy" | "unhealthy" | "degraded";
99
122
  message?: string | undefined;
@@ -120,6 +143,11 @@ export declare const healthRouter: {
120
143
  message?: string | undefined;
121
144
  responseTime?: number | undefined;
122
145
  };
146
+ queue?: {
147
+ status: "healthy" | "unhealthy" | "degraded";
148
+ message?: string | undefined;
149
+ responseTime?: number | undefined;
150
+ } | undefined;
123
151
  storage?: {
124
152
  status: "healthy" | "unhealthy" | "degraded";
125
153
  message?: string | undefined;
@@ -146,6 +174,11 @@ export declare const healthRouter: {
146
174
  message?: string | undefined;
147
175
  responseTime?: number | undefined;
148
176
  };
177
+ queue?: {
178
+ status: "healthy" | "unhealthy" | "degraded";
179
+ message?: string | undefined;
180
+ responseTime?: number | undefined;
181
+ } | undefined;
149
182
  storage?: {
150
183
  status: "healthy" | "unhealthy" | "degraded";
151
184
  message?: string | undefined;
@@ -189,6 +222,19 @@ export declare const healthRouter: {
189
222
  message?: string | undefined;
190
223
  responseTime?: number | undefined;
191
224
  }>;
225
+ queue: import("zod").ZodOptional<import("zod").ZodObject<{
226
+ status: import("zod").ZodEnum<["healthy", "unhealthy", "degraded"]>;
227
+ message: import("zod").ZodOptional<import("zod").ZodString>;
228
+ responseTime: import("zod").ZodOptional<import("zod").ZodNumber>;
229
+ }, "strip", import("zod").ZodTypeAny, {
230
+ status: "healthy" | "unhealthy" | "degraded";
231
+ message?: string | undefined;
232
+ responseTime?: number | undefined;
233
+ }, {
234
+ status: "healthy" | "unhealthy" | "degraded";
235
+ message?: string | undefined;
236
+ responseTime?: number | undefined;
237
+ }>>;
192
238
  storage: import("zod").ZodOptional<import("zod").ZodObject<{
193
239
  status: import("zod").ZodEnum<["healthy", "unhealthy", "degraded"]>;
194
240
  message: import("zod").ZodOptional<import("zod").ZodString>;
@@ -226,6 +272,11 @@ export declare const healthRouter: {
226
272
  message?: string | undefined;
227
273
  responseTime?: number | undefined;
228
274
  };
275
+ queue?: {
276
+ status: "healthy" | "unhealthy" | "degraded";
277
+ message?: string | undefined;
278
+ responseTime?: number | undefined;
279
+ } | undefined;
229
280
  storage?: {
230
281
  status: "healthy" | "unhealthy" | "degraded";
231
282
  message?: string | undefined;
@@ -247,6 +298,11 @@ export declare const healthRouter: {
247
298
  message?: string | undefined;
248
299
  responseTime?: number | undefined;
249
300
  };
301
+ queue?: {
302
+ status: "healthy" | "unhealthy" | "degraded";
303
+ message?: string | undefined;
304
+ responseTime?: number | undefined;
305
+ } | undefined;
250
306
  storage?: {
251
307
  status: "healthy" | "unhealthy" | "degraded";
252
308
  message?: string | undefined;
@@ -273,6 +329,11 @@ export declare const healthRouter: {
273
329
  message?: string | undefined;
274
330
  responseTime?: number | undefined;
275
331
  };
332
+ queue?: {
333
+ status: "healthy" | "unhealthy" | "degraded";
334
+ message?: string | undefined;
335
+ responseTime?: number | undefined;
336
+ } | undefined;
276
337
  storage?: {
277
338
  status: "healthy" | "unhealthy" | "degraded";
278
339
  message?: string | undefined;
@@ -299,6 +360,11 @@ export declare const healthRouter: {
299
360
  message?: string | undefined;
300
361
  responseTime?: number | undefined;
301
362
  };
363
+ queue?: {
364
+ status: "healthy" | "unhealthy" | "degraded";
365
+ message?: string | undefined;
366
+ responseTime?: number | undefined;
367
+ } | undefined;
302
368
  storage?: {
303
369
  status: "healthy" | "unhealthy" | "degraded";
304
370
  message?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"health.routes.d.ts","sourceRoot":"","sources":["../../src/routes/health.routes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWvB,CAAC"}
1
+ {"version":3,"file":"health.routes.d.ts","sourceRoot":"","sources":["../../src/routes/health.routes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWvB,CAAC"}
@@ -3575,9 +3575,9 @@ export declare const livestockGroupsRouter: {
3575
3575
  notes: z.ZodNullable<z.ZodString>;
3576
3576
  }, "strip", z.ZodTypeAny, {
3577
3577
  id: string;
3578
+ reason: string | null;
3578
3579
  currency: string;
3579
3580
  notes: string | null;
3580
- reason: string | null;
3581
3581
  movementDate: string;
3582
3582
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3583
3583
  fromLocation: string | null;
@@ -3587,8 +3587,8 @@ export declare const livestockGroupsRouter: {
3587
3587
  documentRef: string | null;
3588
3588
  }, {
3589
3589
  id: string;
3590
- notes: string | null;
3591
3590
  reason: string | null;
3591
+ notes: string | null;
3592
3592
  movementDate: string;
3593
3593
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3594
3594
  fromLocation: string | null;
@@ -3659,9 +3659,9 @@ export declare const livestockGroupsRouter: {
3659
3659
  }[] | undefined;
3660
3660
  recentMovements?: {
3661
3661
  id: string;
3662
+ reason: string | null;
3662
3663
  currency: string;
3663
3664
  notes: string | null;
3664
- reason: string | null;
3665
3665
  movementDate: string;
3666
3666
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3667
3667
  fromLocation: string | null;
@@ -3728,8 +3728,8 @@ export declare const livestockGroupsRouter: {
3728
3728
  }[] | undefined;
3729
3729
  recentMovements?: {
3730
3730
  id: string;
3731
- notes: string | null;
3732
3731
  reason: string | null;
3732
+ notes: string | null;
3733
3733
  movementDate: string;
3734
3734
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3735
3735
  fromLocation: string | null;
@@ -3804,9 +3804,9 @@ export declare const livestockGroupsRouter: {
3804
3804
  }[] | undefined;
3805
3805
  recentMovements?: {
3806
3806
  id: string;
3807
+ reason: string | null;
3807
3808
  currency: string;
3808
3809
  notes: string | null;
3809
- reason: string | null;
3810
3810
  movementDate: string;
3811
3811
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3812
3812
  fromLocation: string | null;
@@ -3880,8 +3880,8 @@ export declare const livestockGroupsRouter: {
3880
3880
  }[] | undefined;
3881
3881
  recentMovements?: {
3882
3882
  id: string;
3883
- notes: string | null;
3884
3883
  reason: string | null;
3884
+ notes: string | null;
3885
3885
  movementDate: string;
3886
3886
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3887
3887
  fromLocation: string | null;
@@ -3982,9 +3982,9 @@ export declare const livestockGroupsRouter: {
3982
3982
  }[] | undefined;
3983
3983
  recentMovements?: {
3984
3984
  id: string;
3985
+ reason: string | null;
3985
3986
  currency: string;
3986
3987
  notes: string | null;
3987
- reason: string | null;
3988
3988
  movementDate: string;
3989
3989
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3990
3990
  fromLocation: string | null;
@@ -4070,8 +4070,8 @@ export declare const livestockGroupsRouter: {
4070
4070
  }[] | undefined;
4071
4071
  recentMovements?: {
4072
4072
  id: string;
4073
- notes: string | null;
4074
4073
  reason: string | null;
4074
+ notes: string | null;
4075
4075
  movementDate: string;
4076
4076
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
4077
4077
  fromLocation: string | null;