@deepintel-ltd/farmpro-contracts 1.5.12 → 1.5.14

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.
@@ -9,32 +9,36 @@ import { z } from 'zod';
9
9
  export declare const agentWorkflowsRouter: {
10
10
  listWorkflows: {
11
11
  query: z.ZodObject<{
12
- farmId: z.ZodOptional<z.ZodString>;
13
- fieldId: z.ZodOptional<z.ZodString>;
14
- status: z.ZodOptional<z.ZodEnum<["in_progress", "completed", "failed"]>>;
15
- triggerEvent: z.ZodOptional<z.ZodString>;
16
- startDate: z.ZodOptional<z.ZodString>;
17
- endDate: z.ZodOptional<z.ZodString>;
18
- limit: z.ZodDefault<z.ZodNumber>;
19
- offset: z.ZodDefault<z.ZodNumber>;
12
+ 'page[number]': z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
13
+ 'page[size]': z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
14
+ 'filter[startDate]': z.ZodOptional<z.ZodString>;
15
+ 'filter[endDate]': z.ZodOptional<z.ZodString>;
16
+ 'filter[crop]': z.ZodOptional<z.ZodString>;
17
+ } & {
18
+ 'filter[farmId]': z.ZodOptional<z.ZodString>;
19
+ 'filter[fieldId]': z.ZodOptional<z.ZodString>;
20
+ 'filter[status]': z.ZodOptional<z.ZodEnum<["in_progress", "completed", "failed"]>>;
21
+ 'filter[triggerEvent]': z.ZodOptional<z.ZodString>;
20
22
  }, "strip", z.ZodTypeAny, {
21
- limit: number;
22
- offset: number;
23
- status?: "completed" | "in_progress" | "failed" | undefined;
24
- farmId?: string | undefined;
25
- fieldId?: string | undefined;
26
- triggerEvent?: string | undefined;
27
- startDate?: string | undefined;
28
- endDate?: string | undefined;
23
+ 'page[number]'?: number | undefined;
24
+ 'page[size]'?: number | undefined;
25
+ 'filter[startDate]'?: string | undefined;
26
+ 'filter[endDate]'?: string | undefined;
27
+ 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
28
+ 'filter[crop]'?: string | undefined;
29
+ 'filter[fieldId]'?: string | undefined;
30
+ 'filter[farmId]'?: string | undefined;
31
+ 'filter[triggerEvent]'?: string | undefined;
29
32
  }, {
30
- status?: "completed" | "in_progress" | "failed" | undefined;
31
- farmId?: string | undefined;
32
- fieldId?: string | undefined;
33
- limit?: number | undefined;
34
- offset?: number | undefined;
35
- triggerEvent?: string | undefined;
36
- startDate?: string | undefined;
37
- endDate?: string | undefined;
33
+ 'page[number]'?: number | undefined;
34
+ 'page[size]'?: number | undefined;
35
+ 'filter[startDate]'?: string | undefined;
36
+ 'filter[endDate]'?: string | undefined;
37
+ 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
38
+ 'filter[crop]'?: string | undefined;
39
+ 'filter[fieldId]'?: string | undefined;
40
+ 'filter[farmId]'?: string | undefined;
41
+ 'filter[triggerEvent]'?: string | undefined;
38
42
  }>;
39
43
  summary: "List agent workflows with filters";
40
44
  method: "GET";
@@ -1341,17 +1345,18 @@ export declare const agentWorkflowsRouter: {
1341
1345
  };
1342
1346
  getWorkflowsByFarm: {
1343
1347
  query: z.ZodObject<{
1344
- status: z.ZodOptional<z.ZodEnum<["in_progress", "completed", "failed"]>>;
1345
- limit: z.ZodDefault<z.ZodNumber>;
1346
- offset: z.ZodDefault<z.ZodNumber>;
1348
+ 'page[number]': z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1349
+ 'page[size]': z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1350
+ } & {
1351
+ 'filter[status]': z.ZodOptional<z.ZodEnum<["in_progress", "completed", "failed"]>>;
1347
1352
  }, "strip", z.ZodTypeAny, {
1348
- limit: number;
1349
- offset: number;
1350
- status?: "completed" | "in_progress" | "failed" | undefined;
1353
+ 'page[number]'?: number | undefined;
1354
+ 'page[size]'?: number | undefined;
1355
+ 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
1351
1356
  }, {
1352
- status?: "completed" | "in_progress" | "failed" | undefined;
1353
- limit?: number | undefined;
1354
- offset?: number | undefined;
1357
+ 'page[number]'?: number | undefined;
1358
+ 'page[size]'?: number | undefined;
1359
+ 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
1355
1360
  }>;
1356
1361
  summary: "Get all workflows for a farm";
1357
1362
  method: "GET";
@@ -2006,17 +2011,18 @@ export declare const agentWorkflowsRouter: {
2006
2011
  };
2007
2012
  getWorkflowsByField: {
2008
2013
  query: z.ZodObject<{
2009
- status: z.ZodOptional<z.ZodEnum<["in_progress", "completed", "failed"]>>;
2010
- limit: z.ZodDefault<z.ZodNumber>;
2011
- offset: z.ZodDefault<z.ZodNumber>;
2014
+ 'page[number]': z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
2015
+ 'page[size]': z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
2016
+ } & {
2017
+ 'filter[status]': z.ZodOptional<z.ZodEnum<["in_progress", "completed", "failed"]>>;
2012
2018
  }, "strip", z.ZodTypeAny, {
2013
- limit: number;
2014
- offset: number;
2015
- status?: "completed" | "in_progress" | "failed" | undefined;
2019
+ 'page[number]'?: number | undefined;
2020
+ 'page[size]'?: number | undefined;
2021
+ 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
2016
2022
  }, {
2017
- status?: "completed" | "in_progress" | "failed" | undefined;
2018
- limit?: number | undefined;
2019
- offset?: number | undefined;
2023
+ 'page[number]'?: number | undefined;
2024
+ 'page[size]'?: number | undefined;
2025
+ 'filter[status]'?: "completed" | "in_progress" | "failed" | undefined;
2020
2026
  }>;
2021
2027
  summary: "Get all workflows for a field";
2022
2028
  method: "GET";
@@ -1 +1 @@
1
- {"version":3,"file":"agent-workflows.routes.d.ts","sourceRoot":"","sources":["../../src/routes/agent-workflows.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2J/B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { initContract } from '@ts-rest/core';
2
2
  import { z } from 'zod';
3
3
  import { agentWorkflowResponseSchema, agentWorkflowListResponseSchema, agentWorkflowStatusSchema, } from '../schemas/agent-workflows.schemas';
4
+ import { jsonApiPaginationQuerySchema, jsonApiFilterQuerySchema, } from '../schemas/common.schemas';
4
5
  const c = initContract();
5
6
  /**
6
7
  * Agent Workflows Routes
@@ -16,16 +17,14 @@ export const agentWorkflowsRouter = c.router({
16
17
  listWorkflows: {
17
18
  method: 'GET',
18
19
  path: '/agent-workflows',
19
- query: z.object({
20
- farmId: z.string().uuid().optional(),
21
- fieldId: z.string().uuid().optional(),
22
- status: agentWorkflowStatusSchema.optional(),
23
- triggerEvent: z.string().optional(), // e.g., 'observation.analysis.completed'
24
- startDate: z.string().datetime().optional(),
25
- endDate: z.string().datetime().optional(),
26
- limit: z.coerce.number().int().min(1).max(100).default(20),
27
- offset: z.coerce.number().int().min(0).default(0),
28
- }),
20
+ query: jsonApiPaginationQuerySchema
21
+ .merge(jsonApiFilterQuerySchema)
22
+ .merge(z.object({
23
+ 'filter[farmId]': z.string().uuid().optional(),
24
+ 'filter[fieldId]': z.string().uuid().optional(),
25
+ 'filter[status]': agentWorkflowStatusSchema.optional(),
26
+ 'filter[triggerEvent]': z.string().optional(), // e.g., 'observation.analysis.completed'
27
+ })),
29
28
  responses: {
30
29
  200: agentWorkflowListResponseSchema,
31
30
  400: z.object({
@@ -64,11 +63,10 @@ export const agentWorkflowsRouter = c.router({
64
63
  getWorkflowsByFarm: {
65
64
  method: 'GET',
66
65
  path: '/farms/:farmId/agent-workflows',
67
- query: z.object({
68
- status: agentWorkflowStatusSchema.optional(),
69
- limit: z.coerce.number().int().min(1).max(100).default(20),
70
- offset: z.coerce.number().int().min(0).default(0),
71
- }),
66
+ query: jsonApiPaginationQuerySchema
67
+ .merge(z.object({
68
+ 'filter[status]': agentWorkflowStatusSchema.optional(),
69
+ })),
72
70
  responses: {
73
71
  200: agentWorkflowListResponseSchema,
74
72
  404: z.object({
@@ -88,11 +86,10 @@ export const agentWorkflowsRouter = c.router({
88
86
  getWorkflowsByField: {
89
87
  method: 'GET',
90
88
  path: '/fields/:fieldId/agent-workflows',
91
- query: z.object({
92
- status: agentWorkflowStatusSchema.optional(),
93
- limit: z.coerce.number().int().min(1).max(100).default(20),
94
- offset: z.coerce.number().int().min(0).default(0),
95
- }),
89
+ query: jsonApiPaginationQuerySchema
90
+ .merge(z.object({
91
+ 'filter[status]': agentWorkflowStatusSchema.optional(),
92
+ })),
96
93
  responses: {
97
94
  200: agentWorkflowListResponseSchema,
98
95
  404: z.object({