@deepintel-ltd/farmpro-contracts 1.11.8 → 1.11.10

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 (43) hide show
  1. package/dist/index.d.ts +5 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +3 -0
  4. package/dist/routes/agents.routes.d.ts +142 -0
  5. package/dist/routes/agents.routes.d.ts.map +1 -1
  6. package/dist/routes/equipment.routes.d.ts +36 -36
  7. package/dist/routes/extension.routes.d.ts +12 -12
  8. package/dist/routes/fertigation.routes.d.ts +156 -156
  9. package/dist/routes/field-activities.routes.d.ts +2397 -0
  10. package/dist/routes/field-activities.routes.d.ts.map +1 -0
  11. package/dist/routes/field-activities.routes.js +81 -0
  12. package/dist/routes/fields.routes.d.ts +867 -0
  13. package/dist/routes/fields.routes.d.ts.map +1 -1
  14. package/dist/routes/fields.routes.js +20 -1
  15. package/dist/routes/index.d.ts +6 -0
  16. package/dist/routes/index.d.ts.map +1 -1
  17. package/dist/routes/index.js +4 -0
  18. package/dist/routes/irrigation.routes.d.ts +20 -20
  19. package/dist/routes/livestock-groups.routes.d.ts +36 -36
  20. package/dist/routes/livestock.routes.d.ts +30 -30
  21. package/dist/routes/market-intelligence.routes.d.ts +364 -0
  22. package/dist/routes/market-intelligence.routes.d.ts.map +1 -0
  23. package/dist/routes/market-intelligence.routes.js +45 -0
  24. package/dist/routes/soil-tests.routes.d.ts +36 -36
  25. package/dist/routes/tasks.routes.d.ts +120 -120
  26. package/dist/schemas/agents.schemas.d.ts +163 -0
  27. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  28. package/dist/schemas/agents.schemas.js +23 -0
  29. package/dist/schemas/equipment.schemas.d.ts +30 -30
  30. package/dist/schemas/extension.schemas.d.ts +18 -18
  31. package/dist/schemas/fertigation.schemas.d.ts +42 -42
  32. package/dist/schemas/field-activities.schemas.d.ts +806 -0
  33. package/dist/schemas/field-activities.schemas.d.ts.map +1 -0
  34. package/dist/schemas/field-activities.schemas.js +68 -0
  35. package/dist/schemas/fields.schemas.d.ts +181 -0
  36. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  37. package/dist/schemas/fields.schemas.js +16 -0
  38. package/dist/schemas/irrigation.schemas.d.ts +14 -14
  39. package/dist/schemas/livestock-groups.schemas.d.ts +24 -24
  40. package/dist/schemas/livestock.schemas.d.ts +24 -24
  41. package/dist/schemas/soil-tests.schemas.d.ts +34 -34
  42. package/dist/schemas/tasks.schemas.d.ts +96 -96
  43. package/package.json +1 -1
