@deepintel-ltd/farmpro-contracts 1.16.1 → 1.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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-monitoring.routes.d.ts +40 -0
- package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
- 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 +923 -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/field-monitoring.schemas.d.ts +20 -0
- package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
- package/dist/schemas/field-monitoring.schemas.js +4 -0
- package/dist/schemas/fields.schemas.d.ts +170 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +14 -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
|
@@ -18,14 +18,14 @@ export declare const environmentalFactorsSchema: z.ZodObject<{
|
|
|
18
18
|
avg7d: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
unit: z.ZodLiteral<"celsius">;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
unit: "celsius";
|
|
22
21
|
current: number;
|
|
22
|
+
unit: "celsius";
|
|
23
23
|
min24h: number | null;
|
|
24
24
|
max24h: number | null;
|
|
25
25
|
avg7d: number | null;
|
|
26
26
|
}, {
|
|
27
|
-
unit: "celsius";
|
|
28
27
|
current: number;
|
|
28
|
+
unit: "celsius";
|
|
29
29
|
min24h: number | null;
|
|
30
30
|
max24h: number | null;
|
|
31
31
|
avg7d: number | null;
|
|
@@ -68,12 +68,12 @@ export declare const environmentalFactorsSchema: z.ZodObject<{
|
|
|
68
68
|
avg24h: z.ZodNullable<z.ZodNumber>;
|
|
69
69
|
unit: z.ZodLiteral<"km/h">;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
unit: "km/h";
|
|
72
71
|
current: number | null;
|
|
72
|
+
unit: "km/h";
|
|
73
73
|
avg24h: number | null;
|
|
74
74
|
}, {
|
|
75
|
-
unit: "km/h";
|
|
76
75
|
current: number | null;
|
|
76
|
+
unit: "km/h";
|
|
77
77
|
avg24h: number | null;
|
|
78
78
|
}>>;
|
|
79
79
|
conditions: z.ZodObject<{
|
|
@@ -107,15 +107,15 @@ export declare const environmentalFactorsSchema: z.ZodObject<{
|
|
|
107
107
|
current: number | null;
|
|
108
108
|
} | null;
|
|
109
109
|
temperature: {
|
|
110
|
-
unit: "celsius";
|
|
111
110
|
current: number;
|
|
111
|
+
unit: "celsius";
|
|
112
112
|
min24h: number | null;
|
|
113
113
|
max24h: number | null;
|
|
114
114
|
avg7d: number | null;
|
|
115
115
|
};
|
|
116
116
|
windSpeed: {
|
|
117
|
-
unit: "km/h";
|
|
118
117
|
current: number | null;
|
|
118
|
+
unit: "km/h";
|
|
119
119
|
avg24h: number | null;
|
|
120
120
|
} | null;
|
|
121
121
|
conditions: {
|
|
@@ -139,15 +139,15 @@ export declare const environmentalFactorsSchema: z.ZodObject<{
|
|
|
139
139
|
current: number | null;
|
|
140
140
|
} | null;
|
|
141
141
|
temperature: {
|
|
142
|
-
unit: "celsius";
|
|
143
142
|
current: number;
|
|
143
|
+
unit: "celsius";
|
|
144
144
|
min24h: number | null;
|
|
145
145
|
max24h: number | null;
|
|
146
146
|
avg7d: number | null;
|
|
147
147
|
};
|
|
148
148
|
windSpeed: {
|
|
149
|
-
unit: "km/h";
|
|
150
149
|
current: number | null;
|
|
150
|
+
unit: "km/h";
|
|
151
151
|
avg24h: number | null;
|
|
152
152
|
} | null;
|
|
153
153
|
conditions: {
|
|
@@ -335,14 +335,14 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
|
|
|
335
335
|
avg7d: z.ZodNullable<z.ZodNumber>;
|
|
336
336
|
unit: z.ZodLiteral<"celsius">;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
unit: "celsius";
|
|
339
338
|
current: number;
|
|
339
|
+
unit: "celsius";
|
|
340
340
|
min24h: number | null;
|
|
341
341
|
max24h: number | null;
|
|
342
342
|
avg7d: number | null;
|
|
343
343
|
}, {
|
|
344
|
-
unit: "celsius";
|
|
345
344
|
current: number;
|
|
345
|
+
unit: "celsius";
|
|
346
346
|
min24h: number | null;
|
|
347
347
|
max24h: number | null;
|
|
348
348
|
avg7d: number | null;
|
|
@@ -385,12 +385,12 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
|
|
|
385
385
|
avg24h: z.ZodNullable<z.ZodNumber>;
|
|
386
386
|
unit: z.ZodLiteral<"km/h">;
|
|
387
387
|
}, "strip", z.ZodTypeAny, {
|
|
388
|
-
unit: "km/h";
|
|
389
388
|
current: number | null;
|
|
389
|
+
unit: "km/h";
|
|
390
390
|
avg24h: number | null;
|
|
391
391
|
}, {
|
|
392
|
-
unit: "km/h";
|
|
393
392
|
current: number | null;
|
|
393
|
+
unit: "km/h";
|
|
394
394
|
avg24h: number | null;
|
|
395
395
|
}>>;
|
|
396
396
|
conditions: z.ZodObject<{
|
|
@@ -424,15 +424,15 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
|
|
|
424
424
|
current: number | null;
|
|
425
425
|
} | null;
|
|
426
426
|
temperature: {
|
|
427
|
-
unit: "celsius";
|
|
428
427
|
current: number;
|
|
428
|
+
unit: "celsius";
|
|
429
429
|
min24h: number | null;
|
|
430
430
|
max24h: number | null;
|
|
431
431
|
avg7d: number | null;
|
|
432
432
|
};
|
|
433
433
|
windSpeed: {
|
|
434
|
-
unit: "km/h";
|
|
435
434
|
current: number | null;
|
|
435
|
+
unit: "km/h";
|
|
436
436
|
avg24h: number | null;
|
|
437
437
|
} | null;
|
|
438
438
|
conditions: {
|
|
@@ -456,15 +456,15 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
|
|
|
456
456
|
current: number | null;
|
|
457
457
|
} | null;
|
|
458
458
|
temperature: {
|
|
459
|
-
unit: "celsius";
|
|
460
459
|
current: number;
|
|
460
|
+
unit: "celsius";
|
|
461
461
|
min24h: number | null;
|
|
462
462
|
max24h: number | null;
|
|
463
463
|
avg7d: number | null;
|
|
464
464
|
};
|
|
465
465
|
windSpeed: {
|
|
466
|
-
unit: "km/h";
|
|
467
466
|
current: number | null;
|
|
467
|
+
unit: "km/h";
|
|
468
468
|
avg24h: number | null;
|
|
469
469
|
} | null;
|
|
470
470
|
conditions: {
|
|
@@ -693,15 +693,15 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
|
|
|
693
693
|
current: number | null;
|
|
694
694
|
} | null;
|
|
695
695
|
temperature: {
|
|
696
|
-
unit: "celsius";
|
|
697
696
|
current: number;
|
|
697
|
+
unit: "celsius";
|
|
698
698
|
min24h: number | null;
|
|
699
699
|
max24h: number | null;
|
|
700
700
|
avg7d: number | null;
|
|
701
701
|
};
|
|
702
702
|
windSpeed: {
|
|
703
|
-
unit: "km/h";
|
|
704
703
|
current: number | null;
|
|
704
|
+
unit: "km/h";
|
|
705
705
|
avg24h: number | null;
|
|
706
706
|
} | null;
|
|
707
707
|
conditions: {
|
|
@@ -790,15 +790,15 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
|
|
|
790
790
|
current: number | null;
|
|
791
791
|
} | null;
|
|
792
792
|
temperature: {
|
|
793
|
-
unit: "celsius";
|
|
794
793
|
current: number;
|
|
794
|
+
unit: "celsius";
|
|
795
795
|
min24h: number | null;
|
|
796
796
|
max24h: number | null;
|
|
797
797
|
avg7d: number | null;
|
|
798
798
|
};
|
|
799
799
|
windSpeed: {
|
|
800
|
-
unit: "km/h";
|
|
801
800
|
current: number | null;
|
|
801
|
+
unit: "km/h";
|
|
802
802
|
avg24h: number | null;
|
|
803
803
|
} | null;
|
|
804
804
|
conditions: {
|
|
@@ -1152,14 +1152,14 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
|
|
|
1152
1152
|
avg7d: z.ZodNullable<z.ZodNumber>;
|
|
1153
1153
|
unit: z.ZodLiteral<"celsius">;
|
|
1154
1154
|
}, "strip", z.ZodTypeAny, {
|
|
1155
|
-
unit: "celsius";
|
|
1156
1155
|
current: number;
|
|
1156
|
+
unit: "celsius";
|
|
1157
1157
|
min24h: number | null;
|
|
1158
1158
|
max24h: number | null;
|
|
1159
1159
|
avg7d: number | null;
|
|
1160
1160
|
}, {
|
|
1161
|
-
unit: "celsius";
|
|
1162
1161
|
current: number;
|
|
1162
|
+
unit: "celsius";
|
|
1163
1163
|
min24h: number | null;
|
|
1164
1164
|
max24h: number | null;
|
|
1165
1165
|
avg7d: number | null;
|
|
@@ -1202,12 +1202,12 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
|
|
|
1202
1202
|
avg24h: z.ZodNullable<z.ZodNumber>;
|
|
1203
1203
|
unit: z.ZodLiteral<"km/h">;
|
|
1204
1204
|
}, "strip", z.ZodTypeAny, {
|
|
1205
|
-
unit: "km/h";
|
|
1206
1205
|
current: number | null;
|
|
1206
|
+
unit: "km/h";
|
|
1207
1207
|
avg24h: number | null;
|
|
1208
1208
|
}, {
|
|
1209
|
-
unit: "km/h";
|
|
1210
1209
|
current: number | null;
|
|
1210
|
+
unit: "km/h";
|
|
1211
1211
|
avg24h: number | null;
|
|
1212
1212
|
}>>;
|
|
1213
1213
|
conditions: z.ZodObject<{
|
|
@@ -1241,15 +1241,15 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
|
|
|
1241
1241
|
current: number | null;
|
|
1242
1242
|
} | null;
|
|
1243
1243
|
temperature: {
|
|
1244
|
-
unit: "celsius";
|
|
1245
1244
|
current: number;
|
|
1245
|
+
unit: "celsius";
|
|
1246
1246
|
min24h: number | null;
|
|
1247
1247
|
max24h: number | null;
|
|
1248
1248
|
avg7d: number | null;
|
|
1249
1249
|
};
|
|
1250
1250
|
windSpeed: {
|
|
1251
|
-
unit: "km/h";
|
|
1252
1251
|
current: number | null;
|
|
1252
|
+
unit: "km/h";
|
|
1253
1253
|
avg24h: number | null;
|
|
1254
1254
|
} | null;
|
|
1255
1255
|
conditions: {
|
|
@@ -1273,15 +1273,15 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
|
|
|
1273
1273
|
current: number | null;
|
|
1274
1274
|
} | null;
|
|
1275
1275
|
temperature: {
|
|
1276
|
-
unit: "celsius";
|
|
1277
1276
|
current: number;
|
|
1277
|
+
unit: "celsius";
|
|
1278
1278
|
min24h: number | null;
|
|
1279
1279
|
max24h: number | null;
|
|
1280
1280
|
avg7d: number | null;
|
|
1281
1281
|
};
|
|
1282
1282
|
windSpeed: {
|
|
1283
|
-
unit: "km/h";
|
|
1284
1283
|
current: number | null;
|
|
1284
|
+
unit: "km/h";
|
|
1285
1285
|
avg24h: number | null;
|
|
1286
1286
|
} | null;
|
|
1287
1287
|
conditions: {
|
|
@@ -1510,15 +1510,15 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
|
|
|
1510
1510
|
current: number | null;
|
|
1511
1511
|
} | null;
|
|
1512
1512
|
temperature: {
|
|
1513
|
-
unit: "celsius";
|
|
1514
1513
|
current: number;
|
|
1514
|
+
unit: "celsius";
|
|
1515
1515
|
min24h: number | null;
|
|
1516
1516
|
max24h: number | null;
|
|
1517
1517
|
avg7d: number | null;
|
|
1518
1518
|
};
|
|
1519
1519
|
windSpeed: {
|
|
1520
|
-
unit: "km/h";
|
|
1521
1520
|
current: number | null;
|
|
1521
|
+
unit: "km/h";
|
|
1522
1522
|
avg24h: number | null;
|
|
1523
1523
|
} | null;
|
|
1524
1524
|
conditions: {
|
|
@@ -1607,15 +1607,15 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
|
|
|
1607
1607
|
current: number | null;
|
|
1608
1608
|
} | null;
|
|
1609
1609
|
temperature: {
|
|
1610
|
-
unit: "celsius";
|
|
1611
1610
|
current: number;
|
|
1611
|
+
unit: "celsius";
|
|
1612
1612
|
min24h: number | null;
|
|
1613
1613
|
max24h: number | null;
|
|
1614
1614
|
avg7d: number | null;
|
|
1615
1615
|
};
|
|
1616
1616
|
windSpeed: {
|
|
1617
|
-
unit: "km/h";
|
|
1618
1617
|
current: number | null;
|
|
1618
|
+
unit: "km/h";
|
|
1619
1619
|
avg24h: number | null;
|
|
1620
1620
|
} | null;
|
|
1621
1621
|
conditions: {
|
|
@@ -1711,15 +1711,15 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
|
|
|
1711
1711
|
current: number | null;
|
|
1712
1712
|
} | null;
|
|
1713
1713
|
temperature: {
|
|
1714
|
-
unit: "celsius";
|
|
1715
1714
|
current: number;
|
|
1715
|
+
unit: "celsius";
|
|
1716
1716
|
min24h: number | null;
|
|
1717
1717
|
max24h: number | null;
|
|
1718
1718
|
avg7d: number | null;
|
|
1719
1719
|
};
|
|
1720
1720
|
windSpeed: {
|
|
1721
|
-
unit: "km/h";
|
|
1722
1721
|
current: number | null;
|
|
1722
|
+
unit: "km/h";
|
|
1723
1723
|
avg24h: number | null;
|
|
1724
1724
|
} | null;
|
|
1725
1725
|
conditions: {
|
|
@@ -1815,15 +1815,15 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
|
|
|
1815
1815
|
current: number | null;
|
|
1816
1816
|
} | null;
|
|
1817
1817
|
temperature: {
|
|
1818
|
-
unit: "celsius";
|
|
1819
1818
|
current: number;
|
|
1819
|
+
unit: "celsius";
|
|
1820
1820
|
min24h: number | null;
|
|
1821
1821
|
max24h: number | null;
|
|
1822
1822
|
avg7d: number | null;
|
|
1823
1823
|
};
|
|
1824
1824
|
windSpeed: {
|
|
1825
|
-
unit: "km/h";
|
|
1826
1825
|
current: number | null;
|
|
1826
|
+
unit: "km/h";
|
|
1827
1827
|
avg24h: number | null;
|
|
1828
1828
|
} | null;
|
|
1829
1829
|
conditions: {
|
|
@@ -942,15 +942,15 @@ export declare const exportResponseSchema: z.ZodObject<{
|
|
|
942
942
|
expiresAt: z.ZodString;
|
|
943
943
|
}, "strip", z.ZodTypeAny, {
|
|
944
944
|
expiresAt: string;
|
|
945
|
-
fileName: string;
|
|
946
945
|
fileSize: number | null;
|
|
946
|
+
fileName: string;
|
|
947
947
|
format: string;
|
|
948
948
|
exportId: string;
|
|
949
949
|
downloadUrl: string;
|
|
950
950
|
}, {
|
|
951
951
|
expiresAt: string;
|
|
952
|
-
fileName: string;
|
|
953
952
|
fileSize: number | null;
|
|
953
|
+
fileName: string;
|
|
954
954
|
format: string;
|
|
955
955
|
exportId: string;
|
|
956
956
|
downloadUrl: string;
|
|
@@ -966,16 +966,16 @@ export declare const exportListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
966
966
|
machinery: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
967
967
|
}, "strip", z.ZodTypeAny, {
|
|
968
968
|
id: string;
|
|
969
|
-
fileName: string;
|
|
970
969
|
fileSize: number | null;
|
|
970
|
+
fileName: string;
|
|
971
971
|
format: string;
|
|
972
972
|
machinery: string[] | null;
|
|
973
973
|
downloadUrl: string;
|
|
974
974
|
exportedAt: string;
|
|
975
975
|
}, {
|
|
976
976
|
id: string;
|
|
977
|
-
fileName: string;
|
|
978
977
|
fileSize: number | null;
|
|
978
|
+
fileName: string;
|
|
979
979
|
format: string;
|
|
980
980
|
machinery: string[] | null;
|
|
981
981
|
downloadUrl: string;
|
|
@@ -942,17 +942,17 @@ export declare const currentUsageResponseSchema: z.ZodObject<{
|
|
|
942
942
|
periodStart: z.ZodString;
|
|
943
943
|
periodEnd: z.ZodString;
|
|
944
944
|
}, "strip", z.ZodTypeAny, {
|
|
945
|
+
limit: number | null;
|
|
945
946
|
count: number;
|
|
946
947
|
periodStart: string;
|
|
947
948
|
periodEnd: string;
|
|
948
949
|
resourceType: string;
|
|
949
|
-
limit: number | null;
|
|
950
950
|
}, {
|
|
951
|
+
limit: number | null;
|
|
951
952
|
count: number;
|
|
952
953
|
periodStart: string;
|
|
953
954
|
periodEnd: string;
|
|
954
955
|
resourceType: string;
|
|
955
|
-
limit: number | null;
|
|
956
956
|
}>;
|
|
957
957
|
export declare const availablePlanSchema: z.ZodObject<{
|
|
958
958
|
tier: z.ZodEnum<["FREE", "STARTER_PACK", "COOPERATIVE", "ENTERPRISE", "GOVERNMENT"]>;
|