@deepintel-ltd/farmpro-contracts 1.25.2 → 1.26.0
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/farm-enterprises.routes.d.ts +44 -44
- package/dist/routes/farms.routes.d.ts +9 -9
- package/dist/routes/geofences.routes.d.ts +2 -2
- package/dist/routes/livestock-groups.routes.d.ts +724 -54
- package/dist/routes/livestock-groups.routes.d.ts.map +1 -1
- package/dist/routes/livestock-groups.routes.js +17 -1
- package/dist/routes/livestock.routes.d.ts +3505 -42
- package/dist/routes/livestock.routes.d.ts.map +1 -1
- package/dist/routes/livestock.routes.js +111 -1
- package/dist/routes/organizations.routes.d.ts +112 -14
- package/dist/routes/organizations.routes.d.ts.map +1 -1
- package/dist/routes/team.routes.d.ts +44 -44
- package/dist/routes/trade-cash-events.routes.d.ts +7668 -559
- package/dist/routes/trade-cash-events.routes.d.ts.map +1 -1
- package/dist/routes/trade-cash-events.routes.js +148 -2
- package/dist/schemas/farm-enterprises.schemas.d.ts +58 -58
- package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-enterprises.schemas.js +1 -0
- package/dist/schemas/farms.schemas.d.ts +12 -12
- package/dist/schemas/farms.schemas.js +1 -1
- package/dist/schemas/geofences.schemas.d.ts +4 -4
- package/dist/schemas/livestock-groups.schemas.d.ts +166 -40
- package/dist/schemas/livestock-groups.schemas.d.ts.map +1 -1
- package/dist/schemas/livestock-groups.schemas.js +25 -0
- package/dist/schemas/livestock.schemas.d.ts +1796 -36
- package/dist/schemas/livestock.schemas.d.ts.map +1 -1
- package/dist/schemas/livestock.schemas.js +129 -0
- package/dist/schemas/organizations.schemas.d.ts +104 -16
- package/dist/schemas/organizations.schemas.d.ts.map +1 -1
- package/dist/schemas/organizations.schemas.js +8 -1
- package/dist/schemas/team.schemas.d.ts +43 -43
- package/dist/schemas/team.schemas.d.ts.map +1 -1
- package/dist/schemas/team.schemas.js +1 -0
- package/dist/schemas/trade-cash-events.schemas.d.ts +2605 -68
- package/dist/schemas/trade-cash-events.schemas.d.ts.map +1 -1
- package/dist/schemas/trade-cash-events.schemas.js +204 -0
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
34
34
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
35
35
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
38
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
39
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
40
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -56,7 +57,7 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
56
57
|
location: string | null;
|
|
57
58
|
currency: string;
|
|
58
59
|
notes: string | null;
|
|
59
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
60
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
60
61
|
purchasePrice: number | null;
|
|
61
62
|
currentValue: number | null;
|
|
62
63
|
breed: string | null;
|
|
@@ -75,6 +76,7 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
75
76
|
pondSize: number | null;
|
|
76
77
|
stockingDensity: number | null;
|
|
77
78
|
houseCode?: string | null | undefined;
|
|
79
|
+
houseId?: string | null | undefined;
|
|
78
80
|
stockType?: string | null | undefined;
|
|
79
81
|
placementDate?: string | null | undefined;
|
|
80
82
|
breedStandard?: string | null | undefined;
|
|
@@ -89,7 +91,7 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
89
91
|
farmId: string;
|
|
90
92
|
location: string | null;
|
|
91
93
|
notes: string | null;
|
|
92
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
94
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
93
95
|
purchasePrice: number | null;
|
|
94
96
|
currentValue: number | null;
|
|
95
97
|
breed: string | null;
|
|
@@ -109,6 +111,7 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
109
111
|
stockingDensity: number | null;
|
|
110
112
|
currency?: string | undefined;
|
|
111
113
|
houseCode?: string | null | undefined;
|
|
114
|
+
houseId?: string | null | undefined;
|
|
112
115
|
stockType?: string | null | undefined;
|
|
113
116
|
placementDate?: string | null | undefined;
|
|
114
117
|
breedStandard?: string | null | undefined;
|
|
@@ -137,6 +140,7 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
137
140
|
averageDailyGain: z.ZodOptional<z.ZodNumber>;
|
|
138
141
|
eggProductionRate: z.ZodOptional<z.ZodNumber>;
|
|
139
142
|
houseCode: z.ZodOptional<z.ZodString>;
|
|
143
|
+
houseId: z.ZodOptional<z.ZodString>;
|
|
140
144
|
stockType: z.ZodOptional<z.ZodEnum<["DOC", "POL"]>>;
|
|
141
145
|
placementDate: z.ZodOptional<z.ZodString>;
|
|
142
146
|
breedStandard: z.ZodOptional<z.ZodString>;
|
|
@@ -148,7 +152,7 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
148
152
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
149
153
|
name: string;
|
|
150
154
|
currency: string;
|
|
151
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
155
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
152
156
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
153
157
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
154
158
|
description?: string | undefined;
|
|
@@ -168,6 +172,7 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
168
172
|
averageDailyGain?: number | undefined;
|
|
169
173
|
eggProductionRate?: number | undefined;
|
|
170
174
|
houseCode?: string | undefined;
|
|
175
|
+
houseId?: string | undefined;
|
|
171
176
|
stockType?: "DOC" | "POL" | undefined;
|
|
172
177
|
placementDate?: string | undefined;
|
|
173
178
|
breedStandard?: string | undefined;
|
|
@@ -175,7 +180,7 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
175
180
|
stockingDensity?: number | undefined;
|
|
176
181
|
}, {
|
|
177
182
|
name: string;
|
|
178
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
183
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
179
184
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
180
185
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
181
186
|
description?: string | undefined;
|
|
@@ -197,6 +202,7 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
197
202
|
averageDailyGain?: number | undefined;
|
|
198
203
|
eggProductionRate?: number | undefined;
|
|
199
204
|
houseCode?: string | undefined;
|
|
205
|
+
houseId?: string | undefined;
|
|
200
206
|
stockType?: "DOC" | "POL" | undefined;
|
|
201
207
|
placementDate?: string | undefined;
|
|
202
208
|
breedStandard?: string | undefined;
|
|
@@ -225,6 +231,7 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
225
231
|
averageDailyGain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
226
232
|
eggProductionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
227
233
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
228
235
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DOC", "POL"]>>>;
|
|
229
236
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
237
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -239,7 +246,7 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
239
246
|
location?: string | null | undefined;
|
|
240
247
|
currency?: string | undefined;
|
|
241
248
|
notes?: string | null | undefined;
|
|
242
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
249
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
243
250
|
purchasePrice?: number | null | undefined;
|
|
244
251
|
currentValue?: number | null | undefined;
|
|
245
252
|
breed?: string | null | undefined;
|
|
@@ -256,6 +263,7 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
256
263
|
averageDailyGain?: number | null | undefined;
|
|
257
264
|
eggProductionRate?: number | null | undefined;
|
|
258
265
|
houseCode?: string | null | undefined;
|
|
266
|
+
houseId?: string | null | undefined;
|
|
259
267
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
260
268
|
placementDate?: string | null | undefined;
|
|
261
269
|
breedStandard?: string | null | undefined;
|
|
@@ -268,7 +276,7 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
268
276
|
location?: string | null | undefined;
|
|
269
277
|
currency?: string | undefined;
|
|
270
278
|
notes?: string | null | undefined;
|
|
271
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
279
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
272
280
|
purchasePrice?: number | null | undefined;
|
|
273
281
|
currentValue?: number | null | undefined;
|
|
274
282
|
breed?: string | null | undefined;
|
|
@@ -285,6 +293,7 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
285
293
|
averageDailyGain?: number | null | undefined;
|
|
286
294
|
eggProductionRate?: number | null | undefined;
|
|
287
295
|
houseCode?: string | null | undefined;
|
|
296
|
+
houseId?: string | null | undefined;
|
|
288
297
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
289
298
|
placementDate?: string | null | undefined;
|
|
290
299
|
breedStandard?: string | null | undefined;
|
|
@@ -486,6 +495,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
486
495
|
averageDailyGain: z.ZodOptional<z.ZodNumber>;
|
|
487
496
|
eggProductionRate: z.ZodOptional<z.ZodNumber>;
|
|
488
497
|
houseCode: z.ZodOptional<z.ZodString>;
|
|
498
|
+
houseId: z.ZodOptional<z.ZodString>;
|
|
489
499
|
stockType: z.ZodOptional<z.ZodEnum<["DOC", "POL"]>>;
|
|
490
500
|
placementDate: z.ZodOptional<z.ZodString>;
|
|
491
501
|
breedStandard: z.ZodOptional<z.ZodString>;
|
|
@@ -497,7 +507,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
497
507
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
498
508
|
name: string;
|
|
499
509
|
currency: string;
|
|
500
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
510
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
501
511
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
502
512
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
503
513
|
description?: string | undefined;
|
|
@@ -517,6 +527,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
517
527
|
averageDailyGain?: number | undefined;
|
|
518
528
|
eggProductionRate?: number | undefined;
|
|
519
529
|
houseCode?: string | undefined;
|
|
530
|
+
houseId?: string | undefined;
|
|
520
531
|
stockType?: "DOC" | "POL" | undefined;
|
|
521
532
|
placementDate?: string | undefined;
|
|
522
533
|
breedStandard?: string | undefined;
|
|
@@ -524,7 +535,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
524
535
|
stockingDensity?: number | undefined;
|
|
525
536
|
}, {
|
|
526
537
|
name: string;
|
|
527
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
538
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
528
539
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
529
540
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
530
541
|
description?: string | undefined;
|
|
@@ -546,6 +557,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
546
557
|
averageDailyGain?: number | undefined;
|
|
547
558
|
eggProductionRate?: number | undefined;
|
|
548
559
|
houseCode?: string | undefined;
|
|
560
|
+
houseId?: string | undefined;
|
|
549
561
|
stockType?: "DOC" | "POL" | undefined;
|
|
550
562
|
placementDate?: string | undefined;
|
|
551
563
|
breedStandard?: string | undefined;
|
|
@@ -558,7 +570,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
558
570
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
559
571
|
name: string;
|
|
560
572
|
currency: string;
|
|
561
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
573
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
562
574
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
563
575
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
564
576
|
description?: string | undefined;
|
|
@@ -578,6 +590,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
578
590
|
averageDailyGain?: number | undefined;
|
|
579
591
|
eggProductionRate?: number | undefined;
|
|
580
592
|
houseCode?: string | undefined;
|
|
593
|
+
houseId?: string | undefined;
|
|
581
594
|
stockType?: "DOC" | "POL" | undefined;
|
|
582
595
|
placementDate?: string | undefined;
|
|
583
596
|
breedStandard?: string | undefined;
|
|
@@ -588,7 +601,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
588
601
|
type: "livestock-groups";
|
|
589
602
|
attributes: {
|
|
590
603
|
name: string;
|
|
591
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
604
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
592
605
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
593
606
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
594
607
|
description?: string | undefined;
|
|
@@ -610,6 +623,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
610
623
|
averageDailyGain?: number | undefined;
|
|
611
624
|
eggProductionRate?: number | undefined;
|
|
612
625
|
houseCode?: string | undefined;
|
|
626
|
+
houseId?: string | undefined;
|
|
613
627
|
stockType?: "DOC" | "POL" | undefined;
|
|
614
628
|
placementDate?: string | undefined;
|
|
615
629
|
breedStandard?: string | undefined;
|
|
@@ -642,6 +656,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
642
656
|
averageDailyGain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
643
657
|
eggProductionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
644
658
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
659
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
645
660
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DOC", "POL"]>>>;
|
|
646
661
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
647
662
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -656,7 +671,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
656
671
|
location?: string | null | undefined;
|
|
657
672
|
currency?: string | undefined;
|
|
658
673
|
notes?: string | null | undefined;
|
|
659
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
674
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
660
675
|
purchasePrice?: number | null | undefined;
|
|
661
676
|
currentValue?: number | null | undefined;
|
|
662
677
|
breed?: string | null | undefined;
|
|
@@ -673,6 +688,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
673
688
|
averageDailyGain?: number | null | undefined;
|
|
674
689
|
eggProductionRate?: number | null | undefined;
|
|
675
690
|
houseCode?: string | null | undefined;
|
|
691
|
+
houseId?: string | null | undefined;
|
|
676
692
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
677
693
|
placementDate?: string | null | undefined;
|
|
678
694
|
breedStandard?: string | null | undefined;
|
|
@@ -685,7 +701,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
685
701
|
location?: string | null | undefined;
|
|
686
702
|
currency?: string | undefined;
|
|
687
703
|
notes?: string | null | undefined;
|
|
688
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
704
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
689
705
|
purchasePrice?: number | null | undefined;
|
|
690
706
|
currentValue?: number | null | undefined;
|
|
691
707
|
breed?: string | null | undefined;
|
|
@@ -702,6 +718,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
702
718
|
averageDailyGain?: number | null | undefined;
|
|
703
719
|
eggProductionRate?: number | null | undefined;
|
|
704
720
|
houseCode?: string | null | undefined;
|
|
721
|
+
houseId?: string | null | undefined;
|
|
705
722
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
706
723
|
placementDate?: string | null | undefined;
|
|
707
724
|
breedStandard?: string | null | undefined;
|
|
@@ -718,7 +735,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
718
735
|
location?: string | null | undefined;
|
|
719
736
|
currency?: string | undefined;
|
|
720
737
|
notes?: string | null | undefined;
|
|
721
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
738
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
722
739
|
purchasePrice?: number | null | undefined;
|
|
723
740
|
currentValue?: number | null | undefined;
|
|
724
741
|
breed?: string | null | undefined;
|
|
@@ -735,6 +752,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
735
752
|
averageDailyGain?: number | null | undefined;
|
|
736
753
|
eggProductionRate?: number | null | undefined;
|
|
737
754
|
houseCode?: string | null | undefined;
|
|
755
|
+
houseId?: string | null | undefined;
|
|
738
756
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
739
757
|
placementDate?: string | null | undefined;
|
|
740
758
|
breedStandard?: string | null | undefined;
|
|
@@ -751,7 +769,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
751
769
|
location?: string | null | undefined;
|
|
752
770
|
currency?: string | undefined;
|
|
753
771
|
notes?: string | null | undefined;
|
|
754
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
772
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
755
773
|
purchasePrice?: number | null | undefined;
|
|
756
774
|
currentValue?: number | null | undefined;
|
|
757
775
|
breed?: string | null | undefined;
|
|
@@ -768,6 +786,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
768
786
|
averageDailyGain?: number | null | undefined;
|
|
769
787
|
eggProductionRate?: number | null | undefined;
|
|
770
788
|
houseCode?: string | null | undefined;
|
|
789
|
+
houseId?: string | null | undefined;
|
|
771
790
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
772
791
|
placementDate?: string | null | undefined;
|
|
773
792
|
breedStandard?: string | null | undefined;
|
|
@@ -941,6 +960,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
941
960
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
942
961
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
943
962
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
963
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
944
964
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
945
965
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
946
966
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -963,7 +983,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
963
983
|
location: string | null;
|
|
964
984
|
currency: string;
|
|
965
985
|
notes: string | null;
|
|
966
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
986
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
967
987
|
purchasePrice: number | null;
|
|
968
988
|
currentValue: number | null;
|
|
969
989
|
breed: string | null;
|
|
@@ -982,6 +1002,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
982
1002
|
pondSize: number | null;
|
|
983
1003
|
stockingDensity: number | null;
|
|
984
1004
|
houseCode?: string | null | undefined;
|
|
1005
|
+
houseId?: string | null | undefined;
|
|
985
1006
|
stockType?: string | null | undefined;
|
|
986
1007
|
placementDate?: string | null | undefined;
|
|
987
1008
|
breedStandard?: string | null | undefined;
|
|
@@ -996,7 +1017,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
996
1017
|
farmId: string;
|
|
997
1018
|
location: string | null;
|
|
998
1019
|
notes: string | null;
|
|
999
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1020
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1000
1021
|
purchasePrice: number | null;
|
|
1001
1022
|
currentValue: number | null;
|
|
1002
1023
|
breed: string | null;
|
|
@@ -1016,6 +1037,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
1016
1037
|
stockingDensity: number | null;
|
|
1017
1038
|
currency?: string | undefined;
|
|
1018
1039
|
houseCode?: string | null | undefined;
|
|
1040
|
+
houseId?: string | null | undefined;
|
|
1019
1041
|
stockType?: string | null | undefined;
|
|
1020
1042
|
placementDate?: string | null | undefined;
|
|
1021
1043
|
breedStandard?: string | null | undefined;
|
|
@@ -1038,7 +1060,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
1038
1060
|
location: string | null;
|
|
1039
1061
|
currency: string;
|
|
1040
1062
|
notes: string | null;
|
|
1041
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1063
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1042
1064
|
purchasePrice: number | null;
|
|
1043
1065
|
currentValue: number | null;
|
|
1044
1066
|
breed: string | null;
|
|
@@ -1057,6 +1079,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
1057
1079
|
pondSize: number | null;
|
|
1058
1080
|
stockingDensity: number | null;
|
|
1059
1081
|
houseCode?: string | null | undefined;
|
|
1082
|
+
houseId?: string | null | undefined;
|
|
1060
1083
|
stockType?: string | null | undefined;
|
|
1061
1084
|
placementDate?: string | null | undefined;
|
|
1062
1085
|
breedStandard?: string | null | undefined;
|
|
@@ -1078,7 +1101,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
1078
1101
|
farmId: string;
|
|
1079
1102
|
location: string | null;
|
|
1080
1103
|
notes: string | null;
|
|
1081
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1104
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1082
1105
|
purchasePrice: number | null;
|
|
1083
1106
|
currentValue: number | null;
|
|
1084
1107
|
breed: string | null;
|
|
@@ -1098,6 +1121,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
1098
1121
|
stockingDensity: number | null;
|
|
1099
1122
|
currency?: string | undefined;
|
|
1100
1123
|
houseCode?: string | null | undefined;
|
|
1124
|
+
houseId?: string | null | undefined;
|
|
1101
1125
|
stockType?: string | null | undefined;
|
|
1102
1126
|
placementDate?: string | null | undefined;
|
|
1103
1127
|
breedStandard?: string | null | undefined;
|
|
@@ -1308,6 +1332,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1308
1332
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
1309
1333
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
1310
1334
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1335
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1311
1336
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1312
1337
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1313
1338
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1330,7 +1355,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1330
1355
|
location: string | null;
|
|
1331
1356
|
currency: string;
|
|
1332
1357
|
notes: string | null;
|
|
1333
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1358
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1334
1359
|
purchasePrice: number | null;
|
|
1335
1360
|
currentValue: number | null;
|
|
1336
1361
|
breed: string | null;
|
|
@@ -1349,6 +1374,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1349
1374
|
pondSize: number | null;
|
|
1350
1375
|
stockingDensity: number | null;
|
|
1351
1376
|
houseCode?: string | null | undefined;
|
|
1377
|
+
houseId?: string | null | undefined;
|
|
1352
1378
|
stockType?: string | null | undefined;
|
|
1353
1379
|
placementDate?: string | null | undefined;
|
|
1354
1380
|
breedStandard?: string | null | undefined;
|
|
@@ -1363,7 +1389,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1363
1389
|
farmId: string;
|
|
1364
1390
|
location: string | null;
|
|
1365
1391
|
notes: string | null;
|
|
1366
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1392
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1367
1393
|
purchasePrice: number | null;
|
|
1368
1394
|
currentValue: number | null;
|
|
1369
1395
|
breed: string | null;
|
|
@@ -1383,6 +1409,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1383
1409
|
stockingDensity: number | null;
|
|
1384
1410
|
currency?: string | undefined;
|
|
1385
1411
|
houseCode?: string | null | undefined;
|
|
1412
|
+
houseId?: string | null | undefined;
|
|
1386
1413
|
stockType?: string | null | undefined;
|
|
1387
1414
|
placementDate?: string | null | undefined;
|
|
1388
1415
|
breedStandard?: string | null | undefined;
|
|
@@ -1405,7 +1432,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1405
1432
|
location: string | null;
|
|
1406
1433
|
currency: string;
|
|
1407
1434
|
notes: string | null;
|
|
1408
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1435
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1409
1436
|
purchasePrice: number | null;
|
|
1410
1437
|
currentValue: number | null;
|
|
1411
1438
|
breed: string | null;
|
|
@@ -1424,6 +1451,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1424
1451
|
pondSize: number | null;
|
|
1425
1452
|
stockingDensity: number | null;
|
|
1426
1453
|
houseCode?: string | null | undefined;
|
|
1454
|
+
houseId?: string | null | undefined;
|
|
1427
1455
|
stockType?: string | null | undefined;
|
|
1428
1456
|
placementDate?: string | null | undefined;
|
|
1429
1457
|
breedStandard?: string | null | undefined;
|
|
@@ -1445,7 +1473,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1445
1473
|
farmId: string;
|
|
1446
1474
|
location: string | null;
|
|
1447
1475
|
notes: string | null;
|
|
1448
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1476
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1449
1477
|
purchasePrice: number | null;
|
|
1450
1478
|
currentValue: number | null;
|
|
1451
1479
|
breed: string | null;
|
|
@@ -1465,6 +1493,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1465
1493
|
stockingDensity: number | null;
|
|
1466
1494
|
currency?: string | undefined;
|
|
1467
1495
|
houseCode?: string | null | undefined;
|
|
1496
|
+
houseId?: string | null | undefined;
|
|
1468
1497
|
stockType?: string | null | undefined;
|
|
1469
1498
|
placementDate?: string | null | undefined;
|
|
1470
1499
|
breedStandard?: string | null | undefined;
|
|
@@ -1513,7 +1542,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1513
1542
|
location: string | null;
|
|
1514
1543
|
currency: string;
|
|
1515
1544
|
notes: string | null;
|
|
1516
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1545
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1517
1546
|
purchasePrice: number | null;
|
|
1518
1547
|
currentValue: number | null;
|
|
1519
1548
|
breed: string | null;
|
|
@@ -1532,6 +1561,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1532
1561
|
pondSize: number | null;
|
|
1533
1562
|
stockingDensity: number | null;
|
|
1534
1563
|
houseCode?: string | null | undefined;
|
|
1564
|
+
houseId?: string | null | undefined;
|
|
1535
1565
|
stockType?: string | null | undefined;
|
|
1536
1566
|
placementDate?: string | null | undefined;
|
|
1537
1567
|
breedStandard?: string | null | undefined;
|
|
@@ -1565,7 +1595,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1565
1595
|
farmId: string;
|
|
1566
1596
|
location: string | null;
|
|
1567
1597
|
notes: string | null;
|
|
1568
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1598
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1569
1599
|
purchasePrice: number | null;
|
|
1570
1600
|
currentValue: number | null;
|
|
1571
1601
|
breed: string | null;
|
|
@@ -1585,6 +1615,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1585
1615
|
stockingDensity: number | null;
|
|
1586
1616
|
currency?: string | undefined;
|
|
1587
1617
|
houseCode?: string | null | undefined;
|
|
1618
|
+
houseId?: string | null | undefined;
|
|
1588
1619
|
stockType?: string | null | undefined;
|
|
1589
1620
|
placementDate?: string | null | undefined;
|
|
1590
1621
|
breedStandard?: string | null | undefined;
|
|
@@ -1633,6 +1664,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1633
1664
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
1634
1665
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
1635
1666
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1667
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1636
1668
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1637
1669
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1638
1670
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1655,7 +1687,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1655
1687
|
location: string | null;
|
|
1656
1688
|
currency: string;
|
|
1657
1689
|
notes: string | null;
|
|
1658
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1690
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1659
1691
|
purchasePrice: number | null;
|
|
1660
1692
|
currentValue: number | null;
|
|
1661
1693
|
breed: string | null;
|
|
@@ -1674,6 +1706,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1674
1706
|
pondSize: number | null;
|
|
1675
1707
|
stockingDensity: number | null;
|
|
1676
1708
|
houseCode?: string | null | undefined;
|
|
1709
|
+
houseId?: string | null | undefined;
|
|
1677
1710
|
stockType?: string | null | undefined;
|
|
1678
1711
|
placementDate?: string | null | undefined;
|
|
1679
1712
|
breedStandard?: string | null | undefined;
|
|
@@ -1688,7 +1721,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1688
1721
|
farmId: string;
|
|
1689
1722
|
location: string | null;
|
|
1690
1723
|
notes: string | null;
|
|
1691
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1724
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1692
1725
|
purchasePrice: number | null;
|
|
1693
1726
|
currentValue: number | null;
|
|
1694
1727
|
breed: string | null;
|
|
@@ -1708,6 +1741,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1708
1741
|
stockingDensity: number | null;
|
|
1709
1742
|
currency?: string | undefined;
|
|
1710
1743
|
houseCode?: string | null | undefined;
|
|
1744
|
+
houseId?: string | null | undefined;
|
|
1711
1745
|
stockType?: string | null | undefined;
|
|
1712
1746
|
placementDate?: string | null | undefined;
|
|
1713
1747
|
breedStandard?: string | null | undefined;
|
|
@@ -1730,7 +1764,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1730
1764
|
location: string | null;
|
|
1731
1765
|
currency: string;
|
|
1732
1766
|
notes: string | null;
|
|
1733
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1767
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1734
1768
|
purchasePrice: number | null;
|
|
1735
1769
|
currentValue: number | null;
|
|
1736
1770
|
breed: string | null;
|
|
@@ -1749,6 +1783,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1749
1783
|
pondSize: number | null;
|
|
1750
1784
|
stockingDensity: number | null;
|
|
1751
1785
|
houseCode?: string | null | undefined;
|
|
1786
|
+
houseId?: string | null | undefined;
|
|
1752
1787
|
stockType?: string | null | undefined;
|
|
1753
1788
|
placementDate?: string | null | undefined;
|
|
1754
1789
|
breedStandard?: string | null | undefined;
|
|
@@ -1770,7 +1805,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1770
1805
|
farmId: string;
|
|
1771
1806
|
location: string | null;
|
|
1772
1807
|
notes: string | null;
|
|
1773
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1808
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1774
1809
|
purchasePrice: number | null;
|
|
1775
1810
|
currentValue: number | null;
|
|
1776
1811
|
breed: string | null;
|
|
@@ -1790,6 +1825,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1790
1825
|
stockingDensity: number | null;
|
|
1791
1826
|
currency?: string | undefined;
|
|
1792
1827
|
houseCode?: string | null | undefined;
|
|
1828
|
+
houseId?: string | null | undefined;
|
|
1793
1829
|
stockType?: string | null | undefined;
|
|
1794
1830
|
placementDate?: string | null | undefined;
|
|
1795
1831
|
breedStandard?: string | null | undefined;
|
|
@@ -1838,7 +1874,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1838
1874
|
location: string | null;
|
|
1839
1875
|
currency: string;
|
|
1840
1876
|
notes: string | null;
|
|
1841
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1877
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1842
1878
|
purchasePrice: number | null;
|
|
1843
1879
|
currentValue: number | null;
|
|
1844
1880
|
breed: string | null;
|
|
@@ -1857,6 +1893,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1857
1893
|
pondSize: number | null;
|
|
1858
1894
|
stockingDensity: number | null;
|
|
1859
1895
|
houseCode?: string | null | undefined;
|
|
1896
|
+
houseId?: string | null | undefined;
|
|
1860
1897
|
stockType?: string | null | undefined;
|
|
1861
1898
|
placementDate?: string | null | undefined;
|
|
1862
1899
|
breedStandard?: string | null | undefined;
|
|
@@ -1890,7 +1927,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1890
1927
|
farmId: string;
|
|
1891
1928
|
location: string | null;
|
|
1892
1929
|
notes: string | null;
|
|
1893
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1930
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1894
1931
|
purchasePrice: number | null;
|
|
1895
1932
|
currentValue: number | null;
|
|
1896
1933
|
breed: string | null;
|
|
@@ -1910,6 +1947,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1910
1947
|
stockingDensity: number | null;
|
|
1911
1948
|
currency?: string | undefined;
|
|
1912
1949
|
houseCode?: string | null | undefined;
|
|
1950
|
+
houseId?: string | null | undefined;
|
|
1913
1951
|
stockType?: string | null | undefined;
|
|
1914
1952
|
placementDate?: string | null | undefined;
|
|
1915
1953
|
breedStandard?: string | null | undefined;
|
|
@@ -2541,7 +2579,7 @@ export declare const groupStatsSchema: z.ZodObject<{
|
|
|
2541
2579
|
currency: string;
|
|
2542
2580
|
totalValue: number;
|
|
2543
2581
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2544
|
-
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "
|
|
2582
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2545
2583
|
totalGroups: number;
|
|
2546
2584
|
totalAnimals: number;
|
|
2547
2585
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2553,7 +2591,7 @@ export declare const groupStatsSchema: z.ZodObject<{
|
|
|
2553
2591
|
currency: string;
|
|
2554
2592
|
totalValue: number;
|
|
2555
2593
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2556
|
-
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "
|
|
2594
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2557
2595
|
totalGroups: number;
|
|
2558
2596
|
totalAnimals: number;
|
|
2559
2597
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2579,7 +2617,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2579
2617
|
currency: string;
|
|
2580
2618
|
totalValue: number;
|
|
2581
2619
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2582
|
-
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "
|
|
2620
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2583
2621
|
totalGroups: number;
|
|
2584
2622
|
totalAnimals: number;
|
|
2585
2623
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2591,7 +2629,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2591
2629
|
currency: string;
|
|
2592
2630
|
totalValue: number;
|
|
2593
2631
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2594
|
-
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "
|
|
2632
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2595
2633
|
totalGroups: number;
|
|
2596
2634
|
totalAnimals: number;
|
|
2597
2635
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2606,7 +2644,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2606
2644
|
currency: string;
|
|
2607
2645
|
totalValue: number;
|
|
2608
2646
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2609
|
-
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "
|
|
2647
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2610
2648
|
totalGroups: number;
|
|
2611
2649
|
totalAnimals: number;
|
|
2612
2650
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2621,7 +2659,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2621
2659
|
currency: string;
|
|
2622
2660
|
totalValue: number;
|
|
2623
2661
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2624
|
-
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "
|
|
2662
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2625
2663
|
totalGroups: number;
|
|
2626
2664
|
totalAnimals: number;
|
|
2627
2665
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2681,7 +2719,7 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2681
2719
|
}>, "many">>;
|
|
2682
2720
|
}, "strip", z.ZodTypeAny, {
|
|
2683
2721
|
currency: string;
|
|
2684
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2722
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2685
2723
|
sex: "MALE" | "FEMALE" | "UNKNOWN";
|
|
2686
2724
|
acquisitionType: "born" | "purchased" | "transferred" | "gifted";
|
|
2687
2725
|
entries?: {
|
|
@@ -2699,7 +2737,7 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2699
2737
|
acquisitionDate?: string | undefined;
|
|
2700
2738
|
tagPrefix?: string | undefined;
|
|
2701
2739
|
}, {
|
|
2702
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2740
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2703
2741
|
entries?: {
|
|
2704
2742
|
tagId: string;
|
|
2705
2743
|
name?: string | undefined;
|
|
@@ -2722,7 +2760,7 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2722
2760
|
type: "livestock-bulk";
|
|
2723
2761
|
attributes: {
|
|
2724
2762
|
currency: string;
|
|
2725
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2763
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2726
2764
|
sex: "MALE" | "FEMALE" | "UNKNOWN";
|
|
2727
2765
|
acquisitionType: "born" | "purchased" | "transferred" | "gifted";
|
|
2728
2766
|
entries?: {
|
|
@@ -2743,7 +2781,7 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2743
2781
|
}, {
|
|
2744
2782
|
type: "livestock-bulk";
|
|
2745
2783
|
attributes: {
|
|
2746
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2784
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2747
2785
|
entries?: {
|
|
2748
2786
|
tagId: string;
|
|
2749
2787
|
name?: string | undefined;
|
|
@@ -2776,6 +2814,8 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2776
2814
|
vaccineName: z.ZodOptional<z.ZodString>;
|
|
2777
2815
|
batchNumber: z.ZodOptional<z.ZodString>;
|
|
2778
2816
|
nextDueDate: z.ZodOptional<z.ZodString>;
|
|
2817
|
+
withdrawalDays: z.ZodOptional<z.ZodNumber>;
|
|
2818
|
+
bcs: z.ZodOptional<z.ZodNumber>;
|
|
2779
2819
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
2780
2820
|
currency: z.ZodDefault<z.ZodString>;
|
|
2781
2821
|
administeredBy: z.ZodOptional<z.ZodString>;
|
|
@@ -2794,6 +2834,8 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2794
2834
|
vaccineName?: string | undefined;
|
|
2795
2835
|
batchNumber?: string | undefined;
|
|
2796
2836
|
nextDueDate?: string | undefined;
|
|
2837
|
+
withdrawalDays?: number | undefined;
|
|
2838
|
+
bcs?: number | undefined;
|
|
2797
2839
|
livestockIds?: string[] | undefined;
|
|
2798
2840
|
}, {
|
|
2799
2841
|
description: string;
|
|
@@ -2809,6 +2851,8 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2809
2851
|
vaccineName?: string | undefined;
|
|
2810
2852
|
batchNumber?: string | undefined;
|
|
2811
2853
|
nextDueDate?: string | undefined;
|
|
2854
|
+
withdrawalDays?: number | undefined;
|
|
2855
|
+
bcs?: number | undefined;
|
|
2812
2856
|
livestockIds?: string[] | undefined;
|
|
2813
2857
|
}>;
|
|
2814
2858
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2827,6 +2871,8 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2827
2871
|
vaccineName?: string | undefined;
|
|
2828
2872
|
batchNumber?: string | undefined;
|
|
2829
2873
|
nextDueDate?: string | undefined;
|
|
2874
|
+
withdrawalDays?: number | undefined;
|
|
2875
|
+
bcs?: number | undefined;
|
|
2830
2876
|
livestockIds?: string[] | undefined;
|
|
2831
2877
|
};
|
|
2832
2878
|
}, {
|
|
@@ -2845,6 +2891,85 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2845
2891
|
vaccineName?: string | undefined;
|
|
2846
2892
|
batchNumber?: string | undefined;
|
|
2847
2893
|
nextDueDate?: string | undefined;
|
|
2894
|
+
withdrawalDays?: number | undefined;
|
|
2895
|
+
bcs?: number | undefined;
|
|
2896
|
+
livestockIds?: string[] | undefined;
|
|
2897
|
+
};
|
|
2898
|
+
}>;
|
|
2899
|
+
export declare const bulkWeightRecordSchema: z.ZodObject<{
|
|
2900
|
+
type: z.ZodLiteral<"bulk-weight-records">;
|
|
2901
|
+
attributes: z.ZodObject<{
|
|
2902
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
2903
|
+
livestockIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2904
|
+
recordDate: z.ZodString;
|
|
2905
|
+
/** Same weight for all selected animals; for per-animal weights use entries */
|
|
2906
|
+
weight: z.ZodOptional<z.ZodNumber>;
|
|
2907
|
+
weightUnit: z.ZodDefault<z.ZodString>;
|
|
2908
|
+
eventType: z.ZodDefault<z.ZodEnum<["routine", "weaning"]>>;
|
|
2909
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
2910
|
+
entries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2911
|
+
livestockId: z.ZodString;
|
|
2912
|
+
weight: z.ZodNumber;
|
|
2913
|
+
}, "strip", z.ZodTypeAny, {
|
|
2914
|
+
weight: number;
|
|
2915
|
+
livestockId: string;
|
|
2916
|
+
}, {
|
|
2917
|
+
weight: number;
|
|
2918
|
+
livestockId: string;
|
|
2919
|
+
}>, "many">>;
|
|
2920
|
+
}, "strip", z.ZodTypeAny, {
|
|
2921
|
+
recordDate: string;
|
|
2922
|
+
weightUnit: string;
|
|
2923
|
+
eventType: "routine" | "weaning";
|
|
2924
|
+
entries?: {
|
|
2925
|
+
weight: number;
|
|
2926
|
+
livestockId: string;
|
|
2927
|
+
}[] | undefined;
|
|
2928
|
+
notes?: string | undefined;
|
|
2929
|
+
groupId?: string | undefined;
|
|
2930
|
+
weight?: number | undefined;
|
|
2931
|
+
livestockIds?: string[] | undefined;
|
|
2932
|
+
}, {
|
|
2933
|
+
recordDate: string;
|
|
2934
|
+
entries?: {
|
|
2935
|
+
weight: number;
|
|
2936
|
+
livestockId: string;
|
|
2937
|
+
}[] | undefined;
|
|
2938
|
+
notes?: string | undefined;
|
|
2939
|
+
groupId?: string | undefined;
|
|
2940
|
+
weight?: number | undefined;
|
|
2941
|
+
weightUnit?: string | undefined;
|
|
2942
|
+
eventType?: "routine" | "weaning" | undefined;
|
|
2943
|
+
livestockIds?: string[] | undefined;
|
|
2944
|
+
}>;
|
|
2945
|
+
}, "strip", z.ZodTypeAny, {
|
|
2946
|
+
type: "bulk-weight-records";
|
|
2947
|
+
attributes: {
|
|
2948
|
+
recordDate: string;
|
|
2949
|
+
weightUnit: string;
|
|
2950
|
+
eventType: "routine" | "weaning";
|
|
2951
|
+
entries?: {
|
|
2952
|
+
weight: number;
|
|
2953
|
+
livestockId: string;
|
|
2954
|
+
}[] | undefined;
|
|
2955
|
+
notes?: string | undefined;
|
|
2956
|
+
groupId?: string | undefined;
|
|
2957
|
+
weight?: number | undefined;
|
|
2958
|
+
livestockIds?: string[] | undefined;
|
|
2959
|
+
};
|
|
2960
|
+
}, {
|
|
2961
|
+
type: "bulk-weight-records";
|
|
2962
|
+
attributes: {
|
|
2963
|
+
recordDate: string;
|
|
2964
|
+
entries?: {
|
|
2965
|
+
weight: number;
|
|
2966
|
+
livestockId: string;
|
|
2967
|
+
}[] | undefined;
|
|
2968
|
+
notes?: string | undefined;
|
|
2969
|
+
groupId?: string | undefined;
|
|
2970
|
+
weight?: number | undefined;
|
|
2971
|
+
weightUnit?: string | undefined;
|
|
2972
|
+
eventType?: "routine" | "weaning" | undefined;
|
|
2848
2973
|
livestockIds?: string[] | undefined;
|
|
2849
2974
|
};
|
|
2850
2975
|
}>;
|
|
@@ -2935,5 +3060,6 @@ export type BulkAddMembersInput = z.infer<typeof bulkAddMembersSchema>;
|
|
|
2935
3060
|
export type BulkRemoveMembersInput = z.infer<typeof bulkRemoveMembersSchema>;
|
|
2936
3061
|
export type BulkCreateLivestockInput = z.infer<typeof bulkCreateLivestockSchema>;
|
|
2937
3062
|
export type BulkHealthRecordInput = z.infer<typeof bulkHealthRecordSchema>;
|
|
3063
|
+
export type BulkWeightRecordInput = z.infer<typeof bulkWeightRecordSchema>;
|
|
2938
3064
|
export type BulkOperationResponse = z.infer<typeof bulkOperationResponseSchema>;
|
|
2939
3065
|
//# sourceMappingURL=livestock-groups.schemas.d.ts.map
|