@deepintel-ltd/farmpro-contracts 1.3.1 → 1.3.4

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.
Files changed (55) hide show
  1. package/dist/index.d.ts +7 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +10 -1
  4. package/dist/routes/admin.routes.d.ts +747 -0
  5. package/dist/routes/admin.routes.d.ts.map +1 -0
  6. package/dist/routes/admin.routes.js +26 -0
  7. package/dist/routes/agent-workflows.routes.d.ts +2900 -0
  8. package/dist/routes/agent-workflows.routes.d.ts.map +1 -0
  9. package/dist/routes/agent-workflows.routes.js +160 -0
  10. package/dist/routes/documents.routes.d.ts +417 -0
  11. package/dist/routes/documents.routes.d.ts.map +1 -1
  12. package/dist/routes/documents.routes.js +16 -0
  13. package/dist/routes/field-monitoring.routes.d.ts +568 -23
  14. package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
  15. package/dist/routes/field-monitoring.routes.js +64 -0
  16. package/dist/routes/field-observations.routes.d.ts +130 -58
  17. package/dist/routes/field-observations.routes.d.ts.map +1 -1
  18. package/dist/routes/health.routes.d.ts +317 -0
  19. package/dist/routes/health.routes.d.ts.map +1 -0
  20. package/dist/routes/health.routes.js +18 -0
  21. package/dist/routes/index.d.ts +9 -0
  22. package/dist/routes/index.d.ts.map +1 -1
  23. package/dist/routes/index.js +6 -0
  24. package/dist/routes/tasks.routes.d.ts +408 -0
  25. package/dist/routes/tasks.routes.d.ts.map +1 -1
  26. package/dist/routes/weather.routes.d.ts +264 -17
  27. package/dist/routes/weather.routes.d.ts.map +1 -1
  28. package/dist/schemas/admin.schemas.d.ts +1063 -0
  29. package/dist/schemas/admin.schemas.d.ts.map +1 -0
  30. package/dist/schemas/admin.schemas.js +63 -0
  31. package/dist/schemas/agent-workflows.schemas.d.ts +2399 -0
  32. package/dist/schemas/agent-workflows.schemas.d.ts.map +1 -0
  33. package/dist/schemas/agent-workflows.schemas.js +70 -0
  34. package/dist/schemas/documents.schemas.d.ts +202 -0
  35. package/dist/schemas/documents.schemas.d.ts.map +1 -1
  36. package/dist/schemas/documents.schemas.js +10 -1
  37. package/dist/schemas/field-monitoring.schemas.d.ts +215 -9
  38. package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
  39. package/dist/schemas/field-monitoring.schemas.js +26 -2
  40. package/dist/schemas/field-observations.schemas.d.ts +100 -40
  41. package/dist/schemas/field-observations.schemas.d.ts.map +1 -1
  42. package/dist/schemas/field-observations.schemas.js +2 -24
  43. package/dist/schemas/health.schemas.d.ts +176 -0
  44. package/dist/schemas/health.schemas.d.ts.map +1 -0
  45. package/dist/schemas/health.schemas.js +26 -0
  46. package/dist/schemas/recommendations.schemas.d.ts +112 -0
  47. package/dist/schemas/recommendations.schemas.d.ts.map +1 -0
  48. package/dist/schemas/recommendations.schemas.js +32 -0
  49. package/dist/schemas/tasks.schemas.d.ts +344 -0
  50. package/dist/schemas/tasks.schemas.d.ts.map +1 -1
  51. package/dist/schemas/tasks.schemas.js +9 -0
  52. package/dist/schemas/weather.schemas.d.ts +780 -44
  53. package/dist/schemas/weather.schemas.d.ts.map +1 -1
  54. package/dist/schemas/weather.schemas.js +2 -1
  55. package/package.json +1 -1
@@ -62,6 +62,26 @@ export declare const taskAttributesSchema: z.ZodObject<{
62
62
  timestamp: string;
63
63
  photos?: string[] | undefined;
64
64
  }>, "many">>;
