@deepintel-ltd/farmpro-contracts 1.22.2 → 1.22.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.
Files changed (34) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -0
  4. package/dist/routes/farm-enterprises.routes.d.ts +1909 -0
  5. package/dist/routes/farm-enterprises.routes.d.ts.map +1 -0
  6. package/dist/routes/farm-enterprises.routes.js +64 -0
  7. package/dist/routes/finance.routes.d.ts +188 -44
  8. package/dist/routes/finance.routes.d.ts.map +1 -1
  9. package/dist/routes/geofences.routes.d.ts +4 -4
  10. package/dist/routes/index.d.ts +2 -0
  11. package/dist/routes/index.d.ts.map +1 -1
  12. package/dist/routes/index.js +2 -0
  13. package/dist/routes/livestock-groups.routes.d.ts +398 -90
  14. package/dist/routes/livestock-groups.routes.d.ts.map +1 -1
  15. package/dist/routes/livestock-map.routes.d.ts +6 -6
  16. package/dist/routes/livestock.routes.d.ts +78 -78
  17. package/dist/routes/staff.routes.d.ts +84 -0
  18. package/dist/routes/staff.routes.d.ts.map +1 -1
  19. package/dist/schemas/farm-enterprises.schemas.d.ts +435 -0
  20. package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -0
  21. package/dist/schemas/farm-enterprises.schemas.js +39 -0
  22. package/dist/schemas/finance.schemas.d.ts +231 -55
  23. package/dist/schemas/finance.schemas.d.ts.map +1 -1
  24. package/dist/schemas/finance.schemas.js +18 -2
  25. package/dist/schemas/geofences.schemas.d.ts +8 -8
  26. package/dist/schemas/livestock-groups.schemas.d.ts +368 -66
  27. package/dist/schemas/livestock-groups.schemas.d.ts.map +1 -1
  28. package/dist/schemas/livestock-groups.schemas.js +22 -0
  29. package/dist/schemas/livestock-map.schemas.d.ts +4 -4
  30. package/dist/schemas/livestock.schemas.d.ts +66 -66
  31. package/dist/schemas/staff.schemas.d.ts +76 -0
  32. package/dist/schemas/staff.schemas.d.ts.map +1 -1
  33. package/dist/schemas/staff.schemas.js +6 -0
  34. package/package.json +1 -1