@@ -209,8 +209,8 @@ export declare const livestockRouter: {
209
209
  farmId: string;
210
210
  location: string | null;
211
211
  currency: string;
212
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
213
212
  notes: string | null;
213
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
214
214
  purchasePrice: number | null;
215
215
  currentValue: number | null;
216
216
  weight: number | null;
@@ -277,8 +277,8 @@ export declare const livestockRouter: {
277
277
  name: string | null;
278
278
  farmId: string;
279
279
  location: string | null;
280
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
281
280
  notes: string | null;
281
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
282
282
  purchasePrice: number | null;
283
283
  currentValue: number | null;
284
284
  weight: number | null;
@@ -354,8 +354,8 @@ export declare const livestockRouter: {
354
354
  farmId: string;
355
355
  location: string | null;
356
356
  currency: string;
357
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
358
357
  notes: string | null;
358
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
359
359
  purchasePrice: number | null;
360
360
  currentValue: number | null;
361
361
  weight: number | null;
@@ -429,8 +429,8 @@ export declare const livestockRouter: {
429
429
  name: string | null;
430
430
  farmId: string;
431
431
  location: string | null;
432
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
433
432
  notes: string | null;
433
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
434
434
  purchasePrice: number | null;
435
435
  currentValue: number | null;
436
436
  weight: number | null;
@@ -532,8 +532,8 @@ export declare const livestockRouter: {
532
532
  farmId: string;
533
533
  location: string | null;
534
534
  currency: string;
535
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
536
535
  notes: string | null;
536
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
537
537
  purchasePrice: number | null;
538
538
  currentValue: number | null;
539
539
  weight: number | null;
@@ -619,8 +619,8 @@ export declare const livestockRouter: {
619
619
  name: string | null;
620
620
  farmId: string;
621
621
  location: string | null;
622
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
623
622
  notes: string | null;
623
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
624
624
  purchasePrice: number | null;
625
625
  currentValue: number | null;
626
626
  weight: number | null;
@@ -1464,8 +1464,8 @@ export declare const livestockRouter: {
1464
1464
  farmId: string;
1465
1465
  location: string | null;
1466
1466
  currency: string;
1467
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1468
1467
  notes: string | null;
1468
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1469
1469
  purchasePrice: number | null;
1470
1470
  currentValue: number | null;
1471
1471
  weight: number | null;
@@ -1532,8 +1532,8 @@ export declare const livestockRouter: {
1532
1532
  name: string | null;
1533
1533
  farmId: string;
1534
1534
  location: string | null;
1535
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1536
1535
  notes: string | null;
1536
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1537
1537
  purchasePrice: number | null;
1538
1538
  currentValue: number | null;
1539
1539
  weight: number | null;
@@ -1609,8 +1609,8 @@ export declare const livestockRouter: {
1609
1609
  farmId: string;
1610
1610
  location: string | null;
1611
1611
  currency: string;
1612
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1613
1612
  notes: string | null;
1613
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1614
1614
  purchasePrice: number | null;
1615
1615
  currentValue: number | null;
1616
1616
  weight: number | null;
@@ -1684,8 +1684,8 @@ export declare const livestockRouter: {
1684
1684
  name: string | null;
1685
1685
  farmId: string;
1686
1686
  location: string | null;
1687
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1688
1687
  notes: string | null;
1688
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1689
1689
  purchasePrice: number | null;
1690
1690
  currentValue: number | null;
1691
1691
  weight: number | null;
@@ -1787,8 +1787,8 @@ export declare const livestockRouter: {
1787
1787
  farmId: string;
1788
1788
  location: string | null;
1789
1789
  currency: string;
1790
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1791
1790
  notes: string | null;
1791
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1792
1792
  purchasePrice: number | null;
1793
1793
  currentValue: number | null;
1794
1794
  weight: number | null;
@@ -1874,8 +1874,8 @@ export declare const livestockRouter: {
1874
1874
  name: string | null;
1875
1875
  farmId: string;
1876
1876
  location: string | null;
1877
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1878
1877
  notes: string | null;
1878
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1879
1879
  purchasePrice: number | null;
1880
1880
  currentValue: number | null;
1881
1881
  weight: number | null;
@@ -2583,8 +2583,8 @@ export declare const livestockRouter: {
2583
2583
  farmId: string;
2584
2584
  location: string | null;
2585
2585
  currency: string;
2586
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2587
2586
  notes: string | null;
2587
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2588
2588
  purchasePrice: number | null;
2589
2589
  currentValue: number | null;
2590
2590
  weight: number | null;
@@ -2651,8 +2651,8 @@ export declare const livestockRouter: {
2651
2651
  name: string | null;
2652
2652
  farmId: string;
2653
2653
  location: string | null;
2654
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2655
2654
  notes: string | null;
2655
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2656
2656
  purchasePrice: number | null;
2657
2657
  currentValue: number | null;
2658
2658
  weight: number | null;
@@ -2728,8 +2728,8 @@ export declare const livestockRouter: {
2728
2728
  farmId: string;
2729
2729
  location: string | null;
2730
2730
  currency: string;
2731
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2732
2731
  notes: string | null;
2732
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2733
2733
  purchasePrice: number | null;
2734
2734
  currentValue: number | null;
2735
2735
  weight: number | null;
@@ -2803,8 +2803,8 @@ export declare const livestockRouter: {
2803
2803
  name: string | null;
2804
2804
  farmId: string;
2805
2805
  location: string | null;
2806
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2807
2806
  notes: string | null;
2807
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2808
2808
  purchasePrice: number | null;
2809
2809
  currentValue: number | null;
2810
2810
  weight: number | null;
@@ -2906,8 +2906,8 @@ export declare const livestockRouter: {
2906
2906
  farmId: string;
2907
2907
  location: string | null;
2908
2908
  currency: string;
2909
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2910
2909
  notes: string | null;
2910
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2911
2911
  purchasePrice: number | null;
2912
2912
  currentValue: number | null;
2913
2913
  weight: number | null;
@@ -2993,8 +2993,8 @@ export declare const livestockRouter: {
2993
2993
  name: string | null;
2994
2994
  farmId: string;
2995
2995
  location: string | null;
2996
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2997
2996
  notes: string | null;
2997
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2998
2998
  purchasePrice: number | null;
2999
2999
  currentValue: number | null;
3000
3000
  weight: number | null;
@@ -3296,8 +3296,8 @@ export declare const livestockRouter: {
3296
3296
  name?: string | null | undefined;
3297
3297
  location?: string | null | undefined;
3298
3298
  currency?: string | undefined;
3299
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3300
3299
  notes?: string | null | undefined;
3300
+ category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3301
3301
  purchasePrice?: number | null | undefined;
3302
3302
  currentValue?: number | null | undefined;
3303
3303
  weight?: number | null | undefined;
@@ -3316,8 +3316,8 @@ export declare const livestockRouter: {
3316
3316
  name?: string | null | undefined;
3317
3317
  location?: string | null | undefined;
3318
3318
  currency?: string | undefined;
3319
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3320
3319
  notes?: string | null | undefined;
3320
+ category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3321
3321
  purchasePrice?: number | null | undefined;
3322
3322
  currentValue?: number | null | undefined;
3323
3323
  weight?: number | null | undefined;
@@ -3340,8 +3340,8 @@ export declare const livestockRouter: {
3340
3340
  name?: string | null | undefined;
3341
3341
  location?: string | null | undefined;
3342
3342
  currency?: string | undefined;
3343
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3344
3343
  notes?: string | null | undefined;
3344
+ category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3345
3345
  purchasePrice?: number | null | undefined;
3346
3346
  currentValue?: number | null | undefined;
3347
3347
  weight?: number | null | undefined;
@@ -3364,8 +3364,8 @@ export declare const livestockRouter: {
3364
3364
  name?: string | null | undefined;
3365
3365
  location?: string | null | undefined;
3366
3366
  currency?: string | undefined;
3367
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3368
3367
  notes?: string | null | undefined;
3368
+ category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3369
3369
  purchasePrice?: number | null | undefined;
3370
3370
  currentValue?: number | null | undefined;
3371
3371
  weight?: number | null | undefined;
@@ -3390,8 +3390,8 @@ export declare const livestockRouter: {
3390
3390
  name?: string | null | undefined;
3391
3391
  location?: string | null | undefined;
3392
3392
  currency?: string | undefined;
3393
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3394
3393
  notes?: string | null | undefined;
3394
+ category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3395
3395
  purchasePrice?: number | null | undefined;
3396
3396
  currentValue?: number | null | undefined;
3397
3397
  weight?: number | null | undefined;
@@ -3416,8 +3416,8 @@ export declare const livestockRouter: {
3416
3416
  name?: string | null | undefined;
3417
3417
  location?: string | null | undefined;
3418
3418
  currency?: string | undefined;
3419
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3420
3419
  notes?: string | null | undefined;
3420
+ category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3421
3421
  purchasePrice?: number | null | undefined;
3422
3422
  currentValue?: number | null | undefined;
3423
3423
  weight?: number | null | undefined;
@@ -3592,8 +3592,8 @@ export declare const livestockRouter: {
3592
3592
  farmId: string;
3593
3593
  location: string | null;
3594
3594
  currency: string;
3595
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3596
3595
  notes: string | null;
3596
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3597
3597
  purchasePrice: number | null;
3598
3598
  currentValue: number | null;
3599
3599
  weight: number | null;
@@ -3660,8 +3660,8 @@ export declare const livestockRouter: {
3660
3660
  name: string | null;
3661
3661
  farmId: string;
3662
3662
  location: string | null;
3663
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3664
3663
  notes: string | null;
3664
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3665
3665
  purchasePrice: number | null;
3666
3666
  currentValue: number | null;
3667
3667
  weight: number | null;
@@ -3737,8 +3737,8 @@ export declare const livestockRouter: {
3737
3737
  farmId: string;
3738
3738
  location: string | null;
3739
3739
  currency: string;
3740
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3741
3740
  notes: string | null;
3741
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3742
3742
  purchasePrice: number | null;
3743
3743
  currentValue: number | null;
3744
3744
  weight: number | null;
@@ -3812,8 +3812,8 @@ export declare const livestockRouter: {
3812
3812
  name: string | null;
3813
3813
  farmId: string;
3814
3814
  location: string | null;
3815
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3816
3815
  notes: string | null;
3816
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3817
3817
  purchasePrice: number | null;
3818
3818
  currentValue: number | null;
3819
3819
  weight: number | null;
@@ -3915,8 +3915,8 @@ export declare const livestockRouter: {
3915
3915
  farmId: string;
3916
3916
  location: string | null;
3917
3917
  currency: string;
3918
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3919
3918
  notes: string | null;
3919
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3920
3920
  purchasePrice: number | null;
3921
3921
  currentValue: number | null;
3922
3922
  weight: number | null;
@@ -4002,8 +4002,8 @@ export declare const livestockRouter: {
4002
4002
  name: string | null;
4003
4003
  farmId: string;
4004
4004
  location: string | null;
4005
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
4006
4005
  notes: string | null;
4006
+ category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
4007
4007
  purchasePrice: number | null;
4008
4008
  currentValue: number | null;
4009
4009
  weight: number | null;
@@ -0,0 +1,364 @@
1
+ import { z } from 'zod';
2
+ export declare const marketIntelligenceOverviewSchema: z.ZodObject<{
3
+ farmId: z.ZodString;
4
+ domesticSummary: z.ZodNullable<z.ZodObject<{
5
+ title: z.ZodString;
6
+ analysis: z.ZodString;
7
+ keyTakeaway: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ title: string;
10
+ analysis: string;
11
+ keyTakeaway: string;
12
+ }, {
13
+ title: string;
14
+ analysis: string;
15
+ keyTakeaway: string;
16
+ }>>;
17
+ exportSummary: z.ZodNullable<z.ZodObject<{
18
+ title: z.ZodString;
19
+ analysis: z.ZodString;
20
+ keyTakeaway: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ title: string;
23
+ analysis: string;
24
+ keyTakeaway: string;
25
+ }, {
26
+ title: string;
27
+ analysis: string;
28
+ keyTakeaway: string;
29
+ }>>;
30
+ projections: z.ZodArray<z.ZodObject<{
31
+ crop: z.ZodString;
32
+ outlook: z.ZodString;
33
+ details: z.ZodString;
34
+ }, "strip", z.ZodTypeAny, {
35
+ crop: string;
36
+ details: string;
37
+ outlook: string;
38
+ }, {
39
+ crop: string;
40
+ details: string;
41
+ outlook: string;
42
+ }>, "many">;
43
+ eudrAlertTitle: z.ZodNullable<z.ZodString>;
44
+ updatedAt: z.ZodString;
45
+ }, "strip", z.ZodTypeAny, {
46
+ updatedAt: string;
47
+ farmId: string;
48
+ projections: {
49
+ crop: string;
50
+ details: string;
51
+ outlook: string;
52
+ }[];
53
+ domesticSummary: {
54
+ title: string;
55
+ analysis: string;
56
+ keyTakeaway: string;
57
+ } | null;
58
+ exportSummary: {
59
+ title: string;
60
+ analysis: string;
61
+ keyTakeaway: string;
62
+ } | null;
63
+ eudrAlertTitle: string | null;
64
+ }, {
65
+ updatedAt: string;
66
+ farmId: string;
67
+ projections: {
68
+ crop: string;
69
+ details: string;
70
+ outlook: string;
71
+ }[];
72
+ domesticSummary: {
73
+ title: string;
74
+ analysis: string;
75
+ keyTakeaway: string;
76
+ } | null;
77
+ exportSummary: {
78
+ title: string;
79
+ analysis: string;
80
+ keyTakeaway: string;
81
+ } | null;
82
+ eudrAlertTitle: string | null;
83
+ }>;
84
+ export declare const marketIntelligenceRouter: {
85
+ getOverview: {
86
+ pathParams: z.ZodObject<{
87
+ farmId: z.ZodString;
88
+ }, "strip", z.ZodTypeAny, {
89
+ farmId: string;
90
+ }, {
91
+ farmId: string;
92
+ }>;
93
+ summary: "Farm market intelligence overview";
94
+ description: "National market summaries and crop projections for sell-window decisions";
95
+ method: "GET";
96
+ path: "/farms/:farmId/market-intelligence/overview";
97
+ responses: {
98
+ 200: z.ZodObject<{
99
+ farmId: z.ZodString;
100
+ domesticSummary: z.ZodNullable<z.ZodObject<{
101
+ title: z.ZodString;
102
+ analysis: z.ZodString;
103
+ keyTakeaway: z.ZodString;
104
+ }, "strip", z.ZodTypeAny, {
105
+ title: string;
106
+ analysis: string;
107
+ keyTakeaway: string;
108
+ }, {
109
+ title: string;
110
+ analysis: string;
111
+ keyTakeaway: string;
112
+ }>>;
113
+ exportSummary: z.ZodNullable<z.ZodObject<{
114
+ title: z.ZodString;
115
+ analysis: z.ZodString;
116
+ keyTakeaway: z.ZodString;
117
+ }, "strip", z.ZodTypeAny, {
118
+ title: string;
119
+ analysis: string;
120
+ keyTakeaway: string;
121
+ }, {
122
+ title: string;
123
+ analysis: string;
124
+ keyTakeaway: string;
125
+ }>>;
126
+ projections: z.ZodArray<z.ZodObject<{
127
+ crop: z.ZodString;
128
+ outlook: z.ZodString;
129
+ details: z.ZodString;
130
+ }, "strip", z.ZodTypeAny, {
131
+ crop: string;
132
+ details: string;
133
+ outlook: string;
134
+ }, {
135
+ crop: string;
136
+ details: string;
137
+ outlook: string;
138
+ }>, "many">;
139
+ eudrAlertTitle: z.ZodNullable<z.ZodString>;
140
+ updatedAt: z.ZodString;
141
+ }, "strip", z.ZodTypeAny, {
142
+ updatedAt: string;
143
+ farmId: string;
144
+ projections: {
145
+ crop: string;
146
+ details: string;
147
+ outlook: string;
148
+ }[];
149
+ domesticSummary: {
150
+ title: string;
151
+ analysis: string;
152
+ keyTakeaway: string;
153
+ } | null;
154
+ exportSummary: {
155
+ title: string;
156
+ analysis: string;
157
+ keyTakeaway: string;
158
+ } | null;
159
+ eudrAlertTitle: string | null;
160
+ }, {
161
+ updatedAt: string;
162
+ farmId: string;
163
+ projections: {
164
+ crop: string;
165
+ details: string;
166
+ outlook: string;
167
+ }[];
168
+ domesticSummary: {
169
+ title: string;
170
+ analysis: string;
171
+ keyTakeaway: string;
172
+ } | null;
173
+ exportSummary: {
174
+ title: string;
175
+ analysis: string;
176
+ keyTakeaway: string;
177
+ } | null;
178
+ eudrAlertTitle: string | null;
179
+ }>;
180
+ 401: z.ZodObject<{
181
+ errors: z.ZodArray<z.ZodObject<{
182
+ id: z.ZodOptional<z.ZodString>;
183
+ links: z.ZodOptional<z.ZodObject<{
184
+ about: z.ZodOptional<z.ZodString>;
185
+ }, "strip", z.ZodTypeAny, {
186
+ about?: string | undefined;
187
+ }, {
188
+ about?: string | undefined;
189
+ }>>;
190
+ status: z.ZodOptional<z.ZodString>;
191
+ code: z.ZodOptional<z.ZodString>;
192
+ title: z.ZodOptional<z.ZodString>;
193
+ detail: z.ZodOptional<z.ZodString>;
194
+ source: z.ZodOptional<z.ZodObject<{
195
+ pointer: z.ZodOptional<z.ZodString>;
196
+ parameter: z.ZodOptional<z.ZodString>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ pointer?: string | undefined;
199
+ parameter?: string | undefined;
200
+ }, {
201
+ pointer?: string | undefined;
202
+ parameter?: string | undefined;
203
+ }>>;
204
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ status?: string | undefined;
207
+ code?: string | undefined;
208
+ id?: string | undefined;
209
+ links?: {
210
+ about?: string | undefined;
211
+ } | undefined;
212
+ meta?: Record<string, unknown> | undefined;
213
+ title?: string | undefined;
214
+ detail?: string | undefined;
215
+ source?: {
216
+ pointer?: string | undefined;
217
+ parameter?: string | undefined;
218
+ } | undefined;
219
+ }, {
220
+ status?: string | undefined;
221
+ code?: string | undefined;
222
+ id?: string | undefined;
223
+ links?: {
224
+ about?: string | undefined;
225
+ } | undefined;
226
+ meta?: Record<string, unknown> | undefined;
227
+ title?: string | undefined;
228
+ detail?: string | undefined;
229
+ source?: {
230
+ pointer?: string | undefined;
231
+ parameter?: string | undefined;
232
+ } | undefined;
233
+ }>, "many">;
234
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
235
+ }, "strip", z.ZodTypeAny, {
236
+ errors: {
237
+ status?: string | undefined;
238
+ code?: string | undefined;
239
+ id?: string | undefined;
240
+ links?: {
241
+ about?: string | undefined;
242
+ } | undefined;
243
+ meta?: Record<string, unknown> | undefined;
244
+ title?: string | undefined;
245
+ detail?: string | undefined;
246
+ source?: {
247
+ pointer?: string | undefined;
248
+ parameter?: string | undefined;
249
+ } | undefined;
250
+ }[];
251
+ meta?: Record<string, unknown> | undefined;
252
+ }, {
253
+ errors: {
254
+ status?: string | undefined;
255
+ code?: string | undefined;
256
+ id?: string | undefined;
257
+ links?: {
258
+ about?: string | undefined;
259
+ } | undefined;
260
+ meta?: Record<string, unknown> | undefined;
261
+ title?: string | undefined;
262
+ detail?: string | undefined;
263
+ source?: {
264
+ pointer?: string | undefined;
265
+ parameter?: string | undefined;
266
+ } | undefined;
267
+ }[];
268
+ meta?: Record<string, unknown> | undefined;
269
+ }>;
270
+ 404: z.ZodObject<{
271
+ errors: z.ZodArray<z.ZodObject<{
272
+ id: z.ZodOptional<z.ZodString>;
273
+ links: z.ZodOptional<z.ZodObject<{
274
+ about: z.ZodOptional<z.ZodString>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ about?: string | undefined;
277
+ }, {
278
+ about?: string | undefined;
279
+ }>>;
280
+ status: z.ZodOptional<z.ZodString>;
281
+ code: z.ZodOptional<z.ZodString>;
282
+ title: z.ZodOptional<z.ZodString>;
283
+ detail: z.ZodOptional<z.ZodString>;
284
+ source: z.ZodOptional<z.ZodObject<{
285
+ pointer: z.ZodOptional<z.ZodString>;
286
+ parameter: z.ZodOptional<z.ZodString>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ pointer?: string | undefined;
289
+ parameter?: string | undefined;
290
+ }, {
291
+ pointer?: string | undefined;
292
+ parameter?: string | undefined;
293
+ }>>;
294
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
295
+ }, "strip", z.ZodTypeAny, {
296
+ status?: string | undefined;
297
+ code?: string | undefined;
298
+ id?: string | undefined;
299
+ links?: {
300
+ about?: string | undefined;
301
+ } | undefined;
302
+ meta?: Record<string, unknown> | undefined;
303
+ title?: string | undefined;
304
+ detail?: string | undefined;
305
+ source?: {
306
+ pointer?: string | undefined;
307
+ parameter?: string | undefined;
308
+ } | undefined;
309
+ }, {
310
+ status?: string | undefined;
311
+ code?: string | undefined;
312
+ id?: string | undefined;
313
+ links?: {
314
+ about?: string | undefined;
315
+ } | undefined;
316
+ meta?: Record<string, unknown> | undefined;
317
+ title?: string | undefined;
318
+ detail?: string | undefined;
319
+ source?: {
320
+ pointer?: string | undefined;
321
+ parameter?: string | undefined;
322
+ } | undefined;
323
+ }>, "many">;
324
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
325
+ }, "strip", z.ZodTypeAny, {
326
+ errors: {
327
+ status?: string | undefined;
328
+ code?: string | undefined;
329
+ id?: string | undefined;
330
+ links?: {
331
+ about?: string | undefined;
332
+ } | undefined;
333
+ meta?: Record<string, unknown> | undefined;
334
+ title?: string | undefined;
335
+ detail?: string | undefined;
336
+ source?: {
337
+ pointer?: string | undefined;
338
+ parameter?: string | undefined;
339
+ } | undefined;
340
+ }[];
341
+ meta?: Record<string, unknown> | undefined;
342
+ }, {
343
+ errors: {
344
+ status?: string | undefined;
345
+ code?: string | undefined;
346
+ id?: string | undefined;
347
+ links?: {
348
+ about?: string | undefined;
349
+ } | undefined;
350
+ meta?: Record<string, unknown> | undefined;
351
+ title?: string | undefined;
352
+ detail?: string | undefined;
353
+ source?: {
354
+ pointer?: string | undefined;
355
+ parameter?: string | undefined;
356
+ } | undefined;
357
+ }[];
358
+ meta?: Record<string, unknown> | undefined;
359
+ }>;
360
+ };
361
+ };
362
+ };
363
+ export type MarketIntelligenceRouter = typeof marketIntelligenceRouter;
364
+ //# sourceMappingURL=market-intelligence.routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"market-intelligence.routes.d.ts","sourceRoot":"","sources":["../../src/routes/market-intelligence.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB3C,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC"}