@deepintel-ltd/farmpro-contracts 1.11.8 → 1.11.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/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/routes/agents.routes.d.ts +142 -0
- package/dist/routes/agents.routes.d.ts.map +1 -1
- package/dist/routes/equipment.routes.d.ts +36 -36
- package/dist/routes/extension.routes.d.ts +12 -12
- package/dist/routes/fertigation.routes.d.ts +156 -156
- package/dist/routes/field-activities.routes.d.ts +2397 -0
- package/dist/routes/field-activities.routes.d.ts.map +1 -0
- package/dist/routes/field-activities.routes.js +81 -0
- package/dist/routes/fields.routes.d.ts +867 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.js +20 -1
- package/dist/routes/index.d.ts +6 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +4 -0
- package/dist/routes/irrigation.routes.d.ts +20 -20
- package/dist/routes/livestock-groups.routes.d.ts +36 -36
- package/dist/routes/livestock.routes.d.ts +30 -30
- package/dist/routes/market-intelligence.routes.d.ts +364 -0
- package/dist/routes/market-intelligence.routes.d.ts.map +1 -0
- package/dist/routes/market-intelligence.routes.js +45 -0
- package/dist/routes/soil-tests.routes.d.ts +36 -36
- package/dist/routes/tasks.routes.d.ts +120 -120
- package/dist/schemas/agents.schemas.d.ts +163 -0
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +23 -0
- package/dist/schemas/equipment.schemas.d.ts +30 -30
- package/dist/schemas/extension.schemas.d.ts +18 -18
- package/dist/schemas/fertigation.schemas.d.ts +42 -42
- package/dist/schemas/field-activities.schemas.d.ts +806 -0
- package/dist/schemas/field-activities.schemas.d.ts.map +1 -0
- package/dist/schemas/field-activities.schemas.js +68 -0
- package/dist/schemas/fields.schemas.d.ts +181 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +16 -0
- package/dist/schemas/irrigation.schemas.d.ts +14 -14
- package/dist/schemas/livestock-groups.schemas.d.ts +24 -24
- package/dist/schemas/livestock.schemas.d.ts +24 -24
- package/dist/schemas/soil-tests.schemas.d.ts +34 -34
- package/dist/schemas/tasks.schemas.d.ts +96 -96
- package/package.json +1 -1
|
@@ -2454,10 +2454,36 @@ export declare const fieldsRouter: {
|
|
|
2454
2454
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2455
2455
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2456
2456
|
}>>>;
|
|
2457
|
+
area: z.ZodOptional<z.ZodNumber>;
|
|
2457
2458
|
currentCrop: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2458
2459
|
plantingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2459
2460
|
expectedHarvestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2460
2461
|
cropStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>>;
|
|
2462
|
+
cropHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2463
|
+
id: z.ZodString;
|
|
2464
|
+
season: z.ZodString;
|
|
2465
|
+
crop: z.ZodString;
|
|
2466
|
+
plantingDate: z.ZodString;
|
|
2467
|
+
harvestDate: z.ZodNullable<z.ZodString>;
|
|
2468
|
+
yield: z.ZodNullable<z.ZodNumber>;
|
|
2469
|
+
yieldUnit: z.ZodNullable<z.ZodString>;
|
|
2470
|
+
}, "strip", z.ZodTypeAny, {
|
|
2471
|
+
id: string;
|
|
2472
|
+
crop: string;
|
|
2473
|
+
season: string;
|
|
2474
|
+
plantingDate: string;
|
|
2475
|
+
harvestDate: string | null;
|
|
2476
|
+
yield: number | null;
|
|
2477
|
+
yieldUnit: string | null;
|
|
2478
|
+
}, {
|
|
2479
|
+
id: string;
|
|
2480
|
+
crop: string;
|
|
2481
|
+
season: string;
|
|
2482
|
+
plantingDate: string;
|
|
2483
|
+
harvestDate: string | null;
|
|
2484
|
+
yield: number | null;
|
|
2485
|
+
yieldUnit: string | null;
|
|
2486
|
+
}>, "many">>;
|
|
2461
2487
|
}, "strip", z.ZodTypeAny, {
|
|
2462
2488
|
name?: string | undefined;
|
|
2463
2489
|
crop?: string | undefined;
|
|
@@ -2465,6 +2491,7 @@ export declare const fieldsRouter: {
|
|
|
2465
2491
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2466
2492
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2467
2493
|
} | null | undefined;
|
|
2494
|
+
area?: number | undefined;
|
|
2468
2495
|
currentCrop?: string | null | undefined;
|
|
2469
2496
|
plantingDate?: string | null | undefined;
|
|
2470
2497
|
ndvi?: number | undefined;
|
|
@@ -2472,6 +2499,15 @@ export declare const fieldsRouter: {
|
|
|
2472
2499
|
soilType?: string | undefined;
|
|
2473
2500
|
expectedHarvestDate?: string | null | undefined;
|
|
2474
2501
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2502
|
+
cropHistory?: {
|
|
2503
|
+
id: string;
|
|
2504
|
+
crop: string;
|
|
2505
|
+
season: string;
|
|
2506
|
+
plantingDate: string;
|
|
2507
|
+
harvestDate: string | null;
|
|
2508
|
+
yield: number | null;
|
|
2509
|
+
yieldUnit: string | null;
|
|
2510
|
+
}[] | undefined;
|
|
2475
2511
|
}, {
|
|
2476
2512
|
name?: string | undefined;
|
|
2477
2513
|
crop?: string | undefined;
|
|
@@ -2479,6 +2515,7 @@ export declare const fieldsRouter: {
|
|
|
2479
2515
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2480
2516
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2481
2517
|
} | null | undefined;
|
|
2518
|
+
area?: number | undefined;
|
|
2482
2519
|
currentCrop?: string | null | undefined;
|
|
2483
2520
|
plantingDate?: string | null | undefined;
|
|
2484
2521
|
ndvi?: number | undefined;
|
|
@@ -2486,6 +2523,15 @@ export declare const fieldsRouter: {
|
|
|
2486
2523
|
soilType?: string | undefined;
|
|
2487
2524
|
expectedHarvestDate?: string | null | undefined;
|
|
2488
2525
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2526
|
+
cropHistory?: {
|
|
2527
|
+
id: string;
|
|
2528
|
+
crop: string;
|
|
2529
|
+
season: string;
|
|
2530
|
+
plantingDate: string;
|
|
2531
|
+
harvestDate: string | null;
|
|
2532
|
+
yield: number | null;
|
|
2533
|
+
yieldUnit: string | null;
|
|
2534
|
+
}[] | undefined;
|
|
2489
2535
|
}>;
|
|
2490
2536
|
}, "strip", z.ZodTypeAny, {
|
|
2491
2537
|
type: "fields";
|
|
@@ -2497,6 +2543,7 @@ export declare const fieldsRouter: {
|
|
|
2497
2543
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2498
2544
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2499
2545
|
} | null | undefined;
|
|
2546
|
+
area?: number | undefined;
|
|
2500
2547
|
currentCrop?: string | null | undefined;
|
|
2501
2548
|
plantingDate?: string | null | undefined;
|
|
2502
2549
|
ndvi?: number | undefined;
|
|
@@ -2504,6 +2551,15 @@ export declare const fieldsRouter: {
|
|
|
2504
2551
|
soilType?: string | undefined;
|
|
2505
2552
|
expectedHarvestDate?: string | null | undefined;
|
|
2506
2553
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2554
|
+
cropHistory?: {
|
|
2555
|
+
id: string;
|
|
2556
|
+
crop: string;
|
|
2557
|
+
season: string;
|
|
2558
|
+
plantingDate: string;
|
|
2559
|
+
harvestDate: string | null;
|
|
2560
|
+
yield: number | null;
|
|
2561
|
+
yieldUnit: string | null;
|
|
2562
|
+
}[] | undefined;
|
|
2507
2563
|
};
|
|
2508
2564
|
}, {
|
|
2509
2565
|
type: "fields";
|
|
@@ -2515,6 +2571,7 @@ export declare const fieldsRouter: {
|
|
|
2515
2571
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2516
2572
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2517
2573
|
} | null | undefined;
|
|
2574
|
+
area?: number | undefined;
|
|
2518
2575
|
currentCrop?: string | null | undefined;
|
|
2519
2576
|
plantingDate?: string | null | undefined;
|
|
2520
2577
|
ndvi?: number | undefined;
|
|
@@ -2522,6 +2579,15 @@ export declare const fieldsRouter: {
|
|
|
2522
2579
|
soilType?: string | undefined;
|
|
2523
2580
|
expectedHarvestDate?: string | null | undefined;
|
|
2524
2581
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2582
|
+
cropHistory?: {
|
|
2583
|
+
id: string;
|
|
2584
|
+
crop: string;
|
|
2585
|
+
season: string;
|
|
2586
|
+
plantingDate: string;
|
|
2587
|
+
harvestDate: string | null;
|
|
2588
|
+
yield: number | null;
|
|
2589
|
+
yieldUnit: string | null;
|
|
2590
|
+
}[] | undefined;
|
|
2525
2591
|
};
|
|
2526
2592
|
}>;
|
|
2527
2593
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2535,6 +2601,7 @@ export declare const fieldsRouter: {
|
|
|
2535
2601
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2536
2602
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2537
2603
|
} | null | undefined;
|
|
2604
|
+
area?: number | undefined;
|
|
2538
2605
|
currentCrop?: string | null | undefined;
|
|
2539
2606
|
plantingDate?: string | null | undefined;
|
|
2540
2607
|
ndvi?: number | undefined;
|
|
@@ -2542,6 +2609,15 @@ export declare const fieldsRouter: {
|
|
|
2542
2609
|
soilType?: string | undefined;
|
|
2543
2610
|
expectedHarvestDate?: string | null | undefined;
|
|
2544
2611
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2612
|
+
cropHistory?: {
|
|
2613
|
+
id: string;
|
|
2614
|
+
crop: string;
|
|
2615
|
+
season: string;
|
|
2616
|
+
plantingDate: string;
|
|
2617
|
+
harvestDate: string | null;
|
|
2618
|
+
yield: number | null;
|
|
2619
|
+
yieldUnit: string | null;
|
|
2620
|
+
}[] | undefined;
|
|
2545
2621
|
};
|
|
2546
2622
|
};
|
|
2547
2623
|
}, {
|
|
@@ -2555,6 +2631,7 @@ export declare const fieldsRouter: {
|
|
|
2555
2631
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2556
2632
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2557
2633
|
} | null | undefined;
|
|
2634
|
+
area?: number | undefined;
|
|
2558
2635
|
currentCrop?: string | null | undefined;
|
|
2559
2636
|
plantingDate?: string | null | undefined;
|
|
2560
2637
|
ndvi?: number | undefined;
|
|
@@ -2562,6 +2639,15 @@ export declare const fieldsRouter: {
|
|
|
2562
2639
|
soilType?: string | undefined;
|
|
2563
2640
|
expectedHarvestDate?: string | null | undefined;
|
|
2564
2641
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2642
|
+
cropHistory?: {
|
|
2643
|
+
id: string;
|
|
2644
|
+
crop: string;
|
|
2645
|
+
season: string;
|
|
2646
|
+
plantingDate: string;
|
|
2647
|
+
harvestDate: string | null;
|
|
2648
|
+
yield: number | null;
|
|
2649
|
+
yieldUnit: string | null;
|
|
2650
|
+
}[] | undefined;
|
|
2565
2651
|
};
|
|
2566
2652
|
};
|
|
2567
2653
|
}>;
|
|
@@ -3261,6 +3347,787 @@ export declare const fieldsRouter: {
|
|
|
3261
3347
|
}>;
|
|
3262
3348
|
};
|
|
3263
3349
|
};
|
|
3350
|
+
recordPlanting: {
|
|
3351
|
+
pathParams: z.ZodObject<{
|
|
3352
|
+
farmId: z.ZodString;
|
|
3353
|
+
id: z.ZodString;
|
|
3354
|
+
}, "strip", z.ZodTypeAny, {
|
|
3355
|
+
id: string;
|
|
3356
|
+
farmId: string;
|
|
3357
|
+
}, {
|
|
3358
|
+
id: string;
|
|
3359
|
+
farmId: string;
|
|
3360
|
+
}>;
|
|
3361
|
+
summary: "Record planting";
|
|
3362
|
+
description: "Record a new planting on a field, archiving the prior season into cropHistory when present";
|
|
3363
|
+
method: "POST";
|
|
3364
|
+
body: z.ZodObject<{
|
|
3365
|
+
data: z.ZodObject<{
|
|
3366
|
+
type: z.ZodLiteral<"field-plantings">;
|
|
3367
|
+
attributes: z.ZodObject<{
|
|
3368
|
+
plantingDate: z.ZodString;
|
|
3369
|
+
currentCrop: z.ZodString;
|
|
3370
|
+
expectedHarvestDate: z.ZodOptional<z.ZodString>;
|
|
3371
|
+
variety: z.ZodOptional<z.ZodString>;
|
|
3372
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
3373
|
+
cropStage: z.ZodOptional<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
|
|
3374
|
+
}, "strip", z.ZodTypeAny, {
|
|
3375
|
+
currentCrop: string;
|
|
3376
|
+
plantingDate: string;
|
|
3377
|
+
expectedHarvestDate?: string | undefined;
|
|
3378
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
3379
|
+
variety?: string | undefined;
|
|
3380
|
+
notes?: string | undefined;
|
|
3381
|
+
}, {
|
|
3382
|
+
currentCrop: string;
|
|
3383
|
+
plantingDate: string;
|
|
3384
|
+
expectedHarvestDate?: string | undefined;
|
|
3385
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
3386
|
+
variety?: string | undefined;
|
|
3387
|
+
notes?: string | undefined;
|
|
3388
|
+
}>;
|
|
3389
|
+
}, "strip", z.ZodTypeAny, {
|
|
3390
|
+
type: "field-plantings";
|
|
3391
|
+
attributes: {
|
|
3392
|
+
currentCrop: string;
|
|
3393
|
+
plantingDate: string;
|
|
3394
|
+
expectedHarvestDate?: string | undefined;
|
|
3395
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
3396
|
+
variety?: string | undefined;
|
|
3397
|
+
notes?: string | undefined;
|
|
3398
|
+
};
|
|
3399
|
+
}, {
|
|
3400
|
+
type: "field-plantings";
|
|
3401
|
+
attributes: {
|
|
3402
|
+
currentCrop: string;
|
|
3403
|
+
plantingDate: string;
|
|
3404
|
+
expectedHarvestDate?: string | undefined;
|
|
3405
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
3406
|
+
variety?: string | undefined;
|
|
3407
|
+
notes?: string | undefined;
|
|
3408
|
+
};
|
|
3409
|
+
}>;
|
|
3410
|
+
}, "strip", z.ZodTypeAny, {
|
|
3411
|
+
data: {
|
|
3412
|
+
type: "field-plantings";
|
|
3413
|
+
attributes: {
|
|
3414
|
+
currentCrop: string;
|
|
3415
|
+
plantingDate: string;
|
|
3416
|
+
expectedHarvestDate?: string | undefined;
|
|
3417
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
3418
|
+
variety?: string | undefined;
|
|
3419
|
+
notes?: string | undefined;
|
|
3420
|
+
};
|
|
3421
|
+
};
|
|
3422
|
+
}, {
|
|
3423
|
+
data: {
|
|
3424
|
+
type: "field-plantings";
|
|
3425
|
+
attributes: {
|
|
3426
|
+
currentCrop: string;
|
|
3427
|
+
plantingDate: string;
|
|
3428
|
+
expectedHarvestDate?: string | undefined;
|
|
3429
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
3430
|
+
variety?: string | undefined;
|
|
3431
|
+
notes?: string | undefined;
|
|
3432
|
+
};
|
|
3433
|
+
};
|
|
3434
|
+
}>;
|
|
3435
|
+
path: "/farms/:farmId/fields/:id/plantings";
|
|
3436
|
+
responses: {
|
|
3437
|
+
200: z.ZodObject<{
|
|
3438
|
+
data: z.ZodObject<{
|
|
3439
|
+
type: z.ZodLiteral<string>;
|
|
3440
|
+
id: z.ZodString;
|
|
3441
|
+
attributes: z.ZodObject<{
|
|
3442
|
+
name: z.ZodString;
|
|
3443
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
3444
|
+
type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
|
|
3445
|
+
coordinates: z.ZodUnion<[z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
|
|
3446
|
+
}, "strip", z.ZodTypeAny, {
|
|
3447
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
3448
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
3449
|
+
}, {
|
|
3450
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
3451
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
3452
|
+
}>>;
|
|
3453
|
+
ndvi: z.ZodNullable<z.ZodNumber>;
|
|
3454
|
+
moisture: z.ZodNullable<z.ZodString>;
|
|
3455
|
+
status: z.ZodEnum<["ok", "alert", "critical"]>;
|
|
3456
|
+
area: z.ZodNullable<z.ZodString>;
|
|
3457
|
+
crop: z.ZodNullable<z.ZodString>;
|
|
3458
|
+
soilType: z.ZodNullable<z.ZodString>;
|
|
3459
|
+
currentCrop: z.ZodNullable<z.ZodString>;
|
|
3460
|
+
plantingDate: z.ZodNullable<z.ZodString>;
|
|
3461
|
+
expectedHarvestDate: z.ZodNullable<z.ZodString>;
|
|
3462
|
+
cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
|
|
3463
|
+
historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3464
|
+
date: z.ZodString;
|
|
3465
|
+
value: z.ZodNumber;
|
|
3466
|
+
}, "strip", z.ZodTypeAny, {
|
|
3467
|
+
value: number;
|
|
3468
|
+
date: string;
|
|
3469
|
+
}, {
|
|
3470
|
+
value: number;
|
|
3471
|
+
date: string;
|
|
3472
|
+
}>, "many">>;
|
|
3473
|
+
cropHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3474
|
+
id: z.ZodString;
|
|
3475
|
+
season: z.ZodString;
|
|
3476
|
+
crop: z.ZodString;
|
|
3477
|
+
plantingDate: z.ZodString;
|
|
3478
|
+
harvestDate: z.ZodNullable<z.ZodString>;
|
|
3479
|
+
yield: z.ZodNullable<z.ZodNumber>;
|
|
3480
|
+
yieldUnit: z.ZodNullable<z.ZodString>;
|
|
3481
|
+
}, "strip", z.ZodTypeAny, {
|
|
3482
|
+
id: string;
|
|
3483
|
+
crop: string;
|
|
3484
|
+
season: string;
|
|
3485
|
+
plantingDate: string;
|
|
3486
|
+
harvestDate: string | null;
|
|
3487
|
+
yield: number | null;
|
|
3488
|
+
yieldUnit: string | null;
|
|
3489
|
+
}, {
|
|
3490
|
+
id: string;
|
|
3491
|
+
crop: string;
|
|
3492
|
+
season: string;
|
|
3493
|
+
plantingDate: string;
|
|
3494
|
+
harvestDate: string | null;
|
|
3495
|
+
yield: number | null;
|
|
3496
|
+
yieldUnit: string | null;
|
|
3497
|
+
}>, "many">>;
|
|
3498
|
+
} & {
|
|
3499
|
+
createdAt: z.ZodString;
|
|
3500
|
+
updatedAt: z.ZodString;
|
|
3501
|
+
}, "strip", z.ZodTypeAny, {
|
|
3502
|
+
status: "ok" | "alert" | "critical";
|
|
3503
|
+
createdAt: string;
|
|
3504
|
+
updatedAt: string;
|
|
3505
|
+
name: string;
|
|
3506
|
+
crop: string | null;
|
|
3507
|
+
geometry: {
|
|
3508
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
3509
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
3510
|
+
} | null;
|
|
3511
|
+
area: string | null;
|
|
3512
|
+
currentCrop: string | null;
|
|
3513
|
+
plantingDate: string | null;
|
|
3514
|
+
ndvi: number | null;
|
|
3515
|
+
moisture: string | null;
|
|
3516
|
+
soilType: string | null;
|
|
3517
|
+
expectedHarvestDate: string | null;
|
|
3518
|
+
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
3519
|
+
historicalNdvi?: {
|
|
3520
|
+
value: number;
|
|
3521
|
+
date: string;
|
|
3522
|
+
}[] | undefined;
|
|
3523
|
+
cropHistory?: {
|
|
3524
|
+
id: string;
|
|
3525
|
+
crop: string;
|
|
3526
|
+
season: string;
|
|
3527
|
+
plantingDate: string;
|
|
3528
|
+
harvestDate: string | null;
|
|
3529
|
+
yield: number | null;
|
|
3530
|
+
yieldUnit: string | null;
|
|
3531
|
+
}[] | undefined;
|
|
3532
|
+
}, {
|
|
3533
|
+
status: "ok" | "alert" | "critical";
|
|
3534
|
+
createdAt: string;
|
|
3535
|
+
updatedAt: string;
|
|
3536
|
+
name: string;
|
|
3537
|
+
crop: string | null;
|
|
3538
|
+
geometry: {
|
|
3539
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
3540
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
3541
|
+
} | null;
|
|
3542
|
+
area: string | null;
|
|
3543
|
+
currentCrop: string | null;
|
|
3544
|
+
plantingDate: string | null;
|
|
3545
|
+
ndvi: number | null;
|
|
3546
|
+
moisture: string | null;
|
|
3547
|
+
soilType: string | null;
|
|
3548
|
+
expectedHarvestDate: string | null;
|
|
3549
|
+
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
3550
|
+
historicalNdvi?: {
|
|
3551
|
+
value: number;
|
|
3552
|
+
date: string;
|
|
3553
|
+
}[] | undefined;
|
|
3554
|
+
cropHistory?: {
|
|
3555
|
+
id: string;
|
|
3556
|
+
crop: string;
|
|
3557
|
+
season: string;
|
|
3558
|
+
plantingDate: string;
|
|
3559
|
+
harvestDate: string | null;
|
|
3560
|
+
yield: number | null;
|
|
3561
|
+
yieldUnit: string | null;
|
|
3562
|
+
}[] | undefined;
|
|
3563
|
+
}>;
|
|
3564
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3565
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3566
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3567
|
+
}, "strip", z.ZodTypeAny, {
|
|
3568
|
+
type: string;
|
|
3569
|
+
id: string;
|
|
3570
|
+
attributes: {
|
|
3571
|
+
status: "ok" | "alert" | "critical";
|
|
3572
|
+
createdAt: string;
|
|
3573
|
+
updatedAt: string;
|
|
3574
|
+
name: string;
|
|
3575
|
+
crop: string | null;
|
|
3576
|
+
geometry: {
|
|
3577
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
3578
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
3579
|
+
} | null;
|
|
3580
|
+
area: string | null;
|
|
3581
|
+
currentCrop: string | null;
|
|
3582
|
+
plantingDate: string | null;
|
|
3583
|
+
ndvi: number | null;
|
|
3584
|
+
moisture: string | null;
|
|
3585
|
+
soilType: string | null;
|
|
3586
|
+
expectedHarvestDate: string | null;
|
|
3587
|
+
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
3588
|
+
historicalNdvi?: {
|
|
3589
|
+
value: number;
|
|
3590
|
+
date: string;
|
|
3591
|
+
}[] | undefined;
|
|
3592
|
+
cropHistory?: {
|
|
3593
|
+
id: string;
|
|
3594
|
+
crop: string;
|
|
3595
|
+
season: string;
|
|
3596
|
+
plantingDate: string;
|
|
3597
|
+
harvestDate: string | null;
|
|
3598
|
+
yield: number | null;
|
|
3599
|
+
yieldUnit: string | null;
|
|
3600
|
+
}[] | undefined;
|
|
3601
|
+
};
|
|
3602
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3603
|
+
links?: Record<string, string> | undefined;
|
|
3604
|
+
meta?: Record<string, unknown> | undefined;
|
|
3605
|
+
}, {
|
|
3606
|
+
type: string;
|
|
3607
|
+
id: string;
|
|
3608
|
+
attributes: {
|
|
3609
|
+
status: "ok" | "alert" | "critical";
|
|
3610
|
+
createdAt: string;
|
|
3611
|
+
updatedAt: string;
|
|
3612
|
+
name: string;
|
|
3613
|
+
crop: string | null;
|
|
3614
|
+
geometry: {
|
|
3615
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
3616
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
3617
|
+
} | null;
|
|
3618
|
+
area: string | null;
|
|
3619
|
+
currentCrop: string | null;
|
|
3620
|
+
plantingDate: string | null;
|
|
3621
|
+
ndvi: number | null;
|
|
3622
|
+
moisture: string | null;
|
|
3623
|
+
soilType: string | null;
|
|
3624
|
+
expectedHarvestDate: string | null;
|
|
3625
|
+
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
3626
|
+
historicalNdvi?: {
|
|
3627
|
+
value: number;
|
|
3628
|
+
date: string;
|
|
3629
|
+
}[] | undefined;
|
|
3630
|
+
cropHistory?: {
|
|
3631
|
+
id: string;
|
|
3632
|
+
crop: string;
|
|
3633
|
+
season: string;
|
|
3634
|
+
plantingDate: string;
|
|
3635
|
+
harvestDate: string | null;
|
|
3636
|
+
yield: number | null;
|
|
3637
|
+
yieldUnit: string | null;
|
|
3638
|
+
}[] | undefined;
|
|
3639
|
+
};
|
|
3640
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3641
|
+
links?: Record<string, string> | undefined;
|
|
3642
|
+
meta?: Record<string, unknown> | undefined;
|
|
3643
|
+
}>;
|
|
3644
|
+
included: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3645
|
+
type: z.ZodString;
|
|
3646
|
+
id: z.ZodString;
|
|
3647
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3648
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3649
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3650
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3651
|
+
}, "strip", z.ZodTypeAny, {
|
|
3652
|
+
type: string;
|
|
3653
|
+
id: string;
|
|
3654
|
+
attributes?: Record<string, unknown> | undefined;
|
|
3655
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3656
|
+
links?: Record<string, string> | undefined;
|
|
3657
|
+
meta?: Record<string, unknown> | undefined;
|
|
3658
|
+
}, {
|
|
3659
|
+
type: string;
|
|
3660
|
+
id: string;
|
|
3661
|
+
attributes?: Record<string, unknown> | undefined;
|
|
3662
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3663
|
+
links?: Record<string, string> | undefined;
|
|
3664
|
+
meta?: Record<string, unknown> | undefined;
|
|
3665
|
+
}>, "many">>;
|
|
3666
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3667
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3668
|
+
}, "strip", z.ZodTypeAny, {
|
|
3669
|
+
data: {
|
|
3670
|
+
type: string;
|
|
3671
|
+
id: string;
|
|
3672
|
+
attributes: {
|
|
3673
|
+
status: "ok" | "alert" | "critical";
|
|
3674
|
+
createdAt: string;
|
|
3675
|
+
updatedAt: string;
|
|
3676
|
+
name: string;
|
|
3677
|
+
crop: string | null;
|
|
3678
|
+
geometry: {
|
|
3679
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
3680
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
3681
|
+
} | null;
|
|
3682
|
+
area: string | null;
|
|
3683
|
+
currentCrop: string | null;
|
|
3684
|
+
plantingDate: string | null;
|
|
3685
|
+
ndvi: number | null;
|
|
3686
|
+
moisture: string | null;
|
|
3687
|
+
soilType: string | null;
|
|
3688
|
+
expectedHarvestDate: string | null;
|
|
3689
|
+
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
3690
|
+
historicalNdvi?: {
|
|
3691
|
+
value: number;
|
|
3692
|
+
date: string;
|
|
3693
|
+
}[] | undefined;
|
|
3694
|
+
cropHistory?: {
|
|
3695
|
+
id: string;
|
|
3696
|
+
crop: string;
|
|
3697
|
+
season: string;
|
|
3698
|
+
plantingDate: string;
|
|
3699
|
+
harvestDate: string | null;
|
|
3700
|
+
yield: number | null;
|
|
3701
|
+
yieldUnit: string | null;
|
|
3702
|
+
}[] | undefined;
|
|
3703
|
+
};
|
|
3704
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3705
|
+
links?: Record<string, string> | undefined;
|
|
3706
|
+
meta?: Record<string, unknown> | undefined;
|
|
3707
|
+
};
|
|
3708
|
+
links?: Record<string, string> | undefined;
|
|
3709
|
+
meta?: Record<string, unknown> | undefined;
|
|
3710
|
+
included?: {
|
|
3711
|
+
type: string;
|
|
3712
|
+
id: string;
|
|
3713
|
+
attributes?: Record<string, unknown> | undefined;
|
|
3714
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3715
|
+
links?: Record<string, string> | undefined;
|
|
3716
|
+
meta?: Record<string, unknown> | undefined;
|
|
3717
|
+
}[] | undefined;
|
|
3718
|
+
}, {
|
|
3719
|
+
data: {
|
|
3720
|
+
type: string;
|
|
3721
|
+
id: string;
|
|
3722
|
+
attributes: {
|
|
3723
|
+
status: "ok" | "alert" | "critical";
|
|
3724
|
+
createdAt: string;
|
|
3725
|
+
updatedAt: string;
|
|
3726
|
+
name: string;
|
|
3727
|
+
crop: string | null;
|
|
3728
|
+
geometry: {
|
|
3729
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
3730
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
3731
|
+
} | null;
|
|
3732
|
+
area: string | null;
|
|
3733
|
+
currentCrop: string | null;
|
|
3734
|
+
plantingDate: string | null;
|
|
3735
|
+
ndvi: number | null;
|
|
3736
|
+
moisture: string | null;
|
|
3737
|
+
soilType: string | null;
|
|
3738
|
+
expectedHarvestDate: string | null;
|
|
3739
|
+
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
3740
|
+
historicalNdvi?: {
|
|
3741
|
+
value: number;
|
|
3742
|
+
date: string;
|
|
3743
|
+
}[] | undefined;
|
|
3744
|
+
cropHistory?: {
|
|
3745
|
+
id: string;
|
|
3746
|
+
crop: string;
|
|
3747
|
+
season: string;
|
|
3748
|
+
plantingDate: string;
|
|
3749
|
+
harvestDate: string | null;
|
|
3750
|
+
yield: number | null;
|
|
3751
|
+
yieldUnit: string | null;
|
|
3752
|
+
}[] | undefined;
|
|
3753
|
+
};
|
|
3754
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3755
|
+
links?: Record<string, string> | undefined;
|
|
3756
|
+
meta?: Record<string, unknown> | undefined;
|
|
3757
|
+
};
|
|
3758
|
+
links?: Record<string, string> | undefined;
|
|
3759
|
+
meta?: Record<string, unknown> | undefined;
|
|
3760
|
+
included?: {
|
|
3761
|
+
type: string;
|
|
3762
|
+
id: string;
|
|
3763
|
+
attributes?: Record<string, unknown> | undefined;
|
|
3764
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3765
|
+
links?: Record<string, string> | undefined;
|
|
3766
|
+
meta?: Record<string, unknown> | undefined;
|
|
3767
|
+
}[] | undefined;
|
|
3768
|
+
}>;
|
|
3769
|
+
400: z.ZodObject<{
|
|
3770
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
3771
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3772
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
3773
|
+
about: z.ZodOptional<z.ZodString>;
|
|
3774
|
+
}, "strip", z.ZodTypeAny, {
|
|
3775
|
+
about?: string | undefined;
|
|
3776
|
+
}, {
|
|
3777
|
+
about?: string | undefined;
|
|
3778
|
+
}>>;
|
|
3779
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3780
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3781
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3782
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3783
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
3784
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
3785
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
3786
|
+
}, "strip", z.ZodTypeAny, {
|
|
3787
|
+
pointer?: string | undefined;
|
|
3788
|
+
parameter?: string | undefined;
|
|
3789
|
+
}, {
|
|
3790
|
+
pointer?: string | undefined;
|
|
3791
|
+
parameter?: string | undefined;
|
|
3792
|
+
}>>;
|
|
3793
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3794
|
+
}, "strip", z.ZodTypeAny, {
|
|
3795
|
+
status?: string | undefined;
|
|
3796
|
+
code?: string | undefined;
|
|
3797
|
+
id?: string | undefined;
|
|
3798
|
+
links?: {
|
|
3799
|
+
about?: string | undefined;
|
|
3800
|
+
} | undefined;
|
|
3801
|
+
meta?: Record<string, unknown> | undefined;
|
|
3802
|
+
title?: string | undefined;
|
|
3803
|
+
detail?: string | undefined;
|
|
3804
|
+
source?: {
|
|
3805
|
+
pointer?: string | undefined;
|
|
3806
|
+
parameter?: string | undefined;
|
|
3807
|
+
} | undefined;
|
|
3808
|
+
}, {
|
|
3809
|
+
status?: string | undefined;
|
|
3810
|
+
code?: string | undefined;
|
|
3811
|
+
id?: string | undefined;
|
|
3812
|
+
links?: {
|
|
3813
|
+
about?: string | undefined;
|
|
3814
|
+
} | undefined;
|
|
3815
|
+
meta?: Record<string, unknown> | undefined;
|
|
3816
|
+
title?: string | undefined;
|
|
3817
|
+
detail?: string | undefined;
|
|
3818
|
+
source?: {
|
|
3819
|
+
pointer?: string | undefined;
|
|
3820
|
+
parameter?: string | undefined;
|
|
3821
|
+
} | undefined;
|
|
3822
|
+
}>, "many">;
|
|
3823
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3824
|
+
}, "strip", z.ZodTypeAny, {
|
|
3825
|
+
errors: {
|
|
3826
|
+
status?: string | undefined;
|
|
3827
|
+
code?: string | undefined;
|
|
3828
|
+
id?: string | undefined;
|
|
3829
|
+
links?: {
|
|
3830
|
+
about?: string | undefined;
|
|
3831
|
+
} | undefined;
|
|
3832
|
+
meta?: Record<string, unknown> | undefined;
|
|
3833
|
+
title?: string | undefined;
|
|
3834
|
+
detail?: string | undefined;
|
|
3835
|
+
source?: {
|
|
3836
|
+
pointer?: string | undefined;
|
|
3837
|
+
parameter?: string | undefined;
|
|
3838
|
+
} | undefined;
|
|
3839
|
+
}[];
|
|
3840
|
+
meta?: Record<string, unknown> | undefined;
|
|
3841
|
+
}, {
|
|
3842
|
+
errors: {
|
|
3843
|
+
status?: string | undefined;
|
|
3844
|
+
code?: string | undefined;
|
|
3845
|
+
id?: string | undefined;
|
|
3846
|
+
links?: {
|
|
3847
|
+
about?: string | undefined;
|
|
3848
|
+
} | undefined;
|
|
3849
|
+
meta?: Record<string, unknown> | undefined;
|
|
3850
|
+
title?: string | undefined;
|
|
3851
|
+
detail?: string | undefined;
|
|
3852
|
+
source?: {
|
|
3853
|
+
pointer?: string | undefined;
|
|
3854
|
+
parameter?: string | undefined;
|
|
3855
|
+
} | undefined;
|
|
3856
|
+
}[];
|
|
3857
|
+
meta?: Record<string, unknown> | undefined;
|
|
3858
|
+
}>;
|
|
3859
|
+
404: z.ZodObject<{
|
|
3860
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
3861
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3862
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
3863
|
+
about: z.ZodOptional<z.ZodString>;
|
|
3864
|
+
}, "strip", z.ZodTypeAny, {
|
|
3865
|
+
about?: string | undefined;
|
|
3866
|
+
}, {
|
|
3867
|
+
about?: string | undefined;
|
|
3868
|
+
}>>;
|
|
3869
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3870
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3871
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3872
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3873
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
3874
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
3875
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
3876
|
+
}, "strip", z.ZodTypeAny, {
|
|
3877
|
+
pointer?: string | undefined;
|
|
3878
|
+
parameter?: string | undefined;
|
|
3879
|
+
}, {
|
|
3880
|
+
pointer?: string | undefined;
|
|
3881
|
+
parameter?: string | undefined;
|
|
3882
|
+
}>>;
|
|
3883
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3884
|
+
}, "strip", z.ZodTypeAny, {
|
|
3885
|
+
status?: string | undefined;
|
|
3886
|
+
code?: string | undefined;
|
|
3887
|
+
id?: string | undefined;
|
|
3888
|
+
links?: {
|
|
3889
|
+
about?: string | undefined;
|
|
3890
|
+
} | undefined;
|
|
3891
|
+
meta?: Record<string, unknown> | undefined;
|
|
3892
|
+
title?: string | undefined;
|
|
3893
|
+
detail?: string | undefined;
|
|
3894
|
+
source?: {
|
|
3895
|
+
pointer?: string | undefined;
|
|
3896
|
+
parameter?: string | undefined;
|
|
3897
|
+
} | undefined;
|
|
3898
|
+
}, {
|
|
3899
|
+
status?: string | undefined;
|
|
3900
|
+
code?: string | undefined;
|
|
3901
|
+
id?: string | undefined;
|
|
3902
|
+
links?: {
|
|
3903
|
+
about?: string | undefined;
|
|
3904
|
+
} | undefined;
|
|
3905
|
+
meta?: Record<string, unknown> | undefined;
|
|
3906
|
+
title?: string | undefined;
|
|
3907
|
+
detail?: string | undefined;
|
|
3908
|
+
source?: {
|
|
3909
|
+
pointer?: string | undefined;
|
|
3910
|
+
parameter?: string | undefined;
|
|
3911
|
+
} | undefined;
|
|
3912
|
+
}>, "many">;
|
|
3913
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3914
|
+
}, "strip", z.ZodTypeAny, {
|
|
3915
|
+
errors: {
|
|
3916
|
+
status?: string | undefined;
|
|
3917
|
+
code?: string | undefined;
|
|
3918
|
+
id?: string | undefined;
|
|
3919
|
+
links?: {
|
|
3920
|
+
about?: string | undefined;
|
|
3921
|
+
} | undefined;
|
|
3922
|
+
meta?: Record<string, unknown> | undefined;
|
|
3923
|
+
title?: string | undefined;
|
|
3924
|
+
detail?: string | undefined;
|
|
3925
|
+
source?: {
|
|
3926
|
+
pointer?: string | undefined;
|
|
3927
|
+
parameter?: string | undefined;
|
|
3928
|
+
} | undefined;
|
|
3929
|
+
}[];
|
|
3930
|
+
meta?: Record<string, unknown> | undefined;
|
|
3931
|
+
}, {
|
|
3932
|
+
errors: {
|
|
3933
|
+
status?: string | undefined;
|
|
3934
|
+
code?: string | undefined;
|
|
3935
|
+
id?: string | undefined;
|
|
3936
|
+
links?: {
|
|
3937
|
+
about?: string | undefined;
|
|
3938
|
+
} | undefined;
|
|
3939
|
+
meta?: Record<string, unknown> | undefined;
|
|
3940
|
+
title?: string | undefined;
|
|
3941
|
+
detail?: string | undefined;
|
|
3942
|
+
source?: {
|
|
3943
|
+
pointer?: string | undefined;
|
|
3944
|
+
parameter?: string | undefined;
|
|
3945
|
+
} | undefined;
|
|
3946
|
+
}[];
|
|
3947
|
+
meta?: Record<string, unknown> | undefined;
|
|
3948
|
+
}>;
|
|
3949
|
+
401: z.ZodObject<{
|
|
3950
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
3951
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3952
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
3953
|
+
about: z.ZodOptional<z.ZodString>;
|
|
3954
|
+
}, "strip", z.ZodTypeAny, {
|
|
3955
|
+
about?: string | undefined;
|
|
3956
|
+
}, {
|
|
3957
|
+
about?: string | undefined;
|
|
3958
|
+
}>>;
|
|
3959
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3960
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3961
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3962
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3963
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
3964
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
3965
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
3966
|
+
}, "strip", z.ZodTypeAny, {
|
|
3967
|
+
pointer?: string | undefined;
|
|
3968
|
+
parameter?: string | undefined;
|
|
3969
|
+
}, {
|
|
3970
|
+
pointer?: string | undefined;
|
|
3971
|
+
parameter?: string | undefined;
|
|
3972
|
+
}>>;
|
|
3973
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3974
|
+
}, "strip", z.ZodTypeAny, {
|
|
3975
|
+
status?: string | undefined;
|
|
3976
|
+
code?: string | undefined;
|
|
3977
|
+
id?: string | undefined;
|
|
3978
|
+
links?: {
|
|
3979
|
+
about?: string | undefined;
|
|
3980
|
+
} | undefined;
|
|
3981
|
+
meta?: Record<string, unknown> | undefined;
|
|
3982
|
+
title?: string | undefined;
|
|
3983
|
+
detail?: string | undefined;
|
|
3984
|
+
source?: {
|
|
3985
|
+
pointer?: string | undefined;
|
|
3986
|
+
parameter?: string | undefined;
|
|
3987
|
+
} | undefined;
|
|
3988
|
+
}, {
|
|
3989
|
+
status?: string | undefined;
|
|
3990
|
+
code?: string | undefined;
|
|
3991
|
+
id?: string | undefined;
|
|
3992
|
+
links?: {
|
|
3993
|
+
about?: string | undefined;
|
|
3994
|
+
} | undefined;
|
|
3995
|
+
meta?: Record<string, unknown> | undefined;
|
|
3996
|
+
title?: string | undefined;
|
|
3997
|
+
detail?: string | undefined;
|
|
3998
|
+
source?: {
|
|
3999
|
+
pointer?: string | undefined;
|
|
4000
|
+
parameter?: string | undefined;
|
|
4001
|
+
} | undefined;
|
|
4002
|
+
}>, "many">;
|
|
4003
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4004
|
+
}, "strip", z.ZodTypeAny, {
|
|
4005
|
+
errors: {
|
|
4006
|
+
status?: string | undefined;
|
|
4007
|
+
code?: string | undefined;
|
|
4008
|
+
id?: string | undefined;
|
|
4009
|
+
links?: {
|
|
4010
|
+
about?: string | undefined;
|
|
4011
|
+
} | undefined;
|
|
4012
|
+
meta?: Record<string, unknown> | undefined;
|
|
4013
|
+
title?: string | undefined;
|
|
4014
|
+
detail?: string | undefined;
|
|
4015
|
+
source?: {
|
|
4016
|
+
pointer?: string | undefined;
|
|
4017
|
+
parameter?: string | undefined;
|
|
4018
|
+
} | undefined;
|
|
4019
|
+
}[];
|
|
4020
|
+
meta?: Record<string, unknown> | undefined;
|
|
4021
|
+
}, {
|
|
4022
|
+
errors: {
|
|
4023
|
+
status?: string | undefined;
|
|
4024
|
+
code?: string | undefined;
|
|
4025
|
+
id?: string | undefined;
|
|
4026
|
+
links?: {
|
|
4027
|
+
about?: string | undefined;
|
|
4028
|
+
} | undefined;
|
|
4029
|
+
meta?: Record<string, unknown> | undefined;
|
|
4030
|
+
title?: string | undefined;
|
|
4031
|
+
detail?: string | undefined;
|
|
4032
|
+
source?: {
|
|
4033
|
+
pointer?: string | undefined;
|
|
4034
|
+
parameter?: string | undefined;
|
|
4035
|
+
} | undefined;
|
|
4036
|
+
}[];
|
|
4037
|
+
meta?: Record<string, unknown> | undefined;
|
|
4038
|
+
}>;
|
|
4039
|
+
422: z.ZodObject<{
|
|
4040
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4041
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4042
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
4043
|
+
about: z.ZodOptional<z.ZodString>;
|
|
4044
|
+
}, "strip", z.ZodTypeAny, {
|
|
4045
|
+
about?: string | undefined;
|
|
4046
|
+
}, {
|
|
4047
|
+
about?: string | undefined;
|
|
4048
|
+
}>>;
|
|
4049
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4050
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4051
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4052
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4053
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
4054
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
4055
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
4056
|
+
}, "strip", z.ZodTypeAny, {
|
|
4057
|
+
pointer?: string | undefined;
|
|
4058
|
+
parameter?: string | undefined;
|
|
4059
|
+
}, {
|
|
4060
|
+
pointer?: string | undefined;
|
|
4061
|
+
parameter?: string | undefined;
|
|
4062
|
+
}>>;
|
|
4063
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4064
|
+
}, "strip", z.ZodTypeAny, {
|
|
4065
|
+
status?: string | undefined;
|
|
4066
|
+
code?: string | undefined;
|
|
4067
|
+
id?: string | undefined;
|
|
4068
|
+
links?: {
|
|
4069
|
+
about?: string | undefined;
|
|
4070
|
+
} | undefined;
|
|
4071
|
+
meta?: Record<string, unknown> | undefined;
|
|
4072
|
+
title?: string | undefined;
|
|
4073
|
+
detail?: string | undefined;
|
|
4074
|
+
source?: {
|
|
4075
|
+
pointer?: string | undefined;
|
|
4076
|
+
parameter?: string | undefined;
|
|
4077
|
+
} | undefined;
|
|
4078
|
+
}, {
|
|
4079
|
+
status?: string | undefined;
|
|
4080
|
+
code?: string | undefined;
|
|
4081
|
+
id?: string | undefined;
|
|
4082
|
+
links?: {
|
|
4083
|
+
about?: string | undefined;
|
|
4084
|
+
} | undefined;
|
|
4085
|
+
meta?: Record<string, unknown> | undefined;
|
|
4086
|
+
title?: string | undefined;
|
|
4087
|
+
detail?: string | undefined;
|
|
4088
|
+
source?: {
|
|
4089
|
+
pointer?: string | undefined;
|
|
4090
|
+
parameter?: string | undefined;
|
|
4091
|
+
} | undefined;
|
|
4092
|
+
}>, "many">;
|
|
4093
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4094
|
+
}, "strip", z.ZodTypeAny, {
|
|
4095
|
+
errors: {
|
|
4096
|
+
status?: string | undefined;
|
|
4097
|
+
code?: string | undefined;
|
|
4098
|
+
id?: string | undefined;
|
|
4099
|
+
links?: {
|
|
4100
|
+
about?: string | undefined;
|
|
4101
|
+
} | undefined;
|
|
4102
|
+
meta?: Record<string, unknown> | undefined;
|
|
4103
|
+
title?: string | undefined;
|
|
4104
|
+
detail?: string | undefined;
|
|
4105
|
+
source?: {
|
|
4106
|
+
pointer?: string | undefined;
|
|
4107
|
+
parameter?: string | undefined;
|
|
4108
|
+
} | undefined;
|
|
4109
|
+
}[];
|
|
4110
|
+
meta?: Record<string, unknown> | undefined;
|
|
4111
|
+
}, {
|
|
4112
|
+
errors: {
|
|
4113
|
+
status?: string | undefined;
|
|
4114
|
+
code?: string | undefined;
|
|
4115
|
+
id?: string | undefined;
|
|
4116
|
+
links?: {
|
|
4117
|
+
about?: string | undefined;
|
|
4118
|
+
} | undefined;
|
|
4119
|
+
meta?: Record<string, unknown> | undefined;
|
|
4120
|
+
title?: string | undefined;
|
|
4121
|
+
detail?: string | undefined;
|
|
4122
|
+
source?: {
|
|
4123
|
+
pointer?: string | undefined;
|
|
4124
|
+
parameter?: string | undefined;
|
|
4125
|
+
} | undefined;
|
|
4126
|
+
}[];
|
|
4127
|
+
meta?: Record<string, unknown> | undefined;
|
|
4128
|
+
}>;
|
|
4129
|
+
};
|
|
4130
|
+
};
|
|
3264
4131
|
deleteField: {
|
|
3265
4132
|
pathParams: z.ZodObject<{
|
|
3266
4133
|
farmId: z.ZodString;
|