@deepintel-ltd/farmpro-contracts 1.5.1 → 1.5.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.
@@ -64,7 +64,6 @@ export declare const documentsRouter: {
64
64
  type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
65
65
  category: z.ZodNullable<z.ZodString>;
66
66
  fileUrl: z.ZodString;
67
- viewUrl: z.ZodOptional<z.ZodString>;
68
67
  fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
68
  fileSize: z.ZodNullable<z.ZodNumber>;
70
69
  uploadedDate: z.ZodString;
@@ -91,8 +90,8 @@ export declare const documentsRouter: {
91
90
  name: string;
92
91
  description: string | null;
93
92
  farmId: string;
94
- category: string | null;
95
93
  fileUrl: string;
94
+ category: string | null;
96
95
  fileSize: number | null;
97
96
  uploadedDate: string;
98
97
  uploadedBy: string | null;
@@ -100,7 +99,6 @@ export declare const documentsRouter: {
100
99
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
101
100
  id: string;
102
101
  } | null;
103
- viewUrl?: string | undefined;
104
102
  fileExtension?: string | null | undefined;
105
103
  tags?: string[] | undefined;
106
104
  }, {
@@ -110,8 +108,8 @@ export declare const documentsRouter: {
110
108
  name: string;
111
109
  description: string | null;
112
110
  farmId: string;
113
- category: string | null;
114
111
  fileUrl: string;
112
+ category: string | null;
115
113
  fileSize: number | null;
116
114
  uploadedDate: string;
117
115
  uploadedBy: string | null;
@@ -119,7 +117,6 @@ export declare const documentsRouter: {
119
117
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
120
118
  id: string;
121
119
  } | null;
122
- viewUrl?: string | undefined;
123
120
  fileExtension?: string | null | undefined;
124
121
  tags?: string[] | undefined;
125
122
  }>;
@@ -136,8 +133,8 @@ export declare const documentsRouter: {
136
133
  name: string;
137
134
  description: string | null;
138
135
  farmId: string;
139
- category: string | null;
140
136
  fileUrl: string;
137
+ category: string | null;
141
138
  fileSize: number | null;
142
139
  uploadedDate: string;
143
140
  uploadedBy: string | null;
@@ -145,7 +142,6 @@ export declare const documentsRouter: {
145
142
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
146
143
  id: string;
147
144
  } | null;
148
- viewUrl?: string | undefined;
149
145
  fileExtension?: string | null | undefined;
150
146
  tags?: string[] | undefined;
151
147
  };
@@ -162,8 +158,8 @@ export declare const documentsRouter: {
162
158
  name: string;
163
159
  description: string | null;
164
160
  farmId: string;
165
- category: string | null;
166
161
  fileUrl: string;
162
+ category: string | null;
167
163
  fileSize: number | null;
168
164
  uploadedDate: string;
169
165
  uploadedBy: string | null;
@@ -171,7 +167,6 @@ export declare const documentsRouter: {
171
167
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
172
168
  id: string;
173
169
  } | null;
174
- viewUrl?: string | undefined;
175
170
  fileExtension?: string | null | undefined;
176
171
  tags?: string[] | undefined;
177
172
  };
@@ -214,8 +209,8 @@ export declare const documentsRouter: {
214
209
  name: string;
215
210
  description: string | null;
216
211
  farmId: string;
217
- category: string | null;
218
212
  fileUrl: string;
213
+ category: string | null;
219
214
  fileSize: number | null;
220
215
  uploadedDate: string;
221
216
  uploadedBy: string | null;
@@ -223,7 +218,6 @@ export declare const documentsRouter: {
223
218
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
224
219
  id: string;
225
220
  } | null;
226
- viewUrl?: string | undefined;
227
221
  fileExtension?: string | null | undefined;
228
222
  tags?: string[] | undefined;
229
223
  };
@@ -252,8 +246,8 @@ export declare const documentsRouter: {
252
246
  name: string;
253
247
  description: string | null;
254
248
  farmId: string;
255
- category: string | null;
256
249
  fileUrl: string;
250
+ category: string | null;
257
251
  fileSize: number | null;
258
252
  uploadedDate: string;
259
253
  uploadedBy: string | null;
@@ -261,7 +255,6 @@ export declare const documentsRouter: {
261
255
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
262
256
  id: string;
263
257
  } | null;
264
- viewUrl?: string | undefined;
265
258
  fileExtension?: string | null | undefined;
266
259
  tags?: string[] | undefined;
267
260
  };
@@ -488,26 +481,23 @@ export declare const documentsRouter: {
488
481
  type: z.ZodLiteral<string>;
489
482
  id: z.ZodString;
490
483
  attributes: z.ZodObject<{
491
- fileUrl: z.ZodOptional<z.ZodString>;
492
- viewUrl: z.ZodString;
484
+ fileUrl: z.ZodString;
493
485
  fileSize: z.ZodNumber;
494
486
  fileName: z.ZodString;
495
487
  contentType: z.ZodOptional<z.ZodString>;
496
488
  uploadedAt: z.ZodString;
497
489
  }, "strip", z.ZodTypeAny, {
498
- viewUrl: string;
499
- fileSize: number;
490
+ fileUrl: string;
500
491
  fileName: string;
492
+ fileSize: number;
501
493
  uploadedAt: string;
502
494
  contentType?: string | undefined;
503
- fileUrl?: string | undefined;
504
495
  }, {
505
- viewUrl: string;
506
- fileSize: number;
496
+ fileUrl: string;
507
497
  fileName: string;
498
+ fileSize: number;
508
499
  uploadedAt: string;
509
500
  contentType?: string | undefined;
510
- fileUrl?: string | undefined;
511
501
  }>;
512
502
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
513
503
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -516,12 +506,11 @@ export declare const documentsRouter: {
516
506
  type: string;
517
507
  id: string;
518
508
  attributes: {
519
- viewUrl: string;
520
- fileSize: number;
509
+ fileUrl: string;
521
510
  fileName: string;
511
+ fileSize: number;
522
512
  uploadedAt: string;
523
513
  contentType?: string | undefined;
524
- fileUrl?: string | undefined;
525
514
  };
526
515
  relationships?: Record<string, unknown> | undefined;
527
516
  links?: Record<string, string> | undefined;
@@ -530,12 +519,11 @@ export declare const documentsRouter: {
530
519
  type: string;
531
520
  id: string;
532
521
  attributes: {
533
- viewUrl: string;
534
- fileSize: number;
522
+ fileUrl: string;
535
523
  fileName: string;
524
+ fileSize: number;
536
525
  uploadedAt: string;
537
526
  contentType?: string | undefined;
538
- fileUrl?: string | undefined;
539
527
  };
540
528
  relationships?: Record<string, unknown> | undefined;
541
529
  links?: Record<string, string> | undefined;
@@ -570,12 +558,11 @@ export declare const documentsRouter: {
570
558
  type: string;
571
559
  id: string;
572
560
  attributes: {
573
- viewUrl: string;
574
- fileSize: number;
561
+ fileUrl: string;
575
562
  fileName: string;
563
+ fileSize: number;
576
564
  uploadedAt: string;
577
565
  contentType?: string | undefined;
578
- fileUrl?: string | undefined;
579
566
  };
580
567
  relationships?: Record<string, unknown> | undefined;
581
568
  links?: Record<string, string> | undefined;
@@ -596,12 +583,11 @@ export declare const documentsRouter: {
596
583
  type: string;
597
584
  id: string;
598
585
  attributes: {
599
- viewUrl: string;
600
- fileSize: number;
586
+ fileUrl: string;
601
587
  fileName: string;
588
+ fileSize: number;
602
589
  uploadedAt: string;
603
590
  contentType?: string | undefined;
604
- fileUrl?: string | undefined;
605
591
  };
606
592
  relationships?: Record<string, unknown> | undefined;
607
593
  links?: Record<string, string> | undefined;
@@ -924,7 +910,6 @@ export declare const documentsRouter: {
924
910
  type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
925
911
  category: z.ZodNullable<z.ZodString>;
926
912
  fileUrl: z.ZodString;
927
- viewUrl: z.ZodOptional<z.ZodString>;
928
913
  fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
914
  fileSize: z.ZodNullable<z.ZodNumber>;
930
915
  uploadedDate: z.ZodString;
@@ -951,8 +936,8 @@ export declare const documentsRouter: {
951
936
  name: string;
952
937
  description: string | null;
953
938
  farmId: string;
954
- category: string | null;
955
939
  fileUrl: string;
940
+ category: string | null;
956
941
  fileSize: number | null;
957
942
  uploadedDate: string;
958
943
  uploadedBy: string | null;
@@ -960,7 +945,6 @@ export declare const documentsRouter: {
960
945
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
961
946
  id: string;
962
947
  } | null;
963
- viewUrl?: string | undefined;
964
948
  fileExtension?: string | null | undefined;
965
949
  tags?: string[] | undefined;
966
950
  }, {
@@ -970,8 +954,8 @@ export declare const documentsRouter: {
970
954
  name: string;
971
955
  description: string | null;
972
956
  farmId: string;
973
- category: string | null;
974
957
  fileUrl: string;
958
+ category: string | null;
975
959
  fileSize: number | null;
976
960
  uploadedDate: string;
977
961
  uploadedBy: string | null;
@@ -979,7 +963,6 @@ export declare const documentsRouter: {
979
963
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
980
964
  id: string;
981
965
  } | null;
982
- viewUrl?: string | undefined;
983
966
  fileExtension?: string | null | undefined;
984
967
  tags?: string[] | undefined;
985
968
  }>;
@@ -996,8 +979,8 @@ export declare const documentsRouter: {
996
979
  name: string;
997
980
  description: string | null;
998
981
  farmId: string;
999
- category: string | null;
1000
982
  fileUrl: string;
983
+ category: string | null;
1001
984
  fileSize: number | null;
1002
985
  uploadedDate: string;
1003
986
  uploadedBy: string | null;
@@ -1005,7 +988,6 @@ export declare const documentsRouter: {
1005
988
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
1006
989
  id: string;
1007
990
  } | null;
1008
- viewUrl?: string | undefined;
1009
991
  fileExtension?: string | null | undefined;
1010
992
  tags?: string[] | undefined;
1011
993
  };
@@ -1022,8 +1004,8 @@ export declare const documentsRouter: {
1022
1004
  name: string;
1023
1005
  description: string | null;
1024
1006
  farmId: string;
1025
- category: string | null;
1026
1007
  fileUrl: string;
1008
+ category: string | null;
1027
1009
  fileSize: number | null;
1028
1010
  uploadedDate: string;
1029
1011
  uploadedBy: string | null;
@@ -1031,7 +1013,6 @@ export declare const documentsRouter: {
1031
1013
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
1032
1014
  id: string;
1033
1015
  } | null;
1034
- viewUrl?: string | undefined;
1035
1016
  fileExtension?: string | null | undefined;
1036
1017
  tags?: string[] | undefined;
1037
1018
  };
@@ -1074,8 +1055,8 @@ export declare const documentsRouter: {
1074
1055
  name: string;
1075
1056
  description: string | null;
1076
1057
  farmId: string;
1077
- category: string | null;
1078
1058
  fileUrl: string;
1059
+ category: string | null;
1079
1060
  fileSize: number | null;
1080
1061
  uploadedDate: string;
1081
1062
  uploadedBy: string | null;
@@ -1083,7 +1064,6 @@ export declare const documentsRouter: {
1083
1064
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
1084
1065
  id: string;
1085
1066
  } | null;
1086
- viewUrl?: string | undefined;
1087
1067
  fileExtension?: string | null | undefined;
1088
1068
  tags?: string[] | undefined;
1089
1069
  };
@@ -1112,8 +1092,8 @@ export declare const documentsRouter: {
1112
1092
  name: string;
1113
1093
  description: string | null;
1114
1094
  farmId: string;
1115
- category: string | null;
1116
1095
  fileUrl: string;
1096
+ category: string | null;
1117
1097
  fileSize: number | null;
1118
1098
  uploadedDate: string;
1119
1099
  uploadedBy: string | null;
@@ -1121,7 +1101,6 @@ export declare const documentsRouter: {
1121
1101
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
1122
1102
  id: string;
1123
1103
  } | null;
1124
- viewUrl?: string | undefined;
1125
1104
  fileExtension?: string | null | undefined;
1126
1105
  tags?: string[] | undefined;
1127
1106
  };
@@ -1448,8 +1427,8 @@ export declare const documentsRouter: {
1448
1427
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
1449
1428
  name: string;
1450
1429
  description?: string | undefined;
1451
- category?: string | undefined;
1452
1430
  fileUrl?: string | undefined;
1431
+ category?: string | undefined;
1453
1432
  fileSize?: number | undefined;
1454
1433
  relatedTo?: {
1455
1434
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -1460,8 +1439,8 @@ export declare const documentsRouter: {
1460
1439
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
1461
1440
  name: string;
1462
1441
  description?: string | undefined;
1463
- category?: string | undefined;
1464
1442
  fileUrl?: string | undefined;
1443
+ category?: string | undefined;
1465
1444
  fileSize?: number | undefined;
1466
1445
  relatedTo?: {
1467
1446
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -1475,8 +1454,8 @@ export declare const documentsRouter: {
1475
1454
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
1476
1455
  name: string;
1477
1456
  description?: string | undefined;
1478
- category?: string | undefined;
1479
1457
  fileUrl?: string | undefined;
1458
+ category?: string | undefined;
1480
1459
  fileSize?: number | undefined;
1481
1460
  relatedTo?: {
1482
1461
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -1490,8 +1469,8 @@ export declare const documentsRouter: {
1490
1469
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
1491
1470
  name: string;
1492
1471
  description?: string | undefined;
1493
- category?: string | undefined;
1494
1472
  fileUrl?: string | undefined;
1473
+ category?: string | undefined;
1495
1474
  fileSize?: number | undefined;
1496
1475
  relatedTo?: {
1497
1476
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -1507,8 +1486,8 @@ export declare const documentsRouter: {
1507
1486
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
1508
1487
  name: string;
1509
1488
  description?: string | undefined;
1510
- category?: string | undefined;
1511
1489
  fileUrl?: string | undefined;
1490
+ category?: string | undefined;
1512
1491
  fileSize?: number | undefined;
1513
1492
  relatedTo?: {
1514
1493
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -1524,8 +1503,8 @@ export declare const documentsRouter: {
1524
1503
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
1525
1504
  name: string;
1526
1505
  description?: string | undefined;
1527
- category?: string | undefined;
1528
1506
  fileUrl?: string | undefined;
1507
+ category?: string | undefined;
1529
1508
  fileSize?: number | undefined;
1530
1509
  relatedTo?: {
1531
1510
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -1547,7 +1526,6 @@ export declare const documentsRouter: {
1547
1526
  type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
1548
1527
  category: z.ZodNullable<z.ZodString>;
1549
1528
  fileUrl: z.ZodString;
1550
- viewUrl: z.ZodOptional<z.ZodString>;
1551
1529
  fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1552
1530
  fileSize: z.ZodNullable<z.ZodNumber>;
1553
1531
  uploadedDate: z.ZodString;
@@ -1574,8 +1552,8 @@ export declare const documentsRouter: {
1574
1552
  name: string;
1575
1553
  description: string | null;
1576
1554
  farmId: string;
1577
- category: string | null;
1578
1555
  fileUrl: string;
1556
+ category: string | null;
1579
1557
  fileSize: number | null;
1580
1558
  uploadedDate: string;
1581
1559
  uploadedBy: string | null;
@@ -1583,7 +1561,6 @@ export declare const documentsRouter: {
1583
1561
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
1584
1562
  id: string;
1585
1563
  } | null;
1586
- viewUrl?: string | undefined;
1587
1564
  fileExtension?: string | null | undefined;
1588
1565
  tags?: string[] | undefined;
1589
1566
  }, {
@@ -1593,8 +1570,8 @@ export declare const documentsRouter: {
1593
1570
  name: string;
1594
1571
  description: string | null;
1595
1572
  farmId: string;
1596
- category: string | null;
1597
1573
  fileUrl: string;
1574
+ category: string | null;
1598
1575
  fileSize: number | null;
1599
1576
  uploadedDate: string;
1600
1577
  uploadedBy: string | null;
@@ -1602,7 +1579,6 @@ export declare const documentsRouter: {
1602
1579
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
1603
1580
  id: string;
1604
1581
  } | null;
1605
- viewUrl?: string | undefined;
1606
1582
  fileExtension?: string | null | undefined;
1607
1583
  tags?: string[] | undefined;
1608
1584
  }>;
@@ -1619,8 +1595,8 @@ export declare const documentsRouter: {
1619
1595
  name: string;
1620
1596
  description: string | null;
1621
1597
  farmId: string;
1622
- category: string | null;
1623
1598
  fileUrl: string;
1599
+ category: string | null;
1624
1600
  fileSize: number | null;
1625
1601
  uploadedDate: string;
1626
1602
  uploadedBy: string | null;
@@ -1628,7 +1604,6 @@ export declare const documentsRouter: {
1628
1604
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
1629
1605
  id: string;
1630
1606
  } | null;
1631
- viewUrl?: string | undefined;
1632
1607
  fileExtension?: string | null | undefined;
1633
1608
  tags?: string[] | undefined;
1634
1609
  };
@@ -1645,8 +1620,8 @@ export declare const documentsRouter: {
1645
1620
  name: string;
1646
1621
  description: string | null;
1647
1622
  farmId: string;
1648
- category: string | null;
1649
1623
  fileUrl: string;
1624
+ category: string | null;
1650
1625
  fileSize: number | null;
1651
1626
  uploadedDate: string;
1652
1627
  uploadedBy: string | null;
@@ -1654,7 +1629,6 @@ export declare const documentsRouter: {
1654
1629
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
1655
1630
  id: string;
1656
1631
  } | null;
1657
- viewUrl?: string | undefined;
1658
1632
  fileExtension?: string | null | undefined;
1659
1633
  tags?: string[] | undefined;
1660
1634
  };
@@ -1697,8 +1671,8 @@ export declare const documentsRouter: {
1697
1671
  name: string;
1698
1672
  description: string | null;
1699
1673
  farmId: string;
1700
- category: string | null;
1701
1674
  fileUrl: string;
1675
+ category: string | null;
1702
1676
  fileSize: number | null;
1703
1677
  uploadedDate: string;
1704
1678
  uploadedBy: string | null;
@@ -1706,7 +1680,6 @@ export declare const documentsRouter: {
1706
1680
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
1707
1681
  id: string;
1708
1682
  } | null;
1709
- viewUrl?: string | undefined;
1710
1683
  fileExtension?: string | null | undefined;
1711
1684
  tags?: string[] | undefined;
1712
1685
  };
@@ -1735,8 +1708,8 @@ export declare const documentsRouter: {
1735
1708
  name: string;
1736
1709
  description: string | null;
1737
1710
  farmId: string;
1738
- category: string | null;
1739
1711
  fileUrl: string;
1712
+ category: string | null;
1740
1713
  fileSize: number | null;
1741
1714
  uploadedDate: string;
1742
1715
  uploadedBy: string | null;
@@ -1744,7 +1717,6 @@ export declare const documentsRouter: {
1744
1717
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
1745
1718
  id: string;
1746
1719
  } | null;
1747
- viewUrl?: string | undefined;
1748
1720
  fileExtension?: string | null | undefined;
1749
1721
  tags?: string[] | undefined;
1750
1722
  };
@@ -2158,7 +2130,6 @@ export declare const documentsRouter: {
2158
2130
  type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
2159
2131
  category: z.ZodNullable<z.ZodString>;
2160
2132
  fileUrl: z.ZodString;
2161
- viewUrl: z.ZodOptional<z.ZodString>;
2162
2133
  fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2163
2134
  fileSize: z.ZodNullable<z.ZodNumber>;
2164
2135
  uploadedDate: z.ZodString;
@@ -2185,8 +2156,8 @@ export declare const documentsRouter: {
2185
2156
  name: string;
2186
2157
  description: string | null;
2187
2158
  farmId: string;
2188
- category: string | null;
2189
2159
  fileUrl: string;
2160
+ category: string | null;
2190
2161
  fileSize: number | null;
2191
2162
  uploadedDate: string;
2192
2163
  uploadedBy: string | null;
@@ -2194,7 +2165,6 @@ export declare const documentsRouter: {
2194
2165
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2195
2166
  id: string;
2196
2167
  } | null;
2197
- viewUrl?: string | undefined;
2198
2168
  fileExtension?: string | null | undefined;
2199
2169
  tags?: string[] | undefined;
2200
2170
  }, {
@@ -2204,8 +2174,8 @@ export declare const documentsRouter: {
2204
2174
  name: string;
2205
2175
  description: string | null;
2206
2176
  farmId: string;
2207
- category: string | null;
2208
2177
  fileUrl: string;
2178
+ category: string | null;
2209
2179
  fileSize: number | null;
2210
2180
  uploadedDate: string;
2211
2181
  uploadedBy: string | null;
@@ -2213,7 +2183,6 @@ export declare const documentsRouter: {
2213
2183
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2214
2184
  id: string;
2215
2185
  } | null;
2216
- viewUrl?: string | undefined;
2217
2186
  fileExtension?: string | null | undefined;
2218
2187
  tags?: string[] | undefined;
2219
2188
  }>;
@@ -2230,8 +2199,8 @@ export declare const documentsRouter: {
2230
2199
  name: string;
2231
2200
  description: string | null;
2232
2201
  farmId: string;
2233
- category: string | null;
2234
2202
  fileUrl: string;
2203
+ category: string | null;
2235
2204
  fileSize: number | null;
2236
2205
  uploadedDate: string;
2237
2206
  uploadedBy: string | null;
@@ -2239,7 +2208,6 @@ export declare const documentsRouter: {
2239
2208
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2240
2209
  id: string;
2241
2210
  } | null;
2242
- viewUrl?: string | undefined;
2243
2211
  fileExtension?: string | null | undefined;
2244
2212
  tags?: string[] | undefined;
2245
2213
  };
@@ -2256,8 +2224,8 @@ export declare const documentsRouter: {
2256
2224
  name: string;
2257
2225
  description: string | null;
2258
2226
  farmId: string;
2259
- category: string | null;
2260
2227
  fileUrl: string;
2228
+ category: string | null;
2261
2229
  fileSize: number | null;
2262
2230
  uploadedDate: string;
2263
2231
  uploadedBy: string | null;
@@ -2265,7 +2233,6 @@ export declare const documentsRouter: {
2265
2233
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2266
2234
  id: string;
2267
2235
  } | null;
2268
- viewUrl?: string | undefined;
2269
2236
  fileExtension?: string | null | undefined;
2270
2237
  tags?: string[] | undefined;
2271
2238
  };
@@ -2308,8 +2275,8 @@ export declare const documentsRouter: {
2308
2275
  name: string;
2309
2276
  description: string | null;
2310
2277
  farmId: string;
2311
- category: string | null;
2312
2278
  fileUrl: string;
2279
+ category: string | null;
2313
2280
  fileSize: number | null;
2314
2281
  uploadedDate: string;
2315
2282
  uploadedBy: string | null;
@@ -2317,7 +2284,6 @@ export declare const documentsRouter: {
2317
2284
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2318
2285
  id: string;
2319
2286
  } | null;
2320
- viewUrl?: string | undefined;
2321
2287
  fileExtension?: string | null | undefined;
2322
2288
  tags?: string[] | undefined;
2323
2289
  };
@@ -2346,8 +2312,8 @@ export declare const documentsRouter: {
2346
2312
  name: string;
2347
2313
  description: string | null;
2348
2314
  farmId: string;
2349
- category: string | null;
2350
2315
  fileUrl: string;
2316
+ category: string | null;
2351
2317
  fileSize: number | null;
2352
2318
  uploadedDate: string;
2353
2319
  uploadedBy: string | null;
@@ -2355,7 +2321,6 @@ export declare const documentsRouter: {
2355
2321
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2356
2322
  id: string;
2357
2323
  } | null;
2358
- viewUrl?: string | undefined;
2359
2324
  fileExtension?: string | null | undefined;
2360
2325
  tags?: string[] | undefined;
2361
2326
  };
@@ -2596,8 +2561,8 @@ export declare const documentsRouter: {
2596
2561
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
2597
2562
  name?: string | undefined;
2598
2563
  description?: string | null | undefined;
2599
- category?: string | null | undefined;
2600
2564
  fileUrl?: string | undefined;
2565
+ category?: string | null | undefined;
2601
2566
  fileSize?: number | undefined;
2602
2567
  relatedTo?: {
2603
2568
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -2608,8 +2573,8 @@ export declare const documentsRouter: {
2608
2573
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
2609
2574
  name?: string | undefined;
2610
2575
  description?: string | null | undefined;
2611
- category?: string | null | undefined;
2612
2576
  fileUrl?: string | undefined;
2577
+ category?: string | null | undefined;
2613
2578
  fileSize?: number | undefined;
2614
2579
  relatedTo?: {
2615
2580
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -2624,8 +2589,8 @@ export declare const documentsRouter: {
2624
2589
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
2625
2590
  name?: string | undefined;
2626
2591
  description?: string | null | undefined;
2627
- category?: string | null | undefined;
2628
2592
  fileUrl?: string | undefined;
2593
+ category?: string | null | undefined;
2629
2594
  fileSize?: number | undefined;
2630
2595
  relatedTo?: {
2631
2596
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -2640,8 +2605,8 @@ export declare const documentsRouter: {
2640
2605
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
2641
2606
  name?: string | undefined;
2642
2607
  description?: string | null | undefined;
2643
- category?: string | null | undefined;
2644
2608
  fileUrl?: string | undefined;
2609
+ category?: string | null | undefined;
2645
2610
  fileSize?: number | undefined;
2646
2611
  relatedTo?: {
2647
2612
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -2658,8 +2623,8 @@ export declare const documentsRouter: {
2658
2623
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
2659
2624
  name?: string | undefined;
2660
2625
  description?: string | null | undefined;
2661
- category?: string | null | undefined;
2662
2626
  fileUrl?: string | undefined;
2627
+ category?: string | null | undefined;
2663
2628
  fileSize?: number | undefined;
2664
2629
  relatedTo?: {
2665
2630
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -2676,8 +2641,8 @@ export declare const documentsRouter: {
2676
2641
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
2677
2642
  name?: string | undefined;
2678
2643
  description?: string | null | undefined;
2679
- category?: string | null | undefined;
2680
2644
  fileUrl?: string | undefined;
2645
+ category?: string | null | undefined;
2681
2646
  fileSize?: number | undefined;
2682
2647
  relatedTo?: {
2683
2648
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -2699,7 +2664,6 @@ export declare const documentsRouter: {
2699
2664
  type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
2700
2665
  category: z.ZodNullable<z.ZodString>;
2701
2666
  fileUrl: z.ZodString;
2702
- viewUrl: z.ZodOptional<z.ZodString>;
2703
2667
  fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
2668
  fileSize: z.ZodNullable<z.ZodNumber>;
2705
2669
  uploadedDate: z.ZodString;
@@ -2726,8 +2690,8 @@ export declare const documentsRouter: {
2726
2690
  name: string;
2727
2691
  description: string | null;
2728
2692
  farmId: string;
2729
- category: string | null;
2730
2693
  fileUrl: string;
2694
+ category: string | null;
2731
2695
  fileSize: number | null;
2732
2696
  uploadedDate: string;
2733
2697
  uploadedBy: string | null;
@@ -2735,7 +2699,6 @@ export declare const documentsRouter: {
2735
2699
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2736
2700
  id: string;
2737
2701
  } | null;
2738
- viewUrl?: string | undefined;
2739
2702
  fileExtension?: string | null | undefined;
2740
2703
  tags?: string[] | undefined;
2741
2704
  }, {
@@ -2745,8 +2708,8 @@ export declare const documentsRouter: {
2745
2708
  name: string;
2746
2709
  description: string | null;
2747
2710
  farmId: string;
2748
- category: string | null;
2749
2711
  fileUrl: string;
2712
+ category: string | null;
2750
2713
  fileSize: number | null;
2751
2714
  uploadedDate: string;
2752
2715
  uploadedBy: string | null;
@@ -2754,7 +2717,6 @@ export declare const documentsRouter: {
2754
2717
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2755
2718
  id: string;
2756
2719
  } | null;
2757
- viewUrl?: string | undefined;
2758
2720
  fileExtension?: string | null | undefined;
2759
2721
  tags?: string[] | undefined;
2760
2722
  }>;
@@ -2771,8 +2733,8 @@ export declare const documentsRouter: {
2771
2733
  name: string;
2772
2734
  description: string | null;
2773
2735
  farmId: string;
2774
- category: string | null;
2775
2736
  fileUrl: string;
2737
+ category: string | null;
2776
2738
  fileSize: number | null;
2777
2739
  uploadedDate: string;
2778
2740
  uploadedBy: string | null;
@@ -2780,7 +2742,6 @@ export declare const documentsRouter: {
2780
2742
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2781
2743
  id: string;
2782
2744
  } | null;
2783
- viewUrl?: string | undefined;
2784
2745
  fileExtension?: string | null | undefined;
2785
2746
  tags?: string[] | undefined;
2786
2747
  };
@@ -2797,8 +2758,8 @@ export declare const documentsRouter: {
2797
2758
  name: string;
2798
2759
  description: string | null;
2799
2760
  farmId: string;
2800
- category: string | null;
2801
2761
  fileUrl: string;
2762
+ category: string | null;
2802
2763
  fileSize: number | null;
2803
2764
  uploadedDate: string;
2804
2765
  uploadedBy: string | null;
@@ -2806,7 +2767,6 @@ export declare const documentsRouter: {
2806
2767
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2807
2768
  id: string;
2808
2769
  } | null;
2809
- viewUrl?: string | undefined;
2810
2770
  fileExtension?: string | null | undefined;
2811
2771
  tags?: string[] | undefined;
2812
2772
  };
@@ -2849,8 +2809,8 @@ export declare const documentsRouter: {
2849
2809
  name: string;
2850
2810
  description: string | null;
2851
2811
  farmId: string;
2852
- category: string | null;
2853
2812
  fileUrl: string;
2813
+ category: string | null;
2854
2814
  fileSize: number | null;
2855
2815
  uploadedDate: string;
2856
2816
  uploadedBy: string | null;
@@ -2858,7 +2818,6 @@ export declare const documentsRouter: {
2858
2818
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2859
2819
  id: string;
2860
2820
  } | null;
2861
- viewUrl?: string | undefined;
2862
2821
  fileExtension?: string | null | undefined;
2863
2822
  tags?: string[] | undefined;
2864
2823
  };
@@ -2887,8 +2846,8 @@ export declare const documentsRouter: {
2887
2846
  name: string;
2888
2847
  description: string | null;
2889
2848
  farmId: string;
2890
- category: string | null;
2891
2849
  fileUrl: string;
2850
+ category: string | null;
2892
2851
  fileSize: number | null;
2893
2852
  uploadedDate: string;
2894
2853
  uploadedBy: string | null;
@@ -2896,7 +2855,6 @@ export declare const documentsRouter: {
2896
2855
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
2897
2856
  id: string;
2898
2857
  } | null;
2899
- viewUrl?: string | undefined;
2900
2858
  fileExtension?: string | null | undefined;
2901
2859
  tags?: string[] | undefined;
2902
2860
  };