@deepintel-ltd/farmpro-contracts 1.16.8 → 1.16.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/agents.routes.d.ts +6 -6
- package/dist/routes/field-monitoring.routes.d.ts +2 -2
- package/dist/routes/finance.routes.d.ts +159 -6
- package/dist/routes/finance.routes.d.ts.map +1 -1
- package/dist/routes/livestock-groups.routes.d.ts +24 -24
- package/dist/routes/market-intelligence.routes.d.ts +8 -8
- package/dist/routes/monitoring-visualization.routes.d.ts +2 -2
- package/dist/schemas/agents.schemas.d.ts +6 -6
- package/dist/schemas/field-monitoring.schemas.d.ts +2 -2
- package/dist/schemas/field-observations.schemas.d.ts.map +1 -1
- package/dist/schemas/field-observations.schemas.js +3 -2
- package/dist/schemas/finance.schemas.d.ts +153 -0
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +23 -0
- package/dist/schemas/livestock-groups.schemas.d.ts +24 -24
- package/dist/schemas/monitoring-visualization.schemas.js +4 -4
- package/package.json +1 -1
|
@@ -3304,7 +3304,47 @@ export declare const cashFlowForecastResponseSchema: z.ZodObject<{
|
|
|
3304
3304
|
expense: number;
|
|
3305
3305
|
}>;
|
|
3306
3306
|
}>;
|
|
3307
|
+
method: z.ZodDefault<z.ZodEnum<["field_grounded", "seasonal_fallback"]>>;
|
|
3308
|
+
excludedCapexTotal: z.ZodDefault<z.ZodNumber>;
|
|
3309
|
+
drivers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3310
|
+
kind: z.ZodEnum<["harvest", "opex", "capex_excluded", "not_bearing"]>;
|
|
3311
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
3312
|
+
month: z.ZodOptional<z.ZodString>;
|
|
3313
|
+
amount: z.ZodNumber;
|
|
3314
|
+
note: z.ZodString;
|
|
3315
|
+
}, "strip", z.ZodTypeAny, {
|
|
3316
|
+
amount: number;
|
|
3317
|
+
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing";
|
|
3318
|
+
note: string;
|
|
3319
|
+
fieldName?: string | undefined;
|
|
3320
|
+
month?: string | undefined;
|
|
3321
|
+
}, {
|
|
3322
|
+
amount: number;
|
|
3323
|
+
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing";
|
|
3324
|
+
note: string;
|
|
3325
|
+
fieldName?: string | undefined;
|
|
3326
|
+
month?: string | undefined;
|
|
3327
|
+
}>, "many">>;
|
|
3328
|
+
outlook: z.ZodDefault<z.ZodString>;
|
|
3329
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
3330
|
+
generatedAt: z.ZodString;
|
|
3331
|
+
nextRunAt: z.ZodString;
|
|
3332
|
+
stale: z.ZodDefault<z.ZodBoolean>;
|
|
3333
|
+
calibration: z.ZodOptional<z.ZodObject<{
|
|
3334
|
+
opexBias: z.ZodNumber;
|
|
3335
|
+
harvestBias: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
3336
|
+
sampleCount: z.ZodNumber;
|
|
3337
|
+
}, "strip", z.ZodTypeAny, {
|
|
3338
|
+
opexBias: number;
|
|
3339
|
+
harvestBias: Record<string, number>;
|
|
3340
|
+
sampleCount: number;
|
|
3341
|
+
}, {
|
|
3342
|
+
opexBias: number;
|
|
3343
|
+
harvestBias: Record<string, number>;
|
|
3344
|
+
sampleCount: number;
|
|
3345
|
+
}>>;
|
|
3307
3346
|
}, "strip", z.ZodTypeAny, {
|
|
3347
|
+
method: "field_grounded" | "seasonal_fallback";
|
|
3308
3348
|
projections: {
|
|
3309
3349
|
month: string;
|
|
3310
3350
|
projectedRevenue: number;
|
|
@@ -3320,6 +3360,24 @@ export declare const cashFlowForecastResponseSchema: z.ZodObject<{
|
|
|
3320
3360
|
expense: number;
|
|
3321
3361
|
}>;
|
|
3322
3362
|
};
|
|
3363
|
+
excludedCapexTotal: number;
|
|
3364
|
+
drivers: {
|
|
3365
|
+
amount: number;
|
|
3366
|
+
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing";
|
|
3367
|
+
note: string;
|
|
3368
|
+
fieldName?: string | undefined;
|
|
3369
|
+
month?: string | undefined;
|
|
3370
|
+
}[];
|
|
3371
|
+
outlook: string;
|
|
3372
|
+
confidence: number;
|
|
3373
|
+
generatedAt: string;
|
|
3374
|
+
nextRunAt: string;
|
|
3375
|
+
stale: boolean;
|
|
3376
|
+
calibration?: {
|
|
3377
|
+
opexBias: number;
|
|
3378
|
+
harvestBias: Record<string, number>;
|
|
3379
|
+
sampleCount: number;
|
|
3380
|
+
} | undefined;
|
|
3323
3381
|
}, {
|
|
3324
3382
|
projections: {
|
|
3325
3383
|
month: string;
|
|
@@ -3336,11 +3394,31 @@ export declare const cashFlowForecastResponseSchema: z.ZodObject<{
|
|
|
3336
3394
|
expense: number;
|
|
3337
3395
|
}>;
|
|
3338
3396
|
};
|
|
3397
|
+
generatedAt: string;
|
|
3398
|
+
nextRunAt: string;
|
|
3399
|
+
method?: "field_grounded" | "seasonal_fallback" | undefined;
|
|
3400
|
+
excludedCapexTotal?: number | undefined;
|
|
3401
|
+
drivers?: {
|
|
3402
|
+
amount: number;
|
|
3403
|
+
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing";
|
|
3404
|
+
note: string;
|
|
3405
|
+
fieldName?: string | undefined;
|
|
3406
|
+
month?: string | undefined;
|
|
3407
|
+
}[] | undefined;
|
|
3408
|
+
outlook?: string | undefined;
|
|
3409
|
+
confidence?: number | undefined;
|
|
3410
|
+
stale?: boolean | undefined;
|
|
3411
|
+
calibration?: {
|
|
3412
|
+
opexBias: number;
|
|
3413
|
+
harvestBias: Record<string, number>;
|
|
3414
|
+
sampleCount: number;
|
|
3415
|
+
} | undefined;
|
|
3339
3416
|
}>;
|
|
3340
3417
|
}, "strip", z.ZodTypeAny, {
|
|
3341
3418
|
type: "finance-cashflow-forecast";
|
|
3342
3419
|
id: string;
|
|
3343
3420
|
attributes: {
|
|
3421
|
+
method: "field_grounded" | "seasonal_fallback";
|
|
3344
3422
|
projections: {
|
|
3345
3423
|
month: string;
|
|
3346
3424
|
projectedRevenue: number;
|
|
@@ -3356,6 +3434,24 @@ export declare const cashFlowForecastResponseSchema: z.ZodObject<{
|
|
|
3356
3434
|
expense: number;
|
|
3357
3435
|
}>;
|
|
3358
3436
|
};
|
|
3437
|
+
excludedCapexTotal: number;
|
|
3438
|
+
drivers: {
|
|
3439
|
+
amount: number;
|
|
3440
|
+
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing";
|
|
3441
|
+
note: string;
|
|
3442
|
+
fieldName?: string | undefined;
|
|
3443
|
+
month?: string | undefined;
|
|
3444
|
+
}[];
|
|
3445
|
+
outlook: string;
|
|
3446
|
+
confidence: number;
|
|
3447
|
+
generatedAt: string;
|
|
3448
|
+
nextRunAt: string;
|
|
3449
|
+
stale: boolean;
|
|
3450
|
+
calibration?: {
|
|
3451
|
+
opexBias: number;
|
|
3452
|
+
harvestBias: Record<string, number>;
|
|
3453
|
+
sampleCount: number;
|
|
3454
|
+
} | undefined;
|
|
3359
3455
|
};
|
|
3360
3456
|
}, {
|
|
3361
3457
|
type: "finance-cashflow-forecast";
|
|
@@ -3376,6 +3472,25 @@ export declare const cashFlowForecastResponseSchema: z.ZodObject<{
|
|
|
3376
3472
|
expense: number;
|
|
3377
3473
|
}>;
|
|
3378
3474
|
};
|
|
3475
|
+
generatedAt: string;
|
|
3476
|
+
nextRunAt: string;
|
|
3477
|
+
method?: "field_grounded" | "seasonal_fallback" | undefined;
|
|
3478
|
+
excludedCapexTotal?: number | undefined;
|
|
3479
|
+
drivers?: {
|
|
3480
|
+
amount: number;
|
|
3481
|
+
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing";
|
|
3482
|
+
note: string;
|
|
3483
|
+
fieldName?: string | undefined;
|
|
3484
|
+
month?: string | undefined;
|
|
3485
|
+
}[] | undefined;
|
|
3486
|
+
outlook?: string | undefined;
|
|
3487
|
+
confidence?: number | undefined;
|
|
3488
|
+
stale?: boolean | undefined;
|
|
3489
|
+
calibration?: {
|
|
3490
|
+
opexBias: number;
|
|
3491
|
+
harvestBias: Record<string, number>;
|
|
3492
|
+
sampleCount: number;
|
|
3493
|
+
} | undefined;
|
|
3379
3494
|
};
|
|
3380
3495
|
}>;
|
|
3381
3496
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3383,6 +3498,7 @@ export declare const cashFlowForecastResponseSchema: z.ZodObject<{
|
|
|
3383
3498
|
type: "finance-cashflow-forecast";
|
|
3384
3499
|
id: string;
|
|
3385
3500
|
attributes: {
|
|
3501
|
+
method: "field_grounded" | "seasonal_fallback";
|
|
3386
3502
|
projections: {
|
|
3387
3503
|
month: string;
|
|
3388
3504
|
projectedRevenue: number;
|
|
@@ -3398,6 +3514,24 @@ export declare const cashFlowForecastResponseSchema: z.ZodObject<{
|
|
|
3398
3514
|
expense: number;
|
|
3399
3515
|
}>;
|
|
3400
3516
|
};
|
|
3517
|
+
excludedCapexTotal: number;
|
|
3518
|
+
drivers: {
|
|
3519
|
+
amount: number;
|
|
3520
|
+
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing";
|
|
3521
|
+
note: string;
|
|
3522
|
+
fieldName?: string | undefined;
|
|
3523
|
+
month?: string | undefined;
|
|
3524
|
+
}[];
|
|
3525
|
+
outlook: string;
|
|
3526
|
+
confidence: number;
|
|
3527
|
+
generatedAt: string;
|
|
3528
|
+
nextRunAt: string;
|
|
3529
|
+
stale: boolean;
|
|
3530
|
+
calibration?: {
|
|
3531
|
+
opexBias: number;
|
|
3532
|
+
harvestBias: Record<string, number>;
|
|
3533
|
+
sampleCount: number;
|
|
3534
|
+
} | undefined;
|
|
3401
3535
|
};
|
|
3402
3536
|
};
|
|
3403
3537
|
}, {
|
|
@@ -3420,6 +3554,25 @@ export declare const cashFlowForecastResponseSchema: z.ZodObject<{
|
|
|
3420
3554
|
expense: number;
|
|
3421
3555
|
}>;
|
|
3422
3556
|
};
|
|
3557
|
+
generatedAt: string;
|
|
3558
|
+
nextRunAt: string;
|
|
3559
|
+
method?: "field_grounded" | "seasonal_fallback" | undefined;
|
|
3560
|
+
excludedCapexTotal?: number | undefined;
|
|
3561
|
+
drivers?: {
|
|
3562
|
+
amount: number;
|
|
3563
|
+
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing";
|
|
3564
|
+
note: string;
|
|
3565
|
+
fieldName?: string | undefined;
|
|
3566
|
+
month?: string | undefined;
|
|
3567
|
+
}[] | undefined;
|
|
3568
|
+
outlook?: string | undefined;
|
|
3569
|
+
confidence?: number | undefined;
|
|
3570
|
+
stale?: boolean | undefined;
|
|
3571
|
+
calibration?: {
|
|
3572
|
+
opexBias: number;
|
|
3573
|
+
harvestBias: Record<string, number>;
|
|
3574
|
+
sampleCount: number;
|
|
3575
|
+
} | undefined;
|
|
3423
3576
|
};
|
|
3424
3577
|
};
|
|
3425
3578
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"finance.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/finance.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eAAO,MAAM,2BAA2B,yCAAuC,CAAC;AAGhF,eAAO,MAAM,kBAAkB,mEAAiE,CAAC;AAGjG,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQT,CAAC;AAG3B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;EAMvC,CAAC;AAGH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;EAMvC,CAAC;AAGH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYV,CAAC;AAG3B,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBxC,CAAC;AAGH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;EAQxC,CAAC;A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AAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -252,6 +252,29 @@ export const cashFlowForecastResponseSchema = z.object({
|
|
|
252
252
|
revenue: z.number(),
|
|
253
253
|
})),
|
|
254
254
|
}),
|
|
255
|
+
method: z.enum(['field_grounded', 'seasonal_fallback']).default('field_grounded'),
|
|
256
|
+
excludedCapexTotal: z.number().default(0),
|
|
257
|
+
drivers: z
|
|
258
|
+
.array(z.object({
|
|
259
|
+
kind: z.enum(['harvest', 'opex', 'capex_excluded', 'not_bearing']),
|
|
260
|
+
fieldName: z.string().optional(),
|
|
261
|
+
month: z.string().optional(),
|
|
262
|
+
amount: z.number(),
|
|
263
|
+
note: z.string(),
|
|
264
|
+
}))
|
|
265
|
+
.default([]),
|
|
266
|
+
outlook: z.string().default(''),
|
|
267
|
+
confidence: z.number().min(0).max(1).default(0.5),
|
|
268
|
+
generatedAt: z.string(),
|
|
269
|
+
nextRunAt: z.string(),
|
|
270
|
+
stale: z.boolean().default(false),
|
|
271
|
+
calibration: z
|
|
272
|
+
.object({
|
|
273
|
+
opexBias: z.number(),
|
|
274
|
+
harvestBias: z.record(z.string(), z.number()),
|
|
275
|
+
sampleCount: z.number().int().nonnegative(),
|
|
276
|
+
})
|
|
277
|
+
.optional(),
|
|
255
278
|
}),
|
|
256
279
|
}),
|
|
257
280
|
});
|
|
@@ -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
|
+
sampleCount: number | null;
|
|
291
292
|
cost: number | null;
|
|
292
293
|
recordDate: string;
|
|
293
294
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -300,7 +301,6 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
300
301
|
countChange: number | null;
|
|
301
302
|
affectedCount: number | null;
|
|
302
303
|
sampleWeight: number | null;
|
|
303
|
-
sampleCount: number | null;
|
|
304
304
|
eggCount: number | null;
|
|
305
305
|
brokenEggs: number | null;
|
|
306
306
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
315
316
|
cost: number | null;
|
|
316
317
|
recordDate: string;
|
|
317
318
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -324,7 +325,6 @@ export declare const batchRecordAttributesSchema: z.ZodObject<{
|
|
|
324
325
|
countChange: number | null;
|
|
325
326
|
affectedCount: number | null;
|
|
326
327
|
sampleWeight: number | null;
|
|
327
|
-
sampleCount: number | null;
|
|
328
328
|
eggCount: number | null;
|
|
329
329
|
brokenEggs: number | null;
|
|
330
330
|
feedType: string | null;
|
|
@@ -360,6 +360,7 @@ export declare const createBatchRecordAttributesSchema: z.ZodObject<{
|
|
|
360
360
|
feedUnit: string;
|
|
361
361
|
description?: string | undefined;
|
|
362
362
|
notes?: string | undefined;
|
|
363
|
+
sampleCount?: number | undefined;
|
|
363
364
|
cost?: number | undefined;
|
|
364
365
|
medication?: string | undefined;
|
|
365
366
|
dosage?: string | undefined;
|
|
@@ -369,7 +370,6 @@ export declare const createBatchRecordAttributesSchema: z.ZodObject<{
|
|
|
369
370
|
countChange?: number | undefined;
|
|
370
371
|
affectedCount?: number | undefined;
|
|
371
372
|
sampleWeight?: number | undefined;
|
|
372
|
-
sampleCount?: number | undefined;
|
|
373
373
|
eggCount?: number | undefined;
|
|
374
374
|
brokenEggs?: number | undefined;
|
|
375
375
|
feedType?: string | undefined;
|
|
@@ -380,6 +380,7 @@ export declare const createBatchRecordAttributesSchema: z.ZodObject<{
|
|
|
380
380
|
description?: string | undefined;
|
|
381
381
|
currency?: string | undefined;
|
|
382
382
|
notes?: string | undefined;
|
|
383
|
+
sampleCount?: number | undefined;
|
|
383
384
|
cost?: number | undefined;
|
|
384
385
|
medication?: string | undefined;
|
|
385
386
|
dosage?: string | undefined;
|
|
@@ -389,7 +390,6 @@ export declare const createBatchRecordAttributesSchema: z.ZodObject<{
|
|
|
389
390
|
countChange?: number | undefined;
|
|
390
391
|
affectedCount?: number | undefined;
|
|
391
392
|
sampleWeight?: number | undefined;
|
|
392
|
-
sampleCount?: number | undefined;
|
|
393
393
|
eggCount?: number | undefined;
|
|
394
394
|
brokenEggs?: number | undefined;
|
|
395
395
|
feedType?: string | undefined;
|
|
@@ -699,6 +699,7 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
699
699
|
feedUnit: string;
|
|
700
700
|
description?: string | undefined;
|
|
701
701
|
notes?: string | undefined;
|
|
702
|
+
sampleCount?: number | undefined;
|
|
702
703
|
cost?: number | undefined;
|
|
703
704
|
medication?: string | undefined;
|
|
704
705
|
dosage?: string | undefined;
|
|
@@ -708,7 +709,6 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
708
709
|
countChange?: number | undefined;
|
|
709
710
|
affectedCount?: number | undefined;
|
|
710
711
|
sampleWeight?: number | undefined;
|
|
711
|
-
sampleCount?: number | undefined;
|
|
712
712
|
eggCount?: number | undefined;
|
|
713
713
|
brokenEggs?: number | undefined;
|
|
714
714
|
feedType?: string | undefined;
|
|
@@ -719,6 +719,7 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
719
719
|
description?: string | undefined;
|
|
720
720
|
currency?: string | undefined;
|
|
721
721
|
notes?: string | undefined;
|
|
722
|
+
sampleCount?: number | undefined;
|
|
722
723
|
cost?: number | undefined;
|
|
723
724
|
medication?: string | undefined;
|
|
724
725
|
dosage?: string | undefined;
|
|
@@ -728,7 +729,6 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
728
729
|
countChange?: number | undefined;
|
|
729
730
|
affectedCount?: number | undefined;
|
|
730
731
|
sampleWeight?: number | undefined;
|
|
731
|
-
sampleCount?: number | undefined;
|
|
732
732
|
eggCount?: number | undefined;
|
|
733
733
|
brokenEggs?: number | undefined;
|
|
734
734
|
feedType?: string | undefined;
|
|
@@ -744,6 +744,7 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
744
744
|
feedUnit: string;
|
|
745
745
|
description?: string | undefined;
|
|
746
746
|
notes?: string | undefined;
|
|
747
|
+
sampleCount?: number | undefined;
|
|
747
748
|
cost?: number | undefined;
|
|
748
749
|
medication?: string | undefined;
|
|
749
750
|
dosage?: string | undefined;
|
|
@@ -753,7 +754,6 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
753
754
|
countChange?: number | undefined;
|
|
754
755
|
affectedCount?: number | undefined;
|
|
755
756
|
sampleWeight?: number | undefined;
|
|
756
|
-
sampleCount?: number | undefined;
|
|
757
757
|
eggCount?: number | undefined;
|
|
758
758
|
brokenEggs?: number | undefined;
|
|
759
759
|
feedType?: string | undefined;
|
|
@@ -767,6 +767,7 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
767
767
|
description?: string | undefined;
|
|
768
768
|
currency?: string | undefined;
|
|
769
769
|
notes?: string | undefined;
|
|
770
|
+
sampleCount?: number | undefined;
|
|
770
771
|
cost?: number | undefined;
|
|
771
772
|
medication?: string | undefined;
|
|
772
773
|
dosage?: string | undefined;
|
|
@@ -776,7 +777,6 @@ export declare const createBatchRecordSchema: z.ZodObject<{
|
|
|
776
777
|
countChange?: number | undefined;
|
|
777
778
|
affectedCount?: number | undefined;
|
|
778
779
|
sampleWeight?: number | undefined;
|
|
779
|
-
sampleCount?: number | undefined;
|
|
780
780
|
eggCount?: number | undefined;
|
|
781
781
|
brokenEggs?: number | undefined;
|
|
782
782
|
feedType?: string | undefined;
|
|
@@ -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
|
+
sampleCount: number | null;
|
|
996
997
|
cost: number | null;
|
|
997
998
|
recordDate: string;
|
|
998
999
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -1005,7 +1006,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1005
1006
|
countChange: number | null;
|
|
1006
1007
|
affectedCount: number | null;
|
|
1007
1008
|
sampleWeight: number | null;
|
|
1008
|
-
sampleCount: number | null;
|
|
1009
1009
|
eggCount: number | null;
|
|
1010
1010
|
brokenEggs: number | null;
|
|
1011
1011
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
1020
1021
|
cost: number | null;
|
|
1021
1022
|
recordDate: string;
|
|
1022
1023
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -1029,7 +1030,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1029
1030
|
countChange: number | null;
|
|
1030
1031
|
affectedCount: number | null;
|
|
1031
1032
|
sampleWeight: number | null;
|
|
1032
|
-
sampleCount: number | null;
|
|
1033
1033
|
eggCount: number | null;
|
|
1034
1034
|
brokenEggs: number | null;
|
|
1035
1035
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
1053
1054
|
cost: number | null;
|
|
1054
1055
|
recordDate: string;
|
|
1055
1056
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -1062,7 +1063,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1062
1063
|
countChange: number | null;
|
|
1063
1064
|
affectedCount: number | null;
|
|
1064
1065
|
sampleWeight: number | null;
|
|
1065
|
-
sampleCount: number | null;
|
|
1066
1066
|
eggCount: number | null;
|
|
1067
1067
|
brokenEggs: number | null;
|
|
1068
1068
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
1084
1085
|
cost: number | null;
|
|
1085
1086
|
recordDate: string;
|
|
1086
1087
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -1093,7 +1094,6 @@ export declare const batchRecordResourceSchema: z.ZodObject<{
|
|
|
1093
1094
|
countChange: number | null;
|
|
1094
1095
|
affectedCount: number | null;
|
|
1095
1096
|
sampleWeight: number | null;
|
|
1096
|
-
sampleCount: number | null;
|
|
1097
1097
|
eggCount: number | null;
|
|
1098
1098
|
brokenEggs: number | null;
|
|
1099
1099
|
feedType: 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
|
+
sampleCount: number | null;
|
|
1739
1740
|
cost: number | null;
|
|
1740
1741
|
recordDate: string;
|
|
1741
1742
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -1748,7 +1749,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1748
1749
|
countChange: number | null;
|
|
1749
1750
|
affectedCount: number | null;
|
|
1750
1751
|
sampleWeight: number | null;
|
|
1751
|
-
sampleCount: number | null;
|
|
1752
1752
|
eggCount: number | null;
|
|
1753
1753
|
brokenEggs: number | null;
|
|
1754
1754
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
1763
1764
|
cost: number | null;
|
|
1764
1765
|
recordDate: string;
|
|
1765
1766
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -1772,7 +1773,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1772
1773
|
countChange: number | null;
|
|
1773
1774
|
affectedCount: number | null;
|
|
1774
1775
|
sampleWeight: number | null;
|
|
1775
|
-
sampleCount: number | null;
|
|
1776
1776
|
eggCount: number | null;
|
|
1777
1777
|
brokenEggs: number | null;
|
|
1778
1778
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
1796
1797
|
cost: number | null;
|
|
1797
1798
|
recordDate: string;
|
|
1798
1799
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -1805,7 +1806,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1805
1806
|
countChange: number | null;
|
|
1806
1807
|
affectedCount: number | null;
|
|
1807
1808
|
sampleWeight: number | null;
|
|
1808
|
-
sampleCount: number | null;
|
|
1809
1809
|
eggCount: number | null;
|
|
1810
1810
|
brokenEggs: number | null;
|
|
1811
1811
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
1827
1828
|
cost: number | null;
|
|
1828
1829
|
recordDate: string;
|
|
1829
1830
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -1836,7 +1837,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1836
1837
|
countChange: number | null;
|
|
1837
1838
|
affectedCount: number | null;
|
|
1838
1839
|
sampleWeight: number | null;
|
|
1839
|
-
sampleCount: number | null;
|
|
1840
1840
|
eggCount: number | null;
|
|
1841
1841
|
brokenEggs: number | null;
|
|
1842
1842
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
1886
1887
|
cost: number | null;
|
|
1887
1888
|
recordDate: string;
|
|
1888
1889
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -1895,7 +1896,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1895
1896
|
countChange: number | null;
|
|
1896
1897
|
affectedCount: number | null;
|
|
1897
1898
|
sampleWeight: number | null;
|
|
1898
|
-
sampleCount: number | null;
|
|
1899
1899
|
eggCount: number | null;
|
|
1900
1900
|
brokenEggs: number | null;
|
|
1901
1901
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
1929
1930
|
cost: number | null;
|
|
1930
1931
|
recordDate: string;
|
|
1931
1932
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -1938,7 +1939,6 @@ export declare const batchRecordResponseSchema: z.ZodObject<{
|
|
|
1938
1939
|
countChange: number | null;
|
|
1939
1940
|
affectedCount: number | null;
|
|
1940
1941
|
sampleWeight: number | null;
|
|
1941
|
-
sampleCount: number | null;
|
|
1942
1942
|
eggCount: number | null;
|
|
1943
1943
|
brokenEggs: number | null;
|
|
1944
1944
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
2001
2002
|
cost: number | null;
|
|
2002
2003
|
recordDate: string;
|
|
2003
2004
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -2010,7 +2011,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2010
2011
|
countChange: number | null;
|
|
2011
2012
|
affectedCount: number | null;
|
|
2012
2013
|
sampleWeight: number | null;
|
|
2013
|
-
sampleCount: number | null;
|
|
2014
2014
|
eggCount: number | null;
|
|
2015
2015
|
brokenEggs: number | null;
|
|
2016
2016
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
2025
2026
|
cost: number | null;
|
|
2026
2027
|
recordDate: string;
|
|
2027
2028
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -2034,7 +2035,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2034
2035
|
countChange: number | null;
|
|
2035
2036
|
affectedCount: number | null;
|
|
2036
2037
|
sampleWeight: number | null;
|
|
2037
|
-
sampleCount: number | null;
|
|
2038
2038
|
eggCount: number | null;
|
|
2039
2039
|
brokenEggs: number | null;
|
|
2040
2040
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
2058
2059
|
cost: number | null;
|
|
2059
2060
|
recordDate: string;
|
|
2060
2061
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -2067,7 +2068,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2067
2068
|
countChange: number | null;
|
|
2068
2069
|
affectedCount: number | null;
|
|
2069
2070
|
sampleWeight: number | null;
|
|
2070
|
-
sampleCount: number | null;
|
|
2071
2071
|
eggCount: number | null;
|
|
2072
2072
|
brokenEggs: number | null;
|
|
2073
2073
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
2089
2090
|
cost: number | null;
|
|
2090
2091
|
recordDate: string;
|
|
2091
2092
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -2098,7 +2099,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2098
2099
|
countChange: number | null;
|
|
2099
2100
|
affectedCount: number | null;
|
|
2100
2101
|
sampleWeight: number | null;
|
|
2101
|
-
sampleCount: number | null;
|
|
2102
2102
|
eggCount: number | null;
|
|
2103
2103
|
brokenEggs: number | null;
|
|
2104
2104
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
2148
2149
|
cost: number | null;
|
|
2149
2150
|
recordDate: string;
|
|
2150
2151
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -2157,7 +2158,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2157
2158
|
countChange: number | null;
|
|
2158
2159
|
affectedCount: number | null;
|
|
2159
2160
|
sampleWeight: number | null;
|
|
2160
|
-
sampleCount: number | null;
|
|
2161
2161
|
eggCount: number | null;
|
|
2162
2162
|
brokenEggs: number | null;
|
|
2163
2163
|
feedType: string | 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
|
+
sampleCount: number | null;
|
|
2191
2192
|
cost: number | null;
|
|
2192
2193
|
recordDate: string;
|
|
2193
2194
|
recordType: "OTHER" | "STOCKING" | "MORTALITY" | "CULLING" | "VACCINATION" | "TREATMENT" | "FEEDING" | "WEIGHT_SAMPLE" | "EGG_COLLECTION" | "HARVEST" | "WATER_QUALITY";
|
|
@@ -2200,7 +2201,6 @@ export declare const batchRecordListResponseSchema: z.ZodObject<{
|
|
|
2200
2201
|
countChange: number | null;
|
|
2201
2202
|
affectedCount: number | null;
|
|
2202
2203
|
sampleWeight: number | null;
|
|
2203
|
-
sampleCount: number | null;
|
|
2204
2204
|
eggCount: number | null;
|
|
2205
2205
|
brokenEggs: number | null;
|
|
2206
2206
|
feedType: string | null;
|
|
@@ -424,8 +424,8 @@ export const photoTimelineQuerySchema = z.object({
|
|
|
424
424
|
});
|
|
425
425
|
export const photoTimelineItemSchema = z.object({
|
|
426
426
|
id: z.string().uuid(),
|
|
427
|
-
photoUrl: z.string().
|
|
428
|
-
thumbnailUrl: z.string().
|
|
427
|
+
photoUrl: z.string().min(1),
|
|
428
|
+
thumbnailUrl: z.string().min(1).nullable(),
|
|
429
429
|
captureDate: z.string().datetime(),
|
|
430
430
|
location: coordinateSchema.nullable(),
|
|
431
431
|
healthScore: z.number().min(0).max(100).nullable(),
|
|
@@ -473,8 +473,8 @@ export const photoPinIssueSchema = z.object({
|
|
|
473
473
|
export const photoPinSchema = z.object({
|
|
474
474
|
id: z.string().uuid(),
|
|
475
475
|
location: coordinateSchema,
|
|
476
|
-
photoUrl: z.string().
|
|
477
|
-
thumbnailUrl: z.string().
|
|
476
|
+
photoUrl: z.string().min(1),
|
|
477
|
+
thumbnailUrl: z.string().min(1).nullable(),
|
|
478
478
|
captureDate: z.string().datetime(),
|
|
479
479
|
healthScore: z.number().min(0).max(100).nullable(),
|
|
480
480
|
status: z.enum(['healthy', 'moderate', 'concerning', 'critical']),
|