@deepintel-ltd/farmpro-contracts 1.15.4 → 1.15.6
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.d.ts +56 -56
- package/dist/routes/commodity-deals.routes.d.ts +561 -6
- package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
- package/dist/routes/commodity-deals.routes.js +17 -1
- package/dist/routes/fertigation.routes.d.ts +160 -160
- package/dist/routes/field-activities.routes.d.ts +172 -172
- package/dist/routes/field-monitoring.routes.d.ts +50 -50
- package/dist/routes/field-observations.routes.d.ts +40 -40
- package/dist/routes/fields.routes.d.ts +461 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.js +19 -1
- package/dist/routes/finance.routes.d.ts +78 -78
- package/dist/routes/harvest.routes.d.ts +72 -72
- package/dist/routes/inventory.routes.d.ts +42 -42
- package/dist/routes/live-monitor.routes.d.ts +6 -6
- package/dist/routes/measurements.routes.d.ts +6 -6
- package/dist/routes/monitoring-visualization.routes.d.ts +12 -12
- package/dist/routes/prescription-maps.routes.d.ts +28 -28
- package/dist/routes/soil-tests.routes.d.ts +80 -80
- package/dist/routes/suppliers.routes.d.ts +80 -80
- package/dist/routes/waybills.routes.d.ts +56 -56
- package/dist/routes/weather.routes.d.ts +24 -24
- package/dist/routes/yield-prediction.routes.d.ts +36 -36
- package/dist/schemas/agent-workflows.schemas.d.ts +64 -64
- package/dist/schemas/commodity-deals.schemas.d.ts +728 -13
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +68 -1
- package/dist/schemas/fertigation.schemas.d.ts +72 -72
- package/dist/schemas/field-activities.schemas.d.ts +148 -148
- package/dist/schemas/field-monitoring.schemas.d.ts +30 -30
- package/dist/schemas/field-observations.schemas.d.ts +34 -34
- package/dist/schemas/fields.schemas.d.ts +286 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +26 -0
- package/dist/schemas/finance.schemas.d.ts +94 -94
- package/dist/schemas/harvest.schemas.d.ts +80 -80
- package/dist/schemas/inventory.schemas.d.ts +46 -46
- package/dist/schemas/live-monitor.schemas.d.ts +10 -10
- package/dist/schemas/measurements.schemas.d.ts +6 -6
- package/dist/schemas/monitoring-visualization.schemas.d.ts +14 -14
- package/dist/schemas/prescription-maps.schemas.d.ts +22 -22
- package/dist/schemas/recommendations.schemas.d.ts +6 -6
- package/dist/schemas/soil-tests.schemas.d.ts +84 -84
- package/dist/schemas/suppliers.schemas.d.ts +84 -84
- package/dist/schemas/waybills.schemas.d.ts +48 -48
- package/dist/schemas/weather.schemas.d.ts +68 -68
- package/dist/schemas/yield-prediction.schemas.d.ts +24 -24
- package/package.json +1 -1
|
@@ -19,36 +19,36 @@ export declare const fieldActivityAttributesSchema: z.ZodObject<{
|
|
|
19
19
|
createdAt: z.ZodString;
|
|
20
20
|
updatedAt: z.ZodString;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
type: "
|
|
22
|
+
type: "weeding" | "fertilizer";
|
|
23
23
|
source: "manual" | "agent" | "whatsapp";
|
|
24
24
|
createdAt: string;
|
|
25
25
|
updatedAt: string;
|
|
26
26
|
method: string | null;
|
|
27
27
|
notes: string | null;
|
|
28
|
+
occurredAt: string;
|
|
29
|
+
quantity: number | null;
|
|
30
|
+
unit: string | null;
|
|
31
|
+
productName: string | null;
|
|
28
32
|
fieldId: string;
|
|
29
33
|
inventoryItemId: string | null;
|
|
30
|
-
unit: string | null;
|
|
31
|
-
quantity: number | null;
|
|
32
34
|
createdById: string | null;
|
|
33
|
-
productName: string | null;
|
|
34
35
|
fertilizerProductId: string | null;
|
|
35
|
-
occurredAt: string;
|
|
36
36
|
fieldName?: string | undefined;
|
|
37
37
|
}, {
|
|
38
|
-
type: "
|
|
38
|
+
type: "weeding" | "fertilizer";
|
|
39
39
|
source: "manual" | "agent" | "whatsapp";
|
|
40
40
|
createdAt: string;
|
|
41
41
|
updatedAt: string;
|
|
42
42
|
method: string | null;
|
|
43
43
|
notes: string | null;
|
|
44
|
+
occurredAt: string;
|
|
45
|
+
quantity: number | null;
|
|
46
|
+
unit: string | null;
|
|
47
|
+
productName: string | null;
|
|
44
48
|
fieldId: string;
|
|
45
49
|
inventoryItemId: string | null;
|
|
46
|
-
unit: string | null;
|
|
47
|
-
quantity: number | null;
|
|
48
50
|
createdById: string | null;
|
|
49
|
-
productName: string | null;
|
|
50
51
|
fertilizerProductId: string | null;
|
|
51
|
-
occurredAt: string;
|
|
52
52
|
fieldName?: string | undefined;
|
|
53
53
|
}>;
|
|
54
54
|
export declare const createFieldActivityAttributesSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -64,52 +64,52 @@ export declare const createFieldActivityAttributesSchema: z.ZodEffects<z.ZodObje
|
|
|
64
64
|
notes: z.ZodOptional<z.ZodString>;
|
|
65
65
|
source: z.ZodOptional<z.ZodEnum<["manual", "agent", "whatsapp"]>>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
type: "
|
|
68
|
-
fieldId: string;
|
|
67
|
+
type: "weeding" | "fertilizer";
|
|
69
68
|
occurredAt: string;
|
|
69
|
+
fieldId: string;
|
|
70
70
|
source?: "manual" | "agent" | "whatsapp" | undefined;
|
|
71
71
|
method?: string | undefined;
|
|
72
72
|
notes?: string | undefined;
|
|
73
|
-
inventoryItemId?: string | undefined;
|
|
74
|
-
unit?: string | undefined;
|
|
75
73
|
quantity?: number | undefined;
|
|
74
|
+
unit?: string | undefined;
|
|
76
75
|
productName?: string | undefined;
|
|
76
|
+
inventoryItemId?: string | undefined;
|
|
77
77
|
fertilizerProductId?: string | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
type: "
|
|
80
|
-
fieldId: string;
|
|
79
|
+
type: "weeding" | "fertilizer";
|
|
81
80
|
occurredAt: string;
|
|
81
|
+
fieldId: string;
|
|
82
82
|
source?: "manual" | "agent" | "whatsapp" | undefined;
|
|
83
83
|
method?: string | undefined;
|
|
84
84
|
notes?: string | undefined;
|
|
85
|
-
inventoryItemId?: string | undefined;
|
|
86
|
-
unit?: string | undefined;
|
|
87
85
|
quantity?: number | undefined;
|
|
86
|
+
unit?: string | undefined;
|
|
88
87
|
productName?: string | undefined;
|
|
88
|
+
inventoryItemId?: string | undefined;
|
|
89
89
|
fertilizerProductId?: string | undefined;
|
|
90
90
|
}>, {
|
|
91
|
-
type: "
|
|
92
|
-
fieldId: string;
|
|
91
|
+
type: "weeding" | "fertilizer";
|
|
93
92
|
occurredAt: string;
|
|
93
|
+
fieldId: string;
|
|
94
94
|
source?: "manual" | "agent" | "whatsapp" | undefined;
|
|
95
95
|
method?: string | undefined;
|
|
96
96
|
notes?: string | undefined;
|
|
97
|
-
inventoryItemId?: string | undefined;
|
|
98
|
-
unit?: string | undefined;
|
|
99
97
|
quantity?: number | undefined;
|
|
98
|
+
unit?: string | undefined;
|
|
100
99
|
productName?: string | undefined;
|
|
100
|
+
inventoryItemId?: string | undefined;
|
|
101
101
|
fertilizerProductId?: string | undefined;
|
|
102
102
|
}, {
|
|
103
|
-
type: "
|
|
104
|
-
fieldId: string;
|
|
103
|
+
type: "weeding" | "fertilizer";
|
|
105
104
|
occurredAt: string;
|
|
105
|
+
fieldId: string;
|
|
106
106
|
source?: "manual" | "agent" | "whatsapp" | undefined;
|
|
107
107
|
method?: string | undefined;
|
|
108
108
|
notes?: string | undefined;
|
|
109
|
-
inventoryItemId?: string | undefined;
|
|
110
|
-
unit?: string | undefined;
|
|
111
109
|
quantity?: number | undefined;
|
|
110
|
+
unit?: string | undefined;
|
|
112
111
|
productName?: string | undefined;
|
|
112
|
+
inventoryItemId?: string | undefined;
|
|
113
113
|
fertilizerProductId?: string | undefined;
|
|
114
114
|
}>;
|
|
115
115
|
export declare const updateFieldActivityAttributesSchema: z.ZodObject<{
|
|
@@ -124,21 +124,21 @@ export declare const updateFieldActivityAttributesSchema: z.ZodObject<{
|
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
125
|
method?: string | null | undefined;
|
|
126
126
|
notes?: string | null | undefined;
|
|
127
|
-
|
|
128
|
-
unit?: string | null | undefined;
|
|
127
|
+
occurredAt?: string | undefined;
|
|
129
128
|
quantity?: number | null | undefined;
|
|
129
|
+
unit?: string | null | undefined;
|
|
130
130
|
productName?: string | null | undefined;
|
|
131
|
+
inventoryItemId?: string | null | undefined;
|
|
131
132
|
fertilizerProductId?: string | null | undefined;
|
|
132
|
-
occurredAt?: string | undefined;
|
|
133
133
|
}, {
|
|
134
134
|
method?: string | null | undefined;
|
|
135
135
|
notes?: string | null | undefined;
|
|
136
|
-
|
|
137
|
-
unit?: string | null | undefined;
|
|
136
|
+
occurredAt?: string | undefined;
|
|
138
137
|
quantity?: number | null | undefined;
|
|
138
|
+
unit?: string | null | undefined;
|
|
139
139
|
productName?: string | null | undefined;
|
|
140
|
+
inventoryItemId?: string | null | undefined;
|
|
140
141
|
fertilizerProductId?: string | null | undefined;
|
|
141
|
-
occurredAt?: string | undefined;
|
|
142
142
|
}>;
|
|
143
143
|
export declare const createFieldActivitySchema: z.ZodObject<{
|
|
144
144
|
type: z.ZodLiteral<"field-activities">;
|
|
@@ -155,82 +155,82 @@ export declare const createFieldActivitySchema: z.ZodObject<{
|
|
|
155
155
|
notes: z.ZodOptional<z.ZodString>;
|
|
156
156
|
source: z.ZodOptional<z.ZodEnum<["manual", "agent", "whatsapp"]>>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
type: "
|
|
159
|
-
fieldId: string;
|
|
158
|
+
type: "weeding" | "fertilizer";
|
|
160
159
|
occurredAt: string;
|
|
160
|
+
fieldId: string;
|
|
161
161
|
source?: "manual" | "agent" | "whatsapp" | undefined;
|
|
162
162
|
method?: string | undefined;
|
|
163
163
|
notes?: string | undefined;
|
|
164
|
-
inventoryItemId?: string | undefined;
|
|
165
|
-
unit?: string | undefined;
|
|
166
164
|
quantity?: number | undefined;
|
|
165
|
+
unit?: string | undefined;
|
|
167
166
|
productName?: string | undefined;
|
|
167
|
+
inventoryItemId?: string | undefined;
|
|
168
168
|
fertilizerProductId?: string | undefined;
|
|
169
169
|
}, {
|
|
170
|
-
type: "
|
|
171
|
-
fieldId: string;
|
|
170
|
+
type: "weeding" | "fertilizer";
|
|
172
171
|
occurredAt: string;
|
|
172
|
+
fieldId: string;
|
|
173
173
|
source?: "manual" | "agent" | "whatsapp" | undefined;
|
|
174
174
|
method?: string | undefined;
|
|
175
175
|
notes?: string | undefined;
|
|
176
|
-
inventoryItemId?: string | undefined;
|
|
177
|
-
unit?: string | undefined;
|
|
178
176
|
quantity?: number | undefined;
|
|
177
|
+
unit?: string | undefined;
|
|
179
178
|
productName?: string | undefined;
|
|
179
|
+
inventoryItemId?: string | undefined;
|
|
180
180
|
fertilizerProductId?: string | undefined;
|
|
181
181
|
}>, {
|
|
182
|
-
type: "
|
|
183
|
-
fieldId: string;
|
|
182
|
+
type: "weeding" | "fertilizer";
|
|
184
183
|
occurredAt: string;
|
|
184
|
+
fieldId: string;
|
|
185
185
|
source?: "manual" | "agent" | "whatsapp" | undefined;
|
|
186
186
|
method?: string | undefined;
|
|
187
187
|
notes?: string | undefined;
|
|
188
|
-
inventoryItemId?: string | undefined;
|
|
189
|
-
unit?: string | undefined;
|
|
190
188
|
quantity?: number | undefined;
|
|
189
|
+
unit?: string | undefined;
|
|
191
190
|
productName?: string | undefined;
|
|
191
|
+
inventoryItemId?: string | undefined;
|
|
192
192
|
fertilizerProductId?: string | undefined;
|
|
193
193
|
}, {
|
|
194
|
-
type: "
|
|
195
|
-
fieldId: string;
|
|
194
|
+
type: "weeding" | "fertilizer";
|
|
196
195
|
occurredAt: string;
|
|
196
|
+
fieldId: string;
|
|
197
197
|
source?: "manual" | "agent" | "whatsapp" | undefined;
|
|
198
198
|
method?: string | undefined;
|
|
199
199
|
notes?: string | undefined;
|
|
200
|
-
inventoryItemId?: string | undefined;
|
|
201
|
-
unit?: string | undefined;
|
|
202
200
|
quantity?: number | undefined;
|
|
201
|
+
unit?: string | undefined;
|
|
203
202
|
productName?: string | undefined;
|
|
203
|
+
inventoryItemId?: string | undefined;
|
|
204
204
|
fertilizerProductId?: string | undefined;
|
|
205
205
|
}>;
|
|
206
206
|
}, "strip", z.ZodTypeAny, {
|
|
207
207
|
type: "field-activities";
|
|
208
208
|
attributes: {
|
|
209
|
-
type: "
|
|
210
|
-
fieldId: string;
|
|
209
|
+
type: "weeding" | "fertilizer";
|
|
211
210
|
occurredAt: string;
|
|
211
|
+
fieldId: string;
|
|
212
212
|
source?: "manual" | "agent" | "whatsapp" | undefined;
|
|
213
213
|
method?: string | undefined;
|
|
214
214
|
notes?: string | undefined;
|
|
215
|
-
inventoryItemId?: string | undefined;
|
|
216
|
-
unit?: string | undefined;
|
|
217
215
|
quantity?: number | undefined;
|
|
216
|
+
unit?: string | undefined;
|
|
218
217
|
productName?: string | undefined;
|
|
218
|
+
inventoryItemId?: string | undefined;
|
|
219
219
|
fertilizerProductId?: string | undefined;
|
|
220
220
|
};
|
|
221
221
|
}, {
|
|
222
222
|
type: "field-activities";
|
|
223
223
|
attributes: {
|
|
224
|
-
type: "
|
|
225
|
-
fieldId: string;
|
|
224
|
+
type: "weeding" | "fertilizer";
|
|
226
225
|
occurredAt: string;
|
|
226
|
+
fieldId: string;
|
|
227
227
|
source?: "manual" | "agent" | "whatsapp" | undefined;
|
|
228
228
|
method?: string | undefined;
|
|
229
229
|
notes?: string | undefined;
|
|
230
|
-
inventoryItemId?: string | undefined;
|
|
231
|
-
unit?: string | undefined;
|
|
232
230
|
quantity?: number | undefined;
|
|
231
|
+
unit?: string | undefined;
|
|
233
232
|
productName?: string | undefined;
|
|
233
|
+
inventoryItemId?: string | undefined;
|
|
234
234
|
fertilizerProductId?: string | undefined;
|
|
235
235
|
};
|
|
236
236
|
}>;
|
|
@@ -249,21 +249,21 @@ export declare const updateFieldActivitySchema: z.ZodObject<{
|
|
|
249
249
|
}, "strip", z.ZodTypeAny, {
|
|
250
250
|
method?: string | null | undefined;
|
|
251
251
|
notes?: string | null | undefined;
|
|
252
|
-
|
|
253
|
-
unit?: string | null | undefined;
|
|
252
|
+
occurredAt?: string | undefined;
|
|
254
253
|
quantity?: number | null | undefined;
|
|
254
|
+
unit?: string | null | undefined;
|
|
255
255
|
productName?: string | null | undefined;
|
|
256
|
+
inventoryItemId?: string | null | undefined;
|
|
256
257
|
fertilizerProductId?: string | null | undefined;
|
|
257
|
-
occurredAt?: string | undefined;
|
|
258
258
|
}, {
|
|
259
259
|
method?: string | null | undefined;
|
|
260
260
|
notes?: string | null | undefined;
|
|
261
|
-
|
|
262
|
-
unit?: string | null | undefined;
|
|
261
|
+
occurredAt?: string | undefined;
|
|
263
262
|
quantity?: number | null | undefined;
|
|
263
|
+
unit?: string | null | undefined;
|
|
264
264
|
productName?: string | null | undefined;
|
|
265
|
+
inventoryItemId?: string | null | undefined;
|
|
265
266
|
fertilizerProductId?: string | null | undefined;
|
|
266
|
-
occurredAt?: string | undefined;
|
|
267
267
|
}>;
|
|
268
268
|
}, "strip", z.ZodTypeAny, {
|
|
269
269
|
type: "field-activities";
|
|
@@ -271,12 +271,12 @@ export declare const updateFieldActivitySchema: z.ZodObject<{
|
|
|
271
271
|
attributes: {
|
|
272
272
|
method?: string | null | undefined;
|
|
273
273
|
notes?: string | null | undefined;
|
|
274
|
-
|
|
275
|
-
unit?: string | null | undefined;
|
|
274
|
+
occurredAt?: string | undefined;
|
|
276
275
|
quantity?: number | null | undefined;
|
|
276
|
+
unit?: string | null | undefined;
|
|
277
277
|
productName?: string | null | undefined;
|
|
278
|
+
inventoryItemId?: string | null | undefined;
|
|
278
279
|
fertilizerProductId?: string | null | undefined;
|
|
279
|
-
occurredAt?: string | undefined;
|
|
280
280
|
};
|
|
281
281
|
}, {
|
|
282
282
|
type: "field-activities";
|
|
@@ -284,12 +284,12 @@ export declare const updateFieldActivitySchema: z.ZodObject<{
|
|
|
284
284
|
attributes: {
|
|
285
285
|
method?: string | null | undefined;
|
|
286
286
|
notes?: string | null | undefined;
|
|
287
|
-
|
|
288
|
-
unit?: string | null | undefined;
|
|
287
|
+
occurredAt?: string | undefined;
|
|
289
288
|
quantity?: number | null | undefined;
|
|
289
|
+
unit?: string | null | undefined;
|
|
290
290
|
productName?: string | null | undefined;
|
|
291
|
+
inventoryItemId?: string | null | undefined;
|
|
291
292
|
fertilizerProductId?: string | null | undefined;
|
|
292
|
-
occurredAt?: string | undefined;
|
|
293
293
|
};
|
|
294
294
|
}>;
|
|
295
295
|
export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
@@ -313,36 +313,36 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
313
313
|
createdAt: z.ZodString;
|
|
314
314
|
updatedAt: z.ZodString;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
type: "
|
|
316
|
+
type: "weeding" | "fertilizer";
|
|
317
317
|
source: "manual" | "agent" | "whatsapp";
|
|
318
318
|
createdAt: string;
|
|
319
319
|
updatedAt: string;
|
|
320
320
|
method: string | null;
|
|
321
321
|
notes: string | null;
|
|
322
|
+
occurredAt: string;
|
|
323
|
+
quantity: number | null;
|
|
324
|
+
unit: string | null;
|
|
325
|
+
productName: string | null;
|
|
322
326
|
fieldId: string;
|
|
323
327
|
inventoryItemId: string | null;
|
|
324
|
-
unit: string | null;
|
|
325
|
-
quantity: number | null;
|
|
326
328
|
createdById: string | null;
|
|
327
|
-
productName: string | null;
|
|
328
329
|
fertilizerProductId: string | null;
|
|
329
|
-
occurredAt: string;
|
|
330
330
|
fieldName?: string | undefined;
|
|
331
331
|
}, {
|
|
332
|
-
type: "
|
|
332
|
+
type: "weeding" | "fertilizer";
|
|
333
333
|
source: "manual" | "agent" | "whatsapp";
|
|
334
334
|
createdAt: string;
|
|
335
335
|
updatedAt: string;
|
|
336
336
|
method: string | null;
|
|
337
337
|
notes: string | null;
|
|
338
|
+
occurredAt: string;
|
|
339
|
+
quantity: number | null;
|
|
340
|
+
unit: string | null;
|
|
341
|
+
productName: string | null;
|
|
338
342
|
fieldId: string;
|
|
339
343
|
inventoryItemId: string | null;
|
|
340
|
-
unit: string | null;
|
|
341
|
-
quantity: number | null;
|
|
342
344
|
createdById: string | null;
|
|
343
|
-
productName: string | null;
|
|
344
345
|
fertilizerProductId: string | null;
|
|
345
|
-
occurredAt: string;
|
|
346
346
|
fieldName?: string | undefined;
|
|
347
347
|
}>;
|
|
348
348
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -352,20 +352,20 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
352
352
|
type: string;
|
|
353
353
|
id: string;
|
|
354
354
|
attributes: {
|
|
355
|
-
type: "
|
|
355
|
+
type: "weeding" | "fertilizer";
|
|
356
356
|
source: "manual" | "agent" | "whatsapp";
|
|
357
357
|
createdAt: string;
|
|
358
358
|
updatedAt: string;
|
|
359
359
|
method: string | null;
|
|
360
360
|
notes: string | null;
|
|
361
|
+
occurredAt: string;
|
|
362
|
+
quantity: number | null;
|
|
363
|
+
unit: string | null;
|
|
364
|
+
productName: string | null;
|
|
361
365
|
fieldId: string;
|
|
362
366
|
inventoryItemId: string | null;
|
|
363
|
-
unit: string | null;
|
|
364
|
-
quantity: number | null;
|
|
365
367
|
createdById: string | null;
|
|
366
|
-
productName: string | null;
|
|
367
368
|
fertilizerProductId: string | null;
|
|
368
|
-
occurredAt: string;
|
|
369
369
|
fieldName?: string | undefined;
|
|
370
370
|
};
|
|
371
371
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -375,20 +375,20 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
375
375
|
type: string;
|
|
376
376
|
id: string;
|
|
377
377
|
attributes: {
|
|
378
|
-
type: "
|
|
378
|
+
type: "weeding" | "fertilizer";
|
|
379
379
|
source: "manual" | "agent" | "whatsapp";
|
|
380
380
|
createdAt: string;
|
|
381
381
|
updatedAt: string;
|
|
382
382
|
method: string | null;
|
|
383
383
|
notes: string | null;
|
|
384
|
+
occurredAt: string;
|
|
385
|
+
quantity: number | null;
|
|
386
|
+
unit: string | null;
|
|
387
|
+
productName: string | null;
|
|
384
388
|
fieldId: string;
|
|
385
389
|
inventoryItemId: string | null;
|
|
386
|
-
unit: string | null;
|
|
387
|
-
quantity: number | null;
|
|
388
390
|
createdById: string | null;
|
|
389
|
-
productName: string | null;
|
|
390
391
|
fertilizerProductId: string | null;
|
|
391
|
-
occurredAt: string;
|
|
392
392
|
fieldName?: string | undefined;
|
|
393
393
|
};
|
|
394
394
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -417,36 +417,36 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
417
417
|
createdAt: z.ZodString;
|
|
418
418
|
updatedAt: z.ZodString;
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
|
-
type: "
|
|
420
|
+
type: "weeding" | "fertilizer";
|
|
421
421
|
source: "manual" | "agent" | "whatsapp";
|
|
422
422
|
createdAt: string;
|
|
423
423
|
updatedAt: string;
|
|
424
424
|
method: string | null;
|
|
425
425
|
notes: string | null;
|
|
426
|
+
occurredAt: string;
|
|
427
|
+
quantity: number | null;
|
|
428
|
+
unit: string | null;
|
|
429
|
+
productName: string | null;
|
|
426
430
|
fieldId: string;
|
|
427
431
|
inventoryItemId: string | null;
|
|
428
|
-
unit: string | null;
|
|
429
|
-
quantity: number | null;
|
|
430
432
|
createdById: string | null;
|
|
431
|
-
productName: string | null;
|
|
432
433
|
fertilizerProductId: string | null;
|
|
433
|
-
occurredAt: string;
|
|
434
434
|
fieldName?: string | undefined;
|
|
435
435
|
}, {
|
|
436
|
-
type: "
|
|
436
|
+
type: "weeding" | "fertilizer";
|
|
437
437
|
source: "manual" | "agent" | "whatsapp";
|
|
438
438
|
createdAt: string;
|
|
439
439
|
updatedAt: string;
|
|
440
440
|
method: string | null;
|
|
441
441
|
notes: string | null;
|
|
442
|
+
occurredAt: string;
|
|
443
|
+
quantity: number | null;
|
|
444
|
+
unit: string | null;
|
|
445
|
+
productName: string | null;
|
|
442
446
|
fieldId: string;
|
|
443
447
|
inventoryItemId: string | null;
|
|
444
|
-
unit: string | null;
|
|
445
|
-
quantity: number | null;
|
|
446
448
|
createdById: string | null;
|
|
447
|
-
productName: string | null;
|
|
448
449
|
fertilizerProductId: string | null;
|
|
449
|
-
occurredAt: string;
|
|
450
450
|
fieldName?: string | undefined;
|
|
451
451
|
}>;
|
|
452
452
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -456,20 +456,20 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
456
456
|
type: string;
|
|
457
457
|
id: string;
|
|
458
458
|
attributes: {
|
|
459
|
-
type: "
|
|
459
|
+
type: "weeding" | "fertilizer";
|
|
460
460
|
source: "manual" | "agent" | "whatsapp";
|
|
461
461
|
createdAt: string;
|
|
462
462
|
updatedAt: string;
|
|
463
463
|
method: string | null;
|
|
464
464
|
notes: string | null;
|
|
465
|
+
occurredAt: string;
|
|
466
|
+
quantity: number | null;
|
|
467
|
+
unit: string | null;
|
|
468
|
+
productName: string | null;
|
|
465
469
|
fieldId: string;
|
|
466
470
|
inventoryItemId: string | null;
|
|
467
|
-
unit: string | null;
|
|
468
|
-
quantity: number | null;
|
|
469
471
|
createdById: string | null;
|
|
470
|
-
productName: string | null;
|
|
471
472
|
fertilizerProductId: string | null;
|
|
472
|
-
occurredAt: string;
|
|
473
473
|
fieldName?: string | undefined;
|
|
474
474
|
};
|
|
475
475
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -479,20 +479,20 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
479
479
|
type: string;
|
|
480
480
|
id: string;
|
|
481
481
|
attributes: {
|
|
482
|
-
type: "
|
|
482
|
+
type: "weeding" | "fertilizer";
|
|
483
483
|
source: "manual" | "agent" | "whatsapp";
|
|
484
484
|
createdAt: string;
|
|
485
485
|
updatedAt: string;
|
|
486
486
|
method: string | null;
|
|
487
487
|
notes: string | null;
|
|
488
|
+
occurredAt: string;
|
|
489
|
+
quantity: number | null;
|
|
490
|
+
unit: string | null;
|
|
491
|
+
productName: string | null;
|
|
488
492
|
fieldId: string;
|
|
489
493
|
inventoryItemId: string | null;
|
|
490
|
-
unit: string | null;
|
|
491
|
-
quantity: number | null;
|
|
492
494
|
createdById: string | null;
|
|
493
|
-
productName: string | null;
|
|
494
495
|
fertilizerProductId: string | null;
|
|
495
|
-
occurredAt: string;
|
|
496
496
|
fieldName?: string | undefined;
|
|
497
497
|
};
|
|
498
498
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -528,20 +528,20 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
528
528
|
type: string;
|
|
529
529
|
id: string;
|
|
530
530
|
attributes: {
|
|
531
|
-
type: "
|
|
531
|
+
type: "weeding" | "fertilizer";
|
|
532
532
|
source: "manual" | "agent" | "whatsapp";
|
|
533
533
|
createdAt: string;
|
|
534
534
|
updatedAt: string;
|
|
535
535
|
method: string | null;
|
|
536
536
|
notes: string | null;
|
|
537
|
+
occurredAt: string;
|
|
538
|
+
quantity: number | null;
|
|
539
|
+
unit: string | null;
|
|
540
|
+
productName: string | null;
|
|
537
541
|
fieldId: string;
|
|
538
542
|
inventoryItemId: string | null;
|
|
539
|
-
unit: string | null;
|
|
540
|
-
quantity: number | null;
|
|
541
543
|
createdById: string | null;
|
|
542
|
-
productName: string | null;
|
|
543
544
|
fertilizerProductId: string | null;
|
|
544
|
-
occurredAt: string;
|
|
545
545
|
fieldName?: string | undefined;
|
|
546
546
|
};
|
|
547
547
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -563,20 +563,20 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
563
563
|
type: string;
|
|
564
564
|
id: string;
|
|
565
565
|
attributes: {
|
|
566
|
-
type: "
|
|
566
|
+
type: "weeding" | "fertilizer";
|
|
567
567
|
source: "manual" | "agent" | "whatsapp";
|
|
568
568
|
createdAt: string;
|
|
569
569
|
updatedAt: string;
|
|
570
570
|
method: string | null;
|
|
571
571
|
notes: string | null;
|
|
572
|
+
occurredAt: string;
|
|
573
|
+
quantity: number | null;
|
|
574
|
+
unit: string | null;
|
|
575
|
+
productName: string | null;
|
|
572
576
|
fieldId: string;
|
|
573
577
|
inventoryItemId: string | null;
|
|
574
|
-
unit: string | null;
|
|
575
|
-
quantity: number | null;
|
|
576
578
|
createdById: string | null;
|
|
577
|
-
productName: string | null;
|
|
578
579
|
fertilizerProductId: string | null;
|
|
579
|
-
occurredAt: string;
|
|
580
580
|
fieldName?: string | undefined;
|
|
581
581
|
};
|
|
582
582
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -616,36 +616,36 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
616
616
|
createdAt: z.ZodString;
|
|
617
617
|
updatedAt: z.ZodString;
|
|
618
618
|
}, "strip", z.ZodTypeAny, {
|
|
619
|
-
type: "
|
|
619
|
+
type: "weeding" | "fertilizer";
|
|
620
620
|
source: "manual" | "agent" | "whatsapp";
|
|
621
621
|
createdAt: string;
|
|
622
622
|
updatedAt: string;
|
|
623
623
|
method: string | null;
|
|
624
624
|
notes: string | null;
|
|
625
|
+
occurredAt: string;
|
|
626
|
+
quantity: number | null;
|
|
627
|
+
unit: string | null;
|
|
628
|
+
productName: string | null;
|
|
625
629
|
fieldId: string;
|
|
626
630
|
inventoryItemId: string | null;
|
|
627
|
-
unit: string | null;
|
|
628
|
-
quantity: number | null;
|
|
629
631
|
createdById: string | null;
|
|
630
|
-
productName: string | null;
|
|
631
632
|
fertilizerProductId: string | null;
|
|
632
|
-
occurredAt: string;
|
|
633
633
|
fieldName?: string | undefined;
|
|
634
634
|
}, {
|
|
635
|
-
type: "
|
|
635
|
+
type: "weeding" | "fertilizer";
|
|
636
636
|
source: "manual" | "agent" | "whatsapp";
|
|
637
637
|
createdAt: string;
|
|
638
638
|
updatedAt: string;
|
|
639
639
|
method: string | null;
|
|
640
640
|
notes: string | null;
|
|
641
|
+
occurredAt: string;
|
|
642
|
+
quantity: number | null;
|
|
643
|
+
unit: string | null;
|
|
644
|
+
productName: string | null;
|
|
641
645
|
fieldId: string;
|
|
642
646
|
inventoryItemId: string | null;
|
|
643
|
-
unit: string | null;
|
|
644
|
-
quantity: number | null;
|
|
645
647
|
createdById: string | null;
|
|
646
|
-
productName: string | null;
|
|
647
648
|
fertilizerProductId: string | null;
|
|
648
|
-
occurredAt: string;
|
|
649
649
|
fieldName?: string | undefined;
|
|
650
650
|
}>;
|
|
651
651
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -655,20 +655,20 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
655
655
|
type: string;
|
|
656
656
|
id: string;
|
|
657
657
|
attributes: {
|
|
658
|
-
type: "
|
|
658
|
+
type: "weeding" | "fertilizer";
|
|
659
659
|
source: "manual" | "agent" | "whatsapp";
|
|
660
660
|
createdAt: string;
|
|
661
661
|
updatedAt: string;
|
|
662
662
|
method: string | null;
|
|
663
663
|
notes: string | null;
|
|
664
|
+
occurredAt: string;
|
|
665
|
+
quantity: number | null;
|
|
666
|
+
unit: string | null;
|
|
667
|
+
productName: string | null;
|
|
664
668
|
fieldId: string;
|
|
665
669
|
inventoryItemId: string | null;
|
|
666
|
-
unit: string | null;
|
|
667
|
-
quantity: number | null;
|
|
668
670
|
createdById: string | null;
|
|
669
|
-
productName: string | null;
|
|
670
671
|
fertilizerProductId: string | null;
|
|
671
|
-
occurredAt: string;
|
|
672
672
|
fieldName?: string | undefined;
|
|
673
673
|
};
|
|
674
674
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -678,20 +678,20 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
678
678
|
type: string;
|
|
679
679
|
id: string;
|
|
680
680
|
attributes: {
|
|
681
|
-
type: "
|
|
681
|
+
type: "weeding" | "fertilizer";
|
|
682
682
|
source: "manual" | "agent" | "whatsapp";
|
|
683
683
|
createdAt: string;
|
|
684
684
|
updatedAt: string;
|
|
685
685
|
method: string | null;
|
|
686
686
|
notes: string | null;
|
|
687
|
+
occurredAt: string;
|
|
688
|
+
quantity: number | null;
|
|
689
|
+
unit: string | null;
|
|
690
|
+
productName: string | null;
|
|
687
691
|
fieldId: string;
|
|
688
692
|
inventoryItemId: string | null;
|
|
689
|
-
unit: string | null;
|
|
690
|
-
quantity: number | null;
|
|
691
693
|
createdById: string | null;
|
|
692
|
-
productName: string | null;
|
|
693
694
|
fertilizerProductId: string | null;
|
|
694
|
-
occurredAt: string;
|
|
695
695
|
fieldName?: string | undefined;
|
|
696
696
|
};
|
|
697
697
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -727,20 +727,20 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
727
727
|
type: string;
|
|
728
728
|
id: string;
|
|
729
729
|
attributes: {
|
|
730
|
-
type: "
|
|
730
|
+
type: "weeding" | "fertilizer";
|
|
731
731
|
source: "manual" | "agent" | "whatsapp";
|
|
732
732
|
createdAt: string;
|
|
733
733
|
updatedAt: string;
|
|
734
734
|
method: string | null;
|
|
735
735
|
notes: string | null;
|
|
736
|
+
occurredAt: string;
|
|
737
|
+
quantity: number | null;
|
|
738
|
+
unit: string | null;
|
|
739
|
+
productName: string | null;
|
|
736
740
|
fieldId: string;
|
|
737
741
|
inventoryItemId: string | null;
|
|
738
|
-
unit: string | null;
|
|
739
|
-
quantity: number | null;
|
|
740
742
|
createdById: string | null;
|
|
741
|
-
productName: string | null;
|
|
742
743
|
fertilizerProductId: string | null;
|
|
743
|
-
occurredAt: string;
|
|
744
744
|
fieldName?: string | undefined;
|
|
745
745
|
};
|
|
746
746
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -762,20 +762,20 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
762
762
|
type: string;
|
|
763
763
|
id: string;
|
|
764
764
|
attributes: {
|
|
765
|
-
type: "
|
|
765
|
+
type: "weeding" | "fertilizer";
|
|
766
766
|
source: "manual" | "agent" | "whatsapp";
|
|
767
767
|
createdAt: string;
|
|
768
768
|
updatedAt: string;
|
|
769
769
|
method: string | null;
|
|
770
770
|
notes: string | null;
|
|
771
|
+
occurredAt: string;
|
|
772
|
+
quantity: number | null;
|
|
773
|
+
unit: string | null;
|
|
774
|
+
productName: string | null;
|
|
771
775
|
fieldId: string;
|
|
772
776
|
inventoryItemId: string | null;
|
|
773
|
-
unit: string | null;
|
|
774
|
-
quantity: number | null;
|
|
775
777
|
createdById: string | null;
|
|
776
|
-
productName: string | null;
|
|
777
778
|
fertilizerProductId: string | null;
|
|
778
|
-
occurredAt: string;
|
|
779
779
|
fieldName?: string | undefined;
|
|
780
780
|
};
|
|
781
781
|
relationships?: Record<string, unknown> | undefined;
|