65
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66
+ type: z.ZodString;
67
+ id: z.ZodString;
68
+ }, "strip", z.ZodTypeAny, {
69
+ type: string;
70
+ id: string;
71
+ }, {
72
+ type: string;
73
+ id: string;
74
+ }>>>;
75
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
76
+ type: z.ZodString;
77
+ id: z.ZodString;
78
+ }, "strip", z.ZodTypeAny, {
79
+ type: string;
80
+ id: string;
81
+ }, {
82
+ type: string;
83
+ id: string;
84
+ }>, "many">>;
65
85
  } & {
66
86
  createdAt: z.ZodString;
67
87
  updatedAt: z.ZodString;
@@ -79,6 +99,10 @@ export declare const taskAttributesSchema: z.ZodObject<{
79
99
  assignedTo: string | null;
80
100
  assignedBy: string | null;
81
101
  assignedDate: string | null;
102
+ source?: {
103
+ type: string;
104
+ id: string;
105
+ } | null | undefined;
82
106
  fieldName?: string | undefined;
83
107
  inventoryItemName?: string | null | undefined;
84
108
  assignedToName?: string | null | undefined;
@@ -90,6 +114,10 @@ export declare const taskAttributesSchema: z.ZodObject<{
90
114
  timestamp: string;
91
115
  photos?: string[] | undefined;
92
116
  }[] | undefined;
117
+ contributingSources?: {
118
+ type: string;
119
+ id: string;
120
+ }[] | undefined;
93
121
  }, {
94
122
  status: "pending" | "in-progress" | "completed" | "cancelled";
95
123
  date: string;
@@ -104,6 +132,10 @@ export declare const taskAttributesSchema: z.ZodObject<{
104
132
  assignedTo: string | null;
105
133
  assignedBy: string | null;
106
134
  assignedDate: string | null;
135
+ source?: {
136
+ type: string;
137
+ id: string;
138
+ } | null | undefined;
107
139
  fieldName?: string | undefined;
108
140
  inventoryItemName?: string | null | undefined;
109
141
  assignedToName?: string | null | undefined;
@@ -115,6 +147,10 @@ export declare const taskAttributesSchema: z.ZodObject<{
115
147
  timestamp: string;
116
148
  photos?: string[] | undefined;
117
149
  }[] | undefined;
150
+ contributingSources?: {
151
+ type: string;
152
+ id: string;
153
+ }[] | undefined;
118
154
  }>;
119
155
  export declare const createTaskAttributesSchema: z.ZodObject<{
120
156
  title: z.ZodString;
@@ -414,6 +450,26 @@ export declare const taskResourceSchema: z.ZodObject<{
414
450
  timestamp: string;
415
451
  photos?: string[] | undefined;
416
452
  }>, "many">>;
453
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
454
+ type: z.ZodString;
455
+ id: z.ZodString;
456
+ }, "strip", z.ZodTypeAny, {
457
+ type: string;
458
+ id: string;
459
+ }, {
460
+ type: string;
461
+ id: string;
462
+ }>>>;
463
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
464
+ type: z.ZodString;
465
+ id: z.ZodString;
466
+ }, "strip", z.ZodTypeAny, {
467
+ type: string;
468
+ id: string;
469
+ }, {
470
+ type: string;
471
+ id: string;
472
+ }>, "many">>;
417
473
  } & {
418
474
  createdAt: z.ZodString;
419
475
  updatedAt: z.ZodString;
@@ -431,6 +487,10 @@ export declare const taskResourceSchema: z.ZodObject<{
431
487
  assignedTo: string | null;
432
488
  assignedBy: string | null;
433
489
  assignedDate: string | null;
490
+ source?: {
491
+ type: string;
492
+ id: string;
493
+ } | null | undefined;
434
494
  fieldName?: string | undefined;
435
495
  inventoryItemName?: string | null | undefined;
436
496
  assignedToName?: string | null | undefined;
@@ -442,6 +502,10 @@ export declare const taskResourceSchema: z.ZodObject<{
442
502
  timestamp: string;
443
503
  photos?: string[] | undefined;
444
504
  }[] | undefined;
505
+ contributingSources?: {
506
+ type: string;
507
+ id: string;
508
+ }[] | undefined;
445
509
  }, {
446
510
  status: "pending" | "in-progress" | "completed" | "cancelled";
447
511
  date: string;
@@ -456,6 +520,10 @@ export declare const taskResourceSchema: z.ZodObject<{
456
520
  assignedTo: string | null;
457
521
  assignedBy: string | null;
458
522
  assignedDate: string | null;
523
+ source?: {
524
+ type: string;
525
+ id: string;
526
+ } | null | undefined;
459
527
  fieldName?: string | undefined;
460
528
  inventoryItemName?: string | null | undefined;
461
529
  assignedToName?: string | null | undefined;
@@ -467,6 +535,10 @@ export declare const taskResourceSchema: z.ZodObject<{
467
535
  timestamp: string;
468
536
  photos?: string[] | undefined;
469
537
  }[] | undefined;
538
+ contributingSources?: {
539
+ type: string;
540
+ id: string;
541
+ }[] | undefined;
470
542
  }>;
471
543
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
472
544
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -488,6 +560,10 @@ export declare const taskResourceSchema: z.ZodObject<{
488
560
  assignedTo: string | null;
489
561
  assignedBy: string | null;
490
562
  assignedDate: string | null;
563
+ source?: {
564
+ type: string;
565
+ id: string;
566
+ } | null | undefined;
491
567
  fieldName?: string | undefined;
492
568
  inventoryItemName?: string | null | undefined;
493
569
  assignedToName?: string | null | undefined;
@@ -499,6 +575,10 @@ export declare const taskResourceSchema: z.ZodObject<{
499
575
  timestamp: string;
500
576
  photos?: string[] | undefined;
501
577
  }[] | undefined;
578
+ contributingSources?: {
579
+ type: string;
580
+ id: string;
581
+ }[] | undefined;
502
582
  };
503
583
  relationships?: Record<string, unknown> | undefined;
504
584
  links?: Record<string, string> | undefined;
@@ -520,6 +600,10 @@ export declare const taskResourceSchema: z.ZodObject<{
520
600
  assignedTo: string | null;
521
601
  assignedBy: string | null;
522
602
  assignedDate: string | null;
603
+ source?: {
604
+ type: string;
605
+ id: string;
606
+ } | null | undefined;
523
607
  fieldName?: string | undefined;
524
608
  inventoryItemName?: string | null | undefined;
525
609
  assignedToName?: string | null | undefined;
@@ -531,6 +615,10 @@ export declare const taskResourceSchema: z.ZodObject<{
531
615
  timestamp: string;
532
616
  photos?: string[] | undefined;
533
617
  }[] | undefined;
618
+ contributingSources?: {
619
+ type: string;
620
+ id: string;
621
+ }[] | undefined;
534
622
  };
535
623
  relationships?: Record<string, unknown> | undefined;
536
624
  links?: Record<string, string> | undefined;
@@ -576,6 +664,26 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
576
664
  timestamp: string;
577
665
  photos?: string[] | undefined;
578
666
  }>, "many">>;
667
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
668
+ type: z.ZodString;
669
+ id: z.ZodString;
670
+ }, "strip", z.ZodTypeAny, {
671
+ type: string;
672
+ id: string;
673
+ }, {
674
+ type: string;
675
+ id: string;
676
+ }>>>;
677
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
678
+ type: z.ZodString;
679
+ id: z.ZodString;
680
+ }, "strip", z.ZodTypeAny, {
681
+ type: string;
682
+ id: string;
683
+ }, {
684
+ type: string;
685
+ id: string;
686
+ }>, "many">>;
579
687
  } & {
580
688
  createdAt: z.ZodString;
581
689
  updatedAt: z.ZodString;
@@ -593,6 +701,10 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
593
701
  assignedTo: string | null;
594
702
  assignedBy: string | null;
595
703
  assignedDate: string | null;
704
+ source?: {
705
+ type: string;
706
+ id: string;
707
+ } | null | undefined;
596
708
  fieldName?: string | undefined;
597
709
  inventoryItemName?: string | null | undefined;
598
710
  assignedToName?: string | null | undefined;
@@ -604,6 +716,10 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
604
716
  timestamp: string;
605
717
  photos?: string[] | undefined;
606
718
  }[] | undefined;
