@deepintel-ltd/farmpro-contracts 1.5.0 → 1.5.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.
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.routes.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuItB,CAAC"}
@@ -20,6 +20,7 @@ export declare const documentAttributesSchema: z.ZodObject<{
20
20
  type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
21
21
  category: z.ZodNullable<z.ZodString>;
22
22
  fileUrl: z.ZodString;
23
+ fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
24
  fileSize: z.ZodNullable<z.ZodNumber>;
24
25
  uploadedDate: z.ZodString;
25
26
  uploadedBy: z.ZodNullable<z.ZodString>;
@@ -45,8 +46,8 @@ export declare const documentAttributesSchema: z.ZodObject<{
45
46
  name: string;
46
47
  description: string | null;
47
48
  farmId: string;
48
- category: string | null;
49
49
  fileUrl: string;
50
+ category: string | null;
50
51
  fileSize: number | null;
51
52
  uploadedDate: string;
52
53
  uploadedBy: string | null;
@@ -54,6 +55,7 @@ export declare const documentAttributesSchema: z.ZodObject<{
54
55
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
55
56
  id: string;
56
57
  } | null;
58
+ fileExtension?: string | null | undefined;
57
59
  tags?: string[] | undefined;
58
60
  }, {
59
61
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
@@ -62,8 +64,8 @@ export declare const documentAttributesSchema: z.ZodObject<{
62
64
  name: string;
63
65
  description: string | null;
64
66
  farmId: string;
65
- category: string | null;
66
67
  fileUrl: string;
68
+ category: string | null;
67
69
  fileSize: number | null;
68
70
  uploadedDate: string;
69
71
  uploadedBy: string | null;
@@ -71,6 +73,7 @@ export declare const documentAttributesSchema: z.ZodObject<{
71
73
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
72
74
  id: string;
73
75
  } | null;
76
+ fileExtension?: string | null | undefined;
74
77
  tags?: string[] | undefined;
75
78
  }>;
76
79
  export declare const createDocumentAttributesSchema: z.ZodObject<{
@@ -95,8 +98,8 @@ export declare const createDocumentAttributesSchema: z.ZodObject<{
95
98
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
96
99
  name: string;
97
100
  description?: string | undefined;
98
- category?: string | undefined;
99
101
  fileUrl?: string | undefined;
102
+ category?: string | undefined;
100
103
  fileSize?: number | undefined;
101
104
  relatedTo?: {
102
105
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -107,8 +110,8 @@ export declare const createDocumentAttributesSchema: z.ZodObject<{
107
110
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
108
111
  name: string;
109
112
  description?: string | undefined;
110
- category?: string | undefined;
111
113
  fileUrl?: string | undefined;
114
+ category?: string | undefined;
112
115
  fileSize?: number | undefined;
113
116
  relatedTo?: {
114
117
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -138,8 +141,8 @@ export declare const updateDocumentAttributesSchema: z.ZodObject<{
138
141
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
139
142
  name?: string | undefined;
140
143
  description?: string | null | undefined;
141
- category?: string | null | undefined;
142
144
  fileUrl?: string | undefined;
145
+ category?: string | null | undefined;
143
146
  fileSize?: number | undefined;
144
147
  relatedTo?: {
145
148
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -150,8 +153,8 @@ export declare const updateDocumentAttributesSchema: z.ZodObject<{
150
153
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
151
154
  name?: string | undefined;
152
155
  description?: string | null | undefined;
153
- category?: string | null | undefined;
154
156
  fileUrl?: string | undefined;
157
+ category?: string | null | undefined;
155
158
  fileSize?: number | undefined;
156
159
  relatedTo?: {
157
160
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -183,8 +186,8 @@ export declare const createDocumentSchema: z.ZodObject<{
183
186
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
184
187
  name: string;
185
188
  description?: string | undefined;
186
- category?: string | undefined;
187
189
  fileUrl?: string | undefined;
190
+ category?: string | undefined;
188
191
  fileSize?: number | undefined;
189
192
  relatedTo?: {
190
193
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -195,8 +198,8 @@ export declare const createDocumentSchema: z.ZodObject<{
195
198
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
196
199
  name: string;
197
200
  description?: string | undefined;
198
- category?: string | undefined;
199
201
  fileUrl?: string | undefined;
202
+ category?: string | undefined;
200
203
  fileSize?: number | undefined;
201
204
  relatedTo?: {
202
205
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -210,8 +213,8 @@ export declare const createDocumentSchema: z.ZodObject<{
210
213
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
211
214
  name: string;
212
215
  description?: string | undefined;
213
- category?: string | undefined;
214
216
  fileUrl?: string | undefined;
217
+ category?: string | undefined;
215
218
  fileSize?: number | undefined;
216
219
  relatedTo?: {
217
220
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -225,8 +228,8 @@ export declare const createDocumentSchema: z.ZodObject<{
225
228
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
226
229
  name: string;
227
230
  description?: string | undefined;
228
- category?: string | undefined;
229
231
  fileUrl?: string | undefined;
232
+ category?: string | undefined;
230
233
  fileSize?: number | undefined;
231
234
  relatedTo?: {
232
235
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -260,8 +263,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
260
263
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
261
264
  name?: string | undefined;
262
265
  description?: string | null | undefined;
263
- category?: string | null | undefined;
264
266
  fileUrl?: string | undefined;
267
+ category?: string | null | undefined;
265
268
  fileSize?: number | undefined;
266
269
  relatedTo?: {
267
270
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -272,8 +275,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
272
275
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
273
276
  name?: string | undefined;
274
277
  description?: string | null | undefined;
275
- category?: string | null | undefined;
276
278
  fileUrl?: string | undefined;
279
+ category?: string | null | undefined;
277
280
  fileSize?: number | undefined;
278
281
  relatedTo?: {
279
282
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -288,8 +291,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
288
291
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
289
292
  name?: string | undefined;
290
293
  description?: string | null | undefined;
291
- category?: string | null | undefined;
292
294
  fileUrl?: string | undefined;
295
+ category?: string | null | undefined;
293
296
  fileSize?: number | undefined;
294
297
  relatedTo?: {
295
298
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -304,8 +307,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
304
307
  type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
305
308
  name?: string | undefined;
306
309
  description?: string | null | undefined;
307
- category?: string | null | undefined;
308
310
  fileUrl?: string | undefined;
311
+ category?: string | null | undefined;
309
312
  fileSize?: number | undefined;
310
313
  relatedTo?: {
311
314
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
@@ -323,6 +326,7 @@ export declare const documentResourceSchema: z.ZodObject<{
323
326
  type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
324
327
  category: z.ZodNullable<z.ZodString>;
325
328
  fileUrl: z.ZodString;
329
+ fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
330
  fileSize: z.ZodNullable<z.ZodNumber>;
327
331
  uploadedDate: z.ZodString;
328
332
  uploadedBy: z.ZodNullable<z.ZodString>;
@@ -348,8 +352,8 @@ export declare const documentResourceSchema: z.ZodObject<{
348
352
  name: string;
349
353
  description: string | null;
350
354
  farmId: string;
351
- category: string | null;
352
355
  fileUrl: string;
356
+ category: string | null;
353
357
  fileSize: number | null;
354
358
  uploadedDate: string;
355
359
  uploadedBy: string | null;
@@ -357,6 +361,7 @@ export declare const documentResourceSchema: z.ZodObject<{
357
361
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
358
362
  id: string;
359
363
  } | null;
364
+ fileExtension?: string | null | undefined;
360
365
  tags?: string[] | undefined;
361
366
  }, {
362
367
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
@@ -365,8 +370,8 @@ export declare const documentResourceSchema: z.ZodObject<{
365
370
  name: string;
366
371
  description: string | null;
367
372
  farmId: string;
368
- category: string | null;
369
373
  fileUrl: string;
374
+ category: string | null;
370
375
  fileSize: number | null;
371
376
  uploadedDate: string;
372
377
  uploadedBy: string | null;
@@ -374,6 +379,7 @@ export declare const documentResourceSchema: z.ZodObject<{
374
379
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
375
380
  id: string;
376
381
  } | null;
382
+ fileExtension?: string | null | undefined;
377
383
  tags?: string[] | undefined;
378
384
  }>;
379
385
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -389,8 +395,8 @@ export declare const documentResourceSchema: z.ZodObject<{
389
395
  name: string;
390
396
  description: string | null;
391
397
  farmId: string;
392
- category: string | null;
393
398
  fileUrl: string;
399
+ category: string | null;
394
400
  fileSize: number | null;
395
401
  uploadedDate: string;
396
402
  uploadedBy: string | null;
@@ -398,6 +404,7 @@ export declare const documentResourceSchema: z.ZodObject<{
398
404
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
399
405
  id: string;
400
406
  } | null;
407
+ fileExtension?: string | null | undefined;
401
408
  tags?: string[] | undefined;
402
409
  };
403
410
  relationships?: Record<string, unknown> | undefined;
@@ -413,8 +420,8 @@ export declare const documentResourceSchema: z.ZodObject<{
413
420
  name: string;
414
421
  description: string | null;
415
422
  farmId: string;
416
- category: string | null;
417
423
  fileUrl: string;
424
+ category: string | null;
418
425
  fileSize: number | null;
419
426
  uploadedDate: string;
420
427
  uploadedBy: string | null;
@@ -422,6 +429,7 @@ export declare const documentResourceSchema: z.ZodObject<{
422
429
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
423
430
  id: string;
424
431
  } | null;
432
+ fileExtension?: string | null | undefined;
425
433
  tags?: string[] | undefined;
426
434
  };
427
435
  relationships?: Record<string, unknown> | undefined;
@@ -438,6 +446,7 @@ export declare const documentResponseSchema: z.ZodObject<{
438
446
  type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
439
447
  category: z.ZodNullable<z.ZodString>;
440
448
  fileUrl: z.ZodString;
449
+ fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
450
  fileSize: z.ZodNullable<z.ZodNumber>;
442
451
  uploadedDate: z.ZodString;
443
452
  uploadedBy: z.ZodNullable<z.ZodString>;
@@ -463,8 +472,8 @@ export declare const documentResponseSchema: z.ZodObject<{
463
472
  name: string;
464
473
  description: string | null;
465
474
  farmId: string;
466
- category: string | null;
467
475
  fileUrl: string;
476
+ category: string | null;
468
477
  fileSize: number | null;
469
478
  uploadedDate: string;
470
479
  uploadedBy: string | null;
@@ -472,6 +481,7 @@ export declare const documentResponseSchema: z.ZodObject<{
472
481
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
473
482
  id: string;
474
483
  } | null;
484
+ fileExtension?: string | null | undefined;
475
485
  tags?: string[] | undefined;
476
486
  }, {
477
487
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
@@ -480,8 +490,8 @@ export declare const documentResponseSchema: z.ZodObject<{
480
490
  name: string;
481
491
  description: string | null;
482
492
  farmId: string;
483
- category: string | null;
484
493
  fileUrl: string;
494
+ category: string | null;
485
495
  fileSize: number | null;
486
496
  uploadedDate: string;
487
497
  uploadedBy: string | null;
@@ -489,6 +499,7 @@ export declare const documentResponseSchema: z.ZodObject<{
489
499
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
490
500
  id: string;
491
501
  } | null;
502
+ fileExtension?: string | null | undefined;
492
503
  tags?: string[] | undefined;
493
504
  }>;
494
505
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -504,8 +515,8 @@ export declare const documentResponseSchema: z.ZodObject<{
504
515
  name: string;
505
516
  description: string | null;
506
517
  farmId: string;
507
- category: string | null;
508
518
  fileUrl: string;
519
+ category: string | null;
509
520
  fileSize: number | null;
510
521
  uploadedDate: string;
511
522
  uploadedBy: string | null;
@@ -513,6 +524,7 @@ export declare const documentResponseSchema: z.ZodObject<{
513
524
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
514
525
  id: string;
515
526
  } | null;
527
+ fileExtension?: string | null | undefined;
516
528
  tags?: string[] | undefined;
517
529
  };
518
530
  relationships?: Record<string, unknown> | undefined;
@@ -528,8 +540,8 @@ export declare const documentResponseSchema: z.ZodObject<{
528
540
  name: string;
529
541
  description: string | null;
530
542
  farmId: string;
531
- category: string | null;
532
543
  fileUrl: string;
544
+ category: string | null;
533
545
  fileSize: number | null;
534
546
  uploadedDate: string;
535
547
  uploadedBy: string | null;
@@ -537,6 +549,7 @@ export declare const documentResponseSchema: z.ZodObject<{
537
549
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
538
550
  id: string;
539
551
  } | null;
552
+ fileExtension?: string | null | undefined;
540
553
  tags?: string[] | undefined;
541
554
  };
542
555
  relationships?: Record<string, unknown> | undefined;
@@ -578,8 +591,8 @@ export declare const documentResponseSchema: z.ZodObject<{
578
591
  name: string;
579
592
  description: string | null;
580
593
  farmId: string;
581
- category: string | null;
582
594
  fileUrl: string;
595
+ category: string | null;
583
596
  fileSize: number | null;
584
597
  uploadedDate: string;
585
598
  uploadedBy: string | null;
@@ -587,6 +600,7 @@ export declare const documentResponseSchema: z.ZodObject<{
587
600
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
588
601
  id: string;
589
602
  } | null;
603
+ fileExtension?: string | null | undefined;
590
604
  tags?: string[] | undefined;
591
605
  };
592
606
  relationships?: Record<string, unknown> | undefined;
@@ -614,8 +628,8 @@ export declare const documentResponseSchema: z.ZodObject<{
614
628
  name: string;
615
629
  description: string | null;
616
630
  farmId: string;
617
- category: string | null;
618
631
  fileUrl: string;
632
+ category: string | null;
619
633
  fileSize: number | null;
620
634
  uploadedDate: string;
621
635
  uploadedBy: string | null;
@@ -623,6 +637,7 @@ export declare const documentResponseSchema: z.ZodObject<{
623
637
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
624
638
  id: string;
625
639
  } | null;
640
+ fileExtension?: string | null | undefined;
626
641
  tags?: string[] | undefined;
627
642
  };
628
643
  relationships?: Record<string, unknown> | undefined;
@@ -650,6 +665,7 @@ export declare const documentListResponseSchema: z.ZodObject<{
650
665
  type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
651
666
  category: z.ZodNullable<z.ZodString>;
652
667
  fileUrl: z.ZodString;
668
+ fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
653
669
  fileSize: z.ZodNullable<z.ZodNumber>;
654
670
  uploadedDate: z.ZodString;
655
671
  uploadedBy: z.ZodNullable<z.ZodString>;
@@ -675,8 +691,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
675
691
  name: string;
676
692
  description: string | null;
677
693
  farmId: string;
678
- category: string | null;
679
694
  fileUrl: string;
695
+ category: string | null;
680
696
  fileSize: number | null;
681
697
  uploadedDate: string;
682
698
  uploadedBy: string | null;
@@ -684,6 +700,7 @@ export declare const documentListResponseSchema: z.ZodObject<{
684
700
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
685
701
  id: string;
686
702
  } | null;
703
+ fileExtension?: string | null | undefined;
687
704
  tags?: string[] | undefined;
688
705
  }, {
689
706
  type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
@@ -692,8 +709,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
692
709
  name: string;
693
710
  description: string | null;
694
711
  farmId: string;
695
- category: string | null;
696
712
  fileUrl: string;
713
+ category: string | null;
697
714
  fileSize: number | null;
698
715
  uploadedDate: string;
699
716
  uploadedBy: string | null;
@@ -701,6 +718,7 @@ export declare const documentListResponseSchema: z.ZodObject<{
701
718
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
702
719
  id: string;
703
720
  } | null;
721
+ fileExtension?: string | null | undefined;
704
722
  tags?: string[] | undefined;
705
723
  }>;
706
724
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -716,8 +734,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
716
734
  name: string;
717
735
  description: string | null;
718
736
  farmId: string;
719
- category: string | null;
720
737
  fileUrl: string;
738
+ category: string | null;
721
739
  fileSize: number | null;
722
740
  uploadedDate: string;
723
741
  uploadedBy: string | null;
@@ -725,6 +743,7 @@ export declare const documentListResponseSchema: z.ZodObject<{
725
743
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
726
744
  id: string;
727
745
  } | null;
746
+ fileExtension?: string | null | undefined;
728
747
  tags?: string[] | undefined;
729
748
  };
730
749
  relationships?: Record<string, unknown> | undefined;
@@ -740,8 +759,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
740
759
  name: string;
741
760
  description: string | null;
742
761
  farmId: string;
743
- category: string | null;
744
762
  fileUrl: string;
763
+ category: string | null;
745
764
  fileSize: number | null;
746
765
  uploadedDate: string;
747
766
  uploadedBy: string | null;
@@ -749,6 +768,7 @@ export declare const documentListResponseSchema: z.ZodObject<{
749
768
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
750
769
  id: string;
751
770
  } | null;
771
+ fileExtension?: string | null | undefined;
752
772
  tags?: string[] | undefined;
753
773
  };
754
774
  relationships?: Record<string, unknown> | undefined;
@@ -790,8 +810,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
790
810
  name: string;
791
811
  description: string | null;
792
812
  farmId: string;
793
- category: string | null;
794
813
  fileUrl: string;
814
+ category: string | null;
795
815
  fileSize: number | null;
796
816
  uploadedDate: string;
797
817
  uploadedBy: string | null;
@@ -799,6 +819,7 @@ export declare const documentListResponseSchema: z.ZodObject<{
799
819
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
800
820
  id: string;
801
821
  } | null;
822
+ fileExtension?: string | null | undefined;
802
823
  tags?: string[] | undefined;
803
824
  };
804
825
  relationships?: Record<string, unknown> | undefined;
@@ -826,8 +847,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
826
847
  name: string;
827
848
  description: string | null;
828
849
  farmId: string;
829
- category: string | null;
830
850
  fileUrl: string;
851
+ category: string | null;
831
852
  fileSize: number | null;
832
853
  uploadedDate: string;
833
854
  uploadedBy: string | null;
@@ -835,6 +856,7 @@ export declare const documentListResponseSchema: z.ZodObject<{
835
856
  type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
836
857
  id: string;
837
858
  } | null;
859
+ fileExtension?: string | null | undefined;
838
860
  tags?: string[] | undefined;
839
861
  };
840
862
  relationships?: Record<string, unknown> | undefined;
@@ -860,14 +882,14 @@ export declare const uploadedFileAttributesSchema: z.ZodObject<{
860
882
  uploadedAt: z.ZodString;
861
883
  }, "strip", z.ZodTypeAny, {
862
884
  fileUrl: string;
863
- fileSize: number;
864
885
  fileName: string;
886
+ fileSize: number;
865
887
  uploadedAt: string;
866
888
  contentType?: string | undefined;
867
889
  }, {
868
890
  fileUrl: string;
869
- fileSize: number;
870
891
  fileName: string;
892
+ fileSize: number;
871
893
  uploadedAt: string;
872
894
  contentType?: string | undefined;
873
895
  }>;
@@ -882,14 +904,14 @@ export declare const uploadedFileResourceSchema: z.ZodObject<{
882
904
  uploadedAt: z.ZodString;
883
905
  }, "strip", z.ZodTypeAny, {
884
906
  fileUrl: string;
885
- fileSize: number;
886
907
  fileName: string;
908
+ fileSize: number;
887
909
  uploadedAt: string;
888
910
  contentType?: string | undefined;
889
911
  }, {
890
912
  fileUrl: string;
891
- fileSize: number;
892
913
  fileName: string;
914
+ fileSize: number;
893
915
  uploadedAt: string;
894
916
  contentType?: string | undefined;
895
917
  }>;
@@ -901,8 +923,8 @@ export declare const uploadedFileResourceSchema: z.ZodObject<{
901
923
  id: string;
902
924
  attributes: {
903
925
  fileUrl: string;
904
- fileSize: number;
905
926
  fileName: string;
927
+ fileSize: number;
906
928
  uploadedAt: string;
907
929
  contentType?: string | undefined;
908
930
  };
@@ -914,8 +936,8 @@ export declare const uploadedFileResourceSchema: z.ZodObject<{
914
936
  id: string;
915
937
  attributes: {
916
938
  fileUrl: string;
917
- fileSize: number;
918
939
  fileName: string;
940
+ fileSize: number;
919
941
  uploadedAt: string;
920
942
  contentType?: string | undefined;
921
943
  };
@@ -935,14 +957,14 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
935
957
  uploadedAt: z.ZodString;
936
958
  }, "strip", z.ZodTypeAny, {
937
959
  fileUrl: string;
938
- fileSize: number;
939
960
  fileName: string;
961
+ fileSize: number;
940
962
  uploadedAt: string;
941
963
  contentType?: string | undefined;
942
964
  }, {
943
965
  fileUrl: string;
944
- fileSize: number;
945
966
  fileName: string;
967
+ fileSize: number;
946
968
  uploadedAt: string;
947
969
  contentType?: string | undefined;
948
970
  }>;
@@ -954,8 +976,8 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
954
976
  id: string;
955
977
  attributes: {
956
978
  fileUrl: string;
957
- fileSize: number;
958
979
  fileName: string;
980
+ fileSize: number;
959
981
  uploadedAt: string;
960
982
  contentType?: string | undefined;
961
983
  };
@@ -967,8 +989,8 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
967
989
  id: string;
968
990
  attributes: {
969
991
  fileUrl: string;
970
- fileSize: number;
971
992
  fileName: string;
993
+ fileSize: number;
972
994
  uploadedAt: string;
973
995
  contentType?: string | undefined;
974
996
  };
@@ -1006,8 +1028,8 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
1006
1028
  id: string;
1007
1029
  attributes: {
1008
1030
  fileUrl: string;
1009
- fileSize: number;
1010
1031
  fileName: string;
1032
+ fileSize: number;
1011
1033
  uploadedAt: string;
1012
1034
  contentType?: string | undefined;
1013
1035
  };
@@ -1031,8 +1053,8 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
1031
1053
  id: string;
1032
1054
  attributes: {
1033
1055
  fileUrl: string;
1034
- fileSize: number;
1035
1056
  fileName: string;
1057
+ fileSize: number;
1036
1058
  uploadedAt: string;
1037
1059
  contentType?: string | undefined;
1038
1060
  };
@@ -1052,11 +1074,11 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
1052
1074
  }[] | undefined;
1053
1075
  }>;
1054
1076
  export declare const uploadFileBodySchema: z.ZodObject<{
1055
- file: z.ZodType<import("buffer").File, z.ZodTypeDef, import("buffer").File>;
1077
+ file: z.ZodAny;
1056
1078
  }, "strip", z.ZodTypeAny, {
1057
- file: import("buffer").File;
1079
+ file?: any;
1058
1080
  }, {
1059
- file: import("buffer").File;
1081
+ file?: any;
1060
1082
  }>;
1061
1083
  export type DocumentType = z.infer<typeof documentTypeSchema>;
1062
1084
  export type RelatedEntityType = z.infer<typeof relatedEntityTypeSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"documents.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/documents.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eAAO,MAAM,kBAAkB,qGAQ7B,CAAC;AAGH,eAAO,MAAM,uBAAuB,2EAAyE,CAAC;AAG9G,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AAGH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYX,CAAC;AAG3B,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASzC,CAAC;AAGH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASzC,CAAC;AAGH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AACtF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACvE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACvE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -29,7 +29,8 @@ exports.documentAttributesSchema = zod_1.z.object({
29
29
  name: zod_1.z.string(),
30
30
  type: exports.documentTypeSchema,
31
31
  category: zod_1.z.string().nullable(),
32
- fileUrl: zod_1.z.string().url(), // URL to uploaded file
32
+ fileUrl: zod_1.z.string(),
33
+ fileExtension: zod_1.z.string().nullable().optional(),
33
34
  fileSize: zod_1.z.number().int().positive().nullable(), // in bytes
34
35
  uploadedDate: zod_1.z.string().datetime(),
35
36
  uploadedBy: zod_1.z.string().uuid().nullable(),
@@ -42,7 +43,7 @@ exports.createDocumentAttributesSchema = zod_1.z.object({
42
43
  name: zod_1.z.string().min(1).max(200),
43
44
  type: exports.documentTypeSchema,
44
45
  category: zod_1.z.string().optional(),
45
- fileUrl: zod_1.z.string().url().optional(), // URL to uploaded file (optional - can be set after upload)
46
+ fileUrl: zod_1.z.string().optional(), // View URL path (optional - will be set after file upload)
46
47
  fileSize: zod_1.z.number().int().positive().optional(), // in bytes
47
48
  relatedTo: exports.relatedEntitySchema.optional(),
48
49
  tags: zod_1.z.array(zod_1.z.string()).optional(),
@@ -53,7 +54,7 @@ exports.updateDocumentAttributesSchema = zod_1.z.object({
53
54
  name: zod_1.z.string().min(1).max(200).optional(),
54
55
  type: exports.documentTypeSchema.optional(),
55
56
  category: zod_1.z.string().nullable().optional(),
56
- fileUrl: zod_1.z.string().url().optional(), // URL to uploaded file (can be updated after upload)
57
+ fileUrl: zod_1.z.string().optional(), // View URL path (can be updated after file upload)
57
58
  fileSize: zod_1.z.number().int().positive().optional(), // in bytes
58
59
  relatedTo: exports.relatedEntitySchema.nullable().optional(),
59
60
  tags: zod_1.z.array(zod_1.z.string()).optional(),
@@ -76,7 +77,7 @@ exports.documentResourceSchema = (0, common_schemas_1.createJsonApiResourceSchem
76
77
  exports.documentResponseSchema = (0, common_schemas_1.jsonApiSingleResponseSchema)(exports.documentResourceSchema);
77
78
  exports.documentListResponseSchema = (0, common_schemas_1.jsonApiCollectionResponseSchema)(exports.documentResourceSchema);
78
79
  exports.uploadedFileAttributesSchema = zod_1.z.object({
79
- fileUrl: zod_1.z.string().url(),
80
+ fileUrl: zod_1.z.string(),
80
81
  fileSize: zod_1.z.number().int().positive(),
81
82
  fileName: zod_1.z.string(),
82
83
  contentType: zod_1.z.string().optional(),
@@ -85,5 +86,5 @@ exports.uploadedFileAttributesSchema = zod_1.z.object({
85
86
  exports.uploadedFileResourceSchema = (0, common_schemas_1.createJsonApiResourceSchema)('uploaded-files', exports.uploadedFileAttributesSchema);
86
87
  exports.uploadedFileResponseSchema = (0, common_schemas_1.jsonApiSingleResponseSchema)(exports.uploadedFileResourceSchema);
87
88
  exports.uploadFileBodySchema = zod_1.z.object({
88
- file: zod_1.z.instanceof(File),
89
+ file: zod_1.z.any(),
89
90
  });