@deepintel-ltd/farmpro-contracts 1.15.5 → 1.16.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.
Files changed (51) hide show
  1. package/dist/routes/agent-workflows.routes.d.ts +56 -56
  2. package/dist/routes/farm-updates.routes.d.ts +456 -16
  3. package/dist/routes/farm-updates.routes.d.ts.map +1 -1
  4. package/dist/routes/farm-updates.routes.js +27 -11
  5. package/dist/routes/fertigation.routes.d.ts +160 -160
  6. package/dist/routes/field-activities.routes.d.ts +172 -172
  7. package/dist/routes/field-monitoring.routes.d.ts +50 -50
  8. package/dist/routes/field-observations.routes.d.ts +40 -40
  9. package/dist/routes/fields.routes.d.ts +461 -0
  10. package/dist/routes/fields.routes.d.ts.map +1 -1
  11. package/dist/routes/fields.routes.js +19 -1
  12. package/dist/routes/finance.routes.d.ts +78 -78
  13. package/dist/routes/harvest.routes.d.ts +72 -72
  14. package/dist/routes/inventory.routes.d.ts +42 -42
  15. package/dist/routes/live-monitor.routes.d.ts +6 -6
  16. package/dist/routes/measurements.routes.d.ts +6 -6
  17. package/dist/routes/monitoring-visualization.routes.d.ts +12 -12
  18. package/dist/routes/prescription-maps.routes.d.ts +28 -28
  19. package/dist/routes/soil-tests.routes.d.ts +80 -80
  20. package/dist/routes/suppliers.routes.d.ts +80 -80
  21. package/dist/routes/waybills.routes.d.ts +56 -56
  22. package/dist/routes/weather.routes.d.ts +24 -24
  23. package/dist/routes/yield-prediction.routes.d.ts +36 -36
  24. package/dist/schemas/agent-workflows.schemas.d.ts +64 -64
  25. package/dist/schemas/commodity-deals.schemas.d.ts +18 -5
  26. package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
  27. package/dist/schemas/commodity-deals.schemas.js +5 -1
  28. package/dist/schemas/farm-updates.schemas.d.ts +249 -0
  29. package/dist/schemas/farm-updates.schemas.d.ts.map +1 -1
  30. package/dist/schemas/farm-updates.schemas.js +18 -0
  31. package/dist/schemas/fertigation.schemas.d.ts +72 -72
  32. package/dist/schemas/field-activities.schemas.d.ts +148 -148
  33. package/dist/schemas/field-monitoring.schemas.d.ts +30 -30
  34. package/dist/schemas/field-observations.schemas.d.ts +34 -34
  35. package/dist/schemas/fields.schemas.d.ts +286 -0
  36. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  37. package/dist/schemas/fields.schemas.js +26 -0
  38. package/dist/schemas/finance.schemas.d.ts +94 -94
  39. package/dist/schemas/harvest.schemas.d.ts +80 -80
  40. package/dist/schemas/inventory.schemas.d.ts +46 -46
  41. package/dist/schemas/live-monitor.schemas.d.ts +10 -10
  42. package/dist/schemas/measurements.schemas.d.ts +6 -6
  43. package/dist/schemas/monitoring-visualization.schemas.d.ts +14 -14
  44. package/dist/schemas/prescription-maps.schemas.d.ts +22 -22
  45. package/dist/schemas/recommendations.schemas.d.ts +6 -6
  46. package/dist/schemas/soil-tests.schemas.d.ts +84 -84
  47. package/dist/schemas/suppliers.schemas.d.ts +84 -84
  48. package/dist/schemas/waybills.schemas.d.ts +48 -48
  49. package/dist/schemas/weather.schemas.d.ts +68 -68
  50. package/dist/schemas/yield-prediction.schemas.d.ts +24 -24
  51. package/package.json +1 -1
@@ -21,13 +21,13 @@ export declare const fieldActivitiesRouter: {
21
21
  'page[number]'?: number | undefined;
22
22
  'page[size]'?: number | undefined;
23
23
  'filter[fieldId]'?: string | undefined;
24
- 'filter[type]'?: "fertilizer" | "weeding" | undefined;
24
+ 'filter[type]'?: "weeding" | "fertilizer" | undefined;
25
25
  }, {
26
26
  sort?: string | undefined;
27
27
  'page[number]'?: number | undefined;
28
28
  'page[size]'?: number | undefined;
29
29
  'filter[fieldId]'?: string | undefined;
30
- 'filter[type]'?: "fertilizer" | "weeding" | undefined;
30
+ 'filter[type]'?: "weeding" | "fertilizer" | undefined;
31
31
  }>;
32
32
  summary: "List field activities";
33
33
  method: "GET";
