@deepintel-ltd/farmpro-contracts 1.16.0 → 1.16.2
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-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 +797 -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/live-monitor.routes.d.ts +29 -9
- package/dist/routes/live-monitor.routes.d.ts.map +1 -1
- package/dist/routes/monitoring-visualization.routes.d.ts +173 -45
- package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
- package/dist/routes/monitoring-visualization.routes.js +4 -4
- package/dist/routes/pest-disease-risk.routes.d.ts +66 -66
- 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 +72 -72
- package/dist/routes/weather.routes.d.ts +42 -42
- package/dist/schemas/agents.schemas.d.ts +152 -8
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +35 -0
- 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/fields.schemas.d.ts +42 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +4 -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/live-monitor.schemas.d.ts +44 -12
- package/dist/schemas/live-monitor.schemas.d.ts.map +1 -1
- package/dist/schemas/monitoring-visualization.schemas.d.ts +329 -46
- package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
- package/dist/schemas/monitoring-visualization.schemas.js +30 -0
- package/dist/schemas/pest-disease-risk.schemas.d.ts +56 -56
- 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 +54 -54
- package/dist/schemas/weather.schemas.d.ts +84 -84
- package/package.json +1 -1
|
@@ -47,16 +47,16 @@ export declare const documentAttributesSchema: z.ZodObject<{
|
|
|
47
47
|
description: string | null;
|
|
48
48
|
farmId: string;
|
|
49
49
|
fileUrl: string;
|
|
50
|
-
category: string | null;
|
|
51
50
|
fileSize: number | null;
|
|
51
|
+
category: string | null;
|
|
52
52
|
uploadedDate: string;
|
|
53
53
|
uploadedBy: string | null;
|
|
54
54
|
relatedTo: {
|
|
55
55
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
56
56
|
id: string;
|
|
57
57
|
} | null;
|
|
58
|
-
fileExtension?: string | null | undefined;
|
|
59
58
|
tags?: string[] | undefined;
|
|
59
|
+
fileExtension?: string | null | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
62
62
|
createdAt: string;
|
|
@@ -65,16 +65,16 @@ export declare const documentAttributesSchema: z.ZodObject<{
|
|
|
65
65
|
description: string | null;
|
|
66
66
|
farmId: string;
|
|
67
67
|
fileUrl: string;
|
|
68
|
-
category: string | null;
|
|
69
68
|
fileSize: number | null;
|
|
69
|
+
category: string | null;
|
|
70
70
|
uploadedDate: string;
|
|
71
71
|
uploadedBy: string | null;
|
|
72
72
|
relatedTo: {
|
|
73
73
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
74
74
|
id: string;
|
|
75
75
|
} | null;
|
|
76
|
-
fileExtension?: string | null | undefined;
|
|
77
76
|
tags?: string[] | undefined;
|
|
77
|
+
fileExtension?: string | null | undefined;
|
|
78
78
|
}>;
|
|
79
79
|
export declare const createDocumentAttributesSchema: z.ZodObject<{
|
|
80
80
|
name: z.ZodString;
|
|
@@ -99,8 +99,8 @@ export declare const createDocumentAttributesSchema: z.ZodObject<{
|
|
|
99
99
|
name: string;
|
|
100
100
|
description?: string | undefined;
|
|
101
101
|
fileUrl?: string | undefined;
|
|
102
|
-
category?: string | undefined;
|
|
103
102
|
fileSize?: number | undefined;
|
|
103
|
+
category?: string | undefined;
|
|
104
104
|
tags?: string[] | undefined;
|
|
105
105
|
relatedTo?: {
|
|
106
106
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -111,8 +111,8 @@ export declare const createDocumentAttributesSchema: z.ZodObject<{
|
|
|
111
111
|
name: string;
|
|
112
112
|
description?: string | undefined;
|
|
113
113
|
fileUrl?: string | undefined;
|
|
114
|
-
category?: string | undefined;
|
|
115
114
|
fileSize?: number | undefined;
|
|
115
|
+
category?: string | undefined;
|
|
116
116
|
tags?: string[] | undefined;
|
|
117
117
|
relatedTo?: {
|
|
118
118
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -142,8 +142,8 @@ export declare const updateDocumentAttributesSchema: z.ZodObject<{
|
|
|
142
142
|
name?: string | undefined;
|
|
143
143
|
description?: string | null | undefined;
|
|
144
144
|
fileUrl?: string | undefined;
|
|
145
|
-
category?: string | null | undefined;
|
|
146
145
|
fileSize?: number | undefined;
|
|
146
|
+
category?: string | null | undefined;
|
|
147
147
|
tags?: string[] | undefined;
|
|
148
148
|
relatedTo?: {
|
|
149
149
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -154,8 +154,8 @@ export declare const updateDocumentAttributesSchema: z.ZodObject<{
|
|
|
154
154
|
name?: string | undefined;
|
|
155
155
|
description?: string | null | undefined;
|
|
156
156
|
fileUrl?: string | undefined;
|
|
157
|
-
category?: string | null | undefined;
|
|
158
157
|
fileSize?: number | undefined;
|
|
158
|
+
category?: string | null | undefined;
|
|
159
159
|
tags?: string[] | undefined;
|
|
160
160
|
relatedTo?: {
|
|
161
161
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -187,8 +187,8 @@ export declare const createDocumentSchema: z.ZodObject<{
|
|
|
187
187
|
name: string;
|
|
188
188
|
description?: string | undefined;
|
|
189
189
|
fileUrl?: string | undefined;
|
|
190
|
-
category?: string | undefined;
|
|
191
190
|
fileSize?: number | undefined;
|
|
191
|
+
category?: string | undefined;
|
|
192
192
|
tags?: string[] | undefined;
|
|
193
193
|
relatedTo?: {
|
|
194
194
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -199,8 +199,8 @@ export declare const createDocumentSchema: z.ZodObject<{
|
|
|
199
199
|
name: string;
|
|
200
200
|
description?: string | undefined;
|
|
201
201
|
fileUrl?: string | undefined;
|
|
202
|
-
category?: string | undefined;
|
|
203
202
|
fileSize?: number | undefined;
|
|
203
|
+
category?: string | undefined;
|
|
204
204
|
tags?: string[] | undefined;
|
|
205
205
|
relatedTo?: {
|
|
206
206
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -214,8 +214,8 @@ export declare const createDocumentSchema: z.ZodObject<{
|
|
|
214
214
|
name: string;
|
|
215
215
|
description?: string | undefined;
|
|
216
216
|
fileUrl?: string | undefined;
|
|
217
|
-
category?: string | undefined;
|
|
218
217
|
fileSize?: number | undefined;
|
|
218
|
+
category?: string | undefined;
|
|
219
219
|
tags?: string[] | undefined;
|
|
220
220
|
relatedTo?: {
|
|
221
221
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -229,8 +229,8 @@ export declare const createDocumentSchema: z.ZodObject<{
|
|
|
229
229
|
name: string;
|
|
230
230
|
description?: string | undefined;
|
|
231
231
|
fileUrl?: string | undefined;
|
|
232
|
-
category?: string | undefined;
|
|
233
232
|
fileSize?: number | undefined;
|
|
233
|
+
category?: string | undefined;
|
|
234
234
|
tags?: string[] | undefined;
|
|
235
235
|
relatedTo?: {
|
|
236
236
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -264,8 +264,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
|
|
|
264
264
|
name?: string | undefined;
|
|
265
265
|
description?: string | null | undefined;
|
|
266
266
|
fileUrl?: string | undefined;
|
|
267
|
-
category?: string | null | undefined;
|
|
268
267
|
fileSize?: number | undefined;
|
|
268
|
+
category?: string | null | undefined;
|
|
269
269
|
tags?: string[] | undefined;
|
|
270
270
|
relatedTo?: {
|
|
271
271
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -276,8 +276,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
|
|
|
276
276
|
name?: string | undefined;
|
|
277
277
|
description?: string | null | undefined;
|
|
278
278
|
fileUrl?: string | undefined;
|
|
279
|
-
category?: string | null | undefined;
|
|
280
279
|
fileSize?: number | undefined;
|
|
280
|
+
category?: string | null | undefined;
|
|
281
281
|
tags?: string[] | undefined;
|
|
282
282
|
relatedTo?: {
|
|
283
283
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -292,8 +292,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
|
|
|
292
292
|
name?: string | undefined;
|
|
293
293
|
description?: string | null | undefined;
|
|
294
294
|
fileUrl?: string | undefined;
|
|
295
|
-
category?: string | null | undefined;
|
|
296
295
|
fileSize?: number | undefined;
|
|
296
|
+
category?: string | null | undefined;
|
|
297
297
|
tags?: string[] | undefined;
|
|
298
298
|
relatedTo?: {
|
|
299
299
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -308,8 +308,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
|
|
|
308
308
|
name?: string | undefined;
|
|
309
309
|
description?: string | null | undefined;
|
|
310
310
|
fileUrl?: string | undefined;
|
|
311
|
-
category?: string | null | undefined;
|
|
312
311
|
fileSize?: number | undefined;
|
|
312
|
+
category?: string | null | undefined;
|
|
313
313
|
tags?: string[] | undefined;
|
|
314
314
|
relatedTo?: {
|
|
315
315
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
@@ -353,16 +353,16 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
353
353
|
description: string | null;
|
|
354
354
|
farmId: string;
|
|
355
355
|
fileUrl: string;
|
|
356
|
-
category: string | null;
|
|
357
356
|
fileSize: number | null;
|
|
357
|
+
category: string | null;
|
|
358
358
|
uploadedDate: string;
|
|
359
359
|
uploadedBy: string | null;
|
|
360
360
|
relatedTo: {
|
|
361
361
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
362
362
|
id: string;
|
|
363
363
|
} | null;
|
|
364
|
-
fileExtension?: string | null | undefined;
|
|
365
364
|
tags?: string[] | undefined;
|
|
365
|
+
fileExtension?: string | null | undefined;
|
|
366
366
|
}, {
|
|
367
367
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
368
368
|
createdAt: string;
|
|
@@ -371,16 +371,16 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
371
371
|
description: string | null;
|
|
372
372
|
farmId: string;
|
|
373
373
|
fileUrl: string;
|
|
374
|
-
category: string | null;
|
|
375
374
|
fileSize: number | null;
|
|
375
|
+
category: string | null;
|
|
376
376
|
uploadedDate: string;
|
|
377
377
|
uploadedBy: string | null;
|
|
378
378
|
relatedTo: {
|
|
379
379
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
380
380
|
id: string;
|
|
381
381
|
} | null;
|
|
382
|
-
fileExtension?: string | null | undefined;
|
|
383
382
|
tags?: string[] | undefined;
|
|
383
|
+
fileExtension?: string | null | undefined;
|
|
384
384
|
}>;
|
|
385
385
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
386
386
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -396,16 +396,16 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
396
396
|
description: string | null;
|
|
397
397
|
farmId: string;
|
|
398
398
|
fileUrl: string;
|
|
399
|
-
category: string | null;
|
|
400
399
|
fileSize: number | null;
|
|
400
|
+
category: string | null;
|
|
401
401
|
uploadedDate: string;
|
|
402
402
|
uploadedBy: string | null;
|
|
403
403
|
relatedTo: {
|
|
404
404
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
405
405
|
id: string;
|
|
406
406
|
} | null;
|
|
407
|
-
fileExtension?: string | null | undefined;
|
|
408
407
|
tags?: string[] | undefined;
|
|
408
|
+
fileExtension?: string | null | undefined;
|
|
409
409
|
};
|
|
410
410
|
relationships?: Record<string, unknown> | undefined;
|
|
411
411
|
links?: Record<string, string> | undefined;
|
|
@@ -421,16 +421,16 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
421
421
|
description: string | null;
|
|
422
422
|
farmId: string;
|
|
423
423
|
fileUrl: string;
|
|
424
|
-
category: string | null;
|
|
425
424
|
fileSize: number | null;
|
|
425
|
+
category: string | null;
|
|
426
426
|
uploadedDate: string;
|
|
427
427
|
uploadedBy: string | null;
|
|
428
428
|
relatedTo: {
|
|
429
429
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
430
430
|
id: string;
|
|
431
431
|
} | null;
|
|
432
|
-
fileExtension?: string | null | undefined;
|
|
433
432
|
tags?: string[] | undefined;
|
|
433
|
+
fileExtension?: string | null | undefined;
|
|
434
434
|
};
|
|
435
435
|
relationships?: Record<string, unknown> | undefined;
|
|
436
436
|
links?: Record<string, string> | undefined;
|
|
@@ -473,16 +473,16 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
473
473
|
description: string | null;
|
|
474
474
|
farmId: string;
|
|
475
475
|
fileUrl: string;
|
|
476
|
-
category: string | null;
|
|
477
476
|
fileSize: number | null;
|
|
477
|
+
category: string | null;
|
|
478
478
|
uploadedDate: string;
|
|
479
479
|
uploadedBy: string | null;
|
|
480
480
|
relatedTo: {
|
|
481
481
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
482
482
|
id: string;
|
|
483
483
|
} | null;
|
|
484
|
-
fileExtension?: string | null | undefined;
|
|
485
484
|
tags?: string[] | undefined;
|
|
485
|
+
fileExtension?: string | null | undefined;
|
|
486
486
|
}, {
|
|
487
487
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
488
488
|
createdAt: string;
|
|
@@ -491,16 +491,16 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
491
491
|
description: string | null;
|
|
492
492
|
farmId: string;
|
|
493
493
|
fileUrl: string;
|
|
494
|
-
category: string | null;
|
|
495
494
|
fileSize: number | null;
|
|
495
|
+
category: string | null;
|
|
496
496
|
uploadedDate: string;
|
|
497
497
|
uploadedBy: string | null;
|
|
498
498
|
relatedTo: {
|
|
499
499
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
500
500
|
id: string;
|
|
501
501
|
} | null;
|
|
502
|
-
fileExtension?: string | null | undefined;
|
|
503
502
|
tags?: string[] | undefined;
|
|
503
|
+
fileExtension?: string | null | undefined;
|
|
504
504
|
}>;
|
|
505
505
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
506
506
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -516,16 +516,16 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
516
516
|
description: string | null;
|
|
517
517
|
farmId: string;
|
|
518
518
|
fileUrl: string;
|
|
519
|
-
category: string | null;
|
|
520
519
|
fileSize: number | null;
|
|
520
|
+
category: string | null;
|
|
521
521
|
uploadedDate: string;
|
|
522
522
|
uploadedBy: string | null;
|
|
523
523
|
relatedTo: {
|
|
524
524
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
525
525
|
id: string;
|
|
526
526
|
} | null;
|
|
527
|
-
fileExtension?: string | null | undefined;
|
|
528
527
|
tags?: string[] | undefined;
|
|
528
|
+
fileExtension?: string | null | undefined;
|
|
529
529
|
};
|
|
530
530
|
relationships?: Record<string, unknown> | undefined;
|
|
531
531
|
links?: Record<string, string> | undefined;
|
|
@@ -541,16 +541,16 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
541
541
|
description: string | null;
|
|
542
542
|
farmId: string;
|
|
543
543
|
fileUrl: string;
|
|
544
|
-
category: string | null;
|
|
545
544
|
fileSize: number | null;
|
|
545
|
+
category: string | null;
|
|
546
546
|
uploadedDate: string;
|
|
547
547
|
uploadedBy: string | null;
|
|
548
548
|
relatedTo: {
|
|
549
549
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
550
550
|
id: string;
|
|
551
551
|
} | null;
|
|
552
|
-
fileExtension?: string | null | undefined;
|
|
553
552
|
tags?: string[] | undefined;
|
|
553
|
+
fileExtension?: string | null | undefined;
|
|
554
554
|
};
|
|
555
555
|
relationships?: Record<string, unknown> | undefined;
|
|
556
556
|
links?: Record<string, string> | undefined;
|
|
@@ -592,16 +592,16 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
592
592
|
description: string | null;
|
|
593
593
|
farmId: string;
|
|
594
594
|
fileUrl: string;
|
|
595
|
-
category: string | null;
|
|
596
595
|
fileSize: number | null;
|
|
596
|
+
category: string | null;
|
|
597
597
|
uploadedDate: string;
|
|
598
598
|
uploadedBy: string | null;
|
|
599
599
|
relatedTo: {
|
|
600
600
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
601
601
|
id: string;
|
|
602
602
|
} | null;
|
|
603
|
-
fileExtension?: string | null | undefined;
|
|
604
603
|
tags?: string[] | undefined;
|
|
604
|
+
fileExtension?: string | null | undefined;
|
|
605
605
|
};
|
|
606
606
|
relationships?: Record<string, unknown> | undefined;
|
|
607
607
|
links?: Record<string, string> | undefined;
|
|
@@ -629,16 +629,16 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
629
629
|
description: string | null;
|
|
630
630
|
farmId: string;
|
|
631
631
|
fileUrl: string;
|
|
632
|
-
category: string | null;
|
|
633
632
|
fileSize: number | null;
|
|
633
|
+
category: string | null;
|
|
634
634
|
uploadedDate: string;
|
|
635
635
|
uploadedBy: string | null;
|
|
636
636
|
relatedTo: {
|
|
637
637
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
638
638
|
id: string;
|
|
639
639
|
} | null;
|
|
640
|
-
fileExtension?: string | null | undefined;
|
|
641
640
|
tags?: string[] | undefined;
|
|
641
|
+
fileExtension?: string | null | undefined;
|
|
642
642
|
};
|
|
643
643
|
relationships?: Record<string, unknown> | undefined;
|
|
644
644
|
links?: Record<string, string> | undefined;
|
|
@@ -692,16 +692,16 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
692
692
|
description: string | null;
|
|
693
693
|
farmId: string;
|
|
694
694
|
fileUrl: string;
|
|
695
|
-
category: string | null;
|
|
696
695
|
fileSize: number | null;
|
|
696
|
+
category: string | null;
|
|
697
697
|
uploadedDate: string;
|
|
698
698
|
uploadedBy: string | null;
|
|
699
699
|
relatedTo: {
|
|
700
700
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
701
701
|
id: string;
|
|
702
702
|
} | null;
|
|
703
|
-
fileExtension?: string | null | undefined;
|
|
704
703
|
tags?: string[] | undefined;
|
|
704
|
+
fileExtension?: string | null | undefined;
|
|
705
705
|
}, {
|
|
706
706
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
707
707
|
createdAt: string;
|
|
@@ -710,16 +710,16 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
710
710
|
description: string | null;
|
|
711
711
|
farmId: string;
|
|
712
712
|
fileUrl: string;
|
|
713
|
-
category: string | null;
|
|
714
713
|
fileSize: number | null;
|
|
714
|
+
category: string | null;
|
|
715
715
|
uploadedDate: string;
|
|
716
716
|
uploadedBy: string | null;
|
|
717
717
|
relatedTo: {
|
|
718
718
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
719
719
|
id: string;
|
|
720
720
|
} | null;
|
|
721
|
-
fileExtension?: string | null | undefined;
|
|
722
721
|
tags?: string[] | undefined;
|
|
722
|
+
fileExtension?: string | null | undefined;
|
|
723
723
|
}>;
|
|
724
724
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
725
725
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -735,16 +735,16 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
735
735
|
description: string | null;
|
|
736
736
|
farmId: string;
|
|
737
737
|
fileUrl: string;
|
|
738
|
-
category: string | null;
|
|
739
738
|
fileSize: number | null;
|
|
739
|
+
category: string | null;
|
|
740
740
|
uploadedDate: string;
|
|
741
741
|
uploadedBy: string | null;
|
|
742
742
|
relatedTo: {
|
|
743
743
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
744
744
|
id: string;
|
|
745
745
|
} | null;
|
|
746
|
-
fileExtension?: string | null | undefined;
|
|
747
746
|
tags?: string[] | undefined;
|
|
747
|
+
fileExtension?: string | null | undefined;
|
|
748
748
|
};
|
|
749
749
|
relationships?: Record<string, unknown> | undefined;
|
|
750
750
|
links?: Record<string, string> | undefined;
|
|
@@ -760,16 +760,16 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
760
760
|
description: string | null;
|
|
761
761
|
farmId: string;
|
|
762
762
|
fileUrl: string;
|
|
763
|
-
category: string | null;
|
|
764
763
|
fileSize: number | null;
|
|
764
|
+
category: string | null;
|
|
765
765
|
uploadedDate: string;
|
|
766
766
|
uploadedBy: string | null;
|
|
767
767
|
relatedTo: {
|
|
768
768
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
769
769
|
id: string;
|
|
770
770
|
} | null;
|
|
771
|
-
fileExtension?: string | null | undefined;
|
|
772
771
|
tags?: string[] | undefined;
|
|
772
|
+
fileExtension?: string | null | undefined;
|
|
773
773
|
};
|
|
774
774
|
relationships?: Record<string, unknown> | undefined;
|
|
775
775
|
links?: Record<string, string> | undefined;
|
|
@@ -811,16 +811,16 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
811
811
|
description: string | null;
|
|
812
812
|
farmId: string;
|
|
813
813
|
fileUrl: string;
|
|
814
|
-
category: string | null;
|
|
815
814
|
fileSize: number | null;
|
|
815
|
+
category: string | null;
|
|
816
816
|
uploadedDate: string;
|
|
817
817
|
uploadedBy: string | null;
|
|
818
818
|
relatedTo: {
|
|
819
819
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
820
820
|
id: string;
|
|
821
821
|
} | null;
|
|
822
|
-
fileExtension?: string | null | undefined;
|
|
823
822
|
tags?: string[] | undefined;
|
|
823
|
+
fileExtension?: string | null | undefined;
|
|
824
824
|
};
|
|
825
825
|
relationships?: Record<string, unknown> | undefined;
|
|
826
826
|
links?: Record<string, string> | undefined;
|
|
@@ -848,16 +848,16 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
848
848
|
description: string | null;
|
|
849
849
|
farmId: string;
|
|
850
850
|
fileUrl: string;
|
|
851
|
-
category: string | null;
|
|
852
851
|
fileSize: number | null;
|
|
852
|
+
category: string | null;
|
|
853
853
|
uploadedDate: string;
|
|
854
854
|
uploadedBy: string | null;
|
|
855
855
|
relatedTo: {
|
|
856
856
|
type: "other" | "farm" | "field" | "expense" | "equipment" | "purchase";
|
|
857
857
|
id: string;
|
|
858
858
|
} | null;
|
|
859
|
-
fileExtension?: string | null | undefined;
|
|
860
859
|
tags?: string[] | undefined;
|
|
860
|
+
fileExtension?: string | null | undefined;
|
|
861
861
|
};
|
|
862
862
|
relationships?: Record<string, unknown> | undefined;
|
|
863
863
|
links?: Record<string, string> | undefined;
|
|
@@ -7389,11 +7389,11 @@ export declare const upcomingEventsQuerySchema: z.ZodObject<{
|
|
|
7389
7389
|
days: z.ZodDefault<z.ZodNumber>;
|
|
7390
7390
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
7391
7391
|
}, "strip", z.ZodTypeAny, {
|
|
7392
|
-
days: number;
|
|
7393
7392
|
limit: number;
|
|
7393
|
+
days: number;
|
|
7394
7394
|
}, {
|
|
7395
|
-
days?: number | undefined;
|
|
7396
7395
|
limit?: number | undefined;
|
|
7396
|
+
days?: number | undefined;
|
|
7397
7397
|
}>;
|
|
7398
7398
|
export declare const fertigationRecommendationQuerySchema: z.ZodObject<{
|
|
7399
7399
|
'filter[fieldId]': z.ZodOptional<z.ZodString>;
|