@deepintel-ltd/farmpro-contracts 1.11.8 → 1.11.9

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.
Files changed (40) hide show
  1. package/dist/index.d.ts +3 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -0
  4. package/dist/routes/agents.routes.d.ts +142 -0
  5. package/dist/routes/agents.routes.d.ts.map +1 -1
  6. package/dist/routes/equipment.routes.d.ts +36 -36
  7. package/dist/routes/extension.routes.d.ts +12 -12
  8. package/dist/routes/fertigation.routes.d.ts +156 -156
  9. package/dist/routes/field-activities.routes.d.ts +2397 -0
  10. package/dist/routes/field-activities.routes.d.ts.map +1 -0
  11. package/dist/routes/field-activities.routes.js +81 -0
  12. package/dist/routes/fields.routes.d.ts +860 -0
  13. package/dist/routes/fields.routes.d.ts.map +1 -1
  14. package/dist/routes/fields.routes.js +20 -1
  15. package/dist/routes/index.d.ts +3 -0
  16. package/dist/routes/index.d.ts.map +1 -1
  17. package/dist/routes/index.js +2 -0
  18. package/dist/routes/irrigation.routes.d.ts +20 -20
  19. package/dist/routes/livestock-groups.routes.d.ts +36 -36
  20. package/dist/routes/livestock.routes.d.ts +30 -30
  21. package/dist/routes/soil-tests.routes.d.ts +36 -36
  22. package/dist/routes/tasks.routes.d.ts +120 -120
  23. package/dist/schemas/agents.schemas.d.ts +163 -0
  24. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  25. package/dist/schemas/agents.schemas.js +23 -0
  26. package/dist/schemas/equipment.schemas.d.ts +30 -30
  27. package/dist/schemas/extension.schemas.d.ts +18 -18
  28. package/dist/schemas/fertigation.schemas.d.ts +42 -42
  29. package/dist/schemas/field-activities.schemas.d.ts +806 -0
  30. package/dist/schemas/field-activities.schemas.d.ts.map +1 -0
  31. package/dist/schemas/field-activities.schemas.js +68 -0
  32. package/dist/schemas/fields.schemas.d.ts +173 -0
  33. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  34. package/dist/schemas/fields.schemas.js +14 -0
  35. package/dist/schemas/irrigation.schemas.d.ts +14 -14
  36. package/dist/schemas/livestock-groups.schemas.d.ts +24 -24
  37. package/dist/schemas/livestock.schemas.d.ts +24 -24
  38. package/dist/schemas/soil-tests.schemas.d.ts +34 -34
  39. package/dist/schemas/tasks.schemas.d.ts +96 -96
  40. package/package.json +1 -1