719
+ contributingSources?: {
720
+ type: string;
721
+ id: string;
722
+ }[] | undefined;
607
723
  }, {
608
724
  status: "pending" | "in-progress" | "completed" | "cancelled";
609
725
  date: string;
@@ -618,6 +734,10 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
618
734
  assignedTo: string | null;
619
735
  assignedBy: string | null;
620
736
  assignedDate: string | null;
737
+ source?: {
738
+ type: string;
739
+ id: string;
740
+ } | null | undefined;
621
741
  fieldName?: string | undefined;
622
742
  inventoryItemName?: string | null | undefined;
623
743
  assignedToName?: string | null | undefined;
@@ -629,6 +749,10 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
629
749
  timestamp: string;
630
750
  photos?: string[] | undefined;
631
751
  }[] | undefined;
752
+ contributingSources?: {
753
+ type: string;
754
+ id: string;
755
+ }[] | undefined;
632
756
  }>;
633
757
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
634
758
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -735,6 +859,10 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
735
859
  assignedTo: string | null;
736
860
  assignedBy: string | null;
737
861
  assignedDate: string | null;
862
+ source?: {
863
+ type: string;
864
+ id: string;
865
+ } | null | undefined;
738
866
  fieldName?: string | undefined;
739
867
  inventoryItemName?: string | null | undefined;
