@deepintel-ltd/farmpro-contracts 1.11.2 → 1.11.4
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/admin.routes.d.ts +3947 -187
- package/dist/routes/admin.routes.d.ts.map +1 -1
- package/dist/routes/admin.routes.js +106 -4
- package/dist/routes/agent-workflows.routes.d.ts +140 -140
- package/dist/routes/agents.routes.d.ts +6 -6
- package/dist/routes/analytics.routes.d.ts +6 -6
- package/dist/routes/auth.routes.d.ts +999 -0
- package/dist/routes/auth.routes.d.ts.map +1 -1
- package/dist/routes/auth.routes.js +30 -1
- package/dist/routes/crop-profile.routes.d.ts +18 -18
- package/dist/routes/documents.routes.d.ts +58 -58
- package/dist/routes/equipment.routes.d.ts +62 -62
- package/dist/routes/extension.routes.d.ts +6 -6
- package/dist/routes/farm-status.routes.d.ts +6 -6
- package/dist/routes/farms.routes.d.ts +35 -0
- package/dist/routes/farms.routes.d.ts.map +1 -1
- package/dist/routes/fertigation.routes.d.ts +76 -76
- package/dist/routes/field-monitoring.routes.d.ts +34 -34
- package/dist/routes/field-observations.routes.d.ts +170 -170
- package/dist/routes/finance.routes.d.ts +6 -6
- package/dist/routes/geofences.routes.d.ts +8 -8
- package/dist/routes/irrigation.routes.d.ts +22 -22
- package/dist/routes/live-monitor.routes.d.ts +2 -2
- package/dist/routes/livestock-groups.routes.d.ts +30 -30
- package/dist/routes/livestock.routes.d.ts +24 -24
- package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
- package/dist/routes/pest-disease-risk.routes.d.ts +48 -48
- package/dist/routes/prescription-maps.routes.d.ts +2 -2
- package/dist/routes/seasonal-plans.routes.d.ts +6 -6
- package/dist/routes/soil-tests.routes.d.ts +30 -30
- package/dist/routes/subscriptions.routes.d.ts +2 -2
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/routes/team.routes.d.ts +24 -24
- package/dist/routes/users.routes.d.ts +14 -0
- package/dist/routes/users.routes.d.ts.map +1 -1
- package/dist/routes/weather.routes.d.ts +14 -14
- package/dist/routes/yield-prediction.routes.d.ts +48 -48
- package/dist/schemas/admin.schemas.d.ts +843 -81
- package/dist/schemas/admin.schemas.d.ts.map +1 -1
- package/dist/schemas/admin.schemas.js +58 -1
- package/dist/schemas/agent-workflows.schemas.d.ts +111 -111
- package/dist/schemas/agents.schemas.d.ts +6 -6
- package/dist/schemas/analytics.schemas.d.ts +12 -12
- package/dist/schemas/auth.schemas.d.ts +28 -0
- package/dist/schemas/auth.schemas.d.ts.map +1 -1
- package/dist/schemas/auth.schemas.js +8 -0
- package/dist/schemas/crop-profile.schemas.d.ts +26 -26
- package/dist/schemas/documents.schemas.d.ts +48 -48
- package/dist/schemas/equipment.schemas.d.ts +48 -48
- package/dist/schemas/extension.schemas.d.ts +12 -12
- package/dist/schemas/farm-status.schemas.d.ts +8 -8
- package/dist/schemas/farms.schemas.d.ts +48 -0
- package/dist/schemas/farms.schemas.d.ts.map +1 -1
- package/dist/schemas/farms.schemas.js +3 -0
- package/dist/schemas/fertigation.schemas.d.ts +20 -20
- package/dist/schemas/field-monitoring.schemas.d.ts +26 -26
- package/dist/schemas/field-observations.schemas.d.ts +126 -126
- package/dist/schemas/finance.schemas.d.ts +6 -6
- package/dist/schemas/geofences.schemas.d.ts +6 -6
- package/dist/schemas/irrigation.schemas.d.ts +12 -12
- package/dist/schemas/live-monitor.schemas.d.ts +2 -2
- package/dist/schemas/livestock-groups.schemas.d.ts +18 -18
- package/dist/schemas/livestock.schemas.d.ts +18 -18
- package/dist/schemas/monitoring-visualization.schemas.d.ts +4 -4
- package/dist/schemas/pest-disease-risk.schemas.d.ts +32 -32
- package/dist/schemas/prescription-maps.schemas.d.ts +2 -2
- package/dist/schemas/seasonal-plans.schemas.d.ts +12 -12
- package/dist/schemas/soil-tests.schemas.d.ts +28 -28
- package/dist/schemas/team-payments.schemas.d.ts +24 -24
- package/dist/schemas/team.schemas.d.ts +18 -18
- package/dist/schemas/users.schemas.d.ts +15 -0
- package/dist/schemas/users.schemas.d.ts.map +1 -1
- package/dist/schemas/users.schemas.js +1 -0
- package/dist/schemas/weather.schemas.d.ts +28 -28
- package/dist/schemas/yield-prediction.schemas.d.ts +8 -8
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ export declare const equipmentRouter: {
|
|
|
28
28
|
'filter[status]'?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
29
29
|
'filter[crop]'?: string | undefined;
|
|
30
30
|
include?: string | undefined;
|
|
31
|
-
'filter[type]'?: "
|
|
31
|
+
'filter[type]'?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
sort?: string | undefined;
|
|
34
34
|
'page[number]'?: number | undefined;
|
|
@@ -38,7 +38,7 @@ export declare const equipmentRouter: {
|
|
|
38
38
|
'filter[status]'?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
39
39
|
'filter[crop]'?: string | undefined;
|
|
40
40
|
include?: string | undefined;
|
|
41
|
-
'filter[type]'?: "
|
|
41
|
+
'filter[type]'?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
42
42
|
}>;
|
|
43
43
|
summary: "List equipment";
|
|
44
44
|
description: "Get all equipment for a farm with optional filtering";
|
|
@@ -112,14 +112,14 @@ export declare const equipmentRouter: {
|
|
|
112
112
|
createdAt: z.ZodString;
|
|
113
113
|
updatedAt: z.ZodString;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
type: "
|
|
115
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
116
116
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
117
117
|
createdAt: string;
|
|
118
118
|
updatedAt: string;
|
|
119
119
|
name: string;
|
|
120
120
|
brand: string | null;
|
|
121
|
-
location: string | null;
|
|
122
121
|
farmId: string;
|
|
122
|
+
location: string | null;
|
|
123
123
|
assignedTo: string | null;
|
|
124
124
|
notes: string | null;
|
|
125
125
|
model: string | null;
|
|
@@ -145,14 +145,14 @@ export declare const equipmentRouter: {
|
|
|
145
145
|
performedBy: string | null;
|
|
146
146
|
}[] | undefined;
|
|
147
147
|
}, {
|
|
148
|
-
type: "
|
|
148
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
149
149
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
150
150
|
createdAt: string;
|
|
151
151
|
updatedAt: string;
|
|
152
152
|
name: string;
|
|
153
153
|
brand: string | null;
|
|
154
|
-
location: string | null;
|
|
155
154
|
farmId: string;
|
|
155
|
+
location: string | null;
|
|
156
156
|
assignedTo: string | null;
|
|
157
157
|
notes: string | null;
|
|
158
158
|
model: string | null;
|
|
@@ -185,14 +185,14 @@ export declare const equipmentRouter: {
|
|
|
185
185
|
type: string;
|
|
186
186
|
id: string;
|
|
187
187
|
attributes: {
|
|
188
|
-
type: "
|
|
188
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
189
189
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
190
190
|
createdAt: string;
|
|
191
191
|
updatedAt: string;
|
|
192
192
|
name: string;
|
|
193
193
|
brand: string | null;
|
|
194
|
-
location: string | null;
|
|
195
194
|
farmId: string;
|
|
195
|
+
location: string | null;
|
|
196
196
|
assignedTo: string | null;
|
|
197
197
|
notes: string | null;
|
|
198
198
|
model: string | null;
|
|
@@ -225,14 +225,14 @@ export declare const equipmentRouter: {
|
|
|
225
225
|
type: string;
|
|
226
226
|
id: string;
|
|
227
227
|
attributes: {
|
|
228
|
-
type: "
|
|
228
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
229
229
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
230
230
|
createdAt: string;
|
|
231
231
|
updatedAt: string;
|
|
232
232
|
name: string;
|
|
233
233
|
brand: string | null;
|
|
234
|
-
location: string | null;
|
|
235
234
|
farmId: string;
|
|
235
|
+
location: string | null;
|
|
236
236
|
assignedTo: string | null;
|
|
237
237
|
notes: string | null;
|
|
238
238
|
model: string | null;
|
|
@@ -291,14 +291,14 @@ export declare const equipmentRouter: {
|
|
|
291
291
|
type: string;
|
|
292
292
|
id: string;
|
|
293
293
|
attributes: {
|
|
294
|
-
type: "
|
|
294
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
295
295
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
296
296
|
createdAt: string;
|
|
297
297
|
updatedAt: string;
|
|
298
298
|
name: string;
|
|
299
299
|
brand: string | null;
|
|
300
|
-
location: string | null;
|
|
301
300
|
farmId: string;
|
|
301
|
+
location: string | null;
|
|
302
302
|
assignedTo: string | null;
|
|
303
303
|
notes: string | null;
|
|
304
304
|
model: string | null;
|
|
@@ -343,14 +343,14 @@ export declare const equipmentRouter: {
|
|
|
343
343
|
type: string;
|
|
344
344
|
id: string;
|
|
345
345
|
attributes: {
|
|
346
|
-
type: "
|
|
346
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
347
347
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
348
348
|
createdAt: string;
|
|
349
349
|
updatedAt: string;
|
|
350
350
|
name: string;
|
|
351
351
|
brand: string | null;
|
|
352
|
-
location: string | null;
|
|
353
352
|
farmId: string;
|
|
353
|
+
location: string | null;
|
|
354
354
|
assignedTo: string | null;
|
|
355
355
|
notes: string | null;
|
|
356
356
|
model: string | null;
|
|
@@ -601,7 +601,7 @@ export declare const equipmentRouter: {
|
|
|
601
601
|
assignedTo: z.ZodOptional<z.ZodString>;
|
|
602
602
|
notes: z.ZodOptional<z.ZodString>;
|
|
603
603
|
}, "strip", z.ZodTypeAny, {
|
|
604
|
-
type: "
|
|
604
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
605
605
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
606
606
|
name: string;
|
|
607
607
|
brand?: string | undefined;
|
|
@@ -614,7 +614,7 @@ export declare const equipmentRouter: {
|
|
|
614
614
|
purchasePrice?: number | undefined;
|
|
615
615
|
currentValue?: number | undefined;
|
|
616
616
|
}, {
|
|
617
|
-
type: "
|
|
617
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
618
618
|
name: string;
|
|
619
619
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
620
620
|
brand?: string | undefined;
|
|
@@ -630,7 +630,7 @@ export declare const equipmentRouter: {
|
|
|
630
630
|
}, "strip", z.ZodTypeAny, {
|
|
631
631
|
type: "equipment";
|
|
632
632
|
attributes: {
|
|
633
|
-
type: "
|
|
633
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
634
634
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
635
635
|
name: string;
|
|
636
636
|
brand?: string | undefined;
|
|
@@ -646,7 +646,7 @@ export declare const equipmentRouter: {
|
|
|
646
646
|
}, {
|
|
647
647
|
type: "equipment";
|
|
648
648
|
attributes: {
|
|
649
|
-
type: "
|
|
649
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
650
650
|
name: string;
|
|
651
651
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
652
652
|
brand?: string | undefined;
|
|
@@ -664,7 +664,7 @@ export declare const equipmentRouter: {
|
|
|
664
664
|
data: {
|
|
665
665
|
type: "equipment";
|
|
666
666
|
attributes: {
|
|
667
|
-
type: "
|
|
667
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
668
668
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
669
669
|
name: string;
|
|
670
670
|
brand?: string | undefined;
|
|
@@ -682,7 +682,7 @@ export declare const equipmentRouter: {
|
|
|
682
682
|
data: {
|
|
683
683
|
type: "equipment";
|
|
684
684
|
attributes: {
|
|
685
|
-
type: "
|
|
685
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
686
686
|
name: string;
|
|
687
687
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
688
688
|
brand?: string | undefined;
|
|
@@ -766,14 +766,14 @@ export declare const equipmentRouter: {
|
|
|
766
766
|
createdAt: z.ZodString;
|
|
767
767
|
updatedAt: z.ZodString;
|
|
768
768
|
}, "strip", z.ZodTypeAny, {
|
|
769
|
-
type: "
|
|
769
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
770
770
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
771
771
|
createdAt: string;
|
|
772
772
|
updatedAt: string;
|
|
773
773
|
name: string;
|
|
774
774
|
brand: string | null;
|
|
775
|
-
location: string | null;
|
|
776
775
|
farmId: string;
|
|
776
|
+
location: string | null;
|
|
777
777
|
assignedTo: string | null;
|
|
778
778
|
notes: string | null;
|
|
779
779
|
model: string | null;
|
|
@@ -799,14 +799,14 @@ export declare const equipmentRouter: {
|
|
|
799
799
|
performedBy: string | null;
|
|
800
800
|
}[] | undefined;
|
|
801
801
|
}, {
|
|
802
|
-
type: "
|
|
802
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
803
803
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
804
804
|
createdAt: string;
|
|
805
805
|
updatedAt: string;
|
|
806
806
|
name: string;
|
|
807
807
|
brand: string | null;
|
|
808
|
-
location: string | null;
|
|
809
808
|
farmId: string;
|
|
809
|
+
location: string | null;
|
|
810
810
|
assignedTo: string | null;
|
|
811
811
|
notes: string | null;
|
|
812
812
|
model: string | null;
|
|
@@ -839,14 +839,14 @@ export declare const equipmentRouter: {
|
|
|
839
839
|
type: string;
|
|
840
840
|
id: string;
|
|
841
841
|
attributes: {
|
|
842
|
-
type: "
|
|
842
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
843
843
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
844
844
|
createdAt: string;
|
|
845
845
|
updatedAt: string;
|
|
846
846
|
name: string;
|
|
847
847
|
brand: string | null;
|
|
848
|
-
location: string | null;
|
|
849
848
|
farmId: string;
|
|
849
|
+
location: string | null;
|
|
850
850
|
assignedTo: string | null;
|
|
851
851
|
notes: string | null;
|
|
852
852
|
model: string | null;
|
|
@@ -879,14 +879,14 @@ export declare const equipmentRouter: {
|
|
|
879
879
|
type: string;
|
|
880
880
|
id: string;
|
|
881
881
|
attributes: {
|
|
882
|
-
type: "
|
|
882
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
883
883
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
884
884
|
createdAt: string;
|
|
885
885
|
updatedAt: string;
|
|
886
886
|
name: string;
|
|
887
887
|
brand: string | null;
|
|
888
|
-
location: string | null;
|
|
889
888
|
farmId: string;
|
|
889
|
+
location: string | null;
|
|
890
890
|
assignedTo: string | null;
|
|
891
891
|
notes: string | null;
|
|
892
892
|
model: string | null;
|
|
@@ -945,14 +945,14 @@ export declare const equipmentRouter: {
|
|
|
945
945
|
type: string;
|
|
946
946
|
id: string;
|
|
947
947
|
attributes: {
|
|
948
|
-
type: "
|
|
948
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
949
949
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
950
950
|
createdAt: string;
|
|
951
951
|
updatedAt: string;
|
|
952
952
|
name: string;
|
|
953
953
|
brand: string | null;
|
|
954
|
-
location: string | null;
|
|
955
954
|
farmId: string;
|
|
955
|
+
location: string | null;
|
|
956
956
|
assignedTo: string | null;
|
|
957
957
|
notes: string | null;
|
|
958
958
|
model: string | null;
|
|
@@ -997,14 +997,14 @@ export declare const equipmentRouter: {
|
|
|
997
997
|
type: string;
|
|
998
998
|
id: string;
|
|
999
999
|
attributes: {
|
|
1000
|
-
type: "
|
|
1000
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1001
1001
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1002
1002
|
createdAt: string;
|
|
1003
1003
|
updatedAt: string;
|
|
1004
1004
|
name: string;
|
|
1005
1005
|
brand: string | null;
|
|
1006
|
-
location: string | null;
|
|
1007
1006
|
farmId: string;
|
|
1007
|
+
location: string | null;
|
|
1008
1008
|
assignedTo: string | null;
|
|
1009
1009
|
notes: string | null;
|
|
1010
1010
|
model: string | null;
|
|
@@ -1497,14 +1497,14 @@ export declare const equipmentRouter: {
|
|
|
1497
1497
|
createdAt: z.ZodString;
|
|
1498
1498
|
updatedAt: z.ZodString;
|
|
1499
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1500
|
-
type: "
|
|
1500
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1501
1501
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1502
1502
|
createdAt: string;
|
|
1503
1503
|
updatedAt: string;
|
|
1504
1504
|
name: string;
|
|
1505
1505
|
brand: string | null;
|
|
1506
|
-
location: string | null;
|
|
1507
1506
|
farmId: string;
|
|
1507
|
+
location: string | null;
|
|
1508
1508
|
assignedTo: string | null;
|
|
1509
1509
|
notes: string | null;
|
|
1510
1510
|
model: string | null;
|
|
@@ -1530,14 +1530,14 @@ export declare const equipmentRouter: {
|
|
|
1530
1530
|
performedBy: string | null;
|
|
1531
1531
|
}[] | undefined;
|
|
1532
1532
|
}, {
|
|
1533
|
-
type: "
|
|
1533
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1534
1534
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1535
1535
|
createdAt: string;
|
|
1536
1536
|
updatedAt: string;
|
|
1537
1537
|
name: string;
|
|
1538
1538
|
brand: string | null;
|
|
1539
|
-
location: string | null;
|
|
1540
1539
|
farmId: string;
|
|
1540
|
+
location: string | null;
|
|
1541
1541
|
assignedTo: string | null;
|
|
1542
1542
|
notes: string | null;
|
|
1543
1543
|
model: string | null;
|
|
@@ -1570,14 +1570,14 @@ export declare const equipmentRouter: {
|
|
|
1570
1570
|
type: string;
|
|
1571
1571
|
id: string;
|
|
1572
1572
|
attributes: {
|
|
1573
|
-
type: "
|
|
1573
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1574
1574
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1575
1575
|
createdAt: string;
|
|
1576
1576
|
updatedAt: string;
|
|
1577
1577
|
name: string;
|
|
1578
1578
|
brand: string | null;
|
|
1579
|
-
location: string | null;
|
|
1580
1579
|
farmId: string;
|
|
1580
|
+
location: string | null;
|
|
1581
1581
|
assignedTo: string | null;
|
|
1582
1582
|
notes: string | null;
|
|
1583
1583
|
model: string | null;
|
|
@@ -1610,14 +1610,14 @@ export declare const equipmentRouter: {
|
|
|
1610
1610
|
type: string;
|
|
1611
1611
|
id: string;
|
|
1612
1612
|
attributes: {
|
|
1613
|
-
type: "
|
|
1613
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1614
1614
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1615
1615
|
createdAt: string;
|
|
1616
1616
|
updatedAt: string;
|
|
1617
1617
|
name: string;
|
|
1618
1618
|
brand: string | null;
|
|
1619
|
-
location: string | null;
|
|
1620
1619
|
farmId: string;
|
|
1620
|
+
location: string | null;
|
|
1621
1621
|
assignedTo: string | null;
|
|
1622
1622
|
notes: string | null;
|
|
1623
1623
|
model: string | null;
|
|
@@ -1676,14 +1676,14 @@ export declare const equipmentRouter: {
|
|
|
1676
1676
|
type: string;
|
|
1677
1677
|
id: string;
|
|
1678
1678
|
attributes: {
|
|
1679
|
-
type: "
|
|
1679
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1680
1680
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1681
1681
|
createdAt: string;
|
|
1682
1682
|
updatedAt: string;
|
|
1683
1683
|
name: string;
|
|
1684
1684
|
brand: string | null;
|
|
1685
|
-
location: string | null;
|
|
1686
1685
|
farmId: string;
|
|
1686
|
+
location: string | null;
|
|
1687
1687
|
assignedTo: string | null;
|
|
1688
1688
|
notes: string | null;
|
|
1689
1689
|
model: string | null;
|
|
@@ -1728,14 +1728,14 @@ export declare const equipmentRouter: {
|
|
|
1728
1728
|
type: string;
|
|
1729
1729
|
id: string;
|
|
1730
1730
|
attributes: {
|
|
1731
|
-
type: "
|
|
1731
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1732
1732
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1733
1733
|
createdAt: string;
|
|
1734
1734
|
updatedAt: string;
|
|
1735
1735
|
name: string;
|
|
1736
1736
|
brand: string | null;
|
|
1737
|
-
location: string | null;
|
|
1738
1737
|
farmId: string;
|
|
1738
|
+
location: string | null;
|
|
1739
1739
|
assignedTo: string | null;
|
|
1740
1740
|
notes: string | null;
|
|
1741
1741
|
model: string | null;
|
|
@@ -1990,7 +1990,7 @@ export declare const equipmentRouter: {
|
|
|
1990
1990
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1991
1991
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1992
1992
|
}, "strip", z.ZodTypeAny, {
|
|
1993
|
-
type?: "
|
|
1993
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
1994
1994
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
1995
1995
|
name?: string | undefined;
|
|
1996
1996
|
brand?: string | null | undefined;
|
|
@@ -2003,7 +2003,7 @@ export declare const equipmentRouter: {
|
|
|
2003
2003
|
purchasePrice?: number | null | undefined;
|
|
2004
2004
|
currentValue?: number | null | undefined;
|
|
2005
2005
|
}, {
|
|
2006
|
-
type?: "
|
|
2006
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
2007
2007
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
2008
2008
|
name?: string | undefined;
|
|
2009
2009
|
brand?: string | null | undefined;
|
|
@@ -2020,7 +2020,7 @@ export declare const equipmentRouter: {
|
|
|
2020
2020
|
type: "equipment";
|
|
2021
2021
|
id: string;
|
|
2022
2022
|
attributes: {
|
|
2023
|
-
type?: "
|
|
2023
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
2024
2024
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
2025
2025
|
name?: string | undefined;
|
|
2026
2026
|
brand?: string | null | undefined;
|
|
@@ -2037,7 +2037,7 @@ export declare const equipmentRouter: {
|
|
|
2037
2037
|
type: "equipment";
|
|
2038
2038
|
id: string;
|
|
2039
2039
|
attributes: {
|
|
2040
|
-
type?: "
|
|
2040
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
2041
2041
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
2042
2042
|
name?: string | undefined;
|
|
2043
2043
|
brand?: string | null | undefined;
|
|
@@ -2056,7 +2056,7 @@ export declare const equipmentRouter: {
|
|
|
2056
2056
|
type: "equipment";
|
|
2057
2057
|
id: string;
|
|
2058
2058
|
attributes: {
|
|
2059
|
-
type?: "
|
|
2059
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
2060
2060
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
2061
2061
|
name?: string | undefined;
|
|
2062
2062
|
brand?: string | null | undefined;
|
|
@@ -2075,7 +2075,7 @@ export declare const equipmentRouter: {
|
|
|
2075
2075
|
type: "equipment";
|
|
2076
2076
|
id: string;
|
|
2077
2077
|
attributes: {
|
|
2078
|
-
type?: "
|
|
2078
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
2079
2079
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
2080
2080
|
name?: string | undefined;
|
|
2081
2081
|
brand?: string | null | undefined;
|
|
@@ -2159,14 +2159,14 @@ export declare const equipmentRouter: {
|
|
|
2159
2159
|
createdAt: z.ZodString;
|
|
2160
2160
|
updatedAt: z.ZodString;
|
|
2161
2161
|
}, "strip", z.ZodTypeAny, {
|
|
2162
|
-
type: "
|
|
2162
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
2163
2163
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
2164
2164
|
createdAt: string;
|
|
2165
2165
|
updatedAt: string;
|
|
2166
2166
|
name: string;
|
|
2167
2167
|
brand: string | null;
|
|
2168
|
-
location: string | null;
|
|
2169
2168
|
farmId: string;
|
|
2169
|
+
location: string | null;
|
|
2170
2170
|
assignedTo: string | null;
|
|
2171
2171
|
notes: string | null;
|
|
2172
2172
|
model: string | null;
|
|
@@ -2192,14 +2192,14 @@ export declare const equipmentRouter: {
|
|
|
2192
2192
|
performedBy: string | null;
|
|
2193
2193
|
}[] | undefined;
|
|
2194
2194
|
}, {
|
|
2195
|
-
type: "
|
|
2195
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
2196
2196
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
2197
2197
|
createdAt: string;
|
|
2198
2198
|
updatedAt: string;
|
|
2199
2199
|
name: string;
|
|
2200
2200
|
brand: string | null;
|
|
2201
|
-
location: string | null;
|
|
2202
2201
|
farmId: string;
|
|
2202
|
+
location: string | null;
|
|
2203
2203
|
assignedTo: string | null;
|
|
2204
2204
|
notes: string | null;
|
|
2205
2205
|
model: string | null;
|
|
@@ -2232,14 +2232,14 @@ export declare const equipmentRouter: {
|
|
|
2232
2232
|
type: string;
|
|
2233
2233
|
id: string;
|
|
2234
2234
|
attributes: {
|
|
2235
|
-
type: "
|
|
2235
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
2236
2236
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
2237
2237
|
createdAt: string;
|
|
2238
2238
|
updatedAt: string;
|
|
2239
2239
|
name: string;
|
|
2240
2240
|
brand: string | null;
|
|
2241
|
-
location: string | null;
|
|
2242
2241
|
farmId: string;
|
|
2242
|
+
location: string | null;
|
|
2243
2243
|
assignedTo: string | null;
|
|
2244
2244
|
notes: string | null;
|
|
2245
2245
|
model: string | null;
|
|
@@ -2272,14 +2272,14 @@ export declare const equipmentRouter: {
|
|
|
2272
2272
|
type: string;
|
|
2273
2273
|
id: string;
|
|
2274
2274
|
attributes: {
|
|
2275
|
-
type: "
|
|
2275
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
2276
2276
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
2277
2277
|
createdAt: string;
|
|
2278
2278
|
updatedAt: string;
|
|
2279
2279
|
name: string;
|
|
2280
2280
|
brand: string | null;
|
|
2281
|
-
location: string | null;
|
|
2282
2281
|
farmId: string;
|
|
2282
|
+
location: string | null;
|
|
2283
2283
|
assignedTo: string | null;
|
|
2284
2284
|
notes: string | null;
|
|
2285
2285
|
model: string | null;
|
|
@@ -2338,14 +2338,14 @@ export declare const equipmentRouter: {
|
|
|
2338
2338
|
type: string;
|
|
2339
2339
|
id: string;
|
|
2340
2340
|
attributes: {
|
|
2341
|
-
type: "
|
|
2341
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
2342
2342
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
2343
2343
|
createdAt: string;
|
|
2344
2344
|
updatedAt: string;
|
|
2345
2345
|
name: string;
|
|
2346
2346
|
brand: string | null;
|
|
2347
|
-
location: string | null;
|
|
2348
2347
|
farmId: string;
|
|
2348
|
+
location: string | null;
|
|
2349
2349
|
assignedTo: string | null;
|
|
2350
2350
|
notes: string | null;
|
|
2351
2351
|
model: string | null;
|
|
@@ -2390,14 +2390,14 @@ export declare const equipmentRouter: {
|
|
|
2390
2390
|
type: string;
|
|
2391
2391
|
id: string;
|
|
2392
2392
|
attributes: {
|
|
2393
|
-
type: "
|
|
2393
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
2394
2394
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
2395
2395
|
createdAt: string;
|
|
2396
2396
|
updatedAt: string;
|
|
2397
2397
|
name: string;
|
|
2398
2398
|
brand: string | null;
|
|
2399
|
-
location: string | null;
|
|
2400
2399
|
farmId: string;
|
|
2400
|
+
location: string | null;
|
|
2401
2401
|
assignedTo: string | null;
|
|
2402
2402
|
notes: string | null;
|
|
2403
2403
|
model: string | null;
|
|
@@ -357,11 +357,11 @@ export declare const extensionRouter: {
|
|
|
357
357
|
status: string;
|
|
358
358
|
createdAt: string;
|
|
359
359
|
updatedAt: string;
|
|
360
|
+
farmId: string;
|
|
360
361
|
location: {
|
|
361
362
|
lat: number;
|
|
362
363
|
lng: number;
|
|
363
364
|
} | null;
|
|
364
|
-
farmId: string;
|
|
365
365
|
fieldId: string | null;
|
|
366
366
|
notes: string | null;
|
|
367
367
|
visitDate: string;
|
|
@@ -369,11 +369,11 @@ export declare const extensionRouter: {
|
|
|
369
369
|
status: string;
|
|
370
370
|
createdAt: string;
|
|
371
371
|
updatedAt: string;
|
|
372
|
+
farmId: string;
|
|
372
373
|
location: {
|
|
373
374
|
lat: number;
|
|
374
375
|
lng: number;
|
|
375
376
|
} | null;
|
|
376
|
-
farmId: string;
|
|
377
377
|
fieldId: string | null;
|
|
378
378
|
notes: string | null;
|
|
379
379
|
visitDate: string;
|
|
@@ -388,11 +388,11 @@ export declare const extensionRouter: {
|
|
|
388
388
|
status: string;
|
|
389
389
|
createdAt: string;
|
|
390
390
|
updatedAt: string;
|
|
391
|
+
farmId: string;
|
|
391
392
|
location: {
|
|
392
393
|
lat: number;
|
|
393
394
|
lng: number;
|
|
394
395
|
} | null;
|
|
395
|
-
farmId: string;
|
|
396
396
|
fieldId: string | null;
|
|
397
397
|
notes: string | null;
|
|
398
398
|
visitDate: string;
|
|
@@ -407,11 +407,11 @@ export declare const extensionRouter: {
|
|
|
407
407
|
status: string;
|
|
408
408
|
createdAt: string;
|
|
409
409
|
updatedAt: string;
|
|
410
|
+
farmId: string;
|
|
410
411
|
location: {
|
|
411
412
|
lat: number;
|
|
412
413
|
lng: number;
|
|
413
414
|
} | null;
|
|
414
|
-
farmId: string;
|
|
415
415
|
fieldId: string | null;
|
|
416
416
|
notes: string | null;
|
|
417
417
|
visitDate: string;
|
|
@@ -452,11 +452,11 @@ export declare const extensionRouter: {
|
|
|
452
452
|
status: string;
|
|
453
453
|
createdAt: string;
|
|
454
454
|
updatedAt: string;
|
|
455
|
+
farmId: string;
|
|
455
456
|
location: {
|
|
456
457
|
lat: number;
|
|
457
458
|
lng: number;
|
|
458
459
|
} | null;
|
|
459
|
-
farmId: string;
|
|
460
460
|
fieldId: string | null;
|
|
461
461
|
notes: string | null;
|
|
462
462
|
visitDate: string;
|
|
@@ -483,11 +483,11 @@ export declare const extensionRouter: {
|
|
|
483
483
|
status: string;
|
|
484
484
|
createdAt: string;
|
|
485
485
|
updatedAt: string;
|
|
486
|
+
farmId: string;
|
|
486
487
|
location: {
|
|
487
488
|
lat: number;
|
|
488
489
|
lng: number;
|
|
489
490
|
} | null;
|
|
490
|
-
farmId: string;
|
|
491
491
|
fieldId: string | null;
|
|
492
492
|
notes: string | null;
|
|
493
493
|
visitDate: string;
|