@deepintel-ltd/farmpro-contracts 1.16.2 → 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/field-monitoring.routes.d.ts +40 -0
- package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.d.ts +126 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- 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 +128 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +10 -0
- package/package.json +1 -1
|
@@ -224,6 +224,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
224
224
|
estimatedTime?: string | undefined;
|
|
225
225
|
riskLevel?: string | undefined;
|
|
226
226
|
}>, "many">>;
|
|
227
|
+
actionRequired: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
+
suggestedAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
227
229
|
status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
|
|
228
230
|
acknowledgedAt: z.ZodNullable<z.ZodString>;
|
|
229
231
|
acknowledgedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -272,6 +274,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
272
274
|
resolvedAt: string | null;
|
|
273
275
|
generatedBy: string;
|
|
274
276
|
fieldName?: string | undefined;
|
|
277
|
+
actionRequired?: boolean | undefined;
|
|
278
|
+
suggestedAction?: string | null | undefined;
|
|
275
279
|
}, {
|
|
276
280
|
type: string;
|
|
277
281
|
status: "active" | "acknowledged" | "resolved";
|
|
@@ -311,6 +315,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
311
315
|
resolvedAt: string | null;
|
|
312
316
|
generatedBy: string;
|
|
313
317
|
fieldName?: string | undefined;
|
|
318
|
+
actionRequired?: boolean | undefined;
|
|
319
|
+
suggestedAction?: string | null | undefined;
|
|
314
320
|
}>, "many">;
|
|
315
321
|
};
|
|
316
322
|
};
|
|
@@ -414,6 +420,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
414
420
|
estimatedTime?: string | undefined;
|
|
415
421
|
riskLevel?: string | undefined;
|
|
416
422
|
}>, "many">>;
|
|
423
|
+
actionRequired: z.ZodOptional<z.ZodBoolean>;
|
|
424
|
+
suggestedAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
417
425
|
status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
|
|
418
426
|
acknowledgedAt: z.ZodNullable<z.ZodString>;
|
|
419
427
|
acknowledgedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -462,6 +470,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
462
470
|
resolvedAt: string | null;
|
|
463
471
|
generatedBy: string;
|
|
464
472
|
fieldName?: string | undefined;
|
|
473
|
+
actionRequired?: boolean | undefined;
|
|
474
|
+
suggestedAction?: string | null | undefined;
|
|
465
475
|
}, {
|
|
466
476
|
type: string;
|
|
467
477
|
status: "active" | "acknowledged" | "resolved";
|
|
@@ -501,6 +511,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
501
511
|
resolvedAt: string | null;
|
|
502
512
|
generatedBy: string;
|
|
503
513
|
fieldName?: string | undefined;
|
|
514
|
+
actionRequired?: boolean | undefined;
|
|
515
|
+
suggestedAction?: string | null | undefined;
|
|
504
516
|
}>, "many">;
|
|
505
517
|
};
|
|
506
518
|
};
|
|
@@ -653,6 +665,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
653
665
|
estimatedTime?: string | undefined;
|
|
654
666
|
riskLevel?: string | undefined;
|
|
655
667
|
}>, "many">>;
|
|
668
|
+
actionRequired: z.ZodOptional<z.ZodBoolean>;
|
|
669
|
+
suggestedAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
656
670
|
status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
|
|
657
671
|
acknowledgedAt: z.ZodNullable<z.ZodString>;
|
|
658
672
|
acknowledgedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -701,6 +715,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
701
715
|
resolvedAt: string | null;
|
|
702
716
|
generatedBy: string;
|
|
703
717
|
fieldName?: string | undefined;
|
|
718
|
+
actionRequired?: boolean | undefined;
|
|
719
|
+
suggestedAction?: string | null | undefined;
|
|
704
720
|
}, {
|
|
705
721
|
type: string;
|
|
706
722
|
status: "active" | "acknowledged" | "resolved";
|
|
@@ -740,6 +756,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
740
756
|
resolvedAt: string | null;
|
|
741
757
|
generatedBy: string;
|
|
742
758
|
fieldName?: string | undefined;
|
|
759
|
+
actionRequired?: boolean | undefined;
|
|
760
|
+
suggestedAction?: string | null | undefined;
|
|
743
761
|
}>;
|
|
744
762
|
404: z.ZodObject<{
|
|
745
763
|
message: z.ZodString;
|
|
@@ -855,6 +873,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
855
873
|
estimatedTime?: string | undefined;
|
|
856
874
|
riskLevel?: string | undefined;
|
|
857
875
|
}>, "many">>;
|
|
876
|
+
actionRequired: z.ZodOptional<z.ZodBoolean>;
|
|
877
|
+
suggestedAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
858
878
|
status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
|
|
859
879
|
acknowledgedAt: z.ZodNullable<z.ZodString>;
|
|
860
880
|
acknowledgedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -903,6 +923,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
903
923
|
resolvedAt: string | null;
|
|
904
924
|
generatedBy: string;
|
|
905
925
|
fieldName?: string | undefined;
|
|
926
|
+
actionRequired?: boolean | undefined;
|
|
927
|
+
suggestedAction?: string | null | undefined;
|
|
906
928
|
}, {
|
|
907
929
|
type: string;
|
|
908
930
|
status: "active" | "acknowledged" | "resolved";
|
|
@@ -942,6 +964,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
942
964
|
resolvedAt: string | null;
|
|
943
965
|
generatedBy: string;
|
|
944
966
|
fieldName?: string | undefined;
|
|
967
|
+
actionRequired?: boolean | undefined;
|
|
968
|
+
suggestedAction?: string | null | undefined;
|
|
945
969
|
}>, "many">;
|
|
946
970
|
}, "strip", z.ZodTypeAny, {
|
|
947
971
|
alerts: {
|
|
@@ -983,6 +1007,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
983
1007
|
resolvedAt: string | null;
|
|
984
1008
|
generatedBy: string;
|
|
985
1009
|
fieldName?: string | undefined;
|
|
1010
|
+
actionRequired?: boolean | undefined;
|
|
1011
|
+
suggestedAction?: string | null | undefined;
|
|
986
1012
|
}[];
|
|
987
1013
|
updated: number;
|
|
988
1014
|
}, {
|
|
@@ -1025,6 +1051,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
1025
1051
|
resolvedAt: string | null;
|
|
1026
1052
|
generatedBy: string;
|
|
1027
1053
|
fieldName?: string | undefined;
|
|
1054
|
+
actionRequired?: boolean | undefined;
|
|
1055
|
+
suggestedAction?: string | null | undefined;
|
|
1028
1056
|
}[];
|
|
1029
1057
|
updated: number;
|
|
1030
1058
|
}>;
|
|
@@ -1134,6 +1162,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
1134
1162
|
estimatedTime?: string | undefined;
|
|
1135
1163
|
riskLevel?: string | undefined;
|
|
1136
1164
|
}>, "many">>;
|
|
1165
|
+
actionRequired: z.ZodOptional<z.ZodBoolean>;
|
|
1166
|
+
suggestedAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1137
1167
|
status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
|
|
1138
1168
|
acknowledgedAt: z.ZodNullable<z.ZodString>;
|
|
1139
1169
|
acknowledgedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1182,6 +1212,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
1182
1212
|
resolvedAt: string | null;
|
|
1183
1213
|
generatedBy: string;
|
|
1184
1214
|
fieldName?: string | undefined;
|
|
1215
|
+
actionRequired?: boolean | undefined;
|
|
1216
|
+
suggestedAction?: string | null | undefined;
|
|
1185
1217
|
}, {
|
|
1186
1218
|
type: string;
|
|
1187
1219
|
status: "active" | "acknowledged" | "resolved";
|
|
@@ -1221,6 +1253,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
1221
1253
|
resolvedAt: string | null;
|
|
1222
1254
|
generatedBy: string;
|
|
1223
1255
|
fieldName?: string | undefined;
|
|
1256
|
+
actionRequired?: boolean | undefined;
|
|
1257
|
+
suggestedAction?: string | null | undefined;
|
|
1224
1258
|
}>;
|
|
1225
1259
|
404: z.ZodObject<{
|
|
1226
1260
|
message: z.ZodString;
|
|
@@ -1328,6 +1362,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
1328
1362
|
estimatedTime?: string | undefined;
|
|
1329
1363
|
riskLevel?: string | undefined;
|
|
1330
1364
|
}>, "many">>;
|
|
1365
|
+
actionRequired: z.ZodOptional<z.ZodBoolean>;
|
|
1366
|
+
suggestedAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1331
1367
|
status: z.ZodEnum<["active", "acknowledged", "resolved"]>;
|
|
1332
1368
|
acknowledgedAt: z.ZodNullable<z.ZodString>;
|
|
1333
1369
|
acknowledgedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1376,6 +1412,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
1376
1412
|
resolvedAt: string | null;
|
|
1377
1413
|
generatedBy: string;
|
|
1378
1414
|
fieldName?: string | undefined;
|
|
1415
|
+
actionRequired?: boolean | undefined;
|
|
1416
|
+
suggestedAction?: string | null | undefined;
|
|
1379
1417
|
}, {
|
|
1380
1418
|
type: string;
|
|
1381
1419
|
status: "active" | "acknowledged" | "resolved";
|
|
@@ -1415,6 +1453,8 @@ export declare const fieldMonitoringRouter: {
|
|
|
1415
1453
|
resolvedAt: string | null;
|
|
1416
1454
|
generatedBy: string;
|
|
1417
1455
|
fieldName?: string | undefined;
|
|
1456
|
+
actionRequired?: boolean | undefined;
|
|
1457
|
+
suggestedAction?: string | null | undefined;
|
|
1418
1458
|
}>;
|
|
1419
1459
|
404: z.ZodObject<{
|
|
1420
1460
|
message: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-monitoring.routes.d.ts","sourceRoot":"","sources":["../../src/routes/field-monitoring.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"field-monitoring.routes.d.ts","sourceRoot":"","sources":["../../src/routes/field-monitoring.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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