@deepintel-ltd/farmpro-contracts 1.11.10 → 1.11.12

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.
@@ -1537,6 +1537,509 @@ export declare const agentsRouter: {
1537
1537
  }>;
1538
1538
  };
1539
1539
  };
1540
+ updateConversationTitle: {
1541
+ pathParams: z.ZodObject<{
1542
+ conversationId: z.ZodString;
1543
+ }, "strip", z.ZodTypeAny, {
1544
+ conversationId: string;
1545
+ }, {
1546
+ conversationId: string;
1547
+ }>;
1548
+ summary: "Update conversation title";
1549
+ description: "Rename an existing agronomics conversation";
1550
+ method: "PATCH";
1551
+ body: z.ZodObject<{
1552
+ title: z.ZodString;
1553
+ }, "strip", z.ZodTypeAny, {
1554
+ title: string;
1555
+ }, {
1556
+ title: string;
1557
+ }>;
1558
+ path: "/agents/agronomics/conversations/:conversationId";
1559
+ responses: {
1560
+ 200: z.ZodObject<{
1561
+ data: z.ZodObject<{
1562
+ type: z.ZodLiteral<string>;
1563
+ id: z.ZodString;
1564
+ attributes: z.ZodObject<{
1565
+ title: z.ZodNullable<z.ZodString>;
1566
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1567
+ farmId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1568
+ updatedAt: z.ZodOptional<z.ZodString>;
1569
+ }, "strip", z.ZodTypeAny, {
1570
+ title: string | null;
1571
+ updatedAt?: string | undefined;
1572
+ summary?: string | null | undefined;
1573
+ farmId?: string | null | undefined;
1574
+ }, {
1575
+ title: string | null;
1576
+ updatedAt?: string | undefined;
1577
+ summary?: string | null | undefined;
1578
+ farmId?: string | null | undefined;
1579
+ }>;
1580
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1581
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1582
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ type: string;
1585
+ id: string;
1586
+ attributes: {
1587
+ title: string | null;
1588
+ updatedAt?: string | undefined;
1589
+ summary?: string | null | undefined;
1590
+ farmId?: string | null | undefined;
1591
+ };
1592
+ relationships?: Record<string, unknown> | undefined;
1593
+ links?: Record<string, string> | undefined;
1594
+ meta?: Record<string, unknown> | undefined;
1595
+ }, {
1596
+ type: string;
1597
+ id: string;
1598
+ attributes: {
1599
+ title: string | null;
1600
+ updatedAt?: string | undefined;
1601
+ summary?: string | null | undefined;
1602
+ farmId?: string | null | undefined;
1603
+ };
1604
+ relationships?: Record<string, unknown> | undefined;
1605
+ links?: Record<string, string> | undefined;
1606
+ meta?: Record<string, unknown> | undefined;
1607
+ }>;
1608
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
1609
+ type: z.ZodString;
1610
+ id: z.ZodString;
1611
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1612
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1613
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1614
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1615
+ }, "strip", z.ZodTypeAny, {
1616
+ type: string;
1617
+ id: string;
1618
+ attributes?: Record<string, unknown> | undefined;
1619
+ relationships?: Record<string, unknown> | undefined;
1620
+ links?: Record<string, string> | undefined;
1621
+ meta?: Record<string, unknown> | undefined;
1622
+ }, {
1623
+ type: string;
1624
+ id: string;
1625
+ attributes?: Record<string, unknown> | undefined;
1626
+ relationships?: Record<string, unknown> | undefined;
1627
+ links?: Record<string, string> | undefined;
1628
+ meta?: Record<string, unknown> | undefined;
1629
+ }>, "many">>;
1630
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1631
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ data: {
1634
+ type: string;
1635
+ id: string;
1636
+ attributes: {
1637
+ title: string | null;
1638
+ updatedAt?: string | undefined;
1639
+ summary?: string | null | undefined;
1640
+ farmId?: string | null | undefined;
1641
+ };
1642
+ relationships?: Record<string, unknown> | undefined;
1643
+ links?: Record<string, string> | undefined;
1644
+ meta?: Record<string, unknown> | undefined;
1645
+ };
1646
+ links?: Record<string, string> | undefined;
1647
+ meta?: Record<string, unknown> | undefined;
1648
+ included?: {
1649
+ type: string;
1650
+ id: string;
1651
+ attributes?: Record<string, unknown> | undefined;
1652
+ relationships?: Record<string, unknown> | undefined;
1653
+ links?: Record<string, string> | undefined;
1654
+ meta?: Record<string, unknown> | undefined;
1655
+ }[] | undefined;
1656
+ }, {
1657
+ data: {
1658
+ type: string;
1659
+ id: string;
1660
+ attributes: {
1661
+ title: string | null;
1662
+ updatedAt?: string | undefined;
1663
+ summary?: string | null | undefined;
1664
+ farmId?: string | null | undefined;
1665
+ };
1666
+ relationships?: Record<string, unknown> | undefined;
1667
+ links?: Record<string, string> | undefined;
1668
+ meta?: Record<string, unknown> | undefined;
1669
+ };
1670
+ links?: Record<string, string> | undefined;
1671
+ meta?: Record<string, unknown> | undefined;
1672
+ included?: {
1673
+ type: string;
1674
+ id: string;
1675
+ attributes?: Record<string, unknown> | undefined;
1676
+ relationships?: Record<string, unknown> | undefined;
1677
+ links?: Record<string, string> | undefined;
1678
+ meta?: Record<string, unknown> | undefined;
1679
+ }[] | undefined;
1680
+ }>;
1681
+ 400: z.ZodObject<{
1682
+ errors: z.ZodArray<z.ZodObject<{
1683
+ id: z.ZodOptional<z.ZodString>;
1684
+ links: z.ZodOptional<z.ZodObject<{
1685
+ about: z.ZodOptional<z.ZodString>;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ about?: string | undefined;
1688
+ }, {
1689
+ about?: string | undefined;
1690
+ }>>;
1691
+ status: z.ZodOptional<z.ZodString>;
1692
+ code: z.ZodOptional<z.ZodString>;
1693
+ title: z.ZodOptional<z.ZodString>;
1694
+ detail: z.ZodOptional<z.ZodString>;
1695
+ source: z.ZodOptional<z.ZodObject<{
1696
+ pointer: z.ZodOptional<z.ZodString>;
1697
+ parameter: z.ZodOptional<z.ZodString>;
1698
+ }, "strip", z.ZodTypeAny, {
1699
+ pointer?: string | undefined;
1700
+ parameter?: string | undefined;
1701
+ }, {
1702
+ pointer?: string | undefined;
1703
+ parameter?: string | undefined;
1704
+ }>>;
1705
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1706
+ }, "strip", z.ZodTypeAny, {
1707
+ status?: string | undefined;
1708
+ code?: string | undefined;
1709
+ id?: string | undefined;
1710
+ links?: {
1711
+ about?: string | undefined;
1712
+ } | undefined;
1713
+ meta?: Record<string, unknown> | undefined;
1714
+ title?: string | undefined;
1715
+ detail?: string | undefined;
1716
+ source?: {
1717
+ pointer?: string | undefined;
1718
+ parameter?: string | undefined;
1719
+ } | undefined;
1720
+ }, {
1721
+ status?: string | undefined;
1722
+ code?: string | undefined;
1723
+ id?: string | undefined;
1724
+ links?: {
1725
+ about?: string | undefined;
1726
+ } | undefined;
1727
+ meta?: Record<string, unknown> | undefined;
1728
+ title?: string | undefined;
1729
+ detail?: string | undefined;
1730
+ source?: {
1731
+ pointer?: string | undefined;
1732
+ parameter?: string | undefined;
1733
+ } | undefined;
1734
+ }>, "many">;
1735
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1736
+ }, "strip", z.ZodTypeAny, {
1737
+ errors: {
1738
+ status?: string | undefined;
1739
+ code?: string | undefined;
1740
+ id?: string | undefined;
1741
+ links?: {
1742
+ about?: string | undefined;
1743
+ } | undefined;
1744
+ meta?: Record<string, unknown> | undefined;
1745
+ title?: string | undefined;
1746
+ detail?: string | undefined;
1747
+ source?: {
1748
+ pointer?: string | undefined;
1749
+ parameter?: string | undefined;
1750
+ } | undefined;
1751
+ }[];
1752
+ meta?: Record<string, unknown> | undefined;
1753
+ }, {
1754
+ errors: {
1755
+ status?: string | undefined;
1756
+ code?: string | undefined;
1757
+ id?: string | undefined;
1758
+ links?: {
1759
+ about?: string | undefined;
1760
+ } | undefined;
1761
+ meta?: Record<string, unknown> | undefined;
1762
+ title?: string | undefined;
1763
+ detail?: string | undefined;
1764
+ source?: {
1765
+ pointer?: string | undefined;
1766
+ parameter?: string | undefined;
1767
+ } | undefined;
1768
+ }[];
1769
+ meta?: Record<string, unknown> | undefined;
1770
+ }>;
1771
+ 401: z.ZodObject<{
1772
+ errors: z.ZodArray<z.ZodObject<{
1773
+ id: z.ZodOptional<z.ZodString>;
1774
+ links: z.ZodOptional<z.ZodObject<{
1775
+ about: z.ZodOptional<z.ZodString>;
1776
+ }, "strip", z.ZodTypeAny, {
1777
+ about?: string | undefined;
1778
+ }, {
1779
+ about?: string | undefined;
1780
+ }>>;
1781
+ status: z.ZodOptional<z.ZodString>;
1782
+ code: z.ZodOptional<z.ZodString>;
1783
+ title: z.ZodOptional<z.ZodString>;
1784
+ detail: z.ZodOptional<z.ZodString>;
1785
+ source: z.ZodOptional<z.ZodObject<{
1786
+ pointer: z.ZodOptional<z.ZodString>;
1787
+ parameter: z.ZodOptional<z.ZodString>;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ pointer?: string | undefined;
1790
+ parameter?: string | undefined;
1791
+ }, {
1792
+ pointer?: string | undefined;
1793
+ parameter?: string | undefined;
1794
+ }>>;
1795
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1796
+ }, "strip", z.ZodTypeAny, {
1797
+ status?: string | undefined;
1798
+ code?: string | undefined;
1799
+ id?: string | undefined;
1800
+ links?: {
1801
+ about?: string | undefined;
1802
+ } | undefined;
1803
+ meta?: Record<string, unknown> | undefined;
1804
+ title?: string | undefined;
1805
+ detail?: string | undefined;
1806
+ source?: {
1807
+ pointer?: string | undefined;
1808
+ parameter?: string | undefined;
1809
+ } | undefined;
1810
+ }, {
1811
+ status?: string | undefined;
1812
+ code?: string | undefined;
1813
+ id?: string | undefined;
1814
+ links?: {
1815
+ about?: string | undefined;
1816
+ } | undefined;
1817
+ meta?: Record<string, unknown> | undefined;
1818
+ title?: string | undefined;
1819
+ detail?: string | undefined;
1820
+ source?: {
1821
+ pointer?: string | undefined;
1822
+ parameter?: string | undefined;
1823
+ } | undefined;
1824
+ }>, "many">;
1825
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1826
+ }, "strip", z.ZodTypeAny, {
1827
+ errors: {
1828
+ status?: string | undefined;
1829
+ code?: string | undefined;
1830
+ id?: string | undefined;
1831
+ links?: {
1832
+ about?: string | undefined;
1833
+ } | undefined;
1834
+ meta?: Record<string, unknown> | undefined;
1835
+ title?: string | undefined;
1836
+ detail?: string | undefined;
1837
+ source?: {
1838
+ pointer?: string | undefined;
1839
+ parameter?: string | undefined;
1840
+ } | undefined;
1841
+ }[];
1842
+ meta?: Record<string, unknown> | undefined;
1843
+ }, {
1844
+ errors: {
1845
+ status?: string | undefined;
1846
+ code?: string | undefined;
1847
+ id?: string | undefined;
1848
+ links?: {
1849
+ about?: string | undefined;
1850
+ } | undefined;
1851
+ meta?: Record<string, unknown> | undefined;
1852
+ title?: string | undefined;
1853
+ detail?: string | undefined;
1854
+ source?: {
1855
+ pointer?: string | undefined;
1856
+ parameter?: string | undefined;
1857
+ } | undefined;
1858
+ }[];
1859
+ meta?: Record<string, unknown> | undefined;
1860
+ }>;
1861
+ 404: z.ZodObject<{
1862
+ errors: z.ZodArray<z.ZodObject<{
1863
+ id: z.ZodOptional<z.ZodString>;
1864
+ links: z.ZodOptional<z.ZodObject<{
1865
+ about: z.ZodOptional<z.ZodString>;
1866
+ }, "strip", z.ZodTypeAny, {
1867
+ about?: string | undefined;
1868
+ }, {
1869
+ about?: string | undefined;
1870
+ }>>;
1871
+ status: z.ZodOptional<z.ZodString>;
1872
+ code: z.ZodOptional<z.ZodString>;
1873
+ title: z.ZodOptional<z.ZodString>;
1874
+ detail: z.ZodOptional<z.ZodString>;
1875
+ source: z.ZodOptional<z.ZodObject<{
1876
+ pointer: z.ZodOptional<z.ZodString>;
1877
+ parameter: z.ZodOptional<z.ZodString>;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ pointer?: string | undefined;
1880
+ parameter?: string | undefined;
1881
+ }, {
1882
+ pointer?: string | undefined;
1883
+ parameter?: string | undefined;
1884
+ }>>;
1885
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1886
+ }, "strip", z.ZodTypeAny, {
1887
+ status?: string | undefined;
1888
+ code?: string | undefined;
1889
+ id?: string | undefined;
1890
+ links?: {
1891
+ about?: string | undefined;
1892
+ } | undefined;
1893
+ meta?: Record<string, unknown> | undefined;
1894
+ title?: string | undefined;
1895
+ detail?: string | undefined;
1896
+ source?: {
1897
+ pointer?: string | undefined;
1898
+ parameter?: string | undefined;
1899
+ } | undefined;
1900
+ }, {
1901
+ status?: string | undefined;
1902
+ code?: string | undefined;
1903
+ id?: string | undefined;
1904
+ links?: {
1905
+ about?: string | undefined;
1906
+ } | undefined;
1907
+ meta?: Record<string, unknown> | undefined;
1908
+ title?: string | undefined;
1909
+ detail?: string | undefined;
1910
+ source?: {
1911
+ pointer?: string | undefined;
1912
+ parameter?: string | undefined;
1913
+ } | undefined;
1914
+ }>, "many">;
1915
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ errors: {
1918
+ status?: string | undefined;
1919
+ code?: string | undefined;
1920
+ id?: string | undefined;
1921
+ links?: {
1922
+ about?: string | undefined;
1923
+ } | undefined;
1924
+ meta?: Record<string, unknown> | undefined;
1925
+ title?: string | undefined;
1926
+ detail?: string | undefined;
1927
+ source?: {
1928
+ pointer?: string | undefined;
1929
+ parameter?: string | undefined;
1930
+ } | undefined;
1931
+ }[];
1932
+ meta?: Record<string, unknown> | undefined;
1933
+ }, {
1934
+ errors: {
1935
+ status?: string | undefined;
1936
+ code?: string | undefined;
1937
+ id?: string | undefined;
1938
+ links?: {
1939
+ about?: string | undefined;
1940
+ } | undefined;
1941
+ meta?: Record<string, unknown> | undefined;
1942
+ title?: string | undefined;
1943
+ detail?: string | undefined;
1944
+ source?: {
1945
+ pointer?: string | undefined;
1946
+ parameter?: string | undefined;
1947
+ } | undefined;
1948
+ }[];
1949
+ meta?: Record<string, unknown> | undefined;
1950
+ }>;
1951
+ 500: z.ZodObject<{
1952
+ errors: z.ZodArray<z.ZodObject<{
1953
+ id: z.ZodOptional<z.ZodString>;
1954
+ links: z.ZodOptional<z.ZodObject<{
1955
+ about: z.ZodOptional<z.ZodString>;
1956
+ }, "strip", z.ZodTypeAny, {
1957
+ about?: string | undefined;
1958
+ }, {
1959
+ about?: string | undefined;
1960
+ }>>;
1961
+ status: z.ZodOptional<z.ZodString>;
1962
+ code: z.ZodOptional<z.ZodString>;
1963
+ title: z.ZodOptional<z.ZodString>;
1964
+ detail: z.ZodOptional<z.ZodString>;
1965
+ source: z.ZodOptional<z.ZodObject<{
1966
+ pointer: z.ZodOptional<z.ZodString>;
1967
+ parameter: z.ZodOptional<z.ZodString>;
1968
+ }, "strip", z.ZodTypeAny, {
1969
+ pointer?: string | undefined;
1970
+ parameter?: string | undefined;
1971
+ }, {
1972
+ pointer?: string | undefined;
1973
+ parameter?: string | undefined;
1974
+ }>>;
1975
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1976
+ }, "strip", z.ZodTypeAny, {
1977
+ status?: string | undefined;
1978
+ code?: string | undefined;
1979
+ id?: string | undefined;
1980
+ links?: {
1981
+ about?: string | undefined;
1982
+ } | undefined;
1983
+ meta?: Record<string, unknown> | undefined;
1984
+ title?: string | undefined;
1985
+ detail?: string | undefined;
1986
+ source?: {
1987
+ pointer?: string | undefined;
1988
+ parameter?: string | undefined;
1989
+ } | undefined;
1990
+ }, {
1991
+ status?: string | undefined;
1992
+ code?: string | undefined;
1993
+ id?: string | undefined;
1994
+ links?: {
1995
+ about?: string | undefined;
1996
+ } | undefined;
1997
+ meta?: Record<string, unknown> | undefined;
1998
+ title?: string | undefined;
1999
+ detail?: string | undefined;
2000
+ source?: {
2001
+ pointer?: string | undefined;
2002
+ parameter?: string | undefined;
2003
+ } | undefined;
2004
+ }>, "many">;
2005
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2006
+ }, "strip", z.ZodTypeAny, {
2007
+ errors: {
2008
+ status?: string | undefined;
2009
+ code?: string | undefined;
2010
+ id?: string | undefined;
2011
+ links?: {
2012
+ about?: string | undefined;
2013
+ } | undefined;
2014
+ meta?: Record<string, unknown> | undefined;
2015
+ title?: string | undefined;
2016
+ detail?: string | undefined;
2017
+ source?: {
2018
+ pointer?: string | undefined;
2019
+ parameter?: string | undefined;
2020
+ } | undefined;
2021
+ }[];
2022
+ meta?: Record<string, unknown> | undefined;
2023
+ }, {
2024
+ errors: {
2025
+ status?: string | undefined;
2026
+ code?: string | undefined;
2027
+ id?: string | undefined;
2028
+ links?: {
2029
+ about?: string | undefined;
2030
+ } | undefined;
2031
+ meta?: Record<string, unknown> | undefined;
2032
+ title?: string | undefined;
2033
+ detail?: string | undefined;
2034
+ source?: {
2035
+ pointer?: string | undefined;
2036
+ parameter?: string | undefined;
2037
+ } | undefined;
2038
+ }[];
2039
+ meta?: Record<string, unknown> | undefined;
2040
+ }>;
2041
+ };
2042
+ };
1540
2043
  generateSurveyGeoJSON: {
1541
2044
  summary: "Generate GeoJSON from survey document";
1542
2045
  description: "Upload a survey document (PDF or image) and generate standardized GeoJSON. The agent intelligently extracts survey data, handles errors, and makes approximations when needed to create accurate geospatial boundaries.";
@@ -4496,12 +4999,15 @@ export declare const agentsRouter: {
4496
4999
  method: "POST";
4497
5000
  body: z.ZodObject<{
4498
5001
  message: z.ZodString;
5002
+ conversationId: z.ZodOptional<z.ZodString>;
4499
5003
  supervisedMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4500
5004
  }, "strip", z.ZodTypeAny, {
4501
5005
  message: string;
4502
5006
  supervisedMode: boolean;
5007
+ conversationId?: string | undefined;
4503
5008
  }, {
4504
5009
  message: string;
5010
+ conversationId?: string | undefined;
4505
5011
  supervisedMode?: boolean | undefined;
4506
5012
  }>;
4507
5013
  path: "/farms/:farmId/farm-brain/chat";
@@ -5170,14 +5676,17 @@ export declare const agentsRouter: {
5170
5676
  body: z.ZodObject<{
5171
5677
  message: z.ZodString;
5172
5678
  language: z.ZodString;
5679
+ conversationId: z.ZodOptional<z.ZodString>;
5173
5680
  supervisedMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5174
5681
  }, "strip", z.ZodTypeAny, {
5175
5682
  message: string;
5176
5683
  language: string;
5177
5684
  supervisedMode: boolean;
5685
+ conversationId?: string | undefined;
5178
5686
  }, {
5179
5687
  message: string;
5180
5688
  language: string;
5689
+ conversationId?: string | undefined;
5181
5690
  supervisedMode?: boolean | undefined;
5182
5691
  }>;
5183
5692
  path: "/farms/:farmId/farm-brain/chat-localized";
@@ -1 +1 @@
1
- {"version":3,"file":"agents.routes.d.ts","sourceRoot":"","sources":["../../src/routes/agents.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuPvB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { initContract } from '@ts-rest/core';
2
2
  import { z } from 'zod';
3
- import { chatRequestSchema, agentChatResponseSchema, conversationHistoryResponseSchema, conversationListResponseSchema, surveyGeoJsonResponseSchema, resourceConflictResponseSchema, gddTrackerResponseSchema, reorderInsightsResponseSchema, weeklyWorkOrdersResponseSchema, pestScoutingCalendarResponseSchema, harvestReadinessResponseSchema, farmBrainChatRequestSchema, farmBrainChatResponseSchema, dailyBriefingResponseSchema, farmBrainLocalizedRequestSchema, farmBrainLocalizedResponseSchema, ussdQueryRequestSchema, ussdQueryResponseSchema, } from '../schemas/agents.schemas';
3
+ import { chatRequestSchema, agentChatResponseSchema, conversationHistoryResponseSchema, conversationListResponseSchema, updateConversationTitleRequestSchema, conversationResponseSchema, surveyGeoJsonResponseSchema, resourceConflictResponseSchema, gddTrackerResponseSchema, reorderInsightsResponseSchema, weeklyWorkOrdersResponseSchema, pestScoutingCalendarResponseSchema, harvestReadinessResponseSchema, farmBrainChatRequestSchema, farmBrainChatResponseSchema, dailyBriefingResponseSchema, farmBrainLocalizedRequestSchema, farmBrainLocalizedResponseSchema, ussdQueryRequestSchema, ussdQueryResponseSchema, } from '../schemas/agents.schemas';
4
4
  import { jsonApiErrorResponseSchema } from '../schemas/common.schemas';
5
5
  const c = initContract();
6
6
  export const agentsRouter = c.router({
@@ -88,6 +88,24 @@ export const agentsRouter = c.router({
88
88
  summary: 'List all conversations for a farm',
89
89
  description: 'Retrieve a list of all conversations for a specific farm, ordered by most recent first',
90
90
  },
91
+ // Update conversation title
92
+ updateConversationTitle: {
93
+ method: 'PATCH',
94
+ path: '/agents/agronomics/conversations/:conversationId',
95
+ pathParams: z.object({
96
+ conversationId: z.string().uuid(),
97
+ }),
98
+ body: updateConversationTitleRequestSchema,
99
+ responses: {
100
+ 200: conversationResponseSchema,
101
+ 400: jsonApiErrorResponseSchema,
102
+ 401: jsonApiErrorResponseSchema,
103
+ 404: jsonApiErrorResponseSchema,
104
+ 500: jsonApiErrorResponseSchema,
105
+ },
106
+ summary: 'Update conversation title',
107
+ description: 'Rename an existing agronomics conversation',
108
+ },
91
109
  // Generate GeoJSON from survey document
92
110
  generateSurveyGeoJSON: {
93
111
  method: 'POST',