@@ -120,8 +120,8 @@ export declare const equipmentRouter: {
120
120
  brand: string | null;
121
121
  farmId: string;
122
122
  location: string | null;
123
- assignedTo: string | null;
124
123
  notes: string | null;
124
+ assignedTo: string | null;
125
125
  model: string | null;
126
126
  serialNumber: string | null;
127
127
  purchaseDate: string | null;
@@ -153,8 +153,8 @@ export declare const equipmentRouter: {
153
153
  brand: string | null;
154
154
  farmId: string;
155
155
  location: string | null;
156
- assignedTo: string | null;
157
156
  notes: string | null;
157
+ assignedTo: string | null;
158
158
  model: string | null;
159
159
  serialNumber: string | null;
160
160
  purchaseDate: string | null;
@@ -193,8 +193,8 @@ export declare const equipmentRouter: {
193
193
  brand: string | null;
194
194
  farmId: string;
195
195
  location: string | null;
196
- assignedTo: string | null;
197
196
  notes: string | null;
197
+ assignedTo: string | null;
198
198
  model: string | null;
199
199
  serialNumber: string | null;
200
200
  purchaseDate: string | null;
@@ -233,8 +233,8 @@ export declare const equipmentRouter: {
233
233
  brand: string | null;
234
234
  farmId: string;
235
235
  location: string | null;
236
- assignedTo: string | null;
237
236
  notes: string | null;
237
+ assignedTo: string | null;
238
238
  model: string | null;
239
239
  serialNumber: string | null;
240
240
  purchaseDate: string | null;
@@ -299,8 +299,8 @@ export declare const equipmentRouter: {
299
299
  brand: string | null;
300
300
  farmId: string;
301
301
  location: string | null;
302
- assignedTo: string | null;
303
302
  notes: string | null;
303
+ assignedTo: string | null;
304
304
  model: string | null;
305
305
  serialNumber: string | null;
306
306
  purchaseDate: string | null;
@@ -351,8 +351,8 @@ export declare const equipmentRouter: {
351
351
  brand: string | null;
352
352
  farmId: string;
353
353
  location: string | null;
354
- assignedTo: string | null;
355
354
  notes: string | null;
355
+ assignedTo: string | null;
356
356
  model: string | null;
357
357
  serialNumber: string | null;
358
358
  purchaseDate: string | null;
@@ -606,8 +606,8 @@ export declare const equipmentRouter: {
606
606
  name: string;
607
607
  brand?: string | undefined;
608
608
  location?: string | undefined;
609
- assignedTo?: string | undefined;
610
609
  notes?: string | undefined;
610
+ assignedTo?: string | undefined;
611
611
  model?: string | undefined;
612
612
  serialNumber?: string | undefined;
613
613
  purchaseDate?: string | undefined;
@@ -619,8 +619,8 @@ export declare const equipmentRouter: {
619
619
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
620
620
  brand?: string | undefined;
621
621
  location?: string | undefined;
622
- assignedTo?: string | undefined;
623
622
  notes?: string | undefined;
623
+ assignedTo?: string | undefined;
624
624
  model?: string | undefined;
625
625
  serialNumber?: string | undefined;
626
626
  purchaseDate?: string | undefined;
@@ -635,8 +635,8 @@ export declare const equipmentRouter: {
635
635
  name: string;
636
636
  brand?: string | undefined;
637
637
  location?: string | undefined;
638
- assignedTo?: string | undefined;
639
638
  notes?: string | undefined;
639
+ assignedTo?: string | undefined;
640
640
  model?: string | undefined;
641
641
  serialNumber?: string | undefined;
642
642
  purchaseDate?: string | undefined;
@@ -651,8 +651,8 @@ export declare const equipmentRouter: {
651
651
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
652
652
  brand?: string | undefined;
653
653
  location?: string | undefined;
654
- assignedTo?: string | undefined;
655
654
  notes?: string | undefined;
655
+ assignedTo?: string | undefined;
656
656
  model?: string | undefined;
657
657
  serialNumber?: string | undefined;
658
658
  purchaseDate?: string | undefined;
@@ -669,8 +669,8 @@ export declare const equipmentRouter: {
669
669
  name: string;
670
670
  brand?: string | undefined;
671
671
  location?: string | undefined;
672
- assignedTo?: string | undefined;
673
672
  notes?: string | undefined;
673
+ assignedTo?: string | undefined;
674
674
  model?: string | undefined;
675
675
  serialNumber?: string | undefined;
676
676
  purchaseDate?: string | undefined;
@@ -687,8 +687,8 @@ export declare const equipmentRouter: {
687
687
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
688
688
  brand?: string | undefined;
689
689
  location?: string | undefined;
690
- assignedTo?: string | undefined;
691
690
  notes?: string | undefined;
691
+ assignedTo?: string | undefined;
692
692
  model?: string | undefined;
693
693
  serialNumber?: string | undefined;
694
694
  purchaseDate?: string | undefined;
@@ -774,8 +774,8 @@ export declare const equipmentRouter: {
774
774
  brand: string | null;
775
775
  farmId: string;
776
776
  location: string | null;
777
- assignedTo: string | null;
778
777
  notes: string | null;
778
+ assignedTo: string | null;
779
779
  model: string | null;
780
780
  serialNumber: string | null;
781
781
  purchaseDate: string | null;
@@ -807,8 +807,8 @@ export declare const equipmentRouter: {
807
807
  brand: string | null;
808
808
  farmId: string;
809
809
  location: string | null;
810
- assignedTo: string | null;
811
810
  notes: string | null;
811
+ assignedTo: string | null;
812
812
  model: string | null;
813
813
  serialNumber: string | null;
814
814
  purchaseDate: string | null;
@@ -847,8 +847,8 @@ export declare const equipmentRouter: {
847
847
  brand: string | null;
848
848
  farmId: string;
849
849
  location: string | null;
850
- assignedTo: string | null;
851
850
  notes: string | null;
851
+ assignedTo: string | null;
852
852
  model: string | null;
853
853
  serialNumber: string | null;
854
854
  purchaseDate: string | null;
@@ -887,8 +887,8 @@ export declare const equipmentRouter: {
887
887
  brand: string | null;
888
888
  farmId: string;
889
889
  location: string | null;
890
- assignedTo: string | null;
891
890
  notes: string | null;
891
+ assignedTo: string | null;
892
892
  model: string | null;
893
893
  serialNumber: string | null;
894
894
  purchaseDate: string | null;
@@ -953,8 +953,8 @@ export declare const equipmentRouter: {
953
953
  brand: string | null;
954
954
  farmId: string;
955
955
  location: string | null;
956
- assignedTo: string | null;
957
956
  notes: string | null;
957
+ assignedTo: string | null;
958
958
  model: string | null;
959
959
  serialNumber: string | null;
960
960
  purchaseDate: string | null;
@@ -1005,8 +1005,8 @@ export declare const equipmentRouter: {
1005
1005
  brand: string | null;
1006
1006
  farmId: string;
1007
1007
  location: string | null;
1008
- assignedTo: string | null;
1009
1008
  notes: string | null;
1009
+ assignedTo: string | null;
1010
1010
  model: string | null;
1011
1011
  serialNumber: string | null;
1012
1012
  purchaseDate: string | null;
@@ -1505,8 +1505,8 @@ export declare const equipmentRouter: {
1505
1505
  brand: string | null;
1506
1506
  farmId: string;
1507
1507
  location: string | null;
1508
- assignedTo: string | null;
1509
1508
  notes: string | null;
1509
+ assignedTo: string | null;
1510
1510
  model: string | null;
1511
1511
  serialNumber: string | null;
1512
1512
  purchaseDate: string | null;
@@ -1538,8 +1538,8 @@ export declare const equipmentRouter: {
1538
1538
  brand: string | null;
1539
1539
  farmId: string;
1540
1540
  location: string | null;
1541
- assignedTo: string | null;
1542
1541
  notes: string | null;
1542
+ assignedTo: string | null;
1543
1543
  model: string | null;
1544
1544
  serialNumber: string | null;
1545
1545
  purchaseDate: string | null;
@@ -1578,8 +1578,8 @@ export declare const equipmentRouter: {
1578
1578
  brand: string | null;
1579
1579
  farmId: string;
1580
1580
  location: string | null;
1581
- assignedTo: string | null;
1582
1581
  notes: string | null;
1582
+ assignedTo: string | null;
1583
1583
  model: string | null;
1584
1584
  serialNumber: string | null;
1585
1585
  purchaseDate: string | null;
@@ -1618,8 +1618,8 @@ export declare const equipmentRouter: {
1618
1618
  brand: string | null;
1619
1619
  farmId: string;
1620
1620
  location: string | null;
1621
- assignedTo: string | null;
1622
1621
  notes: string | null;
1622
+ assignedTo: string | null;
1623
1623
  model: string | null;
1624
1624
  serialNumber: string | null;
1625
1625
  purchaseDate: string | null;
@@ -1684,8 +1684,8 @@ export declare const equipmentRouter: {
1684
1684
  brand: string | null;
1685
1685
  farmId: string;
1686
1686
  location: string | null;
1687
- assignedTo: string | null;
1688
1687
  notes: string | null;
1688
+ assignedTo: string | null;
1689
1689
  model: string | null;
1690
1690
  serialNumber: string | null;
1691
1691
  purchaseDate: string | null;
@@ -1736,8 +1736,8 @@ export declare const equipmentRouter: {
1736
1736
  brand: string | null;
1737
1737
  farmId: string;
1738
1738
  location: string | null;
1739
- assignedTo: string | null;
1740
1739
  notes: string | null;
1740
+ assignedTo: string | null;
1741
1741
  model: string | null;
1742
1742
  serialNumber: string | null;
1743
1743
  purchaseDate: string | null;
@@ -1995,8 +1995,8 @@ export declare const equipmentRouter: {
1995
1995
  name?: string | undefined;
1996
1996
  brand?: string | null | undefined;
1997
1997
  location?: string | null | undefined;
1998
- assignedTo?: string | null | undefined;
1999
1998
  notes?: string | null | undefined;
1999
+ assignedTo?: string | null | undefined;
2000
2000
  model?: string | null | undefined;
2001
2001
  serialNumber?: string | null | undefined;
2002
2002
  purchaseDate?: string | null | undefined;
@@ -2008,8 +2008,8 @@ export declare const equipmentRouter: {
2008
2008
  name?: string | undefined;
2009
2009
  brand?: string | null | undefined;
2010
2010
  location?: string | null | undefined;
2011
- assignedTo?: string | null | undefined;
2012
2011
  notes?: string | null | undefined;
2012
+ assignedTo?: string | null | undefined;
2013
2013
  model?: string | null | undefined;
2014
2014
  serialNumber?: string | null | undefined;
2015
2015
  purchaseDate?: string | null | undefined;
@@ -2025,8 +2025,8 @@ export declare const equipmentRouter: {
2025
2025
  name?: string | undefined;
2026
2026
  brand?: string | null | undefined;
2027
2027
  location?: string | null | undefined;
2028
- assignedTo?: string | null | undefined;
2029
2028
  notes?: string | null | undefined;
2029
+ assignedTo?: string | null | undefined;
2030
2030
  model?: string | null | undefined;
2031
2031
  serialNumber?: string | null | undefined;
2032
2032
  purchaseDate?: string | null | undefined;
@@ -2042,8 +2042,8 @@ export declare const equipmentRouter: {
2042
2042
  name?: string | undefined;
2043
2043
  brand?: string | null | undefined;
2044
2044
  location?: string | null | undefined;
2045
- assignedTo?: string | null | undefined;
2046
2045
  notes?: string | null | undefined;
2046
+ assignedTo?: string | null | undefined;
2047
2047
  model?: string | null | undefined;
2048
2048
  serialNumber?: string | null | undefined;
2049
2049
  purchaseDate?: string | null | undefined;
@@ -2061,8 +2061,8 @@ export declare const equipmentRouter: {
2061
2061
  name?: string | undefined;
2062
2062
  brand?: string | null | undefined;
2063
2063
  location?: string | null | undefined;
2064
- assignedTo?: string | null | undefined;
2065
2064
  notes?: string | null | undefined;
2065
+ assignedTo?: string | null | undefined;
2066
2066
  model?: string | null | undefined;
2067
2067
  serialNumber?: string | null | undefined;
2068
2068
  purchaseDate?: string | null | undefined;
@@ -2080,8 +2080,8 @@ export declare const equipmentRouter: {
2080
2080
  name?: string | undefined;
2081
2081
  brand?: string | null | undefined;
2082
2082
  location?: string | null | undefined;
2083
- assignedTo?: string | null | undefined;
2084
2083
  notes?: string | null | undefined;
2084
+ assignedTo?: string | null | undefined;
2085
2085
  model?: string | null | undefined;
2086
2086
  serialNumber?: string | null | undefined;
2087
2087
  purchaseDate?: string | null | undefined;
@@ -2167,8 +2167,8 @@ export declare const equipmentRouter: {
2167
2167
  brand: string | null;
2168
2168
  farmId: string;
2169
2169
  location: string | null;
2170
- assignedTo: string | null;
2171
2170
  notes: string | null;
2171
+ assignedTo: string | null;
2172
2172
  model: string | null;
2173
2173
  serialNumber: string | null;
2174
2174
  purchaseDate: string | null;
@@ -2200,8 +2200,8 @@ export declare const equipmentRouter: {
2200
2200
  brand: string | null;
2201
2201
  farmId: string;
2202
2202
  location: string | null;
2203
- assignedTo: string | null;
2204
2203
  notes: string | null;
2204
+ assignedTo: string | null;
2205
2205
  model: string | null;
2206
2206
  serialNumber: string | null;
2207
2207
  purchaseDate: string | null;
@@ -2240,8 +2240,8 @@ export declare const equipmentRouter: {
2240
2240
  brand: string | null;
2241
2241
  farmId: string;
2242
2242
  location: string | null;
2243
- assignedTo: string | null;
2244
2243
  notes: string | null;
2244
+ assignedTo: string | null;
2245
2245
  model: string | null;
2246
2246
  serialNumber: string | null;
2247
2247
  purchaseDate: string | null;
@@ -2280,8 +2280,8 @@ export declare const equipmentRouter: {
2280
2280
  brand: string | null;
2281
2281
  farmId: string;
2282
2282
  location: string | null;
2283
- assignedTo: string | null;
2284
2283
  notes: string | null;
2284
+ assignedTo: string | null;
2285
2285
  model: string | null;
2286
2286
  serialNumber: string | null;
2287
2287
  purchaseDate: string | null;
@@ -2346,8 +2346,8 @@ export declare const equipmentRouter: {
2346
2346
  brand: string | null;
2347
2347
  farmId: string;
2348
2348
  location: string | null;
2349
- assignedTo: string | null;
2350
2349
  notes: string | null;
2350
+ assignedTo: string | null;
2351
2351
  model: string | null;
2352
2352
  serialNumber: string | null;
2353
2353
  purchaseDate: string | null;
@@ -2398,8 +2398,8 @@ export declare const equipmentRouter: {
2398
2398
  brand: string | null;
2399
2399
  farmId: string;
2400
2400
  location: string | null;
2401
- assignedTo: string | null;
2402
2401
  notes: string | null;
2402
+ assignedTo: string | null;
2403
2403
  model: string | null;
2404
2404
  serialNumber: string | null;
2405
2405
  purchaseDate: string | null;
@@ -261,8 +261,8 @@ export declare const extensionRouter: {
261
261
  lat: number;
262
262
  lng: number;
263
263
  } | undefined;
264
- fieldId?: string | undefined;
265
264
  notes?: string | undefined;
265
+ fieldId?: string | undefined;
266
266
  visitDate?: string | undefined;
267
267
  }, {
268
268
  farmId: string;
@@ -270,8 +270,8 @@ export declare const extensionRouter: {
270
270
  lat: number;
271
271
  lng: number;
272
272
  } | undefined;
273
- fieldId?: string | undefined;
274
273
  notes?: string | undefined;
274
+ fieldId?: string | undefined;
275
275
  visitDate?: string | undefined;
276
276
  }>;
277
277
  }, "strip", z.ZodTypeAny, {
@@ -282,8 +282,8 @@ export declare const extensionRouter: {
282
282
  lat: number;
283
283
  lng: number;
284
284
  } | undefined;
285
- fieldId?: string | undefined;
286
285
  notes?: string | undefined;
286
+ fieldId?: string | undefined;
287
287
  visitDate?: string | undefined;
288
288
  };
289
289
  }, {
@@ -294,8 +294,8 @@ export declare const extensionRouter: {
294
294
  lat: number;
295
295
  lng: number;
296
296
  } | undefined;
297
- fieldId?: string | undefined;
298
297
  notes?: string | undefined;
298
+ fieldId?: string | undefined;
299
299
  visitDate?: string | undefined;
300
300
  };
301
301
  }>;
@@ -308,8 +308,8 @@ export declare const extensionRouter: {
308
308
  lat: number;
309
309
  lng: number;
310
310
  } | undefined;
311
- fieldId?: string | undefined;
312
311
  notes?: string | undefined;
312
+ fieldId?: string | undefined;
313
313
  visitDate?: string | undefined;
314
314
  };
315
315
  };
@@ -322,8 +322,8 @@ export declare const extensionRouter: {
322
322
  lat: number;
323
323
  lng: number;
324
324
  } | undefined;
325
- fieldId?: string | undefined;
326
325
  notes?: string | undefined;
326
+ fieldId?: string | undefined;
327
327
  visitDate?: string | undefined;
328
328
  };
329
329
  };
@@ -362,8 +362,8 @@ export declare const extensionRouter: {
362
362
  lat: number;
363
363
  lng: number;
364
364
  } | null;
365
- fieldId: string | null;
366
365
  notes: string | null;
366
+ fieldId: string | null;
367
367
  visitDate: string;
368
368
  }, {
369
369
  status: string;
@@ -374,8 +374,8 @@ export declare const extensionRouter: {
374
374
  lat: number;
375
375
  lng: number;
376
376
  } | null;
377
- fieldId: string | null;
378
377
  notes: string | null;
378
+ fieldId: string | null;
379
379
  visitDate: string;
380
380
  }>;
381
381
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -393,8 +393,8 @@ export declare const extensionRouter: {
393
393
  lat: number;
394
394
  lng: number;
395
395
  } | null;
396
- fieldId: string | null;
397
396
  notes: string | null;
397
+ fieldId: string | null;
398
398
  visitDate: string;
399
399
  };
400
400
  relationships?: Record<string, unknown> | undefined;
@@ -412,8 +412,8 @@ export declare const extensionRouter: {
412
412
  lat: number;
413
413
  lng: number;
414
414
  } | null;
415
- fieldId: string | null;
416
415
  notes: string | null;
416
+ fieldId: string | null;
417
417
  visitDate: string;
418
418
  };
419
419
  relationships?: Record<string, unknown> | undefined;
@@ -457,8 +457,8 @@ export declare const extensionRouter: {
457
457
  lat: number;
458
458
  lng: number;
459
459
  } | null;
460
- fieldId: string | null;
461
460
  notes: string | null;
461
+ fieldId: string | null;
462
462
  visitDate: string;
463
463
  };
464
464
  relationships?: Record<string, unknown> | undefined;
@@ -488,8 +488,8 @@ export declare const extensionRouter: {
488
488
  lat: number;
489
489
  lng: number;
490
490
  } | null;
491
- fieldId: string | null;
492
491
  notes: string | null;
492
+ fieldId: string | null;
493
493
  visitDate: string;
494
494
  };
495
495
  relationships?: Record<string, unknown> | undefined;