@deepintel-ltd/farmpro-contracts 1.36.11 → 1.36.13

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.
@@ -518,6 +518,200 @@ export declare const marketPriceTrendSchema: z.ZodObject<{
518
518
  licence: string;
519
519
  } | null;
520
520
  }>;
521
+ export declare const marketPriceHistorySchema: z.ZodObject<{
522
+ currency: z.ZodString;
523
+ /** Crops that have at least one price point, most recently priced first. */
524
+ crops: z.ZodArray<z.ZodObject<{
525
+ cropKey: z.ZodString;
526
+ label: z.ZodString;
527
+ unit: z.ZodString;
528
+ pointCount: z.ZodNumber;
529
+ latestPrice: z.ZodNumber;
530
+ latestDate: z.ZodString;
531
+ direction: z.ZodNullable<z.ZodEnum<["up", "down", "flat"]>>;
532
+ changePercent: z.ZodNullable<z.ZodNumber>;
533
+ }, "strip", z.ZodTypeAny, {
534
+ unit: string;
535
+ label: string;
536
+ latestDate: string;
537
+ direction: "flat" | "up" | "down" | null;
538
+ changePercent: number | null;
539
+ cropKey: string;
540
+ pointCount: number;
541
+ latestPrice: number;
542
+ }, {
543
+ unit: string;
544
+ label: string;
545
+ latestDate: string;
546
+ direction: "flat" | "up" | "down" | null;
547
+ changePercent: number | null;
548
+ cropKey: string;
549
+ pointCount: number;
550
+ latestPrice: number;
551
+ }>, "many">;
552
+ /** Series for the requested crop (or the most recently priced one). */
553
+ selected: z.ZodNullable<z.ZodObject<{
554
+ cropKey: z.ZodString;
555
+ label: z.ZodString;
556
+ unit: z.ZodString;
557
+ points: z.ZodArray<z.ZodObject<{
558
+ date: z.ZodString;
559
+ price: z.ZodNumber;
560
+ source: z.ZodEnum<["invoice", "waybill", "sale", "report"]>;
561
+ label: z.ZodNullable<z.ZodString>;
562
+ quantityKg: z.ZodNullable<z.ZodNumber>;
563
+ }, "strip", z.ZodTypeAny, {
564
+ date: string;
565
+ source: "invoice" | "sale" | "report" | "waybill";
566
+ label: string | null;
567
+ price: number;
568
+ quantityKg: number | null;
569
+ }, {
570
+ date: string;
571
+ source: "invoice" | "sale" | "report" | "waybill";
572
+ label: string | null;
573
+ price: number;
574
+ quantityKg: number | null;
575
+ }>, "many">;
576
+ /** Points in other units (bags, crates…) left off the chart. */
577
+ excludedCount: z.ZodNumber;
578
+ movement: z.ZodNullable<z.ZodObject<{
579
+ changePercent: z.ZodNullable<z.ZodNumber>;
580
+ direction: z.ZodNullable<z.ZodEnum<["up", "down", "flat"]>>;
581
+ vs30dPercent: z.ZodNullable<z.ZodNumber>;
582
+ vs90dPercent: z.ZodNullable<z.ZodNumber>;
583
+ min: z.ZodNumber;
584
+ max: z.ZodNumber;
585
+ average: z.ZodNumber;
586
+ }, "strip", z.ZodTypeAny, {
587
+ min: number;
588
+ max: number;
589
+ direction: "flat" | "up" | "down" | null;
590
+ average: number;
591
+ changePercent: number | null;
592
+ vs30dPercent: number | null;
593
+ vs90dPercent: number | null;
594
+ }, {
595
+ min: number;
596
+ max: number;
597
+ direction: "flat" | "up" | "down" | null;
598
+ average: number;
599
+ changePercent: number | null;
600
+ vs30dPercent: number | null;
601
+ vs90dPercent: number | null;
602
+ }>>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ unit: string;
605
+ label: string;
606
+ points: {
607
+ date: string;
608
+ source: "invoice" | "sale" | "report" | "waybill";
609
+ label: string | null;
610
+ price: number;
611
+ quantityKg: number | null;
612
+ }[];
613
+ cropKey: string;
614
+ excludedCount: number;
615
+ movement: {
616
+ min: number;
617
+ max: number;
618
+ direction: "flat" | "up" | "down" | null;
619
+ average: number;
620
+ changePercent: number | null;
621
+ vs30dPercent: number | null;
622
+ vs90dPercent: number | null;
623
+ } | null;
624
+ }, {
625
+ unit: string;
626
+ label: string;
627
+ points: {
628
+ date: string;
629
+ source: "invoice" | "sale" | "report" | "waybill";
630
+ label: string | null;
631
+ price: number;
632
+ quantityKg: number | null;
633
+ }[];
634
+ cropKey: string;
635
+ excludedCount: number;
636
+ movement: {
637
+ min: number;
638
+ max: number;
639
+ direction: "flat" | "up" | "down" | null;
640
+ average: number;
641
+ changePercent: number | null;
642
+ vs30dPercent: number | null;
643
+ vs90dPercent: number | null;
644
+ } | null;
645
+ }>>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ currency: string;
648
+ crops: {
649
+ unit: string;
650
+ label: string;
651
+ latestDate: string;
652
+ direction: "flat" | "up" | "down" | null;
653
+ changePercent: number | null;
654
+ cropKey: string;
655
+ pointCount: number;
656
+ latestPrice: number;
657
+ }[];
658
+ selected: {
659
+ unit: string;
660
+ label: string;
661
+ points: {
662
+ date: string;
663
+ source: "invoice" | "sale" | "report" | "waybill";
664
+ label: string | null;
665
+ price: number;
666
+ quantityKg: number | null;
667
+ }[];
668
+ cropKey: string;
669
+ excludedCount: number;
670
+ movement: {
671
+ min: number;
672
+ max: number;
673
+ direction: "flat" | "up" | "down" | null;
674
+ average: number;
675
+ changePercent: number | null;
676
+ vs30dPercent: number | null;
677
+ vs90dPercent: number | null;
678
+ } | null;
679
+ } | null;
680
+ }, {
681
+ currency: string;
682
+ crops: {
683
+ unit: string;
684
+ label: string;
685
+ latestDate: string;
686
+ direction: "flat" | "up" | "down" | null;
687
+ changePercent: number | null;
688
+ cropKey: string;
689
+ pointCount: number;
690
+ latestPrice: number;
691
+ }[];
692
+ selected: {
693
+ unit: string;
694
+ label: string;
695
+ points: {
696
+ date: string;
697
+ source: "invoice" | "sale" | "report" | "waybill";
698
+ label: string | null;
699
+ price: number;
700
+ quantityKg: number | null;
701
+ }[];
702
+ cropKey: string;
703
+ excludedCount: number;
704
+ movement: {
705
+ min: number;
706
+ max: number;
707
+ direction: "flat" | "up" | "down" | null;
708
+ average: number;
709
+ changePercent: number | null;
710
+ vs30dPercent: number | null;
711
+ vs90dPercent: number | null;
712
+ } | null;
713
+ } | null;
714
+ }>;
521
715
  export declare const marketIntelligenceRouter: {
522
716
  getOverview: {
523
717
  pathParams: z.ZodObject<{
@@ -1714,6 +1908,495 @@ export declare const marketIntelligenceRouter: {
1714
1908
  }>;
1715
1909
  };
1716
1910
  };
1911
+ getPriceHistory: {
1912
+ pathParams: z.ZodObject<{
1913
+ farmId: z.ZodString;
1914
+ }, "strip", z.ZodTypeAny, {
1915
+ farmId: string;
1916
+ }, {
1917
+ farmId: string;
1918
+ }>;
1919
+ query: z.ZodObject<{
1920
+ crop: z.ZodOptional<z.ZodString>;
1921
+ months: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1922
+ }, "strip", z.ZodTypeAny, {
1923
+ months: number;
1924
+ crop?: string | undefined;
1925
+ }, {
1926
+ crop?: string | undefined;
1927
+ months?: number | undefined;
1928
+ }>;
1929
+ summary: "Price movement from waybills, invoices, sales and reports";
1930
+ description: "Dated price points per crop from the farm organization's waybills and invoices, logged sales and reported prices. A single real transaction is a valid point.";
1931
+ method: "GET";
1932
+ path: "/farms/:farmId/market-intelligence/price-history";
1933
+ responses: {
1934
+ 200: z.ZodObject<{
1935
+ currency: z.ZodString;
1936
+ /** Crops that have at least one price point, most recently priced first. */
1937
+ crops: z.ZodArray<z.ZodObject<{
1938
+ cropKey: z.ZodString;
1939
+ label: z.ZodString;
1940
+ unit: z.ZodString;
1941
+ pointCount: z.ZodNumber;
1942
+ latestPrice: z.ZodNumber;
1943
+ latestDate: z.ZodString;
1944
+ direction: z.ZodNullable<z.ZodEnum<["up", "down", "flat"]>>;
1945
+ changePercent: z.ZodNullable<z.ZodNumber>;
1946
+ }, "strip", z.ZodTypeAny, {
1947
+ unit: string;
1948
+ label: string;
1949
+ latestDate: string;
1950
+ direction: "flat" | "up" | "down" | null;
1951
+ changePercent: number | null;
1952
+ cropKey: string;
1953
+ pointCount: number;
1954
+ latestPrice: number;
1955
+ }, {
1956
+ unit: string;
1957
+ label: string;
1958
+ latestDate: string;
1959
+ direction: "flat" | "up" | "down" | null;
1960
+ changePercent: number | null;
1961
+ cropKey: string;
1962
+ pointCount: number;
1963
+ latestPrice: number;
1964
+ }>, "many">;
1965
+ /** Series for the requested crop (or the most recently priced one). */
1966
+ selected: z.ZodNullable<z.ZodObject<{
1967
+ cropKey: z.ZodString;
1968
+ label: z.ZodString;
1969
+ unit: z.ZodString;
1970
+ points: z.ZodArray<z.ZodObject<{
1971
+ date: z.ZodString;
1972
+ price: z.ZodNumber;
1973
+ source: z.ZodEnum<["invoice", "waybill", "sale", "report"]>;
1974
+ label: z.ZodNullable<z.ZodString>;
1975
+ quantityKg: z.ZodNullable<z.ZodNumber>;
1976
+ }, "strip", z.ZodTypeAny, {
1977
+ date: string;
1978
+ source: "invoice" | "sale" | "report" | "waybill";
1979
+ label: string | null;
1980
+ price: number;
1981
+ quantityKg: number | null;
1982
+ }, {
1983
+ date: string;
1984
+ source: "invoice" | "sale" | "report" | "waybill";
1985
+ label: string | null;
1986
+ price: number;
1987
+ quantityKg: number | null;
1988
+ }>, "many">;
1989
+ /** Points in other units (bags, crates…) left off the chart. */
1990
+ excludedCount: z.ZodNumber;
1991
+ movement: z.ZodNullable<z.ZodObject<{
1992
+ changePercent: z.ZodNullable<z.ZodNumber>;
1993
+ direction: z.ZodNullable<z.ZodEnum<["up", "down", "flat"]>>;
1994
+ vs30dPercent: z.ZodNullable<z.ZodNumber>;
1995
+ vs90dPercent: z.ZodNullable<z.ZodNumber>;
1996
+ min: z.ZodNumber;
1997
+ max: z.ZodNumber;
1998
+ average: z.ZodNumber;
1999
+ }, "strip", z.ZodTypeAny, {
2000
+ min: number;
2001
+ max: number;
2002
+ direction: "flat" | "up" | "down" | null;
2003
+ average: number;
2004
+ changePercent: number | null;
2005
+ vs30dPercent: number | null;
2006
+ vs90dPercent: number | null;
2007
+ }, {
2008
+ min: number;
2009
+ max: number;
2010
+ direction: "flat" | "up" | "down" | null;
2011
+ average: number;
2012
+ changePercent: number | null;
2013
+ vs30dPercent: number | null;
2014
+ vs90dPercent: number | null;
2015
+ }>>;
2016
+ }, "strip", z.ZodTypeAny, {
2017
+ unit: string;
2018
+ label: string;
2019
+ points: {
2020
+ date: string;
2021
+ source: "invoice" | "sale" | "report" | "waybill";
2022
+ label: string | null;
2023
+ price: number;
2024
+ quantityKg: number | null;
2025
+ }[];
2026
+ cropKey: string;
2027
+ excludedCount: number;
2028
+ movement: {
2029
+ min: number;
2030
+ max: number;
2031
+ direction: "flat" | "up" | "down" | null;
2032
+ average: number;
2033
+ changePercent: number | null;
2034
+ vs30dPercent: number | null;
2035
+ vs90dPercent: number | null;
2036
+ } | null;
2037
+ }, {
2038
+ unit: string;
2039
+ label: string;
2040
+ points: {
2041
+ date: string;
2042
+ source: "invoice" | "sale" | "report" | "waybill";
2043
+ label: string | null;
2044
+ price: number;
2045
+ quantityKg: number | null;
2046
+ }[];
2047
+ cropKey: string;
2048
+ excludedCount: number;
2049
+ movement: {
2050
+ min: number;
2051
+ max: number;
2052
+ direction: "flat" | "up" | "down" | null;
2053
+ average: number;
2054
+ changePercent: number | null;
2055
+ vs30dPercent: number | null;
2056
+ vs90dPercent: number | null;
2057
+ } | null;
2058
+ }>>;
2059
+ }, "strip", z.ZodTypeAny, {
2060
+ currency: string;
2061
+ crops: {
2062
+ unit: string;
2063
+ label: string;
2064
+ latestDate: string;
2065
+ direction: "flat" | "up" | "down" | null;
2066
+ changePercent: number | null;
2067
+ cropKey: string;
2068
+ pointCount: number;
2069
+ latestPrice: number;
2070
+ }[];
2071
+ selected: {
2072
+ unit: string;
2073
+ label: string;
2074
+ points: {
2075
+ date: string;
2076
+ source: "invoice" | "sale" | "report" | "waybill";
2077
+ label: string | null;
2078
+ price: number;
2079
+ quantityKg: number | null;
2080
+ }[];
2081
+ cropKey: string;
2082
+ excludedCount: number;
2083
+ movement: {
2084
+ min: number;
2085
+ max: number;
2086
+ direction: "flat" | "up" | "down" | null;
2087
+ average: number;
2088
+ changePercent: number | null;
2089
+ vs30dPercent: number | null;
2090
+ vs90dPercent: number | null;
2091
+ } | null;
2092
+ } | null;
2093
+ }, {
2094
+ currency: string;
2095
+ crops: {
2096
+ unit: string;
2097
+ label: string;
2098
+ latestDate: string;
2099
+ direction: "flat" | "up" | "down" | null;
2100
+ changePercent: number | null;
2101
+ cropKey: string;
2102
+ pointCount: number;
2103
+ latestPrice: number;
2104
+ }[];
2105
+ selected: {
2106
+ unit: string;
2107
+ label: string;
2108
+ points: {
2109
+ date: string;
2110
+ source: "invoice" | "sale" | "report" | "waybill";
2111
+ label: string | null;
2112
+ price: number;
2113
+ quantityKg: number | null;
2114
+ }[];
2115
+ cropKey: string;
2116
+ excludedCount: number;
2117
+ movement: {
2118
+ min: number;
2119
+ max: number;
2120
+ direction: "flat" | "up" | "down" | null;
2121
+ average: number;
2122
+ changePercent: number | null;
2123
+ vs30dPercent: number | null;
2124
+ vs90dPercent: number | null;
2125
+ } | null;
2126
+ } | null;
2127
+ }>;
2128
+ 401: z.ZodObject<{
2129
+ errors: z.ZodArray<z.ZodObject<{
2130
+ id: z.ZodOptional<z.ZodString>;
2131
+ links: z.ZodOptional<z.ZodObject<{
2132
+ about: z.ZodOptional<z.ZodString>;
2133
+ }, "strip", z.ZodTypeAny, {
2134
+ about?: string | undefined;
2135
+ }, {
2136
+ about?: string | undefined;
2137
+ }>>;
2138
+ status: z.ZodOptional<z.ZodString>;
2139
+ code: z.ZodOptional<z.ZodString>;
2140
+ title: z.ZodOptional<z.ZodString>;
2141
+ detail: z.ZodOptional<z.ZodString>;
2142
+ source: z.ZodOptional<z.ZodObject<{
2143
+ pointer: z.ZodOptional<z.ZodString>;
2144
+ parameter: z.ZodOptional<z.ZodString>;
2145
+ }, "strip", z.ZodTypeAny, {
2146
+ pointer?: string | undefined;
2147
+ parameter?: string | undefined;
2148
+ }, {
2149
+ pointer?: string | undefined;
2150
+ parameter?: string | undefined;
2151
+ }>>;
2152
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2153
+ }, "strip", z.ZodTypeAny, {
2154
+ status?: string | undefined;
2155
+ code?: string | undefined;
2156
+ id?: string | undefined;
2157
+ links?: {
2158
+ about?: string | undefined;
2159
+ } | undefined;
2160
+ meta?: Record<string, unknown> | undefined;
2161
+ title?: string | undefined;
2162
+ detail?: string | undefined;
2163
+ source?: {
2164
+ pointer?: string | undefined;
2165
+ parameter?: string | undefined;
2166
+ } | undefined;
2167
+ }, {
2168
+ status?: string | undefined;
2169
+ code?: string | undefined;
2170
+ id?: string | undefined;
2171
+ links?: {
2172
+ about?: string | undefined;
2173
+ } | undefined;
2174
+ meta?: Record<string, unknown> | undefined;
2175
+ title?: string | undefined;
2176
+ detail?: string | undefined;
2177
+ source?: {
2178
+ pointer?: string | undefined;
2179
+ parameter?: string | undefined;
2180
+ } | undefined;
2181
+ }>, "many">;
2182
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2183
+ }, "strip", z.ZodTypeAny, {
2184
+ errors: {
2185
+ status?: string | undefined;
2186
+ code?: string | undefined;
2187
+ id?: string | undefined;
2188
+ links?: {
2189
+ about?: string | undefined;
2190
+ } | undefined;
2191
+ meta?: Record<string, unknown> | undefined;
2192
+ title?: string | undefined;
2193
+ detail?: string | undefined;
2194
+ source?: {
2195
+ pointer?: string | undefined;
2196
+ parameter?: string | undefined;
2197
+ } | undefined;
2198
+ }[];
2199
+ meta?: Record<string, unknown> | undefined;
2200
+ }, {
2201
+ errors: {
2202
+ status?: string | undefined;
2203
+ code?: string | undefined;
2204
+ id?: string | undefined;
2205
+ links?: {
2206
+ about?: string | undefined;
2207
+ } | undefined;
2208
+ meta?: Record<string, unknown> | undefined;
2209
+ title?: string | undefined;
2210
+ detail?: string | undefined;
2211
+ source?: {
2212
+ pointer?: string | undefined;
2213
+ parameter?: string | undefined;
2214
+ } | undefined;
2215
+ }[];
2216
+ meta?: Record<string, unknown> | undefined;
2217
+ }>;
2218
+ 403: z.ZodObject<{
2219
+ errors: z.ZodArray<z.ZodObject<{
2220
+ id: z.ZodOptional<z.ZodString>;
2221
+ links: z.ZodOptional<z.ZodObject<{
2222
+ about: z.ZodOptional<z.ZodString>;
2223
+ }, "strip", z.ZodTypeAny, {
2224
+ about?: string | undefined;
2225
+ }, {
2226
+ about?: string | undefined;
2227
+ }>>;
2228
+ status: z.ZodOptional<z.ZodString>;
2229
+ code: z.ZodOptional<z.ZodString>;
2230
+ title: z.ZodOptional<z.ZodString>;
2231
+ detail: z.ZodOptional<z.ZodString>;
2232
+ source: z.ZodOptional<z.ZodObject<{
2233
+ pointer: z.ZodOptional<z.ZodString>;
2234
+ parameter: z.ZodOptional<z.ZodString>;
2235
+ }, "strip", z.ZodTypeAny, {
2236
+ pointer?: string | undefined;
2237
+ parameter?: string | undefined;
2238
+ }, {
2239
+ pointer?: string | undefined;
2240
+ parameter?: string | undefined;
2241
+ }>>;
2242
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2243
+ }, "strip", z.ZodTypeAny, {
2244
+ status?: string | undefined;
2245
+ code?: string | undefined;
2246
+ id?: string | undefined;
2247
+ links?: {
2248
+ about?: string | undefined;
2249
+ } | undefined;
2250
+ meta?: Record<string, unknown> | undefined;
2251
+ title?: string | undefined;
2252
+ detail?: string | undefined;
2253
+ source?: {
2254
+ pointer?: string | undefined;
2255
+ parameter?: string | undefined;
2256
+ } | undefined;
2257
+ }, {
2258
+ status?: string | undefined;
2259
+ code?: string | undefined;
2260
+ id?: string | undefined;
2261
+ links?: {
2262
+ about?: string | undefined;
2263
+ } | undefined;
2264
+ meta?: Record<string, unknown> | undefined;
2265
+ title?: string | undefined;
2266
+ detail?: string | undefined;
2267
+ source?: {
2268
+ pointer?: string | undefined;
2269
+ parameter?: string | undefined;
2270
+ } | undefined;
2271
+ }>, "many">;
2272
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2273
+ }, "strip", z.ZodTypeAny, {
2274
+ errors: {
2275
+ status?: string | undefined;
2276
+ code?: string | undefined;
2277
+ id?: string | undefined;
2278
+ links?: {
2279
+ about?: string | undefined;
2280
+ } | undefined;
2281
+ meta?: Record<string, unknown> | undefined;
2282
+ title?: string | undefined;
2283
+ detail?: string | undefined;
2284
+ source?: {
2285
+ pointer?: string | undefined;
2286
+ parameter?: string | undefined;
2287
+ } | undefined;
2288
+ }[];
2289
+ meta?: Record<string, unknown> | undefined;
2290
+ }, {
2291
+ errors: {
2292
+ status?: string | undefined;
2293
+ code?: string | undefined;
2294
+ id?: string | undefined;
2295
+ links?: {
2296
+ about?: string | undefined;
2297
+ } | undefined;
2298
+ meta?: Record<string, unknown> | undefined;
2299
+ title?: string | undefined;
2300
+ detail?: string | undefined;
2301
+ source?: {
2302
+ pointer?: string | undefined;
2303
+ parameter?: string | undefined;
2304
+ } | undefined;
2305
+ }[];
2306
+ meta?: Record<string, unknown> | undefined;
2307
+ }>;
2308
+ 404: z.ZodObject<{
2309
+ errors: z.ZodArray<z.ZodObject<{
2310
+ id: z.ZodOptional<z.ZodString>;
2311
+ links: z.ZodOptional<z.ZodObject<{
2312
+ about: z.ZodOptional<z.ZodString>;
2313
+ }, "strip", z.ZodTypeAny, {
2314
+ about?: string | undefined;
2315
+ }, {
2316
+ about?: string | undefined;
2317
+ }>>;
2318
+ status: z.ZodOptional<z.ZodString>;
2319
+ code: z.ZodOptional<z.ZodString>;
2320
+ title: z.ZodOptional<z.ZodString>;
2321
+ detail: z.ZodOptional<z.ZodString>;
2322
+ source: z.ZodOptional<z.ZodObject<{
2323
+ pointer: z.ZodOptional<z.ZodString>;
2324
+ parameter: z.ZodOptional<z.ZodString>;
2325
+ }, "strip", z.ZodTypeAny, {
2326
+ pointer?: string | undefined;
2327
+ parameter?: string | undefined;
2328
+ }, {
2329
+ pointer?: string | undefined;
2330
+ parameter?: string | undefined;
2331
+ }>>;
2332
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2333
+ }, "strip", z.ZodTypeAny, {
2334
+ status?: string | undefined;
2335
+ code?: string | undefined;
2336
+ id?: string | undefined;
2337
+ links?: {
2338
+ about?: string | undefined;
2339
+ } | undefined;
2340
+ meta?: Record<string, unknown> | undefined;
2341
+ title?: string | undefined;
2342
+ detail?: string | undefined;
2343
+ source?: {
2344
+ pointer?: string | undefined;
2345
+ parameter?: string | undefined;
2346
+ } | undefined;
2347
+ }, {
2348
+ status?: string | undefined;
2349
+ code?: string | undefined;
2350
+ id?: string | undefined;
2351
+ links?: {
2352
+ about?: string | undefined;
2353
+ } | undefined;
2354
+ meta?: Record<string, unknown> | undefined;
2355
+ title?: string | undefined;
2356
+ detail?: string | undefined;
2357
+ source?: {
2358
+ pointer?: string | undefined;
2359
+ parameter?: string | undefined;
2360
+ } | undefined;
2361
+ }>, "many">;
2362
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2363
+ }, "strip", z.ZodTypeAny, {
2364
+ errors: {
2365
+ status?: string | undefined;
2366
+ code?: string | undefined;
2367
+ id?: string | undefined;
2368
+ links?: {
2369
+ about?: string | undefined;
2370
+ } | undefined;
2371
+ meta?: Record<string, unknown> | undefined;
2372
+ title?: string | undefined;
2373
+ detail?: string | undefined;
2374
+ source?: {
2375
+ pointer?: string | undefined;
2376
+ parameter?: string | undefined;
2377
+ } | undefined;
2378
+ }[];
2379
+ meta?: Record<string, unknown> | undefined;
2380
+ }, {
2381
+ errors: {
2382
+ status?: string | undefined;
2383
+ code?: string | undefined;
2384
+ id?: string | undefined;
2385
+ links?: {
2386
+ about?: string | undefined;
2387
+ } | undefined;
2388
+ meta?: Record<string, unknown> | undefined;
2389
+ title?: string | undefined;
2390
+ detail?: string | undefined;
2391
+ source?: {
2392
+ pointer?: string | undefined;
2393
+ parameter?: string | undefined;
2394
+ } | undefined;
2395
+ }[];
2396
+ meta?: Record<string, unknown> | undefined;
2397
+ }>;
2398
+ };
2399
+ };
1717
2400
  getPriceTrend: {
1718
2401
  pathParams: z.ZodObject<{
1719
2402
  farmId: z.ZodString;
@@ -2080,6 +2763,7 @@ export type MarketIntelligenceRouter = typeof marketIntelligenceRouter;
2080
2763
  export type CropPriceProjection = z.infer<typeof cropPriceProjectionSchema>;
2081
2764
  export type CreateMarketPriceReport = z.infer<typeof createMarketPriceReportSchema>;
2082
2765
  export type MarketPriceReportDto = z.infer<typeof marketPriceReportSchema>;
2766
+ export type MarketPriceHistory = z.infer<typeof marketPriceHistorySchema>;
2083
2767
  export type MarketPriceTrendResponse = z.infer<typeof marketPriceTrendSchema>;
2084
2768
  export {};
2085
2769
  //# sourceMappingURL=market-intelligence.routes.d.ts.map