@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
@@ -89,6 +89,26 @@ export declare const tasksRouter: {
89
89
  timestamp: string;
90
90
  photos?: string[] | undefined;
91
91
  }>, "many">>;
92
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
93
+ type: z.ZodString;
94
+ id: z.ZodString;
95
+ }, "strip", z.ZodTypeAny, {
96
+ type: string;
97
+ id: string;
98
+ }, {
99
+ type: string;
100
+ id: string;
101
+ }>>>;
102
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
103
+ type: z.ZodString;
104
+ id: z.ZodString;
105
+ }, "strip", z.ZodTypeAny, {
106
+ type: string;
107
+ id: string;
108
+ }, {
109
+ type: string;
110
+ id: string;
111
+ }>, "many">>;
92
112
  } & {
93
113
  createdAt: z.ZodString;
94
114
  updatedAt: z.ZodString;
@@ -106,6 +126,10 @@ export declare const tasksRouter: {
106
126
  assignedTo: string | null;
107
127
  assignedBy: string | null;
108
128
  assignedDate: string | null;
129
+ source?: {
130
+ type: string;
131
+ id: string;
132
+ } | null | undefined;
109
133
  fieldName?: string | undefined;
110
134
  inventoryItemName?: string | null | undefined;
111
135
  assignedToName?: string | null | undefined;
@@ -117,6 +141,10 @@ export declare const tasksRouter: {
117
141
  timestamp: string;
118
142
  photos?: string[] | undefined;
119
143
  }[] | undefined;
144
+ contributingSources?: {
145
+ type: string;
146
+ id: string;
147
+ }[] | undefined;
120
148
  }, {
121
149
  status: "pending" | "in-progress" | "completed" | "cancelled";
122
150
  date: string;
@@ -131,6 +159,10 @@ export declare const tasksRouter: {
131
159
  assignedTo: string | null;
132
160
  assignedBy: string | null;
133
161
  assignedDate: string | null;
162
+ source?: {
163
+ type: string;
164
+ id: string;
165
+ } | null | undefined;
134
166
  fieldName?: string | undefined;
135
167
  inventoryItemName?: string | null | undefined;
136
168
  assignedToName?: string | null | undefined;
@@ -142,6 +174,10 @@ export declare const tasksRouter: {
142
174
  timestamp: string;
143
175
  photos?: string[] | undefined;
144
176
  }[] | undefined;
177
+ contributingSources?: {
178
+ type: string;
179
+ id: string;
180
+ }[] | undefined;
145
181
  }>;
146
182
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
147
183
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -163,6 +199,10 @@ export declare const tasksRouter: {
163
199
  assignedTo: string | null;
164
200
  assignedBy: string | null;
165
201
  assignedDate: string | null;
202
+ source?: {
203
+ type: string;
204
+ id: string;
205
+ } | null | undefined;
166
206
  fieldName?: string | undefined;
167
207
  inventoryItemName?: string | null | undefined;
168
208
  assignedToName?: string | null | undefined;
@@ -174,6 +214,10 @@ export declare const tasksRouter: {
174
214
  timestamp: string;
175
215
  photos?: string[] | undefined;
176
216
  }[] | undefined;
217
+ contributingSources?: {
218
+ type: string;
219
+ id: string;
220
+ }[] | undefined;
177
221
  };
178
222
  relationships?: Record<string, unknown> | undefined;
179
223
  links?: Record<string, string> | undefined;
@@ -195,6 +239,10 @@ export declare const tasksRouter: {
195
239
  assignedTo: string | null;
196
240
  assignedBy: string | null;
197
241
  assignedDate: string | null;
242
+ source?: {
243
+ type: string;
244
+ id: string;
245
+ } | null | undefined;
198
246
  fieldName?: string | undefined;
199
247
  inventoryItemName?: string | null | undefined;
200
248
  assignedToName?: string | null | undefined;
@@ -206,6 +254,10 @@ export declare const tasksRouter: {
206
254
  timestamp: string;
207
255
  photos?: string[] | undefined;
208
256
  }[] | undefined;
257
+ contributingSources?: {
258
+ type: string;
259
+ id: string;
260
+ }[] | undefined;
209
261
  };
210
262
  relationships?: Record<string, unknown> | undefined;
211
263
  links?: Record<string, string> | undefined;
@@ -253,6 +305,10 @@ export declare const tasksRouter: {
253
305
  assignedTo: string | null;
254
306
  assignedBy: string | null;
255
307
  assignedDate: string | null;
308
+ source?: {
309
+ type: string;
310
+ id: string;
311
+ } | null | undefined;
256
312
  fieldName?: string | undefined;
257
313
  inventoryItemName?: string | null | undefined;
258
314
  assignedToName?: string | null | undefined;
@@ -264,6 +320,10 @@ export declare const tasksRouter: {
264
320
  timestamp: string;
265
321
  photos?: string[] | undefined;
266
322
  }[] | undefined;
323
+ contributingSources?: {
324
+ type: string;
325
+ id: string;
326
+ }[] | undefined;
267
327
  };
268
328
  relationships?: Record<string, unknown> | undefined;
269
329
  links?: Record<string, string> | undefined;
@@ -297,6 +357,10 @@ export declare const tasksRouter: {
297
357
  assignedTo: string | null;
298
358
  assignedBy: string | null;
299
359
  assignedDate: string | null;
360
+ source?: {
361
+ type: string;
362
+ id: string;
363
+ } | null | undefined;
300
364
  fieldName?: string | undefined;
301
365
  inventoryItemName?: string | null | undefined;
302
366
  assignedToName?: string | null | undefined;
@@ -308,6 +372,10 @@ export declare const tasksRouter: {
308
372
  timestamp: string;
309
373
  photos?: string[] | undefined;
310
374
  }[] | undefined;
375
+ contributingSources?: {
376
+ type: string;
377
+ id: string;
378
+ }[] | undefined;
311
379
  };
312
380
  relationships?: Record<string, unknown> | undefined;
313
381
  links?: Record<string, string> | undefined;
@@ -652,6 +720,26 @@ export declare const tasksRouter: {
652
720
  timestamp: string;
653
721
  photos?: string[] | undefined;
654
722
  }>, "many">>;
723
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
724
+ type: z.ZodString;
725
+ id: z.ZodString;
726
+ }, "strip", z.ZodTypeAny, {
727
+ type: string;
728
+ id: string;
729
+ }, {
730
+ type: string;
731
+ id: string;
732
+ }>>>;
733
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
734
+ type: z.ZodString;
735
+ id: z.ZodString;
736
+ }, "strip", z.ZodTypeAny, {
737
+ type: string;
738
+ id: string;
739
+ }, {
740
+ type: string;
741
+ id: string;
742
+ }>, "many">>;
655
743
  } & {
656
744
  createdAt: z.ZodString;
657
745
  updatedAt: z.ZodString;
@@ -669,6 +757,10 @@ export declare const tasksRouter: {
669
757
  assignedTo: string | null;
670
758
  assignedBy: string | null;
671
759
  assignedDate: string | null;
760
+ source?: {
761
+ type: string;
762
+ id: string;
763
+ } | null | undefined;
672
764
  fieldName?: string | undefined;
673
765
  inventoryItemName?: string | null | undefined;
674
766
  assignedToName?: string | null | undefined;
@@ -680,6 +772,10 @@ export declare const tasksRouter: {
680
772
  timestamp: string;
681
773
  photos?: string[] | undefined;
682
774
  }[] | undefined;
775
+ contributingSources?: {
776
+ type: string;
777
+ id: string;
778
+ }[] | undefined;
683
779
  }, {
684
780
  status: "pending" | "in-progress" | "completed" | "cancelled";
685
781
  date: string;
@@ -694,6 +790,10 @@ export declare const tasksRouter: {
694
790
  assignedTo: string | null;
695
791
  assignedBy: string | null;
696
792
  assignedDate: string | null;
793
+ source?: {
794
+ type: string;
795
+ id: string;
796
+ } | null | undefined;
697
797
  fieldName?: string | undefined;
698
798
  inventoryItemName?: string | null | undefined;
699
799
  assignedToName?: string | null | undefined;
@@ -705,6 +805,10 @@ export declare const tasksRouter: {
705
805
  timestamp: string;
706
806
  photos?: string[] | undefined;
707
807
  }[] | undefined;
808
+ contributingSources?: {
809
+ type: string;
810
+ id: string;
811
+ }[] | undefined;
708
812
  }>;
709
813
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
710
814
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -726,6 +830,10 @@ export declare const tasksRouter: {
726
830
  assignedTo: string | null;
727
831
  assignedBy: string | null;
728
832
  assignedDate: string | null;
833
+ source?: {
834
+ type: string;
835
+ id: string;
836
+ } | null | undefined;
729
837
  fieldName?: string | undefined;
730
838
  inventoryItemName?: string | null | undefined;
731
839
  assignedToName?: string | null | undefined;
@@ -737,6 +845,10 @@ export declare const tasksRouter: {
737
845
  timestamp: string;
738
846
  photos?: string[] | undefined;
739
847
  }[] | undefined;
848
+ contributingSources?: {
849
+ type: string;
850
+ id: string;
851
+ }[] | undefined;
740
852
  };
741
853
  relationships?: Record<string, unknown> | undefined;
742
854
  links?: Record<string, string> | undefined;
@@ -758,6 +870,10 @@ export declare const tasksRouter: {
758
870
  assignedTo: string | null;
759
871
  assignedBy: string | null;
760
872
  assignedDate: string | null;
873
+ source?: {
874
+ type: string;
875
+ id: string;
876
+ } | null | undefined;
761
877
  fieldName?: string | undefined;
762
878
  inventoryItemName?: string | null | undefined;
763
879
  assignedToName?: string | null | undefined;
@@ -769,6 +885,10 @@ export declare const tasksRouter: {
769
885
  timestamp: string;
770
886
  photos?: string[] | undefined;
771
887
  }[] | undefined;
888
+ contributingSources?: {
889
+ type: string;
890
+ id: string;
891
+ }[] | undefined;
772
892
  };
773
893
  relationships?: Record<string, unknown> | undefined;
774
894
  links?: Record<string, string> | undefined;
@@ -816,6 +936,10 @@ export declare const tasksRouter: {
816
936
  assignedTo: string | null;
817
937
  assignedBy: string | null;
818
938
  assignedDate: string | null;
939
+ source?: {
940
+ type: string;
941
+ id: string;
942
+ } | null | undefined;
819
943
  fieldName?: string | undefined;
820
944
  inventoryItemName?: string | null | undefined;
821
945
  assignedToName?: string | null | undefined;
@@ -827,6 +951,10 @@ export declare const tasksRouter: {
827
951
  timestamp: string;
828
952
  photos?: string[] | undefined;
829
953
  }[] | undefined;
954
+ contributingSources?: {
955
+ type: string;
956
+ id: string;
957
+ }[] | undefined;
830
958
  };
831
959
  relationships?: Record<string, unknown> | undefined;
832
960
  links?: Record<string, string> | undefined;
@@ -860,6 +988,10 @@ export declare const tasksRouter: {
860
988
  assignedTo: string | null;
861
989
  assignedBy: string | null;
862
990
  assignedDate: string | null;
991
+ source?: {
992
+ type: string;
993
+ id: string;
994
+ } | null | undefined;
863
995
  fieldName?: string | undefined;
864
996
  inventoryItemName?: string | null | undefined;
865
997
  assignedToName?: string | null | undefined;
@@ -871,6 +1003,10 @@ export declare const tasksRouter: {
871
1003
  timestamp: string;
872
1004
  photos?: string[] | undefined;
873
1005
  }[] | undefined;
1006
+ contributingSources?: {
1007
+ type: string;
1008
+ id: string;
1009
+ }[] | undefined;
874
1010
  };
875
1011
  relationships?: Record<string, unknown> | undefined;
876
1012
  links?: Record<string, string> | undefined;
@@ -1313,6 +1449,26 @@ export declare const tasksRouter: {
1313
1449
  timestamp: string;
1314
1450
  photos?: string[] | undefined;
1315
1451
  }>, "many">>;
1452
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1453
+ type: z.ZodString;
1454
+ id: z.ZodString;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ type: string;
1457
+ id: string;
1458
+ }, {
1459
+ type: string;
1460
+ id: string;
1461
+ }>>>;
1462
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1463
+ type: z.ZodString;
1464
+ id: z.ZodString;
1465
+ }, "strip", z.ZodTypeAny, {
1466
+ type: string;
1467
+ id: string;
1468
+ }, {
1469
+ type: string;
1470
+ id: string;
1471
+ }>, "many">>;
1316
1472
  } & {
1317
1473
  createdAt: z.ZodString;
1318
1474
  updatedAt: z.ZodString;
@@ -1330,6 +1486,10 @@ export declare const tasksRouter: {
1330
1486
  assignedTo: string | null;
1331
1487
  assignedBy: string | null;
1332
1488
  assignedDate: string | null;
1489
+ source?: {
1490
+ type: string;
1491
+ id: string;
1492
+ } | null | undefined;
1333
1493
  fieldName?: string | undefined;
1334
1494
  inventoryItemName?: string | null | undefined;
1335
1495
  assignedToName?: string | null | undefined;
@@ -1341,6 +1501,10 @@ export declare const tasksRouter: {
1341
1501
  timestamp: string;
1342
1502
  photos?: string[] | undefined;
1343
1503
  }[] | undefined;
1504
+ contributingSources?: {
1505
+ type: string;
1506
+ id: string;
1507
+ }[] | undefined;
1344
1508
  }, {
1345
1509
  status: "pending" | "in-progress" | "completed" | "cancelled";
1346
1510
  date: string;
@@ -1355,6 +1519,10 @@ export declare const tasksRouter: {
1355
1519
  assignedTo: string | null;
1356
1520
  assignedBy: string | null;
1357
1521
  assignedDate: string | null;
1522
+ source?: {
1523
+ type: string;
1524
+ id: string;
1525
+ } | null | undefined;
1358
1526
  fieldName?: string | undefined;
1359
1527
  inventoryItemName?: string | null | undefined;
1360
1528
  assignedToName?: string | null | undefined;
@@ -1366,6 +1534,10 @@ export declare const tasksRouter: {
1366
1534
  timestamp: string;
1367
1535
  photos?: string[] | undefined;
1368
1536
  }[] | undefined;
1537
+ contributingSources?: {
1538
+ type: string;
1539
+ id: string;
1540
+ }[] | undefined;
1369
1541
  }>;
1370
1542
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1371
1543
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1472,6 +1644,10 @@ export declare const tasksRouter: {
1472
1644
  assignedTo: string | null;
1473
1645
  assignedBy: string | null;
1474
1646
  assignedDate: string | null;
1647
+ source?: {
1648
+ type: string;
1649
+ id: string;
1650
+ } | null | undefined;
1475
1651
  fieldName?: string | undefined;
1476
1652
  inventoryItemName?: string | null | undefined;
1477
1653
  assignedToName?: string | null | undefined;
@@ -1483,6 +1659,10 @@ export declare const tasksRouter: {
1483
1659
  timestamp: string;
1484
1660
  photos?: string[] | undefined;
1485
1661
  }[] | undefined;
1662
+ contributingSources?: {
1663
+ type: string;
1664
+ id: string;
1665
+ }[] | undefined;
1486
1666
  };
1487
1667
  relationships?: {
1488
1668
  field?: {
@@ -1520,6 +1700,10 @@ export declare const tasksRouter: {
1520
1700
  assignedTo: string | null;
1521
1701
  assignedBy: string | null;
1522
1702
  assignedDate: string | null;
1703
+ source?: {
1704
+ type: string;
1705
+ id: string;
1706
+ } | null | undefined;
1523
1707
  fieldName?: string | undefined;
1524
1708
  inventoryItemName?: string | null | undefined;
1525
1709
  assignedToName?: string | null | undefined;
@@ -1531,6 +1715,10 @@ export declare const tasksRouter: {
1531
1715
  timestamp: string;
1532
1716
  photos?: string[] | undefined;
1533
1717
  }[] | undefined;
1718
+ contributingSources?: {
1719
+ type: string;
1720
+ id: string;
1721
+ }[] | undefined;
1534
1722
  };
1535
1723
  relationships?: {
1536
1724
  field?: {
@@ -1594,6 +1782,10 @@ export declare const tasksRouter: {
1594
1782
  assignedTo: string | null;
1595
1783
  assignedBy: string | null;
1596
1784
  assignedDate: string | null;
1785
+ source?: {
1786
+ type: string;
1787
+ id: string;
1788
+ } | null | undefined;
1597
1789
  fieldName?: string | undefined;
1598
1790
  inventoryItemName?: string | null | undefined;
1599
1791
  assignedToName?: string | null | undefined;
@@ -1605,6 +1797,10 @@ export declare const tasksRouter: {
1605
1797
  timestamp: string;
1606
1798
  photos?: string[] | undefined;
1607
1799
  }[] | undefined;
1800
+ contributingSources?: {
1801
+ type: string;
1802
+ id: string;
1803
+ }[] | undefined;
1608
1804
  };
1609
1805
  relationships?: {
1610
1806
  field?: {
@@ -1654,6 +1850,10 @@ export declare const tasksRouter: {
1654
1850
  assignedTo: string | null;
1655
1851
  assignedBy: string | null;
1656
1852
  assignedDate: string | null;
1853
+ source?: {
1854
+ type: string;
1855
+ id: string;
1856
+ } | null | undefined;
1657
1857
  fieldName?: string | undefined;
1658
1858
  inventoryItemName?: string | null | undefined;
1659
1859
  assignedToName?: string | null | undefined;
@@ -1665,6 +1865,10 @@ export declare const tasksRouter: {
1665
1865
  timestamp: string;
1666
1866
  photos?: string[] | undefined;
1667
1867
  }[] | undefined;
1868
+ contributingSources?: {
1869
+ type: string;
1870
+ id: string;
1871
+ }[] | undefined;
1668
1872
  };
1669
1873
  relationships?: {
1670
1874
  field?: {
@@ -2033,6 +2237,26 @@ export declare const tasksRouter: {
2033
2237
  timestamp: string;
2034
2238
  photos?: string[] | undefined;
2035
2239
  }>, "many">>;
2240
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2241
+ type: z.ZodString;
2242
+ id: z.ZodString;
2243
+ }, "strip", z.ZodTypeAny, {
2244
+ type: string;
2245
+ id: string;
2246
+ }, {
2247
+ type: string;
2248
+ id: string;
2249
+ }>>>;
2250
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2251
+ type: z.ZodString;
2252
+ id: z.ZodString;
2253
+ }, "strip", z.ZodTypeAny, {
2254
+ type: string;
2255
+ id: string;
2256
+ }, {
2257
+ type: string;
2258
+ id: string;
2259
+ }>, "many">>;
2036
2260
  } & {
2037
2261
  createdAt: z.ZodString;
2038
2262
  updatedAt: z.ZodString;
@@ -2050,6 +2274,10 @@ export declare const tasksRouter: {
2050
2274
  assignedTo: string | null;
2051
2275
  assignedBy: string | null;
2052
2276
  assignedDate: string | null;
2277
+ source?: {
2278
+ type: string;
2279
+ id: string;
2280
+ } | null | undefined;
2053
2281
  fieldName?: string | undefined;
2054
2282
  inventoryItemName?: string | null | undefined;
2055
2283
  assignedToName?: string | null | undefined;
@@ -2061,6 +2289,10 @@ export declare const tasksRouter: {
2061
2289
  timestamp: string;
2062
2290
  photos?: string[] | undefined;
2063
2291
  }[] | undefined;
2292
+ contributingSources?: {
2293
+ type: string;
2294
+ id: string;
2295
+ }[] | undefined;
2064
2296
  }, {
2065
2297
  status: "pending" | "in-progress" | "completed" | "cancelled";
2066
2298
  date: string;
@@ -2075,6 +2307,10 @@ export declare const tasksRouter: {
2075
2307
  assignedTo: string | null;
2076
2308
  assignedBy: string | null;
2077
2309
  assignedDate: string | null;
2310
+ source?: {
2311
+ type: string;
2312
+ id: string;
2313
+ } | null | undefined;
2078
2314
  fieldName?: string | undefined;
2079
2315
  inventoryItemName?: string | null | undefined;
2080
2316
  assignedToName?: string | null | undefined;
@@ -2086,6 +2322,10 @@ export declare const tasksRouter: {
2086
2322
  timestamp: string;
2087
2323
  photos?: string[] | undefined;
2088
2324
  }[] | undefined;
2325
+ contributingSources?: {
2326
+ type: string;
2327
+ id: string;
2328
+ }[] | undefined;
2089
2329
  }>;
2090
2330
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2091
2331
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2107,6 +2347,10 @@ export declare const tasksRouter: {
2107
2347
  assignedTo: string | null;
2108
2348
  assignedBy: string | null;
2109
2349
  assignedDate: string | null;
2350
+ source?: {
2351
+ type: string;
2352
+ id: string;
2353
+ } | null | undefined;
2110
2354
  fieldName?: string | undefined;
2111
2355
  inventoryItemName?: string | null | undefined;
2112
2356
  assignedToName?: string | null | undefined;
@@ -2118,6 +2362,10 @@ export declare const tasksRouter: {
2118
2362
  timestamp: string;
2119
2363
  photos?: string[] | undefined;
2120
2364
  }[] | undefined;
2365
+ contributingSources?: {
2366
+ type: string;
2367
+ id: string;
2368
+ }[] | undefined;
2121
2369
  };
2122
2370
  relationships?: Record<string, unknown> | undefined;
2123
2371
  links?: Record<string, string> | undefined;
@@ -2139,6 +2387,10 @@ export declare const tasksRouter: {
2139
2387
  assignedTo: string | null;
2140
2388
  assignedBy: string | null;
2141
2389
  assignedDate: string | null;
2390
+ source?: {
2391
+ type: string;
2392
+ id: string;
2393
+ } | null | undefined;
2142
2394
  fieldName?: string | undefined;
2143
2395
  inventoryItemName?: string | null | undefined;
2144
2396
  assignedToName?: string | null | undefined;
@@ -2150,6 +2402,10 @@ export declare const tasksRouter: {
2150
2402
  timestamp: string;
2151
2403
  photos?: string[] | undefined;
2152
2404
  }[] | undefined;
2405
+ contributingSources?: {
2406
+ type: string;
2407
+ id: string;
2408
+ }[] | undefined;
2153
2409
  };
2154
2410
  relationships?: Record<string, unknown> | undefined;
2155
2411
  links?: Record<string, string> | undefined;
@@ -2197,6 +2453,10 @@ export declare const tasksRouter: {
2197
2453
  assignedTo: string | null;
2198
2454
  assignedBy: string | null;
2199
2455
  assignedDate: string | null;
2456
+ source?: {
2457
+ type: string;
2458
+ id: string;
2459
+ } | null | undefined;
2200
2460
  fieldName?: string | undefined;
2201
2461
  inventoryItemName?: string | null | undefined;
2202
2462
  assignedToName?: string | null | undefined;
@@ -2208,6 +2468,10 @@ export declare const tasksRouter: {
2208
2468
  timestamp: string;
2209
2469
  photos?: string[] | undefined;
2210
2470
  }[] | undefined;
2471
+ contributingSources?: {
2472
+ type: string;
2473
+ id: string;
2474
+ }[] | undefined;
2211
2475
  };
2212
2476
  relationships?: Record<string, unknown> | undefined;
2213
2477
  links?: Record<string, string> | undefined;
@@ -2241,6 +2505,10 @@ export declare const tasksRouter: {
2241
2505
  assignedTo: string | null;
2242
2506
  assignedBy: string | null;
2243
2507
  assignedDate: string | null;
2508
+ source?: {
2509
+ type: string;
2510
+ id: string;
2511
+ } | null | undefined;
2244
2512
  fieldName?: string | undefined;
2245
2513
  inventoryItemName?: string | null | undefined;
2246
2514
  assignedToName?: string | null | undefined;
@@ -2252,6 +2520,10 @@ export declare const tasksRouter: {
2252
2520
  timestamp: string;
2253
2521
  photos?: string[] | undefined;
2254
2522
  }[] | undefined;
2523
+ contributingSources?: {
2524
+ type: string;
2525
+ id: string;
2526
+ }[] | undefined;
2255
2527
  };
2256
2528
  relationships?: Record<string, unknown> | undefined;
2257
2529
  links?: Record<string, string> | undefined;
@@ -2735,6 +3007,26 @@ export declare const tasksRouter: {
2735
3007
  timestamp: string;
2736
3008
  photos?: string[] | undefined;
2737
3009
  }>, "many">>;
3010
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3011
+ type: z.ZodString;
3012
+ id: z.ZodString;
3013
+ }, "strip", z.ZodTypeAny, {
3014
+ type: string;
3015
+ id: string;
3016
+ }, {
3017
+ type: string;
3018
+ id: string;
3019
+ }>>>;
3020
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
3021
+ type: z.ZodString;
3022
+ id: z.ZodString;
3023
+ }, "strip", z.ZodTypeAny, {
3024
+ type: string;
3025
+ id: string;
3026
+ }, {
3027
+ type: string;
3028
+ id: string;
3029
+ }>, "many">>;
2738
3030
  } & {
2739
3031
  createdAt: z.ZodString;
2740
3032
  updatedAt: z.ZodString;
@@ -2752,6 +3044,10 @@ export declare const tasksRouter: {
2752
3044
  assignedTo: string | null;
2753
3045
  assignedBy: string | null;
2754
3046
  assignedDate: string | null;
3047
+ source?: {
3048
+ type: string;
3049
+ id: string;
3050
+ } | null | undefined;
2755
3051
  fieldName?: string | undefined;
2756
3052
  inventoryItemName?: string | null | undefined;
2757
3053
  assignedToName?: string | null | undefined;
@@ -2763,6 +3059,10 @@ export declare const tasksRouter: {
2763
3059
  timestamp: string;
2764
3060
  photos?: string[] | undefined;
2765
3061
  }[] | undefined;
3062
+ contributingSources?: {
3063
+ type: string;
3064
+ id: string;
3065
+ }[] | undefined;
2766
3066
  }, {
2767
3067
  status: "pending" | "in-progress" | "completed" | "cancelled";
2768
3068
  date: string;
@@ -2777,6 +3077,10 @@ export declare const tasksRouter: {
2777
3077
  assignedTo: string | null;
2778
3078
  assignedBy: string | null;
2779
3079
  assignedDate: string | null;
3080
+ source?: {
3081
+ type: string;
3082
+ id: string;
3083
+ } | null | undefined;
2780
3084
  fieldName?: string | undefined;
2781
3085
  inventoryItemName?: string | null | undefined;
2782
3086
  assignedToName?: string | null | undefined;
@@ -2788,6 +3092,10 @@ export declare const tasksRouter: {
2788
3092
  timestamp: string;
2789
3093
  photos?: string[] | undefined;
2790
3094
  }[] | undefined;
3095
+ contributingSources?: {
3096
+ type: string;
3097
+ id: string;
3098
+ }[] | undefined;
2791
3099
  }>;
2792
3100
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2793
3101
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2809,6 +3117,10 @@ export declare const tasksRouter: {
2809
3117
  assignedTo: string | null;
2810
3118
  assignedBy: string | null;
2811
3119
  assignedDate: string | null;
3120
+ source?: {
3121
+ type: string;
3122
+ id: string;
3123
+ } | null | undefined;
2812
3124
  fieldName?: string | undefined;
2813
3125
  inventoryItemName?: string | null | undefined;
2814
3126
  assignedToName?: string | null | undefined;
@@ -2820,6 +3132,10 @@ export declare const tasksRouter: {
2820
3132
  timestamp: string;
2821
3133
  photos?: string[] | undefined;
2822
3134
  }[] | undefined;
3135
+ contributingSources?: {
3136
+ type: string;
3137
+ id: string;
3138
+ }[] | undefined;
2823
3139
  };
2824
3140
  relationships?: Record<string, unknown> | undefined;
2825
3141
  links?: Record<string, string> | undefined;
@@ -2841,6 +3157,10 @@ export declare const tasksRouter: {
2841
3157
  assignedTo: string | null;
2842
3158
  assignedBy: string | null;
2843
3159
  assignedDate: string | null;
3160
+ source?: {
3161
+ type: string;
3162
+ id: string;
3163
+ } | null | undefined;
2844
3164
  fieldName?: string | undefined;
2845
3165
  inventoryItemName?: string | null | undefined;
2846
3166
  assignedToName?: string | null | undefined;
@@ -2852,6 +3172,10 @@ export declare const tasksRouter: {
2852
3172
  timestamp: string;
2853
3173
  photos?: string[] | undefined;
2854
3174
  }[] | undefined;
3175
+ contributingSources?: {
3176
+ type: string;
3177
+ id: string;
3178
+ }[] | undefined;
2855
3179
  };
2856
3180
  relationships?: Record<string, unknown> | undefined;
2857
3181
  links?: Record<string, string> | undefined;
@@ -2899,6 +3223,10 @@ export declare const tasksRouter: {
2899
3223
  assignedTo: string | null;
2900
3224
  assignedBy: string | null;
2901
3225
  assignedDate: string | null;
3226
+ source?: {
3227
+ type: string;
3228
+ id: string;
3229
+ } | null | undefined;
2902
3230
  fieldName?: string | undefined;
2903
3231
  inventoryItemName?: string | null | undefined;
2904
3232
  assignedToName?: string | null | undefined;
@@ -2910,6 +3238,10 @@ export declare const tasksRouter: {
2910
3238
  timestamp: string;
2911
3239
  photos?: string[] | undefined;
2912
3240
  }[] | undefined;
3241
+ contributingSources?: {
3242
+ type: string;
3243
+ id: string;
3244
+ }[] | undefined;
2913
3245
  };
2914
3246
  relationships?: Record<string, unknown> | undefined;
2915
3247
  links?: Record<string, string> | undefined;
@@ -2943,6 +3275,10 @@ export declare const tasksRouter: {
2943
3275
  assignedTo: string | null;
2944
3276
  assignedBy: string | null;
2945
3277
  assignedDate: string | null;
3278
+ source?: {
3279
+ type: string;
3280
+ id: string;
3281
+ } | null | undefined;
2946
3282
  fieldName?: string | undefined;
2947
3283
  inventoryItemName?: string | null | undefined;
2948
3284
  assignedToName?: string | null | undefined;
@@ -2954,6 +3290,10 @@ export declare const tasksRouter: {
2954
3290
  timestamp: string;
2955
3291
  photos?: string[] | undefined;
2956
3292
  }[] | undefined;
3293
+ contributingSources?: {
3294
+ type: string;
3295
+ id: string;
3296
+ }[] | undefined;
2957
3297
  };
2958
3298
  relationships?: Record<string, unknown> | undefined;
2959
3299
  links?: Record<string, string> | undefined;
@@ -3647,6 +3987,26 @@ export declare const tasksRouter: {
3647
3987
  timestamp: string;
3648
3988
  photos?: string[] | undefined;
3649
3989
  }>, "many">>;
3990
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3991
+ type: z.ZodString;
3992
+ id: z.ZodString;
3993
+ }, "strip", z.ZodTypeAny, {
3994
+ type: string;
3995
+ id: string;
3996
+ }, {
3997
+ type: string;
3998
+ id: string;
3999
+ }>>>;
4000
+ contributingSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
4001
+ type: z.ZodString;
4002
+ id: z.ZodString;
4003
+ }, "strip", z.ZodTypeAny, {
4004
+ type: string;
4005
+ id: string;
4006
+ }, {
4007
+ type: string;
4008
+ id: string;
4009
+ }>, "many">>;
3650
4010
  } & {
3651
4011
  createdAt: z.ZodString;
3652
4012
  updatedAt: z.ZodString;
@@ -3664,6 +4024,10 @@ export declare const tasksRouter: {
3664
4024
  assignedTo: string | null;
3665
4025
  assignedBy: string | null;
3666
4026
  assignedDate: string | null;
4027
+ source?: {
4028
+ type: string;
4029
+ id: string;
4030
+ } | null | undefined;
3667
4031
  fieldName?: string | undefined;
3668
4032
  inventoryItemName?: string | null | undefined;
3669
4033
  assignedToName?: string | null | undefined;
@@ -3675,6 +4039,10 @@ export declare const tasksRouter: {
3675
4039
  timestamp: string;
3676
4040
  photos?: string[] | undefined;
3677
4041
  }[] | undefined;
4042
+ contributingSources?: {
4043
+ type: string;
4044
+ id: string;
4045
+ }[] | undefined;
3678
4046
  }, {
3679
4047
  status: "pending" | "in-progress" | "completed" | "cancelled";
3680
4048
  date: string;
@@ -3689,6 +4057,10 @@ export declare const tasksRouter: {
3689
4057
  assignedTo: string | null;
3690
4058
  assignedBy: string | null;
3691
4059
  assignedDate: string | null;
4060
+ source?: {
4061
+ type: string;
4062
+ id: string;
4063
+ } | null | undefined;
3692
4064
  fieldName?: string | undefined;
3693
4065
  inventoryItemName?: string | null | undefined;
3694
4066
  assignedToName?: string | null | undefined;
@@ -3700,6 +4072,10 @@ export declare const tasksRouter: {
3700
4072
  timestamp: string;
3701
4073
  photos?: string[] | undefined;
3702
4074
  }[] | undefined;
4075
+ contributingSources?: {
4076
+ type: string;
4077
+ id: string;
4078
+ }[] | undefined;
3703
4079
  }>;
3704
4080
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3705
4081
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3721,6 +4097,10 @@ export declare const tasksRouter: {
3721
4097
  assignedTo: string | null;
3722
4098
  assignedBy: string | null;
3723
4099
  assignedDate: string | null;
4100
+ source?: {
4101
+ type: string;
4102
+ id: string;
4103
+ } | null | undefined;
3724
4104
  fieldName?: string | undefined;
3725
4105
  inventoryItemName?: string | null | undefined;
3726
4106
  assignedToName?: string | null | undefined;
@@ -3732,6 +4112,10 @@ export declare const tasksRouter: {
3732
4112
  timestamp: string;
3733
4113
  photos?: string[] | undefined;
3734
4114
  }[] | undefined;
4115
+ contributingSources?: {
4116
+ type: string;
4117
+ id: string;
4118
+ }[] | undefined;
3735
4119
  };
3736
4120
  relationships?: Record<string, unknown> | undefined;
3737
4121
  links?: Record<string, string> | undefined;
@@ -3753,6 +4137,10 @@ export declare const tasksRouter: {
3753
4137
  assignedTo: string | null;
3754
4138
  assignedBy: string | null;
3755
4139
  assignedDate: string | null;
4140
+ source?: {
4141
+ type: string;
4142
+ id: string;
4143
+ } | null | undefined;
3756
4144
  fieldName?: string | undefined;
3757
4145
  inventoryItemName?: string | null | undefined;
3758
4146
  assignedToName?: string | null | undefined;
@@ -3764,6 +4152,10 @@ export declare const tasksRouter: {
3764
4152
  timestamp: string;
3765
4153
  photos?: string[] | undefined;
3766
4154
  }[] | undefined;
4155
+ contributingSources?: {
4156
+ type: string;
4157
+ id: string;
4158
+ }[] | undefined;
3767
4159
  };
3768
4160
  relationships?: Record<string, unknown> | undefined;
3769
4161
  links?: Record<string, string> | undefined;
@@ -3811,6 +4203,10 @@ export declare const tasksRouter: {
3811
4203
  assignedTo: string | null;
3812
4204
  assignedBy: string | null;
3813
4205
  assignedDate: string | null;
4206
+ source?: {
4207
+ type: string;
4208
+ id: string;
4209
+ } | null | undefined;
3814
4210
  fieldName?: string | undefined;
3815
4211
  inventoryItemName?: string | null | undefined;
3816
4212
  assignedToName?: string | null | undefined;
@@ -3822,6 +4218,10 @@ export declare const tasksRouter: {
3822
4218
  timestamp: string;
3823
4219
  photos?: string[] | undefined;
3824
4220
  }[] | undefined;
4221
+ contributingSources?: {
4222
+ type: string;
4223
+ id: string;
4224
+ }[] | undefined;
3825
4225
  };
3826
4226
  relationships?: Record<string, unknown> | undefined;
3827
4227
  links?: Record<string, string> | undefined;
@@ -3855,6 +4255,10 @@ export declare const tasksRouter: {
3855
4255
  assignedTo: string | null;
3856
4256
  assignedBy: string | null;
3857
4257
  assignedDate: string | null;
4258
+ source?: {
4259
+ type: string;
4260
+ id: string;
4261
+ } | null | undefined;
3858
4262
  fieldName?: string | undefined;
3859
4263
  inventoryItemName?: string | null | undefined;
3860
4264
  assignedToName?: string | null | undefined;
@@ -3866,6 +4270,10 @@ export declare const tasksRouter: {
3866
4270
  timestamp: string;
3867
4271
  photos?: string[] | undefined;
3868
4272
  }[] | undefined;
4273
+ contributingSources?: {
4274
+ type: string;
4275
+ id: string;
4276
+ }[] | undefined;
3869
4277
  };
3870
4278
  relationships?: Record<string, unknown> | undefined;
3871
4279
  links?: Record<string, string> | undefined;