@@ -55,36 +55,36 @@ export declare const fieldActivitiesRouter: {
55
55
  createdAt: z.ZodString;
56
56
  updatedAt: z.ZodString;
57
57
  }, "strip", z.ZodTypeAny, {
58
- type: "fertilizer" | "weeding";
58
+ type: "weeding" | "fertilizer";
59
59
  source: "manual" | "agent" | "whatsapp";
60
60
  createdAt: string;
61
61
  updatedAt: string;
62
62
  method: string | null;
63
63
  notes: string | null;
64
+ occurredAt: string;
65
+ quantity: number | null;
66
+ unit: string | null;
67
+ productName: string | null;
64
68
  fieldId: string;
65
69
  inventoryItemId: string | null;
66
- unit: string | null;
67
- quantity: number | null;
68
70
  createdById: string | null;
69
- productName: string | null;
70
71
  fertilizerProductId: string | null;
71
- occurredAt: string;
72
72
  fieldName?: string | undefined;
73
73
  }, {
74
- type: "fertilizer" | "weeding";
74
+ type: "weeding" | "fertilizer";
75
75
  source: "manual" | "agent" | "whatsapp";
76
76
  createdAt: string;
77
77
  updatedAt: string;
78
78
  method: string | null;
79
79
  notes: string | null;
80
+ occurredAt: string;
81
+ quantity: number | null;
82
+ unit: string | null;
83
+ productName: string | null;
80
84
  fieldId: string;
81
85
  inventoryItemId: string | null;
82
- unit: string | null;
83
- quantity: number | null;
84
86
  createdById: string | null;
85
- productName: string | null;
86
87
  fertilizerProductId: string | null;
87
- occurredAt: string;
88
88
  fieldName?: string | undefined;
89
89
  }>;
