@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
|
@@ -25,7 +25,7 @@ export declare const livestockGroupsRouter: {
|
|
|
25
25
|
'page[size]'?: number | undefined;
|
|
26
26
|
'filter[status]'?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
27
27
|
search?: string | undefined;
|
|
28
|
-
'filter[category]'?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
28
|
+
'filter[category]'?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
29
29
|
'filter[groupType]'?: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM" | undefined;
|
|
30
30
|
'filter[trackingMode]'?: "INDIVIDUAL" | "BATCH" | "HYBRID" | undefined;
|
|
31
31
|
}, {
|
|
@@ -34,7 +34,7 @@ export declare const livestockGroupsRouter: {
|
|
|
34
34
|
'page[size]'?: number | undefined;
|
|
35
35
|
'filter[status]'?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
36
36
|
search?: string | undefined;
|
|
37
|
-
'filter[category]'?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
37
|
+
'filter[category]'?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
38
38
|
'filter[groupType]'?: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM" | undefined;
|
|
39
39
|
'filter[trackingMode]'?: "INDIVIDUAL" | "BATCH" | "HYBRID" | undefined;
|
|
40
40
|
}>;
|
|
@@ -70,6 +70,7 @@ export declare const livestockGroupsRouter: {
|
|
|
70
70
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
71
71
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
72
72
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
74
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
75
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
76
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -92,7 +93,7 @@ export declare const livestockGroupsRouter: {
|
|
|
92
93
|
location: string | null;
|
|
93
94
|
currency: string;
|
|
94
95
|
notes: string | null;
|
|
95
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
96
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
96
97
|
purchasePrice: number | null;
|
|
97
98
|
currentValue: number | null;
|
|
98
99
|
breed: string | null;
|
|
@@ -111,6 +112,7 @@ export declare const livestockGroupsRouter: {
|
|
|
111
112
|
pondSize: number | null;
|
|
112
113
|
stockingDensity: number | null;
|
|
113
114
|
houseCode?: string | null | undefined;
|
|
115
|
+
houseId?: string | null | undefined;
|
|
114
116
|
stockType?: string | null | undefined;
|
|
115
117
|
placementDate?: string | null | undefined;
|
|
116
118
|
breedStandard?: string | null | undefined;
|
|
@@ -125,7 +127,7 @@ export declare const livestockGroupsRouter: {
|
|
|
125
127
|
farmId: string;
|
|
126
128
|
location: string | null;
|
|
127
129
|
notes: string | null;
|
|
128
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
130
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
129
131
|
purchasePrice: number | null;
|
|
130
132
|
currentValue: number | null;
|
|
131
133
|
breed: string | null;
|
|
@@ -145,6 +147,7 @@ export declare const livestockGroupsRouter: {
|
|
|
145
147
|
stockingDensity: number | null;
|
|
146
148
|
currency?: string | undefined;
|
|
147
149
|
houseCode?: string | null | undefined;
|
|
150
|
+
houseId?: string | null | undefined;
|
|
148
151
|
stockType?: string | null | undefined;
|
|
149
152
|
placementDate?: string | null | undefined;
|
|
150
153
|
breedStandard?: string | null | undefined;
|
|
@@ -167,7 +170,7 @@ export declare const livestockGroupsRouter: {
|
|
|
167
170
|
location: string | null;
|
|
168
171
|
currency: string;
|
|
169
172
|
notes: string | null;
|
|
170
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
173
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
171
174
|
purchasePrice: number | null;
|
|
172
175
|
currentValue: number | null;
|
|
173
176
|
breed: string | null;
|
|
@@ -186,6 +189,7 @@ export declare const livestockGroupsRouter: {
|
|
|
186
189
|
pondSize: number | null;
|
|
187
190
|
stockingDensity: number | null;
|
|
188
191
|
houseCode?: string | null | undefined;
|
|
192
|
+
houseId?: string | null | undefined;
|
|
189
193
|
stockType?: string | null | undefined;
|
|
190
194
|
placementDate?: string | null | undefined;
|
|
191
195
|
breedStandard?: string | null | undefined;
|
|
@@ -207,7 +211,7 @@ export declare const livestockGroupsRouter: {
|
|
|
207
211
|
farmId: string;
|
|
208
212
|
location: string | null;
|
|
209
213
|
notes: string | null;
|
|
210
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
214
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
211
215
|
purchasePrice: number | null;
|
|
212
216
|
currentValue: number | null;
|
|
213
217
|
breed: string | null;
|
|
@@ -227,6 +231,7 @@ export declare const livestockGroupsRouter: {
|
|
|
227
231
|
stockingDensity: number | null;
|
|
228
232
|
currency?: string | undefined;
|
|
229
233
|
houseCode?: string | null | undefined;
|
|
234
|
+
houseId?: string | null | undefined;
|
|
230
235
|
stockType?: string | null | undefined;
|
|
231
236
|
placementDate?: string | null | undefined;
|
|
232
237
|
breedStandard?: string | null | undefined;
|
|
@@ -275,7 +280,7 @@ export declare const livestockGroupsRouter: {
|
|
|
275
280
|
location: string | null;
|
|
276
281
|
currency: string;
|
|
277
282
|
notes: string | null;
|
|
278
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
283
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
279
284
|
purchasePrice: number | null;
|
|
280
285
|
currentValue: number | null;
|
|
281
286
|
breed: string | null;
|
|
@@ -294,6 +299,7 @@ export declare const livestockGroupsRouter: {
|
|
|
294
299
|
pondSize: number | null;
|
|
295
300
|
stockingDensity: number | null;
|
|
296
301
|
houseCode?: string | null | undefined;
|
|
302
|
+
houseId?: string | null | undefined;
|
|
297
303
|
stockType?: string | null | undefined;
|
|
298
304
|
placementDate?: string | null | undefined;
|
|
299
305
|
breedStandard?: string | null | undefined;
|
|
@@ -327,7 +333,7 @@ export declare const livestockGroupsRouter: {
|
|
|
327
333
|
farmId: string;
|
|
328
334
|
location: string | null;
|
|
329
335
|
notes: string | null;
|
|
330
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
336
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
331
337
|
purchasePrice: number | null;
|
|
332
338
|
currentValue: number | null;
|
|
333
339
|
breed: string | null;
|
|
@@ -347,6 +353,7 @@ export declare const livestockGroupsRouter: {
|
|
|
347
353
|
stockingDensity: number | null;
|
|
348
354
|
currency?: string | undefined;
|
|
349
355
|
houseCode?: string | null | undefined;
|
|
356
|
+
houseId?: string | null | undefined;
|
|
350
357
|
stockType?: string | null | undefined;
|
|
351
358
|
placementDate?: string | null | undefined;
|
|
352
359
|
breedStandard?: string | null | undefined;
|
|
@@ -580,7 +587,7 @@ export declare const livestockGroupsRouter: {
|
|
|
580
587
|
currency: string;
|
|
581
588
|
totalValue: number;
|
|
582
589
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
583
|
-
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "
|
|
590
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
584
591
|
totalGroups: number;
|
|
585
592
|
totalAnimals: number;
|
|
586
593
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -592,7 +599,7 @@ export declare const livestockGroupsRouter: {
|
|
|
592
599
|
currency: string;
|
|
593
600
|
totalValue: number;
|
|
594
601
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
595
|
-
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "
|
|
602
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
596
603
|
totalGroups: number;
|
|
597
604
|
totalAnimals: number;
|
|
598
605
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -607,7 +614,7 @@ export declare const livestockGroupsRouter: {
|
|
|
607
614
|
currency: string;
|
|
608
615
|
totalValue: number;
|
|
609
616
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
610
|
-
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "
|
|
617
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
611
618
|
totalGroups: number;
|
|
612
619
|
totalAnimals: number;
|
|
613
620
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -622,7 +629,7 @@ export declare const livestockGroupsRouter: {
|
|
|
622
629
|
currency: string;
|
|
623
630
|
totalValue: number;
|
|
624
631
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
625
|
-
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "
|
|
632
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
626
633
|
totalGroups: number;
|
|
627
634
|
totalAnimals: number;
|
|
628
635
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -851,6 +858,7 @@ export declare const livestockGroupsRouter: {
|
|
|
851
858
|
averageDailyGain: z.ZodOptional<z.ZodNumber>;
|
|
852
859
|
eggProductionRate: z.ZodOptional<z.ZodNumber>;
|
|
853
860
|
houseCode: z.ZodOptional<z.ZodString>;
|
|
861
|
+
houseId: z.ZodOptional<z.ZodString>;
|
|
854
862
|
stockType: z.ZodOptional<z.ZodEnum<["DOC", "POL"]>>;
|
|
855
863
|
placementDate: z.ZodOptional<z.ZodString>;
|
|
856
864
|
breedStandard: z.ZodOptional<z.ZodString>;
|
|
@@ -862,7 +870,7 @@ export declare const livestockGroupsRouter: {
|
|
|
862
870
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
863
871
|
name: string;
|
|
864
872
|
currency: string;
|
|
865
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
873
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
866
874
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
867
875
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
868
876
|
description?: string | undefined;
|
|
@@ -882,6 +890,7 @@ export declare const livestockGroupsRouter: {
|
|
|
882
890
|
averageDailyGain?: number | undefined;
|
|
883
891
|
eggProductionRate?: number | undefined;
|
|
884
892
|
houseCode?: string | undefined;
|
|
893
|
+
houseId?: string | undefined;
|
|
885
894
|
stockType?: "DOC" | "POL" | undefined;
|
|
886
895
|
placementDate?: string | undefined;
|
|
887
896
|
breedStandard?: string | undefined;
|
|
@@ -889,7 +898,7 @@ export declare const livestockGroupsRouter: {
|
|
|
889
898
|
stockingDensity?: number | undefined;
|
|
890
899
|
}, {
|
|
891
900
|
name: string;
|
|
892
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
901
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
893
902
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
894
903
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
895
904
|
description?: string | undefined;
|
|
@@ -911,6 +920,7 @@ export declare const livestockGroupsRouter: {
|
|
|
911
920
|
averageDailyGain?: number | undefined;
|
|
912
921
|
eggProductionRate?: number | undefined;
|
|
913
922
|
houseCode?: string | undefined;
|
|
923
|
+
houseId?: string | undefined;
|
|
914
924
|
stockType?: "DOC" | "POL" | undefined;
|
|
915
925
|
placementDate?: string | undefined;
|
|
916
926
|
breedStandard?: string | undefined;
|
|
@@ -923,7 +933,7 @@ export declare const livestockGroupsRouter: {
|
|
|
923
933
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
924
934
|
name: string;
|
|
925
935
|
currency: string;
|
|
926
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
936
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
927
937
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
928
938
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
929
939
|
description?: string | undefined;
|
|
@@ -943,6 +953,7 @@ export declare const livestockGroupsRouter: {
|
|
|
943
953
|
averageDailyGain?: number | undefined;
|
|
944
954
|
eggProductionRate?: number | undefined;
|
|
945
955
|
houseCode?: string | undefined;
|
|
956
|
+
houseId?: string | undefined;
|
|
946
957
|
stockType?: "DOC" | "POL" | undefined;
|
|
947
958
|
placementDate?: string | undefined;
|
|
948
959
|
breedStandard?: string | undefined;
|
|
@@ -953,7 +964,7 @@ export declare const livestockGroupsRouter: {
|
|
|
953
964
|
type: "livestock-groups";
|
|
954
965
|
attributes: {
|
|
955
966
|
name: string;
|
|
956
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
967
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
957
968
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
958
969
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
959
970
|
description?: string | undefined;
|
|
@@ -975,6 +986,7 @@ export declare const livestockGroupsRouter: {
|
|
|
975
986
|
averageDailyGain?: number | undefined;
|
|
976
987
|
eggProductionRate?: number | undefined;
|
|
977
988
|
houseCode?: string | undefined;
|
|
989
|
+
houseId?: string | undefined;
|
|
978
990
|
stockType?: "DOC" | "POL" | undefined;
|
|
979
991
|
placementDate?: string | undefined;
|
|
980
992
|
breedStandard?: string | undefined;
|
|
@@ -989,7 +1001,7 @@ export declare const livestockGroupsRouter: {
|
|
|
989
1001
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
990
1002
|
name: string;
|
|
991
1003
|
currency: string;
|
|
992
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1004
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
993
1005
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
994
1006
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
995
1007
|
description?: string | undefined;
|
|
@@ -1009,6 +1021,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1009
1021
|
averageDailyGain?: number | undefined;
|
|
1010
1022
|
eggProductionRate?: number | undefined;
|
|
1011
1023
|
houseCode?: string | undefined;
|
|
1024
|
+
houseId?: string | undefined;
|
|
1012
1025
|
stockType?: "DOC" | "POL" | undefined;
|
|
1013
1026
|
placementDate?: string | undefined;
|
|
1014
1027
|
breedStandard?: string | undefined;
|
|
@@ -1021,7 +1034,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1021
1034
|
type: "livestock-groups";
|
|
1022
1035
|
attributes: {
|
|
1023
1036
|
name: string;
|
|
1024
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1037
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1025
1038
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
1026
1039
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
1027
1040
|
description?: string | undefined;
|
|
@@ -1043,6 +1056,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1043
1056
|
averageDailyGain?: number | undefined;
|
|
1044
1057
|
eggProductionRate?: number | undefined;
|
|
1045
1058
|
houseCode?: string | undefined;
|
|
1059
|
+
houseId?: string | undefined;
|
|
1046
1060
|
stockType?: "DOC" | "POL" | undefined;
|
|
1047
1061
|
placementDate?: string | undefined;
|
|
1048
1062
|
breedStandard?: string | undefined;
|
|
@@ -1080,6 +1094,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1080
1094
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
1081
1095
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
1082
1096
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1097
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1083
1098
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1084
1099
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1085
1100
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1102,7 +1117,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1102
1117
|
location: string | null;
|
|
1103
1118
|
currency: string;
|
|
1104
1119
|
notes: string | null;
|
|
1105
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1120
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1106
1121
|
purchasePrice: number | null;
|
|
1107
1122
|
currentValue: number | null;
|
|
1108
1123
|
breed: string | null;
|
|
@@ -1121,6 +1136,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1121
1136
|
pondSize: number | null;
|
|
1122
1137
|
stockingDensity: number | null;
|
|
1123
1138
|
houseCode?: string | null | undefined;
|
|
1139
|
+
houseId?: string | null | undefined;
|
|
1124
1140
|
stockType?: string | null | undefined;
|
|
1125
1141
|
placementDate?: string | null | undefined;
|
|
1126
1142
|
breedStandard?: string | null | undefined;
|
|
@@ -1135,7 +1151,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1135
1151
|
farmId: string;
|
|
1136
1152
|
location: string | null;
|
|
1137
1153
|
notes: string | null;
|
|
1138
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1154
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1139
1155
|
purchasePrice: number | null;
|
|
1140
1156
|
currentValue: number | null;
|
|
1141
1157
|
breed: string | null;
|
|
@@ -1155,6 +1171,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1155
1171
|
stockingDensity: number | null;
|
|
1156
1172
|
currency?: string | undefined;
|
|
1157
1173
|
houseCode?: string | null | undefined;
|
|
1174
|
+
houseId?: string | null | undefined;
|
|
1158
1175
|
stockType?: string | null | undefined;
|
|
1159
1176
|
placementDate?: string | null | undefined;
|
|
1160
1177
|
breedStandard?: string | null | undefined;
|
|
@@ -1177,7 +1194,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1177
1194
|
location: string | null;
|
|
1178
1195
|
currency: string;
|
|
1179
1196
|
notes: string | null;
|
|
1180
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1197
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1181
1198
|
purchasePrice: number | null;
|
|
1182
1199
|
currentValue: number | null;
|
|
1183
1200
|
breed: string | null;
|
|
@@ -1196,6 +1213,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1196
1213
|
pondSize: number | null;
|
|
1197
1214
|
stockingDensity: number | null;
|
|
1198
1215
|
houseCode?: string | null | undefined;
|
|
1216
|
+
houseId?: string | null | undefined;
|
|
1199
1217
|
stockType?: string | null | undefined;
|
|
1200
1218
|
placementDate?: string | null | undefined;
|
|
1201
1219
|
breedStandard?: string | null | undefined;
|
|
@@ -1217,7 +1235,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1217
1235
|
farmId: string;
|
|
1218
1236
|
location: string | null;
|
|
1219
1237
|
notes: string | null;
|
|
1220
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1238
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1221
1239
|
purchasePrice: number | null;
|
|
1222
1240
|
currentValue: number | null;
|
|
1223
1241
|
breed: string | null;
|
|
@@ -1237,6 +1255,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1237
1255
|
stockingDensity: number | null;
|
|
1238
1256
|
currency?: string | undefined;
|
|
1239
1257
|
houseCode?: string | null | undefined;
|
|
1258
|
+
houseId?: string | null | undefined;
|
|
1240
1259
|
stockType?: string | null | undefined;
|
|
1241
1260
|
placementDate?: string | null | undefined;
|
|
1242
1261
|
breedStandard?: string | null | undefined;
|
|
@@ -1285,7 +1304,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1285
1304
|
location: string | null;
|
|
1286
1305
|
currency: string;
|
|
1287
1306
|
notes: string | null;
|
|
1288
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1307
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1289
1308
|
purchasePrice: number | null;
|
|
1290
1309
|
currentValue: number | null;
|
|
1291
1310
|
breed: string | null;
|
|
@@ -1304,6 +1323,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1304
1323
|
pondSize: number | null;
|
|
1305
1324
|
stockingDensity: number | null;
|
|
1306
1325
|
houseCode?: string | null | undefined;
|
|
1326
|
+
houseId?: string | null | undefined;
|
|
1307
1327
|
stockType?: string | null | undefined;
|
|
1308
1328
|
placementDate?: string | null | undefined;
|
|
1309
1329
|
breedStandard?: string | null | undefined;
|
|
@@ -1337,7 +1357,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1337
1357
|
farmId: string;
|
|
1338
1358
|
location: string | null;
|
|
1339
1359
|
notes: string | null;
|
|
1340
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1360
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1341
1361
|
purchasePrice: number | null;
|
|
1342
1362
|
currentValue: number | null;
|
|
1343
1363
|
breed: string | null;
|
|
@@ -1357,6 +1377,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1357
1377
|
stockingDensity: number | null;
|
|
1358
1378
|
currency?: string | undefined;
|
|
1359
1379
|
houseCode?: string | null | undefined;
|
|
1380
|
+
houseId?: string | null | undefined;
|
|
1360
1381
|
stockType?: string | null | undefined;
|
|
1361
1382
|
placementDate?: string | null | undefined;
|
|
1362
1383
|
breedStandard?: string | null | undefined;
|
|
@@ -1873,6 +1894,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1873
1894
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
1874
1895
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
1875
1896
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1897
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1876
1898
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1877
1899
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1878
1900
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1895,7 +1917,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1895
1917
|
location: string | null;
|
|
1896
1918
|
currency: string;
|
|
1897
1919
|
notes: string | null;
|
|
1898
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1920
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1899
1921
|
purchasePrice: number | null;
|
|
1900
1922
|
currentValue: number | null;
|
|
1901
1923
|
breed: string | null;
|
|
@@ -1914,6 +1936,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1914
1936
|
pondSize: number | null;
|
|
1915
1937
|
stockingDensity: number | null;
|
|
1916
1938
|
houseCode?: string | null | undefined;
|
|
1939
|
+
houseId?: string | null | undefined;
|
|
1917
1940
|
stockType?: string | null | undefined;
|
|
1918
1941
|
placementDate?: string | null | undefined;
|
|
1919
1942
|
breedStandard?: string | null | undefined;
|
|
@@ -1928,7 +1951,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1928
1951
|
farmId: string;
|
|
1929
1952
|
location: string | null;
|
|
1930
1953
|
notes: string | null;
|
|
1931
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1954
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1932
1955
|
purchasePrice: number | null;
|
|
1933
1956
|
currentValue: number | null;
|
|
1934
1957
|
breed: string | null;
|
|
@@ -1948,6 +1971,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1948
1971
|
stockingDensity: number | null;
|
|
1949
1972
|
currency?: string | undefined;
|
|
1950
1973
|
houseCode?: string | null | undefined;
|
|
1974
|
+
houseId?: string | null | undefined;
|
|
1951
1975
|
stockType?: string | null | undefined;
|
|
1952
1976
|
placementDate?: string | null | undefined;
|
|
1953
1977
|
breedStandard?: string | null | undefined;
|
|
@@ -1970,7 +1994,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1970
1994
|
location: string | null;
|
|
1971
1995
|
currency: string;
|
|
1972
1996
|
notes: string | null;
|
|
1973
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
1997
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1974
1998
|
purchasePrice: number | null;
|
|
1975
1999
|
currentValue: number | null;
|
|
1976
2000
|
breed: string | null;
|
|
@@ -1989,6 +2013,7 @@ export declare const livestockGroupsRouter: {
|
|
|
1989
2013
|
pondSize: number | null;
|
|
1990
2014
|
stockingDensity: number | null;
|
|
1991
2015
|
houseCode?: string | null | undefined;
|
|
2016
|
+
houseId?: string | null | undefined;
|
|
1992
2017
|
stockType?: string | null | undefined;
|
|
1993
2018
|
placementDate?: string | null | undefined;
|
|
1994
2019
|
breedStandard?: string | null | undefined;
|
|
@@ -2010,7 +2035,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2010
2035
|
farmId: string;
|
|
2011
2036
|
location: string | null;
|
|
2012
2037
|
notes: string | null;
|
|
2013
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2038
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2014
2039
|
purchasePrice: number | null;
|
|
2015
2040
|
currentValue: number | null;
|
|
2016
2041
|
breed: string | null;
|
|
@@ -2030,6 +2055,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2030
2055
|
stockingDensity: number | null;
|
|
2031
2056
|
currency?: string | undefined;
|
|
2032
2057
|
houseCode?: string | null | undefined;
|
|
2058
|
+
houseId?: string | null | undefined;
|
|
2033
2059
|
stockType?: string | null | undefined;
|
|
2034
2060
|
placementDate?: string | null | undefined;
|
|
2035
2061
|
breedStandard?: string | null | undefined;
|
|
@@ -2078,7 +2104,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2078
2104
|
location: string | null;
|
|
2079
2105
|
currency: string;
|
|
2080
2106
|
notes: string | null;
|
|
2081
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2107
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2082
2108
|
purchasePrice: number | null;
|
|
2083
2109
|
currentValue: number | null;
|
|
2084
2110
|
breed: string | null;
|
|
@@ -2097,6 +2123,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2097
2123
|
pondSize: number | null;
|
|
2098
2124
|
stockingDensity: number | null;
|
|
2099
2125
|
houseCode?: string | null | undefined;
|
|
2126
|
+
houseId?: string | null | undefined;
|
|
2100
2127
|
stockType?: string | null | undefined;
|
|
2101
2128
|
placementDate?: string | null | undefined;
|
|
2102
2129
|
breedStandard?: string | null | undefined;
|
|
@@ -2130,7 +2157,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2130
2157
|
farmId: string;
|
|
2131
2158
|
location: string | null;
|
|
2132
2159
|
notes: string | null;
|
|
2133
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2160
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2134
2161
|
purchasePrice: number | null;
|
|
2135
2162
|
currentValue: number | null;
|
|
2136
2163
|
breed: string | null;
|
|
@@ -2150,6 +2177,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2150
2177
|
stockingDensity: number | null;
|
|
2151
2178
|
currency?: string | undefined;
|
|
2152
2179
|
houseCode?: string | null | undefined;
|
|
2180
|
+
houseId?: string | null | undefined;
|
|
2153
2181
|
stockType?: string | null | undefined;
|
|
2154
2182
|
placementDate?: string | null | undefined;
|
|
2155
2183
|
breedStandard?: string | null | undefined;
|
|
@@ -2393,6 +2421,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2393
2421
|
averageDailyGain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2394
2422
|
eggProductionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2395
2423
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2424
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2396
2425
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DOC", "POL"]>>>;
|
|
2397
2426
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2398
2427
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2407,7 +2436,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2407
2436
|
location?: string | null | undefined;
|
|
2408
2437
|
currency?: string | undefined;
|
|
2409
2438
|
notes?: string | null | undefined;
|
|
2410
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2439
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
2411
2440
|
purchasePrice?: number | null | undefined;
|
|
2412
2441
|
currentValue?: number | null | undefined;
|
|
2413
2442
|
breed?: string | null | undefined;
|
|
@@ -2424,6 +2453,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2424
2453
|
averageDailyGain?: number | null | undefined;
|
|
2425
2454
|
eggProductionRate?: number | null | undefined;
|
|
2426
2455
|
houseCode?: string | null | undefined;
|
|
2456
|
+
houseId?: string | null | undefined;
|
|
2427
2457
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
2428
2458
|
placementDate?: string | null | undefined;
|
|
2429
2459
|
breedStandard?: string | null | undefined;
|
|
@@ -2436,7 +2466,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2436
2466
|
location?: string | null | undefined;
|
|
2437
2467
|
currency?: string | undefined;
|
|
2438
2468
|
notes?: string | null | undefined;
|
|
2439
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2469
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
2440
2470
|
purchasePrice?: number | null | undefined;
|
|
2441
2471
|
currentValue?: number | null | undefined;
|
|
2442
2472
|
breed?: string | null | undefined;
|
|
@@ -2453,6 +2483,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2453
2483
|
averageDailyGain?: number | null | undefined;
|
|
2454
2484
|
eggProductionRate?: number | null | undefined;
|
|
2455
2485
|
houseCode?: string | null | undefined;
|
|
2486
|
+
houseId?: string | null | undefined;
|
|
2456
2487
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
2457
2488
|
placementDate?: string | null | undefined;
|
|
2458
2489
|
breedStandard?: string | null | undefined;
|
|
@@ -2469,7 +2500,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2469
2500
|
location?: string | null | undefined;
|
|
2470
2501
|
currency?: string | undefined;
|
|
2471
2502
|
notes?: string | null | undefined;
|
|
2472
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2503
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
2473
2504
|
purchasePrice?: number | null | undefined;
|
|
2474
2505
|
currentValue?: number | null | undefined;
|
|
2475
2506
|
breed?: string | null | undefined;
|
|
@@ -2486,6 +2517,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2486
2517
|
averageDailyGain?: number | null | undefined;
|
|
2487
2518
|
eggProductionRate?: number | null | undefined;
|
|
2488
2519
|
houseCode?: string | null | undefined;
|
|
2520
|
+
houseId?: string | null | undefined;
|
|
2489
2521
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
2490
2522
|
placementDate?: string | null | undefined;
|
|
2491
2523
|
breedStandard?: string | null | undefined;
|
|
@@ -2502,7 +2534,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2502
2534
|
location?: string | null | undefined;
|
|
2503
2535
|
currency?: string | undefined;
|
|
2504
2536
|
notes?: string | null | undefined;
|
|
2505
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2537
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
2506
2538
|
purchasePrice?: number | null | undefined;
|
|
2507
2539
|
currentValue?: number | null | undefined;
|
|
2508
2540
|
breed?: string | null | undefined;
|
|
@@ -2519,6 +2551,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2519
2551
|
averageDailyGain?: number | null | undefined;
|
|
2520
2552
|
eggProductionRate?: number | null | undefined;
|
|
2521
2553
|
houseCode?: string | null | undefined;
|
|
2554
|
+
houseId?: string | null | undefined;
|
|
2522
2555
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
2523
2556
|
placementDate?: string | null | undefined;
|
|
2524
2557
|
breedStandard?: string | null | undefined;
|
|
@@ -2537,7 +2570,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2537
2570
|
location?: string | null | undefined;
|
|
2538
2571
|
currency?: string | undefined;
|
|
2539
2572
|
notes?: string | null | undefined;
|
|
2540
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2573
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
2541
2574
|
purchasePrice?: number | null | undefined;
|
|
2542
2575
|
currentValue?: number | null | undefined;
|
|
2543
2576
|
breed?: string | null | undefined;
|
|
@@ -2554,6 +2587,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2554
2587
|
averageDailyGain?: number | null | undefined;
|
|
2555
2588
|
eggProductionRate?: number | null | undefined;
|
|
2556
2589
|
houseCode?: string | null | undefined;
|
|
2590
|
+
houseId?: string | null | undefined;
|
|
2557
2591
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
2558
2592
|
placementDate?: string | null | undefined;
|
|
2559
2593
|
breedStandard?: string | null | undefined;
|
|
@@ -2572,7 +2606,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2572
2606
|
location?: string | null | undefined;
|
|
2573
2607
|
currency?: string | undefined;
|
|
2574
2608
|
notes?: string | null | undefined;
|
|
2575
|
-
category?: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2609
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
2576
2610
|
purchasePrice?: number | null | undefined;
|
|
2577
2611
|
currentValue?: number | null | undefined;
|
|
2578
2612
|
breed?: string | null | undefined;
|
|
@@ -2589,6 +2623,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2589
2623
|
averageDailyGain?: number | null | undefined;
|
|
2590
2624
|
eggProductionRate?: number | null | undefined;
|
|
2591
2625
|
houseCode?: string | null | undefined;
|
|
2626
|
+
houseId?: string | null | undefined;
|
|
2592
2627
|
stockType?: "DOC" | "POL" | null | undefined;
|
|
2593
2628
|
placementDate?: string | null | undefined;
|
|
2594
2629
|
breedStandard?: string | null | undefined;
|
|
@@ -2626,6 +2661,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2626
2661
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
2627
2662
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
2628
2663
|
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2664
|
+
houseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2629
2665
|
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2630
2666
|
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2631
2667
|
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2648,7 +2684,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2648
2684
|
location: string | null;
|
|
2649
2685
|
currency: string;
|
|
2650
2686
|
notes: string | null;
|
|
2651
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2687
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2652
2688
|
purchasePrice: number | null;
|
|
2653
2689
|
currentValue: number | null;
|
|
2654
2690
|
breed: string | null;
|
|
@@ -2667,6 +2703,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2667
2703
|
pondSize: number | null;
|
|
2668
2704
|
stockingDensity: number | null;
|
|
2669
2705
|
houseCode?: string | null | undefined;
|
|
2706
|
+
houseId?: string | null | undefined;
|
|
2670
2707
|
stockType?: string | null | undefined;
|
|
2671
2708
|
placementDate?: string | null | undefined;
|
|
2672
2709
|
breedStandard?: string | null | undefined;
|
|
@@ -2681,7 +2718,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2681
2718
|
farmId: string;
|
|
2682
2719
|
location: string | null;
|
|
2683
2720
|
notes: string | null;
|
|
2684
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2721
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2685
2722
|
purchasePrice: number | null;
|
|
2686
2723
|
currentValue: number | null;
|
|
2687
2724
|
breed: string | null;
|
|
@@ -2701,6 +2738,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2701
2738
|
stockingDensity: number | null;
|
|
2702
2739
|
currency?: string | undefined;
|
|
2703
2740
|
houseCode?: string | null | undefined;
|
|
2741
|
+
houseId?: string | null | undefined;
|
|
2704
2742
|
stockType?: string | null | undefined;
|
|
2705
2743
|
placementDate?: string | null | undefined;
|
|
2706
2744
|
breedStandard?: string | null | undefined;
|
|
@@ -2723,7 +2761,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2723
2761
|
location: string | null;
|
|
2724
2762
|
currency: string;
|
|
2725
2763
|
notes: string | null;
|
|
2726
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2764
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2727
2765
|
purchasePrice: number | null;
|
|
2728
2766
|
currentValue: number | null;
|
|
2729
2767
|
breed: string | null;
|
|
@@ -2742,6 +2780,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2742
2780
|
pondSize: number | null;
|
|
2743
2781
|
stockingDensity: number | null;
|
|
2744
2782
|
houseCode?: string | null | undefined;
|
|
2783
|
+
houseId?: string | null | undefined;
|
|
2745
2784
|
stockType?: string | null | undefined;
|
|
2746
2785
|
placementDate?: string | null | undefined;
|
|
2747
2786
|
breedStandard?: string | null | undefined;
|
|
@@ -2763,7 +2802,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2763
2802
|
farmId: string;
|
|
2764
2803
|
location: string | null;
|
|
2765
2804
|
notes: string | null;
|
|
2766
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2805
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2767
2806
|
purchasePrice: number | null;
|
|
2768
2807
|
currentValue: number | null;
|
|
2769
2808
|
breed: string | null;
|
|
@@ -2783,6 +2822,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2783
2822
|
stockingDensity: number | null;
|
|
2784
2823
|
currency?: string | undefined;
|
|
2785
2824
|
houseCode?: string | null | undefined;
|
|
2825
|
+
houseId?: string | null | undefined;
|
|
2786
2826
|
stockType?: string | null | undefined;
|
|
2787
2827
|
placementDate?: string | null | undefined;
|
|
2788
2828
|
breedStandard?: string | null | undefined;
|
|
@@ -2831,7 +2871,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2831
2871
|
location: string | null;
|
|
2832
2872
|
currency: string;
|
|
2833
2873
|
notes: string | null;
|
|
2834
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2874
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2835
2875
|
purchasePrice: number | null;
|
|
2836
2876
|
currentValue: number | null;
|
|
2837
2877
|
breed: string | null;
|
|
@@ -2850,6 +2890,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2850
2890
|
pondSize: number | null;
|
|
2851
2891
|
stockingDensity: number | null;
|
|
2852
2892
|
houseCode?: string | null | undefined;
|
|
2893
|
+
houseId?: string | null | undefined;
|
|
2853
2894
|
stockType?: string | null | undefined;
|
|
2854
2895
|
placementDate?: string | null | undefined;
|
|
2855
2896
|
breedStandard?: string | null | undefined;
|
|
@@ -2883,7 +2924,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2883
2924
|
farmId: string;
|
|
2884
2925
|
location: string | null;
|
|
2885
2926
|
notes: string | null;
|
|
2886
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
2927
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2887
2928
|
purchasePrice: number | null;
|
|
2888
2929
|
currentValue: number | null;
|
|
2889
2930
|
breed: string | null;
|
|
@@ -2903,6 +2944,7 @@ export declare const livestockGroupsRouter: {
|
|
|
2903
2944
|
stockingDensity: number | null;
|
|
2904
2945
|
currency?: string | undefined;
|
|
2905
2946
|
houseCode?: string | null | undefined;
|
|
2947
|
+
houseId?: string | null | undefined;
|
|
2906
2948
|
stockType?: string | null | undefined;
|
|
2907
2949
|
placementDate?: string | null | undefined;
|
|
2908
2950
|
breedStandard?: string | null | undefined;
|
|
@@ -3639,6 +3681,9 @@ export declare const livestockGroupsRouter: {
|
|
|
3639
3681
|
weight: z.ZodNullable<z.ZodNumber>;
|
|
3640
3682
|
weightUnit: z.ZodDefault<z.ZodString>;
|
|
3641
3683
|
lastWeighDate: z.ZodNullable<z.ZodString>;
|
|
3684
|
+
eid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3685
|
+
secondaryTagId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3686
|
+
photoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3642
3687
|
sireId: z.ZodNullable<z.ZodString>;
|
|
3643
3688
|
damId: z.ZodNullable<z.ZodString>;
|
|
3644
3689
|
sireName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3646,6 +3691,7 @@ export declare const livestockGroupsRouter: {
|
|
|
3646
3691
|
status: z.ZodEnum<["ACTIVE", "SOLD", "DECEASED", "TRANSFERRED", "QUARANTINE"]>;
|
|
3647
3692
|
statusDate: z.ZodString;
|
|
3648
3693
|
statusNote: z.ZodNullable<z.ZodString>;
|
|
3694
|
+
cullReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["poor_gain", "health", "age", "temperament", "other"]>>>;
|
|
3649
3695
|
location: z.ZodNullable<z.ZodString>;
|
|
3650
3696
|
groupId: z.ZodNullable<z.ZodString>;
|
|
3651
3697
|
purchasePrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3665,6 +3711,9 @@ export declare const livestockGroupsRouter: {
|
|
|
3665
3711
|
vaccineName: z.ZodNullable<z.ZodString>;
|
|
3666
3712
|
batchNumber: z.ZodNullable<z.ZodString>;
|
|
3667
3713
|
nextDueDate: z.ZodNullable<z.ZodString>;
|
|
3714
|
+
withdrawalDays: z.ZodNullable<z.ZodNumber>;
|
|
3715
|
+
withdrawalEndsAt: z.ZodNullable<z.ZodString>;
|
|
3716
|
+
bcs: z.ZodNullable<z.ZodNumber>;
|
|
3668
3717
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
3669
3718
|
currency: z.ZodDefault<z.ZodString>;
|
|
3670
3719
|
followUpRequired: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -3687,6 +3736,9 @@ export declare const livestockGroupsRouter: {
|
|
|
3687
3736
|
vaccineName: string | null;
|
|
3688
3737
|
batchNumber: string | null;
|
|
3689
3738
|
nextDueDate: string | null;
|
|
3739
|
+
withdrawalDays: number | null;
|
|
3740
|
+
withdrawalEndsAt: string | null;
|
|
3741
|
+
bcs: number | null;
|
|
3690
3742
|
followUpRequired: boolean;
|
|
3691
3743
|
followUpDate: string | null;
|
|
3692
3744
|
followUpNotes: string | null;
|
|
@@ -3705,6 +3757,9 @@ export declare const livestockGroupsRouter: {
|
|
|
3705
3757
|
vaccineName: string | null;
|
|
3706
3758
|
batchNumber: string | null;
|
|
3707
3759
|
nextDueDate: string | null;
|
|
3760
|
+
withdrawalDays: number | null;
|
|
3761
|
+
withdrawalEndsAt: string | null;
|
|
3762
|
+
bcs: number | null;
|
|
3708
3763
|
followUpDate: string | null;
|
|
3709
3764
|
followUpNotes: string | null;
|
|
3710
3765
|
currency?: string | undefined;
|
|
@@ -3715,6 +3770,7 @@ export declare const livestockGroupsRouter: {
|
|
|
3715
3770
|
recordDate: z.ZodString;
|
|
3716
3771
|
weight: z.ZodNumber;
|
|
3717
3772
|
weightUnit: z.ZodDefault<z.ZodString>;
|
|
3773
|
+
eventType: z.ZodDefault<z.ZodEnum<["routine", "weaning"]>>;
|
|
3718
3774
|
notes: z.ZodNullable<z.ZodString>;
|
|
3719
3775
|
}, "strip", z.ZodTypeAny, {
|
|
3720
3776
|
id: string;
|
|
@@ -3722,12 +3778,14 @@ export declare const livestockGroupsRouter: {
|
|
|
3722
3778
|
weight: number;
|
|
3723
3779
|
recordDate: string;
|
|
3724
3780
|
weightUnit: string;
|
|
3781
|
+
eventType: "routine" | "weaning";
|
|
3725
3782
|
}, {
|
|
3726
3783
|
id: string;
|
|
3727
3784
|
notes: string | null;
|
|
3728
3785
|
weight: number;
|
|
3729
3786
|
recordDate: string;
|
|
3730
3787
|
weightUnit?: string | undefined;
|
|
3788
|
+
eventType?: "routine" | "weaning" | undefined;
|
|
3731
3789
|
}>, "many">>;
|
|
3732
3790
|
recentMovements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3733
3791
|
id: z.ZodString;
|
|
@@ -3778,7 +3836,7 @@ export declare const livestockGroupsRouter: {
|
|
|
3778
3836
|
location: string | null;
|
|
3779
3837
|
currency: string;
|
|
3780
3838
|
notes: string | null;
|
|
3781
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
3839
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
3782
3840
|
groupId: string | null;
|
|
3783
3841
|
purchasePrice: number | null;
|
|
3784
3842
|
currentValue: number | null;
|
|
@@ -3796,8 +3854,12 @@ export declare const livestockGroupsRouter: {
|
|
|
3796
3854
|
damId: string | null;
|
|
3797
3855
|
statusDate: string;
|
|
3798
3856
|
statusNote: string | null;
|
|
3857
|
+
photoUrl?: string | null | undefined;
|
|
3858
|
+
eid?: string | null | undefined;
|
|
3859
|
+
secondaryTagId?: string | null | undefined;
|
|
3799
3860
|
sireName?: string | null | undefined;
|
|
3800
3861
|
damName?: string | null | undefined;
|
|
3862
|
+
cullReason?: "other" | "poor_gain" | "health" | "age" | "temperament" | null | undefined;
|
|
3801
3863
|
healthRecords?: {
|
|
3802
3864
|
id: string;
|
|
3803
3865
|
description: string;
|
|
@@ -3814,6 +3876,9 @@ export declare const livestockGroupsRouter: {
|
|
|
3814
3876
|
vaccineName: string | null;
|
|
3815
3877
|
batchNumber: string | null;
|
|
3816
3878
|
nextDueDate: string | null;
|
|
3879
|
+
withdrawalDays: number | null;
|
|
3880
|
+
withdrawalEndsAt: string | null;
|
|
3881
|
+
bcs: number | null;
|
|
3817
3882
|
followUpRequired: boolean;
|
|
3818
3883
|
followUpDate: string | null;
|
|
3819
3884
|
followUpNotes: string | null;
|
|
@@ -3824,6 +3889,7 @@ export declare const livestockGroupsRouter: {
|
|
|
3824
3889
|
weight: number;
|
|
3825
3890
|
recordDate: string;
|
|
3826
3891
|
weightUnit: string;
|
|
3892
|
+
eventType: "routine" | "weaning";
|
|
3827
3893
|
}[] | undefined;
|
|
3828
3894
|
recentMovements?: {
|
|
3829
3895
|
id: string;
|
|
@@ -3846,7 +3912,7 @@ export declare const livestockGroupsRouter: {
|
|
|
3846
3912
|
farmId: string;
|
|
3847
3913
|
location: string | null;
|
|
3848
3914
|
notes: string | null;
|
|
3849
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
3915
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
3850
3916
|
groupId: string | null;
|
|
3851
3917
|
purchasePrice: number | null;
|
|
3852
3918
|
currentValue: number | null;
|
|
@@ -3864,9 +3930,13 @@ export declare const livestockGroupsRouter: {
|
|
|
3864
3930
|
statusDate: string;
|
|
3865
3931
|
statusNote: string | null;
|
|
3866
3932
|
currency?: string | undefined;
|
|
3933
|
+
photoUrl?: string | null | undefined;
|
|
3867
3934
|
weightUnit?: string | undefined;
|
|
3935
|
+
eid?: string | null | undefined;
|
|
3936
|
+
secondaryTagId?: string | null | undefined;
|
|
3868
3937
|
sireName?: string | null | undefined;
|
|
3869
3938
|
damName?: string | null | undefined;
|
|
3939
|
+
cullReason?: "other" | "poor_gain" | "health" | "age" | "temperament" | null | undefined;
|
|
3870
3940
|
healthRecords?: {
|
|
3871
3941
|
id: string;
|
|
3872
3942
|
description: string;
|
|
@@ -3882,6 +3952,9 @@ export declare const livestockGroupsRouter: {
|
|
|
3882
3952
|
vaccineName: string | null;
|
|
3883
3953
|
batchNumber: string | null;
|
|
3884
3954
|
nextDueDate: string | null;
|
|
3955
|
+
withdrawalDays: number | null;
|
|
3956
|
+
withdrawalEndsAt: string | null;
|
|
3957
|
+
bcs: number | null;
|
|
3885
3958
|
followUpDate: string | null;
|
|
3886
3959
|
followUpNotes: string | null;
|
|
3887
3960
|
currency?: string | undefined;
|
|
@@ -3893,6 +3966,7 @@ export declare const livestockGroupsRouter: {
|
|
|
3893
3966
|
weight: number;
|
|
3894
3967
|
recordDate: string;
|
|
3895
3968
|
weightUnit?: string | undefined;
|
|
3969
|
+
eventType?: "routine" | "weaning" | undefined;
|
|
3896
3970
|
}[] | undefined;
|
|
3897
3971
|
recentMovements?: {
|
|
3898
3972
|
id: string;
|
|
@@ -3923,7 +3997,7 @@ export declare const livestockGroupsRouter: {
|
|
|
3923
3997
|
location: string | null;
|
|
3924
3998
|
currency: string;
|
|
3925
3999
|
notes: string | null;
|
|
3926
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
4000
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
3927
4001
|
groupId: string | null;
|
|
3928
4002
|
purchasePrice: number | null;
|
|
3929
4003
|
currentValue: number | null;
|
|
@@ -3941,8 +4015,12 @@ export declare const livestockGroupsRouter: {
|
|
|
3941
4015
|
damId: string | null;
|
|
3942
4016
|
statusDate: string;
|
|
3943
4017
|
statusNote: string | null;
|
|
4018
|
+
photoUrl?: string | null | undefined;
|
|
4019
|
+
eid?: string | null | undefined;
|
|
4020
|
+
secondaryTagId?: string | null | undefined;
|
|
3944
4021
|
sireName?: string | null | undefined;
|
|
3945
4022
|
damName?: string | null | undefined;
|
|
4023
|
+
cullReason?: "other" | "poor_gain" | "health" | "age" | "temperament" | null | undefined;
|
|
3946
4024
|
healthRecords?: {
|
|
3947
4025
|
id: string;
|
|
3948
4026
|
description: string;
|
|
@@ -3959,6 +4037,9 @@ export declare const livestockGroupsRouter: {
|
|
|
3959
4037
|
vaccineName: string | null;
|
|
3960
4038
|
batchNumber: string | null;
|
|
3961
4039
|
nextDueDate: string | null;
|
|
4040
|
+
withdrawalDays: number | null;
|
|
4041
|
+
withdrawalEndsAt: string | null;
|
|
4042
|
+
bcs: number | null;
|
|
3962
4043
|
followUpRequired: boolean;
|
|
3963
4044
|
followUpDate: string | null;
|
|
3964
4045
|
followUpNotes: string | null;
|
|
@@ -3969,6 +4050,7 @@ export declare const livestockGroupsRouter: {
|
|
|
3969
4050
|
weight: number;
|
|
3970
4051
|
recordDate: string;
|
|
3971
4052
|
weightUnit: string;
|
|
4053
|
+
eventType: "routine" | "weaning";
|
|
3972
4054
|
}[] | undefined;
|
|
3973
4055
|
recentMovements?: {
|
|
3974
4056
|
id: string;
|
|
@@ -3998,7 +4080,7 @@ export declare const livestockGroupsRouter: {
|
|
|
3998
4080
|
farmId: string;
|
|
3999
4081
|
location: string | null;
|
|
4000
4082
|
notes: string | null;
|
|
4001
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
4083
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
4002
4084
|
groupId: string | null;
|
|
4003
4085
|
purchasePrice: number | null;
|
|
4004
4086
|
currentValue: number | null;
|
|
@@ -4016,9 +4098,13 @@ export declare const livestockGroupsRouter: {
|
|
|
4016
4098
|
statusDate: string;
|
|
4017
4099
|
statusNote: string | null;
|
|
4018
4100
|
currency?: string | undefined;
|
|
4101
|
+
photoUrl?: string | null | undefined;
|
|
4019
4102
|
weightUnit?: string | undefined;
|
|
4103
|
+
eid?: string | null | undefined;
|
|
4104
|
+
secondaryTagId?: string | null | undefined;
|
|
4020
4105
|
sireName?: string | null | undefined;
|
|
4021
4106
|
damName?: string | null | undefined;
|
|
4107
|
+
cullReason?: "other" | "poor_gain" | "health" | "age" | "temperament" | null | undefined;
|
|
4022
4108
|
healthRecords?: {
|
|
4023
4109
|
id: string;
|
|
4024
4110
|
description: string;
|
|
@@ -4034,6 +4120,9 @@ export declare const livestockGroupsRouter: {
|
|
|
4034
4120
|
vaccineName: string | null;
|
|
4035
4121
|
batchNumber: string | null;
|
|
4036
4122
|
nextDueDate: string | null;
|
|
4123
|
+
withdrawalDays: number | null;
|
|
4124
|
+
withdrawalEndsAt: string | null;
|
|
4125
|
+
bcs: number | null;
|
|
4037
4126
|
followUpDate: string | null;
|
|
4038
4127
|
followUpNotes: string | null;
|
|
4039
4128
|
currency?: string | undefined;
|
|
@@ -4045,6 +4134,7 @@ export declare const livestockGroupsRouter: {
|
|
|
4045
4134
|
weight: number;
|
|
4046
4135
|
recordDate: string;
|
|
4047
4136
|
weightUnit?: string | undefined;
|
|
4137
|
+
eventType?: "routine" | "weaning" | undefined;
|
|
4048
4138
|
}[] | undefined;
|
|
4049
4139
|
recentMovements?: {
|
|
4050
4140
|
id: string;
|
|
@@ -4101,7 +4191,7 @@ export declare const livestockGroupsRouter: {
|
|
|
4101
4191
|
location: string | null;
|
|
4102
4192
|
currency: string;
|
|
4103
4193
|
notes: string | null;
|
|
4104
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
4194
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
4105
4195
|
groupId: string | null;
|
|
4106
4196
|
purchasePrice: number | null;
|
|
4107
4197
|
currentValue: number | null;
|
|
@@ -4119,8 +4209,12 @@ export declare const livestockGroupsRouter: {
|
|
|
4119
4209
|
damId: string | null;
|
|
4120
4210
|
statusDate: string;
|
|
4121
4211
|
statusNote: string | null;
|
|
4212
|
+
photoUrl?: string | null | undefined;
|
|
4213
|
+
eid?: string | null | undefined;
|
|
4214
|
+
secondaryTagId?: string | null | undefined;
|
|
4122
4215
|
sireName?: string | null | undefined;
|
|
4123
4216
|
damName?: string | null | undefined;
|
|
4217
|
+
cullReason?: "other" | "poor_gain" | "health" | "age" | "temperament" | null | undefined;
|
|
4124
4218
|
healthRecords?: {
|
|
4125
4219
|
id: string;
|
|
4126
4220
|
description: string;
|
|
@@ -4137,6 +4231,9 @@ export declare const livestockGroupsRouter: {
|
|
|
4137
4231
|
vaccineName: string | null;
|
|
4138
4232
|
batchNumber: string | null;
|
|
4139
4233
|
nextDueDate: string | null;
|
|
4234
|
+
withdrawalDays: number | null;
|
|
4235
|
+
withdrawalEndsAt: string | null;
|
|
4236
|
+
bcs: number | null;
|
|
4140
4237
|
followUpRequired: boolean;
|
|
4141
4238
|
followUpDate: string | null;
|
|
4142
4239
|
followUpNotes: string | null;
|
|
@@ -4147,6 +4244,7 @@ export declare const livestockGroupsRouter: {
|
|
|
4147
4244
|
weight: number;
|
|
4148
4245
|
recordDate: string;
|
|
4149
4246
|
weightUnit: string;
|
|
4247
|
+
eventType: "routine" | "weaning";
|
|
4150
4248
|
}[] | undefined;
|
|
4151
4249
|
recentMovements?: {
|
|
4152
4250
|
id: string;
|
|
@@ -4188,7 +4286,7 @@ export declare const livestockGroupsRouter: {
|
|
|
4188
4286
|
farmId: string;
|
|
4189
4287
|
location: string | null;
|
|
4190
4288
|
notes: string | null;
|
|
4191
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
4289
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
4192
4290
|
groupId: string | null;
|
|
4193
4291
|
purchasePrice: number | null;
|
|
4194
4292
|
currentValue: number | null;
|
|
@@ -4206,9 +4304,13 @@ export declare const livestockGroupsRouter: {
|
|
|
4206
4304
|
statusDate: string;
|
|
4207
4305
|
statusNote: string | null;
|
|
4208
4306
|
currency?: string | undefined;
|
|
4307
|
+
photoUrl?: string | null | undefined;
|
|
4209
4308
|
weightUnit?: string | undefined;
|
|
4309
|
+
eid?: string | null | undefined;
|
|
4310
|
+
secondaryTagId?: string | null | undefined;
|
|
4210
4311
|
sireName?: string | null | undefined;
|
|
4211
4312
|
damName?: string | null | undefined;
|
|
4313
|
+
cullReason?: "other" | "poor_gain" | "health" | "age" | "temperament" | null | undefined;
|
|
4212
4314
|
healthRecords?: {
|
|
4213
4315
|
id: string;
|
|
4214
4316
|
description: string;
|
|
@@ -4224,6 +4326,9 @@ export declare const livestockGroupsRouter: {
|
|
|
4224
4326
|
vaccineName: string | null;
|
|
4225
4327
|
batchNumber: string | null;
|
|
4226
4328
|
nextDueDate: string | null;
|
|
4329
|
+
withdrawalDays: number | null;
|
|
4330
|
+
withdrawalEndsAt: string | null;
|
|
4331
|
+
bcs: number | null;
|
|
4227
4332
|
followUpDate: string | null;
|
|
4228
4333
|
followUpNotes: string | null;
|
|
4229
4334
|
currency?: string | undefined;
|
|
@@ -4235,6 +4340,7 @@ export declare const livestockGroupsRouter: {
|
|
|
4235
4340
|
weight: number;
|
|
4236
4341
|
recordDate: string;
|
|
4237
4342
|
weightUnit?: string | undefined;
|
|
4343
|
+
eventType?: "routine" | "weaning" | undefined;
|
|
4238
4344
|
}[] | undefined;
|
|
4239
4345
|
recentMovements?: {
|
|
4240
4346
|
id: string;
|
|
@@ -7524,7 +7630,7 @@ export declare const livestockGroupsRouter: {
|
|
|
7524
7630
|
}>, "many">>;
|
|
7525
7631
|
}, "strip", z.ZodTypeAny, {
|
|
7526
7632
|
currency: string;
|
|
7527
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
7633
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
7528
7634
|
sex: "MALE" | "FEMALE" | "UNKNOWN";
|
|
7529
7635
|
acquisitionType: "born" | "purchased" | "transferred" | "gifted";
|
|
7530
7636
|
entries?: {
|
|
@@ -7542,7 +7648,7 @@ export declare const livestockGroupsRouter: {
|
|
|
7542
7648
|
acquisitionDate?: string | undefined;
|
|
7543
7649
|
tagPrefix?: string | undefined;
|
|
7544
7650
|
}, {
|
|
7545
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
7651
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
7546
7652
|
entries?: {
|
|
7547
7653
|
tagId: string;
|
|
7548
7654
|
name?: string | undefined;
|
|
@@ -7565,7 +7671,7 @@ export declare const livestockGroupsRouter: {
|
|
|
7565
7671
|
type: "livestock-bulk";
|
|
7566
7672
|
attributes: {
|
|
7567
7673
|
currency: string;
|
|
7568
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
7674
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
7569
7675
|
sex: "MALE" | "FEMALE" | "UNKNOWN";
|
|
7570
7676
|
acquisitionType: "born" | "purchased" | "transferred" | "gifted";
|
|
7571
7677
|
entries?: {
|
|
@@ -7586,7 +7692,7 @@ export declare const livestockGroupsRouter: {
|
|
|
7586
7692
|
}, {
|
|
7587
7693
|
type: "livestock-bulk";
|
|
7588
7694
|
attributes: {
|
|
7589
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
7695
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
7590
7696
|
entries?: {
|
|
7591
7697
|
tagId: string;
|
|
7592
7698
|
name?: string | undefined;
|
|
@@ -7611,7 +7717,7 @@ export declare const livestockGroupsRouter: {
|
|
|
7611
7717
|
type: "livestock-bulk";
|
|
7612
7718
|
attributes: {
|
|
7613
7719
|
currency: string;
|
|
7614
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
7720
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
7615
7721
|
sex: "MALE" | "FEMALE" | "UNKNOWN";
|
|
7616
7722
|
acquisitionType: "born" | "purchased" | "transferred" | "gifted";
|
|
7617
7723
|
entries?: {
|
|
@@ -7634,7 +7740,7 @@ export declare const livestockGroupsRouter: {
|
|
|
7634
7740
|
data: {
|
|
7635
7741
|
type: "livestock-bulk";
|
|
7636
7742
|
attributes: {
|
|
7637
|
-
category: "POULTRY" | "CATTLE" | "GOAT" | "
|
|
7743
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
7638
7744
|
entries?: {
|
|
7639
7745
|
tagId: string;
|
|
7640
7746
|
name?: string | undefined;
|
|
@@ -8107,6 +8213,8 @@ export declare const livestockGroupsRouter: {
|
|
|
8107
8213
|
vaccineName: z.ZodOptional<z.ZodString>;
|
|
8108
8214
|
batchNumber: z.ZodOptional<z.ZodString>;
|
|
8109
8215
|
nextDueDate: z.ZodOptional<z.ZodString>;
|
|
8216
|
+
withdrawalDays: z.ZodOptional<z.ZodNumber>;
|
|
8217
|
+
bcs: z.ZodOptional<z.ZodNumber>;
|
|
8110
8218
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
8111
8219
|
currency: z.ZodDefault<z.ZodString>;
|
|
8112
8220
|
administeredBy: z.ZodOptional<z.ZodString>;
|
|
@@ -8125,6 +8233,8 @@ export declare const livestockGroupsRouter: {
|
|
|
8125
8233
|
vaccineName?: string | undefined;
|
|
8126
8234
|
batchNumber?: string | undefined;
|
|
8127
8235
|
nextDueDate?: string | undefined;
|
|
8236
|
+
withdrawalDays?: number | undefined;
|
|
8237
|
+
bcs?: number | undefined;
|
|
8128
8238
|
livestockIds?: string[] | undefined;
|
|
8129
8239
|
}, {
|
|
8130
8240
|
description: string;
|
|
@@ -8140,6 +8250,8 @@ export declare const livestockGroupsRouter: {
|
|
|
8140
8250
|
vaccineName?: string | undefined;
|
|
8141
8251
|
batchNumber?: string | undefined;
|
|
8142
8252
|
nextDueDate?: string | undefined;
|
|
8253
|
+
withdrawalDays?: number | undefined;
|
|
8254
|
+
bcs?: number | undefined;
|
|
8143
8255
|
livestockIds?: string[] | undefined;
|
|
8144
8256
|
}>;
|
|
8145
8257
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8158,6 +8270,8 @@ export declare const livestockGroupsRouter: {
|
|
|
8158
8270
|
vaccineName?: string | undefined;
|
|
8159
8271
|
batchNumber?: string | undefined;
|
|
8160
8272
|
nextDueDate?: string | undefined;
|
|
8273
|
+
withdrawalDays?: number | undefined;
|
|
8274
|
+
bcs?: number | undefined;
|
|
8161
8275
|
livestockIds?: string[] | undefined;
|
|
8162
8276
|
};
|
|
8163
8277
|
}, {
|
|
@@ -8176,6 +8290,8 @@ export declare const livestockGroupsRouter: {
|
|
|
8176
8290
|
vaccineName?: string | undefined;
|
|
8177
8291
|
batchNumber?: string | undefined;
|
|
8178
8292
|
nextDueDate?: string | undefined;
|
|
8293
|
+
withdrawalDays?: number | undefined;
|
|
8294
|
+
bcs?: number | undefined;
|
|
8179
8295
|
livestockIds?: string[] | undefined;
|
|
8180
8296
|
};
|
|
8181
8297
|
}>;
|
|
@@ -8196,6 +8312,8 @@ export declare const livestockGroupsRouter: {
|
|
|
8196
8312
|
vaccineName?: string | undefined;
|
|
8197
8313
|
batchNumber?: string | undefined;
|
|
8198
8314
|
nextDueDate?: string | undefined;
|
|
8315
|
+
withdrawalDays?: number | undefined;
|
|
8316
|
+
bcs?: number | undefined;
|
|
8199
8317
|
livestockIds?: string[] | undefined;
|
|
8200
8318
|
};
|
|
8201
8319
|
};
|
|
@@ -8216,6 +8334,8 @@ export declare const livestockGroupsRouter: {
|
|
|
8216
8334
|
vaccineName?: string | undefined;
|
|
8217
8335
|
batchNumber?: string | undefined;
|
|
8218
8336
|
nextDueDate?: string | undefined;
|
|
8337
|
+
withdrawalDays?: number | undefined;
|
|
8338
|
+
bcs?: number | undefined;
|
|
8219
8339
|
livestockIds?: string[] | undefined;
|
|
8220
8340
|
};
|
|
8221
8341
|
};
|
|
@@ -8647,5 +8767,555 @@ export declare const livestockGroupsRouter: {
|
|
|
8647
8767
|
}>;
|
|
8648
8768
|
};
|
|
8649
8769
|
};
|
|
8770
|
+
bulkWeightRecord: {
|
|
8771
|
+
pathParams: z.ZodObject<{
|
|
8772
|
+
farmId: z.ZodString;
|
|
8773
|
+
}, "strip", z.ZodTypeAny, {
|
|
8774
|
+
farmId: string;
|
|
8775
|
+
}, {
|
|
8776
|
+
farmId: string;
|
|
8777
|
+
}>;
|
|
8778
|
+
summary: "Bulk weight record";
|
|
8779
|
+
description: "Apply a weight record to a group or list of animals (chute worksheet)";
|
|
8780
|
+
method: "POST";
|
|
8781
|
+
body: z.ZodObject<{
|
|
8782
|
+
data: z.ZodObject<{
|
|
8783
|
+
type: z.ZodLiteral<"bulk-weight-records">;
|
|
8784
|
+
attributes: z.ZodObject<{
|
|
8785
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
8786
|
+
livestockIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8787
|
+
recordDate: z.ZodString;
|
|
8788
|
+
weight: z.ZodOptional<z.ZodNumber>;
|
|
8789
|
+
weightUnit: z.ZodDefault<z.ZodString>;
|
|
8790
|
+
eventType: z.ZodDefault<z.ZodEnum<["routine", "weaning"]>>;
|
|
8791
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
8792
|
+
entries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8793
|
+
livestockId: z.ZodString;
|
|
8794
|
+
weight: z.ZodNumber;
|
|
8795
|
+
}, "strip", z.ZodTypeAny, {
|
|
8796
|
+
weight: number;
|
|
8797
|
+
livestockId: string;
|
|
8798
|
+
}, {
|
|
8799
|
+
weight: number;
|
|
8800
|
+
livestockId: string;
|
|
8801
|
+
}>, "many">>;
|
|
8802
|
+
}, "strip", z.ZodTypeAny, {
|
|
8803
|
+
recordDate: string;
|
|
8804
|
+
weightUnit: string;
|
|
8805
|
+
eventType: "routine" | "weaning";
|
|
8806
|
+
entries?: {
|
|
8807
|
+
weight: number;
|
|
8808
|
+
livestockId: string;
|
|
8809
|
+
}[] | undefined;
|
|
8810
|
+
notes?: string | undefined;
|
|
8811
|
+
groupId?: string | undefined;
|
|
8812
|
+
weight?: number | undefined;
|
|
8813
|
+
livestockIds?: string[] | undefined;
|
|
8814
|
+
}, {
|
|
8815
|
+
recordDate: string;
|
|
8816
|
+
entries?: {
|
|
8817
|
+
weight: number;
|
|
8818
|
+
livestockId: string;
|
|
8819
|
+
}[] | undefined;
|
|
8820
|
+
notes?: string | undefined;
|
|
8821
|
+
groupId?: string | undefined;
|
|
8822
|
+
weight?: number | undefined;
|
|
8823
|
+
weightUnit?: string | undefined;
|
|
8824
|
+
eventType?: "routine" | "weaning" | undefined;
|
|
8825
|
+
livestockIds?: string[] | undefined;
|
|
8826
|
+
}>;
|
|
8827
|
+
}, "strip", z.ZodTypeAny, {
|
|
8828
|
+
type: "bulk-weight-records";
|
|
8829
|
+
attributes: {
|
|
8830
|
+
recordDate: string;
|
|
8831
|
+
weightUnit: string;
|
|
8832
|
+
eventType: "routine" | "weaning";
|
|
8833
|
+
entries?: {
|
|
8834
|
+
weight: number;
|
|
8835
|
+
livestockId: string;
|
|
8836
|
+
}[] | undefined;
|
|
8837
|
+
notes?: string | undefined;
|
|
8838
|
+
groupId?: string | undefined;
|
|
8839
|
+
weight?: number | undefined;
|
|
8840
|
+
livestockIds?: string[] | undefined;
|
|
8841
|
+
};
|
|
8842
|
+
}, {
|
|
8843
|
+
type: "bulk-weight-records";
|
|
8844
|
+
attributes: {
|
|
8845
|
+
recordDate: string;
|
|
8846
|
+
entries?: {
|
|
8847
|
+
weight: number;
|
|
8848
|
+
livestockId: string;
|
|
8849
|
+
}[] | undefined;
|
|
8850
|
+
notes?: string | undefined;
|
|
8851
|
+
groupId?: string | undefined;
|
|
8852
|
+
weight?: number | undefined;
|
|
8853
|
+
weightUnit?: string | undefined;
|
|
8854
|
+
eventType?: "routine" | "weaning" | undefined;
|
|
8855
|
+
livestockIds?: string[] | undefined;
|
|
8856
|
+
};
|
|
8857
|
+
}>;
|
|
8858
|
+
}, "strip", z.ZodTypeAny, {
|
|
8859
|
+
data: {
|
|
8860
|
+
type: "bulk-weight-records";
|
|
8861
|
+
attributes: {
|
|
8862
|
+
recordDate: string;
|
|
8863
|
+
weightUnit: string;
|
|
8864
|
+
eventType: "routine" | "weaning";
|
|
8865
|
+
entries?: {
|
|
8866
|
+
weight: number;
|
|
8867
|
+
livestockId: string;
|
|
8868
|
+
}[] | undefined;
|
|
8869
|
+
notes?: string | undefined;
|
|
8870
|
+
groupId?: string | undefined;
|
|
8871
|
+
weight?: number | undefined;
|
|
8872
|
+
livestockIds?: string[] | undefined;
|
|
8873
|
+
};
|
|
8874
|
+
};
|
|
8875
|
+
}, {
|
|
8876
|
+
data: {
|
|
8877
|
+
type: "bulk-weight-records";
|
|
8878
|
+
attributes: {
|
|
8879
|
+
recordDate: string;
|
|
8880
|
+
entries?: {
|
|
8881
|
+
weight: number;
|
|
8882
|
+
livestockId: string;
|
|
8883
|
+
}[] | undefined;
|
|
8884
|
+
notes?: string | undefined;
|
|
8885
|
+
groupId?: string | undefined;
|
|
8886
|
+
weight?: number | undefined;
|
|
8887
|
+
weightUnit?: string | undefined;
|
|
8888
|
+
eventType?: "routine" | "weaning" | undefined;
|
|
8889
|
+
livestockIds?: string[] | undefined;
|
|
8890
|
+
};
|
|
8891
|
+
};
|
|
8892
|
+
}>;
|
|
8893
|
+
path: "/farms/:farmId/livestock/bulk/weight-records";
|
|
8894
|
+
responses: {
|
|
8895
|
+
201: z.ZodObject<{
|
|
8896
|
+
data: z.ZodObject<{
|
|
8897
|
+
processed: z.ZodNumber;
|
|
8898
|
+
succeeded: z.ZodNumber;
|
|
8899
|
+
failed: z.ZodNumber;
|
|
8900
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8901
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
8902
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8903
|
+
message: z.ZodString;
|
|
8904
|
+
}, "strip", z.ZodTypeAny, {
|
|
8905
|
+
message: string;
|
|
8906
|
+
id?: string | undefined;
|
|
8907
|
+
index?: number | undefined;
|
|
8908
|
+
}, {
|
|
8909
|
+
message: string;
|
|
8910
|
+
id?: string | undefined;
|
|
8911
|
+
index?: number | undefined;
|
|
8912
|
+
}>, "many">>;
|
|
8913
|
+
}, "strip", z.ZodTypeAny, {
|
|
8914
|
+
failed: number;
|
|
8915
|
+
processed: number;
|
|
8916
|
+
succeeded: number;
|
|
8917
|
+
errors?: {
|
|
8918
|
+
message: string;
|
|
8919
|
+
id?: string | undefined;
|
|
8920
|
+
index?: number | undefined;
|
|
8921
|
+
}[] | undefined;
|
|
8922
|
+
}, {
|
|
8923
|
+
failed: number;
|
|
8924
|
+
processed: number;
|
|
8925
|
+
succeeded: number;
|
|
8926
|
+
errors?: {
|
|
8927
|
+
message: string;
|
|
8928
|
+
id?: string | undefined;
|
|
8929
|
+
index?: number | undefined;
|
|
8930
|
+
}[] | undefined;
|
|
8931
|
+
}>;
|
|
8932
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8933
|
+
}, "strip", z.ZodTypeAny, {
|
|
8934
|
+
data: {
|
|
8935
|
+
failed: number;
|
|
8936
|
+
processed: number;
|
|
8937
|
+
succeeded: number;
|
|
8938
|
+
errors?: {
|
|
8939
|
+
message: string;
|
|
8940
|
+
id?: string | undefined;
|
|
8941
|
+
index?: number | undefined;
|
|
8942
|
+
}[] | undefined;
|
|
8943
|
+
};
|
|
8944
|
+
meta?: Record<string, unknown> | undefined;
|
|
8945
|
+
}, {
|
|
8946
|
+
data: {
|
|
8947
|
+
failed: number;
|
|
8948
|
+
processed: number;
|
|
8949
|
+
succeeded: number;
|
|
8950
|
+
errors?: {
|
|
8951
|
+
message: string;
|
|
8952
|
+
id?: string | undefined;
|
|
8953
|
+
index?: number | undefined;
|
|
8954
|
+
}[] | undefined;
|
|
8955
|
+
};
|
|
8956
|
+
meta?: Record<string, unknown> | undefined;
|
|
8957
|
+
}>;
|
|
8958
|
+
400: z.ZodObject<{
|
|
8959
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
8960
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8961
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
8962
|
+
about: z.ZodOptional<z.ZodString>;
|
|
8963
|
+
}, "strip", z.ZodTypeAny, {
|
|
8964
|
+
about?: string | undefined;
|
|
8965
|
+
}, {
|
|
8966
|
+
about?: string | undefined;
|
|
8967
|
+
}>>;
|
|
8968
|
+
status: z.ZodOptional<z.ZodString>;
|
|
8969
|
+
code: z.ZodOptional<z.ZodString>;
|
|
8970
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8971
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
8972
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
8973
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
8974
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
8975
|
+
}, "strip", z.ZodTypeAny, {
|
|
8976
|
+
pointer?: string | undefined;
|
|
8977
|
+
parameter?: string | undefined;
|
|
8978
|
+
}, {
|
|
8979
|
+
pointer?: string | undefined;
|
|
8980
|
+
parameter?: string | undefined;
|
|
8981
|
+
}>>;
|
|
8982
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8983
|
+
}, "strip", z.ZodTypeAny, {
|
|
8984
|
+
status?: string | undefined;
|
|
8985
|
+
code?: string | undefined;
|
|
8986
|
+
id?: string | undefined;
|
|
8987
|
+
links?: {
|
|
8988
|
+
about?: string | undefined;
|
|
8989
|
+
} | undefined;
|
|
8990
|
+
meta?: Record<string, unknown> | undefined;
|
|
8991
|
+
title?: string | undefined;
|
|
8992
|
+
detail?: string | undefined;
|
|
8993
|
+
source?: {
|
|
8994
|
+
pointer?: string | undefined;
|
|
8995
|
+
parameter?: string | undefined;
|
|
8996
|
+
} | undefined;
|
|
8997
|
+
}, {
|
|
8998
|
+
status?: string | undefined;
|
|
8999
|
+
code?: string | undefined;
|
|
9000
|
+
id?: string | undefined;
|
|
9001
|
+
links?: {
|
|
9002
|
+
about?: string | undefined;
|
|
9003
|
+
} | undefined;
|
|
9004
|
+
meta?: Record<string, unknown> | undefined;
|
|
9005
|
+
title?: string | undefined;
|
|
9006
|
+
detail?: string | undefined;
|
|
9007
|
+
source?: {
|
|
9008
|
+
pointer?: string | undefined;
|
|
9009
|
+
parameter?: string | undefined;
|
|
9010
|
+
} | undefined;
|
|
9011
|
+
}>, "many">;
|
|
9012
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9013
|
+
}, "strip", z.ZodTypeAny, {
|
|
9014
|
+
errors: {
|
|
9015
|
+
status?: string | undefined;
|
|
9016
|
+
code?: string | undefined;
|
|
9017
|
+
id?: string | undefined;
|
|
9018
|
+
links?: {
|
|
9019
|
+
about?: string | undefined;
|
|
9020
|
+
} | undefined;
|
|
9021
|
+
meta?: Record<string, unknown> | undefined;
|
|
9022
|
+
title?: string | undefined;
|
|
9023
|
+
detail?: string | undefined;
|
|
9024
|
+
source?: {
|
|
9025
|
+
pointer?: string | undefined;
|
|
9026
|
+
parameter?: string | undefined;
|
|
9027
|
+
} | undefined;
|
|
9028
|
+
}[];
|
|
9029
|
+
meta?: Record<string, unknown> | undefined;
|
|
9030
|
+
}, {
|
|
9031
|
+
errors: {
|
|
9032
|
+
status?: string | undefined;
|
|
9033
|
+
code?: string | undefined;
|
|
9034
|
+
id?: string | undefined;
|
|
9035
|
+
links?: {
|
|
9036
|
+
about?: string | undefined;
|
|
9037
|
+
} | undefined;
|
|
9038
|
+
meta?: Record<string, unknown> | undefined;
|
|
9039
|
+
title?: string | undefined;
|
|
9040
|
+
detail?: string | undefined;
|
|
9041
|
+
source?: {
|
|
9042
|
+
pointer?: string | undefined;
|
|
9043
|
+
parameter?: string | undefined;
|
|
9044
|
+
} | undefined;
|
|
9045
|
+
}[];
|
|
9046
|
+
meta?: Record<string, unknown> | undefined;
|
|
9047
|
+
}>;
|
|
9048
|
+
404: z.ZodObject<{
|
|
9049
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
9050
|
+
id: z.ZodOptional<z.ZodString>;
|
|
9051
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
9052
|
+
about: z.ZodOptional<z.ZodString>;
|
|
9053
|
+
}, "strip", z.ZodTypeAny, {
|
|
9054
|
+
about?: string | undefined;
|
|
9055
|
+
}, {
|
|
9056
|
+
about?: string | undefined;
|
|
9057
|
+
}>>;
|
|
9058
|
+
status: z.ZodOptional<z.ZodString>;
|
|
9059
|
+
code: z.ZodOptional<z.ZodString>;
|
|
9060
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9061
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
9062
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
9063
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
9064
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
9065
|
+
}, "strip", z.ZodTypeAny, {
|
|
9066
|
+
pointer?: string | undefined;
|
|
9067
|
+
parameter?: string | undefined;
|
|
9068
|
+
}, {
|
|
9069
|
+
pointer?: string | undefined;
|
|
9070
|
+
parameter?: string | undefined;
|
|
9071
|
+
}>>;
|
|
9072
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9073
|
+
}, "strip", z.ZodTypeAny, {
|
|
9074
|
+
status?: string | undefined;
|
|
9075
|
+
code?: string | undefined;
|
|
9076
|
+
id?: string | undefined;
|
|
9077
|
+
links?: {
|
|
9078
|
+
about?: string | undefined;
|
|
9079
|
+
} | undefined;
|
|
9080
|
+
meta?: Record<string, unknown> | undefined;
|
|
9081
|
+
title?: string | undefined;
|
|
9082
|
+
detail?: string | undefined;
|
|
9083
|
+
source?: {
|
|
9084
|
+
pointer?: string | undefined;
|
|
9085
|
+
parameter?: string | undefined;
|
|
9086
|
+
} | undefined;
|
|
9087
|
+
}, {
|
|
9088
|
+
status?: string | undefined;
|
|
9089
|
+
code?: string | undefined;
|
|
9090
|
+
id?: string | undefined;
|
|
9091
|
+
links?: {
|
|
9092
|
+
about?: string | undefined;
|
|
9093
|
+
} | undefined;
|
|
9094
|
+
meta?: Record<string, unknown> | undefined;
|
|
9095
|
+
title?: string | undefined;
|
|
9096
|
+
detail?: string | undefined;
|
|
9097
|
+
source?: {
|
|
9098
|
+
pointer?: string | undefined;
|
|
9099
|
+
parameter?: string | undefined;
|
|
9100
|
+
} | undefined;
|
|
9101
|
+
}>, "many">;
|
|
9102
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9103
|
+
}, "strip", z.ZodTypeAny, {
|
|
9104
|
+
errors: {
|
|
9105
|
+
status?: string | undefined;
|
|
9106
|
+
code?: string | undefined;
|
|
9107
|
+
id?: string | undefined;
|
|
9108
|
+
links?: {
|
|
9109
|
+
about?: string | undefined;
|
|
9110
|
+
} | undefined;
|
|
9111
|
+
meta?: Record<string, unknown> | undefined;
|
|
9112
|
+
title?: string | undefined;
|
|
9113
|
+
detail?: string | undefined;
|
|
9114
|
+
source?: {
|
|
9115
|
+
pointer?: string | undefined;
|
|
9116
|
+
parameter?: string | undefined;
|
|
9117
|
+
} | undefined;
|
|
9118
|
+
}[];
|
|
9119
|
+
meta?: Record<string, unknown> | undefined;
|
|
9120
|
+
}, {
|
|
9121
|
+
errors: {
|
|
9122
|
+
status?: string | undefined;
|
|
9123
|
+
code?: string | undefined;
|
|
9124
|
+
id?: string | undefined;
|
|
9125
|
+
links?: {
|
|
9126
|
+
about?: string | undefined;
|
|
9127
|
+
} | undefined;
|
|
9128
|
+
meta?: Record<string, unknown> | undefined;
|
|
9129
|
+
title?: string | undefined;
|
|
9130
|
+
detail?: string | undefined;
|
|
9131
|
+
source?: {
|
|
9132
|
+
pointer?: string | undefined;
|
|
9133
|
+
parameter?: string | undefined;
|
|
9134
|
+
} | undefined;
|
|
9135
|
+
}[];
|
|
9136
|
+
meta?: Record<string, unknown> | undefined;
|
|
9137
|
+
}>;
|
|
9138
|
+
401: z.ZodObject<{
|
|
9139
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
9140
|
+
id: z.ZodOptional<z.ZodString>;
|
|
9141
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
9142
|
+
about: z.ZodOptional<z.ZodString>;
|
|
9143
|
+
}, "strip", z.ZodTypeAny, {
|
|
9144
|
+
about?: string | undefined;
|
|
9145
|
+
}, {
|
|
9146
|
+
about?: string | undefined;
|
|
9147
|
+
}>>;
|
|
9148
|
+
status: z.ZodOptional<z.ZodString>;
|
|
9149
|
+
code: z.ZodOptional<z.ZodString>;
|
|
9150
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9151
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
9152
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
9153
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
9154
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
9155
|
+
}, "strip", z.ZodTypeAny, {
|
|
9156
|
+
pointer?: string | undefined;
|
|
9157
|
+
parameter?: string | undefined;
|
|
9158
|
+
}, {
|
|
9159
|
+
pointer?: string | undefined;
|
|
9160
|
+
parameter?: string | undefined;
|
|
9161
|
+
}>>;
|
|
9162
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9163
|
+
}, "strip", z.ZodTypeAny, {
|
|
9164
|
+
status?: string | undefined;
|
|
9165
|
+
code?: string | undefined;
|
|
9166
|
+
id?: string | undefined;
|
|
9167
|
+
links?: {
|
|
9168
|
+
about?: string | undefined;
|
|
9169
|
+
} | undefined;
|
|
9170
|
+
meta?: Record<string, unknown> | undefined;
|
|
9171
|
+
title?: string | undefined;
|
|
9172
|
+
detail?: string | undefined;
|
|
9173
|
+
source?: {
|
|
9174
|
+
pointer?: string | undefined;
|
|
9175
|
+
parameter?: string | undefined;
|
|
9176
|
+
} | undefined;
|
|
9177
|
+
}, {
|
|
9178
|
+
status?: string | undefined;
|
|
9179
|
+
code?: string | undefined;
|
|
9180
|
+
id?: string | undefined;
|
|
9181
|
+
links?: {
|
|
9182
|
+
about?: string | undefined;
|
|
9183
|
+
} | undefined;
|
|
9184
|
+
meta?: Record<string, unknown> | undefined;
|
|
9185
|
+
title?: string | undefined;
|
|
9186
|
+
detail?: string | undefined;
|
|
9187
|
+
source?: {
|
|
9188
|
+
pointer?: string | undefined;
|
|
9189
|
+
parameter?: string | undefined;
|
|
9190
|
+
} | undefined;
|
|
9191
|
+
}>, "many">;
|
|
9192
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9193
|
+
}, "strip", z.ZodTypeAny, {
|
|
9194
|
+
errors: {
|
|
9195
|
+
status?: string | undefined;
|
|
9196
|
+
code?: string | undefined;
|
|
9197
|
+
id?: string | undefined;
|
|
9198
|
+
links?: {
|
|
9199
|
+
about?: string | undefined;
|
|
9200
|
+
} | undefined;
|
|
9201
|
+
meta?: Record<string, unknown> | undefined;
|
|
9202
|
+
title?: string | undefined;
|
|
9203
|
+
detail?: string | undefined;
|
|
9204
|
+
source?: {
|
|
9205
|
+
pointer?: string | undefined;
|
|
9206
|
+
parameter?: string | undefined;
|
|
9207
|
+
} | undefined;
|
|
9208
|
+
}[];
|
|
9209
|
+
meta?: Record<string, unknown> | undefined;
|
|
9210
|
+
}, {
|
|
9211
|
+
errors: {
|
|
9212
|
+
status?: string | undefined;
|
|
9213
|
+
code?: string | undefined;
|
|
9214
|
+
id?: string | undefined;
|
|
9215
|
+
links?: {
|
|
9216
|
+
about?: string | undefined;
|
|
9217
|
+
} | undefined;
|
|
9218
|
+
meta?: Record<string, unknown> | undefined;
|
|
9219
|
+
title?: string | undefined;
|
|
9220
|
+
detail?: string | undefined;
|
|
9221
|
+
source?: {
|
|
9222
|
+
pointer?: string | undefined;
|
|
9223
|
+
parameter?: string | undefined;
|
|
9224
|
+
} | undefined;
|
|
9225
|
+
}[];
|
|
9226
|
+
meta?: Record<string, unknown> | undefined;
|
|
9227
|
+
}>;
|
|
9228
|
+
422: z.ZodObject<{
|
|
9229
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
9230
|
+
id: z.ZodOptional<z.ZodString>;
|
|
9231
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
9232
|
+
about: z.ZodOptional<z.ZodString>;
|
|
9233
|
+
}, "strip", z.ZodTypeAny, {
|
|
9234
|
+
about?: string | undefined;
|
|
9235
|
+
}, {
|
|
9236
|
+
about?: string | undefined;
|
|
9237
|
+
}>>;
|
|
9238
|
+
status: z.ZodOptional<z.ZodString>;
|
|
9239
|
+
code: z.ZodOptional<z.ZodString>;
|
|
9240
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9241
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
9242
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
9243
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
9244
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
9245
|
+
}, "strip", z.ZodTypeAny, {
|
|
9246
|
+
pointer?: string | undefined;
|
|
9247
|
+
parameter?: string | undefined;
|
|
9248
|
+
}, {
|
|
9249
|
+
pointer?: string | undefined;
|
|
9250
|
+
parameter?: string | undefined;
|
|
9251
|
+
}>>;
|
|
9252
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9253
|
+
}, "strip", z.ZodTypeAny, {
|
|
9254
|
+
status?: string | undefined;
|
|
9255
|
+
code?: string | undefined;
|
|
9256
|
+
id?: string | undefined;
|
|
9257
|
+
links?: {
|
|
9258
|
+
about?: string | undefined;
|
|
9259
|
+
} | undefined;
|
|
9260
|
+
meta?: Record<string, unknown> | undefined;
|
|
9261
|
+
title?: string | undefined;
|
|
9262
|
+
detail?: string | undefined;
|
|
9263
|
+
source?: {
|
|
9264
|
+
pointer?: string | undefined;
|
|
9265
|
+
parameter?: string | undefined;
|
|
9266
|
+
} | undefined;
|
|
9267
|
+
}, {
|
|
9268
|
+
status?: string | undefined;
|
|
9269
|
+
code?: string | undefined;
|
|
9270
|
+
id?: string | undefined;
|
|
9271
|
+
links?: {
|
|
9272
|
+
about?: string | undefined;
|
|
9273
|
+
} | undefined;
|
|
9274
|
+
meta?: Record<string, unknown> | undefined;
|
|
9275
|
+
title?: string | undefined;
|
|
9276
|
+
detail?: string | undefined;
|
|
9277
|
+
source?: {
|
|
9278
|
+
pointer?: string | undefined;
|
|
9279
|
+
parameter?: string | undefined;
|
|
9280
|
+
} | undefined;
|
|
9281
|
+
}>, "many">;
|
|
9282
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9283
|
+
}, "strip", z.ZodTypeAny, {
|
|
9284
|
+
errors: {
|
|
9285
|
+
status?: string | undefined;
|
|
9286
|
+
code?: string | undefined;
|
|
9287
|
+
id?: string | undefined;
|
|
9288
|
+
links?: {
|
|
9289
|
+
about?: string | undefined;
|
|
9290
|
+
} | undefined;
|
|
9291
|
+
meta?: Record<string, unknown> | undefined;
|
|
9292
|
+
title?: string | undefined;
|
|
9293
|
+
detail?: string | undefined;
|
|
9294
|
+
source?: {
|
|
9295
|
+
pointer?: string | undefined;
|
|
9296
|
+
parameter?: string | undefined;
|
|
9297
|
+
} | undefined;
|
|
9298
|
+
}[];
|
|
9299
|
+
meta?: Record<string, unknown> | undefined;
|
|
9300
|
+
}, {
|
|
9301
|
+
errors: {
|
|
9302
|
+
status?: string | undefined;
|
|
9303
|
+
code?: string | undefined;
|
|
9304
|
+
id?: string | undefined;
|
|
9305
|
+
links?: {
|
|
9306
|
+
about?: string | undefined;
|
|
9307
|
+
} | undefined;
|
|
9308
|
+
meta?: Record<string, unknown> | undefined;
|
|
9309
|
+
title?: string | undefined;
|
|
9310
|
+
detail?: string | undefined;
|
|
9311
|
+
source?: {
|
|
9312
|
+
pointer?: string | undefined;
|
|
9313
|
+
parameter?: string | undefined;
|
|
9314
|
+
} | undefined;
|
|
9315
|
+
}[];
|
|
9316
|
+
meta?: Record<string, unknown> | undefined;
|
|
9317
|
+
}>;
|
|
9318
|
+
};
|
|
9319
|
+
};
|
|
8650
9320
|
};
|
|
8651
9321
|
//# sourceMappingURL=livestock-groups.routes.d.ts.map
|