740
868
  assignedToName?: string | null | undefined;
@@ -746,6 +874,10 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
746
874
  timestamp: string;
747
875
  photos?: string[] | undefined;
748
876
  }[] | undefined;
877
+ contributingSources?: {
878
+ type: string;
879
+ id: string;
880
+ }[] | undefined;
749
881
  };
750
882
  relationships?: {
751
883
  field?: {
@@ -783,6 +915,10 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
783
915
  assignedTo: string | null;
784
916
  assignedBy: string | null;
785
917
  assignedDate: string | null;
918
+ source?: {
919
+ type: string;
920
+ id: string;
921
+ } | null | undefined;
786
922
  fieldName?: string | undefined;
787
923
  inventoryItemName?: string | null | undefined;
788
924
  assignedToName?: string | null | undefined;
@@ -794,6 +930,10 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
794
930
  timestamp: string;
795
931
  photos?: string[] | undefined;
796
932
  }[] | undefined;
933
+ contributingSources?: {
934
+ type: string;
935
+ id: string;
936
+ }[] | undefined;
797
937
  };
798
938
  relationships?: {
799
939
  field?: {
@@ -856,6 +996,26 @@ export declare const taskResponseSchema: z.ZodObject<{
856
996
  timestamp: string;
857
997
  photos?: string[] | undefined;
858
998
  }>, "many">>;
999
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1000
+ type: z.ZodString;
1001
+ id: z.ZodString;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ type: string;
1004
+ id: string;
1005
+ }, {
1006
+ type: string;
1007
+ id: string;
1008
+ }>>>;
1009
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1010
+ type: z.ZodString;
1011
+ id: z.ZodString;
1012
+ }, "strip", z.ZodTypeAny, {
1013
+ type: string;
1014
+ id: string;
1015
+ }, {
1016
+ type: string;
1017
+ id: string;
1018
+ }>, "many">>;
859
1019
  } & {
860
1020
  createdAt: z.ZodString;
861
1021
  updatedAt: z.ZodString;
@@ -873,6 +1033,10 @@ export declare const taskResponseSchema: z.ZodObject<{
873
1033
  assignedTo: string | null;
874
1034
  assignedBy: string | null;
875
1035
  assignedDate: string | null;
1036
+ source?: {
1037
+ type: string;
1038
+ id: string;
1039
+ } | null | undefined;
876
1040
  fieldName?: string | undefined;
877
1041
  inventoryItemName?: string | null | undefined;
878
1042
  assignedToName?: string | null | undefined;
@@ -884,6 +1048,10 @@ export declare const taskResponseSchema: z.ZodObject<{
884
1048
  timestamp: string;
885
1049
  photos?: string[] | undefined;
886
1050
  }[] | undefined;
1051
+ contributingSources?: {
1052
+ type: string;
1053
+ id: string;
1054
+ }[] | undefined;
887
1055
  }, {
888
1056
  status: "pending" | "in-progress" | "completed" | "cancelled";
889
1057
  date: string;
@@ -898,6 +1066,10 @@ export declare const taskResponseSchema: z.ZodObject<{
898
1066
  assignedTo: string | null;
899
1067
  assignedBy: string | null;
900
1068
  assignedDate: string | null;
1069
+ source?: {
1070
+ type: string;
1071
+ id: string;
1072
+ } | null | undefined;
901
1073
  fieldName?: string | undefined;
902
1074
  inventoryItemName?: string | null | undefined;
903
1075
  assignedToName?: string | null | undefined;
@@ -909,6 +1081,10 @@ export declare const taskResponseSchema: z.ZodObject<{
909
1081
  timestamp: string;
910
1082
  photos?: string[] | undefined;
911
1083
  }[] | undefined;
1084
+ contributingSources?: {
1085
+ type: string;
1086
+ id: string;
1087
+ }[] | undefined;
912
1088
  }>;
913
1089
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
914
1090
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -930,6 +1106,10 @@ export declare const taskResponseSchema: z.ZodObject<{
930
1106
  assignedTo: string | null;
931
1107
  assignedBy: string | null;
932
1108
  assignedDate: string | null;
1109
+ source?: {
1110
+ type: string;
1111
+ id: string;
1112
+ } | null | undefined;
933
1113
  fieldName?: string | undefined;
934
1114
  inventoryItemName?: string | null | undefined;
935
1115
  assignedToName?: string | null | undefined;
@@ -941,6 +1121,10 @@ export declare const taskResponseSchema: z.ZodObject<{
941
1121
  timestamp: string;
942
1122
  photos?: string[] | undefined;
943
1123
  }[] | undefined;
1124
+ contributingSources?: {
1125
+ type: string;
1126
+ id: string;
1127
+ }[] | undefined;
944
1128
  };
945
1129
  relationships?: Record<string, unknown> | undefined;
946
1130
  links?: Record<string, string> | undefined;
@@ -962,6 +1146,10 @@ export declare const taskResponseSchema: z.ZodObject<{
962
1146
  assignedTo: string | null;
963
1147
  assignedBy: string | null;
964
1148
  assignedDate: string | null;
1149
+ source?: {
1150
+ type: string;
1151
+ id: string;
1152
+ } | null | undefined;
965
1153
  fieldName?: string | undefined;
966
1154
  inventoryItemName?: string | null | undefined;
967
1155
  assignedToName?: string | null | undefined;
@@ -973,6 +1161,10 @@ export declare const taskResponseSchema: z.ZodObject<{
973
1161
  timestamp: string;
974
1162
  photos?: string[] | undefined;
975
1163
  }[] | undefined;
1164
+ contributingSources?: {
1165
+ type: string;
1166
+ id: string;
1167
+ }[] | undefined;
976
1168
  };
977
1169
  relationships?: Record<string, unknown> | undefined;
978
1170
  links?: Record<string, string> | undefined;
@@ -1020,6 +1212,10 @@ export declare const taskResponseSchema: z.ZodObject<{
1020
1212
  assignedTo: string | null;
1021
1213
  assignedBy: string | null;
1022
1214
  assignedDate: string | null;
1215
+ source?: {
1216
+ type: string;
1217
+ id: string;
1218
+ } | null | undefined;
1023
1219
  fieldName?: string | undefined;
1024
1220
  inventoryItemName?: string | null | undefined;
1025
1221
  assignedToName?: string | null | undefined;
@@ -1031,6 +1227,10 @@ export declare const taskResponseSchema: z.ZodObject<{
1031
1227
  timestamp: string;
1032
1228
  photos?: string[] | undefined;
1033
1229
  }[] | undefined;
1230
+ contributingSources?: {
1231
+ type: string;
1232
+ id: string;
1233
+ }[] | undefined;
1034
1234
  };
1035
1235
  relationships?: Record<string, unknown> | undefined;
1036
1236
  links?: Record<string, string> | undefined;
@@ -1064,6 +1264,10 @@ export declare const taskResponseSchema: z.ZodObject<{
1064
1264
  assignedTo: string | null;
1065
1265
  assignedBy: string | null;
1066
1266
  assignedDate: string | null;
1267
+ source?: {
1268
+ type: string;
1269
+ id: string;
1270
+ } | null | undefined;
1067
1271
  fieldName?: string | undefined;
1068
1272
  inventoryItemName?: string | null | undefined;
1069
1273
  assignedToName?: string | null | undefined;
@@ -1075,6 +1279,10 @@ export declare const taskResponseSchema: z.ZodObject<{
1075
1279
  timestamp: string;
1076
1280
  photos?: string[] | undefined;
1077
1281
  }[] | undefined;
1282
+ contributingSources?: {
1283
+ type: string;
1284
+ id: string;
1285
+ }[] | undefined;
1078
1286
  };
1079
1287
  relationships?: Record<string, unknown> | undefined;
1080
1288
  links?: Record<string, string> | undefined;
@@ -1132,6 +1340,26 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1132
1340
  timestamp: string;
1133
1341
  photos?: string[] | undefined;
1134
1342
  }>, "many">>;
1343
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1344
+ type: z.ZodString;
1345
+ id: z.ZodString;
1346
+ }, "strip", z.ZodTypeAny, {
1347
+ type: string;
1348
+ id: string;
1349
+ }, {
1350
+ type: string;
1351
+ id: string;
1352
+ }>>>;
1353
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1354
+ type: z.ZodString;
1355
+ id: z.ZodString;
1356
+ }, "strip", z.ZodTypeAny, {
1357
+ type: string;
1358
+ id: string;
1359
+ }, {
1360
+ type: string;
1361
+ id: string;
1362
+ }>, "many">>;
1135
1363
  } & {
1136
1364
  createdAt: z.ZodString;
1137
1365
  updatedAt: z.ZodString;
@@ -1149,6 +1377,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1149
1377
  assignedTo: string | null;
1150
1378
  assignedBy: string | null;
1151
1379
  assignedDate: string | null;
1380
+ source?: {
1381
+ type: string;
1382
+ id: string;
1383
+ } | null | undefined;
1152
1384
  fieldName?: string | undefined;
1153
1385
  inventoryItemName?: string | null | undefined;
1154
1386
  assignedToName?: string | null | undefined;
@@ -1160,6 +1392,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1160
1392
  timestamp: string;
1161
1393
  photos?: string[] | undefined;
1162
1394
  }[] | undefined;
