@deepintel-ltd/farmpro-contracts 1.11.9 → 1.11.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.
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/routes/agents.routes.d.ts +509 -0
- package/dist/routes/agents.routes.d.ts.map +1 -1
- package/dist/routes/agents.routes.js +19 -1
- package/dist/routes/fields.routes.d.ts +7 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/index.d.ts +3 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +2 -0
- package/dist/routes/market-intelligence.routes.d.ts +364 -0
- package/dist/routes/market-intelligence.routes.d.ts.map +1 -0
- package/dist/routes/market-intelligence.routes.js +45 -0
- package/dist/schemas/agents.schemas.d.ts +198 -0
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +14 -0
- package/dist/schemas/fields.schemas.d.ts +8 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module @farmpro/contracts
|
|
7
7
|
*/
|
|
8
8
|
export { apiContract } from './routes';
|
|
9
|
-
export type { ApiContractType, ApiContractDefinition, AuthEndpoints, UsersEndpoints, FarmsEndpoints, FieldsEndpoints, TasksEndpoints, InventoryEndpoints, FinanceEndpoints, HarvestEndpoints, SoilTestsEndpoints, WeatherEndpoints, TeamEndpoints, EquipmentEndpoints, DocumentsEndpoints, SuppliersEndpoints, AnalyticsEndpoints, CategoriesEndpoints, AgentsEndpoints, AgentWorkflowsEndpoints, FieldMonitoringEndpoints, FieldObservationsEndpoints, AdminEndpoints, HealthEndpoints, SeasonalPlansEndpoints, InputUsageEndpoints, PaymentsEndpoints, SubscriptionsEndpoints, OrganizationsEndpoints, WaybillsEndpoints, InvoicesEndpoints, FertigationEndpoints, CropNutrientProfilesEndpoints, FertilizerProductsEndpoints, FertigationSchedulesEndpoints, FertigationEventsEndpoints, FertigationRecommendationsEndpoints, CapitalEndpoints, WhatsAppGatewayEndpoints, MonitoringVisualizationEndpoints, LivestockEndpoints, LivestockGroupsEndpoints, GeofencesEndpoints, LivestockMapEndpoints, PrescriptionMapsEndpoints, MeasurementsEndpoints, CropProfilesEndpoints, FarmStatusEndpoints, LiveMonitorEndpoints, TeamPaymentsEndpoints, CooperativeEndpoints, ExtensionEndpoints, NotificationsEndpoints, CommodityDealsEndpoints, AcademyEndpoints, DeviceGatewayEndpoints, DeviceGatewayAdminEndpoints, FarmGatewayAdminEndpoints, FarmGatewayDeviceEndpoints, FarmUpdatesEndpoints, FieldActivitiesEndpoints, } from './routes';
|
|
9
|
+
export type { ApiContractType, ApiContractDefinition, AuthEndpoints, UsersEndpoints, FarmsEndpoints, FieldsEndpoints, TasksEndpoints, InventoryEndpoints, FinanceEndpoints, HarvestEndpoints, SoilTestsEndpoints, WeatherEndpoints, TeamEndpoints, EquipmentEndpoints, DocumentsEndpoints, SuppliersEndpoints, AnalyticsEndpoints, CategoriesEndpoints, AgentsEndpoints, AgentWorkflowsEndpoints, FieldMonitoringEndpoints, FieldObservationsEndpoints, AdminEndpoints, HealthEndpoints, SeasonalPlansEndpoints, InputUsageEndpoints, PaymentsEndpoints, SubscriptionsEndpoints, OrganizationsEndpoints, WaybillsEndpoints, InvoicesEndpoints, FertigationEndpoints, CropNutrientProfilesEndpoints, FertilizerProductsEndpoints, FertigationSchedulesEndpoints, FertigationEventsEndpoints, FertigationRecommendationsEndpoints, CapitalEndpoints, WhatsAppGatewayEndpoints, MonitoringVisualizationEndpoints, LivestockEndpoints, LivestockGroupsEndpoints, GeofencesEndpoints, LivestockMapEndpoints, PrescriptionMapsEndpoints, MeasurementsEndpoints, CropProfilesEndpoints, FarmStatusEndpoints, LiveMonitorEndpoints, TeamPaymentsEndpoints, CooperativeEndpoints, ExtensionEndpoints, NotificationsEndpoints, CommodityDealsEndpoints, AcademyEndpoints, DeviceGatewayEndpoints, DeviceGatewayAdminEndpoints, FarmGatewayAdminEndpoints, FarmGatewayDeviceEndpoints, FarmUpdatesEndpoints, FieldActivitiesEndpoints, MarketIntelligenceEndpoints, } from './routes';
|
|
10
10
|
export { authRouter } from './routes/auth.routes';
|
|
11
11
|
export { usersRouter } from './routes/users.routes';
|
|
12
12
|
export { farmsRouter } from './routes/farms.routes';
|
|
@@ -61,6 +61,8 @@ export { farmGatewayAdminRouter } from './routes/farm-gateway.routes';
|
|
|
61
61
|
export { farmGatewayDeviceRouter } from './routes/farm-gateway-device.routes';
|
|
62
62
|
export { farmUpdatesRouter } from './routes/farm-updates.routes';
|
|
63
63
|
export { fieldActivitiesRouter } from './routes/field-activities.routes';
|
|
64
|
+
export { marketIntelligenceRouter, marketIntelligenceOverviewSchema, } from './routes/market-intelligence.routes';
|
|
65
|
+
export type { MarketIntelligenceRouter } from './routes/market-intelligence.routes';
|
|
64
66
|
export { irrigationRouter } from './routes/irrigation.routes';
|
|
65
67
|
export { yieldPredictionRouter } from './routes/yield-prediction.routes';
|
|
66
68
|
export { pestDiseaseRiskRouter } from './routes/pest-disease-risk.routes';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,cAAc,EACd,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,mCAAmC,EACnC,gBAAgB,EAChB,wBAAwB,EACxB,gCAAgC,EAChC,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,EACtB,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,EAC1B,oBAAoB,EACpB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,cAAc,EACd,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA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CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AAEnD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,kCAAkC,EAClC,8BAA8B,EAC9B,8BAA8B,EAC9B,+BAA+B,EAC/B,6BAA6B,EAC7B,yBAAyB,EACzB,gCAAgC,EAChC,oCAAoC,EACpC,6BAA6B,EAC7B,iCAAiC,EACjC,8BAA8B,EAC9B,qBAAqB,EACrB,6BAA6B,GAC9B,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,0BAA0B,EAC1B,uBAAuB,EACvB,cAAc,EACd,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,qCAAqC,CAAC;AAC7C,YAAY,EACV,SAAS,EACT,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EACjB,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,qCAAqC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -66,6 +66,7 @@ export { farmGatewayAdminRouter } from './routes/farm-gateway.routes';
|
|
|
66
66
|
export { farmGatewayDeviceRouter } from './routes/farm-gateway-device.routes';
|
|
67
67
|
export { farmUpdatesRouter } from './routes/farm-updates.routes';
|
|
68
68
|
export { fieldActivitiesRouter } from './routes/field-activities.routes';
|
|
69
|
+
export { marketIntelligenceRouter, marketIntelligenceOverviewSchema, } from './routes/market-intelligence.routes';
|
|
69
70
|
export { irrigationRouter } from './routes/irrigation.routes';
|
|
70
71
|
export { yieldPredictionRouter } from './routes/yield-prediction.routes';
|
|
71
72
|
export { pestDiseaseRiskRouter } from './routes/pest-disease-risk.routes';
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"agents.routes.d.ts","sourceRoot":"","sources":["../../src/routes/agents.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,C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