@@ -30,7 +30,7 @@ export declare const livestockRouter: {
30
30
  'filter[status]'?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
31
31
  include?: string | undefined;
32
32
  search?: string | undefined;
33
- 'filter[category]'?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
33
+ 'filter[category]'?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
34
34
  'filter[sex]'?: "MALE" | "FEMALE" | "UNKNOWN" | undefined;
35
35
  'filter[breed]'?: string | undefined;
36
36
  'filter[groupId]'?: string | undefined;
@@ -42,7 +42,7 @@ export declare const livestockRouter: {
42
42
  'filter[status]'?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
43
43
  include?: string | undefined;
44
44
  search?: string | undefined;
45
- 'filter[category]'?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
45
+ 'filter[category]'?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
46
46
  'filter[sex]'?: "MALE" | "FEMALE" | "UNKNOWN" | undefined;
47
47
  'filter[breed]'?: string | undefined;
48
48
  'filter[groupId]'?: string | undefined;
@@ -210,7 +210,8 @@ export declare const livestockRouter: {
210
210
  location: string | null;
211
211
  currency: string;
212
212
  notes: string | null;
213
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
213
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
214
+ groupId: string | null;
214
215
  purchasePrice: number | null;
215
216
  currentValue: number | null;
216
217
  weight: number | null;
@@ -227,7 +228,6 @@ export declare const livestockRouter: {
227
228
  damId: string | null;
228
229
  statusDate: string;
229
230
  statusNote: string | null;
230
- groupId: string | null;
231
231
  sireName?: string | null | undefined;
232
232
  damName?: string | null | undefined;
233
233
  healthRecords?: {
@@ -278,7 +278,8 @@ export declare const livestockRouter: {
278
278
  farmId: string;
279
279
  location: string | null;
280
280
  notes: string | null;
281
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
281
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
282
+ groupId: string | null;
282
283
  purchasePrice: number | null;
283
284
  currentValue: number | null;
284
285
  weight: number | null;
@@ -294,7 +295,6 @@ export declare const livestockRouter: {
294
295
  damId: string | null;
295
296
  statusDate: string;
296
297
  statusNote: string | null;
297
- groupId: string | null;
298
298
  currency?: string | undefined;
299
299
  weightUnit?: string | undefined;
300
300
  sireName?: string | null | undefined;
@@ -355,7 +355,8 @@ export declare const livestockRouter: {
355
355
  location: string | null;
356
356
  currency: string;
357
357
  notes: string | null;
358
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
358
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
359
+ groupId: string | null;
359
360
  purchasePrice: number | null;
360
361
  currentValue: number | null;
361
362
  weight: number | null;
@@ -372,7 +373,6 @@ export declare const livestockRouter: {
372
373
  damId: string | null;
373
374
  statusDate: string;
374
375
  statusNote: string | null;
375
- groupId: string | null;
376
376
  sireName?: string | null | undefined;
377
377
  damName?: string | null | undefined;
378
378
  healthRecords?: {
@@ -430,7 +430,8 @@ export declare const livestockRouter: {
430
430
  farmId: string;
431
431
  location: string | null;
432
432
  notes: string | null;
433
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
433
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
434
+ groupId: string | null;
434
435
  purchasePrice: number | null;
435
436
  currentValue: number | null;
436
437
  weight: number | null;
@@ -446,7 +447,6 @@ export declare const livestockRouter: {
446
447
  damId: string | null;
447
448
  statusDate: string;
448
449
  statusNote: string | null;
449
- groupId: string | null;
450
450
  currency?: string | undefined;
451
451
  weightUnit?: string | undefined;
452
452
  sireName?: string | null | undefined;
@@ -533,7 +533,8 @@ export declare const livestockRouter: {
533
533
  location: string | null;
534
534
  currency: string;
535
535
  notes: string | null;
536
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
536
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
537
+ groupId: string | null;
537
538
  purchasePrice: number | null;
538
539
  currentValue: number | null;
539
540
  weight: number | null;
@@ -550,7 +551,6 @@ export declare const livestockRouter: {
550
551
  damId: string | null;
551
552
  statusDate: string;
552
553
  statusNote: string | null;
553
- groupId: string | null;
554
554
  sireName?: string | null | undefined;
555
555
  damName?: string | null | undefined;
556
556
  healthRecords?: {
@@ -620,7 +620,8 @@ export declare const livestockRouter: {
620
620
  farmId: string;
621
621
  location: string | null;
622
622
  notes: string | null;
623
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
623
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
624
+ groupId: string | null;
624
625
  purchasePrice: number | null;
625
626
  currentValue: number | null;
626
627
  weight: number | null;
@@ -636,7 +637,6 @@ export declare const livestockRouter: {
636
637
  damId: string | null;
637
638
  statusDate: string;
638
639
  statusNote: string | null;
639
- groupId: string | null;
640
640
  currency?: string | undefined;
641
641
  weightUnit?: string | undefined;
642
642
  sireName?: string | null | undefined;
@@ -905,14 +905,14 @@ export declare const livestockRouter: {
905
905
  totalValue: number;
906
906
  byStatus: Partial<Record<"ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE", number>>;
907
907
  totalCount: number;
908
- byCategory: Partial<Record<"OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT", number>>;
908
+ byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
909
909
  bySex: Partial<Record<"MALE" | "FEMALE" | "UNKNOWN", number>>;
910
910
  }, {
911
911
  currency: string;
912
912
  totalValue: number;
913
913
  byStatus: Partial<Record<"ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE", number>>;
914
914
  totalCount: number;
915
- byCategory: Partial<Record<"OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT", number>>;
915
+ byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
916
916
  bySex: Partial<Record<"MALE" | "FEMALE" | "UNKNOWN", number>>;
917
917
  }>;
918
918
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -922,7 +922,7 @@ export declare const livestockRouter: {
922
922
  totalValue: number;
923
923
  byStatus: Partial<Record<"ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE", number>>;
924
924
  totalCount: number;
925
- byCategory: Partial<Record<"OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT", number>>;
925
+ byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
926
926
  bySex: Partial<Record<"MALE" | "FEMALE" | "UNKNOWN", number>>;
927
927
  };
928
928
  meta?: Record<string, unknown> | undefined;
@@ -932,7 +932,7 @@ export declare const livestockRouter: {
932
932
  totalValue: number;
933
933
  byStatus: Partial<Record<"ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE", number>>;
934
934
  totalCount: number;
935
- byCategory: Partial<Record<"OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT", number>>;
935
+ byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
936
936
  bySex: Partial<Record<"MALE" | "FEMALE" | "UNKNOWN", number>>;
937
937
  };
938
938
  meta?: Record<string, unknown> | undefined;
@@ -1158,7 +1158,7 @@ export declare const livestockRouter: {
1158
1158
  }, "strip", z.ZodTypeAny, {
1159
1159
  status: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE";
1160
1160
  currency: string;
1161
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1161
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1162
1162
  weightUnit: string;
1163
1163
  tagId: string;
1164
1164
  sex: "MALE" | "FEMALE" | "UNKNOWN";
@@ -1166,6 +1166,7 @@ export declare const livestockRouter: {
1166
1166
  name?: string | undefined;
1167
1167
  location?: string | undefined;
1168
1168
  notes?: string | undefined;
1169
+ groupId?: string | undefined;
1169
1170
  purchasePrice?: number | undefined;
1170
1171
  currentValue?: number | undefined;
1171
1172
  weight?: number | undefined;
@@ -1176,15 +1177,15 @@ export declare const livestockRouter: {
1176
1177
  sireId?: string | undefined;
1177
1178
  damId?: string | undefined;
1178
1179
  statusNote?: string | undefined;
1179
- groupId?: string | undefined;
1180
1180
  }, {
1181
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1181
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1182
1182
  tagId: string;
1183
1183
  status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
1184
1184
  name?: string | undefined;
1185
1185
  location?: string | undefined;
1186
1186
  currency?: string | undefined;
1187
1187
  notes?: string | undefined;
1188
+ groupId?: string | undefined;
1188
1189
  purchasePrice?: number | undefined;
1189
1190
  currentValue?: number | undefined;
1190
1191
  weight?: number | undefined;
@@ -1198,14 +1199,13 @@ export declare const livestockRouter: {
1198
1199
  sireId?: string | undefined;
1199
1200
  damId?: string | undefined;
1200
1201
  statusNote?: string | undefined;
1201
- groupId?: string | undefined;
1202
1202
  }>;
1203
1203
  }, "strip", z.ZodTypeAny, {
1204
1204
  type: "livestock";
1205
1205
  attributes: {
1206
1206
  status: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE";
1207
1207
  currency: string;
1208
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1208
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1209
1209
  weightUnit: string;
1210
1210
  tagId: string;
1211
1211
  sex: "MALE" | "FEMALE" | "UNKNOWN";
@@ -1213,6 +1213,7 @@ export declare const livestockRouter: {
1213
1213
  name?: string | undefined;
1214
1214
  location?: string | undefined;
1215
1215
  notes?: string | undefined;
1216
+ groupId?: string | undefined;
1216
1217
  purchasePrice?: number | undefined;
1217
1218
  currentValue?: number | undefined;
1218
1219
  weight?: number | undefined;
@@ -1223,18 +1224,18 @@ export declare const livestockRouter: {
1223
1224
  sireId?: string | undefined;
1224
1225
  damId?: string | undefined;
1225
1226
  statusNote?: string | undefined;
1226
- groupId?: string | undefined;
1227
1227
  };
1228
1228
  }, {
1229
1229
  type: "livestock";
1230
1230
  attributes: {
1231
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1231
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1232
1232
  tagId: string;
1233
1233
  status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
1234
1234
  name?: string | undefined;
1235
1235
  location?: string | undefined;
1236
1236
  currency?: string | undefined;
1237
1237
  notes?: string | undefined;
1238
+ groupId?: string | undefined;
1238
1239
  purchasePrice?: number | undefined;
1239
1240
  currentValue?: number | undefined;
1240
1241
  weight?: number | undefined;
@@ -1248,7 +1249,6 @@ export declare const livestockRouter: {
1248
1249
  sireId?: string | undefined;
1249
1250
  damId?: string | undefined;
1250
1251
  statusNote?: string | undefined;
1251
- groupId?: string | undefined;
1252
1252
  };
1253
1253
  }>;
1254
1254
  }, "strip", z.ZodTypeAny, {
@@ -1257,7 +1257,7 @@ export declare const livestockRouter: {
1257
1257
  attributes: {
1258
1258
  status: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE";
1259
1259
  currency: string;
1260
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1260
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1261
1261
  weightUnit: string;
1262
1262
  tagId: string;
1263
1263
  sex: "MALE" | "FEMALE" | "UNKNOWN";
@@ -1265,6 +1265,7 @@ export declare const livestockRouter: {
1265
1265
  name?: string | undefined;
1266
1266
  location?: string | undefined;
1267
1267
  notes?: string | undefined;
1268
+ groupId?: string | undefined;
1268
1269
  purchasePrice?: number | undefined;
1269
1270
  currentValue?: number | undefined;
1270
1271
  weight?: number | undefined;
@@ -1275,20 +1276,20 @@ export declare const livestockRouter: {
1275
1276
  sireId?: string | undefined;
1276
1277
  damId?: string | undefined;
1277
1278
  statusNote?: string | undefined;
1278
- groupId?: string | undefined;
1279
1279
  };
1280
1280
  };
1281
1281
  }, {
1282
1282
  data: {
1283
1283
  type: "livestock";
1284
1284
  attributes: {
1285
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1285
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1286
1286
  tagId: string;
1287
1287
  status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
1288
1288
  name?: string | undefined;
1289
1289
  location?: string | undefined;
1290
1290
  currency?: string | undefined;
1291
1291
  notes?: string | undefined;
1292
+ groupId?: string | undefined;
1292
1293
  purchasePrice?: number | undefined;
1293
1294
  currentValue?: number | undefined;
1294
1295
  weight?: number | undefined;
@@ -1302,7 +1303,6 @@ export declare const livestockRouter: {
1302
1303
  sireId?: string | undefined;
1303
1304
  damId?: string | undefined;
1304
1305
  statusNote?: string | undefined;
1305
- groupId?: string | undefined;
1306
1306
  };
1307
1307
  };
1308
1308
  }>;
@@ -1465,7 +1465,8 @@ export declare const livestockRouter: {
1465
1465
  location: string | null;
1466
1466
  currency: string;
1467
1467
  notes: string | null;
1468
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1468
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1469
+ groupId: string | null;
1469
1470
  purchasePrice: number | null;
1470
1471
  currentValue: number | null;
1471
1472
  weight: number | null;
@@ -1482,7 +1483,6 @@ export declare const livestockRouter: {
1482
1483
  damId: string | null;
1483
1484
  statusDate: string;
1484
1485
  statusNote: string | null;
1485
- groupId: string | null;
1486
1486
  sireName?: string | null | undefined;
1487
1487
  damName?: string | null | undefined;
1488
1488
  healthRecords?: {
@@ -1533,7 +1533,8 @@ export declare const livestockRouter: {
1533
1533
  farmId: string;
1534
1534
  location: string | null;
1535
1535
  notes: string | null;
1536
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1536
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1537
+ groupId: string | null;
1537
1538
  purchasePrice: number | null;
1538
1539
  currentValue: number | null;
1539
1540
  weight: number | null;
@@ -1549,7 +1550,6 @@ export declare const livestockRouter: {
1549
1550
  damId: string | null;
1550
1551
  statusDate: string;
1551
1552
  statusNote: string | null;
1552
- groupId: string | null;
1553
1553
  currency?: string | undefined;
1554
1554
  weightUnit?: string | undefined;
1555
1555
  sireName?: string | null | undefined;
@@ -1610,7 +1610,8 @@ export declare const livestockRouter: {
1610
1610
  location: string | null;
1611
1611
  currency: string;
1612
1612
  notes: string | null;
1613
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1613
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1614
+ groupId: string | null;
1614
1615
  purchasePrice: number | null;
1615
1616
  currentValue: number | null;
1616
1617
  weight: number | null;
@@ -1627,7 +1628,6 @@ export declare const livestockRouter: {
1627
1628
  damId: string | null;
1628
1629
  statusDate: string;
1629
1630
  statusNote: string | null;
1630
- groupId: string | null;
1631
1631
  sireName?: string | null | undefined;
1632
1632
  damName?: string | null | undefined;
1633
1633
  healthRecords?: {
@@ -1685,7 +1685,8 @@ export declare const livestockRouter: {
1685
1685
  farmId: string;
1686
1686
  location: string | null;
1687
1687
  notes: string | null;
1688
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1688
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1689
+ groupId: string | null;
1689
1690
  purchasePrice: number | null;
1690
1691
  currentValue: number | null;
1691
1692
  weight: number | null;
@@ -1701,7 +1702,6 @@ export declare const livestockRouter: {
1701
1702
  damId: string | null;
1702
1703
  statusDate: string;
1703
1704
  statusNote: string | null;
1704
- groupId: string | null;
1705
1705
  currency?: string | undefined;
1706
1706
  weightUnit?: string | undefined;
1707
1707
  sireName?: string | null | undefined;
@@ -1788,7 +1788,8 @@ export declare const livestockRouter: {
1788
1788
  location: string | null;
1789
1789
  currency: string;
1790
1790
  notes: string | null;
1791
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1791
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1792
+ groupId: string | null;
1792
1793
  purchasePrice: number | null;
1793
1794
  currentValue: number | null;
1794
1795
  weight: number | null;
@@ -1805,7 +1806,6 @@ export declare const livestockRouter: {
1805
1806
  damId: string | null;
1806
1807
  statusDate: string;
1807
1808
  statusNote: string | null;
1808
- groupId: string | null;
1809
1809
  sireName?: string | null | undefined;
1810
1810
  damName?: string | null | undefined;
1811
1811
  healthRecords?: {
@@ -1875,7 +1875,8 @@ export declare const livestockRouter: {
1875
1875
  farmId: string;
1876
1876
  location: string | null;
1877
1877
  notes: string | null;
1878
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
1878
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
1879
+ groupId: string | null;
1879
1880
  purchasePrice: number | null;
1880
1881
  currentValue: number | null;
1881
1882
  weight: number | null;
@@ -1891,7 +1892,6 @@ export declare const livestockRouter: {
1891
1892
  damId: string | null;
1892
1893
  statusDate: string;
1893
1894
  statusNote: string | null;
1894
- groupId: string | null;
1895
1895
  currency?: string | undefined;
1896
1896
  weightUnit?: string | undefined;
1897
1897
  sireName?: string | null | undefined;
@@ -2584,7 +2584,8 @@ export declare const livestockRouter: {
2584
2584
  location: string | null;
2585
2585
  currency: string;
2586
2586
  notes: string | null;
2587
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2587
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2588
+ groupId: string | null;
2588
2589
  purchasePrice: number | null;
2589
2590
  currentValue: number | null;
2590
2591
  weight: number | null;
@@ -2601,7 +2602,6 @@ export declare const livestockRouter: {
2601
2602
  damId: string | null;
2602
2603
  statusDate: string;
2603
2604
  statusNote: string | null;
2604
- groupId: string | null;
2605
2605
  sireName?: string | null | undefined;
2606
2606
  damName?: string | null | undefined;
2607
2607
  healthRecords?: {
@@ -2652,7 +2652,8 @@ export declare const livestockRouter: {
2652
2652
  farmId: string;
2653
2653
  location: string | null;
2654
2654
  notes: string | null;
2655
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2655
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2656
+ groupId: string | null;
2656
2657
  purchasePrice: number | null;
2657
2658
  currentValue: number | null;
2658
2659
  weight: number | null;
@@ -2668,7 +2669,6 @@ export declare const livestockRouter: {
2668
2669
  damId: string | null;
2669
2670
  statusDate: string;
2670
2671
  statusNote: string | null;
2671
- groupId: string | null;
2672
2672
  currency?: string | undefined;
2673
2673
  weightUnit?: string | undefined;
2674
2674
  sireName?: string | null | undefined;
@@ -2729,7 +2729,8 @@ export declare const livestockRouter: {
2729
2729
  location: string | null;
2730
2730
  currency: string;
2731
2731
  notes: string | null;
2732
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2732
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2733
+ groupId: string | null;
2733
2734
  purchasePrice: number | null;
2734
2735
  currentValue: number | null;
2735
2736
  weight: number | null;
@@ -2746,7 +2747,6 @@ export declare const livestockRouter: {
2746
2747
  damId: string | null;
2747
2748
  statusDate: string;
2748
2749
  statusNote: string | null;
2749
- groupId: string | null;
2750
2750
  sireName?: string | null | undefined;
2751
2751
  damName?: string | null | undefined;
2752
2752
  healthRecords?: {
@@ -2804,7 +2804,8 @@ export declare const livestockRouter: {
2804
2804
  farmId: string;
2805
2805
  location: string | null;
2806
2806
  notes: string | null;
2807
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2807
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2808
+ groupId: string | null;
2808
2809
  purchasePrice: number | null;
2809
2810
  currentValue: number | null;
2810
2811
  weight: number | null;
@@ -2820,7 +2821,6 @@ export declare const livestockRouter: {
2820
2821
  damId: string | null;
2821
2822
  statusDate: string;
2822
2823
  statusNote: string | null;
2823
- groupId: string | null;
2824
2824
  currency?: string | undefined;
2825
2825
  weightUnit?: string | undefined;
2826
2826
  sireName?: string | null | undefined;
@@ -2907,7 +2907,8 @@ export declare const livestockRouter: {
2907
2907
  location: string | null;
2908
2908
  currency: string;
2909
2909
  notes: string | null;
2910
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2910
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2911
+ groupId: string | null;
2911
2912
  purchasePrice: number | null;
2912
2913
  currentValue: number | null;
2913
2914
  weight: number | null;
@@ -2924,7 +2925,6 @@ export declare const livestockRouter: {
2924
2925
  damId: string | null;
2925
2926
  statusDate: string;
2926
2927
  statusNote: string | null;
2927
- groupId: string | null;
2928
2928
  sireName?: string | null | undefined;
2929
2929
  damName?: string | null | undefined;
2930
2930
  healthRecords?: {
@@ -2994,7 +2994,8 @@ export declare const livestockRouter: {
2994
2994
  farmId: string;
2995
2995
  location: string | null;
2996
2996
  notes: string | null;
2997
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
2997
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
2998
+ groupId: string | null;
2998
2999
  purchasePrice: number | null;
2999
3000
  currentValue: number | null;
3000
3001
  weight: number | null;
@@ -3010,7 +3011,6 @@ export declare const livestockRouter: {
3010
3011
  damId: string | null;
3011
3012
  statusDate: string;
3012
3013
  statusNote: string | null;
3013
- groupId: string | null;
3014
3014
  currency?: string | undefined;
3015
3015
  weightUnit?: string | undefined;
3016
3016
  sireName?: string | null | undefined;
@@ -3297,7 +3297,8 @@ export declare const livestockRouter: {
3297
3297
  location?: string | null | undefined;
3298
3298
  currency?: string | undefined;
3299
3299
  notes?: string | null | undefined;
3300
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3300
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
3301
+ groupId?: string | null | undefined;
3301
3302
  purchasePrice?: number | null | undefined;
3302
3303
  currentValue?: number | null | undefined;
3303
3304
  weight?: number | null | undefined;
@@ -3310,14 +3311,14 @@ export declare const livestockRouter: {
3310
3311
  sireId?: string | null | undefined;
3311
3312
  damId?: string | null | undefined;
3312
3313
  statusNote?: string | null | undefined;
3313
- groupId?: string | null | undefined;
3314
3314
  }, {
3315
3315
  status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
3316
3316
  name?: string | null | undefined;
3317
3317
  location?: string | null | undefined;
3318
3318
  currency?: string | undefined;
3319
3319
  notes?: string | null | undefined;
3320
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3320
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
3321
+ groupId?: string | null | undefined;
3321
3322
  purchasePrice?: number | null | undefined;
3322
3323
  currentValue?: number | null | undefined;
3323
3324
  weight?: number | null | undefined;
@@ -3330,7 +3331,6 @@ export declare const livestockRouter: {
3330
3331
  sireId?: string | null | undefined;
3331
3332
  damId?: string | null | undefined;
3332
3333
  statusNote?: string | null | undefined;
3333
- groupId?: string | null | undefined;
3334
3334
  }>;
3335
3335
  }, "strip", z.ZodTypeAny, {
3336
3336
  type: "livestock";
@@ -3341,7 +3341,8 @@ export declare const livestockRouter: {
3341
3341
  location?: string | null | undefined;
3342
3342
  currency?: string | undefined;
3343
3343
  notes?: string | null | undefined;
3344
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3344
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
3345
+ groupId?: string | null | undefined;
3345
3346
  purchasePrice?: number | null | undefined;
3346
3347
  currentValue?: number | null | undefined;
3347
3348
  weight?: number | null | undefined;
@@ -3354,7 +3355,6 @@ export declare const livestockRouter: {
3354
3355
  sireId?: string | null | undefined;
3355
3356
  damId?: string | null | undefined;
3356
3357
  statusNote?: string | null | undefined;
3357
- groupId?: string | null | undefined;
3358
3358
  };
3359
3359
  }, {
3360
3360
  type: "livestock";
@@ -3365,7 +3365,8 @@ export declare const livestockRouter: {
3365
3365
  location?: string | null | undefined;
3366
3366
  currency?: string | undefined;
3367
3367
  notes?: string | null | undefined;
3368
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3368
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
3369
+ groupId?: string | null | undefined;
3369
3370
  purchasePrice?: number | null | undefined;
3370
3371
  currentValue?: number | null | undefined;
3371
3372
  weight?: number | null | undefined;
@@ -3378,7 +3379,6 @@ export declare const livestockRouter: {
3378
3379
  sireId?: string | null | undefined;
3379
3380
  damId?: string | null | undefined;
3380
3381
  statusNote?: string | null | undefined;
3381
- groupId?: string | null | undefined;
3382
3382
  };
3383
3383
  }>;
3384
3384
  }, "strip", z.ZodTypeAny, {
@@ -3391,7 +3391,8 @@ export declare const livestockRouter: {
3391
3391
  location?: string | null | undefined;
3392
3392
  currency?: string | undefined;
3393
3393
  notes?: string | null | undefined;
3394
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3394
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
3395
+ groupId?: string | null | undefined;
3395
3396
  purchasePrice?: number | null | undefined;
3396
3397
  currentValue?: number | null | undefined;
3397
3398
  weight?: number | null | undefined;
@@ -3404,7 +3405,6 @@ export declare const livestockRouter: {
3404
3405
  sireId?: string | null | undefined;
3405
3406
  damId?: string | null | undefined;
3406
3407
  statusNote?: string | null | undefined;
3407
- groupId?: string | null | undefined;
3408
3408
  };
3409
3409
  };
3410
3410
  }, {
@@ -3417,7 +3417,8 @@ export declare const livestockRouter: {
3417
3417
  location?: string | null | undefined;
3418
3418
  currency?: string | undefined;
3419
3419
  notes?: string | null | undefined;
3420
- category?: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT" | undefined;
3420
+ category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
3421
+ groupId?: string | null | undefined;
3421
3422
  purchasePrice?: number | null | undefined;
3422
3423
  currentValue?: number | null | undefined;
3423
3424
  weight?: number | null | undefined;
@@ -3430,7 +3431,6 @@ export declare const livestockRouter: {
3430
3431
  sireId?: string | null | undefined;
3431
3432
  damId?: string | null | undefined;
3432
3433
  statusNote?: string | null | undefined;
3433
- groupId?: string | null | undefined;
3434
3434
  };
3435
3435
  };
3436
3436
  }>;
@@ -3593,7 +3593,8 @@ export declare const livestockRouter: {
3593
3593
  location: string | null;
3594
3594
  currency: string;
3595
3595
  notes: string | null;
3596
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3596
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
3597
+ groupId: string | null;
3597
3598
  purchasePrice: number | null;
3598
3599
  currentValue: number | null;
3599
3600
  weight: number | null;
@@ -3610,7 +3611,6 @@ export declare const livestockRouter: {
3610
3611
  damId: string | null;
3611
3612
  statusDate: string;
3612
3613
  statusNote: string | null;
3613
- groupId: string | null;
3614
3614
  sireName?: string | null | undefined;
3615
3615
  damName?: string | null | undefined;
3616
3616
  healthRecords?: {
@@ -3661,7 +3661,8 @@ export declare const livestockRouter: {
3661
3661
  farmId: string;
3662
3662
  location: string | null;
3663
3663
  notes: string | null;
3664
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3664
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
3665
+ groupId: string | null;
3665
3666
  purchasePrice: number | null;
3666
3667
  currentValue: number | null;
3667
3668
  weight: number | null;
@@ -3677,7 +3678,6 @@ export declare const livestockRouter: {
3677
3678
  damId: string | null;
3678
3679
  statusDate: string;
3679
3680
  statusNote: string | null;
3680
- groupId: string | null;
3681
3681
  currency?: string | undefined;
3682
3682
  weightUnit?: string | undefined;
3683
3683
  sireName?: string | null | undefined;
@@ -3738,7 +3738,8 @@ export declare const livestockRouter: {
3738
3738
  location: string | null;
3739
3739
  currency: string;
3740
3740
  notes: string | null;
3741
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3741
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
3742
+ groupId: string | null;
3742
3743
  purchasePrice: number | null;
3743
3744
  currentValue: number | null;
3744
3745
  weight: number | null;
@@ -3755,7 +3756,6 @@ export declare const livestockRouter: {
3755
3756
  damId: string | null;
3756
3757
  statusDate: string;
3757
3758
  statusNote: string | null;
3758
- groupId: string | null;
3759
3759
  sireName?: string | null | undefined;
3760
3760
  damName?: string | null | undefined;
3761
3761
  healthRecords?: {
@@ -3813,7 +3813,8 @@ export declare const livestockRouter: {
3813
3813
  farmId: string;
3814
3814
  location: string | null;
3815
3815
  notes: string | null;
3816
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3816
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
3817
+ groupId: string | null;
3817
3818
  purchasePrice: number | null;
3818
3819
  currentValue: number | null;
3819
3820
  weight: number | null;
@@ -3829,7 +3830,6 @@ export declare const livestockRouter: {
3829
3830
  damId: string | null;
3830
3831
  statusDate: string;
3831
3832
  statusNote: string | null;
3832
- groupId: string | null;
3833
3833
  currency?: string | undefined;
3834
3834
  weightUnit?: string | undefined;
3835
3835
  sireName?: string | null | undefined;
@@ -3916,7 +3916,8 @@ export declare const livestockRouter: {
3916
3916
  location: string | null;
3917
3917
  currency: string;
3918
3918
  notes: string | null;
3919
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
3919
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
3920
+ groupId: string | null;
3920
3921
  purchasePrice: number | null;
3921
3922
  currentValue: number | null;
3922
3923
  weight: number | null;
@@ -3933,7 +3934,6 @@ export declare const livestockRouter: {
3933
3934
  damId: string | null;
3934
3935
  statusDate: string;
3935
3936
  statusNote: string | null;
3936
- groupId: string | null;
3937
3937
  sireName?: string | null | undefined;
3938
3938
  damName?: string | null | undefined;
3939
3939
  healthRecords?: {
@@ -4003,7 +4003,8 @@ export declare const livestockRouter: {
4003
4003
  farmId: string;
4004
4004
  location: string | null;
4005
4005
  notes: string | null;
4006
- category: "OTHER" | "CATTLE" | "POULTRY" | "SHEEP" | "GOAT" | "PIG" | "FISH" | "RABBIT";
4006
+ category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
4007
+ groupId: string | null;
4007
4008
  purchasePrice: number | null;
4008
4009
  currentValue: number | null;
4009
4010
  weight: number | null;
@@ -4019,7 +4020,6 @@ export declare const livestockRouter: {
4019
4020
  damId: string | null;
4020
4021
  statusDate: string;
4021
4022
  statusNote: string | null;
4022
- groupId: string | null;
4023
4023
  currency?: string | undefined;
4024
4024
  weightUnit?: string | undefined;
4025
4025
  sireName?: string | null | undefined;