@deepintel-ltd/farmpro-contracts 1.11.12 → 1.14.0
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 +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/routes/geofences.routes.d.ts +12 -12
- package/dist/routes/index.d.ts +2 -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 +1052 -1
- package/dist/routes/market-intelligence.routes.d.ts.map +1 -1
- package/dist/routes/market-intelligence.routes.js +97 -1
- package/dist/routes/staff.routes.d.ts +3985 -0
- package/dist/routes/staff.routes.d.ts.map +1 -0
- package/dist/routes/staff.routes.js +144 -0
- package/dist/routes/team-payments.routes.d.ts +33 -33
- package/dist/routes/yield-prediction.routes.d.ts +133 -0
- package/dist/routes/yield-prediction.routes.d.ts.map +1 -1
- package/dist/schemas/geofences.schemas.d.ts +10 -10
- package/dist/schemas/staff.schemas.d.ts +1292 -0
- package/dist/schemas/staff.schemas.d.ts.map +1 -0
- package/dist/schemas/staff.schemas.js +96 -0
- package/dist/schemas/team-payments.schemas.d.ts +27 -27
- package/dist/schemas/yield-prediction.schemas.d.ts +123 -0
- package/dist/schemas/yield-prediction.schemas.d.ts.map +1 -1
- package/dist/schemas/yield-prediction.schemas.js +20 -0
- package/package.json +1 -1
|
@@ -29,8 +29,8 @@ export declare const geofenceSchema: z.ZodObject<{
|
|
|
29
29
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
30
30
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
31
31
|
};
|
|
32
|
-
alertType: "both" | "entry" | "exit";
|
|
33
32
|
isActive: boolean;
|
|
33
|
+
alertType: "both" | "entry" | "exit";
|
|
34
34
|
updatedAt?: string | undefined;
|
|
35
35
|
color?: string | undefined;
|
|
36
36
|
linkedGroupIds?: string[] | undefined;
|
|
@@ -44,8 +44,8 @@ export declare const geofenceSchema: z.ZodObject<{
|
|
|
44
44
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
45
45
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
46
46
|
};
|
|
47
|
-
alertType: "both" | "entry" | "exit";
|
|
48
47
|
isActive: boolean;
|
|
48
|
+
alertType: "both" | "entry" | "exit";
|
|
49
49
|
updatedAt?: string | undefined;
|
|
50
50
|
color?: string | undefined;
|
|
51
51
|
linkedGroupIds?: string[] | undefined;
|
|
@@ -75,8 +75,8 @@ export declare const createGeofenceBodySchema: z.ZodObject<{
|
|
|
75
75
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
76
76
|
};
|
|
77
77
|
alertType: "both" | "entry" | "exit";
|
|
78
|
-
color?: string | undefined;
|
|
79
78
|
isActive?: boolean | undefined;
|
|
79
|
+
color?: string | undefined;
|
|
80
80
|
linkedGroupIds?: string[] | undefined;
|
|
81
81
|
linkedLivestockIds?: string[] | undefined;
|
|
82
82
|
}, {
|
|
@@ -86,8 +86,8 @@ export declare const createGeofenceBodySchema: z.ZodObject<{
|
|
|
86
86
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
87
87
|
};
|
|
88
88
|
alertType: "both" | "entry" | "exit";
|
|
89
|
-
color?: string | undefined;
|
|
90
89
|
isActive?: boolean | undefined;
|
|
90
|
+
color?: string | undefined;
|
|
91
91
|
linkedGroupIds?: string[] | undefined;
|
|
92
92
|
linkedLivestockIds?: string[] | undefined;
|
|
93
93
|
}>;
|
|
@@ -114,9 +114,9 @@ export declare const updateGeofenceBodySchema: z.ZodObject<{
|
|
|
114
114
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
115
115
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
116
116
|
} | undefined;
|
|
117
|
+
isActive?: boolean | undefined;
|
|
117
118
|
color?: string | undefined;
|
|
118
119
|
alertType?: "both" | "entry" | "exit" | undefined;
|
|
119
|
-
isActive?: boolean | undefined;
|
|
120
120
|
linkedGroupIds?: string[] | undefined;
|
|
121
121
|
linkedLivestockIds?: string[] | undefined;
|
|
122
122
|
}, {
|
|
@@ -125,9 +125,9 @@ export declare const updateGeofenceBodySchema: z.ZodObject<{
|
|
|
125
125
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
126
126
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
127
127
|
} | undefined;
|
|
128
|
+
isActive?: boolean | undefined;
|
|
128
129
|
color?: string | undefined;
|
|
129
130
|
alertType?: "both" | "entry" | "exit" | undefined;
|
|
130
|
-
isActive?: boolean | undefined;
|
|
131
131
|
linkedGroupIds?: string[] | undefined;
|
|
132
132
|
linkedLivestockIds?: string[] | undefined;
|
|
133
133
|
}>;
|
|
@@ -219,8 +219,8 @@ export declare const geofenceListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
219
219
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
220
220
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
221
221
|
};
|
|
222
|
-
alertType: "both" | "entry" | "exit";
|
|
223
222
|
isActive: boolean;
|
|
223
|
+
alertType: "both" | "entry" | "exit";
|
|
224
224
|
updatedAt?: string | undefined;
|
|
225
225
|
color?: string | undefined;
|
|
226
226
|
linkedGroupIds?: string[] | undefined;
|
|
@@ -234,8 +234,8 @@ export declare const geofenceListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
234
234
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
235
235
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
236
236
|
};
|
|
237
|
-
alertType: "both" | "entry" | "exit";
|
|
238
237
|
isActive: boolean;
|
|
238
|
+
alertType: "both" | "entry" | "exit";
|
|
239
239
|
updatedAt?: string | undefined;
|
|
240
240
|
color?: string | undefined;
|
|
241
241
|
linkedGroupIds?: string[] | undefined;
|
|
@@ -271,8 +271,8 @@ export declare const geofenceSingleResponseSchema: z.ZodObject<{
|
|
|
271
271
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
272
272
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
273
273
|
};
|
|
274
|
-
alertType: "both" | "entry" | "exit";
|
|
275
274
|
isActive: boolean;
|
|
275
|
+
alertType: "both" | "entry" | "exit";
|
|
276
276
|
updatedAt?: string | undefined;
|
|
277
277
|
color?: string | undefined;
|
|
278
278
|
linkedGroupIds?: string[] | undefined;
|
|
@@ -286,8 +286,8 @@ export declare const geofenceSingleResponseSchema: z.ZodObject<{
|
|
|
286
286
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
287
287
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
288
288
|
};
|
|
289
|
-
alertType: "both" | "entry" | "exit";
|
|
290
289
|
isActive: boolean;
|
|
290
|
+
alertType: "both" | "entry" | "exit";
|
|
291
291
|
updatedAt?: string | undefined;
|
|
292
292
|
color?: string | undefined;
|
|
293
293
|
linkedGroupIds?: string[] | undefined;
|