@deepintel-ltd/farmpro-contracts 1.4.2 → 1.5.1
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/routes/agent-workflows.routes.js +6 -6
- package/dist/routes/documents.routes.d.ts +378 -15
- package/dist/routes/documents.routes.d.ts.map +1 -1
- package/dist/routes/documents.routes.js +16 -1
- package/dist/routes/farms.routes.d.ts +42 -0
- package/dist/routes/farms.routes.d.ts.map +1 -1
- package/dist/routes/field-monitoring.routes.d.ts +290 -4
- package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
- package/dist/routes/field-monitoring.routes.js +48 -1
- package/dist/routes/field-observations.routes.d.ts +6 -6
- package/dist/routes/tasks.routes.d.ts +10 -4
- package/dist/routes/tasks.routes.d.ts.map +1 -1
- package/dist/routes/team.routes.d.ts +343 -0
- package/dist/routes/team.routes.d.ts.map +1 -1
- package/dist/routes/team.routes.js +26 -0
- package/dist/schemas/documents.schemas.d.ts +77 -18
- package/dist/schemas/documents.schemas.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.js +6 -3
- package/dist/schemas/farms.schemas.d.ts +51 -0
- package/dist/schemas/farms.schemas.d.ts.map +1 -1
- package/dist/schemas/farms.schemas.js +5 -1
- package/dist/schemas/field-monitoring.schemas.d.ts +9 -3
- package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
- package/dist/schemas/field-monitoring.schemas.js +3 -1
- package/dist/schemas/field-observations.schemas.d.ts +3 -3
- package/dist/schemas/field-observations.schemas.js +1 -1
- package/dist/schemas/tasks.schemas.d.ts +17 -5
- package/dist/schemas/tasks.schemas.d.ts.map +1 -1
- package/dist/schemas/tasks.schemas.js +9 -1
- package/dist/schemas/team.schemas.d.ts +8 -0
- package/dist/schemas/team.schemas.d.ts.map +1 -1
- package/dist/schemas/team.schemas.js +1 -0
- package/package.json +1 -1
|
@@ -26,8 +26,8 @@ exports.agentWorkflowsRouter = c.router({
|
|
|
26
26
|
triggerEvent: zod_1.z.string().optional(), // e.g., 'observation.analysis.completed'
|
|
27
27
|
startDate: zod_1.z.string().datetime().optional(),
|
|
28
28
|
endDate: zod_1.z.string().datetime().optional(),
|
|
29
|
-
limit: zod_1.z.number().int().min(1).max(100).default(20),
|
|
30
|
-
offset: zod_1.z.number().int().min(0).default(0),
|
|
29
|
+
limit: zod_1.z.coerce.number().int().min(1).max(100).default(20),
|
|
30
|
+
offset: zod_1.z.coerce.number().int().min(0).default(0),
|
|
31
31
|
}),
|
|
32
32
|
responses: {
|
|
33
33
|
200: agent_workflows_schemas_1.agentWorkflowListResponseSchema,
|
|
@@ -69,8 +69,8 @@ exports.agentWorkflowsRouter = c.router({
|
|
|
69
69
|
path: '/farms/:farmId/agent-workflows',
|
|
70
70
|
query: zod_1.z.object({
|
|
71
71
|
status: agent_workflows_schemas_1.agentWorkflowStatusSchema.optional(),
|
|
72
|
-
limit: zod_1.z.number().int().min(1).max(100).default(20),
|
|
73
|
-
offset: zod_1.z.number().int().min(0).default(0),
|
|
72
|
+
limit: zod_1.z.coerce.number().int().min(1).max(100).default(20),
|
|
73
|
+
offset: zod_1.z.coerce.number().int().min(0).default(0),
|
|
74
74
|
}),
|
|
75
75
|
responses: {
|
|
76
76
|
200: agent_workflows_schemas_1.agentWorkflowListResponseSchema,
|
|
@@ -93,8 +93,8 @@ exports.agentWorkflowsRouter = c.router({
|
|
|
93
93
|
path: '/fields/:fieldId/agent-workflows',
|
|
94
94
|
query: zod_1.z.object({
|
|
95
95
|
status: agent_workflows_schemas_1.agentWorkflowStatusSchema.optional(),
|
|
96
|
-
limit: zod_1.z.number().int().min(1).max(100).default(20),
|
|
97
|
-
offset: zod_1.z.number().int().min(0).default(0),
|
|
96
|
+
limit: zod_1.z.coerce.number().int().min(1).max(100).default(20),
|
|
97
|
+
offset: zod_1.z.coerce.number().int().min(0).default(0),
|
|
98
98
|
}),
|
|
99
99
|
responses: {
|
|
100
100
|
200: agent_workflows_schemas_1.agentWorkflowListResponseSchema,
|