@deepintel-ltd/farmpro-contracts 1.22.2 → 1.22.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +398 -90
- package/dist/routes/livestock-groups.routes.d.ts.map +1 -1
- package/dist/routes/livestock-map.routes.d.ts +6 -6
- package/dist/routes/livestock.routes.d.ts +78 -78
- package/dist/routes/staff.routes.d.ts +84 -0
- package/dist/routes/staff.routes.d.ts.map +1 -1
- 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 +368 -66
- package/dist/schemas/livestock-groups.schemas.d.ts.map +1 -1
- package/dist/schemas/livestock-groups.schemas.js +22 -0
- package/dist/schemas/livestock-map.schemas.d.ts +4 -4
- package/dist/schemas/livestock.schemas.d.ts +66 -66
- package/dist/schemas/staff.schemas.d.ts +76 -0
- package/dist/schemas/staff.schemas.d.ts.map +1 -1
- package/dist/schemas/staff.schemas.js +6 -0
- package/package.json +1 -1
|
@@ -33,6 +33,10 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
33
33
|
mortalityRate: z.ZodNullable<z.ZodNumber>;
|
|
34
34
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
35
35
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
40
|
pondSize: z.ZodNullable<z.ZodNumber>;
|
|
37
41
|
stockingDensity: z.ZodNullable<z.ZodNumber>;
|
|
38
42
|
status: z.ZodEnum<["ACTIVE", "SOLD", "DEPLETED", "TRANSFERRED", "ARCHIVED"]>;
|
|
@@ -52,7 +56,7 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
52
56
|
location: string | null;
|
|
53
57
|
currency: string;
|
|
54
58
|
notes: string | null;
|
|
55
|
-
category: "
|
|
59
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
56
60
|
purchasePrice: number | null;
|
|
57
61
|
currentValue: number | null;
|
|
58
62
|
breed: string | null;
|
|
@@ -70,6 +74,10 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
70
74
|
eggProductionRate: number | null;
|
|
71
75
|
pondSize: number | null;
|
|
72
76
|
stockingDensity: number | null;
|
|
77
|
+
houseCode?: string | null | undefined;
|
|
78
|
+
stockType?: string | null | undefined;
|
|
79
|
+
placementDate?: string | null | undefined;
|
|
80
|
+
breedStandard?: string | null | undefined;
|
|
73
81
|
memberCount?: number | undefined;
|
|
74
82
|
batchRecordCount?: number | undefined;
|
|
75
83
|
}, {
|
|
@@ -81,7 +89,7 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
81
89
|
farmId: string;
|
|
82
90
|
location: string | null;
|
|
83
91
|
notes: string | null;
|
|
84
|
-
category: "
|
|
92
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
85
93
|
purchasePrice: number | null;
|
|
86
94
|
currentValue: number | null;
|
|
87
95
|
breed: string | null;
|
|
@@ -100,6 +108,10 @@ export declare const livestockGroupAttributesSchema: z.ZodObject<{
|
|
|
100
108
|
pondSize: number | null;
|
|
101
109
|
stockingDensity: number | null;
|
|
102
110
|
currency?: string | undefined;
|
|
111
|
+
houseCode?: string | null | undefined;
|
|
112
|
+
stockType?: string | null | undefined;
|
|
113
|
+
placementDate?: string | null | undefined;
|
|
114
|
+
breedStandard?: string | null | undefined;
|
|
103
115
|
memberCount?: number | undefined;
|
|
104
116
|
batchRecordCount?: number | undefined;
|
|
105
117
|
}>;
|
|
@@ -124,6 +136,10 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
124
136
|
mortalityRate: z.ZodOptional<z.ZodNumber>;
|
|
125
137
|
averageDailyGain: z.ZodOptional<z.ZodNumber>;
|
|
126
138
|
eggProductionRate: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
houseCode: z.ZodOptional<z.ZodString>;
|
|
140
|
+
stockType: z.ZodOptional<z.ZodEnum<["DOC", "POL"]>>;
|
|
141
|
+
placementDate: z.ZodOptional<z.ZodString>;
|
|
142
|
+
breedStandard: z.ZodOptional<z.ZodString>;
|
|
127
143
|
pondSize: z.ZodOptional<z.ZodNumber>;
|
|
128
144
|
stockingDensity: z.ZodOptional<z.ZodNumber>;
|
|
129
145
|
status: z.ZodDefault<z.ZodEnum<["ACTIVE", "SOLD", "DEPLETED", "TRANSFERRED", "ARCHIVED"]>>;
|
|
@@ -132,7 +148,7 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
132
148
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
133
149
|
name: string;
|
|
134
150
|
currency: string;
|
|
135
|
-
category: "
|
|
151
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
136
152
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
137
153
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
138
154
|
description?: string | undefined;
|
|
@@ -151,11 +167,15 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
151
167
|
mortalityRate?: number | undefined;
|
|
152
168
|
averageDailyGain?: number | undefined;
|
|
153
169
|
eggProductionRate?: number | undefined;
|
|
170
|
+
houseCode?: string | undefined;
|
|
171
|
+
stockType?: "DOC" | "POL" | undefined;
|
|
172
|
+
placementDate?: string | undefined;
|
|
173
|
+
breedStandard?: string | undefined;
|
|
154
174
|
pondSize?: number | undefined;
|
|
155
175
|
stockingDensity?: number | undefined;
|
|
156
176
|
}, {
|
|
157
177
|
name: string;
|
|
158
|
-
category: "
|
|
178
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
159
179
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
160
180
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
161
181
|
description?: string | undefined;
|
|
@@ -176,6 +196,10 @@ export declare const createLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
176
196
|
mortalityRate?: number | undefined;
|
|
177
197
|
averageDailyGain?: number | undefined;
|
|
178
198
|
eggProductionRate?: number | undefined;
|
|
199
|
+
houseCode?: string | undefined;
|
|
200
|
+
stockType?: "DOC" | "POL" | undefined;
|
|
201
|
+
placementDate?: string | undefined;
|
|
202
|
+
breedStandard?: string | undefined;
|
|
179
203
|
pondSize?: number | undefined;
|
|
180
204
|
stockingDensity?: number | undefined;
|
|
181
205
|
}>;
|
|
@@ -200,6 +224,10 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
200
224
|
mortalityRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
201
225
|
averageDailyGain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
202
226
|
eggProductionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
227
|
+
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
228
|
+
stockType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DOC", "POL"]>>>;
|
|
229
|
+
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
+
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
231
|
pondSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
204
232
|
stockingDensity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
205
233
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "SOLD", "DEPLETED", "TRANSFERRED", "ARCHIVED"]>>;
|
|
@@ -211,7 +239,7 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
211
239
|
location?: string | null | undefined;
|
|
212
240
|
currency?: string | undefined;
|
|
213
241
|
notes?: string | null | undefined;
|
|
214
|
-
category?: "
|
|
242
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
215
243
|
purchasePrice?: number | null | undefined;
|
|
216
244
|
currentValue?: number | null | undefined;
|
|
217
245
|
breed?: string | null | undefined;
|
|
@@ -227,6 +255,10 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
227
255
|
mortalityRate?: number | null | undefined;
|
|
228
256
|
averageDailyGain?: number | null | undefined;
|
|
229
257
|
eggProductionRate?: number | null | undefined;
|
|
258
|
+
houseCode?: string | null | undefined;
|
|
259
|
+
stockType?: "DOC" | "POL" | null | undefined;
|
|
260
|
+
placementDate?: string | null | undefined;
|
|
261
|
+
breedStandard?: string | null | undefined;
|
|
230
262
|
pondSize?: number | null | undefined;
|
|
231
263
|
stockingDensity?: number | null | undefined;
|
|
232
264
|
}, {
|
|
@@ -236,7 +268,7 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
236
268
|
location?: string | null | undefined;
|
|
237
269
|
currency?: string | undefined;
|
|
238
270
|
notes?: string | null | undefined;
|
|
239
|
-
category?: "
|
|
271
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
240
272
|
purchasePrice?: number | null | undefined;
|
|
241
273
|
currentValue?: number | null | undefined;
|
|
242
274
|
breed?: string | null | undefined;
|
|
@@ -252,6 +284,10 @@ export declare const updateLivestockGroupAttributesSchema: z.ZodObject<{
|
|
|
252
284
|
mortalityRate?: number | null | undefined;
|
|
253
285
|
averageDailyGain?: number | null | undefined;
|
|
254
286
|
eggProductionRate?: number | null | undefined;
|
|
287
|
+
houseCode?: string | null | undefined;
|
|
288
|
+
stockType?: "DOC" | "POL" | null | undefined;
|
|
289
|
+
placementDate?: string | null | undefined;
|
|
290
|
+
breedStandard?: string | null | undefined;
|
|
255
291
|
pondSize?: number | null | undefined;
|
|
256
292
|
stockingDensity?: number | null | undefined;
|
|
257
293
|
}>;
|
|
@@ -266,9 +302,14 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
266
302
|
sampleCount: z.ZodNullable<z.ZodNumber>;
|
|
267
303
|
eggCount: z.ZodNullable<z.ZodNumber>;
|
|
268
304
|
brokenEggs: z.ZodNullable<z.ZodNumber>;
|
|
305
|
+
crackedEggs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
306
|
+
wastedEggs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
307
|
+
mortalityReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
269
308
|
feedType: z.ZodNullable<z.ZodString>;
|
|
270
309
|
feedQuantity: z.ZodNullable<z.ZodNumber>;
|
|
271
310
|
feedUnit: z.ZodNullable<z.ZodString>;
|
|
311
|
+
waterQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
312
|
+
waterUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
272
313
|
medication: z.ZodNullable<z.ZodString>;
|
|
273
314
|
vaccineName: z.ZodNullable<z.ZodString>;
|
|
274
315
|
dosage: z.ZodNullable<z.ZodString>;
|
|
@@ -288,6 +329,7 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
288
329
|
description: string | null;
|
|
289
330
|
currency: string;
|
|
290
331
|
notes: string | null;
|
|
332
|
+
groupId: string;
|
|
291
333
|
sampleCount: number | null;
|
|
292
334
|
cost: number | null;
|
|
293
335
|
recordDate: string;
|
|
@@ -297,7 +339,6 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
297
339
|
administeredBy: string | null;
|
|
298
340
|
vaccineName: string | null;
|
|
299
341
|
transactionValue: number | null;
|
|
300
|
-
groupId: string;
|
|
301
342
|
countChange: number | null;
|
|
302
343
|
affectedCount: number | null;
|
|
303
344
|
sampleWeight: number | null;
|
|
@@ -306,12 +347,18 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
306
347
|
feedType: string | null;
|
|
307
348
|
feedQuantity: number | null;
|
|
308
349
|
feedUnit: string | null;
|
|
350
|
+
crackedEggs?: number | null | undefined;
|
|
351
|
+
wastedEggs?: number | null | undefined;
|
|
352
|
+
mortalityReason?: string | null | undefined;
|
|
353
|
+
waterQuantity?: number | null | undefined;
|
|
354
|
+
waterUnit?: string | null | undefined;
|
|
309
355
|
}, {
|
|
310
356
|
id: string;
|
|
311
357
|
createdAt: string;
|
|
312
358
|
updatedAt: string;
|
|
313
359
|
description: string | null;
|
|
314
360
|
notes: string | null;
|
|
361
|
+
groupId: string;
|
|
315
362
|
sampleCount: number | null;
|
|
316
363
|
cost: number | null;
|
|
317
364
|
recordDate: string;
|
|
@@ -321,7 +368,6 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
321
368
|
administeredBy: string | null;
|
|
322
369
|
vaccineName: string | null;
|
|
323
370
|
transactionValue: number | null;
|
|
324
|
-
groupId: string;
|
|
325
371
|
countChange: number | null;
|
|
326
372
|
affectedCount: number | null;
|
|
327
373
|
sampleWeight: number | null;
|
|
@@ -331,6 +377,11 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
331
377
|
feedQuantity: number | null;
|
|
332
378
|
feedUnit: string | null;
|
|
333
379
|
currency?: string | undefined;
|
|
380
|
+
crackedEggs?: number | null | undefined;
|
|
381
|
+
wastedEggs?: number | null | undefined;
|
|
382
|
+
mortalityReason?: string | null | undefined;
|
|
383
|
+
waterQuantity?: number | null | undefined;
|
|
384
|
+
waterUnit?: string | null | undefined;
|
|
334
385
|
}>;
|
|
335
386
|
export declare const createBatchRecordAttributesSchema: z.ZodObject<{
|
|
336
387
|
recordDate: z.ZodString;
|
|
@@ -341,9 +392,14 @@ export declare const createBatchRecordAttributesSchema: z.ZodObject<{
|
|
|
341
392
|
sampleCount: z.ZodOptional<z.ZodNumber>;
|
|
342
393
|
eggCount: z.ZodOptional<z.ZodNumber>;
|
|
343
394
|
brokenEggs: z.ZodOptional<z.ZodNumber>;
|
|
395
|
+
crackedEggs: z.ZodOptional<z.ZodNumber>;
|
|
396
|
+
wastedEggs: z.ZodOptional<z.ZodNumber>;
|
|
397
|
+
mortalityReason: z.ZodOptional<z.ZodEnum<["natural", "cull"]>>;
|
|
344
398
|
feedType: z.ZodOptional<z.ZodString>;
|
|
345
399
|
feedQuantity: z.ZodOptional<z.ZodNumber>;
|
|
346
400
|
feedUnit: z.ZodDefault<z.ZodString>;
|
|
401
|
+
waterQuantity: z.ZodOptional<z.ZodNumber>;
|
|
402
|
+
waterUnit: z.ZodOptional<z.ZodString>;
|
|
347
403
|
medication: z.ZodOptional<z.ZodString>;
|
|
348
404
|
vaccineName: z.ZodOptional<z.ZodString>;
|
|
349
405
|
dosage: z.ZodOptional<z.ZodString>;
|
|
@@ -372,8 +428,13 @@ export declare const createBatchRecordAttributesSchema: z.ZodObject<{
|
|
|
372
428
|
sampleWeight?: number | undefined;
|
|
373
429
|
eggCount?: number | undefined;
|
|
374
430
|
brokenEggs?: number | undefined;
|
|
431
|
+
crackedEggs?: number | undefined;
|
|
432
|
+
wastedEggs?: number | undefined;
|
|
433
|
+
mortalityReason?: "natural" | "cull" | undefined;
|
|
375
434
|
feedType?: string | undefined;
|
|
376
435
|
feedQuantity?: number | undefined;
|
|
436
|
+
waterQuantity?: number | undefined;
|
|
437
|
+
waterUnit?: string | undefined;
|
|
377
438
|
}, {
|
|
378
439
|
recordDate: string;
|
|
379
440
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -392,9 +453,14 @@ export declare const createBatchRecordAttributesSchema: z.ZodObject<{
|
|
|
392
453
|
sampleWeight?: number | undefined;
|
|
393
454
|
eggCount?: number | undefined;
|
|
394
455
|
brokenEggs?: number | undefined;
|
|
456
|
+
crackedEggs?: number | undefined;
|
|
457
|
+
wastedEggs?: number | undefined;
|
|
458
|
+
mortalityReason?: "natural" | "cull" | undefined;
|
|
395
459
|
feedType?: string | undefined;
|
|
396
460
|
feedQuantity?: number | undefined;
|
|
397
461
|
feedUnit?: string | undefined;
|
|
462
|
+
waterQuantity?: number | undefined;
|
|
463
|
+
waterUnit?: string | undefined;
|
|
398
464
|
}>;
|
|
399
465
|
export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
400
466
|
type: z.ZodLiteral<"livestock-groups">;
|
|
@@ -419,6 +485,10 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
419
485
|
mortalityRate: z.ZodOptional<z.ZodNumber>;
|
|
420
486
|
averageDailyGain: z.ZodOptional<z.ZodNumber>;
|
|
421
487
|
eggProductionRate: z.ZodOptional<z.ZodNumber>;
|
|
488
|
+
houseCode: z.ZodOptional<z.ZodString>;
|
|
489
|
+
stockType: z.ZodOptional<z.ZodEnum<["DOC", "POL"]>>;
|
|
490
|
+
placementDate: z.ZodOptional<z.ZodString>;
|
|
491
|
+
breedStandard: z.ZodOptional<z.ZodString>;
|
|
422
492
|
pondSize: z.ZodOptional<z.ZodNumber>;
|
|
423
493
|
stockingDensity: z.ZodOptional<z.ZodNumber>;
|
|
424
494
|
status: z.ZodDefault<z.ZodEnum<["ACTIVE", "SOLD", "DEPLETED", "TRANSFERRED", "ARCHIVED"]>>;
|
|
@@ -427,7 +497,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
427
497
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
428
498
|
name: string;
|
|
429
499
|
currency: string;
|
|
430
|
-
category: "
|
|
500
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
431
501
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
432
502
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
433
503
|
description?: string | undefined;
|
|
@@ -446,11 +516,15 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
446
516
|
mortalityRate?: number | undefined;
|
|
447
517
|
averageDailyGain?: number | undefined;
|
|
448
518
|
eggProductionRate?: number | undefined;
|
|
519
|
+
houseCode?: string | undefined;
|
|
520
|
+
stockType?: "DOC" | "POL" | undefined;
|
|
521
|
+
placementDate?: string | undefined;
|
|
522
|
+
breedStandard?: string | undefined;
|
|
449
523
|
pondSize?: number | undefined;
|
|
450
524
|
stockingDensity?: number | undefined;
|
|
451
525
|
}, {
|
|
452
526
|
name: string;
|
|
453
|
-
category: "
|
|
527
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
454
528
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
455
529
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
456
530
|
description?: string | undefined;
|
|
@@ -471,6 +545,10 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
471
545
|
mortalityRate?: number | undefined;
|
|
472
546
|
averageDailyGain?: number | undefined;
|
|
473
547
|
eggProductionRate?: number | undefined;
|
|
548
|
+
houseCode?: string | undefined;
|
|
549
|
+
stockType?: "DOC" | "POL" | undefined;
|
|
550
|
+
placementDate?: string | undefined;
|
|
551
|
+
breedStandard?: string | undefined;
|
|
474
552
|
pondSize?: number | undefined;
|
|
475
553
|
stockingDensity?: number | undefined;
|
|
476
554
|
}>;
|
|
@@ -480,7 +558,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
480
558
|
status: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED";
|
|
481
559
|
name: string;
|
|
482
560
|
currency: string;
|
|
483
|
-
category: "
|
|
561
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
484
562
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
485
563
|
trackingMode: "INDIVIDUAL" | "BATCH" | "HYBRID";
|
|
486
564
|
description?: string | undefined;
|
|
@@ -499,6 +577,10 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
499
577
|
mortalityRate?: number | undefined;
|
|
500
578
|
averageDailyGain?: number | undefined;
|
|
501
579
|
eggProductionRate?: number | undefined;
|
|
580
|
+
houseCode?: string | undefined;
|
|
581
|
+
stockType?: "DOC" | "POL" | undefined;
|
|
582
|
+
placementDate?: string | undefined;
|
|
583
|
+
breedStandard?: string | undefined;
|
|
502
584
|
pondSize?: number | undefined;
|
|
503
585
|
stockingDensity?: number | undefined;
|
|
504
586
|
};
|
|
@@ -506,7 +588,7 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
506
588
|
type: "livestock-groups";
|
|
507
589
|
attributes: {
|
|
508
590
|
name: string;
|
|
509
|
-
category: "
|
|
591
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
510
592
|
groupType: "BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM";
|
|
511
593
|
status?: "ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED" | undefined;
|
|
512
594
|
description?: string | undefined;
|
|
@@ -527,6 +609,10 @@ export declare const createLivestockGroupSchema: z.ZodObject<{
|
|
|
527
609
|
mortalityRate?: number | undefined;
|
|
528
610
|
averageDailyGain?: number | undefined;
|
|
529
611
|
eggProductionRate?: number | undefined;
|
|
612
|
+
houseCode?: string | undefined;
|
|
613
|
+
stockType?: "DOC" | "POL" | undefined;
|
|
614
|
+
placementDate?: string | undefined;
|
|
615
|
+
breedStandard?: string | undefined;
|
|
530
616
|
pondSize?: number | undefined;
|
|
531
617
|
stockingDensity?: number | undefined;
|
|
532
618
|
};
|
|
@@ -555,6 +641,10 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
555
641
|
mortalityRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
556
642
|
averageDailyGain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
557
643
|
eggProductionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
644
|
+
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
645
|
+
stockType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DOC", "POL"]>>>;
|
|
646
|
+
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
647
|
+
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
558
648
|
pondSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
559
649
|
stockingDensity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
560
650
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "SOLD", "DEPLETED", "TRANSFERRED", "ARCHIVED"]>>;
|
|
@@ -566,7 +656,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
566
656
|
location?: string | null | undefined;
|
|
567
657
|
currency?: string | undefined;
|
|
568
658
|
notes?: string | null | undefined;
|
|
569
|
-
category?: "
|
|
659
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
570
660
|
purchasePrice?: number | null | undefined;
|
|
571
661
|
currentValue?: number | null | undefined;
|
|
572
662
|
breed?: string | null | undefined;
|
|
@@ -582,6 +672,10 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
582
672
|
mortalityRate?: number | null | undefined;
|
|
583
673
|
averageDailyGain?: number | null | undefined;
|
|
584
674
|
eggProductionRate?: number | null | undefined;
|
|
675
|
+
houseCode?: string | null | undefined;
|
|
676
|
+
stockType?: "DOC" | "POL" | null | undefined;
|
|
677
|
+
placementDate?: string | null | undefined;
|
|
678
|
+
breedStandard?: string | null | undefined;
|
|
585
679
|
pondSize?: number | null | undefined;
|
|
586
680
|
stockingDensity?: number | null | undefined;
|
|
587
681
|
}, {
|
|
@@ -591,7 +685,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
591
685
|
location?: string | null | undefined;
|
|
592
686
|
currency?: string | undefined;
|
|
593
687
|
notes?: string | null | undefined;
|
|
594
|
-
category?: "
|
|
688
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
595
689
|
purchasePrice?: number | null | undefined;
|
|
596
690
|
currentValue?: number | null | undefined;
|
|
597
691
|
breed?: string | null | undefined;
|
|
@@ -607,6 +701,10 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
607
701
|
mortalityRate?: number | null | undefined;
|
|
608
702
|
averageDailyGain?: number | null | undefined;
|
|
609
703
|
eggProductionRate?: number | null | undefined;
|
|
704
|
+
houseCode?: string | null | undefined;
|
|
705
|
+
stockType?: "DOC" | "POL" | null | undefined;
|
|
706
|
+
placementDate?: string | null | undefined;
|
|
707
|
+
breedStandard?: string | null | undefined;
|
|
610
708
|
pondSize?: number | null | undefined;
|
|
611
709
|
stockingDensity?: number | null | undefined;
|
|
612
710
|
}>;
|
|
@@ -620,7 +718,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
620
718
|
location?: string | null | undefined;
|
|
621
719
|
currency?: string | undefined;
|
|
622
720
|
notes?: string | null | undefined;
|
|
623
|
-
category?: "
|
|
721
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
624
722
|
purchasePrice?: number | null | undefined;
|
|
625
723
|
currentValue?: number | null | undefined;
|
|
626
724
|
breed?: string | null | undefined;
|
|
@@ -636,6 +734,10 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
636
734
|
mortalityRate?: number | null | undefined;
|
|
637
735
|
averageDailyGain?: number | null | undefined;
|
|
638
736
|
eggProductionRate?: number | null | undefined;
|
|
737
|
+
houseCode?: string | null | undefined;
|
|
738
|
+
stockType?: "DOC" | "POL" | null | undefined;
|
|
739
|
+
placementDate?: string | null | undefined;
|
|
740
|
+
breedStandard?: string | null | undefined;
|
|
639
741
|
pondSize?: number | null | undefined;
|
|
640
742
|
stockingDensity?: number | null | undefined;
|
|
641
743
|
};
|
|
@@ -649,7 +751,7 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
649
751
|
location?: string | null | undefined;
|
|
650
752
|
currency?: string | undefined;
|
|
651
753
|
notes?: string | null | undefined;
|
|
652
|
-
category?: "
|
|
754
|
+
category?: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
653
755
|
purchasePrice?: number | null | undefined;
|
|
654
756
|
currentValue?: number | null | undefined;
|
|
655
757
|
breed?: string | null | undefined;
|
|
@@ -665,6 +767,10 @@ export declare const updateLivestockGroupSchema: z.ZodObject<{
|
|
|
665
767
|
mortalityRate?: number | null | undefined;
|
|
666
768
|
averageDailyGain?: number | null | undefined;
|
|
667
769
|
eggProductionRate?: number | null | undefined;
|
|
770
|
+
houseCode?: string | null | undefined;
|
|
771
|
+
stockType?: "DOC" | "POL" | null | undefined;
|
|
772
|
+
placementDate?: string | null | undefined;
|
|
773
|
+
breedStandard?: string | null | undefined;
|
|
668
774
|
pondSize?: number | null | undefined;
|
|
669
775
|
stockingDensity?: number | null | undefined;
|
|
670
776
|
};
|
|
@@ -680,9 +786,14 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
680
786
|
sampleCount: z.ZodOptional<z.ZodNumber>;
|
|
681
787
|
eggCount: z.ZodOptional<z.ZodNumber>;
|
|
682
788
|
brokenEggs: z.ZodOptional<z.ZodNumber>;
|
|
789
|
+
crackedEggs: z.ZodOptional<z.ZodNumber>;
|
|
790
|
+
wastedEggs: z.ZodOptional<z.ZodNumber>;
|
|
791
|
+
mortalityReason: z.ZodOptional<z.ZodEnum<["natural", "cull"]>>;
|
|
683
792
|
feedType: z.ZodOptional<z.ZodString>;
|
|
684
793
|
feedQuantity: z.ZodOptional<z.ZodNumber>;
|
|
685
794
|
feedUnit: z.ZodDefault<z.ZodString>;
|
|
795
|
+
waterQuantity: z.ZodOptional<z.ZodNumber>;
|
|
796
|
+
waterUnit: z.ZodOptional<z.ZodString>;
|
|
686
797
|
medication: z.ZodOptional<z.ZodString>;
|
|
687
798
|
vaccineName: z.ZodOptional<z.ZodString>;
|
|
688
799
|
dosage: z.ZodOptional<z.ZodString>;
|
|
@@ -711,8 +822,13 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
711
822
|
sampleWeight?: number | undefined;
|
|
712
823
|
eggCount?: number | undefined;
|
|
713
824
|
brokenEggs?: number | undefined;
|
|
825
|
+
crackedEggs?: number | undefined;
|
|
826
|
+
wastedEggs?: number | undefined;
|
|
827
|
+
mortalityReason?: "natural" | "cull" | undefined;
|
|
714
828
|
feedType?: string | undefined;
|
|
715
829
|
feedQuantity?: number | undefined;
|
|
830
|
+
waterQuantity?: number | undefined;
|
|
831
|
+
waterUnit?: string | undefined;
|
|
716
832
|
}, {
|
|
717
833
|
recordDate: string;
|
|
718
834
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -731,9 +847,14 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
731
847
|
sampleWeight?: number | undefined;
|
|
732
848
|
eggCount?: number | undefined;
|
|
733
849
|
brokenEggs?: number | undefined;
|
|
850
|
+
crackedEggs?: number | undefined;
|
|
851
|
+
wastedEggs?: number | undefined;
|
|
852
|
+
mortalityReason?: "natural" | "cull" | undefined;
|
|
734
853
|
feedType?: string | undefined;
|
|
735
854
|
feedQuantity?: number | undefined;
|
|
736
855
|
feedUnit?: string | undefined;
|
|
856
|
+
waterQuantity?: number | undefined;
|
|
857
|
+
waterUnit?: string | undefined;
|
|
737
858
|
}>;
|
|
738
859
|
}, "strip", z.ZodTypeAny, {
|
|
739
860
|
type: "batch-records";
|
|
@@ -756,8 +877,13 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
756
877
|
sampleWeight?: number | undefined;
|
|
757
878
|
eggCount?: number | undefined;
|
|
758
879
|
brokenEggs?: number | undefined;
|
|
880
|
+
crackedEggs?: number | undefined;
|
|
881
|
+
wastedEggs?: number | undefined;
|
|
882
|
+
mortalityReason?: "natural" | "cull" | undefined;
|
|
759
883
|
feedType?: string | undefined;
|
|
760
884
|
feedQuantity?: number | undefined;
|
|
885
|
+
waterQuantity?: number | undefined;
|
|
886
|
+
waterUnit?: string | undefined;
|
|
761
887
|
};
|
|
762
888
|
}, {
|
|
763
889
|
type: "batch-records";
|
|
@@ -779,9 +905,14 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
779
905
|
sampleWeight?: number | undefined;
|
|
780
906
|
eggCount?: number | undefined;
|
|
781
907
|
brokenEggs?: number | undefined;
|
|
908
|
+
crackedEggs?: number | undefined;
|
|
909
|
+
wastedEggs?: number | undefined;
|
|
910
|
+
mortalityReason?: "natural" | "cull" | undefined;
|
|
782
911
|
feedType?: string | undefined;
|
|
783
912
|
feedQuantity?: number | undefined;
|
|
784
913
|
feedUnit?: string | undefined;
|
|
914
|
+
waterQuantity?: number | undefined;
|
|
915
|
+
waterUnit?: string | undefined;
|
|
785
916
|
};
|
|
786
917
|
}>;
|
|
787
918
|
export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
@@ -809,6 +940,10 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
809
940
|
mortalityRate: z.ZodNullable<z.ZodNumber>;
|
|
810
941
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
811
942
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
943
|
+
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
944
|
+
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
945
|
+
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
946
|
+
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
812
947
|
pondSize: z.ZodNullable<z.ZodNumber>;
|
|
813
948
|
stockingDensity: z.ZodNullable<z.ZodNumber>;
|
|
814
949
|
status: z.ZodEnum<["ACTIVE", "SOLD", "DEPLETED", "TRANSFERRED", "ARCHIVED"]>;
|
|
@@ -828,7 +963,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
828
963
|
location: string | null;
|
|
829
964
|
currency: string;
|
|
830
965
|
notes: string | null;
|
|
831
|
-
category: "
|
|
966
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
832
967
|
purchasePrice: number | null;
|
|
833
968
|
currentValue: number | null;
|
|
834
969
|
breed: string | null;
|
|
@@ -846,6 +981,10 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
846
981
|
eggProductionRate: number | null;
|
|
847
982
|
pondSize: number | null;
|
|
848
983
|
stockingDensity: number | null;
|
|
984
|
+
houseCode?: string | null | undefined;
|
|
985
|
+
stockType?: string | null | undefined;
|
|
986
|
+
placementDate?: string | null | undefined;
|
|
987
|
+
breedStandard?: string | null | undefined;
|
|
849
988
|
memberCount?: number | undefined;
|
|
850
989
|
batchRecordCount?: number | undefined;
|
|
851
990
|
}, {
|
|
@@ -857,7 +996,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
857
996
|
farmId: string;
|
|
858
997
|
location: string | null;
|
|
859
998
|
notes: string | null;
|
|
860
|
-
category: "
|
|
999
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
861
1000
|
purchasePrice: number | null;
|
|
862
1001
|
currentValue: number | null;
|
|
863
1002
|
breed: string | null;
|
|
@@ -876,6 +1015,10 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
876
1015
|
pondSize: number | null;
|
|
877
1016
|
stockingDensity: number | null;
|
|
878
1017
|
currency?: string | undefined;
|
|
1018
|
+
houseCode?: string | null | undefined;
|
|
1019
|
+
stockType?: string | null | undefined;
|
|
1020
|
+
placementDate?: string | null | undefined;
|
|
1021
|
+
breedStandard?: string | null | undefined;
|
|
879
1022
|
memberCount?: number | undefined;
|
|
880
1023
|
batchRecordCount?: number | undefined;
|
|
881
1024
|
}>;
|
|
@@ -895,7 +1038,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
895
1038
|
location: string | null;
|
|
896
1039
|
currency: string;
|
|
897
1040
|
notes: string | null;
|
|
898
|
-
category: "
|
|
1041
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
899
1042
|
purchasePrice: number | null;
|
|
900
1043
|
currentValue: number | null;
|
|
901
1044
|
breed: string | null;
|
|
@@ -913,6 +1056,10 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
913
1056
|
eggProductionRate: number | null;
|
|
914
1057
|
pondSize: number | null;
|
|
915
1058
|
stockingDensity: number | null;
|
|
1059
|
+
houseCode?: string | null | undefined;
|
|
1060
|
+
stockType?: string | null | undefined;
|
|
1061
|
+
placementDate?: string | null | undefined;
|
|
1062
|
+
breedStandard?: string | null | undefined;
|
|
916
1063
|
memberCount?: number | undefined;
|
|
917
1064
|
batchRecordCount?: number | undefined;
|
|
918
1065
|
};
|
|
@@ -931,7 +1078,7 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
931
1078
|
farmId: string;
|
|
932
1079
|
location: string | null;
|
|
933
1080
|
notes: string | null;
|
|
934
|
-
category: "
|
|
1081
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
935
1082
|
purchasePrice: number | null;
|
|
936
1083
|
currentValue: number | null;
|
|
937
1084
|
breed: string | null;
|
|
@@ -950,6 +1097,10 @@ export declare const livestockGroupResourceSchema: z.ZodObject<{
|
|
|
950
1097
|
pondSize: number | null;
|
|
951
1098
|
stockingDensity: number | null;
|
|
952
1099
|
currency?: string | undefined;
|
|
1100
|
+
houseCode?: string | null | undefined;
|
|
1101
|
+
stockType?: string | null | undefined;
|
|
1102
|
+
placementDate?: string | null | undefined;
|
|
1103
|
+
breedStandard?: string | null | undefined;
|
|
953
1104
|
memberCount?: number | undefined;
|
|
954
1105
|
batchRecordCount?: number | undefined;
|
|
955
1106
|
};
|
|
@@ -971,9 +1122,14 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
971
1122
|
sampleCount: z.ZodNullable<z.ZodNumber>;
|
|
972
1123
|
eggCount: z.ZodNullable<z.ZodNumber>;
|
|
973
1124
|
brokenEggs: z.ZodNullable<z.ZodNumber>;
|
|
1125
|
+
crackedEggs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1126
|
+
wastedEggs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1127
|
+
mortalityReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
974
1128
|
feedType: z.ZodNullable<z.ZodString>;
|
|
975
1129
|
feedQuantity: z.ZodNullable<z.ZodNumber>;
|
|
976
1130
|
feedUnit: z.ZodNullable<z.ZodString>;
|
|
1131
|
+
waterQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1132
|
+
waterUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
977
1133
|
medication: z.ZodNullable<z.ZodString>;
|
|
978
1134
|
vaccineName: z.ZodNullable<z.ZodString>;
|
|
979
1135
|
dosage: z.ZodNullable<z.ZodString>;
|
|
@@ -993,6 +1149,7 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
993
1149
|
description: string | null;
|
|
994
1150
|
currency: string;
|
|
995
1151
|
notes: string | null;
|
|
1152
|
+
groupId: string;
|
|
996
1153
|
sampleCount: number | null;
|
|
997
1154
|
cost: number | null;
|
|
998
1155
|
recordDate: string;
|
|
@@ -1002,7 +1159,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1002
1159
|
administeredBy: string | null;
|
|
1003
1160
|
vaccineName: string | null;
|
|
1004
1161
|
transactionValue: number | null;
|
|
1005
|
-
groupId: string;
|
|
1006
1162
|
countChange: number | null;
|
|
1007
1163
|
affectedCount: number | null;
|
|
1008
1164
|
sampleWeight: number | null;
|
|
@@ -1011,12 +1167,18 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1011
1167
|
feedType: string | null;
|
|
1012
1168
|
feedQuantity: number | null;
|
|
1013
1169
|
feedUnit: string | null;
|
|
1170
|
+
crackedEggs?: number | null | undefined;
|
|
1171
|
+
wastedEggs?: number | null | undefined;
|
|
1172
|
+
mortalityReason?: string | null | undefined;
|
|
1173
|
+
waterQuantity?: number | null | undefined;
|
|
1174
|
+
waterUnit?: string | null | undefined;
|
|
1014
1175
|
}, {
|
|
1015
1176
|
id: string;
|
|
1016
1177
|
createdAt: string;
|
|
1017
1178
|
updatedAt: string;
|
|
1018
1179
|
description: string | null;
|
|
1019
1180
|
notes: string | null;
|
|
1181
|
+
groupId: string;
|
|
1020
1182
|
sampleCount: number | null;
|
|
1021
1183
|
cost: number | null;
|
|
1022
1184
|
recordDate: string;
|
|
@@ -1026,7 +1188,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1026
1188
|
administeredBy: string | null;
|
|
1027
1189
|
vaccineName: string | null;
|
|
1028
1190
|
transactionValue: number | null;
|
|
1029
|
-
groupId: string;
|
|
1030
1191
|
countChange: number | null;
|
|
1031
1192
|
affectedCount: number | null;
|
|
1032
1193
|
sampleWeight: number | null;
|
|
@@ -1036,6 +1197,11 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1036
1197
|
feedQuantity: number | null;
|
|
1037
1198
|
feedUnit: string | null;
|
|
1038
1199
|
currency?: string | undefined;
|
|
1200
|
+
crackedEggs?: number | null | undefined;
|
|
1201
|
+
wastedEggs?: number | null | undefined;
|
|
1202
|
+
mortalityReason?: string | null | undefined;
|
|
1203
|
+
waterQuantity?: number | null | undefined;
|
|
1204
|
+
waterUnit?: string | null | undefined;
|
|
1039
1205
|
}>;
|
|
1040
1206
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1041
1207
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1050,6 +1216,7 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1050
1216
|
description: string | null;
|
|
1051
1217
|
currency: string;
|
|
1052
1218
|
notes: string | null;
|
|
1219
|
+
groupId: string;
|
|
1053
1220
|
sampleCount: number | null;
|
|
1054
1221
|
cost: number | null;
|
|
1055
1222
|
recordDate: string;
|
|
@@ -1059,7 +1226,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1059
1226
|
administeredBy: string | null;
|
|
1060
1227
|
vaccineName: string | null;
|
|
1061
1228
|
transactionValue: number | null;
|
|
1062
|
-
groupId: string;
|
|
1063
1229
|
countChange: number | null;
|
|
1064
1230
|
affectedCount: number | null;
|
|
1065
1231
|
sampleWeight: number | null;
|
|
@@ -1068,6 +1234,11 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1068
1234
|
feedType: string | null;
|
|
1069
1235
|
feedQuantity: number | null;
|
|
1070
1236
|
feedUnit: string | null;
|
|
1237
|
+
crackedEggs?: number | null | undefined;
|
|
1238
|
+
wastedEggs?: number | null | undefined;
|
|
1239
|
+
mortalityReason?: string | null | undefined;
|
|
1240
|
+
waterQuantity?: number | null | undefined;
|
|
1241
|
+
waterUnit?: string | null | undefined;
|
|
1071
1242
|
};
|
|
1072
1243
|
relationships?: Record<string, unknown> | undefined;
|
|
1073
1244
|
links?: Record<string, string> | undefined;
|
|
@@ -1081,6 +1252,7 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1081
1252
|
updatedAt: string;
|
|
1082
1253
|
description: string | null;
|
|
1083
1254
|
notes: string | null;
|
|
1255
|
+
groupId: string;
|
|
1084
1256
|
sampleCount: number | null;
|
|
1085
1257
|
cost: number | null;
|
|
1086
1258
|
recordDate: string;
|
|
@@ -1090,7 +1262,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1090
1262
|
administeredBy: string | null;
|
|
1091
1263
|
vaccineName: string | null;
|
|
1092
1264
|
transactionValue: number | null;
|
|
1093
|
-
groupId: string;
|
|
1094
1265
|
countChange: number | null;
|
|
1095
1266
|
affectedCount: number | null;
|
|
1096
1267
|
sampleWeight: number | null;
|
|
@@ -1100,6 +1271,11 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1100
1271
|
feedQuantity: number | null;
|
|
1101
1272
|
feedUnit: string | null;
|
|
1102
1273
|
currency?: string | undefined;
|
|
1274
|
+
crackedEggs?: number | null | undefined;
|
|
1275
|
+
wastedEggs?: number | null | undefined;
|
|
1276
|
+
mortalityReason?: string | null | undefined;
|
|
1277
|
+
waterQuantity?: number | null | undefined;
|
|
1278
|
+
waterUnit?: string | null | undefined;
|
|
1103
1279
|
};
|
|
1104
1280
|
relationships?: Record<string, unknown> | undefined;
|
|
1105
1281
|
links?: Record<string, string> | undefined;
|
|
@@ -1131,6 +1307,10 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1131
1307
|
mortalityRate: z.ZodNullable<z.ZodNumber>;
|
|
1132
1308
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
1133
1309
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
1310
|
+
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1311
|
+
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1312
|
+
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1313
|
+
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1134
1314
|
pondSize: z.ZodNullable<z.ZodNumber>;
|
|
1135
1315
|
stockingDensity: z.ZodNullable<z.ZodNumber>;
|
|
1136
1316
|
status: z.ZodEnum<["ACTIVE", "SOLD", "DEPLETED", "TRANSFERRED", "ARCHIVED"]>;
|
|
@@ -1150,7 +1330,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1150
1330
|
location: string | null;
|
|
1151
1331
|
currency: string;
|
|
1152
1332
|
notes: string | null;
|
|
1153
|
-
category: "
|
|
1333
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1154
1334
|
purchasePrice: number | null;
|
|
1155
1335
|
currentValue: number | null;
|
|
1156
1336
|
breed: string | null;
|
|
@@ -1168,6 +1348,10 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1168
1348
|
eggProductionRate: number | null;
|
|
1169
1349
|
pondSize: number | null;
|
|
1170
1350
|
stockingDensity: number | null;
|
|
1351
|
+
houseCode?: string | null | undefined;
|
|
1352
|
+
stockType?: string | null | undefined;
|
|
1353
|
+
placementDate?: string | null | undefined;
|
|
1354
|
+
breedStandard?: string | null | undefined;
|
|
1171
1355
|
memberCount?: number | undefined;
|
|
1172
1356
|
batchRecordCount?: number | undefined;
|
|
1173
1357
|
}, {
|
|
@@ -1179,7 +1363,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1179
1363
|
farmId: string;
|
|
1180
1364
|
location: string | null;
|
|
1181
1365
|
notes: string | null;
|
|
1182
|
-
category: "
|
|
1366
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1183
1367
|
purchasePrice: number | null;
|
|
1184
1368
|
currentValue: number | null;
|
|
1185
1369
|
breed: string | null;
|
|
@@ -1198,6 +1382,10 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1198
1382
|
pondSize: number | null;
|
|
1199
1383
|
stockingDensity: number | null;
|
|
1200
1384
|
currency?: string | undefined;
|
|
1385
|
+
houseCode?: string | null | undefined;
|
|
1386
|
+
stockType?: string | null | undefined;
|
|
1387
|
+
placementDate?: string | null | undefined;
|
|
1388
|
+
breedStandard?: string | null | undefined;
|
|
1201
1389
|
memberCount?: number | undefined;
|
|
1202
1390
|
batchRecordCount?: number | undefined;
|
|
1203
1391
|
}>;
|
|
@@ -1217,7 +1405,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1217
1405
|
location: string | null;
|
|
1218
1406
|
currency: string;
|
|
1219
1407
|
notes: string | null;
|
|
1220
|
-
category: "
|
|
1408
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1221
1409
|
purchasePrice: number | null;
|
|
1222
1410
|
currentValue: number | null;
|
|
1223
1411
|
breed: string | null;
|
|
@@ -1235,6 +1423,10 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1235
1423
|
eggProductionRate: number | null;
|
|
1236
1424
|
pondSize: number | null;
|
|
1237
1425
|
stockingDensity: number | null;
|
|
1426
|
+
houseCode?: string | null | undefined;
|
|
1427
|
+
stockType?: string | null | undefined;
|
|
1428
|
+
placementDate?: string | null | undefined;
|
|
1429
|
+
breedStandard?: string | null | undefined;
|
|
1238
1430
|
memberCount?: number | undefined;
|
|
1239
1431
|
batchRecordCount?: number | undefined;
|
|
1240
1432
|
};
|
|
@@ -1253,7 +1445,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1253
1445
|
farmId: string;
|
|
1254
1446
|
location: string | null;
|
|
1255
1447
|
notes: string | null;
|
|
1256
|
-
category: "
|
|
1448
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1257
1449
|
purchasePrice: number | null;
|
|
1258
1450
|
currentValue: number | null;
|
|
1259
1451
|
breed: string | null;
|
|
@@ -1272,6 +1464,10 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1272
1464
|
pondSize: number | null;
|
|
1273
1465
|
stockingDensity: number | null;
|
|
1274
1466
|
currency?: string | undefined;
|
|
1467
|
+
houseCode?: string | null | undefined;
|
|
1468
|
+
stockType?: string | null | undefined;
|
|
1469
|
+
placementDate?: string | null | undefined;
|
|
1470
|
+
breedStandard?: string | null | undefined;
|
|
1275
1471
|
memberCount?: number | undefined;
|
|
1276
1472
|
batchRecordCount?: number | undefined;
|
|
1277
1473
|
};
|
|
@@ -1317,7 +1513,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1317
1513
|
location: string | null;
|
|
1318
1514
|
currency: string;
|
|
1319
1515
|
notes: string | null;
|
|
1320
|
-
category: "
|
|
1516
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1321
1517
|
purchasePrice: number | null;
|
|
1322
1518
|
currentValue: number | null;
|
|
1323
1519
|
breed: string | null;
|
|
@@ -1335,6 +1531,10 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1335
1531
|
eggProductionRate: number | null;
|
|
1336
1532
|
pondSize: number | null;
|
|
1337
1533
|
stockingDensity: number | null;
|
|
1534
|
+
houseCode?: string | null | undefined;
|
|
1535
|
+
stockType?: string | null | undefined;
|
|
1536
|
+
placementDate?: string | null | undefined;
|
|
1537
|
+
breedStandard?: string | null | undefined;
|
|
1338
1538
|
memberCount?: number | undefined;
|
|
1339
1539
|
batchRecordCount?: number | undefined;
|
|
1340
1540
|
};
|
|
@@ -1365,7 +1565,7 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1365
1565
|
farmId: string;
|
|
1366
1566
|
location: string | null;
|
|
1367
1567
|
notes: string | null;
|
|
1368
|
-
category: "
|
|
1568
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1369
1569
|
purchasePrice: number | null;
|
|
1370
1570
|
currentValue: number | null;
|
|
1371
1571
|
breed: string | null;
|
|
@@ -1384,6 +1584,10 @@ export declare const livestockGroupResponseSchema: z.ZodObject<{
|
|
|
1384
1584
|
pondSize: number | null;
|
|
1385
1585
|
stockingDensity: number | null;
|
|
1386
1586
|
currency?: string | undefined;
|
|
1587
|
+
houseCode?: string | null | undefined;
|
|
1588
|
+
stockType?: string | null | undefined;
|
|
1589
|
+
placementDate?: string | null | undefined;
|
|
1590
|
+
breedStandard?: string | null | undefined;
|
|
1387
1591
|
memberCount?: number | undefined;
|
|
1388
1592
|
batchRecordCount?: number | undefined;
|
|
1389
1593
|
};
|
|
@@ -1428,6 +1632,10 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1428
1632
|
mortalityRate: z.ZodNullable<z.ZodNumber>;
|
|
1429
1633
|
averageDailyGain: z.ZodNullable<z.ZodNumber>;
|
|
1430
1634
|
eggProductionRate: z.ZodNullable<z.ZodNumber>;
|
|
1635
|
+
houseCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1636
|
+
stockType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1637
|
+
placementDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1638
|
+
breedStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1431
1639
|
pondSize: z.ZodNullable<z.ZodNumber>;
|
|
1432
1640
|
stockingDensity: z.ZodNullable<z.ZodNumber>;
|
|
1433
1641
|
status: z.ZodEnum<["ACTIVE", "SOLD", "DEPLETED", "TRANSFERRED", "ARCHIVED"]>;
|
|
@@ -1447,7 +1655,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1447
1655
|
location: string | null;
|
|
1448
1656
|
currency: string;
|
|
1449
1657
|
notes: string | null;
|
|
1450
|
-
category: "
|
|
1658
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1451
1659
|
purchasePrice: number | null;
|
|
1452
1660
|
currentValue: number | null;
|
|
1453
1661
|
breed: string | null;
|
|
@@ -1465,6 +1673,10 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1465
1673
|
eggProductionRate: number | null;
|
|
1466
1674
|
pondSize: number | null;
|
|
1467
1675
|
stockingDensity: number | null;
|
|
1676
|
+
houseCode?: string | null | undefined;
|
|
1677
|
+
stockType?: string | null | undefined;
|
|
1678
|
+
placementDate?: string | null | undefined;
|
|
1679
|
+
breedStandard?: string | null | undefined;
|
|
1468
1680
|
memberCount?: number | undefined;
|
|
1469
1681
|
batchRecordCount?: number | undefined;
|
|
1470
1682
|
}, {
|
|
@@ -1476,7 +1688,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1476
1688
|
farmId: string;
|
|
1477
1689
|
location: string | null;
|
|
1478
1690
|
notes: string | null;
|
|
1479
|
-
category: "
|
|
1691
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1480
1692
|
purchasePrice: number | null;
|
|
1481
1693
|
currentValue: number | null;
|
|
1482
1694
|
breed: string | null;
|
|
@@ -1495,6 +1707,10 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1495
1707
|
pondSize: number | null;
|
|
1496
1708
|
stockingDensity: number | null;
|
|
1497
1709
|
currency?: string | undefined;
|
|
1710
|
+
houseCode?: string | null | undefined;
|
|
1711
|
+
stockType?: string | null | undefined;
|
|
1712
|
+
placementDate?: string | null | undefined;
|
|
1713
|
+
breedStandard?: string | null | undefined;
|
|
1498
1714
|
memberCount?: number | undefined;
|
|
1499
1715
|
batchRecordCount?: number | undefined;
|
|
1500
1716
|
}>;
|
|
@@ -1514,7 +1730,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1514
1730
|
location: string | null;
|
|
1515
1731
|
currency: string;
|
|
1516
1732
|
notes: string | null;
|
|
1517
|
-
category: "
|
|
1733
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1518
1734
|
purchasePrice: number | null;
|
|
1519
1735
|
currentValue: number | null;
|
|
1520
1736
|
breed: string | null;
|
|
@@ -1532,6 +1748,10 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1532
1748
|
eggProductionRate: number | null;
|
|
1533
1749
|
pondSize: number | null;
|
|
1534
1750
|
stockingDensity: number | null;
|
|
1751
|
+
houseCode?: string | null | undefined;
|
|
1752
|
+
stockType?: string | null | undefined;
|
|
1753
|
+
placementDate?: string | null | undefined;
|
|
1754
|
+
breedStandard?: string | null | undefined;
|
|
1535
1755
|
memberCount?: number | undefined;
|
|
1536
1756
|
batchRecordCount?: number | undefined;
|
|
1537
1757
|
};
|
|
@@ -1550,7 +1770,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1550
1770
|
farmId: string;
|
|
1551
1771
|
location: string | null;
|
|
1552
1772
|
notes: string | null;
|
|
1553
|
-
category: "
|
|
1773
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1554
1774
|
purchasePrice: number | null;
|
|
1555
1775
|
currentValue: number | null;
|
|
1556
1776
|
breed: string | null;
|
|
@@ -1569,6 +1789,10 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1569
1789
|
pondSize: number | null;
|
|
1570
1790
|
stockingDensity: number | null;
|
|
1571
1791
|
currency?: string | undefined;
|
|
1792
|
+
houseCode?: string | null | undefined;
|
|
1793
|
+
stockType?: string | null | undefined;
|
|
1794
|
+
placementDate?: string | null | undefined;
|
|
1795
|
+
breedStandard?: string | null | undefined;
|
|
1572
1796
|
memberCount?: number | undefined;
|
|
1573
1797
|
batchRecordCount?: number | undefined;
|
|
1574
1798
|
};
|
|
@@ -1614,7 +1838,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1614
1838
|
location: string | null;
|
|
1615
1839
|
currency: string;
|
|
1616
1840
|
notes: string | null;
|
|
1617
|
-
category: "
|
|
1841
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1618
1842
|
purchasePrice: number | null;
|
|
1619
1843
|
currentValue: number | null;
|
|
1620
1844
|
breed: string | null;
|
|
@@ -1632,6 +1856,10 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1632
1856
|
eggProductionRate: number | null;
|
|
1633
1857
|
pondSize: number | null;
|
|
1634
1858
|
stockingDensity: number | null;
|
|
1859
|
+
houseCode?: string | null | undefined;
|
|
1860
|
+
stockType?: string | null | undefined;
|
|
1861
|
+
placementDate?: string | null | undefined;
|
|
1862
|
+
breedStandard?: string | null | undefined;
|
|
1635
1863
|
memberCount?: number | undefined;
|
|
1636
1864
|
batchRecordCount?: number | undefined;
|
|
1637
1865
|
};
|
|
@@ -1662,7 +1890,7 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1662
1890
|
farmId: string;
|
|
1663
1891
|
location: string | null;
|
|
1664
1892
|
notes: string | null;
|
|
1665
|
-
category: "
|
|
1893
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
1666
1894
|
purchasePrice: number | null;
|
|
1667
1895
|
currentValue: number | null;
|
|
1668
1896
|
breed: string | null;
|
|
@@ -1681,6 +1909,10 @@ export declare const livestockGroupListResponseSchema: z.ZodObject<{
|
|
|
1681
1909
|
pondSize: number | null;
|
|
1682
1910
|
stockingDensity: number | null;
|
|
1683
1911
|
currency?: string | undefined;
|
|
1912
|
+
houseCode?: string | null | undefined;
|
|
1913
|
+
stockType?: string | null | undefined;
|
|
1914
|
+
placementDate?: string | null | undefined;
|
|
1915
|
+
breedStandard?: string | null | undefined;
|
|
1684
1916
|
memberCount?: number | undefined;
|
|
1685
1917
|
batchRecordCount?: number | undefined;
|
|
1686
1918
|
};
|
|
@@ -1714,9 +1946,14 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1714
1946
|
sampleCount: z.ZodNullable<z.ZodNumber>;
|
|
1715
1947
|
eggCount: z.ZodNullable<z.ZodNumber>;
|
|
1716
1948
|
brokenEggs: z.ZodNullable<z.ZodNumber>;
|
|
1949
|
+
crackedEggs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1950
|
+
wastedEggs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1951
|
+
mortalityReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1717
1952
|
feedType: z.ZodNullable<z.ZodString>;
|
|
1718
1953
|
feedQuantity: z.ZodNullable<z.ZodNumber>;
|
|
1719
1954
|
feedUnit: z.ZodNullable<z.ZodString>;
|
|
1955
|
+
waterQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1956
|
+
waterUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1720
1957
|
medication: z.ZodNullable<z.ZodString>;
|
|
1721
1958
|
vaccineName: z.ZodNullable<z.ZodString>;
|
|
1722
1959
|
dosage: z.ZodNullable<z.ZodString>;
|
|
@@ -1736,6 +1973,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1736
1973
|
description: string | null;
|
|
1737
1974
|
currency: string;
|
|
1738
1975
|
notes: string | null;
|
|
1976
|
+
groupId: string;
|
|
1739
1977
|
sampleCount: number | null;
|
|
1740
1978
|
cost: number | null;
|
|
1741
1979
|
recordDate: string;
|
|
@@ -1745,7 +1983,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1745
1983
|
administeredBy: string | null;
|
|
1746
1984
|
vaccineName: string | null;
|
|
1747
1985
|
transactionValue: number | null;
|
|
1748
|
-
groupId: string;
|
|
1749
1986
|
countChange: number | null;
|
|
1750
1987
|
affectedCount: number | null;
|
|
1751
1988
|
sampleWeight: number | null;
|
|
@@ -1754,12 +1991,18 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1754
1991
|
feedType: string | null;
|
|
1755
1992
|
feedQuantity: number | null;
|
|
1756
1993
|
feedUnit: string | null;
|
|
1994
|
+
crackedEggs?: number | null | undefined;
|
|
1995
|
+
wastedEggs?: number | null | undefined;
|
|
1996
|
+
mortalityReason?: string | null | undefined;
|
|
1997
|
+
waterQuantity?: number | null | undefined;
|
|
1998
|
+
waterUnit?: string | null | undefined;
|
|
1757
1999
|
}, {
|
|
1758
2000
|
id: string;
|
|
1759
2001
|
createdAt: string;
|
|
1760
2002
|
updatedAt: string;
|
|
1761
2003
|
description: string | null;
|
|
1762
2004
|
notes: string | null;
|
|
2005
|
+
groupId: string;
|
|
1763
2006
|
sampleCount: number | null;
|
|
1764
2007
|
cost: number | null;
|
|
1765
2008
|
recordDate: string;
|
|
@@ -1769,7 +2012,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1769
2012
|
administeredBy: string | null;
|
|
1770
2013
|
vaccineName: string | null;
|
|
1771
2014
|
transactionValue: number | null;
|
|
1772
|
-
groupId: string;
|
|
1773
2015
|
countChange: number | null;
|
|
1774
2016
|
affectedCount: number | null;
|
|
1775
2017
|
sampleWeight: number | null;
|
|
@@ -1779,6 +2021,11 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1779
2021
|
feedQuantity: number | null;
|
|
1780
2022
|
feedUnit: string | null;
|
|
1781
2023
|
currency?: string | undefined;
|
|
2024
|
+
crackedEggs?: number | null | undefined;
|
|
2025
|
+
wastedEggs?: number | null | undefined;
|
|
2026
|
+
mortalityReason?: string | null | undefined;
|
|
2027
|
+
waterQuantity?: number | null | undefined;
|
|
2028
|
+
waterUnit?: string | null | undefined;
|
|
1782
2029
|
}>;
|
|
1783
2030
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1784
2031
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1793,6 +2040,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1793
2040
|
description: string | null;
|
|
1794
2041
|
currency: string;
|
|
1795
2042
|
notes: string | null;
|
|
2043
|
+
groupId: string;
|
|
1796
2044
|
sampleCount: number | null;
|
|
1797
2045
|
cost: number | null;
|
|
1798
2046
|
recordDate: string;
|
|
@@ -1802,7 +2050,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1802
2050
|
administeredBy: string | null;
|
|
1803
2051
|
vaccineName: string | null;
|
|
1804
2052
|
transactionValue: number | null;
|
|
1805
|
-
groupId: string;
|
|
1806
2053
|
countChange: number | null;
|
|
1807
2054
|
affectedCount: number | null;
|
|
1808
2055
|
sampleWeight: number | null;
|
|
@@ -1811,6 +2058,11 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1811
2058
|
feedType: string | null;
|
|
1812
2059
|
feedQuantity: number | null;
|
|
1813
2060
|
feedUnit: string | null;
|
|
2061
|
+
crackedEggs?: number | null | undefined;
|
|
2062
|
+
wastedEggs?: number | null | undefined;
|
|
2063
|
+
mortalityReason?: string | null | undefined;
|
|
2064
|
+
waterQuantity?: number | null | undefined;
|
|
2065
|
+
waterUnit?: string | null | undefined;
|
|
1814
2066
|
};
|
|
1815
2067
|
relationships?: Record<string, unknown> | undefined;
|
|
1816
2068
|
links?: Record<string, string> | undefined;
|
|
@@ -1824,6 +2076,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1824
2076
|
updatedAt: string;
|
|
1825
2077
|
description: string | null;
|
|
1826
2078
|
notes: string | null;
|
|
2079
|
+
groupId: string;
|
|
1827
2080
|
sampleCount: number | null;
|
|
1828
2081
|
cost: number | null;
|
|
1829
2082
|
recordDate: string;
|
|
@@ -1833,7 +2086,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1833
2086
|
administeredBy: string | null;
|
|
1834
2087
|
vaccineName: string | null;
|
|
1835
2088
|
transactionValue: number | null;
|
|
1836
|
-
groupId: string;
|
|
1837
2089
|
countChange: number | null;
|
|
1838
2090
|
affectedCount: number | null;
|
|
1839
2091
|
sampleWeight: number | null;
|
|
@@ -1843,6 +2095,11 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1843
2095
|
feedQuantity: number | null;
|
|
1844
2096
|
feedUnit: string | null;
|
|
1845
2097
|
currency?: string | undefined;
|
|
2098
|
+
crackedEggs?: number | null | undefined;
|
|
2099
|
+
wastedEggs?: number | null | undefined;
|
|
2100
|
+
mortalityReason?: string | null | undefined;
|
|
2101
|
+
waterQuantity?: number | null | undefined;
|
|
2102
|
+
waterUnit?: string | null | undefined;
|
|
1846
2103
|
};
|
|
1847
2104
|
relationships?: Record<string, unknown> | undefined;
|
|
1848
2105
|
links?: Record<string, string> | undefined;
|
|
@@ -1883,6 +2140,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1883
2140
|
description: string | null;
|
|
1884
2141
|
currency: string;
|
|
1885
2142
|
notes: string | null;
|
|
2143
|
+
groupId: string;
|
|
1886
2144
|
sampleCount: number | null;
|
|
1887
2145
|
cost: number | null;
|
|
1888
2146
|
recordDate: string;
|
|
@@ -1892,7 +2150,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1892
2150
|
administeredBy: string | null;
|
|
1893
2151
|
vaccineName: string | null;
|
|
1894
2152
|
transactionValue: number | null;
|
|
1895
|
-
groupId: string;
|
|
1896
2153
|
countChange: number | null;
|
|
1897
2154
|
affectedCount: number | null;
|
|
1898
2155
|
sampleWeight: number | null;
|
|
@@ -1901,6 +2158,11 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1901
2158
|
feedType: string | null;
|
|
1902
2159
|
feedQuantity: number | null;
|
|
1903
2160
|
feedUnit: string | null;
|
|
2161
|
+
crackedEggs?: number | null | undefined;
|
|
2162
|
+
wastedEggs?: number | null | undefined;
|
|
2163
|
+
mortalityReason?: string | null | undefined;
|
|
2164
|
+
waterQuantity?: number | null | undefined;
|
|
2165
|
+
waterUnit?: string | null | undefined;
|
|
1904
2166
|
};
|
|
1905
2167
|
relationships?: Record<string, unknown> | undefined;
|
|
1906
2168
|
links?: Record<string, string> | undefined;
|
|
@@ -1926,6 +2188,7 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1926
2188
|
updatedAt: string;
|
|
1927
2189
|
description: string | null;
|
|
1928
2190
|
notes: string | null;
|
|
2191
|
+
groupId: string;
|
|
1929
2192
|
sampleCount: number | null;
|
|
1930
2193
|
cost: number | null;
|
|
1931
2194
|
recordDate: string;
|
|
@@ -1935,7 +2198,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1935
2198
|
administeredBy: string | null;
|
|
1936
2199
|
vaccineName: string | null;
|
|
1937
2200
|
transactionValue: number | null;
|
|
1938
|
-
groupId: string;
|
|
1939
2201
|
countChange: number | null;
|
|
1940
2202
|
affectedCount: number | null;
|
|
1941
2203
|
sampleWeight: number | null;
|
|
@@ -1945,6 +2207,11 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1945
2207
|
feedQuantity: number | null;
|
|
1946
2208
|
feedUnit: string | null;
|
|
1947
2209
|
currency?: string | undefined;
|
|
2210
|
+
crackedEggs?: number | null | undefined;
|
|
2211
|
+
wastedEggs?: number | null | undefined;
|
|
2212
|
+
mortalityReason?: string | null | undefined;
|
|
2213
|
+
waterQuantity?: number | null | undefined;
|
|
2214
|
+
waterUnit?: string | null | undefined;
|
|
1948
2215
|
};
|
|
1949
2216
|
relationships?: Record<string, unknown> | undefined;
|
|
1950
2217
|
links?: Record<string, string> | undefined;
|
|
@@ -1976,9 +2243,14 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
1976
2243
|
sampleCount: z.ZodNullable<z.ZodNumber>;
|
|
1977
2244
|
eggCount: z.ZodNullable<z.ZodNumber>;
|
|
1978
2245
|
brokenEggs: z.ZodNullable<z.ZodNumber>;
|
|
2246
|
+
crackedEggs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2247
|
+
wastedEggs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2248
|
+
mortalityReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1979
2249
|
feedType: z.ZodNullable<z.ZodString>;
|
|
1980
2250
|
feedQuantity: z.ZodNullable<z.ZodNumber>;
|
|
1981
2251
|
feedUnit: z.ZodNullable<z.ZodString>;
|
|
2252
|
+
waterQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2253
|
+
waterUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1982
2254
|
medication: z.ZodNullable<z.ZodString>;
|
|
1983
2255
|
vaccineName: z.ZodNullable<z.ZodString>;
|
|
1984
2256
|
dosage: z.ZodNullable<z.ZodString>;
|
|
@@ -1998,6 +2270,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
1998
2270
|
description: string | null;
|
|
1999
2271
|
currency: string;
|
|
2000
2272
|
notes: string | null;
|
|
2273
|
+
groupId: string;
|
|
2001
2274
|
sampleCount: number | null;
|
|
2002
2275
|
cost: number | null;
|
|
2003
2276
|
recordDate: string;
|
|
@@ -2007,7 +2280,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2007
2280
|
administeredBy: string | null;
|
|
2008
2281
|
vaccineName: string | null;
|
|
2009
2282
|
transactionValue: number | null;
|
|
2010
|
-
groupId: string;
|
|
2011
2283
|
countChange: number | null;
|
|
2012
2284
|
affectedCount: number | null;
|
|
2013
2285
|
sampleWeight: number | null;
|
|
@@ -2016,12 +2288,18 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2016
2288
|
feedType: string | null;
|
|
2017
2289
|
feedQuantity: number | null;
|
|
2018
2290
|
feedUnit: string | null;
|
|
2291
|
+
crackedEggs?: number | null | undefined;
|
|
2292
|
+
wastedEggs?: number | null | undefined;
|
|
2293
|
+
mortalityReason?: string | null | undefined;
|
|
2294
|
+
waterQuantity?: number | null | undefined;
|
|
2295
|
+
waterUnit?: string | null | undefined;
|
|
2019
2296
|
}, {
|
|
2020
2297
|
id: string;
|
|
2021
2298
|
createdAt: string;
|
|
2022
2299
|
updatedAt: string;
|
|
2023
2300
|
description: string | null;
|
|
2024
2301
|
notes: string | null;
|
|
2302
|
+
groupId: string;
|
|
2025
2303
|
sampleCount: number | null;
|
|
2026
2304
|
cost: number | null;
|
|
2027
2305
|
recordDate: string;
|
|
@@ -2031,7 +2309,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2031
2309
|
administeredBy: string | null;
|
|
2032
2310
|
vaccineName: string | null;
|
|
2033
2311
|
transactionValue: number | null;
|
|
2034
|
-
groupId: string;
|
|
2035
2312
|
countChange: number | null;
|
|
2036
2313
|
affectedCount: number | null;
|
|
2037
2314
|
sampleWeight: number | null;
|
|
@@ -2041,6 +2318,11 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2041
2318
|
feedQuantity: number | null;
|
|
2042
2319
|
feedUnit: string | null;
|
|
2043
2320
|
currency?: string | undefined;
|
|
2321
|
+
crackedEggs?: number | null | undefined;
|
|
2322
|
+
wastedEggs?: number | null | undefined;
|
|
2323
|
+
mortalityReason?: string | null | undefined;
|
|
2324
|
+
waterQuantity?: number | null | undefined;
|
|
2325
|
+
waterUnit?: string | null | undefined;
|
|
2044
2326
|
}>;
|
|
2045
2327
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2046
2328
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2055,6 +2337,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2055
2337
|
description: string | null;
|
|
2056
2338
|
currency: string;
|
|
2057
2339
|
notes: string | null;
|
|
2340
|
+
groupId: string;
|
|
2058
2341
|
sampleCount: number | null;
|
|
2059
2342
|
cost: number | null;
|
|
2060
2343
|
recordDate: string;
|
|
@@ -2064,7 +2347,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2064
2347
|
administeredBy: string | null;
|
|
2065
2348
|
vaccineName: string | null;
|
|
2066
2349
|
transactionValue: number | null;
|
|
2067
|
-
groupId: string;
|
|
2068
2350
|
countChange: number | null;
|
|
2069
2351
|
affectedCount: number | null;
|
|
2070
2352
|
sampleWeight: number | null;
|
|
@@ -2073,6 +2355,11 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2073
2355
|
feedType: string | null;
|
|
2074
2356
|
feedQuantity: number | null;
|
|
2075
2357
|
feedUnit: string | null;
|
|
2358
|
+
crackedEggs?: number | null | undefined;
|
|
2359
|
+
wastedEggs?: number | null | undefined;
|
|
2360
|
+
mortalityReason?: string | null | undefined;
|
|
2361
|
+
waterQuantity?: number | null | undefined;
|
|
2362
|
+
waterUnit?: string | null | undefined;
|
|
2076
2363
|
};
|
|
2077
2364
|
relationships?: Record<string, unknown> | undefined;
|
|
2078
2365
|
links?: Record<string, string> | undefined;
|
|
@@ -2086,6 +2373,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2086
2373
|
updatedAt: string;
|
|
2087
2374
|
description: string | null;
|
|
2088
2375
|
notes: string | null;
|
|
2376
|
+
groupId: string;
|
|
2089
2377
|
sampleCount: number | null;
|
|
2090
2378
|
cost: number | null;
|
|
2091
2379
|
recordDate: string;
|
|
@@ -2095,7 +2383,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2095
2383
|
administeredBy: string | null;
|
|
2096
2384
|
vaccineName: string | null;
|
|
2097
2385
|
transactionValue: number | null;
|
|
2098
|
-
groupId: string;
|
|
2099
2386
|
countChange: number | null;
|
|
2100
2387
|
affectedCount: number | null;
|
|
2101
2388
|
sampleWeight: number | null;
|
|
@@ -2105,6 +2392,11 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2105
2392
|
feedQuantity: number | null;
|
|
2106
2393
|
feedUnit: string | null;
|
|
2107
2394
|
currency?: string | undefined;
|
|
2395
|
+
crackedEggs?: number | null | undefined;
|
|
2396
|
+
wastedEggs?: number | null | undefined;
|
|
2397
|
+
mortalityReason?: string | null | undefined;
|
|
2398
|
+
waterQuantity?: number | null | undefined;
|
|
2399
|
+
waterUnit?: string | null | undefined;
|
|
2108
2400
|
};
|
|
2109
2401
|
relationships?: Record<string, unknown> | undefined;
|
|
2110
2402
|
links?: Record<string, string> | undefined;
|
|
@@ -2145,6 +2437,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2145
2437
|
description: string | null;
|
|
2146
2438
|
currency: string;
|
|
2147
2439
|
notes: string | null;
|
|
2440
|
+
groupId: string;
|
|
2148
2441
|
sampleCount: number | null;
|
|
2149
2442
|
cost: number | null;
|
|
2150
2443
|
recordDate: string;
|
|
@@ -2154,7 +2447,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2154
2447
|
administeredBy: string | null;
|
|
2155
2448
|
vaccineName: string | null;
|
|
2156
2449
|
transactionValue: number | null;
|
|
2157
|
-
groupId: string;
|
|
2158
2450
|
countChange: number | null;
|
|
2159
2451
|
affectedCount: number | null;
|
|
2160
2452
|
sampleWeight: number | null;
|
|
@@ -2163,6 +2455,11 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2163
2455
|
feedType: string | null;
|
|
2164
2456
|
feedQuantity: number | null;
|
|
2165
2457
|
feedUnit: string | null;
|
|
2458
|
+
crackedEggs?: number | null | undefined;
|
|
2459
|
+
wastedEggs?: number | null | undefined;
|
|
2460
|
+
mortalityReason?: string | null | undefined;
|
|
2461
|
+
waterQuantity?: number | null | undefined;
|
|
2462
|
+
waterUnit?: string | null | undefined;
|
|
2166
2463
|
};
|
|
2167
2464
|
relationships?: Record<string, unknown> | undefined;
|
|
2168
2465
|
links?: Record<string, string> | undefined;
|
|
@@ -2188,6 +2485,7 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2188
2485
|
updatedAt: string;
|
|
2189
2486
|
description: string | null;
|
|
2190
2487
|
notes: string | null;
|
|
2488
|
+
groupId: string;
|
|
2191
2489
|
sampleCount: number | null;
|
|
2192
2490
|
cost: number | null;
|
|
2193
2491
|
recordDate: string;
|
|
@@ -2197,7 +2495,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2197
2495
|
administeredBy: string | null;
|
|
2198
2496
|
vaccineName: string | null;
|
|
2199
2497
|
transactionValue: number | null;
|
|
2200
|
-
groupId: string;
|
|
2201
2498
|
countChange: number | null;
|
|
2202
2499
|
affectedCount: number | null;
|
|
2203
2500
|
sampleWeight: number | null;
|
|
@@ -2207,6 +2504,11 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2207
2504
|
feedQuantity: number | null;
|
|
2208
2505
|
feedUnit: string | null;
|
|
2209
2506
|
currency?: string | undefined;
|
|
2507
|
+
crackedEggs?: number | null | undefined;
|
|
2508
|
+
wastedEggs?: number | null | undefined;
|
|
2509
|
+
mortalityReason?: string | null | undefined;
|
|
2510
|
+
waterQuantity?: number | null | undefined;
|
|
2511
|
+
waterUnit?: string | null | undefined;
|
|
2210
2512
|
};
|
|
2211
2513
|
relationships?: Record<string, unknown> | undefined;
|
|
2212
2514
|
links?: Record<string, string> | undefined;
|
|
@@ -2239,7 +2541,7 @@ export declare const groupStatsSchema: z.ZodObject<{
|
|
|
2239
2541
|
currency: string;
|
|
2240
2542
|
totalValue: number;
|
|
2241
2543
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2242
|
-
byCategory: Partial<Record<"
|
|
2544
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2243
2545
|
totalGroups: number;
|
|
2244
2546
|
totalAnimals: number;
|
|
2245
2547
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2251,7 +2553,7 @@ export declare const groupStatsSchema: z.ZodObject<{
|
|
|
2251
2553
|
currency: string;
|
|
2252
2554
|
totalValue: number;
|
|
2253
2555
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2254
|
-
byCategory: Partial<Record<"
|
|
2556
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2255
2557
|
totalGroups: number;
|
|
2256
2558
|
totalAnimals: number;
|
|
2257
2559
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2277,7 +2579,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2277
2579
|
currency: string;
|
|
2278
2580
|
totalValue: number;
|
|
2279
2581
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2280
|
-
byCategory: Partial<Record<"
|
|
2582
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2281
2583
|
totalGroups: number;
|
|
2282
2584
|
totalAnimals: number;
|
|
2283
2585
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2289,7 +2591,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2289
2591
|
currency: string;
|
|
2290
2592
|
totalValue: number;
|
|
2291
2593
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2292
|
-
byCategory: Partial<Record<"
|
|
2594
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2293
2595
|
totalGroups: number;
|
|
2294
2596
|
totalAnimals: number;
|
|
2295
2597
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2304,7 +2606,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2304
2606
|
currency: string;
|
|
2305
2607
|
totalValue: number;
|
|
2306
2608
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2307
|
-
byCategory: Partial<Record<"
|
|
2609
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2308
2610
|
totalGroups: number;
|
|
2309
2611
|
totalAnimals: number;
|
|
2310
2612
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2319,7 +2621,7 @@ export declare const groupStatsResponseSchema: z.ZodObject<{
|
|
|
2319
2621
|
currency: string;
|
|
2320
2622
|
totalValue: number;
|
|
2321
2623
|
byStatus: Partial<Record<"ACTIVE" | "SOLD" | "TRANSFERRED" | "DEPLETED" | "ARCHIVED", number>>;
|
|
2322
|
-
byCategory: Partial<Record<"
|
|
2624
|
+
byCategory: Partial<Record<"POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT", number>>;
|
|
2323
2625
|
totalGroups: number;
|
|
2324
2626
|
totalAnimals: number;
|
|
2325
2627
|
byGroupType: Partial<Record<"BREEDING_HERD" | "FINISHING_HERD" | "LAYER_FLOCK" | "BROILER_BATCH" | "POND" | "CAGE" | "PEN" | "PASTURE" | "CUSTOM", number>>;
|
|
@@ -2379,7 +2681,7 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2379
2681
|
}>, "many">>;
|
|
2380
2682
|
}, "strip", z.ZodTypeAny, {
|
|
2381
2683
|
currency: string;
|
|
2382
|
-
category: "
|
|
2684
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
2383
2685
|
sex: "MALE" | "FEMALE" | "UNKNOWN";
|
|
2384
2686
|
acquisitionType: "born" | "purchased" | "transferred" | "gifted";
|
|
2385
2687
|
entries?: {
|
|
@@ -2391,13 +2693,13 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2391
2693
|
}[] | undefined;
|
|
2392
2694
|
location?: string | undefined;
|
|
2393
2695
|
count?: number | undefined;
|
|
2696
|
+
groupId?: string | undefined;
|
|
2394
2697
|
purchasePrice?: number | undefined;
|
|
2395
2698
|
breed?: string | undefined;
|
|
2396
2699
|
acquisitionDate?: string | undefined;
|
|
2397
|
-
groupId?: string | undefined;
|
|
2398
2700
|
tagPrefix?: string | undefined;
|
|
2399
2701
|
}, {
|
|
2400
|
-
category: "
|
|
2702
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
2401
2703
|
entries?: {
|
|
2402
2704
|
tagId: string;
|
|
2403
2705
|
name?: string | undefined;
|
|
@@ -2408,19 +2710,19 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2408
2710
|
location?: string | undefined;
|
|
2409
2711
|
currency?: string | undefined;
|
|
2410
2712
|
count?: number | undefined;
|
|
2713
|
+
groupId?: string | undefined;
|
|
2411
2714
|
purchasePrice?: number | undefined;
|
|
2412
2715
|
breed?: string | undefined;
|
|
2413
2716
|
sex?: "MALE" | "FEMALE" | "UNKNOWN" | undefined;
|
|
2414
2717
|
acquisitionDate?: string | undefined;
|
|
2415
2718
|
acquisitionType?: "born" | "purchased" | "transferred" | "gifted" | undefined;
|
|
2416
|
-
groupId?: string | undefined;
|
|
2417
2719
|
tagPrefix?: string | undefined;
|
|
2418
2720
|
}>;
|
|
2419
2721
|
}, "strip", z.ZodTypeAny, {
|
|
2420
2722
|
type: "livestock-bulk";
|
|
2421
2723
|
attributes: {
|
|
2422
2724
|
currency: string;
|
|
2423
|
-
category: "
|
|
2725
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
2424
2726
|
sex: "MALE" | "FEMALE" | "UNKNOWN";
|
|
2425
2727
|
acquisitionType: "born" | "purchased" | "transferred" | "gifted";
|
|
2426
2728
|
entries?: {
|
|
@@ -2432,16 +2734,16 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2432
2734
|
}[] | undefined;
|
|
2433
2735
|
location?: string | undefined;
|
|
2434
2736
|
count?: number | undefined;
|
|
2737
|
+
groupId?: string | undefined;
|
|
2435
2738
|
purchasePrice?: number | undefined;
|
|
2436
2739
|
breed?: string | undefined;
|
|
2437
2740
|
acquisitionDate?: string | undefined;
|
|
2438
|
-
groupId?: string | undefined;
|
|
2439
2741
|
tagPrefix?: string | undefined;
|
|
2440
2742
|
};
|
|
2441
2743
|
}, {
|
|
2442
2744
|
type: "livestock-bulk";
|
|
2443
2745
|
attributes: {
|
|
2444
|
-
category: "
|
|
2746
|
+
category: "POULTRY" | "CATTLE" | "GOAT" | "OTHER" | "SHEEP" | "PIG" | "FISH" | "RABBIT";
|
|
2445
2747
|
entries?: {
|
|
2446
2748
|
tagId: string;
|
|
2447
2749
|
name?: string | undefined;
|
|
@@ -2452,12 +2754,12 @@ export declare const bulkCreateLivestockSchema: z.ZodObject<{
|
|
|
2452
2754
|
location?: string | undefined;
|
|
2453
2755
|
currency?: string | undefined;
|
|
2454
2756
|
count?: number | undefined;
|
|
2757
|
+
groupId?: string | undefined;
|
|
2455
2758
|
purchasePrice?: number | undefined;
|
|
2456
2759
|
breed?: string | undefined;
|
|
2457
2760
|
sex?: "MALE" | "FEMALE" | "UNKNOWN" | undefined;
|
|
2458
2761
|
acquisitionDate?: string | undefined;
|
|
2459
2762
|
acquisitionType?: "born" | "purchased" | "transferred" | "gifted" | undefined;
|
|
2460
|
-
groupId?: string | undefined;
|
|
2461
2763
|
tagPrefix?: string | undefined;
|
|
2462
2764
|
};
|
|
2463
2765
|
}>;
|
|
@@ -2484,6 +2786,7 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2484
2786
|
recordDate: string;
|
|
2485
2787
|
recordType: "other" | "vaccination" | "treatment" | "checkup" | "deworming" | "surgery";
|
|
2486
2788
|
notes?: string | undefined;
|
|
2789
|
+
groupId?: string | undefined;
|
|
2487
2790
|
cost?: number | undefined;
|
|
2488
2791
|
medication?: string | undefined;
|
|
2489
2792
|
dosage?: string | undefined;
|
|
@@ -2491,7 +2794,6 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2491
2794
|
vaccineName?: string | undefined;
|
|
2492
2795
|
batchNumber?: string | undefined;
|
|
2493
2796
|
nextDueDate?: string | undefined;
|
|
2494
|
-
groupId?: string | undefined;
|
|
2495
2797
|
livestockIds?: string[] | undefined;
|
|
2496
2798
|
}, {
|
|
2497
2799
|
description: string;
|
|
@@ -2499,6 +2801,7 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2499
2801
|
recordType: "other" | "vaccination" | "treatment" | "checkup" | "deworming" | "surgery";
|
|
2500
2802
|
currency?: string | undefined;
|
|
2501
2803
|
notes?: string | undefined;
|
|
2804
|
+
groupId?: string | undefined;
|
|
2502
2805
|
cost?: number | undefined;
|
|
2503
2806
|
medication?: string | undefined;
|
|
2504
2807
|
dosage?: string | undefined;
|
|
@@ -2506,7 +2809,6 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2506
2809
|
vaccineName?: string | undefined;
|
|
2507
2810
|
batchNumber?: string | undefined;
|
|
2508
2811
|
nextDueDate?: string | undefined;
|
|
2509
|
-
groupId?: string | undefined;
|
|
2510
2812
|
livestockIds?: string[] | undefined;
|
|
2511
2813
|
}>;
|
|
2512
2814
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2517,6 +2819,7 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2517
2819
|
recordDate: string;
|
|
2518
2820
|
recordType: "other" | "vaccination" | "treatment" | "checkup" | "deworming" | "surgery";
|
|
2519
2821
|
notes?: string | undefined;
|
|
2822
|
+
groupId?: string | undefined;
|
|
2520
2823
|
cost?: number | undefined;
|
|
2521
2824
|
medication?: string | undefined;
|
|
2522
2825
|
dosage?: string | undefined;
|
|
@@ -2524,7 +2827,6 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2524
2827
|
vaccineName?: string | undefined;
|
|
2525
2828
|
batchNumber?: string | undefined;
|
|
2526
2829
|
nextDueDate?: string | undefined;
|
|
2527
|
-
groupId?: string | undefined;
|
|
2528
2830
|
livestockIds?: string[] | undefined;
|
|
2529
2831
|
};
|
|
2530
2832
|
}, {
|
|
@@ -2535,6 +2837,7 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2535
2837
|
recordType: "other" | "vaccination" | "treatment" | "checkup" | "deworming" | "surgery";
|
|
2536
2838
|
currency?: string | undefined;
|
|
2537
2839
|
notes?: string | undefined;
|
|
2840
|
+
groupId?: string | undefined;
|
|
2538
2841
|
cost?: number | undefined;
|
|
2539
2842
|
medication?: string | undefined;
|
|
2540
2843
|
dosage?: string | undefined;
|
|
@@ -2542,7 +2845,6 @@ export declare const bulkHealthRecordSchema: z.ZodObject<{
|
|
|
2542
2845
|
vaccineName?: string | undefined;
|
|
2543
2846
|
batchNumber?: string | undefined;
|
|
2544
2847
|
nextDueDate?: string | undefined;
|
|
2545
|
-
groupId?: string | undefined;
|
|
2546
2848
|
livestockIds?: string[] | undefined;
|
|
2547
2849
|
};
|
|
2548
2850
|
}>;
|