90
90
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -94,20 +94,20 @@ export declare const fieldActivitiesRouter: {
94
94
  type: string;
95
95
  id: string;
96
96
  attributes: {
97
- type: "fertilizer" | "weeding";
97
+ type: "weeding" | "fertilizer";
98
98
  source: "manual" | "agent" | "whatsapp";
99
99
  createdAt: string;
100
100
  updatedAt: string;
101
101
  method: string | null;
102
102
  notes: string | null;
103
+ occurredAt: string;
104
+ quantity: number | null;
105
+ unit: string | null;
106
+ productName: string | null;
103
107
  fieldId: string;
104
108
  inventoryItemId: string | null;
105
- unit: string | null;
106
- quantity: number | null;
107
109
  createdById: string | null;
108
- productName: string | null;
109
110
  fertilizerProductId: string | null;
110
- occurredAt: string;
111
111
  fieldName?: string | undefined;
112
112
  };
113
113
  relationships?: Record<string, unknown> | undefined;
@@ -117,20 +117,20 @@ export declare const fieldActivitiesRouter: {
117
117
  type: string;
118
118
  id: string;
119
119
  attributes: {
120
- type: "fertilizer" | "weeding";
120
+ type: "weeding" | "fertilizer";
121
121
  source: "manual" | "agent" | "whatsapp";
122
122
  createdAt: string;
123
123
  updatedAt: string;
124
124
  method: string | null;
125
125
  notes: string | null;
126
+ occurredAt: string;
127
+ quantity: number | null;
128
+ unit: string | null;
129
+ productName: string | null;
126
130
  fieldId: string;
127
131
  inventoryItemId: string | null;
128
- unit: string | null;
129
- quantity: number | null;
130
132
  createdById: string | null;
131
- productName: string | null;
132
133
  fertilizerProductId: string | null;
133
- occurredAt: string;
134
134
  fieldName?: string | undefined;
135
135
  };
136
136
  relationships?: Record<string, unknown> | undefined;
@@ -166,20 +166,20 @@ export declare const fieldActivitiesRouter: {
166
166
  type: string;
167
167
  id: string;
168
168
  attributes: {
169
- type: "fertilizer" | "weeding";
169
+ type: "weeding" | "fertilizer";
170
170
  source: "manual" | "agent" | "whatsapp";
171
171
  createdAt: string;
172
172
  updatedAt: string;
173
173
  method: string | null;
174
174
  notes: string | null;
175
+ occurredAt: string;
176
+ quantity: number | null;
177
+ unit: string | null;
178
+ productName: string | null;
175
179
  fieldId: string;
176
180
  inventoryItemId: string | null;
177
- unit: string | null;
178
- quantity: number | null;
179
181
  createdById: string | null;
180
- productName: string | null;
181
182
  fertilizerProductId: string | null;
182
- occurredAt: string;
183
183
  fieldName?: string | undefined;
184
184
  };
185
185
  relationships?: Record<string, unknown> | undefined;
@@ -201,20 +201,20 @@ export declare const fieldActivitiesRouter: {
201
201
  type: string;
202
202
  id: string;
203
203
  attributes: {
204
- type: "fertilizer" | "weeding";
204
+ type: "weeding" | "fertilizer";
205
205
  source: "manual" | "agent" | "whatsapp";
206
206
  createdAt: string;
207
207
  updatedAt: string;
208
208
  method: string | null;
209
209
  notes: string | null;
210
+ occurredAt: string;
211
+ quantity: number | null;
212
+ unit: string | null;
213
+ productName: string | null;
210
214
  fieldId: string;
211
215
  inventoryItemId: string | null;
212
- unit: string | null;
213
- quantity: number | null;
214
216
  createdById: string | null;
215
- productName: string | null;
216
217
  fertilizerProductId: string | null;
217
- occurredAt: string;
218
218
  fieldName?: string | undefined;
219
219
  };
220
220
  relationships?: Record<string, unknown> | undefined;
@@ -440,82 +440,82 @@ export declare const fieldActivitiesRouter: {
440
440
  notes: z.ZodOptional<z.ZodString>;
441
441
  source: z.ZodOptional<z.ZodEnum<["manual", "agent", "whatsapp"]>>;
442
442
  }, "strip", z.ZodTypeAny, {
443
- type: "fertilizer" | "weeding";
444
- fieldId: string;
443
+ type: "weeding" | "fertilizer";
445
444
  occurredAt: string;
445
+ fieldId: string;
446
446
  source?: "manual" | "agent" | "whatsapp" | undefined;
447
447
  method?: string | undefined;
448
448
  notes?: string | undefined;
449
- inventoryItemId?: string | undefined;
450
- unit?: string | undefined;
451
449
  quantity?: number | undefined;
450
+ unit?: string | undefined;
452
451
  productName?: string | undefined;
452
+ inventoryItemId?: string | undefined;
453
453
  fertilizerProductId?: string | undefined;
454
454
  }, {
455
- type: "fertilizer" | "weeding";
456
- fieldId: string;
455
+ type: "weeding" | "fertilizer";
457
456
  occurredAt: string;
457
+ fieldId: string;
458
458
  source?: "manual" | "agent" | "whatsapp" | undefined;
459
459
  method?: string | undefined;
460
460
  notes?: string | undefined;
461
- inventoryItemId?: string | undefined;
462
- unit?: string | undefined;
463
461
  quantity?: number | undefined;
462
+ unit?: string | undefined;
464
463
  productName?: string | undefined;
464
+ inventoryItemId?: string | undefined;
465
465
  fertilizerProductId?: string | undefined;
466
466
  }>, {
467
- type: "fertilizer" | "weeding";
468
- fieldId: string;
467
+ type: "weeding" | "fertilizer";
469
468
  occurredAt: string;
469
+ fieldId: string;
470
470
  source?: "manual" | "agent" | "whatsapp" | undefined;
471
471
  method?: string | undefined;
472
472
  notes?: string | undefined;
473
- inventoryItemId?: string | undefined;
474
- unit?: string | undefined;
475
473
  quantity?: number | undefined;
474
+ unit?: string | undefined;
476
475
  productName?: string | undefined;
476
+ inventoryItemId?: string | undefined;
477
477
  fertilizerProductId?: string | undefined;
478
478
  }, {
479
- type: "fertilizer" | "weeding";
480
- fieldId: string;
479
+ type: "weeding" | "fertilizer";
481
480
  occurredAt: string;
481
+ fieldId: string;
482
482
  source?: "manual" | "agent" | "whatsapp" | undefined;
483
483
  method?: string | undefined;
484
484
  notes?: string | undefined;
485
- inventoryItemId?: string | undefined;
486
- unit?: string | undefined;
487
485
  quantity?: number | undefined;
486
+ unit?: string | undefined;
488
487
  productName?: string | undefined;
488
+ inventoryItemId?: string | undefined;
489
489
  fertilizerProductId?: string | undefined;
490
490
  }>;
491
491
  }, "strip", z.ZodTypeAny, {
492
492
  type: "field-activities";
493
493
  attributes: {
494
- type: "fertilizer" | "weeding";
495
- fieldId: string;
494
+ type: "weeding" | "fertilizer";
496
495
  occurredAt: string;
496
+ fieldId: string;
497
497
  source?: "manual" | "agent" | "whatsapp" | undefined;
498
498
  method?: string | undefined;
499
499
  notes?: string | undefined;
500
- inventoryItemId?: string | undefined;
501
- unit?: string | undefined;
502
500
  quantity?: number | undefined;
501
+ unit?: string | undefined;
503
502
  productName?: string | undefined;
503
+ inventoryItemId?: string | undefined;
504
504
  fertilizerProductId?: string | undefined;
505
505
  };
506
506
  }, {
507
507
  type: "field-activities";
508
508
  attributes: {
509
- type: "fertilizer" | "weeding";
510
- fieldId: string;
509
+ type: "weeding" | "fertilizer";
511
510
  occurredAt: string;
511
+ fieldId: string;
512
512
  source?: "manual" | "agent" | "whatsapp" | undefined;
513
513
  method?: string | undefined;
514
514
  notes?: string | undefined;
515
- inventoryItemId?: string | undefined;
516
- unit?: string | undefined;
517
515
  quantity?: number | undefined;
516
+ unit?: string | undefined;
518
517
  productName?: string | undefined;
518
+ inventoryItemId?: string | undefined;
519
519
  fertilizerProductId?: string | undefined;
520
520
  };
521
521
  }>;
@@ -523,16 +523,16 @@ export declare const fieldActivitiesRouter: {
523
523
  data: {
524
524
  type: "field-activities";
525
525
  attributes: {
526
- type: "fertilizer" | "weeding";
527
- fieldId: string;
526
+ type: "weeding" | "fertilizer";
528
527
  occurredAt: string;
528
+ fieldId: string;
529
529
  source?: "manual" | "agent" | "whatsapp" | undefined;
530
530
  method?: string | undefined;
531
531
  notes?: string | undefined;
532
- inventoryItemId?: string | undefined;
533
- unit?: string | undefined;
534
532
  quantity?: number | undefined;
533
+ unit?: string | undefined;
535
534
  productName?: string | undefined;
535
+ inventoryItemId?: string | undefined;
536
536
  fertilizerProductId?: string | undefined;
537
537
  };
538
538
  };
@@ -540,16 +540,16 @@ export declare const fieldActivitiesRouter: {
540
540
  data: {
541
541
  type: "field-activities";
542
542
  attributes: {
543
- type: "fertilizer" | "weeding";
544
- fieldId: string;
543
+ type: "weeding" | "fertilizer";
545
544
  occurredAt: string;
545
+ fieldId: string;
546
546
  source?: "manual" | "agent" | "whatsapp" | undefined;
547
547
  method?: string | undefined;
548
548
  notes?: string | undefined;
549
- inventoryItemId?: string | undefined;
550
- unit?: string | undefined;
551
549
  quantity?: number | undefined;
550
+ unit?: string | undefined;
552
551
  productName?: string | undefined;
552
+ inventoryItemId?: string | undefined;
553
553
  fertilizerProductId?: string | undefined;
554
554
  };
555
555
  };
@@ -578,36 +578,36 @@ export declare const fieldActivitiesRouter: {
578
578
  createdAt: z.ZodString;
579
579
  updatedAt: z.ZodString;
580
580
  }, "strip", z.ZodTypeAny, {
581
- type: "fertilizer" | "weeding";
581
+ type: "weeding" | "fertilizer";
582
582
  source: "manual" | "agent" | "whatsapp";
583
583
  createdAt: string;
584
584
  updatedAt: string;
585
585
  method: string | null;
586
586
  notes: string | null;
587
+ occurredAt: string;
588
+ quantity: number | null;
589
+ unit: string | null;
590
+ productName: string | null;
587
591
  fieldId: string;
588
592
  inventoryItemId: string | null;
589
- unit: string | null;
590
- quantity: number | null;
591
593
  createdById: string | null;
592
- productName: string | null;
593
594
  fertilizerProductId: string | null;
594
- occurredAt: string;
595
595
  fieldName?: string | undefined;
596
596
  }, {
597
- type: "fertilizer" | "weeding";
597
+ type: "weeding" | "fertilizer";
598
598
  source: "manual" | "agent" | "whatsapp";
599
599
  createdAt: string;
600
600
  updatedAt: string;
601
601
  method: string | null;
602
602
  notes: string | null;
603
+ occurredAt: string;
604
+ quantity: number | null;
605
+ unit: string | null;
606
+ productName: string | null;
603
607
  fieldId: string;
604
608
  inventoryItemId: string | null;
605
- unit: string | null;
606
- quantity: number | null;
607
609
  createdById: string | null;
608
- productName: string | null;
609
610
  fertilizerProductId: string | null;
610
- occurredAt: string;
611
611
  fieldName?: string | undefined;
612
612
  }>;
613
613
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -617,20 +617,20 @@ export declare const fieldActivitiesRouter: {
617
617
  type: string;
618
618
  id: string;
619
619
  attributes: {
620
- type: "fertilizer" | "weeding";
620
+ type: "weeding" | "fertilizer";
621
621
  source: "manual" | "agent" | "whatsapp";
622
622
  createdAt: string;
623
623
  updatedAt: string;
624
624
  method: string | null;
625
625
  notes: string | null;
626
+ occurredAt: string;
627
+ quantity: number | null;
628
+ unit: string | null;
629
+ productName: string | null;
626
630
  fieldId: string;
627
631
  inventoryItemId: string | null;
628
- unit: string | null;
629
- quantity: number | null;
630
632
  createdById: string | null;
631
- productName: string | null;
632
633
  fertilizerProductId: string | null;
633
- occurredAt: string;
634
634
  fieldName?: string | undefined;
635
635
  };
636
636
  relationships?: Record<string, unknown> | undefined;
@@ -640,20 +640,20 @@ export declare const fieldActivitiesRouter: {
640
640
  type: string;
641
641
  id: string;
642
642
  attributes: {
643
- type: "fertilizer" | "weeding";
643
+ type: "weeding" | "fertilizer";
644
644
  source: "manual" | "agent" | "whatsapp";
645
645
  createdAt: string;
646
646
  updatedAt: string;
647
647
  method: string | null;
648
648
  notes: string | null;
649
+ occurredAt: string;
650
+ quantity: number | null;
651
+ unit: string | null;
652
+ productName: string | null;
649
653
  fieldId: string;
650
654
  inventoryItemId: string | null;
651
- unit: string | null;
652
- quantity: number | null;
653
655
  createdById: string | null;
654
- productName: string | null;
655
656
  fertilizerProductId: string | null;
656
- occurredAt: string;
657
657
  fieldName?: string | undefined;
658
658
  };
659
659
  relationships?: Record<string, unknown> | undefined;
@@ -689,20 +689,20 @@ export declare const fieldActivitiesRouter: {
689
689
  type: string;
690
690
  id: string;
691
691
  attributes: {
692
- type: "fertilizer" | "weeding";
692
+ type: "weeding" | "fertilizer";
693
693
  source: "manual" | "agent" | "whatsapp";
694
694
  createdAt: string;
695
695
  updatedAt: string;
696
696
  method: string | null;
697
697
  notes: string | null;
698
+ occurredAt: string;
699
+ quantity: number | null;
700
+ unit: string | null;
701
+ productName: string | null;
698
702
  fieldId: string;
699
703
  inventoryItemId: string | null;
700
- unit: string | null;
701
- quantity: number | null;
702
704
  createdById: string | null;
703
- productName: string | null;
704
705
  fertilizerProductId: string | null;
705
- occurredAt: string;
706
706
  fieldName?: string | undefined;
707
707
  };
708
708
  relationships?: Record<string, unknown> | undefined;
@@ -724,20 +724,20 @@ export declare const fieldActivitiesRouter: {
724
724
  type: string;
725
725
  id: string;
726
726
  attributes: {
727
- type: "fertilizer" | "weeding";
727
+ type: "weeding" | "fertilizer";
728
728
  source: "manual" | "agent" | "whatsapp";
729
729
  createdAt: string;
730
730
  updatedAt: string;
731
731
  method: string | null;
732
732
  notes: string | null;
733
+ occurredAt: string;
734
+ quantity: number | null;
735
+ unit: string | null;
736
+ productName: string | null;
733
737
  fieldId: string;
734
738
  inventoryItemId: string | null;
735
- unit: string | null;
736
- quantity: number | null;
737
739
  createdById: string | null;
738
- productName: string | null;
739
740
  fertilizerProductId: string | null;
740
- occurredAt: string;
741
741
  fieldName?: string | undefined;
742
742
  };
743
743
  relationships?: Record<string, unknown> | undefined;
@@ -1154,36 +1154,36 @@ export declare const fieldActivitiesRouter: {
1154
1154
  createdAt: z.ZodString;
1155
1155
  updatedAt: z.ZodString;
1156
1156
  }, "strip", z.ZodTypeAny, {
1157
- type: "fertilizer" | "weeding";
1157
+ type: "weeding" | "fertilizer";
1158
1158
  source: "manual" | "agent" | "whatsapp";
1159
1159
  createdAt: string;
1160
1160
  updatedAt: string;
1161
1161
  method: string | null;
1162
1162
  notes: string | null;
1163
+ occurredAt: string;
1164
+ quantity: number | null;
1165
+ unit: string | null;
1166
+ productName: string | null;
1163
1167
  fieldId: string;
1164
1168
  inventoryItemId: string | null;
1165
- unit: string | null;
1166
- quantity: number | null;
1167
1169
  createdById: string | null;
1168
- productName: string | null;
1169
1170
  fertilizerProductId: string | null;
1170
- occurredAt: string;
1171
1171
  fieldName?: string | undefined;
1172
1172
  }, {
1173
- type: "fertilizer" | "weeding";
1173
+ type: "weeding" | "fertilizer";
1174
1174
  source: "manual" | "agent" | "whatsapp";
1175
1175
  createdAt: string;
1176
1176
  updatedAt: string;
1177
1177
  method: string | null;
1178
1178
  notes: string | null;
1179
+ occurredAt: string;
1180
+ quantity: number | null;
1181
+ unit: string | null;
1182
+ productName: string | null;
1179
1183
  fieldId: string;
1180
1184
  inventoryItemId: string | null;
1181
- unit: string | null;
1182
- quantity: number | null;
1183
1185
  createdById: string | null;
1184
- productName: string | null;
1185
1186
  fertilizerProductId: string | null;
1186
- occurredAt: string;
1187
1187
  fieldName?: string | undefined;
1188
1188
  }>;
1189
1189
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1193,20 +1193,20 @@ export declare const fieldActivitiesRouter: {
1193
1193
  type: string;
1194
1194
  id: string;
1195
1195
  attributes: {
1196
- type: "fertilizer" | "weeding";
1196
+ type: "weeding" | "fertilizer";
1197
1197
  source: "manual" | "agent" | "whatsapp";
1198
1198
  createdAt: string;
1199
1199
  updatedAt: string;
1200
1200
  method: string | null;
1201
1201
  notes: string | null;
1202
+ occurredAt: string;
1203
+ quantity: number | null;
1204
+ unit: string | null;
1205
+ productName: string | null;
1202
1206
  fieldId: string;
1203
1207
  inventoryItemId: string | null;
1204
- unit: string | null;
1205
- quantity: number | null;
1206
1208
  createdById: string | null;
1207
- productName: string | null;
1208
1209
  fertilizerProductId: string | null;
1209
- occurredAt: string;
1210
1210
  fieldName?: string | undefined;
1211
1211
  };
1212
1212
  relationships?: Record<string, unknown> | undefined;
@@ -1216,20 +1216,20 @@ export declare const fieldActivitiesRouter: {
1216
1216
  type: string;
1217
1217
  id: string;
1218
1218
  attributes: {
1219
- type: "fertilizer" | "weeding";
1219
+ type: "weeding" | "fertilizer";
1220
1220
  source: "manual" | "agent" | "whatsapp";
1221
1221
  createdAt: string;
1222
1222
  updatedAt: string;
1223
1223
  method: string | null;
1224
1224
  notes: string | null;
1225
+ occurredAt: string;
1226
+ quantity: number | null;
1227
+ unit: string | null;
1228
+ productName: string | null;
1225
1229
  fieldId: string;
1226
1230
  inventoryItemId: string | null;
1227
- unit: string | null;
1228
- quantity: number | null;
1229
1231
  createdById: string | null;
1230
- productName: string | null;
1231
1232
  fertilizerProductId: string | null;
1232
- occurredAt: string;
1233
1233
  fieldName?: string | undefined;
1234
1234
  };
1235
1235
  relationships?: Record<string, unknown> | undefined;
@@ -1265,20 +1265,20 @@ export declare const fieldActivitiesRouter: {
1265
1265
  type: string;
1266
1266
  id: string;
1267
1267
  attributes: {
1268
- type: "fertilizer" | "weeding";
1268
+ type: "weeding" | "fertilizer";
1269
1269
  source: "manual" | "agent" | "whatsapp";
1270
1270
  createdAt: string;
1271
1271
  updatedAt: string;
1272
1272
  method: string | null;
1273
1273
  notes: string | null;
1274
+ occurredAt: string;
1275
+ quantity: number | null;
1276
+ unit: string | null;
1277
+ productName: string | null;
1274
1278
  fieldId: string;
1275
1279
  inventoryItemId: string | null;
1276
- unit: string | null;
1277
- quantity: number | null;
1278
1280
  createdById: string | null;
1279
- productName: string | null;
1280
1281
  fertilizerProductId: string | null;
1281
- occurredAt: string;
1282
1282
  fieldName?: string | undefined;
1283
1283
  };
1284
1284
  relationships?: Record<string, unknown> | undefined;
@@ -1300,20 +1300,20 @@ export declare const fieldActivitiesRouter: {
1300
1300
  type: string;
1301
1301
  id: string;
1302
1302
  attributes: {
1303
- type: "fertilizer" | "weeding";
1303
+ type: "weeding" | "fertilizer";
1304
1304
  source: "manual" | "agent" | "whatsapp";
1305
1305
  createdAt: string;
1306
1306
  updatedAt: string;
1307
1307
  method: string | null;
1308
1308
  notes: string | null;
1309
+ occurredAt: string;
1310
+ quantity: number | null;
1311
+ unit: string | null;
1312
+ productName: string | null;
1309
1313
  fieldId: string;
1310
1314
  inventoryItemId: string | null;
1311
- unit: string | null;
1312
- quantity: number | null;
1313
1315
  createdById: string | null;
1314
- productName: string | null;
1315
1316
  fertilizerProductId: string | null;
1316
- occurredAt: string;
1317
1317
  fieldName?: string | undefined;
1318
1318
  };
1319
1319
  relationships?: Record<string, unknown> | undefined;
@@ -1542,21 +1542,21 @@ export declare const fieldActivitiesRouter: {
1542
1542
  }, "strip", z.ZodTypeAny, {
1543
1543
  method?: string | null | undefined;
1544
1544
  notes?: string | null | undefined;
1545
- inventoryItemId?: string | null | undefined;
1546
- unit?: string | null | undefined;
1545
+ occurredAt?: string | undefined;
1547
1546
  quantity?: number | null | undefined;
1547
+ unit?: string | null | undefined;
1548
1548
  productName?: string | null | undefined;
1549
+ inventoryItemId?: string | null | undefined;
1549
1550
  fertilizerProductId?: string | null | undefined;
1550
- occurredAt?: string | undefined;
1551
1551
  }, {
1552
1552
  method?: string | null | undefined;
1553
1553
  notes?: string | null | undefined;
1554
- inventoryItemId?: string | null | undefined;
1555
- unit?: string | null | undefined;
1554
+ occurredAt?: string | undefined;
1556
1555
  quantity?: number | null | undefined;
1556
+ unit?: string | null | undefined;
1557
1557
  productName?: string | null | undefined;
1558
+ inventoryItemId?: string | null | undefined;
1558
1559
  fertilizerProductId?: string | null | undefined;
1559
- occurredAt?: string | undefined;
1560
1560
  }>;
1561
1561
  }, "strip", z.ZodTypeAny, {
1562
1562
  type: "field-activities";
@@ -1564,12 +1564,12 @@ export declare const fieldActivitiesRouter: {
1564
1564
  attributes: {
1565
1565
  method?: string | null | undefined;
1566
1566
  notes?: string | null | undefined;
1567
- inventoryItemId?: string | null | undefined;
1568
- unit?: string | null | undefined;
1567
+ occurredAt?: string | undefined;
1569
1568
  quantity?: number | null | undefined;
1569
+ unit?: string | null | undefined;
1570
1570
  productName?: string | null | undefined;
1571
+ inventoryItemId?: string | null | undefined;
1571
1572
  fertilizerProductId?: string | null | undefined;
1572
- occurredAt?: string | undefined;
1573
1573
  };
1574
1574
  }, {
1575
1575
  type: "field-activities";
@@ -1577,12 +1577,12 @@ export declare const fieldActivitiesRouter: {
1577
1577
  attributes: {
1578
1578
  method?: string | null | undefined;
1579
1579
  notes?: string | null | undefined;
1580
- inventoryItemId?: string | null | undefined;
1581
- unit?: string | null | undefined;
1580
+ occurredAt?: string | undefined;
1582
1581
  quantity?: number | null | undefined;
1582
+ unit?: string | null | undefined;
1583
1583
  productName?: string | null | undefined;
1584
+ inventoryItemId?: string | null | undefined;
1584
1585
  fertilizerProductId?: string | null | undefined;
1585
- occurredAt?: string | undefined;
1586
1586
  };
1587
1587
  }>;
1588
1588
  }, "strip", z.ZodTypeAny, {
@@ -1592,12 +1592,12 @@ export declare const fieldActivitiesRouter: {
1592
1592
  attributes: {
1593
1593
  method?: string | null | undefined;
1594
1594
  notes?: string | null | undefined;
1595
- inventoryItemId?: string | null | undefined;
1596
- unit?: string | null | undefined;
1595
+ occurredAt?: string | undefined;
1597
1596
  quantity?: number | null | undefined;
1597
+ unit?: string | null | undefined;
1598
1598
  productName?: string | null | undefined;
1599
+ inventoryItemId?: string | null | undefined;
1599
1600
  fertilizerProductId?: string | null | undefined;
1600
- occurredAt?: string | undefined;
1601
1601
  };
1602
1602
  };
1603
1603
  }, {
@@ -1607,12 +1607,12 @@ export declare const fieldActivitiesRouter: {
1607
1607
  attributes: {
1608
1608
  method?: string | null | undefined;
1609
1609
  notes?: string | null | undefined;
1610
- inventoryItemId?: string | null | undefined;
1611
- unit?: string | null | undefined;
1610
+ occurredAt?: string | undefined;
1612
1611
  quantity?: number | null | undefined;
1612
+ unit?: string | null | undefined;
1613
1613
  productName?: string | null | undefined;
1614
+ inventoryItemId?: string | null | undefined;
1614
1615
  fertilizerProductId?: string | null | undefined;
1615
- occurredAt?: string | undefined;
1616
1616
  };
1617
1617
  };
1618
1618
  }>;
@@ -1640,36 +1640,36 @@ export declare const fieldActivitiesRouter: {
1640
1640
  createdAt: z.ZodString;
1641
1641
  updatedAt: z.ZodString;
1642
1642
  }, "strip", z.ZodTypeAny, {
1643
- type: "fertilizer" | "weeding";
1643
+ type: "weeding" | "fertilizer";
1644
1644
  source: "manual" | "agent" | "whatsapp";
1645
1645
  createdAt: string;
1646
1646
  updatedAt: string;
1647
1647
  method: string | null;
1648
1648
  notes: string | null;
1649
+ occurredAt: string;
1650
+ quantity: number | null;
1651
+ unit: string | null;
1652
+ productName: string | null;
1649
1653
  fieldId: string;
1650
1654
  inventoryItemId: string | null;
1651
- unit: string | null;
1652
- quantity: number | null;
1653
1655
  createdById: string | null;
1654
- productName: string | null;
1655
1656
  fertilizerProductId: string | null;
1656
- occurredAt: string;
1657
1657
  fieldName?: string | undefined;
1658
1658
  }, {
1659
- type: "fertilizer" | "weeding";
1659
+ type: "weeding" | "fertilizer";
1660
1660
  source: "manual" | "agent" | "whatsapp";
1661
1661
  createdAt: string;
1662
1662
  updatedAt: string;
1663
1663
  method: string | null;
1664
1664
  notes: string | null;
1665
+ occurredAt: string;
1666
+ quantity: number | null;
1667
+ unit: string | null;
1668
+ productName: string | null;
1665
1669
  fieldId: string;
1666
1670
  inventoryItemId: string | null;
1667
- unit: string | null;
1668
- quantity: number | null;
1669
1671
  createdById: string | null;
1670
- productName: string | null;
1671
1672
  fertilizerProductId: string | null;
1672
- occurredAt: string;
1673
1673
  fieldName?: string | undefined;
1674
1674
  }>;
1675
1675
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1679,20 +1679,20 @@ export declare const fieldActivitiesRouter: {
1679
1679
  type: string;
1680
1680
  id: string;
1681
1681
  attributes: {
1682
- type: "fertilizer" | "weeding";
1682
+ type: "weeding" | "fertilizer";
1683
1683
  source: "manual" | "agent" | "whatsapp";
1684
1684
  createdAt: string;
1685
1685
  updatedAt: string;
1686
1686
  method: string | null;
1687
1687
  notes: string | null;
1688
+ occurredAt: string;
1689
+ quantity: number | null;
1690
+ unit: string | null;
1691
+ productName: string | null;
1688
1692
  fieldId: string;
1689
1693
  inventoryItemId: string | null;
1690
- unit: string | null;
1691
- quantity: number | null;
1692
1694
  createdById: string | null;
1693
- productName: string | null;
1694
1695
  fertilizerProductId: string | null;
1695
- occurredAt: string;
1696
1696
  fieldName?: string | undefined;
1697
1697
  };
1698
1698
  relationships?: Record<string, unknown> | undefined;
@@ -1702,20 +1702,20 @@ export declare const fieldActivitiesRouter: {
1702
1702
  type: string;
1703
1703
  id: string;
1704
1704
  attributes: {
1705
- type: "fertilizer" | "weeding";
1705
+ type: "weeding" | "fertilizer";
1706
1706
  source: "manual" | "agent" | "whatsapp";
1707
1707
  createdAt: string;
1708
1708
  updatedAt: string;
1709
1709
  method: string | null;
1710
1710
  notes: string | null;
1711
+ occurredAt: string;
1712
+ quantity: number | null;
1713
+ unit: string | null;
1714
+ productName: string | null;
1711
1715
  fieldId: string;
1712
1716
  inventoryItemId: string | null;
1713
- unit: string | null;
1714
- quantity: number | null;
1715
1717
  createdById: string | null;
1716
- productName: string | null;
1717
1718
  fertilizerProductId: string | null;
1718
- occurredAt: string;
1719
1719
  fieldName?: string | undefined;
1720
1720
  };
1721
1721
  relationships?: Record<string, unknown> | undefined;
@@ -1751,20 +1751,20 @@ export declare const fieldActivitiesRouter: {
1751
1751
  type: string;
1752
1752
  id: string;
1753
1753
  attributes: {
1754
- type: "fertilizer" | "weeding";
1754
+ type: "weeding" | "fertilizer";
1755
1755
  source: "manual" | "agent" | "whatsapp";
1756
1756
  createdAt: string;
1757
1757
  updatedAt: string;
1758
1758
  method: string | null;
1759
1759
  notes: string | null;
1760
+ occurredAt: string;
1761
+ quantity: number | null;
1762
+ unit: string | null;
1763
+ productName: string | null;
1760
1764
  fieldId: string;
1761
1765
  inventoryItemId: string | null;
1762
- unit: string | null;
1763
- quantity: number | null;
1764
1766
  createdById: string | null;
1765
- productName: string | null;
1766
1767
  fertilizerProductId: string | null;
1767
- occurredAt: string;
1768
1768
  fieldName?: string | undefined;
1769
1769
  };
1770
1770
  relationships?: Record<string, unknown> | undefined;
@@ -1786,20 +1786,20 @@ export declare const fieldActivitiesRouter: {
1786
1786
  type: string;
1787
1787
  id: string;
1788
1788
  attributes: {
1789
- type: "fertilizer" | "weeding";
1789
+ type: "weeding" | "fertilizer";
1790
1790
  source: "manual" | "agent" | "whatsapp";
1791
1791
  createdAt: string;
1792
1792
  updatedAt: string;
1793
1793
  method: string | null;
1794
1794
  notes: string | null;
1795
+ occurredAt: string;
1796
+ quantity: number | null;
1797
+ unit: string | null;
1798
+ productName: string | null;
1795
1799
  fieldId: string;
1796
1800
  inventoryItemId: string | null;
1797
- unit: string | null;
1798
- quantity: number | null;
1799
1801
  createdById: string | null;
1800
- productName: string | null;
1801
1802
  fertilizerProductId: string | null;
1802
- occurredAt: string;
1803
1803
  fieldName?: string | undefined;
1804
1804
  };
1805
1805
  relationships?: Record<string, unknown> | undefined;