1395
+ contributingSources?: {
1396
+ type: string;
1397
+ id: string;
1398
+ }[] | undefined;
1163
1399
  }, {
1164
1400
  status: "pending" | "in-progress" | "completed" | "cancelled";
1165
1401
  date: string;
@@ -1174,6 +1410,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1174
1410
  assignedTo: string | null;
1175
1411
  assignedBy: string | null;
1176
1412
  assignedDate: string | null;
1413
+ source?: {
1414
+ type: string;
1415
+ id: string;
1416
+ } | null | undefined;
1177
1417
  fieldName?: string | undefined;
1178
1418
  inventoryItemName?: string | null | undefined;
1179
1419
  assignedToName?: string | null | undefined;
@@ -1185,6 +1425,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1185
1425
  timestamp: string;
1186
1426
  photos?: string[] | undefined;
1187
1427
  }[] | undefined;
1428
+ contributingSources?: {
1429
+ type: string;
1430
+ id: string;
1431
+ }[] | undefined;
1188
1432
  }>;
1189
1433
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1190
1434
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1291,6 +1535,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1291
1535
  assignedTo: string | null;
1292
1536
  assignedBy: string | null;
1293
1537
  assignedDate: string | null;
1538
+ source?: {
1539
+ type: string;
1540
+ id: string;
1541
+ } | null | undefined;
1294
1542
  fieldName?: string | undefined;
