@deepintel-ltd/farmpro-contracts 1.11.7 → 1.11.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/routes/agents.routes.d.ts +142 -0
- package/dist/routes/agents.routes.d.ts.map +1 -1
- package/dist/routes/equipment.routes.d.ts +36 -36
- package/dist/routes/extension.routes.d.ts +12 -12
- package/dist/routes/farm-updates.routes.d.ts +5445 -0
- package/dist/routes/farm-updates.routes.d.ts.map +1 -0
- package/dist/routes/farm-updates.routes.js +149 -0
- package/dist/routes/fertigation.routes.d.ts +156 -156
- package/dist/routes/field-activities.routes.d.ts +2397 -0
- package/dist/routes/field-activities.routes.d.ts.map +1 -0
- package/dist/routes/field-activities.routes.js +81 -0
- package/dist/routes/fields.routes.d.ts +860 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.js +20 -1
- package/dist/routes/index.d.ts +6 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +4 -0
- package/dist/routes/irrigation.routes.d.ts +20 -20
- package/dist/routes/livestock-groups.routes.d.ts +36 -36
- package/dist/routes/livestock.routes.d.ts +30 -30
- package/dist/routes/soil-tests.routes.d.ts +36 -36
- package/dist/routes/tasks.routes.d.ts +120 -120
- package/dist/schemas/agents.schemas.d.ts +163 -0
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +23 -0
- package/dist/schemas/equipment.schemas.d.ts +30 -30
- package/dist/schemas/extension.schemas.d.ts +18 -18
- package/dist/schemas/farm-updates.schemas.d.ts +3595 -0
- package/dist/schemas/farm-updates.schemas.d.ts.map +1 -0
- package/dist/schemas/farm-updates.schemas.js +91 -0
- package/dist/schemas/fertigation.schemas.d.ts +42 -42
- package/dist/schemas/field-activities.schemas.d.ts +806 -0
- package/dist/schemas/field-activities.schemas.d.ts.map +1 -0
- package/dist/schemas/field-activities.schemas.js +68 -0
- package/dist/schemas/fields.schemas.d.ts +173 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +14 -0
- package/dist/schemas/irrigation.schemas.d.ts +14 -14
- package/dist/schemas/livestock-groups.schemas.d.ts +24 -24
- package/dist/schemas/livestock.schemas.d.ts +24 -24
- package/dist/schemas/soil-tests.schemas.d.ts +34 -34
- package/dist/schemas/tasks.schemas.d.ts +96 -96
- package/package.json +1 -1
|
@@ -414,8 +414,8 @@ export declare const createExtensionVisitAttributesSchema: z.ZodObject<{
|
|
|
414
414
|
lat: number;
|
|
415
415
|
lng: number;
|
|
416
416
|
} | undefined;
|
|
417
|
-
fieldId?: string | undefined;
|
|
418
417
|
notes?: string | undefined;
|
|
418
|
+
fieldId?: string | undefined;
|
|
419
419
|
visitDate?: string | undefined;
|
|
420
420
|
}, {
|
|
421
421
|
farmId: string;
|
|
@@ -423,8 +423,8 @@ export declare const createExtensionVisitAttributesSchema: z.ZodObject<{
|
|
|
423
423
|
lat: number;
|
|
424
424
|
lng: number;
|
|
425
425
|
} | undefined;
|
|
426
|
-
fieldId?: string | undefined;
|
|
427
426
|
notes?: string | undefined;
|
|
427
|
+
fieldId?: string | undefined;
|
|
428
428
|
visitDate?: string | undefined;
|
|
429
429
|
}>;
|
|
430
430
|
export declare const createExtensionVisitInputSchema: z.ZodObject<{
|
|
@@ -450,8 +450,8 @@ export declare const createExtensionVisitInputSchema: z.ZodObject<{
|
|
|
450
450
|
lat: number;
|
|
451
451
|
lng: number;
|
|
452
452
|
} | undefined;
|
|
453
|
-
fieldId?: string | undefined;
|
|
454
453
|
notes?: string | undefined;
|
|
454
|
+
fieldId?: string | undefined;
|
|
455
455
|
visitDate?: string | undefined;
|
|
456
456
|
}, {
|
|
457
457
|
farmId: string;
|
|
@@ -459,8 +459,8 @@ export declare const createExtensionVisitInputSchema: z.ZodObject<{
|
|
|
459
459
|
lat: number;
|
|
460
460
|
lng: number;
|
|
461
461
|
} | undefined;
|
|
462
|
-
fieldId?: string | undefined;
|
|
463
462
|
notes?: string | undefined;
|
|
463
|
+
fieldId?: string | undefined;
|
|
464
464
|
visitDate?: string | undefined;
|
|
465
465
|
}>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -471,8 +471,8 @@ export declare const createExtensionVisitInputSchema: z.ZodObject<{
|
|
|
471
471
|
lat: number;
|
|
472
472
|
lng: number;
|
|
473
473
|
} | undefined;
|
|
474
|
-
fieldId?: string | undefined;
|
|
475
474
|
notes?: string | undefined;
|
|
475
|
+
fieldId?: string | undefined;
|
|
476
476
|
visitDate?: string | undefined;
|
|
477
477
|
};
|
|
478
478
|
}, {
|
|
@@ -483,8 +483,8 @@ export declare const createExtensionVisitInputSchema: z.ZodObject<{
|
|
|
483
483
|
lat: number;
|
|
484
484
|
lng: number;
|
|
485
485
|
} | undefined;
|
|
486
|
-
fieldId?: string | undefined;
|
|
487
486
|
notes?: string | undefined;
|
|
487
|
+
fieldId?: string | undefined;
|
|
488
488
|
visitDate?: string | undefined;
|
|
489
489
|
};
|
|
490
490
|
}>;
|
|
@@ -516,8 +516,8 @@ export declare const extensionVisitAttributesSchema: z.ZodObject<{
|
|
|
516
516
|
lat: number;
|
|
517
517
|
lng: number;
|
|
518
518
|
} | null;
|
|
519
|
-
fieldId: string | null;
|
|
520
519
|
notes: string | null;
|
|
520
|
+
fieldId: string | null;
|
|
521
521
|
visitDate: string;
|
|
522
522
|
}, {
|
|
523
523
|
status: string;
|
|
@@ -528,8 +528,8 @@ export declare const extensionVisitAttributesSchema: z.ZodObject<{
|
|
|
528
528
|
lat: number;
|
|
529
529
|
lng: number;
|
|
530
530
|
} | null;
|
|
531
|
-
fieldId: string | null;
|
|
532
531
|
notes: string | null;
|
|
532
|
+
fieldId: string | null;
|
|
533
533
|
visitDate: string;
|
|
534
534
|
}>;
|
|
535
535
|
export declare const extensionVisitResourceSchema: z.ZodObject<{
|
|
@@ -563,8 +563,8 @@ export declare const extensionVisitResourceSchema: z.ZodObject<{
|
|
|
563
563
|
lat: number;
|
|
564
564
|
lng: number;
|
|
565
565
|
} | null;
|
|
566
|
-
fieldId: string | null;
|
|
567
566
|
notes: string | null;
|
|
567
|
+
fieldId: string | null;
|
|
568
568
|
visitDate: string;
|
|
569
569
|
}, {
|
|
570
570
|
status: string;
|
|
@@ -575,8 +575,8 @@ export declare const extensionVisitResourceSchema: z.ZodObject<{
|
|
|
575
575
|
lat: number;
|
|
576
576
|
lng: number;
|
|
577
577
|
} | null;
|
|
578
|
-
fieldId: string | null;
|
|
579
578
|
notes: string | null;
|
|
579
|
+
fieldId: string | null;
|
|
580
580
|
visitDate: string;
|
|
581
581
|
}>;
|
|
582
582
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -594,8 +594,8 @@ export declare const extensionVisitResourceSchema: z.ZodObject<{
|
|
|
594
594
|
lat: number;
|
|
595
595
|
lng: number;
|
|
596
596
|
} | null;
|
|
597
|
-
fieldId: string | null;
|
|
598
597
|
notes: string | null;
|
|
598
|
+
fieldId: string | null;
|
|
599
599
|
visitDate: string;
|
|
600
600
|
};
|
|
601
601
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -613,8 +613,8 @@ export declare const extensionVisitResourceSchema: z.ZodObject<{
|
|
|
613
613
|
lat: number;
|
|
614
614
|
lng: number;
|
|
615
615
|
} | null;
|
|
616
|
-
fieldId: string | null;
|
|
617
616
|
notes: string | null;
|
|
617
|
+
fieldId: string | null;
|
|
618
618
|
visitDate: string;
|
|
619
619
|
};
|
|
620
620
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -653,8 +653,8 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
653
653
|
lat: number;
|
|
654
654
|
lng: number;
|
|
655
655
|
} | null;
|
|
656
|
-
fieldId: string | null;
|
|
657
656
|
notes: string | null;
|
|
657
|
+
fieldId: string | null;
|
|
658
658
|
visitDate: string;
|
|
659
659
|
}, {
|
|
660
660
|
status: string;
|
|
@@ -665,8 +665,8 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
665
665
|
lat: number;
|
|
666
666
|
lng: number;
|
|
667
667
|
} | null;
|
|
668
|
-
fieldId: string | null;
|
|
669
668
|
notes: string | null;
|
|
669
|
+
fieldId: string | null;
|
|
670
670
|
visitDate: string;
|
|
671
671
|
}>;
|
|
672
672
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -684,8 +684,8 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
684
684
|
lat: number;
|
|
685
685
|
lng: number;
|
|
686
686
|
} | null;
|
|
687
|
-
fieldId: string | null;
|
|
688
687
|
notes: string | null;
|
|
688
|
+
fieldId: string | null;
|
|
689
689
|
visitDate: string;
|
|
690
690
|
};
|
|
691
691
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -703,8 +703,8 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
703
703
|
lat: number;
|
|
704
704
|
lng: number;
|
|
705
705
|
} | null;
|
|
706
|
-
fieldId: string | null;
|
|
707
706
|
notes: string | null;
|
|
707
|
+
fieldId: string | null;
|
|
708
708
|
visitDate: string;
|
|
709
709
|
};
|
|
710
710
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -748,8 +748,8 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
748
748
|
lat: number;
|
|
749
749
|
lng: number;
|
|
750
750
|
} | null;
|
|
751
|
-
fieldId: string | null;
|
|
752
751
|
notes: string | null;
|
|
752
|
+
fieldId: string | null;
|
|
753
753
|
visitDate: string;
|
|
754
754
|
};
|
|
755
755
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -779,8 +779,8 @@ export declare const extensionVisitResponseSchema: z.ZodObject<{
|
|
|
779
779
|
lat: number;
|
|
780
780
|
lng: number;
|
|
781
781
|
} | null;
|
|
782
|
-
fieldId: string | null;
|
|
783
782
|
notes: string | null;
|
|
783
|
+
fieldId: string | null;
|
|
784
784
|
visitDate: string;
|
|
785
785
|
};
|
|
786
786
|
relationships?: Record<string, unknown> | undefined;
|