@deepintel-ltd/farmpro-contracts 1.22.2 → 1.22.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/routes/farm-enterprises.routes.d.ts +1909 -0
- package/dist/routes/farm-enterprises.routes.d.ts.map +1 -0
- package/dist/routes/farm-enterprises.routes.js +64 -0
- package/dist/routes/finance.routes.d.ts +188 -44
- package/dist/routes/finance.routes.d.ts.map +1 -1
- package/dist/routes/geofences.routes.d.ts +4 -4
- package/dist/routes/index.d.ts +2 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +2 -0
- package/dist/routes/livestock-groups.routes.d.ts +90 -90
- package/dist/routes/livestock-map.routes.d.ts +6 -6
- package/dist/routes/livestock.routes.d.ts +78 -78
- package/dist/schemas/farm-enterprises.schemas.d.ts +435 -0
- package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -0
- package/dist/schemas/farm-enterprises.schemas.js +39 -0
- package/dist/schemas/finance.schemas.d.ts +231 -55
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +18 -2
- package/dist/schemas/geofences.schemas.d.ts +8 -8
- package/dist/schemas/livestock-groups.schemas.d.ts +66 -66
- package/dist/schemas/livestock-map.schemas.d.ts +4 -4
- package/dist/schemas/livestock.schemas.d.ts +66 -66
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
52
52
|
location: string | null;
|
|
53
53
|
currency: string;
|
|
54
54
|
notes: string | null;
|
|
55
|
-
category: "
|
|
55
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
56
56
|
purchasePrice: number | null;
|
|
57
57
|
currentValue: number | null;
|
|
58
58
|
breed: string | null;
|
|
@@ -81,7 +81,7 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
81
81
|
farmId: string;
|
|
82
82
|
location: string | null;
|
|
83
83
|
notes: string | null;
|
|
84
|
-
category: "
|
|
84
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
85
85
|
purchasePrice: number | null;
|
|
86
86
|
currentValue: number | null;
|
|
87
87
|
breed: string | null;
|
|
@@ -132,7 +132,7 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
132
132
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
133
133
|
name: string;
|
|
134
134
|
currency: string;
|
|
135
|
-
category: "
|
|
135
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
136
136
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
137
137
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
138
138
|
description?: string | undefined;
|
|
@@ -155,7 +155,7 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
155
155
|
stockingDensity?: number | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
name: string;
|
|
158
|
-
category: "
|
|
158
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
159
159
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
160
160
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
161
161
|
description?: string | undefined;
|
|
@@ -211,7 +211,7 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
211
211
|
location?: string | null | undefined;
|
|
212
212
|
currency?: string | undefined;
|
|
213
213
|
notes?: string | null | undefined;
|
|
214
|
-
category?: "
|
|
214
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
215
215
|
purchasePrice?: number | null | undefined;
|
|
216
216
|
currentValue?: number | null | undefined;
|
|
217
217
|
breed?: string | null | undefined;
|
|
@@ -236,7 +236,7 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
236
236
|
location?: string | null | undefined;
|
|
237
237
|
currency?: string | undefined;
|
|
238
238
|
notes?: string | null | undefined;
|
|
239
|
-
category?: "
|
|
239
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
240
240
|
purchasePrice?: number | null | undefined;
|
|
241
241
|
currentValue?: number | null | undefined;
|
|
242
242
|
breed?: string | null | undefined;
|
|
@@ -288,6 +288,7 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
288
288
|
description: string | null;
|
|
289
289
|
currency: string;
|
|
290
290
|
notes: string | null;
|
|
291
|
+
groupId: string;
|
|
291
292
|
sampleCount: number | null;
|
|
292
293
|
cost: number | null;
|
|
293
294
|
recordDate: string;
|
|
@@ -297,7 +298,6 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
297
298
|
administeredBy: string | null;
|
|
298
299
|
vaccineName: string | null;
|
|
299
300
|
transactionValue: number | null;
|
|
300
|
-
groupId: string;
|
|
301
301
|
countChange: number | null;
|
|
302
302
|
affectedCount: number | null;
|
|
303
303
|
sampleWeight: number | null;
|
|
@@ -312,6 +312,7 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
312
312
|
updatedAt: string;
|
|
313
313
|
description: string | null;
|
|
314
314
|
notes: string | null;
|
|
315
|
+
groupId: string;
|
|
315
316
|
sampleCount: number | null;
|
|
316
317
|
cost: number | null;
|
|
317
318
|
recordDate: string;
|
|
@@ -321,7 +322,6 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
321
322
|
administeredBy: string | null;
|
|
322
323
|
vaccineName: string | null;
|
|
323
324
|
transactionValue: number | null;
|
|
324
|
-
groupId: string;
|
|
325
325
|
countChange: number | null;
|
|
326
326
|
affectedCount: number | null;
|
|
327
327
|
sampleWeight: number | null;
|
|
@@ -427,7 +427,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
427
427
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
428
428
|
name: string;
|
|
429
429
|
currency: string;
|
|
430
|
-
category: "
|
|
430
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
431
431
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
432
432
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
433
433
|
description?: string | undefined;
|
|
@@ -450,7 +450,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
450
450
|
stockingDensity?: number | undefined;
|
|
451
451
|
}, {
|
|
452
452
|
name: string;
|
|
453
|
-
category: "
|
|
453
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
454
454
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
455
455
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
456
456
|
description?: string | undefined;
|
|
@@ -480,7 +480,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
480
480
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
481
481
|
name: string;
|
|
482
482
|
currency: string;
|
|
483
|
-
category: "
|
|
483
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
484
484
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
485
485
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
486
486
|
description?: string | undefined;
|
|
@@ -506,7 +506,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
506
506
|
type: "livestock-groups";
|
|
507
507
|
attributes: {
|
|
508
508
|
name: string;
|
|
509
|
-
category: "
|
|
509
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
510
510
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
511
511
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
512
512
|
description?: string | undefined;
|
|
@@ -566,7 +566,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
566
566
|
location?: string | null | undefined;
|
|
567
567
|
currency?: string | undefined;
|
|
568
568
|
notes?: string | null | undefined;
|
|
569
|
-
category?: "
|
|
569
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
570
570
|
purchasePrice?: number | null | undefined;
|
|
571
571
|
currentValue?: number | null | undefined;
|
|
572
572
|
breed?: string | null | undefined;
|
|
@@ -591,7 +591,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
591
591
|
location?: string | null | undefined;
|
|
592
592
|
currency?: string | undefined;
|
|
593
593
|
notes?: string | null | undefined;
|
|
594
|
-
category?: "
|
|
594
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
595
595
|
purchasePrice?: number | null | undefined;
|
|
596
596
|
currentValue?: number | null | undefined;
|
|
597
597
|
breed?: string | null | undefined;
|
|
@@ -620,7 +620,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
620
620
|
location?: string | null | undefined;
|
|
621
621
|
currency?: string | undefined;
|
|
622
622
|
notes?: string | null | undefined;
|
|
623
|
-
category?: "
|
|
623
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
624
624
|
purchasePrice?: number | null | undefined;
|
|
625
625
|
currentValue?: number | null | undefined;
|
|
626
626
|
breed?: string | null | undefined;
|
|
@@ -649,7 +649,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
649
649
|
location?: string | null | undefined;
|
|
650
650
|
currency?: string | undefined;
|
|
651
651
|
notes?: string | null | undefined;
|
|
652
|
-
category?: "
|
|
652
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
653
653
|
purchasePrice?: number | null | undefined;
|
|
654
654
|
currentValue?: number | null | undefined;
|
|
655
655
|
breed?: string | null | undefined;
|
|
@@ -828,7 +828,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
828
828
|
location: string | null;
|
|
829
829
|
currency: string;
|
|
830
830
|
notes: string | null;
|
|
831
|
-
category: "
|
|
831
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
832
832
|
purchasePrice: number | null;
|
|
833
833
|
currentValue: number | null;
|
|
834
834
|
breed: string | null;
|
|
@@ -857,7 +857,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
857
857
|
farmId: string;
|
|
858
858
|
location: string | null;
|
|
859
859
|
notes: string | null;
|
|
860
|
-
category: "
|
|
860
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
861
861
|
purchasePrice: number | null;
|
|
862
862
|
currentValue: number | null;
|
|
863
863
|
breed: string | null;
|
|
@@ -895,7 +895,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
895
895
|
location: string | null;
|
|
896
896
|
currency: string;
|
|
897
897
|
notes: string | null;
|
|
898
|
-
category: "
|
|
898
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
899
899
|
purchasePrice: number | null;
|
|
900
900
|
currentValue: number | null;
|
|
901
901
|
breed: string | null;
|
|
@@ -931,7 +931,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
931
931
|
farmId: string;
|
|
932
932
|
location: string | null;
|
|
933
933
|
notes: string | null;
|
|
934
|
-
category: "
|
|
934
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
935
935
|
purchasePrice: number | null;
|
|
936
936
|
currentValue: number | null;
|
|
937
937
|
breed: string | null;
|
|
@@ -993,6 +993,7 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
993
993
|
description: string | null;
|
|
994
994
|
currency: string;
|
|
995
995
|
notes: string | null;
|
|
996
|
+
groupId: string;
|
|
996
997
|
sampleCount: number | null;
|
|
997
998
|
cost: number | null;
|
|
998
999
|
recordDate: string;
|
|
@@ -1002,7 +1003,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1002
1003
|
administeredBy: string | null;
|
|
1003
1004
|
vaccineName: string | null;
|
|
1004
1005
|
transactionValue: number | null;
|
|
1005
|
-
groupId: string;
|
|
1006
1006
|
countChange: number | null;
|
|
1007
1007
|
affectedCount: number | null;
|
|
1008
1008
|
sampleWeight: number | null;
|
|
@@ -1017,6 +1017,7 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1017
1017
|
updatedAt: string;
|
|
1018
1018
|
description: string | null;
|
|
1019
1019
|
notes: string | null;
|
|
1020
|
+
groupId: string;
|
|
1020
1021
|
sampleCount: number | null;
|
|
1021
1022
|
cost: number | null;
|
|
1022
1023
|
recordDate: string;
|
|
@@ -1026,7 +1027,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1026
1027
|
administeredBy: string | null;
|
|
1027
1028
|
vaccineName: string | null;
|
|
1028
1029
|
transactionValue: number | null;
|
|
1029
|
-
groupId: string;
|
|
1030
1030
|
countChange: number | null;
|
|
1031
1031
|
affectedCount: number | null;
|
|
1032
1032
|
sampleWeight: number | null;
|
|
@@ -1050,6 +1050,7 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1050
1050
|
description: string | null;
|
|
1051
1051
|
currency: string;
|
|
1052
1052
|
notes: string | null;
|
|
1053
|
+
groupId: string;
|
|
1053
1054
|
sampleCount: number | null;
|
|
1054
1055
|
cost: number | null;
|
|
1055
1056
|
recordDate: string;
|
|
@@ -1059,7 +1060,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1059
1060
|
administeredBy: string | null;
|
|
1060
1061
|
vaccineName: string | null;
|
|
1061
1062
|
transactionValue: number | null;
|
|
1062
|
-
groupId: string;
|
|
1063
1063
|
countChange: number | null;
|
|
1064
1064
|
affectedCount: number | null;
|
|
1065
1065
|
sampleWeight: number | null;
|
|
@@ -1081,6 +1081,7 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1081
1081
|
updatedAt: string;
|
|
1082
1082
|
description: string | null;
|
|
1083
1083
|
notes: string | null;
|
|
1084
|
+
groupId: string;
|
|
1084
1085
|
sampleCount: number | null;
|
|
1085
1086
|
cost: number | null;
|
|
1086
1087
|
recordDate: string;
|
|
@@ -1090,7 +1091,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1090
1091
|
administeredBy: string | null;
|
|
1091
1092
|
vaccineName: string | null;
|
|
1092
1093
|
transactionValue: number | null;
|
|
1093
|
-
groupId: string;
|
|
1094
1094
|
countChange: number | null;
|
|
1095
1095
|
affectedCount: number | null;
|
|
1096
1096
|
sampleWeight: number | null;
|
|
@@ -1150,7 +1150,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1150
1150
|
location: string | null;
|
|
1151
1151
|
currency: string;
|
|
1152
1152
|
notes: string | null;
|
|
1153
|
-
category: "
|
|
1153
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1154
1154
|
purchasePrice: number | null;
|
|
1155
1155
|
currentValue: number | null;
|
|
1156
1156
|
breed: string | null;
|
|
@@ -1179,7 +1179,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1179
1179
|
farmId: string;
|
|
1180
1180
|
location: string | null;
|
|
1181
1181
|
notes: string | null;
|
|
1182
|
-
category: "
|
|
1182
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1183
1183
|
purchasePrice: number | null;
|
|
1184
1184
|
currentValue: number | null;
|
|
1185
1185
|
breed: string | null;
|
|
@@ -1217,7 +1217,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1217
1217
|
location: string | null;
|
|
1218
1218
|
currency: string;
|
|
1219
1219
|
notes: string | null;
|
|
1220
|
-
category: "
|
|
1220
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1221
1221
|
purchasePrice: number | null;
|
|
1222
1222
|
currentValue: number | null;
|
|
1223
1223
|
breed: string | null;
|
|
@@ -1253,7 +1253,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1253
1253
|
farmId: string;
|
|
1254
1254
|
location: string | null;
|
|
1255
1255
|
notes: string | null;
|
|
1256
|
-
category: "
|
|
1256
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1257
1257
|
purchasePrice: number | null;
|
|
1258
1258
|
currentValue: number | null;
|
|
1259
1259
|
breed: string | null;
|
|
@@ -1317,7 +1317,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1317
1317
|
location: string | null;
|
|
1318
1318
|
currency: string;
|
|
1319
1319
|
notes: string | null;
|
|
1320
|
-
category: "
|
|
1320
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1321
1321
|
purchasePrice: number | null;
|
|
1322
1322
|
currentValue: number | null;
|
|
1323
1323
|
breed: string | null;
|
|
@@ -1365,7 +1365,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1365
1365
|
farmId: string;
|
|
1366
1366
|
location: string | null;
|
|
1367
1367
|
notes: string | null;
|
|
1368
|
-
category: "
|
|
1368
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1369
1369
|
purchasePrice: number | null;
|
|
1370
1370
|
currentValue: number | null;
|
|
1371
1371
|
breed: string | null;
|
|
@@ -1447,7 +1447,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1447
1447
|
location: string | null;
|
|
1448
1448
|
currency: string;
|
|
1449
1449
|
notes: string | null;
|
|
1450
|
-
category: "
|
|
1450
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1451
1451
|
purchasePrice: number | null;
|
|
1452
1452
|
currentValue: number | null;
|
|
1453
1453
|
breed: string | null;
|
|
@@ -1476,7 +1476,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1476
1476
|
farmId: string;
|
|
1477
1477
|
location: string | null;
|
|
1478
1478
|
notes: string | null;
|
|
1479
|
-
category: "
|
|
1479
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1480
1480
|
purchasePrice: number | null;
|
|
1481
1481
|
currentValue: number | null;
|
|
1482
1482
|
breed: string | null;
|
|
@@ -1514,7 +1514,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1514
1514
|
location: string | null;
|
|
1515
1515
|
currency: string;
|
|
1516
1516
|
notes: string | null;
|
|
1517
|
-
category: "
|
|
1517
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1518
1518
|
purchasePrice: number | null;
|
|
1519
1519
|
currentValue: number | null;
|
|
1520
1520
|
breed: string | null;
|
|
@@ -1550,7 +1550,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1550
1550
|
farmId: string;
|
|
1551
1551
|
location: string | null;
|
|
1552
1552
|
notes: string | null;
|
|
1553
|
-
category: "
|
|
1553
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1554
1554
|
purchasePrice: number | null;
|
|
1555
1555
|
currentValue: number | null;
|
|
1556
1556
|
breed: string | null;
|
|
@@ -1614,7 +1614,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1614
1614
|
location: string | null;
|
|
1615
1615
|
currency: string;
|
|
1616
1616
|
notes: string | null;
|
|
1617
|
-
category: "
|
|
1617
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1618
1618
|
purchasePrice: number | null;
|
|
1619
1619
|
currentValue: number | null;
|
|
1620
1620
|
breed: string | null;
|
|
@@ -1662,7 +1662,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1662
1662
|
farmId: string;
|
|
1663
1663
|
location: string | null;
|
|
1664
1664
|
notes: string | null;
|
|
1665
|
-
category: "
|
|
1665
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1666
1666
|
purchasePrice: number | null;
|
|
1667
1667
|
currentValue: number | null;
|
|
1668
1668
|
breed: string | null;
|
|
@@ -1736,6 +1736,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1736
1736
|
description: string | null;
|
|
1737
1737
|
currency: string;
|
|
1738
1738
|
notes: string | null;
|
|
1739
|
+
groupId: string;
|
|
1739
1740
|
sampleCount: number | null;
|
|
1740
1741
|
cost: number | null;
|
|
1741
1742
|
recordDate: string;
|
|
@@ -1745,7 +1746,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1745
1746
|
administeredBy: string | null;
|
|
1746
1747
|
vaccineName: string | null;
|
|
1747
1748
|
transactionValue: number | null;
|
|
1748
|
-
groupId: string;
|
|
1749
1749
|
countChange: number | null;
|
|
1750
1750
|
affectedCount: number | null;
|
|
1751
1751
|
sampleWeight: number | null;
|
|
@@ -1760,6 +1760,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1760
1760
|
updatedAt: string;
|
|
1761
1761
|
description: string | null;
|
|
1762
1762
|
notes: string | null;
|
|
1763
|
+
groupId: string;
|
|
1763
1764
|
sampleCount: number | null;
|
|
1764
1765
|
cost: number | null;
|
|
1765
1766
|
recordDate: string;
|
|
@@ -1769,7 +1770,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1769
1770
|
administeredBy: string | null;
|
|
1770
1771
|
vaccineName: string | null;
|
|
1771
1772
|
transactionValue: number | null;
|
|
1772
|
-
groupId: string;
|
|
1773
1773
|
countChange: number | null;
|
|
1774
1774
|
affectedCount: number | null;
|
|
1775
1775
|
sampleWeight: number | null;
|
|
@@ -1793,6 +1793,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1793
1793
|
description: string | null;
|
|
1794
1794
|
currency: string;
|
|
1795
1795
|
notes: string | null;
|
|
1796
|
+
groupId: string;
|
|
1796
1797
|
sampleCount: number | null;
|
|
1797
1798
|
cost: number | null;
|
|
1798
1799
|
recordDate: string;
|
|
@@ -1802,7 +1803,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1802
1803
|
administeredBy: string | null;
|
|
1803
1804
|
vaccineName: string | null;
|
|
1804
1805
|
transactionValue: number | null;
|
|
1805
|
-
groupId: string;
|
|
1806
1806
|
countChange: number | null;
|
|
1807
1807
|
affectedCount: number | null;
|
|
1808
1808
|
sampleWeight: number | null;
|
|
@@ -1824,6 +1824,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1824
1824
|
updatedAt: string;
|
|
1825
1825
|
description: string | null;
|
|
1826
1826
|
notes: string | null;
|
|
1827
|
+
groupId: string;
|
|
1827
1828
|
sampleCount: number | null;
|
|
1828
1829
|
cost: number | null;
|
|
1829
1830
|
recordDate: string;
|
|
@@ -1833,7 +1834,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1833
1834
|
administeredBy: string | null;
|
|
1834
1835
|
vaccineName: string | null;
|
|
1835
1836
|
transactionValue: number | null;
|
|
1836
|
-
groupId: string;
|
|
1837
1837
|
countChange: number | null;
|
|
1838
1838
|
affectedCount: number | null;
|
|
1839
1839
|
sampleWeight: number | null;
|
|
@@ -1883,6 +1883,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1883
1883
|
description: string | null;
|
|
1884
1884
|
currency: string;
|
|
1885
1885
|
notes: string | null;
|
|
1886
|
+
groupId: string;
|
|
1886
1887
|
sampleCount: number | null;
|
|
1887
1888
|
cost: number | null;
|
|
1888
1889
|
recordDate: string;
|
|
@@ -1892,7 +1893,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1892
1893
|
administeredBy: string | null;
|
|
1893
1894
|
vaccineName: string | null;
|
|
1894
1895
|
transactionValue: number | null;
|
|
1895
|
-
groupId: string;
|
|
1896
1896
|
countChange: number | null;
|
|
1897
1897
|
affectedCount: number | null;
|
|
1898
1898
|
sampleWeight: number | null;
|
|
@@ -1926,6 +1926,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1926
1926
|
updatedAt: string;
|
|
1927
1927
|
description: string | null;
|
|
1928
1928
|
notes: string | null;
|
|
1929
|
+
groupId: string;
|
|
1929
1930
|
sampleCount: number | null;
|
|
1930
1931
|
cost: number | null;
|
|
1931
1932
|
recordDate: string;
|
|
@@ -1935,7 +1936,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1935
1936
|
administeredBy: string | null;
|
|
1936
1937
|
vaccineName: string | null;
|
|
1937
1938
|
transactionValue: number | null;
|
|
1938
|
-
groupId: string;
|
|
1939
1939
|
countChange: number | null;
|
|
1940
1940
|
affectedCount: number | null;
|
|
1941
1941
|
sampleWeight: number | null;
|
|
@@ -1998,6 +1998,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
1998
1998
|
description: string | null;
|
|
1999
1999
|
currency: string;
|
|
2000
2000
|
notes: string | null;
|
|
2001
|
+
groupId: string;
|
|
2001
2002
|
sampleCount: number | null;
|
|
2002
2003
|
cost: number | null;
|
|
2003
2004
|
recordDate: string;
|
|
@@ -2007,7 +2008,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2007
2008
|
administeredBy: string | null;
|
|
2008
2009
|
vaccineName: string | null;
|
|
2009
2010
|
transactionValue: number | null;
|
|
2010
|
-
groupId: string;
|
|
2011
2011
|
countChange: number | null;
|
|
2012
2012
|
affectedCount: number | null;
|
|
2013
2013
|
sampleWeight: number | null;
|
|
@@ -2022,6 +2022,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2022
2022
|
updatedAt: string;
|
|
2023
2023
|
description: string | null;
|
|
2024
2024
|
notes: string | null;
|
|
2025
|
+
groupId: string;
|
|
2025
2026
|
sampleCount: number | null;
|
|
2026
2027
|
cost: number | null;
|
|
2027
2028
|
recordDate: string;
|
|
@@ -2031,7 +2032,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2031
2032
|
administeredBy: string | null;
|
|
2032
2033
|
vaccineName: string | null;
|
|
2033
2034
|
transactionValue: number | null;
|
|
2034
|
-
groupId: string;
|
|
2035
2035
|
countChange: number | null;
|
|
2036
2036
|
affectedCount: number | null;
|
|
2037
2037
|
sampleWeight: number | null;
|
|
@@ -2055,6 +2055,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2055
2055
|
description: string | null;
|
|
2056
2056
|
currency: string;
|
|
2057
2057
|
notes: string | null;
|
|
2058
|
+
groupId: string;
|
|
2058
2059
|
sampleCount: number | null;
|
|
2059
2060
|
cost: number | null;
|
|
2060
2061
|
recordDate: string;
|
|
@@ -2064,7 +2065,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2064
2065
|
administeredBy: string | null;
|
|
2065
2066
|
vaccineName: string | null;
|
|
2066
2067
|
transactionValue: number | null;
|
|
2067
|
-
groupId: string;
|
|
2068
2068
|
countChange: number | null;
|
|
2069
2069
|
affectedCount: number | null;
|
|
2070
2070
|
sampleWeight: number | null;
|
|
@@ -2086,6 +2086,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2086
2086
|
updatedAt: string;
|
|
2087
2087
|
description: string | null;
|
|
2088
2088
|
notes: string | null;
|
|
2089
|
+
groupId: string;
|
|
2089
2090
|
sampleCount: number | null;
|
|
2090
2091
|
cost: number | null;
|
|
2091
2092
|
recordDate: string;
|
|
@@ -2095,7 +2096,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2095
2096
|
administeredBy: string | null;
|
|
2096
2097
|
vaccineName: string | null;
|
|
2097
2098
|
transactionValue: number | null;
|
|
2098
|
-
groupId: string;
|
|
2099
2099
|
countChange: number | null;
|
|
2100
2100
|
affectedCount: number | null;
|
|
2101
2101
|
sampleWeight: number | null;
|
|
@@ -2145,6 +2145,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2145
2145
|
description: string | null;
|
|
2146
2146
|
currency: string;
|
|
2147
2147
|
notes: string | null;
|
|
2148
|
+
groupId: string;
|
|
2148
2149
|
sampleCount: number | null;
|
|
2149
2150
|
cost: number | null;
|
|
2150
2151
|
recordDate: string;
|
|
@@ -2154,7 +2155,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2154
2155
|
administeredBy: string | null;
|
|
2155
2156
|
vaccineName: string | null;
|
|
2156
2157
|
transactionValue: number | null;
|
|
2157
|
-
groupId: string;
|
|
2158
2158
|
countChange: number | null;
|
|
2159
2159
|
affectedCount: number | null;
|
|
2160
2160
|
sampleWeight: number | null;
|
|
@@ -2188,6 +2188,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2188
2188
|
updatedAt: string;
|
|
2189
2189
|
description: string | null;
|
|
2190
2190
|
notes: string | null;
|
|
2191
|
+
groupId: string;
|
|
2191
2192
|
sampleCount: number | null;
|
|
2192
2193
|
cost: number | null;
|
|
2193
2194
|
recordDate: string;
|
|
@@ -2197,7 +2198,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2197
2198
|
administeredBy: string | null;
|
|
2198
2199
|
vaccineName: string | null;
|
|
2199
2200
|
transactionValue: number | null;
|
|
2200
|
-
groupId: string;
|
|
2201
2201
|
countChange: number | null;
|
|
2202
2202
|
affectedCount: number | null;
|
|
2203
2203
|
sampleWeight: number | null;
|
|
@@ -2239,7 +2239,7 @@ export declare const groupStatsSchema: z.ZodObject<{
|
|
|
2239
2239
|
currency: string;
|
|
2240
2240
|
totalValue: number;
|
|
2241
2241
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2242
|
-
byCategory: Partial<Record<"
|
|
2242
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2243
2243
|
totalGroups: number;
|
|
2244
2244
|
totalAnimals: number;
|
|
2245
2245
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2251,7 +2251,7 @@ export declare const groupStatsSchema: z.ZodObject<{
|
|
|
2251
2251
|
currency: string;
|
|
2252
2252
|
totalValue: number;
|
|
2253
2253
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2254
|
-
byCategory: Partial<Record<"
|
|
2254
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2255
2255
|
totalGroups: number;
|
|
2256
2256
|
totalAnimals: number;
|
|
2257
2257
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2277,7 +2277,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2277
2277
|
currency: string;
|
|
2278
2278
|
totalValue: number;
|
|
2279
2279
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2280
|
-
byCategory: Partial<Record<"
|
|
2280
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2281
2281
|
totalGroups: number;
|
|
2282
2282
|
totalAnimals: number;
|
|
2283
2283
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2289,7 +2289,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2289
2289
|
currency: string;
|
|
2290
2290
|
totalValue: number;
|
|
2291
2291
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2292
|
-
byCategory: Partial<Record<"
|
|
2292
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2293
2293
|
totalGroups: number;
|
|
2294
2294
|
totalAnimals: number;
|
|
2295
2295
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2304,7 +2304,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2304
2304
|
currency: string;
|
|
2305
2305
|
totalValue: number;
|
|
2306
2306
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2307
|
-
byCategory: Partial<Record<"
|
|
2307
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2308
2308
|
totalGroups: number;
|
|
2309
2309
|
totalAnimals: number;
|
|
2310
2310
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2319,7 +2319,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2319
2319
|
currency: string;
|
|
2320
2320
|
totalValue: number;
|
|
2321
2321
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2322
|
-
byCategory: Partial<Record<"
|
|
2322
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2323
2323
|
totalGroups: number;
|
|
2324
2324
|
totalAnimals: number;
|
|
2325
2325
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2379,7 +2379,7 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2379
2379
|
}>, "many">>;
|
|
2380
2380
|
}, "strip", z.ZodTypeAny, {
|
|
2381
2381
|
currency: string;
|
|
2382
|
-
category: "
|
|
2382
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
2383
2383
|
sex: "MALE" | "FEMALE" | "UNKNOWN";
|
|
2384
2384
|
acquisitionType: "born" | "purchased" | "transferred" | "gifted";
|
|
2385
2385
|
entries?: {
|
|
@@ -2391,13 +2391,13 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2391
2391
|
}[] | undefined;
|
|
2392
2392
|
location?: string | undefined;
|
|
2393
2393
|
count?: number | undefined;
|
|
2394
|
+
groupId?: string | undefined;
|
|
2394
2395
|
purchasePrice?: number | undefined;
|
|
2395
2396
|
breed?: string | undefined;
|
|
2396
2397
|
acquisitionDate?: string | undefined;
|
|
2397
|
-
groupId?: string | undefined;
|
|
2398
2398
|
tagPrefix?: string | undefined;
|
|
2399
2399
|
}, {
|
|
2400
|
-
category: "
|
|
2400
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
2401
2401
|
entries?: {
|
|
2402
2402
|
tagId: string;
|
|
2403
2403
|
name?: string | undefined;
|
|
@@ -2408,19 +2408,19 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2408
2408
|
location?: string | undefined;
|
|
2409
2409
|
currency?: string | undefined;
|
|
2410
2410
|
count?: number | undefined;
|
|
2411
|
+
groupId?: string | undefined;
|
|
2411
2412
|
purchasePrice?: number | undefined;
|
|
2412
2413
|
breed?: string | undefined;
|
|
2413
2414
|
sex?: "MALE" | "FEMALE" | "UNKNOWN" | undefined;
|
|
2414
2415
|
acquisitionDate?: string | undefined;
|
|
2415
2416
|
acquisitionType?: "born" | "purchased" | "transferred" | "gifted" | undefined;
|
|
2416
|
-
groupId?: string | undefined;
|
|
2417
2417
|
tagPrefix?: string | undefined;
|
|
2418
2418
|
}>;
|
|
2419
2419
|
}, "strip", z.ZodTypeAny, {
|
|
2420
2420
|
type: "livestock-bulk";
|
|
2421
2421
|
attributes: {
|
|
2422
2422
|
currency: string;
|
|
2423
|
-
category: "
|
|
2423
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
2424
2424
|
sex: "MALE" | "FEMALE" | "UNKNOWN";
|
|
2425
2425
|
acquisitionType: "born" | "purchased" | "transferred" | "gifted";
|
|
2426
2426
|
entries?: {
|
|
@@ -2432,16 +2432,16 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2432
2432
|
}[] | undefined;
|
|
2433
2433
|
location?: string | undefined;
|
|
2434
2434
|
count?: number | undefined;
|
|
2435
|
+
groupId?: string | undefined;
|
|
2435
2436
|
purchasePrice?: number | undefined;
|
|
2436
2437
|
breed?: string | undefined;
|
|
2437
2438
|
acquisitionDate?: string | undefined;
|
|
2438
|
-
groupId?: string | undefined;
|
|
2439
2439
|
tagPrefix?: string | undefined;
|
|
2440
2440
|
};
|
|
2441
2441
|
}, {
|
|
2442
2442
|
type: "livestock-bulk";
|
|
2443
2443
|
attributes: {
|
|
2444
|
-
category: "
|
|
2444
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
2445
2445
|
entries?: {
|
|
2446
2446
|
tagId: string;
|
|
2447
2447
|
name?: string | undefined;
|
|
@@ -2452,12 +2452,12 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2452
2452
|
location?: string | undefined;
|
|
2453
2453
|
currency?: string | undefined;
|
|
2454
2454
|
count?: number | undefined;
|
|
2455
|
+
groupId?: string | undefined;
|
|
2455
2456
|
purchasePrice?: number | undefined;
|
|
2456
2457
|
breed?: string | undefined;
|
|
2457
2458
|
sex?: "MALE" | "FEMALE" | "UNKNOWN" | undefined;
|
|
2458
2459
|
acquisitionDate?: string | undefined;
|
|
2459
2460
|
acquisitionType?: "born" | "purchased" | "transferred" | "gifted" | undefined;
|
|
2460
|
-
groupId?: string | undefined;
|
|
2461
2461
|
tagPrefix?: string | undefined;
|
|
2462
2462
|
};
|
|
2463
2463
|
}>;
|
|
@@ -2484,6 +2484,7 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2484
2484
|
recordDate: string;
|
|
2485
2485
|
recordType: "other" | "vaccination" | "treatment" | "checkup" | "deworming" | "surgery";
|
|
2486
2486
|
notes?: string | undefined;
|
|
2487
|
+
groupId?: string | undefined;
|
|
2487
2488
|
cost?: number | undefined;
|
|
2488
2489
|
medication?: string | undefined;
|
|
2489
2490
|
dosage?: string | undefined;
|
|
@@ -2491,7 +2492,6 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2491
2492
|
vaccineName?: string | undefined;
|
|
2492
2493
|
batchNumber?: string | undefined;
|
|
2493
2494
|
nextDueDate?: string | undefined;
|
|
2494
|
-
groupId?: string | undefined;
|
|
2495
2495
|
livestockIds?: string[] | undefined;
|
|
2496
2496
|
}, {
|
|
2497
2497
|
description: string;
|
|
@@ -2499,6 +2499,7 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2499
2499
|
recordType: "other" | "vaccination" | "treatment" | "checkup" | "deworming" | "surgery";
|
|
2500
2500
|
currency?: string | undefined;
|
|
2501
2501
|
notes?: string | undefined;
|
|
2502
|
+
groupId?: string | undefined;
|
|
2502
2503
|
cost?: number | undefined;
|
|
2503
2504
|
medication?: string | undefined;
|
|
2504
2505
|
dosage?: string | undefined;
|
|
@@ -2506,7 +2507,6 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2506
2507
|
vaccineName?: string | undefined;
|
|
2507
2508
|
batchNumber?: string | undefined;
|
|
2508
2509
|
nextDueDate?: string | undefined;
|
|
2509
|
-
groupId?: string | undefined;
|
|
2510
2510
|
livestockIds?: string[] | undefined;
|
|
2511
2511
|
}>;
|
|
2512
2512
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2517,6 +2517,7 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2517
2517
|
recordDate: string;
|
|
2518
2518
|
recordType: "other" | "vaccination" | "treatment" | "checkup" | "deworming" | "surgery";
|
|
2519
2519
|
notes?: string | undefined;
|
|
2520
|
+
groupId?: string | undefined;
|
|
2520
2521
|
cost?: number | undefined;
|
|
2521
2522
|
medication?: string | undefined;
|
|
2522
2523
|
dosage?: string | undefined;
|
|
@@ -2524,7 +2525,6 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2524
2525
|
vaccineName?: string | undefined;
|
|
2525
2526
|
batchNumber?: string | undefined;
|
|
2526
2527
|
nextDueDate?: string | undefined;
|
|
2527
|
-
groupId?: string | undefined;
|
|
2528
2528
|
livestockIds?: string[] | undefined;
|
|
2529
2529
|
};
|
|
2530
2530
|
}, {
|
|
@@ -2535,6 +2535,7 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2535
2535
|
recordType: "other" | "vaccination" | "treatment" | "checkup" | "deworming" | "surgery";
|
|
2536
2536
|
currency?: string | undefined;
|
|
2537
2537
|
notes?: string | undefined;
|
|
2538
|
+
groupId?: string | undefined;
|
|
2538
2539
|
cost?: number | undefined;
|
|
2539
2540
|
medication?: string | undefined;
|
|
2540
2541
|
dosage?: string | undefined;
|
|
@@ -2542,7 +2543,6 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2542
2543
|
vaccineName?: string | undefined;
|
|
2543
2544
|
batchNumber?: string | undefined;
|
|
2544
2545
|
nextDueDate?: string | undefined;
|
|
2545
|
-
groupId?: string | undefined;
|
|
2546
2546
|
livestockIds?: string[] | undefined;
|
|
2547
2547
|
};
|
|
2548
2548
|
}>;
|