1295
1543
  inventoryItemName?: string | null | undefined;
1296
1544
  assignedToName?: string | null | undefined;
@@ -1302,6 +1550,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1302
1550
  timestamp: string;
1303
1551
  photos?: string[] | undefined;
1304
1552
  }[] | undefined;
1553
+ contributingSources?: {
1554
+ type: string;
1555
+ id: string;
1556
+ }[] | undefined;
1305
1557
  };
1306
1558
  relationships?: {
1307
1559
  field?: {
@@ -1339,6 +1591,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1339
1591
  assignedTo: string | null;
1340
1592
  assignedBy: string | null;
1341
1593
  assignedDate: string | null;
1594
+ source?: {
1595
+ type: string;
1596
+ id: string;
1597
+ } | null | undefined;
1342
1598
  fieldName?: string | undefined;
1343
1599
  inventoryItemName?: string | null | undefined;
1344
1600
  assignedToName?: string | null | undefined;
@@ -1350,6 +1606,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1350
1606
  timestamp: string;
1351
1607
  photos?: string[] | undefined;
1352
1608
  }[] | undefined;
1609
+ contributingSources?: {
1610
+ type: string;
1611
+ id: string;
1612
+ }[] | undefined;
1353
1613
  };
1354
1614
  relationships?: {
1355
1615
  field?: {
@@ -1413,6 +1673,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1413
1673
  assignedTo: string | null;
1414
1674
  assignedBy: string | null;
1415
1675
  assignedDate: string | null;
1676
+ source?: {
1677
+ type: string;
1678
+ id: string;
1679
+ } | null | undefined;
1416
1680
  fieldName?: string | undefined;
1417
1681
  inventoryItemName?: string | null | undefined;
1418
1682
  assignedToName?: string | null | undefined;
@@ -1424,6 +1688,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1424
1688
  timestamp: string;
1425
1689
  photos?: string[] | undefined;
1426
1690
  }[] | undefined;
1691
+ contributingSources?: {
1692
+ type: string;
1693
+ id: string;
1694
+ }[] | undefined;
1427
1695
  };
