@deepintel-ltd/farmpro-contracts 1.16.1 → 1.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/agents.routes.d.ts +8 -8
- package/dist/routes/documents.routes.d.ts +78 -78
- package/dist/routes/fertigation.routes.d.ts +4 -4
- package/dist/routes/field-monitoring.routes.d.ts +40 -0
- package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
- package/dist/routes/field-observations.routes.d.ts +174 -28
- package/dist/routes/field-observations.routes.d.ts.map +1 -1
- package/dist/routes/field-observations.routes.js +7 -4
- package/dist/routes/fields.routes.d.ts +923 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.js +23 -1
- package/dist/routes/files.routes.d.ts +6 -6
- package/dist/routes/finance.routes.d.ts +30 -30
- package/dist/routes/inventory.routes.d.ts +6 -6
- package/dist/routes/irrigation.routes.d.ts +2 -2
- package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
- package/dist/routes/pest-disease-risk.routes.d.ts +44 -44
- package/dist/routes/prescription-maps.routes.d.ts +4 -4
- package/dist/routes/subscriptions.routes.d.ts +4 -4
- package/dist/routes/tasks.routes.d.ts +108 -108
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/routes/weather.routes.d.ts +42 -42
- package/dist/schemas/agents.schemas.d.ts +8 -8
- package/dist/schemas/common.schemas.d.ts +32 -0
- package/dist/schemas/common.schemas.d.ts.map +1 -1
- package/dist/schemas/common.schemas.js +14 -0
- package/dist/schemas/documents.schemas.d.ts +48 -48
- package/dist/schemas/fertigation.schemas.d.ts +2 -2
- package/dist/schemas/field-monitoring.schemas.d.ts +20 -0
- package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
- package/dist/schemas/field-monitoring.schemas.js +4 -0
- package/dist/schemas/fields.schemas.d.ts +170 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +14 -0
- package/dist/schemas/files.schemas.d.ts +12 -12
- package/dist/schemas/finance.schemas.d.ts +34 -34
- package/dist/schemas/inventory.schemas.d.ts +6 -6
- package/dist/schemas/irrigation.schemas.d.ts +2 -2
- package/dist/schemas/monitoring-visualization.schemas.d.ts +6 -6
- package/dist/schemas/pest-disease-risk.schemas.d.ts +36 -36
- package/dist/schemas/prescription-maps.schemas.d.ts +4 -4
- package/dist/schemas/subscriptions.schemas.d.ts +2 -2
- package/dist/schemas/tasks.schemas.d.ts +96 -96
- package/dist/schemas/team-payments.schemas.d.ts +24 -24
- package/dist/schemas/weather.schemas.d.ts +84 -84
- package/package.json +1 -1
|
@@ -91,16 +91,16 @@ export declare const documentsRouter: {
|
|
|
91
91
|
description: string | null;
|
|
92
92
|
farmId: string;
|
|
93
93
|
fileUrl: string;
|
|
94
|
-
category: string | null;
|
|
95
94
|
fileSize: number | null;
|
|
95
|
+
category: string | null;
|
|
96
96
|
uploadedDate: string;
|
|
97
97
|
uploadedBy: string | null;
|
|
98
98
|
relatedTo: {
|
|
99
99
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
100
100
|
id: string;
|
|
101
101
|
} | null;
|
|
102
|
-
fileExtension?: string | null | undefined;
|
|
103
102
|
tags?: string[] | undefined;
|
|
103
|
+
fileExtension?: string | null | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
106
106
|
createdAt: string;
|
|
@@ -109,16 +109,16 @@ export declare const documentsRouter: {
|
|
|
109
109
|
description: string | null;
|
|
110
110
|
farmId: string;
|
|
111
111
|
fileUrl: string;
|
|
112
|
-
category: string | null;
|
|
113
112
|
fileSize: number | null;
|
|
113
|
+
category: string | null;
|
|
114
114
|
uploadedDate: string;
|
|
115
115
|
uploadedBy: string | null;
|
|
116
116
|
relatedTo: {
|
|
117
117
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
118
118
|
id: string;
|
|
119
119
|
} | null;
|
|
120
|
-
fileExtension?: string | null | undefined;
|
|
121
120
|
tags?: string[] | undefined;
|
|
121
|
+
fileExtension?: string | null | undefined;
|
|
122
122
|
}>;
|
|
123
123
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
124
124
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -134,16 +134,16 @@ export declare const documentsRouter: {
|
|
|
134
134
|
description: string | null;
|
|
135
135
|
farmId: string;
|
|
136
136
|
fileUrl: string;
|
|
137
|
-
category: string | null;
|
|
138
137
|
fileSize: number | null;
|
|
138
|
+
category: string | null;
|
|
139
139
|
uploadedDate: string;
|
|
140
140
|
uploadedBy: string | null;
|
|
141
141
|
relatedTo: {
|
|
142
142
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
143
143
|
id: string;
|
|
144
144
|
} | null;
|
|
145
|
-
fileExtension?: string | null | undefined;
|
|
146
145
|
tags?: string[] | undefined;
|
|
146
|
+
fileExtension?: string | null | undefined;
|
|
147
147
|
};
|
|
148
148
|
relationships?: Record<string, unknown> | undefined;
|
|
149
149
|
links?: Record<string, string> | undefined;
|
|
@@ -159,16 +159,16 @@ export declare const documentsRouter: {
|
|
|
159
159
|
description: string | null;
|
|
160
160
|
farmId: string;
|
|
161
161
|
fileUrl: string;
|
|
162
|
-
category: string | null;
|
|
163
162
|
fileSize: number | null;
|
|
163
|
+
category: string | null;
|
|
164
164
|
uploadedDate: string;
|
|
165
165
|
uploadedBy: string | null;
|
|
166
166
|
relatedTo: {
|
|
167
167
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
168
168
|
id: string;
|
|
169
169
|
} | null;
|
|
170
|
-
fileExtension?: string | null | undefined;
|
|
171
170
|
tags?: string[] | undefined;
|
|
171
|
+
fileExtension?: string | null | undefined;
|
|
172
172
|
};
|
|
173
173
|
relationships?: Record<string, unknown> | undefined;
|
|
174
174
|
links?: Record<string, string> | undefined;
|
|
@@ -210,16 +210,16 @@ export declare const documentsRouter: {
|
|
|
210
210
|
description: string | null;
|
|
211
211
|
farmId: string;
|
|
212
212
|
fileUrl: string;
|
|
213
|
-
category: string | null;
|
|
214
213
|
fileSize: number | null;
|
|
214
|
+
category: string | null;
|
|
215
215
|
uploadedDate: string;
|
|
216
216
|
uploadedBy: string | null;
|
|
217
217
|
relatedTo: {
|
|
218
218
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
219
219
|
id: string;
|
|
220
220
|
} | null;
|
|
221
|
-
fileExtension?: string | null | undefined;
|
|
222
221
|
tags?: string[] | undefined;
|
|
222
|
+
fileExtension?: string | null | undefined;
|
|
223
223
|
};
|
|
224
224
|
relationships?: Record<string, unknown> | undefined;
|
|
225
225
|
links?: Record<string, string> | undefined;
|
|
@@ -247,16 +247,16 @@ export declare const documentsRouter: {
|
|
|
247
247
|
description: string | null;
|
|
248
248
|
farmId: string;
|
|
249
249
|
fileUrl: string;
|
|
250
|
-
category: string | null;
|
|
251
250
|
fileSize: number | null;
|
|
251
|
+
category: string | null;
|
|
252
252
|
uploadedDate: string;
|
|
253
253
|
uploadedBy: string | null;
|
|
254
254
|
relatedTo: {
|
|
255
255
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
256
256
|
id: string;
|
|
257
257
|
} | null;
|
|
258
|
-
fileExtension?: string | null | undefined;
|
|
259
258
|
tags?: string[] | undefined;
|
|
259
|
+
fileExtension?: string | null | undefined;
|
|
260
260
|
};
|
|
261
261
|
relationships?: Record<string, unknown> | undefined;
|
|
262
262
|
links?: Record<string, string> | undefined;
|
|
@@ -488,14 +488,14 @@ export declare const documentsRouter: {
|
|
|
488
488
|
uploadedAt: z.ZodString;
|
|
489
489
|
}, "strip", z.ZodTypeAny, {
|
|
490
490
|
fileUrl: string;
|
|
491
|
-
fileName: string;
|
|
492
491
|
fileSize: number;
|
|
492
|
+
fileName: string;
|
|
493
493
|
uploadedAt: string;
|
|
494
494
|
contentType?: string | undefined;
|
|
495
495
|
}, {
|
|
496
496
|
fileUrl: string;
|
|
497
|
-
fileName: string;
|
|
498
497
|
fileSize: number;
|
|
498
|
+
fileName: string;
|
|
499
499
|
uploadedAt: string;
|
|
500
500
|
contentType?: string | undefined;
|
|
501
501
|
}>;
|
|
@@ -507,8 +507,8 @@ export declare const documentsRouter: {
|
|
|
507
507
|
id: string;
|
|
508
508
|
attributes: {
|
|
509
509
|
fileUrl: string;
|
|
510
|
-
fileName: string;
|
|
511
510
|
fileSize: number;
|
|
511
|
+
fileName: string;
|
|
512
512
|
uploadedAt: string;
|
|
513
513
|
contentType?: string | undefined;
|
|
514
514
|
};
|
|
@@ -520,8 +520,8 @@ export declare const documentsRouter: {
|
|
|
520
520
|
id: string;
|
|
521
521
|
attributes: {
|
|
522
522
|
fileUrl: string;
|
|
523
|
-
fileName: string;
|
|
524
523
|
fileSize: number;
|
|
524
|
+
fileName: string;
|
|
525
525
|
uploadedAt: string;
|
|
526
526
|
contentType?: string | undefined;
|
|
527
527
|
};
|
|
@@ -559,8 +559,8 @@ export declare const documentsRouter: {
|
|
|
559
559
|
id: string;
|
|
560
560
|
attributes: {
|
|
561
561
|
fileUrl: string;
|
|
562
|
-
fileName: string;
|
|
563
562
|
fileSize: number;
|
|
563
|
+
fileName: string;
|
|
564
564
|
uploadedAt: string;
|
|
565
565
|
contentType?: string | undefined;
|
|
566
566
|
};
|
|
@@ -584,8 +584,8 @@ export declare const documentsRouter: {
|
|
|
584
584
|
id: string;
|
|
585
585
|
attributes: {
|
|
586
586
|
fileUrl: string;
|
|
587
|
-
fileName: string;
|
|
588
587
|
fileSize: number;
|
|
588
|
+
fileName: string;
|
|
589
589
|
uploadedAt: string;
|
|
590
590
|
contentType?: string | undefined;
|
|
591
591
|
};
|
|
@@ -937,16 +937,16 @@ export declare const documentsRouter: {
|
|
|
937
937
|
description: string | null;
|
|
938
938
|
farmId: string;
|
|
939
939
|
fileUrl: string;
|
|
940
|
-
category: string | null;
|
|
941
940
|
fileSize: number | null;
|
|
941
|
+
category: string | null;
|
|
942
942
|
uploadedDate: string;
|
|
943
943
|
uploadedBy: string | null;
|
|
944
944
|
relatedTo: {
|
|
945
945
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
946
946
|
id: string;
|
|
947
947
|
} | null;
|
|
948
|
-
fileExtension?: string | null | undefined;
|
|
949
948
|
tags?: string[] | undefined;
|
|
949
|
+
fileExtension?: string | null | undefined;
|
|
950
950
|
}, {
|
|
951
951
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
952
952
|
createdAt: string;
|
|
@@ -955,16 +955,16 @@ export declare const documentsRouter: {
|
|
|
955
955
|
description: string | null;
|
|
956
956
|
farmId: string;
|
|
957
957
|
fileUrl: string;
|
|
958
|
-
category: string | null;
|
|
959
958
|
fileSize: number | null;
|
|
959
|
+
category: string | null;
|
|
960
960
|
uploadedDate: string;
|
|
961
961
|
uploadedBy: string | null;
|
|
962
962
|
relatedTo: {
|
|
963
963
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
964
964
|
id: string;
|
|
965
965
|
} | null;
|
|
966
|
-
fileExtension?: string | null | undefined;
|
|
967
966
|
tags?: string[] | undefined;
|
|
967
|
+
fileExtension?: string | null | undefined;
|
|
968
968
|
}>;
|
|
969
969
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
970
970
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -980,16 +980,16 @@ export declare const documentsRouter: {
|
|
|
980
980
|
description: string | null;
|
|
981
981
|
farmId: string;
|
|
982
982
|
fileUrl: string;
|
|
983
|
-
category: string | null;
|
|
984
983
|
fileSize: number | null;
|
|
984
|
+
category: string | null;
|
|
985
985
|
uploadedDate: string;
|
|
986
986
|
uploadedBy: string | null;
|
|
987
987
|
relatedTo: {
|
|
988
988
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
989
989
|
id: string;
|
|
990
990
|
} | null;
|
|
991
|
-
fileExtension?: string | null | undefined;
|
|
992
991
|
tags?: string[] | undefined;
|
|
992
|
+
fileExtension?: string | null | undefined;
|
|
993
993
|
};
|
|
994
994
|
relationships?: Record<string, unknown> | undefined;
|
|
995
995
|
links?: Record<string, string> | undefined;
|
|
@@ -1005,16 +1005,16 @@ export declare const documentsRouter: {
|
|
|
1005
1005
|
description: string | null;
|
|
1006
1006
|
farmId: string;
|
|
1007
1007
|
fileUrl: string;
|
|
1008
|
-
category: string | null;
|
|
1009
1008
|
fileSize: number | null;
|
|
1009
|
+
category: string | null;
|
|
1010
1010
|
uploadedDate: string;
|
|
1011
1011
|
uploadedBy: string | null;
|
|
1012
1012
|
relatedTo: {
|
|
1013
1013
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
1014
1014
|
id: string;
|
|
1015
1015
|
} | null;
|
|
1016
|
-
fileExtension?: string | null | undefined;
|
|
1017
1016
|
tags?: string[] | undefined;
|
|
1017
|
+
fileExtension?: string | null | undefined;
|
|
1018
1018
|
};
|
|
1019
1019
|
relationships?: Record<string, unknown> | undefined;
|
|
1020
1020
|
links?: Record<string, string> | undefined;
|
|
@@ -1056,16 +1056,16 @@ export declare const documentsRouter: {
|
|
|
1056
1056
|
description: string | null;
|
|
1057
1057
|
farmId: string;
|
|
1058
1058
|
fileUrl: string;
|
|
1059
|
-
category: string | null;
|
|
1060
1059
|
fileSize: number | null;
|
|
1060
|
+
category: string | null;
|
|
1061
1061
|
uploadedDate: string;
|
|
1062
1062
|
uploadedBy: string | null;
|
|
1063
1063
|
relatedTo: {
|
|
1064
1064
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
1065
1065
|
id: string;
|
|
1066
1066
|
} | null;
|
|
1067
|
-
fileExtension?: string | null | undefined;
|
|
1068
1067
|
tags?: string[] | undefined;
|
|
1068
|
+
fileExtension?: string | null | undefined;
|
|
1069
1069
|
};
|
|
1070
1070
|
relationships?: Record<string, unknown> | undefined;
|
|
1071
1071
|
links?: Record<string, string> | undefined;
|
|
@@ -1093,16 +1093,16 @@ export declare const documentsRouter: {
|
|
|
1093
1093
|
description: string | null;
|
|
1094
1094
|
farmId: string;
|
|
1095
1095
|
fileUrl: string;
|
|
1096
|
-
category: string | null;
|
|
1097
1096
|
fileSize: number | null;
|
|
1097
|
+
category: string | null;
|
|
1098
1098
|
uploadedDate: string;
|
|
1099
1099
|
uploadedBy: string | null;
|
|
1100
1100
|
relatedTo: {
|
|
1101
1101
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
1102
1102
|
id: string;
|
|
1103
1103
|
} | null;
|
|
1104
|
-
fileExtension?: string | null | undefined;
|
|
1105
1104
|
tags?: string[] | undefined;
|
|
1105
|
+
fileExtension?: string | null | undefined;
|
|
1106
1106
|
};
|
|
1107
1107
|
relationships?: Record<string, unknown> | undefined;
|
|
1108
1108
|
links?: Record<string, string> | undefined;
|
|
@@ -1428,8 +1428,8 @@ export declare const documentsRouter: {
|
|
|
1428
1428
|
name: string;
|
|
1429
1429
|
description?: string | undefined;
|
|
1430
1430
|
fileUrl?: string | undefined;
|
|
1431
|
-
category?: string | undefined;
|
|
1432
1431
|
fileSize?: number | undefined;
|
|
1432
|
+
category?: string | undefined;
|
|
1433
1433
|
tags?: string[] | undefined;
|
|
1434
1434
|
relatedTo?: {
|
|
1435
1435
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -1440,8 +1440,8 @@ export declare const documentsRouter: {
|
|
|
1440
1440
|
name: string;
|
|
1441
1441
|
description?: string | undefined;
|
|
1442
1442
|
fileUrl?: string | undefined;
|
|
1443
|
-
category?: string | undefined;
|
|
1444
1443
|
fileSize?: number | undefined;
|
|
1444
|
+
category?: string | undefined;
|
|
1445
1445
|
tags?: string[] | undefined;
|
|
1446
1446
|
relatedTo?: {
|
|
1447
1447
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -1455,8 +1455,8 @@ export declare const documentsRouter: {
|
|
|
1455
1455
|
name: string;
|
|
1456
1456
|
description?: string | undefined;
|
|
1457
1457
|
fileUrl?: string | undefined;
|
|
1458
|
-
category?: string | undefined;
|
|
1459
1458
|
fileSize?: number | undefined;
|
|
1459
|
+
category?: string | undefined;
|
|
1460
1460
|
tags?: string[] | undefined;
|
|
1461
1461
|
relatedTo?: {
|
|
1462
1462
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -1470,8 +1470,8 @@ export declare const documentsRouter: {
|
|
|
1470
1470
|
name: string;
|
|
1471
1471
|
description?: string | undefined;
|
|
1472
1472
|
fileUrl?: string | undefined;
|
|
1473
|
-
category?: string | undefined;
|
|
1474
1473
|
fileSize?: number | undefined;
|
|
1474
|
+
category?: string | undefined;
|
|
1475
1475
|
tags?: string[] | undefined;
|
|
1476
1476
|
relatedTo?: {
|
|
1477
1477
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -1487,8 +1487,8 @@ export declare const documentsRouter: {
|
|
|
1487
1487
|
name: string;
|
|
1488
1488
|
description?: string | undefined;
|
|
1489
1489
|
fileUrl?: string | undefined;
|
|
1490
|
-
category?: string | undefined;
|
|
1491
1490
|
fileSize?: number | undefined;
|
|
1491
|
+
category?: string | undefined;
|
|
1492
1492
|
tags?: string[] | undefined;
|
|
1493
1493
|
relatedTo?: {
|
|
1494
1494
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -1504,8 +1504,8 @@ export declare const documentsRouter: {
|
|
|
1504
1504
|
name: string;
|
|
1505
1505
|
description?: string | undefined;
|
|
1506
1506
|
fileUrl?: string | undefined;
|
|
1507
|
-
category?: string | undefined;
|
|
1508
1507
|
fileSize?: number | undefined;
|
|
1508
|
+
category?: string | undefined;
|
|
1509
1509
|
tags?: string[] | undefined;
|
|
1510
1510
|
relatedTo?: {
|
|
1511
1511
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -1553,16 +1553,16 @@ export declare const documentsRouter: {
|
|
|
1553
1553
|
description: string | null;
|
|
1554
1554
|
farmId: string;
|
|
1555
1555
|
fileUrl: string;
|
|
1556
|
-
category: string | null;
|
|
1557
1556
|
fileSize: number | null;
|
|
1557
|
+
category: string | null;
|
|
1558
1558
|
uploadedDate: string;
|
|
1559
1559
|
uploadedBy: string | null;
|
|
1560
1560
|
relatedTo: {
|
|
1561
1561
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
1562
1562
|
id: string;
|
|
1563
1563
|
} | null;
|
|
1564
|
-
fileExtension?: string | null | undefined;
|
|
1565
1564
|
tags?: string[] | undefined;
|
|
1565
|
+
fileExtension?: string | null | undefined;
|
|
1566
1566
|
}, {
|
|
1567
1567
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
1568
1568
|
createdAt: string;
|
|
@@ -1571,16 +1571,16 @@ export declare const documentsRouter: {
|
|
|
1571
1571
|
description: string | null;
|
|
1572
1572
|
farmId: string;
|
|
1573
1573
|
fileUrl: string;
|
|
1574
|
-
category: string | null;
|
|
1575
1574
|
fileSize: number | null;
|
|
1575
|
+
category: string | null;
|
|
1576
1576
|
uploadedDate: string;
|
|
1577
1577
|
uploadedBy: string | null;
|
|
1578
1578
|
relatedTo: {
|
|
1579
1579
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
1580
1580
|
id: string;
|
|
1581
1581
|
} | null;
|
|
1582
|
-
fileExtension?: string | null | undefined;
|
|
1583
1582
|
tags?: string[] | undefined;
|
|
1583
|
+
fileExtension?: string | null | undefined;
|
|
1584
1584
|
}>;
|
|
1585
1585
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1586
1586
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1596,16 +1596,16 @@ export declare const documentsRouter: {
|
|
|
1596
1596
|
description: string | null;
|
|
1597
1597
|
farmId: string;
|
|
1598
1598
|
fileUrl: string;
|
|
1599
|
-
category: string | null;
|
|
1600
1599
|
fileSize: number | null;
|
|
1600
|
+
category: string | null;
|
|
1601
1601
|
uploadedDate: string;
|
|
1602
1602
|
uploadedBy: string | null;
|
|
1603
1603
|
relatedTo: {
|
|
1604
1604
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
1605
1605
|
id: string;
|
|
1606
1606
|
} | null;
|
|
1607
|
-
fileExtension?: string | null | undefined;
|
|
1608
1607
|
tags?: string[] | undefined;
|
|
1608
|
+
fileExtension?: string | null | undefined;
|
|
1609
1609
|
};
|
|
1610
1610
|
relationships?: Record<string, unknown> | undefined;
|
|
1611
1611
|
links?: Record<string, string> | undefined;
|
|
@@ -1621,16 +1621,16 @@ export declare const documentsRouter: {
|
|
|
1621
1621
|
description: string | null;
|
|
1622
1622
|
farmId: string;
|
|
1623
1623
|
fileUrl: string;
|
|
1624
|
-
category: string | null;
|
|
1625
1624
|
fileSize: number | null;
|
|
1625
|
+
category: string | null;
|
|
1626
1626
|
uploadedDate: string;
|
|
1627
1627
|
uploadedBy: string | null;
|
|
1628
1628
|
relatedTo: {
|
|
1629
1629
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
1630
1630
|
id: string;
|
|
1631
1631
|
} | null;
|
|
1632
|
-
fileExtension?: string | null | undefined;
|
|
1633
1632
|
tags?: string[] | undefined;
|
|
1633
|
+
fileExtension?: string | null | undefined;
|
|
1634
1634
|
};
|
|
1635
1635
|
relationships?: Record<string, unknown> | undefined;
|
|
1636
1636
|
links?: Record<string, string> | undefined;
|
|
@@ -1672,16 +1672,16 @@ export declare const documentsRouter: {
|
|
|
1672
1672
|
description: string | null;
|
|
1673
1673
|
farmId: string;
|
|
1674
1674
|
fileUrl: string;
|
|
1675
|
-
category: string | null;
|
|
1676
1675
|
fileSize: number | null;
|
|
1676
|
+
category: string | null;
|
|
1677
1677
|
uploadedDate: string;
|
|
1678
1678
|
uploadedBy: string | null;
|
|
1679
1679
|
relatedTo: {
|
|
1680
1680
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
1681
1681
|
id: string;
|
|
1682
1682
|
} | null;
|
|
1683
|
-
fileExtension?: string | null | undefined;
|
|
1684
1683
|
tags?: string[] | undefined;
|
|
1684
|
+
fileExtension?: string | null | undefined;
|
|
1685
1685
|
};
|
|
1686
1686
|
relationships?: Record<string, unknown> | undefined;
|
|
1687
1687
|
links?: Record<string, string> | undefined;
|
|
@@ -1709,16 +1709,16 @@ export declare const documentsRouter: {
|
|
|
1709
1709
|
description: string | null;
|
|
1710
1710
|
farmId: string;
|
|
1711
1711
|
fileUrl: string;
|
|
1712
|
-
category: string | null;
|
|
1713
1712
|
fileSize: number | null;
|
|
1713
|
+
category: string | null;
|
|
1714
1714
|
uploadedDate: string;
|
|
1715
1715
|
uploadedBy: string | null;
|
|
1716
1716
|
relatedTo: {
|
|
1717
1717
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
1718
1718
|
id: string;
|
|
1719
1719
|
} | null;
|
|
1720
|
-
fileExtension?: string | null | undefined;
|
|
1721
1720
|
tags?: string[] | undefined;
|
|
1721
|
+
fileExtension?: string | null | undefined;
|
|
1722
1722
|
};
|
|
1723
1723
|
relationships?: Record<string, unknown> | undefined;
|
|
1724
1724
|
links?: Record<string, string> | undefined;
|
|
@@ -2157,16 +2157,16 @@ export declare const documentsRouter: {
|
|
|
2157
2157
|
description: string | null;
|
|
2158
2158
|
farmId: string;
|
|
2159
2159
|
fileUrl: string;
|
|
2160
|
-
category: string | null;
|
|
2161
2160
|
fileSize: number | null;
|
|
2161
|
+
category: string | null;
|
|
2162
2162
|
uploadedDate: string;
|
|
2163
2163
|
uploadedBy: string | null;
|
|
2164
2164
|
relatedTo: {
|
|
2165
2165
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2166
2166
|
id: string;
|
|
2167
2167
|
} | null;
|
|
2168
|
-
fileExtension?: string | null | undefined;
|
|
2169
2168
|
tags?: string[] | undefined;
|
|
2169
|
+
fileExtension?: string | null | undefined;
|
|
2170
2170
|
}, {
|
|
2171
2171
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
2172
2172
|
createdAt: string;
|
|
@@ -2175,16 +2175,16 @@ export declare const documentsRouter: {
|
|
|
2175
2175
|
description: string | null;
|
|
2176
2176
|
farmId: string;
|
|
2177
2177
|
fileUrl: string;
|
|
2178
|
-
category: string | null;
|
|
2179
2178
|
fileSize: number | null;
|
|
2179
|
+
category: string | null;
|
|
2180
2180
|
uploadedDate: string;
|
|
2181
2181
|
uploadedBy: string | null;
|
|
2182
2182
|
relatedTo: {
|
|
2183
2183
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2184
2184
|
id: string;
|
|
2185
2185
|
} | null;
|
|
2186
|
-
fileExtension?: string | null | undefined;
|
|
2187
2186
|
tags?: string[] | undefined;
|
|
2187
|
+
fileExtension?: string | null | undefined;
|
|
2188
2188
|
}>;
|
|
2189
2189
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2190
2190
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2200,16 +2200,16 @@ export declare const documentsRouter: {
|
|
|
2200
2200
|
description: string | null;
|
|
2201
2201
|
farmId: string;
|
|
2202
2202
|
fileUrl: string;
|
|
2203
|
-
category: string | null;
|
|
2204
2203
|
fileSize: number | null;
|
|
2204
|
+
category: string | null;
|
|
2205
2205
|
uploadedDate: string;
|
|
2206
2206
|
uploadedBy: string | null;
|
|
2207
2207
|
relatedTo: {
|
|
2208
2208
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2209
2209
|
id: string;
|
|
2210
2210
|
} | null;
|
|
2211
|
-
fileExtension?: string | null | undefined;
|
|
2212
2211
|
tags?: string[] | undefined;
|
|
2212
|
+
fileExtension?: string | null | undefined;
|
|
2213
2213
|
};
|
|
2214
2214
|
relationships?: Record<string, unknown> | undefined;
|
|
2215
2215
|
links?: Record<string, string> | undefined;
|
|
@@ -2225,16 +2225,16 @@ export declare const documentsRouter: {
|
|
|
2225
2225
|
description: string | null;
|
|
2226
2226
|
farmId: string;
|
|
2227
2227
|
fileUrl: string;
|
|
2228
|
-
category: string | null;
|
|
2229
2228
|
fileSize: number | null;
|
|
2229
|
+
category: string | null;
|
|
2230
2230
|
uploadedDate: string;
|
|
2231
2231
|
uploadedBy: string | null;
|
|
2232
2232
|
relatedTo: {
|
|
2233
2233
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2234
2234
|
id: string;
|
|
2235
2235
|
} | null;
|
|
2236
|
-
fileExtension?: string | null | undefined;
|
|
2237
2236
|
tags?: string[] | undefined;
|
|
2237
|
+
fileExtension?: string | null | undefined;
|
|
2238
2238
|
};
|
|
2239
2239
|
relationships?: Record<string, unknown> | undefined;
|
|
2240
2240
|
links?: Record<string, string> | undefined;
|
|
@@ -2276,16 +2276,16 @@ export declare const documentsRouter: {
|
|
|
2276
2276
|
description: string | null;
|
|
2277
2277
|
farmId: string;
|
|
2278
2278
|
fileUrl: string;
|
|
2279
|
-
category: string | null;
|
|
2280
2279
|
fileSize: number | null;
|
|
2280
|
+
category: string | null;
|
|
2281
2281
|
uploadedDate: string;
|
|
2282
2282
|
uploadedBy: string | null;
|
|
2283
2283
|
relatedTo: {
|
|
2284
2284
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2285
2285
|
id: string;
|
|
2286
2286
|
} | null;
|
|
2287
|
-
fileExtension?: string | null | undefined;
|
|
2288
2287
|
tags?: string[] | undefined;
|
|
2288
|
+
fileExtension?: string | null | undefined;
|
|
2289
2289
|
};
|
|
2290
2290
|
relationships?: Record<string, unknown> | undefined;
|
|
2291
2291
|
links?: Record<string, string> | undefined;
|
|
@@ -2313,16 +2313,16 @@ export declare const documentsRouter: {
|
|
|
2313
2313
|
description: string | null;
|
|
2314
2314
|
farmId: string;
|
|
2315
2315
|
fileUrl: string;
|
|
2316
|
-
category: string | null;
|
|
2317
2316
|
fileSize: number | null;
|
|
2317
|
+
category: string | null;
|
|
2318
2318
|
uploadedDate: string;
|
|
2319
2319
|
uploadedBy: string | null;
|
|
2320
2320
|
relatedTo: {
|
|
2321
2321
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2322
2322
|
id: string;
|
|
2323
2323
|
} | null;
|
|
2324
|
-
fileExtension?: string | null | undefined;
|
|
2325
2324
|
tags?: string[] | undefined;
|
|
2325
|
+
fileExtension?: string | null | undefined;
|
|
2326
2326
|
};
|
|
2327
2327
|
relationships?: Record<string, unknown> | undefined;
|
|
2328
2328
|
links?: Record<string, string> | undefined;
|
|
@@ -2562,8 +2562,8 @@ export declare const documentsRouter: {
|
|
|
2562
2562
|
name?: string | undefined;
|
|
2563
2563
|
description?: string | null | undefined;
|
|
2564
2564
|
fileUrl?: string | undefined;
|
|
2565
|
-
category?: string | null | undefined;
|
|
2566
2565
|
fileSize?: number | undefined;
|
|
2566
|
+
category?: string | null | undefined;
|
|
2567
2567
|
tags?: string[] | undefined;
|
|
2568
2568
|
relatedTo?: {
|
|
2569
2569
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -2574,8 +2574,8 @@ export declare const documentsRouter: {
|
|
|
2574
2574
|
name?: string | undefined;
|
|
2575
2575
|
description?: string | null | undefined;
|
|
2576
2576
|
fileUrl?: string | undefined;
|
|
2577
|
-
category?: string | null | undefined;
|
|
2578
2577
|
fileSize?: number | undefined;
|
|
2578
|
+
category?: string | null | undefined;
|
|
2579
2579
|
tags?: string[] | undefined;
|
|
2580
2580
|
relatedTo?: {
|
|
2581
2581
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -2590,8 +2590,8 @@ export declare const documentsRouter: {
|
|
|
2590
2590
|
name?: string | undefined;
|
|
2591
2591
|
description?: string | null | undefined;
|
|
2592
2592
|
fileUrl?: string | undefined;
|
|
2593
|
-
category?: string | null | undefined;
|
|
2594
2593
|
fileSize?: number | undefined;
|
|
2594
|
+
category?: string | null | undefined;
|
|
2595
2595
|
tags?: string[] | undefined;
|
|
2596
2596
|
relatedTo?: {
|
|
2597
2597
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -2606,8 +2606,8 @@ export declare const documentsRouter: {
|
|
|
2606
2606
|
name?: string | undefined;
|
|
2607
2607
|
description?: string | null | undefined;
|
|
2608
2608
|
fileUrl?: string | undefined;
|
|
2609
|
-
category?: string | null | undefined;
|
|
2610
2609
|
fileSize?: number | undefined;
|
|
2610
|
+
category?: string | null | undefined;
|
|
2611
2611
|
tags?: string[] | undefined;
|
|
2612
2612
|
relatedTo?: {
|
|
2613
2613
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -2624,8 +2624,8 @@ export declare const documentsRouter: {
|
|
|
2624
2624
|
name?: string | undefined;
|
|
2625
2625
|
description?: string | null | undefined;
|
|
2626
2626
|
fileUrl?: string | undefined;
|
|
2627
|
-
category?: string | null | undefined;
|
|
2628
2627
|
fileSize?: number | undefined;
|
|
2628
|
+
category?: string | null | undefined;
|
|
2629
2629
|
tags?: string[] | undefined;
|
|
2630
2630
|
relatedTo?: {
|
|
2631
2631
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -2642,8 +2642,8 @@ export declare const documentsRouter: {
|
|
|
2642
2642
|
name?: string | undefined;
|
|
2643
2643
|
description?: string | null | undefined;
|
|
2644
2644
|
fileUrl?: string | undefined;
|
|
2645
|
-
category?: string | null | undefined;
|
|
2646
2645
|
fileSize?: number | undefined;
|
|
2646
|
+
category?: string | null | undefined;
|
|
2647
2647
|
tags?: string[] | undefined;
|
|
2648
2648
|
relatedTo?: {
|
|
2649
2649
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -2691,16 +2691,16 @@ export declare const documentsRouter: {
|
|
|
2691
2691
|
description: string | null;
|
|
2692
2692
|
farmId: string;
|
|
2693
2693
|
fileUrl: string;
|
|
2694
|
-
category: string | null;
|
|
2695
2694
|
fileSize: number | null;
|
|
2695
|
+
category: string | null;
|
|
2696
2696
|
uploadedDate: string;
|
|
2697
2697
|
uploadedBy: string | null;
|
|
2698
2698
|
relatedTo: {
|
|
2699
2699
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2700
2700
|
id: string;
|
|
2701
2701
|
} | null;
|
|
2702
|
-
fileExtension?: string | null | undefined;
|
|
2703
2702
|
tags?: string[] | undefined;
|
|
2703
|
+
fileExtension?: string | null | undefined;
|
|
2704
2704
|
}, {
|
|
2705
2705
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
2706
2706
|
createdAt: string;
|
|
@@ -2709,16 +2709,16 @@ export declare const documentsRouter: {
|
|
|
2709
2709
|
description: string | null;
|
|
2710
2710
|
farmId: string;
|
|
2711
2711
|
fileUrl: string;
|
|
2712
|
-
category: string | null;
|
|
2713
2712
|
fileSize: number | null;
|
|
2713
|
+
category: string | null;
|
|
2714
2714
|
uploadedDate: string;
|
|
2715
2715
|
uploadedBy: string | null;
|
|
2716
2716
|
relatedTo: {
|
|
2717
2717
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2718
2718
|
id: string;
|
|
2719
2719
|
} | null;
|
|
2720
|
-
fileExtension?: string | null | undefined;
|
|
2721
2720
|
tags?: string[] | undefined;
|
|
2721
|
+
fileExtension?: string | null | undefined;
|
|
2722
2722
|
}>;
|
|
2723
2723
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2724
2724
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2734,16 +2734,16 @@ export declare const documentsRouter: {
|
|
|
2734
2734
|
description: string | null;
|
|
2735
2735
|
farmId: string;
|
|
2736
2736
|
fileUrl: string;
|
|
2737
|
-
category: string | null;
|
|
2738
2737
|
fileSize: number | null;
|
|
2738
|
+
category: string | null;
|
|
2739
2739
|
uploadedDate: string;
|
|
2740
2740
|
uploadedBy: string | null;
|
|
2741
2741
|
relatedTo: {
|
|
2742
2742
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2743
2743
|
id: string;
|
|
2744
2744
|
} | null;
|
|
2745
|
-
fileExtension?: string | null | undefined;
|
|
2746
2745
|
tags?: string[] | undefined;
|
|
2746
|
+
fileExtension?: string | null | undefined;
|
|
2747
2747
|
};
|
|
2748
2748
|
relationships?: Record<string, unknown> | undefined;
|
|
2749
2749
|
links?: Record<string, string> | undefined;
|
|
@@ -2759,16 +2759,16 @@ export declare const documentsRouter: {
|
|
|
2759
2759
|
description: string | null;
|
|
2760
2760
|
farmId: string;
|
|
2761
2761
|
fileUrl: string;
|
|
2762
|
-
category: string | null;
|
|
2763
2762
|
fileSize: number | null;
|
|
2763
|
+
category: string | null;
|
|
2764
2764
|
uploadedDate: string;
|
|
2765
2765
|
uploadedBy: string | null;
|
|
2766
2766
|
relatedTo: {
|
|
2767
2767
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2768
2768
|
id: string;
|
|
2769
2769
|
} | null;
|
|
2770
|
-
fileExtension?: string | null | undefined;
|
|
2771
2770
|
tags?: string[] | undefined;
|
|
2771
|
+
fileExtension?: string | null | undefined;
|
|
2772
2772
|
};
|
|
2773
2773
|
relationships?: Record<string, unknown> | undefined;
|
|
2774
2774
|
links?: Record<string, string> | undefined;
|
|
@@ -2810,16 +2810,16 @@ export declare const documentsRouter: {
|
|
|
2810
2810
|
description: string | null;
|
|
2811
2811
|
farmId: string;
|
|
2812
2812
|
fileUrl: string;
|
|
2813
|
-
category: string | null;
|
|
2814
2813
|
fileSize: number | null;
|
|
2814
|
+
category: string | null;
|
|
2815
2815
|
uploadedDate: string;
|
|
2816
2816
|
uploadedBy: string | null;
|
|
2817
2817
|
relatedTo: {
|
|
2818
2818
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2819
2819
|
id: string;
|
|
2820
2820
|
} | null;
|
|
2821
|
-
fileExtension?: string | null | undefined;
|
|
2822
2821
|
tags?: string[] | undefined;
|
|
2822
|
+
fileExtension?: string | null | undefined;
|
|
2823
2823
|
};
|
|
2824
2824
|
relationships?: Record<string, unknown> | undefined;
|
|
2825
2825
|
links?: Record<string, string> | undefined;
|
|
@@ -2847,16 +2847,16 @@ export declare const documentsRouter: {
|
|
|
2847
2847
|
description: string | null;
|
|
2848
2848
|
farmId: string;
|
|
2849
2849
|
fileUrl: string;
|
|
2850
|
-
category: string | null;
|
|
2851
2850
|
fileSize: number | null;
|
|
2851
|
+
category: string | null;
|
|
2852
2852
|
uploadedDate: string;
|
|
2853
2853
|
uploadedBy: string | null;
|
|
2854
2854
|
relatedTo: {
|
|
2855
2855
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
2856
2856
|
id: string;
|
|
2857
2857
|
} | null;
|
|
2858
|
-
fileExtension?: string | null | undefined;
|
|
2859
2858
|
tags?: string[] | undefined;
|
|
2859
|
+
fileExtension?: string | null | undefined;
|
|
2860
2860
|
};
|
|
2861
2861
|
relationships?: Record<string, unknown> | undefined;
|
|
2862
2862
|
links?: Record<string, string> | undefined;
|