@deepintel-ltd/farmpro-contracts 1.11.3 → 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 +2852 -36
- package/dist/routes/admin.routes.d.ts.map +1 -1
- package/dist/routes/admin.routes.js +78 -6
- 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 +503 -0
- package/dist/routes/auth.routes.d.ts.map +1 -1
- package/dist/routes/auth.routes.js +15 -0
- 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 +431 -84
- package/dist/schemas/admin.schemas.d.ts.map +1 -1
- package/dist/schemas/admin.schemas.js +36 -0
- 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/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
|
@@ -112,14 +112,14 @@ export declare const equipmentAttributesSchema: z.ZodObject<{
|
|
|
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 equipmentAttributesSchema: z.ZodObject<{
|
|
|
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;
|
|
@@ -192,7 +192,7 @@ export declare const createEquipmentAttributesSchema: z.ZodObject<{
|
|
|
192
192
|
assignedTo: z.ZodOptional<z.ZodString>;
|
|
193
193
|
notes: z.ZodOptional<z.ZodString>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
-
type: "
|
|
195
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
196
196
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
197
197
|
name: string;
|
|
198
198
|
brand?: string | undefined;
|
|
@@ -205,7 +205,7 @@ export declare const createEquipmentAttributesSchema: z.ZodObject<{
|
|
|
205
205
|
purchasePrice?: number | undefined;
|
|
206
206
|
currentValue?: number | undefined;
|
|
207
207
|
}, {
|
|
208
|
-
type: "
|
|
208
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
209
209
|
name: string;
|
|
210
210
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
211
211
|
brand?: string | undefined;
|
|
@@ -232,7 +232,7 @@ export declare const updateEquipmentAttributesSchema: z.ZodObject<{
|
|
|
232
232
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
233
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
234
|
}, "strip", z.ZodTypeAny, {
|
|
235
|
-
type?: "
|
|
235
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
236
236
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
237
237
|
name?: string | undefined;
|
|
238
238
|
brand?: string | null | undefined;
|
|
@@ -245,7 +245,7 @@ export declare const updateEquipmentAttributesSchema: z.ZodObject<{
|
|
|
245
245
|
purchasePrice?: number | null | undefined;
|
|
246
246
|
currentValue?: number | null | undefined;
|
|
247
247
|
}, {
|
|
248
|
-
type?: "
|
|
248
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
249
249
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
250
250
|
name?: string | undefined;
|
|
251
251
|
brand?: string | null | undefined;
|
|
@@ -299,7 +299,7 @@ export declare const createEquipmentSchema: z.ZodObject<{
|
|
|
299
299
|
assignedTo: z.ZodOptional<z.ZodString>;
|
|
300
300
|
notes: z.ZodOptional<z.ZodString>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
-
type: "
|
|
302
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
303
303
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
304
304
|
name: string;
|
|
305
305
|
brand?: string | undefined;
|
|
@@ -312,7 +312,7 @@ export declare const createEquipmentSchema: z.ZodObject<{
|
|
|
312
312
|
purchasePrice?: number | undefined;
|
|
313
313
|
currentValue?: number | undefined;
|
|
314
314
|
}, {
|
|
315
|
-
type: "
|
|
315
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
316
316
|
name: string;
|
|
317
317
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
318
318
|
brand?: string | undefined;
|
|
@@ -328,7 +328,7 @@ export declare const createEquipmentSchema: z.ZodObject<{
|
|
|
328
328
|
}, "strip", z.ZodTypeAny, {
|
|
329
329
|
type: "equipment";
|
|
330
330
|
attributes: {
|
|
331
|
-
type: "
|
|
331
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
332
332
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
333
333
|
name: string;
|
|
334
334
|
brand?: string | undefined;
|
|
@@ -344,7 +344,7 @@ export declare const createEquipmentSchema: z.ZodObject<{
|
|
|
344
344
|
}, {
|
|
345
345
|
type: "equipment";
|
|
346
346
|
attributes: {
|
|
347
|
-
type: "
|
|
347
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
348
348
|
name: string;
|
|
349
349
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
350
350
|
brand?: string | undefined;
|
|
@@ -375,7 +375,7 @@ export declare const updateEquipmentSchema: z.ZodObject<{
|
|
|
375
375
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
376
376
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
377
377
|
}, "strip", z.ZodTypeAny, {
|
|
378
|
-
type?: "
|
|
378
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
379
379
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
380
380
|
name?: string | undefined;
|
|
381
381
|
brand?: string | null | undefined;
|
|
@@ -388,7 +388,7 @@ export declare const updateEquipmentSchema: z.ZodObject<{
|
|
|
388
388
|
purchasePrice?: number | null | undefined;
|
|
389
389
|
currentValue?: number | null | undefined;
|
|
390
390
|
}, {
|
|
391
|
-
type?: "
|
|
391
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
392
392
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
393
393
|
name?: string | undefined;
|
|
394
394
|
brand?: string | null | undefined;
|
|
@@ -405,7 +405,7 @@ export declare const updateEquipmentSchema: z.ZodObject<{
|
|
|
405
405
|
type: "equipment";
|
|
406
406
|
id: string;
|
|
407
407
|
attributes: {
|
|
408
|
-
type?: "
|
|
408
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
409
409
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
410
410
|
name?: string | undefined;
|
|
411
411
|
brand?: string | null | undefined;
|
|
@@ -422,7 +422,7 @@ export declare const updateEquipmentSchema: z.ZodObject<{
|
|
|
422
422
|
type: "equipment";
|
|
423
423
|
id: string;
|
|
424
424
|
attributes: {
|
|
425
|
-
type?: "
|
|
425
|
+
type?: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
|
|
426
426
|
status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
|
|
427
427
|
name?: string | undefined;
|
|
428
428
|
brand?: string | null | undefined;
|
|
@@ -552,14 +552,14 @@ export declare const equipmentResourceSchema: z.ZodObject<{
|
|
|
552
552
|
createdAt: z.ZodString;
|
|
553
553
|
updatedAt: z.ZodString;
|
|
554
554
|
}, "strip", z.ZodTypeAny, {
|
|
555
|
-
type: "
|
|
555
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
556
556
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
557
557
|
createdAt: string;
|
|
558
558
|
updatedAt: string;
|
|
559
559
|
name: string;
|
|
560
560
|
brand: string | null;
|
|
561
|
-
location: string | null;
|
|
562
561
|
farmId: string;
|
|
562
|
+
location: string | null;
|
|
563
563
|
assignedTo: string | null;
|
|
564
564
|
notes: string | null;
|
|
565
565
|
model: string | null;
|
|
@@ -585,14 +585,14 @@ export declare const equipmentResourceSchema: z.ZodObject<{
|
|
|
585
585
|
performedBy: string | null;
|
|
586
586
|
}[] | undefined;
|
|
587
587
|
}, {
|
|
588
|
-
type: "
|
|
588
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
589
589
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
590
590
|
createdAt: string;
|
|
591
591
|
updatedAt: string;
|
|
592
592
|
name: string;
|
|
593
593
|
brand: string | null;
|
|
594
|
-
location: string | null;
|
|
595
594
|
farmId: string;
|
|
595
|
+
location: string | null;
|
|
596
596
|
assignedTo: string | null;
|
|
597
597
|
notes: string | null;
|
|
598
598
|
model: string | null;
|
|
@@ -625,14 +625,14 @@ export declare const equipmentResourceSchema: z.ZodObject<{
|
|
|
625
625
|
type: string;
|
|
626
626
|
id: string;
|
|
627
627
|
attributes: {
|
|
628
|
-
type: "
|
|
628
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
629
629
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
630
630
|
createdAt: string;
|
|
631
631
|
updatedAt: string;
|
|
632
632
|
name: string;
|
|
633
633
|
brand: string | null;
|
|
634
|
-
location: string | null;
|
|
635
634
|
farmId: string;
|
|
635
|
+
location: string | null;
|
|
636
636
|
assignedTo: string | null;
|
|
637
637
|
notes: string | null;
|
|
638
638
|
model: string | null;
|
|
@@ -665,14 +665,14 @@ export declare const equipmentResourceSchema: z.ZodObject<{
|
|
|
665
665
|
type: string;
|
|
666
666
|
id: string;
|
|
667
667
|
attributes: {
|
|
668
|
-
type: "
|
|
668
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
669
669
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
670
670
|
createdAt: string;
|
|
671
671
|
updatedAt: string;
|
|
672
672
|
name: string;
|
|
673
673
|
brand: string | null;
|
|
674
|
-
location: string | null;
|
|
675
674
|
farmId: string;
|
|
675
|
+
location: string | null;
|
|
676
676
|
assignedTo: string | null;
|
|
677
677
|
notes: string | null;
|
|
678
678
|
model: string | null;
|
|
@@ -831,14 +831,14 @@ export declare const equipmentResponseSchema: z.ZodObject<{
|
|
|
831
831
|
createdAt: z.ZodString;
|
|
832
832
|
updatedAt: z.ZodString;
|
|
833
833
|
}, "strip", z.ZodTypeAny, {
|
|
834
|
-
type: "
|
|
834
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
835
835
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
836
836
|
createdAt: string;
|
|
837
837
|
updatedAt: string;
|
|
838
838
|
name: string;
|
|
839
839
|
brand: string | null;
|
|
840
|
-
location: string | null;
|
|
841
840
|
farmId: string;
|
|
841
|
+
location: string | null;
|
|
842
842
|
assignedTo: string | null;
|
|
843
843
|
notes: string | null;
|
|
844
844
|
model: string | null;
|
|
@@ -864,14 +864,14 @@ export declare const equipmentResponseSchema: z.ZodObject<{
|
|
|
864
864
|
performedBy: string | null;
|
|
865
865
|
}[] | undefined;
|
|
866
866
|
}, {
|
|
867
|
-
type: "
|
|
867
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
868
868
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
869
869
|
createdAt: string;
|
|
870
870
|
updatedAt: string;
|
|
871
871
|
name: string;
|
|
872
872
|
brand: string | null;
|
|
873
|
-
location: string | null;
|
|
874
873
|
farmId: string;
|
|
874
|
+
location: string | null;
|
|
875
875
|
assignedTo: string | null;
|
|
876
876
|
notes: string | null;
|
|
877
877
|
model: string | null;
|
|
@@ -904,14 +904,14 @@ export declare const equipmentResponseSchema: z.ZodObject<{
|
|
|
904
904
|
type: string;
|
|
905
905
|
id: string;
|
|
906
906
|
attributes: {
|
|
907
|
-
type: "
|
|
907
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
908
908
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
909
909
|
createdAt: string;
|
|
910
910
|
updatedAt: string;
|
|
911
911
|
name: string;
|
|
912
912
|
brand: string | null;
|
|
913
|
-
location: string | null;
|
|
914
913
|
farmId: string;
|
|
914
|
+
location: string | null;
|
|
915
915
|
assignedTo: string | null;
|
|
916
916
|
notes: string | null;
|
|
917
917
|
model: string | null;
|
|
@@ -944,14 +944,14 @@ export declare const equipmentResponseSchema: z.ZodObject<{
|
|
|
944
944
|
type: string;
|
|
945
945
|
id: string;
|
|
946
946
|
attributes: {
|
|
947
|
-
type: "
|
|
947
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
948
948
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
949
949
|
createdAt: string;
|
|
950
950
|
updatedAt: string;
|
|
951
951
|
name: string;
|
|
952
952
|
brand: string | null;
|
|
953
|
-
location: string | null;
|
|
954
953
|
farmId: string;
|
|
954
|
+
location: string | null;
|
|
955
955
|
assignedTo: string | null;
|
|
956
956
|
notes: string | null;
|
|
957
957
|
model: string | null;
|
|
@@ -1010,14 +1010,14 @@ export declare const equipmentResponseSchema: z.ZodObject<{
|
|
|
1010
1010
|
type: string;
|
|
1011
1011
|
id: string;
|
|
1012
1012
|
attributes: {
|
|
1013
|
-
type: "
|
|
1013
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1014
1014
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1015
1015
|
createdAt: string;
|
|
1016
1016
|
updatedAt: string;
|
|
1017
1017
|
name: string;
|
|
1018
1018
|
brand: string | null;
|
|
1019
|
-
location: string | null;
|
|
1020
1019
|
farmId: string;
|
|
1020
|
+
location: string | null;
|
|
1021
1021
|
assignedTo: string | null;
|
|
1022
1022
|
notes: string | null;
|
|
1023
1023
|
model: string | null;
|
|
@@ -1062,14 +1062,14 @@ export declare const equipmentResponseSchema: z.ZodObject<{
|
|
|
1062
1062
|
type: string;
|
|
1063
1063
|
id: string;
|
|
1064
1064
|
attributes: {
|
|
1065
|
-
type: "
|
|
1065
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1066
1066
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1067
1067
|
createdAt: string;
|
|
1068
1068
|
updatedAt: string;
|
|
1069
1069
|
name: string;
|
|
1070
1070
|
brand: string | null;
|
|
1071
|
-
location: string | null;
|
|
1072
1071
|
farmId: string;
|
|
1072
|
+
location: string | null;
|
|
1073
1073
|
assignedTo: string | null;
|
|
1074
1074
|
notes: string | null;
|
|
1075
1075
|
model: string | null;
|
|
@@ -1177,14 +1177,14 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
|
|
|
1177
1177
|
createdAt: z.ZodString;
|
|
1178
1178
|
updatedAt: z.ZodString;
|
|
1179
1179
|
}, "strip", z.ZodTypeAny, {
|
|
1180
|
-
type: "
|
|
1180
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1181
1181
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1182
1182
|
createdAt: string;
|
|
1183
1183
|
updatedAt: string;
|
|
1184
1184
|
name: string;
|
|
1185
1185
|
brand: string | null;
|
|
1186
|
-
location: string | null;
|
|
1187
1186
|
farmId: string;
|
|
1187
|
+
location: string | null;
|
|
1188
1188
|
assignedTo: string | null;
|
|
1189
1189
|
notes: string | null;
|
|
1190
1190
|
model: string | null;
|
|
@@ -1210,14 +1210,14 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
|
|
|
1210
1210
|
performedBy: string | null;
|
|
1211
1211
|
}[] | undefined;
|
|
1212
1212
|
}, {
|
|
1213
|
-
type: "
|
|
1213
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1214
1214
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1215
1215
|
createdAt: string;
|
|
1216
1216
|
updatedAt: string;
|
|
1217
1217
|
name: string;
|
|
1218
1218
|
brand: string | null;
|
|
1219
|
-
location: string | null;
|
|
1220
1219
|
farmId: string;
|
|
1220
|
+
location: string | null;
|
|
1221
1221
|
assignedTo: string | null;
|
|
1222
1222
|
notes: string | null;
|
|
1223
1223
|
model: string | null;
|
|
@@ -1250,14 +1250,14 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
|
|
|
1250
1250
|
type: string;
|
|
1251
1251
|
id: string;
|
|
1252
1252
|
attributes: {
|
|
1253
|
-
type: "
|
|
1253
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1254
1254
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1255
1255
|
createdAt: string;
|
|
1256
1256
|
updatedAt: string;
|
|
1257
1257
|
name: string;
|
|
1258
1258
|
brand: string | null;
|
|
1259
|
-
location: string | null;
|
|
1260
1259
|
farmId: string;
|
|
1260
|
+
location: string | null;
|
|
1261
1261
|
assignedTo: string | null;
|
|
1262
1262
|
notes: string | null;
|
|
1263
1263
|
model: string | null;
|
|
@@ -1290,14 +1290,14 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
|
|
|
1290
1290
|
type: string;
|
|
1291
1291
|
id: string;
|
|
1292
1292
|
attributes: {
|
|
1293
|
-
type: "
|
|
1293
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1294
1294
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1295
1295
|
createdAt: string;
|
|
1296
1296
|
updatedAt: string;
|
|
1297
1297
|
name: string;
|
|
1298
1298
|
brand: string | null;
|
|
1299
|
-
location: string | null;
|
|
1300
1299
|
farmId: string;
|
|
1300
|
+
location: string | null;
|
|
1301
1301
|
assignedTo: string | null;
|
|
1302
1302
|
notes: string | null;
|
|
1303
1303
|
model: string | null;
|
|
@@ -1356,14 +1356,14 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
|
|
|
1356
1356
|
type: string;
|
|
1357
1357
|
id: string;
|
|
1358
1358
|
attributes: {
|
|
1359
|
-
type: "
|
|
1359
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1360
1360
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1361
1361
|
createdAt: string;
|
|
1362
1362
|
updatedAt: string;
|
|
1363
1363
|
name: string;
|
|
1364
1364
|
brand: string | null;
|
|
1365
|
-
location: string | null;
|
|
1366
1365
|
farmId: string;
|
|
1366
|
+
location: string | null;
|
|
1367
1367
|
assignedTo: string | null;
|
|
1368
1368
|
notes: string | null;
|
|
1369
1369
|
model: string | null;
|
|
@@ -1408,14 +1408,14 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
|
|
|
1408
1408
|
type: string;
|
|
1409
1409
|
id: string;
|
|
1410
1410
|
attributes: {
|
|
1411
|
-
type: "
|
|
1411
|
+
type: "other" | "irrigation" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
|
|
1412
1412
|
status: "operational" | "maintenance" | "repair" | "retired";
|
|
1413
1413
|
createdAt: string;
|
|
1414
1414
|
updatedAt: string;
|
|
1415
1415
|
name: string;
|
|
1416
1416
|
brand: string | null;
|
|
1417
|
-
location: string | null;
|
|
1418
1417
|
farmId: string;
|
|
1418
|
+
location: string | null;
|
|
1419
1419
|
assignedTo: string | null;
|
|
1420
1420
|
notes: string | null;
|
|
1421
1421
|
model: string | null;
|
|
@@ -511,11 +511,11 @@ export declare const extensionVisitAttributesSchema: z.ZodObject<{
|
|
|
511
511
|
status: string;
|
|
512
512
|
createdAt: string;
|
|
513
513
|
updatedAt: string;
|
|
514
|
+
farmId: string;
|
|
514
515
|
location: {
|
|
515
516
|
lat: number;
|
|
516
517
|
lng: number;
|
|
517
518
|
} | null;
|
|
518
|
-
farmId: string;
|
|
519
519
|
fieldId: string | null;
|
|
520
520
|
notes: string | null;
|
|
521
521
|
visitDate: string;
|
|
@@ -523,11 +523,11 @@ export declare const extensionVisitAttributesSchema: z.ZodObject<{
|
|
|
523
523
|
status: string;
|
|
524
524
|
createdAt: string;
|
|
525
525
|
updatedAt: string;
|
|
526
|
+
farmId: string;
|
|
526
527
|
location: {
|
|
527
528
|
lat: number;
|
|
528
529
|
lng: number;
|
|
529
530
|
} | null;
|
|
530
|
-
farmId: string;
|
|
531
531
|
fieldId: string | null;
|
|
532
532
|
notes: string | null;
|
|
533
533
|
visitDate: string;
|
|
@@ -558,11 +558,11 @@ export declare const extensionVisitResourceSchema: z.ZodObject<{
|
|
|
558
558
|
status: string;
|
|
559
559
|
createdAt: string;
|
|
560
560
|
updatedAt: string;
|
|
561
|
+
farmId: string;
|
|
561
562
|
location: {
|
|
562
563
|
lat: number;
|
|
563
564
|
lng: number;
|
|
564
565
|
} | null;
|
|
565
|
-
farmId: string;
|
|
566
566
|
fieldId: string | null;
|
|
567
567
|
notes: string | null;
|
|
568
568
|
visitDate: string;
|
|
@@ -570,11 +570,11 @@ export declare const extensionVisitResourceSchema: z.ZodObject<{
|
|
|
570
570
|
status: string;
|
|
571
571
|
createdAt: string;
|
|
572
572
|
updatedAt: string;
|
|
573
|
+
farmId: string;
|
|
573
574
|
location: {
|
|
574
575
|
lat: number;
|
|
575
576
|
lng: number;
|
|
576
577
|
} | null;
|
|
577
|
-
farmId: string;
|
|
578
578
|
fieldId: string | null;
|
|
579
579
|
notes: string | null;
|
|
580
580
|
visitDate: string;
|
|
@@ -589,11 +589,11 @@ export declare const extensionVisitResourceSchema: z.ZodObject<{
|
|
|
589
589
|
status: string;
|
|
590
590
|
createdAt: string;
|
|
591
591
|
updatedAt: string;
|
|
592
|
+
farmId: string;
|
|
592
593
|
location: {
|
|
593
594
|
lat: number;
|
|
594
595
|
lng: number;
|
|
595
596
|
} | null;
|
|
596
|
-
farmId: string;
|
|
597
597
|
fieldId: string | null;
|
|
598
598
|
notes: string | null;
|
|
599
599
|
visitDate: string;
|
|
@@ -608,11 +608,11 @@ export declare const extensionVisitResourceSchema: z.ZodObject<{
|
|
|
608
608
|
status: string;
|
|
609
609
|
createdAt: string;
|
|
610
610
|
updatedAt: string;
|
|
611
|
+
farmId: string;
|
|
611
612
|
location: {
|
|
612
613
|
lat: number;
|
|
613
614
|
lng: number;
|
|
614
615
|
} | null;
|
|
615
|
-
farmId: string;
|
|
616
616
|
fieldId: string | null;
|
|
617
617
|
notes: string | null;
|
|
618
618
|
visitDate: string;
|
|
@@ -648,11 +648,11 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
648
648
|
status: string;
|
|
649
649
|
createdAt: string;
|
|
650
650
|
updatedAt: string;
|
|
651
|
+
farmId: string;
|
|
651
652
|
location: {
|
|
652
653
|
lat: number;
|
|
653
654
|
lng: number;
|
|
654
655
|
} | null;
|
|
655
|
-
farmId: string;
|
|
656
656
|
fieldId: string | null;
|
|
657
657
|
notes: string | null;
|
|
658
658
|
visitDate: string;
|
|
@@ -660,11 +660,11 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
660
660
|
status: string;
|
|
661
661
|
createdAt: string;
|
|
662
662
|
updatedAt: string;
|
|
663
|
+
farmId: string;
|
|
663
664
|
location: {
|
|
664
665
|
lat: number;
|
|
665
666
|
lng: number;
|
|
666
667
|
} | null;
|
|
667
|
-
farmId: string;
|
|
668
668
|
fieldId: string | null;
|
|
669
669
|
notes: string | null;
|
|
670
670
|
visitDate: string;
|
|
@@ -679,11 +679,11 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
679
679
|
status: string;
|
|
680
680
|
createdAt: string;
|
|
681
681
|
updatedAt: string;
|
|
682
|
+
farmId: string;
|
|
682
683
|
location: {
|
|
683
684
|
lat: number;
|
|
684
685
|
lng: number;
|
|
685
686
|
} | null;
|
|
686
|
-
farmId: string;
|
|
687
687
|
fieldId: string | null;
|
|
688
688
|
notes: string | null;
|
|
689
689
|
visitDate: string;
|
|
@@ -698,11 +698,11 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
698
698
|
status: string;
|
|
699
699
|
createdAt: string;
|
|
700
700
|
updatedAt: string;
|
|
701
|
+
farmId: string;
|
|
701
702
|
location: {
|
|
702
703
|
lat: number;
|
|
703
704
|
lng: number;
|
|
704
705
|
} | null;
|
|
705
|
-
farmId: string;
|
|
706
706
|
fieldId: string | null;
|
|
707
707
|
notes: string | null;
|
|
708
708
|
visitDate: string;
|
|
@@ -743,11 +743,11 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
743
743
|
status: string;
|
|
744
744
|
createdAt: string;
|
|
745
745
|
updatedAt: string;
|
|
746
|
+
farmId: string;
|
|
746
747
|
location: {
|
|
747
748
|
lat: number;
|
|
748
749
|
lng: number;
|
|
749
750
|
} | null;
|
|
750
|
-
farmId: string;
|
|
751
751
|
fieldId: string | null;
|
|
752
752
|
notes: string | null;
|
|
753
753
|
visitDate: string;
|
|
@@ -774,11 +774,11 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
774
774
|
status: string;
|
|
775
775
|
createdAt: string;
|
|
776
776
|
updatedAt: string;
|
|
777
|
+
farmId: string;
|
|
777
778
|
location: {
|
|
778
779
|
lat: number;
|
|
779
780
|
lng: number;
|
|
780
781
|
} | null;
|
|
781
|
-
farmId: string;
|
|
782
782
|
fieldId: string | null;
|
|
783
783
|
notes: string | null;
|
|
784
784
|
visitDate: string;
|
|
@@ -135,11 +135,11 @@ export declare const farmStatusAttributesSchema: z.ZodObject<{
|
|
|
135
135
|
}>;
|
|
136
136
|
computedAt: z.ZodString;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
farmId: string;
|
|
138
139
|
ndvi: {
|
|
139
140
|
average: number | null;
|
|
140
141
|
fieldCount: number;
|
|
141
142
|
};
|
|
142
|
-
farmId: string;
|
|
143
143
|
health: {
|
|
144
144
|
overall: number;
|
|
145
145
|
cropHealth: number;
|
|
@@ -162,11 +162,11 @@ export declare const farmStatusAttributesSchema: z.ZodObject<{
|
|
|
162
162
|
};
|
|
163
163
|
computedAt: string;
|
|
164
164
|
}, {
|
|
165
|
+
farmId: string;
|
|
165
166
|
ndvi: {
|
|
166
167
|
average: number | null;
|
|
167
168
|
fieldCount: number;
|
|
168
169
|
};
|
|
169
|
-
farmId: string;
|
|
170
170
|
health: {
|
|
171
171
|
overall: number;
|
|
172
172
|
cropHealth: number;
|
|
@@ -261,11 +261,11 @@ export declare const farmStatusResponseSchema: z.ZodObject<{
|
|
|
261
261
|
}>;
|
|
262
262
|
computedAt: z.ZodString;
|
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
|
264
|
+
farmId: string;
|
|
264
265
|
ndvi: {
|
|
265
266
|
average: number | null;
|
|
266
267
|
fieldCount: number;
|
|
267
268
|
};
|
|
268
|
-
farmId: string;
|
|
269
269
|
health: {
|
|
270
270
|
overall: number;
|
|
271
271
|
cropHealth: number;
|
|
@@ -288,11 +288,11 @@ export declare const farmStatusResponseSchema: z.ZodObject<{
|
|
|
288
288
|
};
|
|
289
289
|
computedAt: string;
|
|
290
290
|
}, {
|
|
291
|
+
farmId: string;
|
|
291
292
|
ndvi: {
|
|
292
293
|
average: number | null;
|
|
293
294
|
fieldCount: number;
|
|
294
295
|
};
|
|
295
|
-
farmId: string;
|
|
296
296
|
health: {
|
|
297
297
|
overall: number;
|
|
298
298
|
cropHealth: number;
|
|
@@ -319,11 +319,11 @@ export declare const farmStatusResponseSchema: z.ZodObject<{
|
|
|
319
319
|
type: "farm-status";
|
|
320
320
|
id: string;
|
|
321
321
|
attributes: {
|
|
322
|
+
farmId: string;
|
|
322
323
|
ndvi: {
|
|
323
324
|
average: number | null;
|
|
324
325
|
fieldCount: number;
|
|
325
326
|
};
|
|
326
|
-
farmId: string;
|
|
327
327
|
health: {
|
|
328
328
|
overall: number;
|
|
329
329
|
cropHealth: number;
|
|
@@ -350,11 +350,11 @@ export declare const farmStatusResponseSchema: z.ZodObject<{
|
|
|
350
350
|
type: "farm-status";
|
|
351
351
|
id: string;
|
|
352
352
|
attributes: {
|
|
353
|
+
farmId: string;
|
|
353
354
|
ndvi: {
|
|
354
355
|
average: number | null;
|
|
355
356
|
fieldCount: number;
|
|
356
357
|
};
|
|
357
|
-
farmId: string;
|
|
358
358
|
health: {
|
|
359
359
|
overall: number;
|
|
360
360
|
cropHealth: number;
|
|
@@ -383,11 +383,11 @@ export declare const farmStatusResponseSchema: z.ZodObject<{
|
|
|
383
383
|
type: "farm-status";
|
|
384
384
|
id: string;
|
|
385
385
|
attributes: {
|
|
386
|
+
farmId: string;
|
|
386
387
|
ndvi: {
|
|
387
388
|
average: number | null;
|
|
388
389
|
fieldCount: number;
|
|
389
390
|
};
|
|
390
|
-
farmId: string;
|
|
391
391
|
health: {
|
|
392
392
|
overall: number;
|
|
393
393
|
cropHealth: number;
|
|
@@ -416,11 +416,11 @@ export declare const farmStatusResponseSchema: z.ZodObject<{
|
|
|
416
416
|
type: "farm-status";
|
|
417
417
|
id: string;
|
|
418
418
|
attributes: {
|
|
419
|
+
farmId: string;
|
|
419
420
|
ndvi: {
|
|
420
421
|
average: number | null;
|
|
421
422
|
fieldCount: number;
|
|
422
423
|
};
|
|
423
|
-
farmId: string;
|
|
424
424
|
health: {
|
|
425
425
|
overall: number;
|
|
426
426
|
cropHealth: number;
|