1428
1696
  relationships?: {
1429
1697
  field?: {
@@ -1473,6 +1741,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1473
1741
  assignedTo: string | null;
1474
1742
  assignedBy: string | null;
1475
1743
  assignedDate: string | null;
1744
+ source?: {
1745
+ type: string;
1746
+ id: string;
1747
+ } | null | undefined;
1476
1748
  fieldName?: string | undefined;
1477
1749
  inventoryItemName?: string | null | undefined;
1478
1750
  assignedToName?: string | null | undefined;
@@ -1484,6 +1756,10 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
1484
1756
  timestamp: string;
1485
1757
  photos?: string[] | undefined;
1486
1758
  }[] | undefined;
1759
+ contributingSources?: {
1760
+ type: string;
1761
+ id: string;
1762
+ }[] | undefined;
1487
1763
  };
1488
1764
  relationships?: {
1489
1765
  field?: {
@@ -1557,6 +1833,26 @@ export declare const taskListResponseSchema: z.ZodObject<{
1557
1833
  timestamp: string;
1558
1834
  photos?: string[] | undefined;
1559
1835
  }>, "many">>;
1836
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1837
+ type: z.ZodString;
1838
+ id: z.ZodString;
1839
+ }, "strip", z.ZodTypeAny, {
1840
+ type: string;
1841
+ id: string;
1842
+ }, {
1843
+ type: string;
1844
+ id: string;
1845
+ }>>>;
1846
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1847
+ type: z.ZodString;
1848
+ id: z.ZodString;
1849
+ }, "strip", z.ZodTypeAny, {
1850
+ type: string;
1851
+ id: string;
1852
+ }, {
1853
+ type: string;
1854
+ id: string;
1855
+ }>, "many">>;
1560
1856
  } & {
1561
1857
  createdAt: z.ZodString;
1562
1858
  updatedAt: z.ZodString;
@@ -1574,6 +1870,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1574
1870
  assignedTo: string | null;
1575
1871
  assignedBy: string | null;
1576
1872
  assignedDate: string | null;
1873
+ source?: {
1874
+ type: string;
1875
+ id: string;
1876
+ } | null | undefined;
1577
1877
  fieldName?: string | undefined;
1578
1878
  inventoryItemName?: string | null | undefined;
1579
1879
  assignedToName?: string | null | undefined;
@@ -1585,6 +1885,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1585
1885
  timestamp: string;
1586
1886
  photos?: string[] | undefined;
1587
1887
  }[] | undefined;
1888
+ contributingSources?: {
1889
+ type: string;
1890
+ id: string;
1891
+ }[] | undefined;
1588
1892
  }, {
1589
1893
  status: "pending" | "in-progress" | "completed" | "cancelled";
1590
1894
  date: string;
@@ -1599,6 +1903,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1599
1903
  assignedTo: string | null;
1600
1904
  assignedBy: string | null;
1601
1905
  assignedDate: string | null;
1906
+ source?: {
1907
+ type: string;
1908
+ id: string;
1909
+ } | null | undefined;
1602
1910
  fieldName?: string | undefined;
1603
1911
  inventoryItemName?: string | null | undefined;
1604
1912
  assignedToName?: string | null | undefined;
@@ -1610,6 +1918,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1610
1918
  timestamp: string;
1611
1919
  photos?: string[] | undefined;
1612
1920
  }[] | undefined;
