@deepintel-ltd/farmpro-contracts 1.16.1 → 1.16.2
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 +8 -8
- package/dist/routes/documents.routes.d.ts +78 -78
- package/dist/routes/fertigation.routes.d.ts +4 -4
- package/dist/routes/field-observations.routes.d.ts +174 -28
- package/dist/routes/field-observations.routes.d.ts.map +1 -1
- package/dist/routes/field-observations.routes.js +7 -4
- package/dist/routes/fields.routes.d.ts +797 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.js +23 -1
- package/dist/routes/files.routes.d.ts +6 -6
- package/dist/routes/finance.routes.d.ts +30 -30
- package/dist/routes/inventory.routes.d.ts +6 -6
- package/dist/routes/irrigation.routes.d.ts +2 -2
- package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
- package/dist/routes/pest-disease-risk.routes.d.ts +44 -44
- package/dist/routes/prescription-maps.routes.d.ts +4 -4
- package/dist/routes/subscriptions.routes.d.ts +4 -4
- package/dist/routes/tasks.routes.d.ts +108 -108
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/routes/weather.routes.d.ts +42 -42
- package/dist/schemas/agents.schemas.d.ts +8 -8
- package/dist/schemas/common.schemas.d.ts +32 -0
- package/dist/schemas/common.schemas.d.ts.map +1 -1
- package/dist/schemas/common.schemas.js +14 -0
- package/dist/schemas/documents.schemas.d.ts +48 -48
- package/dist/schemas/fertigation.schemas.d.ts +2 -2
- package/dist/schemas/fields.schemas.d.ts +42 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +4 -0
- package/dist/schemas/files.schemas.d.ts +12 -12
- package/dist/schemas/finance.schemas.d.ts +34 -34
- package/dist/schemas/inventory.schemas.d.ts +6 -6
- package/dist/schemas/irrigation.schemas.d.ts +2 -2
- package/dist/schemas/monitoring-visualization.schemas.d.ts +6 -6
- package/dist/schemas/pest-disease-risk.schemas.d.ts +36 -36
- package/dist/schemas/prescription-maps.schemas.d.ts +4 -4
- package/dist/schemas/subscriptions.schemas.d.ts +2 -2
- package/dist/schemas/tasks.schemas.d.ts +96 -96
- package/dist/schemas/team-payments.schemas.d.ts +24 -24
- package/dist/schemas/weather.schemas.d.ts +84 -84
- package/package.json +1 -1
|
@@ -1470,8 +1470,8 @@ export declare const vendorPaymentAttributesSchema: z.ZodObject<{
|
|
|
1470
1470
|
updatedAt: string;
|
|
1471
1471
|
farmId: string;
|
|
1472
1472
|
currency: string;
|
|
1473
|
-
fieldId: string | null;
|
|
1474
1473
|
category: string;
|
|
1474
|
+
fieldId: string | null;
|
|
1475
1475
|
cropId: string | null;
|
|
1476
1476
|
expenseId: string | null;
|
|
1477
1477
|
amount: number;
|
|
@@ -1499,8 +1499,8 @@ export declare const vendorPaymentAttributesSchema: z.ZodObject<{
|
|
|
1499
1499
|
updatedAt: string;
|
|
1500
1500
|
farmId: string;
|
|
1501
1501
|
currency: string;
|
|
1502
|
-
fieldId: string | null;
|
|
1503
1502
|
category: string;
|
|
1503
|
+
fieldId: string | null;
|
|
1504
1504
|
cropId: string | null;
|
|
1505
1505
|
expenseId: string | null;
|
|
1506
1506
|
amount: number;
|
|
@@ -1782,8 +1782,8 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
|
|
|
1782
1782
|
updatedAt: string;
|
|
1783
1783
|
farmId: string;
|
|
1784
1784
|
currency: string;
|
|
1785
|
-
fieldId: string | null;
|
|
1786
1785
|
category: string;
|
|
1786
|
+
fieldId: string | null;
|
|
1787
1787
|
cropId: string | null;
|
|
1788
1788
|
expenseId: string | null;
|
|
1789
1789
|
amount: number;
|
|
@@ -1811,8 +1811,8 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
|
|
|
1811
1811
|
updatedAt: string;
|
|
1812
1812
|
farmId: string;
|
|
1813
1813
|
currency: string;
|
|
1814
|
-
fieldId: string | null;
|
|
1815
1814
|
category: string;
|
|
1815
|
+
fieldId: string | null;
|
|
1816
1816
|
cropId: string | null;
|
|
1817
1817
|
expenseId: string | null;
|
|
1818
1818
|
amount: number;
|
|
@@ -1847,8 +1847,8 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
|
|
|
1847
1847
|
updatedAt: string;
|
|
1848
1848
|
farmId: string;
|
|
1849
1849
|
currency: string;
|
|
1850
|
-
fieldId: string | null;
|
|
1851
1850
|
category: string;
|
|
1851
|
+
fieldId: string | null;
|
|
1852
1852
|
cropId: string | null;
|
|
1853
1853
|
expenseId: string | null;
|
|
1854
1854
|
amount: number;
|
|
@@ -1883,8 +1883,8 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
|
|
|
1883
1883
|
updatedAt: string;
|
|
1884
1884
|
farmId: string;
|
|
1885
1885
|
currency: string;
|
|
1886
|
-
fieldId: string | null;
|
|
1887
1886
|
category: string;
|
|
1887
|
+
fieldId: string | null;
|
|
1888
1888
|
cropId: string | null;
|
|
1889
1889
|
expenseId: string | null;
|
|
1890
1890
|
amount: number;
|
|
@@ -1951,8 +1951,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
1951
1951
|
updatedAt: string;
|
|
1952
1952
|
farmId: string;
|
|
1953
1953
|
currency: string;
|
|
1954
|
-
fieldId: string | null;
|
|
1955
1954
|
category: string;
|
|
1955
|
+
fieldId: string | null;
|
|
1956
1956
|
cropId: string | null;
|
|
1957
1957
|
expenseId: string | null;
|
|
1958
1958
|
amount: number;
|
|
@@ -1980,8 +1980,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
1980
1980
|
updatedAt: string;
|
|
1981
1981
|
farmId: string;
|
|
1982
1982
|
currency: string;
|
|
1983
|
-
fieldId: string | null;
|
|
1984
1983
|
category: string;
|
|
1984
|
+
fieldId: string | null;
|
|
1985
1985
|
cropId: string | null;
|
|
1986
1986
|
expenseId: string | null;
|
|
1987
1987
|
amount: number;
|
|
@@ -2016,8 +2016,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
2016
2016
|
updatedAt: string;
|
|
2017
2017
|
farmId: string;
|
|
2018
2018
|
currency: string;
|
|
2019
|
-
fieldId: string | null;
|
|
2020
2019
|
category: string;
|
|
2020
|
+
fieldId: string | null;
|
|
2021
2021
|
cropId: string | null;
|
|
2022
2022
|
expenseId: string | null;
|
|
2023
2023
|
amount: number;
|
|
@@ -2052,8 +2052,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
2052
2052
|
updatedAt: string;
|
|
2053
2053
|
farmId: string;
|
|
2054
2054
|
currency: string;
|
|
2055
|
-
fieldId: string | null;
|
|
2056
2055
|
category: string;
|
|
2056
|
+
fieldId: string | null;
|
|
2057
2057
|
cropId: string | null;
|
|
2058
2058
|
expenseId: string | null;
|
|
2059
2059
|
amount: number;
|
|
@@ -2114,8 +2114,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
2114
2114
|
updatedAt: string;
|
|
2115
2115
|
farmId: string;
|
|
2116
2116
|
currency: string;
|
|
2117
|
-
fieldId: string | null;
|
|
2118
2117
|
category: string;
|
|
2118
|
+
fieldId: string | null;
|
|
2119
2119
|
cropId: string | null;
|
|
2120
2120
|
expenseId: string | null;
|
|
2121
2121
|
amount: number;
|
|
@@ -2162,8 +2162,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
2162
2162
|
updatedAt: string;
|
|
2163
2163
|
farmId: string;
|
|
2164
2164
|
currency: string;
|
|
2165
|
-
fieldId: string | null;
|
|
2166
2165
|
category: string;
|
|
2166
|
+
fieldId: string | null;
|
|
2167
2167
|
cropId: string | null;
|
|
2168
2168
|
expenseId: string | null;
|
|
2169
2169
|
amount: number;
|
|
@@ -2241,8 +2241,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2241
2241
|
updatedAt: string;
|
|
2242
2242
|
farmId: string;
|
|
2243
2243
|
currency: string;
|
|
2244
|
-
fieldId: string | null;
|
|
2245
2244
|
category: string;
|
|
2245
|
+
fieldId: string | null;
|
|
2246
2246
|
cropId: string | null;
|
|
2247
2247
|
expenseId: string | null;
|
|
2248
2248
|
amount: number;
|
|
@@ -2270,8 +2270,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2270
2270
|
updatedAt: string;
|
|
2271
2271
|
farmId: string;
|
|
2272
2272
|
currency: string;
|
|
2273
|
-
fieldId: string | null;
|
|
2274
2273
|
category: string;
|
|
2274
|
+
fieldId: string | null;
|
|
2275
2275
|
cropId: string | null;
|
|
2276
2276
|
expenseId: string | null;
|
|
2277
2277
|
amount: number;
|
|
@@ -2306,8 +2306,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2306
2306
|
updatedAt: string;
|
|
2307
2307
|
farmId: string;
|
|
2308
2308
|
currency: string;
|
|
2309
|
-
fieldId: string | null;
|
|
2310
2309
|
category: string;
|
|
2310
|
+
fieldId: string | null;
|
|
2311
2311
|
cropId: string | null;
|
|
2312
2312
|
expenseId: string | null;
|
|
2313
2313
|
amount: number;
|
|
@@ -2342,8 +2342,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2342
2342
|
updatedAt: string;
|
|
2343
2343
|
farmId: string;
|
|
2344
2344
|
currency: string;
|
|
2345
|
-
fieldId: string | null;
|
|
2346
2345
|
category: string;
|
|
2346
|
+
fieldId: string | null;
|
|
2347
2347
|
cropId: string | null;
|
|
2348
2348
|
expenseId: string | null;
|
|
2349
2349
|
amount: number;
|
|
@@ -2404,8 +2404,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2404
2404
|
updatedAt: string;
|
|
2405
2405
|
farmId: string;
|
|
2406
2406
|
currency: string;
|
|
2407
|
-
fieldId: string | null;
|
|
2408
2407
|
category: string;
|
|
2408
|
+
fieldId: string | null;
|
|
2409
2409
|
cropId: string | null;
|
|
2410
2410
|
expenseId: string | null;
|
|
2411
2411
|
amount: number;
|
|
@@ -2452,8 +2452,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2452
2452
|
updatedAt: string;
|
|
2453
2453
|
farmId: string;
|
|
2454
2454
|
currency: string;
|
|
2455
|
-
fieldId: string | null;
|
|
2456
2455
|
category: string;
|
|
2456
|
+
fieldId: string | null;
|
|
2457
2457
|
cropId: string | null;
|
|
2458
2458
|
expenseId: string | null;
|
|
2459
2459
|
amount: number;
|
|
@@ -2531,8 +2531,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2531
2531
|
updatedAt: string;
|
|
2532
2532
|
farmId: string;
|
|
2533
2533
|
currency: string;
|
|
2534
|
-
fieldId: string | null;
|
|
2535
2534
|
category: string;
|
|
2535
|
+
fieldId: string | null;
|
|
2536
2536
|
cropId: string | null;
|
|
2537
2537
|
expenseId: string | null;
|
|
2538
2538
|
amount: number;
|
|
@@ -2560,8 +2560,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2560
2560
|
updatedAt: string;
|
|
2561
2561
|
farmId: string;
|
|
2562
2562
|
currency: string;
|
|
2563
|
-
fieldId: string | null;
|
|
2564
2563
|
category: string;
|
|
2564
|
+
fieldId: string | null;
|
|
2565
2565
|
cropId: string | null;
|
|
2566
2566
|
expenseId: string | null;
|
|
2567
2567
|
amount: number;
|
|
@@ -2596,8 +2596,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2596
2596
|
updatedAt: string;
|
|
2597
2597
|
farmId: string;
|
|
2598
2598
|
currency: string;
|
|
2599
|
-
fieldId: string | null;
|
|
2600
2599
|
category: string;
|
|
2600
|
+
fieldId: string | null;
|
|
2601
2601
|
cropId: string | null;
|
|
2602
2602
|
expenseId: string | null;
|
|
2603
2603
|
amount: number;
|
|
@@ -2632,8 +2632,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2632
2632
|
updatedAt: string;
|
|
2633
2633
|
farmId: string;
|
|
2634
2634
|
currency: string;
|
|
2635
|
-
fieldId: string | null;
|
|
2636
2635
|
category: string;
|
|
2636
|
+
fieldId: string | null;
|
|
2637
2637
|
cropId: string | null;
|
|
2638
2638
|
expenseId: string | null;
|
|
2639
2639
|
amount: number;
|
|
@@ -2694,8 +2694,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2694
2694
|
updatedAt: string;
|
|
2695
2695
|
farmId: string;
|
|
2696
2696
|
currency: string;
|
|
2697
|
-
fieldId: string | null;
|
|
2698
2697
|
category: string;
|
|
2698
|
+
fieldId: string | null;
|
|
2699
2699
|
cropId: string | null;
|
|
2700
2700
|
expenseId: string | null;
|
|
2701
2701
|
amount: number;
|
|
@@ -2742,8 +2742,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2742
2742
|
updatedAt: string;
|
|
2743
2743
|
farmId: string;
|
|
2744
2744
|
currency: string;
|
|
2745
|
-
fieldId: string | null;
|
|
2746
2745
|
category: string;
|
|
2746
|
+
fieldId: string | null;
|
|
2747
2747
|
cropId: string | null;
|
|
2748
2748
|
expenseId: string | null;
|
|
2749
2749
|
amount: number;
|
|
@@ -383,6 +383,13 @@ export declare const weatherAttributesSchema: z.ZodObject<{
|
|
|
383
383
|
recommendation?: string | undefined;
|
|
384
384
|
}>, "many">>;
|
|
385
385
|
}, "strip", z.ZodTypeAny, {
|
|
386
|
+
current: {
|
|
387
|
+
temp: number;
|
|
388
|
+
condition: string;
|
|
389
|
+
icon?: string | undefined;
|
|
390
|
+
rainfall?: number | undefined;
|
|
391
|
+
humidity?: number | undefined;
|
|
392
|
+
};
|
|
386
393
|
farmId: string;
|
|
387
394
|
forecast: {
|
|
388
395
|
temp: number;
|
|
@@ -391,13 +398,6 @@ export declare const weatherAttributesSchema: z.ZodObject<{
|
|
|
391
398
|
rainfall?: number | undefined;
|
|
392
399
|
rain?: number | undefined;
|
|
393
400
|
}[];
|
|
394
|
-
current: {
|
|
395
|
-
temp: number;
|
|
396
|
-
condition: string;
|
|
397
|
-
icon?: string | undefined;
|
|
398
|
-
rainfall?: number | undefined;
|
|
399
|
-
humidity?: number | undefined;
|
|
400
|
-
};
|
|
401
401
|
alerts?: {
|
|
402
402
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
403
403
|
message: string;
|
|
@@ -430,6 +430,13 @@ export declare const weatherAttributesSchema: z.ZodObject<{
|
|
|
430
430
|
recommendation?: string | undefined;
|
|
431
431
|
}[] | undefined;
|
|
432
432
|
}, {
|
|
433
|
+
current: {
|
|
434
|
+
temp: number;
|
|
435
|
+
condition: string;
|
|
436
|
+
icon?: string | undefined;
|
|
437
|
+
rainfall?: number | undefined;
|
|
438
|
+
humidity?: number | undefined;
|
|
439
|
+
};
|
|
433
440
|
farmId: string;
|
|
434
441
|
forecast: {
|
|
435
442
|
temp: number;
|
|
@@ -438,13 +445,6 @@ export declare const weatherAttributesSchema: z.ZodObject<{
|
|
|
438
445
|
rainfall?: number | undefined;
|
|
439
446
|
rain?: number | undefined;
|
|
440
447
|
}[];
|
|
441
|
-
current: {
|
|
442
|
-
temp: number;
|
|
443
|
-
condition: string;
|
|
444
|
-
icon?: string | undefined;
|
|
445
|
-
rainfall?: number | undefined;
|
|
446
|
-
humidity?: number | undefined;
|
|
447
|
-
};
|
|
448
448
|
alerts?: {
|
|
449
449
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
450
450
|
message: string;
|
|
@@ -1347,6 +1347,13 @@ export declare const weatherResourceSchema: z.ZodObject<{
|
|
|
1347
1347
|
recommendation?: string | undefined;
|
|
1348
1348
|
}>, "many">>;
|
|
1349
1349
|
}, "strip", z.ZodTypeAny, {
|
|
1350
|
+
current: {
|
|
1351
|
+
temp: number;
|
|
1352
|
+
condition: string;
|
|
1353
|
+
icon?: string | undefined;
|
|
1354
|
+
rainfall?: number | undefined;
|
|
1355
|
+
humidity?: number | undefined;
|
|
1356
|
+
};
|
|
1350
1357
|
farmId: string;
|
|
1351
1358
|
forecast: {
|
|
1352
1359
|
temp: number;
|
|
@@ -1355,13 +1362,6 @@ export declare const weatherResourceSchema: z.ZodObject<{
|
|
|
1355
1362
|
rainfall?: number | undefined;
|
|
1356
1363
|
rain?: number | undefined;
|
|
1357
1364
|
}[];
|
|
1358
|
-
current: {
|
|
1359
|
-
temp: number;
|
|
1360
|
-
condition: string;
|
|
1361
|
-
icon?: string | undefined;
|
|
1362
|
-
rainfall?: number | undefined;
|
|
1363
|
-
humidity?: number | undefined;
|
|
1364
|
-
};
|
|
1365
1365
|
alerts?: {
|
|
1366
1366
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
1367
1367
|
message: string;
|
|
@@ -1394,6 +1394,13 @@ export declare const weatherResourceSchema: z.ZodObject<{
|
|
|
1394
1394
|
recommendation?: string | undefined;
|
|
1395
1395
|
}[] | undefined;
|
|
1396
1396
|
}, {
|
|
1397
|
+
current: {
|
|
1398
|
+
temp: number;
|
|
1399
|
+
condition: string;
|
|
1400
|
+
icon?: string | undefined;
|
|
1401
|
+
rainfall?: number | undefined;
|
|
1402
|
+
humidity?: number | undefined;
|
|
1403
|
+
};
|
|
1397
1404
|
farmId: string;
|
|
1398
1405
|
forecast: {
|
|
1399
1406
|
temp: number;
|
|
@@ -1402,13 +1409,6 @@ export declare const weatherResourceSchema: z.ZodObject<{
|
|
|
1402
1409
|
rainfall?: number | undefined;
|
|
1403
1410
|
rain?: number | undefined;
|
|
1404
1411
|
}[];
|
|
1405
|
-
current: {
|
|
1406
|
-
temp: number;
|
|
1407
|
-
condition: string;
|
|
1408
|
-
icon?: string | undefined;
|
|
1409
|
-
rainfall?: number | undefined;
|
|
1410
|
-
humidity?: number | undefined;
|
|
1411
|
-
};
|
|
1412
1412
|
alerts?: {
|
|
1413
1413
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
1414
1414
|
message: string;
|
|
@@ -1448,6 +1448,13 @@ export declare const weatherResourceSchema: z.ZodObject<{
|
|
|
1448
1448
|
type: string;
|
|
1449
1449
|
id: string;
|
|
1450
1450
|
attributes: {
|
|
1451
|
+
current: {
|
|
1452
|
+
temp: number;
|
|
1453
|
+
condition: string;
|
|
1454
|
+
icon?: string | undefined;
|
|
1455
|
+
rainfall?: number | undefined;
|
|
1456
|
+
humidity?: number | undefined;
|
|
1457
|
+
};
|
|
1451
1458
|
farmId: string;
|
|
1452
1459
|
forecast: {
|
|
1453
1460
|
temp: number;
|
|
@@ -1456,13 +1463,6 @@ export declare const weatherResourceSchema: z.ZodObject<{
|
|
|
1456
1463
|
rainfall?: number | undefined;
|
|
1457
1464
|
rain?: number | undefined;
|
|
1458
1465
|
}[];
|
|
1459
|
-
current: {
|
|
1460
|
-
temp: number;
|
|
1461
|
-
condition: string;
|
|
1462
|
-
icon?: string | undefined;
|
|
1463
|
-
rainfall?: number | undefined;
|
|
1464
|
-
humidity?: number | undefined;
|
|
1465
|
-
};
|
|
1466
1466
|
alerts?: {
|
|
1467
1467
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
1468
1468
|
message: string;
|
|
@@ -1502,6 +1502,13 @@ export declare const weatherResourceSchema: z.ZodObject<{
|
|
|
1502
1502
|
type: string;
|
|
1503
1503
|
id: string;
|
|
1504
1504
|
attributes: {
|
|
1505
|
+
current: {
|
|
1506
|
+
temp: number;
|
|
1507
|
+
condition: string;
|
|
1508
|
+
icon?: string | undefined;
|
|
1509
|
+
rainfall?: number | undefined;
|
|
1510
|
+
humidity?: number | undefined;
|
|
1511
|
+
};
|
|
1505
1512
|
farmId: string;
|
|
1506
1513
|
forecast: {
|
|
1507
1514
|
temp: number;
|
|
@@ -1510,13 +1517,6 @@ export declare const weatherResourceSchema: z.ZodObject<{
|
|
|
1510
1517
|
rainfall?: number | undefined;
|
|
1511
1518
|
rain?: number | undefined;
|
|
1512
1519
|
}[];
|
|
1513
|
-
current: {
|
|
1514
|
-
temp: number;
|
|
1515
|
-
condition: string;
|
|
1516
|
-
icon?: string | undefined;
|
|
1517
|
-
rainfall?: number | undefined;
|
|
1518
|
-
humidity?: number | undefined;
|
|
1519
|
-
};
|
|
1520
1520
|
alerts?: {
|
|
1521
1521
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
1522
1522
|
message: string;
|
|
@@ -1748,6 +1748,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
1748
1748
|
recommendation?: string | undefined;
|
|
1749
1749
|
}>, "many">>;
|
|
1750
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1751
|
+
current: {
|
|
1752
|
+
temp: number;
|
|
1753
|
+
condition: string;
|
|
1754
|
+
icon?: string | undefined;
|
|
1755
|
+
rainfall?: number | undefined;
|
|
1756
|
+
humidity?: number | undefined;
|
|
1757
|
+
};
|
|
1751
1758
|
farmId: string;
|
|
1752
1759
|
forecast: {
|
|
1753
1760
|
temp: number;
|
|
@@ -1756,13 +1763,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
1756
1763
|
rainfall?: number | undefined;
|
|
1757
1764
|
rain?: number | undefined;
|
|
1758
1765
|
}[];
|
|
1759
|
-
current: {
|
|
1760
|
-
temp: number;
|
|
1761
|
-
condition: string;
|
|
1762
|
-
icon?: string | undefined;
|
|
1763
|
-
rainfall?: number | undefined;
|
|
1764
|
-
humidity?: number | undefined;
|
|
1765
|
-
};
|
|
1766
1766
|
alerts?: {
|
|
1767
1767
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
1768
1768
|
message: string;
|
|
@@ -1795,6 +1795,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
1795
1795
|
recommendation?: string | undefined;
|
|
1796
1796
|
}[] | undefined;
|
|
1797
1797
|
}, {
|
|
1798
|
+
current: {
|
|
1799
|
+
temp: number;
|
|
1800
|
+
condition: string;
|
|
1801
|
+
icon?: string | undefined;
|
|
1802
|
+
rainfall?: number | undefined;
|
|
1803
|
+
humidity?: number | undefined;
|
|
1804
|
+
};
|
|
1798
1805
|
farmId: string;
|
|
1799
1806
|
forecast: {
|
|
1800
1807
|
temp: number;
|
|
@@ -1803,13 +1810,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
1803
1810
|
rainfall?: number | undefined;
|
|
1804
1811
|
rain?: number | undefined;
|
|
1805
1812
|
}[];
|
|
1806
|
-
current: {
|
|
1807
|
-
temp: number;
|
|
1808
|
-
condition: string;
|
|
1809
|
-
icon?: string | undefined;
|
|
1810
|
-
rainfall?: number | undefined;
|
|
1811
|
-
humidity?: number | undefined;
|
|
1812
|
-
};
|
|
1813
1813
|
alerts?: {
|
|
1814
1814
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
1815
1815
|
message: string;
|
|
@@ -1849,6 +1849,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
1849
1849
|
type: string;
|
|
1850
1850
|
id: string;
|
|
1851
1851
|
attributes: {
|
|
1852
|
+
current: {
|
|
1853
|
+
temp: number;
|
|
1854
|
+
condition: string;
|
|
1855
|
+
icon?: string | undefined;
|
|
1856
|
+
rainfall?: number | undefined;
|
|
1857
|
+
humidity?: number | undefined;
|
|
1858
|
+
};
|
|
1852
1859
|
farmId: string;
|
|
1853
1860
|
forecast: {
|
|
1854
1861
|
temp: number;
|
|
@@ -1857,13 +1864,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
1857
1864
|
rainfall?: number | undefined;
|
|
1858
1865
|
rain?: number | undefined;
|
|
1859
1866
|
}[];
|
|
1860
|
-
current: {
|
|
1861
|
-
temp: number;
|
|
1862
|
-
condition: string;
|
|
1863
|
-
icon?: string | undefined;
|
|
1864
|
-
rainfall?: number | undefined;
|
|
1865
|
-
humidity?: number | undefined;
|
|
1866
|
-
};
|
|
1867
1867
|
alerts?: {
|
|
1868
1868
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
1869
1869
|
message: string;
|
|
@@ -1903,6 +1903,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
1903
1903
|
type: string;
|
|
1904
1904
|
id: string;
|
|
1905
1905
|
attributes: {
|
|
1906
|
+
current: {
|
|
1907
|
+
temp: number;
|
|
1908
|
+
condition: string;
|
|
1909
|
+
icon?: string | undefined;
|
|
1910
|
+
rainfall?: number | undefined;
|
|
1911
|
+
humidity?: number | undefined;
|
|
1912
|
+
};
|
|
1906
1913
|
farmId: string;
|
|
1907
1914
|
forecast: {
|
|
1908
1915
|
temp: number;
|
|
@@ -1911,13 +1918,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
1911
1918
|
rainfall?: number | undefined;
|
|
1912
1919
|
rain?: number | undefined;
|
|
1913
1920
|
}[];
|
|
1914
|
-
current: {
|
|
1915
|
-
temp: number;
|
|
1916
|
-
condition: string;
|
|
1917
|
-
icon?: string | undefined;
|
|
1918
|
-
rainfall?: number | undefined;
|
|
1919
|
-
humidity?: number | undefined;
|
|
1920
|
-
};
|
|
1921
1921
|
alerts?: {
|
|
1922
1922
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
1923
1923
|
message: string;
|
|
@@ -1983,6 +1983,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
1983
1983
|
type: string;
|
|
1984
1984
|
id: string;
|
|
1985
1985
|
attributes: {
|
|
1986
|
+
current: {
|
|
1987
|
+
temp: number;
|
|
1988
|
+
condition: string;
|
|
1989
|
+
icon?: string | undefined;
|
|
1990
|
+
rainfall?: number | undefined;
|
|
1991
|
+
humidity?: number | undefined;
|
|
1992
|
+
};
|
|
1986
1993
|
farmId: string;
|
|
1987
1994
|
forecast: {
|
|
1988
1995
|
temp: number;
|
|
@@ -1991,13 +1998,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
1991
1998
|
rainfall?: number | undefined;
|
|
1992
1999
|
rain?: number | undefined;
|
|
1993
2000
|
}[];
|
|
1994
|
-
current: {
|
|
1995
|
-
temp: number;
|
|
1996
|
-
condition: string;
|
|
1997
|
-
icon?: string | undefined;
|
|
1998
|
-
rainfall?: number | undefined;
|
|
1999
|
-
humidity?: number | undefined;
|
|
2000
|
-
};
|
|
2001
2001
|
alerts?: {
|
|
2002
2002
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
2003
2003
|
message: string;
|
|
@@ -2049,6 +2049,13 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
2049
2049
|
type: string;
|
|
2050
2050
|
id: string;
|
|
2051
2051
|
attributes: {
|
|
2052
|
+
current: {
|
|
2053
|
+
temp: number;
|
|
2054
|
+
condition: string;
|
|
2055
|
+
icon?: string | undefined;
|
|
2056
|
+
rainfall?: number | undefined;
|
|
2057
|
+
humidity?: number | undefined;
|
|
2058
|
+
};
|
|
2052
2059
|
farmId: string;
|
|
2053
2060
|
forecast: {
|
|
2054
2061
|
temp: number;
|
|
@@ -2057,13 +2064,6 @@ export declare const weatherResponseSchema: z.ZodObject<{
|
|
|
2057
2064
|
rainfall?: number | undefined;
|
|
2058
2065
|
rain?: number | undefined;
|
|
2059
2066
|
}[];
|
|
2060
|
-
current: {
|
|
2061
|
-
temp: number;
|
|
2062
|
-
condition: string;
|
|
2063
|
-
icon?: string | undefined;
|
|
2064
|
-
rainfall?: number | undefined;
|
|
2065
|
-
humidity?: number | undefined;
|
|
2066
|
-
};
|
|
2067
2067
|
alerts?: {
|
|
2068
2068
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
2069
2069
|
message: string;
|