@deepintel-ltd/farmpro-contracts 1.22.2 → 1.22.3

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.
@@ -28,8 +28,8 @@ export declare const livestockLocationSchema: z.ZodObject<{
28
28
  id: string;
29
29
  source: "manual" | "gps_collar" | "rfid_reader" | "app";
30
30
  timestamp: string;
31
- batteryLevel?: number | undefined;
32
31
  groupId?: string | undefined;
32
+ batteryLevel?: number | undefined;
33
33
  livestockId?: string | undefined;
34
34
  }, {
35
35
  coordinates: {
@@ -40,8 +40,8 @@ export declare const livestockLocationSchema: z.ZodObject<{
40
40
  id: string;
41
41
  source: "manual" | "gps_collar" | "rfid_reader" | "app";
42
42
  timestamp: string;
43
- batteryLevel?: number | undefined;
44
43
  groupId?: string | undefined;
44
+ batteryLevel?: number | undefined;
45
45
  livestockId?: string | undefined;
46
46
  }>;
47
47
  export declare const movementTrailPointSchema: z.ZodObject<{
@@ -206,8 +206,8 @@ export declare const livestockLocationListResponseSchema: z.ZodArray<z.ZodObject
206
206
  id: string;
207
207
  source: "manual" | "gps_collar" | "rfid_reader" | "app";
208
208
  timestamp: string;
209
- batteryLevel?: number | undefined;
210
209
  groupId?: string | undefined;
210
+ batteryLevel?: number | undefined;
211
211
  livestockId?: string | undefined;
212
212
  }, {
213
213
  coordinates: {
@@ -218,8 +218,8 @@ export declare const livestockLocationListResponseSchema: z.ZodArray<z.ZodObject
218
218
  id: string;
219
219
  source: "manual" | "gps_collar" | "rfid_reader" | "app";
220
220
  timestamp: string;
221
- batteryLevel?: number | undefined;
222
221
  groupId?: string | undefined;
222
+ batteryLevel?: number | undefined;
223
223
  livestockId?: string | undefined;
224
224
  }>, "many">;
225
225
  export declare const movementTrailListResponseSchema: z.ZodArray<z.ZodObject<{
@@ -275,7 +275,8 @@ export declare const livestockAttributesSchema: z.ZodObject<{
275
275
  location: string | null;
276
276
  currency: string;
277
277
  notes: string | null;
278
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
278
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
279
+ groupId: string | null;
279
280
  purchasePrice: number | null;
280
281
  currentValue: number | null;
281
282
  weight: number | null;
@@ -292,7 +293,6 @@ export declare const livestockAttributesSchema: z.ZodObject<{
292
293
  damId: string | null;
293
294
  statusDate: string;
294
295
  statusNote: string | null;
295
- groupId: string | null;
296
296
  sireName?: string | null | undefined;
297
297
  damName?: string | null | undefined;
298
298
  healthRecords?: {
@@ -343,7 +343,8 @@ export declare const livestockAttributesSchema: z.ZodObject<{
343
343
  farmId: string;
344
344
  location: string | null;
345
345
  notes: string | null;
346
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
346
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
347
+ groupId: string | null;
347
348
  purchasePrice: number | null;
348
349
  currentValue: number | null;
349
350
  weight: number | null;
@@ -359,7 +360,6 @@ export declare const livestockAttributesSchema: z.ZodObject<{
359
360
  damId: string | null;
360
361
  statusDate: string;
361
362
  statusNote: string | null;
362
- groupId: string | null;
363
363
  currency?: string | undefined;
364
364
  weightUnit?: string | undefined;
365
365
  sireName?: string | null | undefined;
@@ -430,7 +430,7 @@ export declare const createLivestockAttributesSchema: z.ZodObject<{
430
430
  }, "strip", z.ZodTypeAny, {
431
431
  status: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE";
432
432
  currency: string;
433
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
433
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
434
434
  weightUnit: string;
435
435
  tagId: string;
436
436
  sex: "MALE" | "FEMALE" | "UNKNOWN";
@@ -438,6 +438,7 @@ export declare const createLivestockAttributesSchema: z.ZodObject<{
438
438
  name?: string | undefined;
439
439
  location?: string | undefined;
440
440
  notes?: string | undefined;
441
+ groupId?: string | undefined;
441
442
  purchasePrice?: number | undefined;
442
443
  currentValue?: number | undefined;
443
444
  weight?: number | undefined;
@@ -448,15 +449,15 @@ export declare const createLivestockAttributesSchema: z.ZodObject<{
448
449
  sireId?: string | undefined;
449
450
  damId?: string | undefined;
450
451
  statusNote?: string | undefined;
451
- groupId?: string | undefined;
452
452
  }, {
453
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
453
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
454
454
  tagId: string;
455
455
  status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
456
456
  name?: string | undefined;
457
457
  location?: string | undefined;
458
458
  currency?: string | undefined;
459
459
  notes?: string | undefined;
460
+ groupId?: string | undefined;
460
461
  purchasePrice?: number | undefined;
461
462
  currentValue?: number | undefined;
462
463
  weight?: number | undefined;
@@ -470,7 +471,6 @@ export declare const createLivestockAttributesSchema: z.ZodObject<{
470
471
  sireId?: string | undefined;
471
472
  damId?: string | undefined;
472
473
  statusNote?: string | undefined;
473
- groupId?: string | undefined;
474
474
  }>;
475
475
  export declare const updateLivestockAttributesSchema: z.ZodObject<{
476
476
  tagId: z.ZodOptional<z.ZodString>;
@@ -498,7 +498,8 @@ export declare const updateLivestockAttributesSchema: z.ZodObject<{
498
498
  location?: string | null | undefined;
499
499
  currency?: string | undefined;
500
500
  notes?: string | null | undefined;
501
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
501
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
502
+ groupId?: string | null | undefined;
502
503
  purchasePrice?: number | null | undefined;
503
504
  currentValue?: number | null | undefined;
504
505
  weight?: number | null | undefined;
@@ -511,14 +512,14 @@ export declare const updateLivestockAttributesSchema: z.ZodObject<{
511
512
  sireId?: string | null | undefined;
512
513
  damId?: string | null | undefined;
513
514
  statusNote?: string | null | undefined;
514
- groupId?: string | null | undefined;
515
515
  }, {
516
516
  status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
517
517
  name?: string | null | undefined;
518
518
  location?: string | null | undefined;
519
519
  currency?: string | undefined;
520
520
  notes?: string | null | undefined;
521
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
521
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
522
+ groupId?: string | null | undefined;
522
523
  purchasePrice?: number | null | undefined;
523
524
  currentValue?: number | null | undefined;
524
525
  weight?: number | null | undefined;
@@ -531,7 +532,6 @@ export declare const updateLivestockAttributesSchema: z.ZodObject<{
531
532
  sireId?: string | null | undefined;
532
533
  damId?: string | null | undefined;
533
534
  statusNote?: string | null | undefined;
534
- groupId?: string | null | undefined;
535
535
  }>;
536
536
  export declare const createHealthRecordAttributesSchema: z.ZodObject<{
537
537
  recordDate: z.ZodString;
@@ -665,7 +665,7 @@ export declare const createLivestockSchema: z.ZodObject<{
665
665
  }, "strip", z.ZodTypeAny, {
666
666
  status: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE";
667
667
  currency: string;
668
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
668
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
669
669
  weightUnit: string;
670
670
  tagId: string;
671
671
  sex: "MALE" | "FEMALE" | "UNKNOWN";
@@ -673,6 +673,7 @@ export declare const createLivestockSchema: z.ZodObject<{
673
673
  name?: string | undefined;
674
674
  location?: string | undefined;
675
675
  notes?: string | undefined;
676
+ groupId?: string | undefined;
676
677
  purchasePrice?: number | undefined;
677
678
  currentValue?: number | undefined;
678
679
  weight?: number | undefined;
@@ -683,15 +684,15 @@ export declare const createLivestockSchema: z.ZodObject<{
683
684
  sireId?: string | undefined;
684
685
  damId?: string | undefined;
685
686
  statusNote?: string | undefined;
686
- groupId?: string | undefined;
687
687
  }, {
688
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
688
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
689
689
  tagId: string;
690
690
  status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
691
691
  name?: string | undefined;
692
692
  location?: string | undefined;
693
693
  currency?: string | undefined;
694
694
  notes?: string | undefined;
695
+ groupId?: string | undefined;
695
696
  purchasePrice?: number | undefined;
696
697
  currentValue?: number | undefined;
697
698
  weight?: number | undefined;
@@ -705,14 +706,13 @@ export declare const createLivestockSchema: z.ZodObject<{
705
706
  sireId?: string | undefined;
706
707
  damId?: string | undefined;
707
708
  statusNote?: string | undefined;
708
- groupId?: string | undefined;
709
709
  }>;
710
710
  }, "strip", z.ZodTypeAny, {
711
711
  type: "livestock";
712
712
  attributes: {
713
713
  status: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE";
714
714
  currency: string;
715
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
715
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
716
716
  weightUnit: string;
717
717
  tagId: string;
718
718
  sex: "MALE" | "FEMALE" | "UNKNOWN";
@@ -720,6 +720,7 @@ export declare const createLivestockSchema: z.ZodObject<{
720
720
  name?: string | undefined;
721
721
  location?: string | undefined;
722
722
  notes?: string | undefined;
723
+ groupId?: string | undefined;
723
724
  purchasePrice?: number | undefined;
724
725
  currentValue?: number | undefined;
725
726
  weight?: number | undefined;
@@ -730,18 +731,18 @@ export declare const createLivestockSchema: z.ZodObject<{
730
731
  sireId?: string | undefined;
731
732
  damId?: string | undefined;
732
733
  statusNote?: string | undefined;
733
- groupId?: string | undefined;
734
734
  };
735
735
  }, {
736
736
  type: "livestock";
737
737
  attributes: {
738
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
738
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
739
739
  tagId: string;
740
740
  status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
741
741
  name?: string | undefined;
742
742
  location?: string | undefined;
743
743
  currency?: string | undefined;
744
744
  notes?: string | undefined;
745
+ groupId?: string | undefined;
745
746
  purchasePrice?: number | undefined;
746
747
  currentValue?: number | undefined;
747
748
  weight?: number | undefined;
@@ -755,7 +756,6 @@ export declare const createLivestockSchema: z.ZodObject<{
755
756
  sireId?: string | undefined;
756
757
  damId?: string | undefined;
757
758
  statusNote?: string | undefined;
758
- groupId?: string | undefined;
759
759
  };
760
760
  }>;
761
761
  export declare const updateLivestockSchema: z.ZodObject<{
@@ -787,7 +787,8 @@ export declare const updateLivestockSchema: z.ZodObject<{
787
787
  location?: string | null | undefined;
788
788
  currency?: string | undefined;
789
789
  notes?: string | null | undefined;
790
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
790
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
791
+ groupId?: string | null | undefined;
791
792
  purchasePrice?: number | null | undefined;
792
793
  currentValue?: number | null | undefined;
793
794
  weight?: number | null | undefined;
@@ -800,14 +801,14 @@ export declare const updateLivestockSchema: z.ZodObject<{
800
801
  sireId?: string | null | undefined;
801
802
  damId?: string | null | undefined;
802
803
  statusNote?: string | null | undefined;
803
- groupId?: string | null | undefined;
804
804
  }, {
805
805
  status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
806
806
  name?: string | null | undefined;
807
807
  location?: string | null | undefined;
808
808
  currency?: string | undefined;
809
809
  notes?: string | null | undefined;
810
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
810
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
811
+ groupId?: string | null | undefined;
811
812
  purchasePrice?: number | null | undefined;
812
813
  currentValue?: number | null | undefined;
813
814
  weight?: number | null | undefined;
@@ -820,7 +821,6 @@ export declare const updateLivestockSchema: z.ZodObject<{
820
821
  sireId?: string | null | undefined;
821
822
  damId?: string | null | undefined;
822
823
  statusNote?: string | null | undefined;
823
- groupId?: string | null | undefined;
824
824
  }>;
825
825
  }, "strip", z.ZodTypeAny, {
826
826
  type: "livestock";
@@ -831,7 +831,8 @@ export declare const updateLivestockSchema: z.ZodObject<{
831
831
  location?: string | null | undefined;
832
832
  currency?: string | undefined;
833
833
  notes?: string | null | undefined;
834
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
834
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
835
+ groupId?: string | null | undefined;
835
836
  purchasePrice?: number | null | undefined;
836
837
  currentValue?: number | null | undefined;
837
838
  weight?: number | null | undefined;
@@ -844,7 +845,6 @@ export declare const updateLivestockSchema: z.ZodObject<{
844
845
  sireId?: string | null | undefined;
845
846
  damId?: string | null | undefined;
846
847
  statusNote?: string | null | undefined;
847
- groupId?: string | null | undefined;
848
848
  };
849
849
  }, {
850
850
  type: "livestock";
@@ -855,7 +855,8 @@ export declare const updateLivestockSchema: z.ZodObject<{
855
855
  location?: string | null | undefined;
856
856
  currency?: string | undefined;
857
857
  notes?: string | null | undefined;
858
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
858
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
859
+ groupId?: string | null | undefined;
859
860
  purchasePrice?: number | null | undefined;
860
861
  currentValue?: number | null | undefined;
861
862
  weight?: number | null | undefined;
@@ -868,7 +869,6 @@ export declare const updateLivestockSchema: z.ZodObject<{
868
869
  sireId?: string | null | undefined;
869
870
  damId?: string | null | undefined;
870
871
  statusNote?: string | null | undefined;
871
- groupId?: string | null | undefined;
872
872
  };
873
873
  }>;
874
874
  export declare const createHealthRecordSchema: z.ZodObject<{
@@ -1227,7 +1227,8 @@ export declare const livestockResourceSchema: z.ZodObject<{
1227
1227
  location: string | null;
1228
1228
  currency: string;
1229
1229
  notes: string | null;
1230
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1230
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1231
+ groupId: string | null;
1231
1232
  purchasePrice: number | null;
1232
1233
  currentValue: number | null;
1233
1234
  weight: number | null;
@@ -1244,7 +1245,6 @@ export declare const livestockResourceSchema: z.ZodObject<{
1244
1245
  damId: string | null;
1245
1246
  statusDate: string;
1246
1247
  statusNote: string | null;
1247
- groupId: string | null;
1248
1248
  sireName?: string | null | undefined;
1249
1249
  damName?: string | null | undefined;
1250
1250
  healthRecords?: {
@@ -1295,7 +1295,8 @@ export declare const livestockResourceSchema: z.ZodObject<{
1295
1295
  farmId: string;
1296
1296
  location: string | null;
1297
1297
  notes: string | null;
1298
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1298
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1299
+ groupId: string | null;
1299
1300
  purchasePrice: number | null;
1300
1301
  currentValue: number | null;
1301
1302
  weight: number | null;
@@ -1311,7 +1312,6 @@ export declare const livestockResourceSchema: z.ZodObject<{
1311
1312
  damId: string | null;
1312
1313
  statusDate: string;
1313
1314
  statusNote: string | null;
1314
- groupId: string | null;
1315
1315
  currency?: string | undefined;
1316
1316
  weightUnit?: string | undefined;
1317
1317
  sireName?: string | null | undefined;
@@ -1372,7 +1372,8 @@ export declare const livestockResourceSchema: z.ZodObject<{
1372
1372
  location: string | null;
1373
1373
  currency: string;
1374
1374
  notes: string | null;
1375
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1375
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1376
+ groupId: string | null;
1376
1377
  purchasePrice: number | null;
1377
1378
  currentValue: number | null;
1378
1379
  weight: number | null;
@@ -1389,7 +1390,6 @@ export declare const livestockResourceSchema: z.ZodObject<{
1389
1390
  damId: string | null;
1390
1391
  statusDate: string;
1391
1392
  statusNote: string | null;
1392
- groupId: string | null;
1393
1393
  sireName?: string | null | undefined;
1394
1394
  damName?: string | null | undefined;
1395
1395
  healthRecords?: {
@@ -1447,7 +1447,8 @@ export declare const livestockResourceSchema: z.ZodObject<{
1447
1447
  farmId: string;
1448
1448
  location: string | null;
1449
1449
  notes: string | null;
1450
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1450
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1451
+ groupId: string | null;
1451
1452
  purchasePrice: number | null;
1452
1453
  currentValue: number | null;
1453
1454
  weight: number | null;
@@ -1463,7 +1464,6 @@ export declare const livestockResourceSchema: z.ZodObject<{
1463
1464
  damId: string | null;
1464
1465
  statusDate: string;
1465
1466
  statusNote: string | null;
1466
- groupId: string | null;
1467
1467
  currency?: string | undefined;
1468
1468
  weightUnit?: string | undefined;
1469
1469
  sireName?: string | null | undefined;
@@ -1921,7 +1921,8 @@ export declare const livestockResponseSchema: z.ZodObject<{
1921
1921
  location: string | null;
1922
1922
  currency: string;
1923
1923
  notes: string | null;
1924
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1924
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1925
+ groupId: string | null;
1925
1926
  purchasePrice: number | null;
1926
1927
  currentValue: number | null;
1927
1928
  weight: number | null;
@@ -1938,7 +1939,6 @@ export declare const livestockResponseSchema: z.ZodObject<{
1938
1939
  damId: string | null;
1939
1940
  statusDate: string;
1940
1941
  statusNote: string | null;
1941
- groupId: string | null;
1942
1942
  sireName?: string | null | undefined;
1943
1943
  damName?: string | null | undefined;
1944
1944
  healthRecords?: {
@@ -1989,7 +1989,8 @@ export declare const livestockResponseSchema: z.ZodObject<{
1989
1989
  farmId: string;
1990
1990
  location: string | null;
1991
1991
  notes: string | null;
1992
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1992
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1993
+ groupId: string | null;
1993
1994
  purchasePrice: number | null;
1994
1995
  currentValue: number | null;
1995
1996
  weight: number | null;
@@ -2005,7 +2006,6 @@ export declare const livestockResponseSchema: z.ZodObject<{
2005
2006
  damId: string | null;
2006
2007
  statusDate: string;
2007
2008
  statusNote: string | null;
2008
- groupId: string | null;
2009
2009
  currency?: string | undefined;
2010
2010
  weightUnit?: string | undefined;
2011
2011
  sireName?: string | null | undefined;
@@ -2066,7 +2066,8 @@ export declare const livestockResponseSchema: z.ZodObject<{
2066
2066
  location: string | null;
2067
2067
  currency: string;
2068
2068
  notes: string | null;
2069
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2069
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2070
+ groupId: string | null;
2070
2071
  purchasePrice: number | null;
2071
2072
  currentValue: number | null;
2072
2073
  weight: number | null;
@@ -2083,7 +2084,6 @@ export declare const livestockResponseSchema: z.ZodObject<{
2083
2084
  damId: string | null;
2084
2085
  statusDate: string;
2085
2086
  statusNote: string | null;
2086
- groupId: string | null;
2087
2087
  sireName?: string | null | undefined;
2088
2088
  damName?: string | null | undefined;
2089
2089
  healthRecords?: {
@@ -2141,7 +2141,8 @@ export declare const livestockResponseSchema: z.ZodObject<{
2141
2141
  farmId: string;
2142
2142
  location: string | null;
2143
2143
  notes: string | null;
2144
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2144
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2145
+ groupId: string | null;
2145
2146
  purchasePrice: number | null;
2146
2147
  currentValue: number | null;
2147
2148
  weight: number | null;
@@ -2157,7 +2158,6 @@ export declare const livestockResponseSchema: z.ZodObject<{
2157
2158
  damId: string | null;
2158
2159
  statusDate: string;
2159
2160
  statusNote: string | null;
2160
- groupId: string | null;
2161
2161
  currency?: string | undefined;
2162
2162
  weightUnit?: string | undefined;
2163
2163
  sireName?: string | null | undefined;
@@ -2244,7 +2244,8 @@ export declare const livestockResponseSchema: z.ZodObject<{
2244
2244
  location: string | null;
2245
2245
  currency: string;
2246
2246
  notes: string | null;
2247
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2247
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2248
+ groupId: string | null;
2248
2249
  purchasePrice: number | null;
2249
2250
  currentValue: number | null;
2250
2251
  weight: number | null;
@@ -2261,7 +2262,6 @@ export declare const livestockResponseSchema: z.ZodObject<{
2261
2262
  damId: string | null;
2262
2263
  statusDate: string;
2263
2264
  statusNote: string | null;
2264
- groupId: string | null;
2265
2265
  sireName?: string | null | undefined;
2266
2266
  damName?: string | null | undefined;
2267
2267
  healthRecords?: {
@@ -2331,7 +2331,8 @@ export declare const livestockResponseSchema: z.ZodObject<{
2331
2331
  farmId: string;
2332
2332
  location: string | null;
2333
2333
  notes: string | null;
2334
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2334
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2335
+ groupId: string | null;
2335
2336
  purchasePrice: number | null;
2336
2337
  currentValue: number | null;
2337
2338
  weight: number | null;
@@ -2347,7 +2348,6 @@ export declare const livestockResponseSchema: z.ZodObject<{
2347
2348
  damId: string | null;
2348
2349
  statusDate: string;
2349
2350
  statusNote: string | null;
2350
- groupId: string | null;
2351
2351
  currency?: string | undefined;
2352
2352
  weightUnit?: string | undefined;
2353
2353
  sireName?: string | null | undefined;
@@ -2565,7 +2565,8 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2565
2565
  location: string | null;
2566
2566
  currency: string;
2567
2567
  notes: string | null;
2568
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2568
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2569
+ groupId: string | null;
2569
2570
  purchasePrice: number | null;
2570
2571
  currentValue: number | null;
2571
2572
  weight: number | null;
@@ -2582,7 +2583,6 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2582
2583
  damId: string | null;
2583
2584
  statusDate: string;
2584
2585
  statusNote: string | null;
2585
- groupId: string | null;
2586
2586
  sireName?: string | null | undefined;
2587
2587
  damName?: string | null | undefined;
2588
2588
  healthRecords?: {
@@ -2633,7 +2633,8 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2633
2633
  farmId: string;
2634
2634
  location: string | null;
2635
2635
  notes: string | null;
2636
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2636
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2637
+ groupId: string | null;
2637
2638
  purchasePrice: number | null;
2638
2639
  currentValue: number | null;
2639
2640
  weight: number | null;
@@ -2649,7 +2650,6 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2649
2650
  damId: string | null;
2650
2651
  statusDate: string;
2651
2652
  statusNote: string | null;
2652
- groupId: string | null;
2653
2653
  currency?: string | undefined;
2654
2654
  weightUnit?: string | undefined;
2655
2655
  sireName?: string | null | undefined;
@@ -2710,7 +2710,8 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2710
2710
  location: string | null;
2711
2711
  currency: string;
2712
2712
  notes: string | null;
2713
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2713
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2714
+ groupId: string | null;
2714
2715
  purchasePrice: number | null;
2715
2716
  currentValue: number | null;
2716
2717
  weight: number | null;
@@ -2727,7 +2728,6 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2727
2728
  damId: string | null;
2728
2729
  statusDate: string;
2729
2730
  statusNote: string | null;
2730
- groupId: string | null;
2731
2731
  sireName?: string | null | undefined;
2732
2732
  damName?: string | null | undefined;
2733
2733
  healthRecords?: {
@@ -2785,7 +2785,8 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2785
2785
  farmId: string;
2786
2786
  location: string | null;
2787
2787
  notes: string | null;
2788
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2788
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2789
+ groupId: string | null;
2789
2790
  purchasePrice: number | null;
2790
2791
  currentValue: number | null;
2791
2792
  weight: number | null;
@@ -2801,7 +2802,6 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2801
2802
  damId: string | null;
2802
2803
  statusDate: string;
2803
2804
  statusNote: string | null;
2804
- groupId: string | null;
2805
2805
  currency?: string | undefined;
2806
2806
  weightUnit?: string | undefined;
2807
2807
  sireName?: string | null | undefined;
@@ -2888,7 +2888,8 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2888
2888
  location: string | null;
2889
2889
  currency: string;
2890
2890
  notes: string | null;
2891
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2891
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2892
+ groupId: string | null;
2892
2893
  purchasePrice: number | null;
2893
2894
  currentValue: number | null;
2894
2895
  weight: number | null;
@@ -2905,7 +2906,6 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2905
2906
  damId: string | null;
2906
2907
  statusDate: string;
2907
2908
  statusNote: string | null;
2908
- groupId: string | null;
2909
2909
  sireName?: string | null | undefined;
2910
2910
  damName?: string | null | undefined;
2911
2911
  healthRecords?: {
@@ -2975,7 +2975,8 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2975
2975
  farmId: string;
2976
2976
  location: string | null;
2977
2977
  notes: string | null;
2978
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2978
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2979
+ groupId: string | null;
2979
2980
  purchasePrice: number | null;
2980
2981
  currentValue: number | null;
2981
2982
  weight: number | null;
@@ -2991,7 +2992,6 @@ export declare const livestockListResponseSchema: z.ZodObject<{
2991
2992
  damId: string | null;
2992
2993
  statusDate: string;
2993
2994
  statusNote: string | null;
2994
- groupId: string | null;
2995
2995
  currency?: string | undefined;
2996
2996
  weightUnit?: string | undefined;
2997
2997
  sireName?: string | null | undefined;
@@ -3970,14 +3970,14 @@ export declare const livestockStatsSchema: z.ZodObject<{
3970
3970
  totalValue: number;
3971
3971
  byStatus: Partial<Record<"ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE", number>>;
3972
3972
  totalCount: number;
3973
- byCategory: Partial<Record<"OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT", number>>;
3973
+ byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
3974
3974
  bySex: Partial<Record<"MALE" | "FEMALE" | "UNKNOWN", number>>;
3975
3975
  }, {
3976
3976
  currency: string;
3977
3977
  totalValue: number;
3978
3978
  byStatus: Partial<Record<"ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE", number>>;
3979
3979
  totalCount: number;
3980
- byCategory: Partial<Record<"OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT", number>>;
3980
+ byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
3981
3981
  bySex: Partial<Record<"MALE" | "FEMALE" | "UNKNOWN", number>>;
3982
3982
  }>;
3983
3983
  export declare const livestockStatsResponseSchema: z.ZodObject<{
@@ -3993,14 +3993,14 @@ export declare const livestockStatsResponseSchema: z.ZodObject<{
3993
3993
  totalValue: number;
3994
3994
  byStatus: Partial<Record<"ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE", number>>;
3995
3995
  totalCount: number;
3996
- byCategory: Partial<Record<"OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT", number>>;
3996
+ byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
3997
3997
  bySex: Partial<Record<"MALE" | "FEMALE" | "UNKNOWN", number>>;
3998
3998
  }, {
3999
3999
  currency: string;
4000
4000
  totalValue: number;
4001
4001
  byStatus: Partial<Record<"ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE", number>>;
4002
4002
  totalCount: number;
4003
- byCategory: Partial<Record<"OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT", number>>;
4003
+ byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
4004
4004
  bySex: Partial<Record<"MALE" | "FEMALE" | "UNKNOWN", number>>;
4005
4005
  }>;
4006
4006
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4010,7 +4010,7 @@ export declare const livestockStatsResponseSchema: z.ZodObject<{
4010
4010
  totalValue: number;
4011
4011
  byStatus: Partial<Record<"ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE", number>>;
4012
4012
  totalCount: number;
4013
- byCategory: Partial<Record<"OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT", number>>;
4013
+ byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
4014
4014
  bySex: Partial<Record<"MALE" | "FEMALE" | "UNKNOWN", number>>;
4015
4015
  };
4016
4016
  meta?: Record<string, unknown> | undefined;
@@ -4020,7 +4020,7 @@ export declare const livestockStatsResponseSchema: z.ZodObject<{
4020
4020
  totalValue: number;
4021
4021
  byStatus: Partial<Record<"ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE", number>>;
4022
4022
  totalCount: number;
4023
- byCategory: Partial<Record<"OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT", number>>;
4023
+ byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
4024
4024
  bySex: Partial<Record<"MALE" | "FEMALE" | "UNKNOWN", number>>;
4025
4025
  };
4026
4026
  meta?: Record<string, unknown> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepintel-ltd/farmpro-contracts",
3
- "version": "1.22.2",
3
+ "version": "1.22.3",
4
4
  "description": "Type-safe API contracts for FarmPro API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",