1921
+ contributingSources?: {
1922
+ type: string;
1923
+ id: string;
1924
+ }[] | undefined;
1613
1925
  }>;
1614
1926
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1615
1927
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1631,6 +1943,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1631
1943
  assignedTo: string | null;
1632
1944
  assignedBy: string | null;
1633
1945
  assignedDate: string | null;
1946
+ source?: {
1947
+ type: string;
1948
+ id: string;
1949
+ } | null | undefined;
1634
1950
  fieldName?: string | undefined;
1635
1951
  inventoryItemName?: string | null | undefined;
1636
1952
  assignedToName?: string | null | undefined;
@@ -1642,6 +1958,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1642
1958
  timestamp: string;
1643
1959
  photos?: string[] | undefined;
1644
1960
  }[] | undefined;
1961
+ contributingSources?: {
1962
+ type: string;
1963
+ id: string;
1964
+ }[] | undefined;
1645
1965
  };
1646
1966
  relationships?: Record<string, unknown> | undefined;
1647
1967
  links?: Record<string, string> | undefined;
@@ -1663,6 +1983,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1663
1983
  assignedTo: string | null;
1664
1984
  assignedBy: string | null;
1665
1985
  assignedDate: string | null;
1986
+ source?: {
1987
+ type: string;
1988
+ id: string;
1989
+ } | null | undefined;
1666
1990
  fieldName?: string | undefined;
1667
1991
  inventoryItemName?: string | null | undefined;
1668
1992
  assignedToName?: string | null | undefined;
@@ -1674,6 +1998,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1674
1998
  timestamp: string;
1675
1999
  photos?: string[] | undefined;
1676
2000
  }[] | undefined;
2001
+ contributingSources?: {
2002
+ type: string;
2003
+ id: string;
2004
+ }[] | undefined;
1677
2005
  };
1678
2006
  relationships?: Record<string, unknown> | undefined;
1679
2007
  links?: Record<string, string> | undefined;
@@ -1721,6 +2049,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1721
2049
  assignedTo: string | null;
1722
2050
  assignedBy: string | null;
1723
2051
  assignedDate: string | null;
2052
+ source?: {
2053
+ type: string;
2054
+ id: string;
2055
+ } | null | undefined;
1724
2056
  fieldName?: string | undefined;
1725
2057
  inventoryItemName?: string | null | undefined;
1726
2058
  assignedToName?: string | null | undefined;
@@ -1732,6 +2064,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1732
2064
  timestamp: string;
1733
2065
  photos?: string[] | undefined;
1734
2066
  }[] | undefined;
2067
+ contributingSources?: {
2068
+ type: string;
2069
+ id: string;
2070
+ }[] | undefined;
1735
2071
  };
1736
2072
  relationships?: Record<string, unknown> | undefined;
1737
2073
  links?: Record<string, string> | undefined;
@@ -1765,6 +2101,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1765
2101
  assignedTo: string | null;
1766
2102
  assignedBy: string | null;
1767
2103
  assignedDate: string | null;
2104
+ source?: {
2105
+ type: string;
2106
+ id: string;
2107
+ } | null | undefined;
1768
2108
  fieldName?: string | undefined;
1769
2109
  inventoryItemName?: string | null | undefined;
1770
2110
  assignedToName?: string | null | undefined;
@@ -1776,6 +2116,10 @@ export declare const taskListResponseSchema: z.ZodObject<{
1776
2116
  timestamp: string;
1777
2117
  photos?: string[] | undefined;
1778
2118
  }[] | undefined;
2119
+ contributingSources?: {
2120
+ type: string;
2121
+ id: string;
2122
+ }[] | undefined;
1779
2123
  };
1780
2124
  relationships?: Record<string, unknown> | undefined;
1781
2125
  links?: Record<string, string> | undefined;