@deepintel-ltd/farmpro-contracts 1.5.1 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/documents.routes.d.ts +55 -97
- package/dist/routes/documents.routes.d.ts.map +1 -1
- package/dist/routes/field-monitoring.routes.d.ts +1288 -0
- package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
- package/dist/routes/field-monitoring.routes.js +11 -0
- package/dist/routes/tasks.routes.d.ts +447 -63
- package/dist/routes/tasks.routes.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.d.ts +57 -94
- package/dist/schemas/documents.schemas.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.js +5 -7
- package/dist/schemas/field-monitoring.schemas.d.ts +1441 -0
- package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
- package/dist/schemas/field-monitoring.schemas.js +161 -1
- package/dist/schemas/tasks.schemas.d.ts +425 -61
- package/dist/schemas/tasks.schemas.d.ts.map +1 -1
- package/dist/schemas/tasks.schemas.js +12 -6
- package/package.json +1 -1
|
@@ -9,21 +9,49 @@ export declare const taskNoteSchema: z.ZodObject<{
|
|
|
9
9
|
authorName: z.ZodString;
|
|
10
10
|
text: z.ZodString;
|
|
11
11
|
timestamp: z.ZodString;
|
|
12
|
-
|
|
12
|
+
documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodString;
|
|
15
|
+
fileUrl: z.ZodString;
|
|
16
|
+
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
id: string;
|
|
20
|
+
fileUrl: string;
|
|
21
|
+
fileExtension?: string | null | undefined;
|
|
22
|
+
fileName?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
id: string;
|
|
25
|
+
fileUrl: string;
|
|
26
|
+
fileExtension?: string | null | undefined;
|
|
27
|
+
fileName?: string | undefined;
|
|
28
|
+
}>, "many">>;
|
|
13
29
|
}, "strip", z.ZodTypeAny, {
|
|
14
30
|
id: string;
|
|
15
31
|
authorId: string;
|
|
16
32
|
authorName: string;
|
|
17
33
|
text: string;
|
|
18
34
|
timestamp: string;
|
|
19
|
-
|
|
35
|
+
documentIds?: string[] | undefined;
|
|
36
|
+
documents?: {
|
|
37
|
+
id: string;
|
|
38
|
+
fileUrl: string;
|
|
39
|
+
fileExtension?: string | null | undefined;
|
|
40
|
+
fileName?: string | undefined;
|
|
41
|
+
}[] | undefined;
|
|
20
42
|
}, {
|
|
21
43
|
id: string;
|
|
22
44
|
authorId: string;
|
|
23
45
|
authorName: string;
|
|
24
46
|
text: string;
|
|
25
47
|
timestamp: string;
|
|
26
|
-
|
|
48
|
+
documentIds?: string[] | undefined;
|
|
49
|
+
documents?: {
|
|
50
|
+
id: string;
|
|
51
|
+
fileUrl: string;
|
|
52
|
+
fileExtension?: string | null | undefined;
|
|
53
|
+
fileName?: string | undefined;
|
|
54
|
+
}[] | undefined;
|
|
27
55
|
}>;
|
|
28
56
|
export declare const taskAttributesSchema: z.ZodObject<{
|
|
29
57
|
title: z.ZodString;
|
|
@@ -46,21 +74,49 @@ export declare const taskAttributesSchema: z.ZodObject<{
|
|
|
46
74
|
authorName: z.ZodString;
|
|
47
75
|
text: z.ZodString;
|
|
48
76
|
timestamp: z.ZodString;
|
|
49
|
-
|
|
77
|
+
documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
78
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
79
|
+
id: z.ZodString;
|
|
80
|
+
fileUrl: z.ZodString;
|
|
81
|
+
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
id: string;
|
|
85
|
+
fileUrl: string;
|
|
86
|
+
fileExtension?: string | null | undefined;
|
|
87
|
+
fileName?: string | undefined;
|
|
88
|
+
}, {
|
|
89
|
+
id: string;
|
|
90
|
+
fileUrl: string;
|
|
91
|
+
fileExtension?: string | null | undefined;
|
|
92
|
+
fileName?: string | undefined;
|
|
93
|
+
}>, "many">>;
|
|
50
94
|
}, "strip", z.ZodTypeAny, {
|
|
51
95
|
id: string;
|
|
52
96
|
authorId: string;
|
|
53
97
|
authorName: string;
|
|
54
98
|
text: string;
|
|
55
99
|
timestamp: string;
|
|
56
|
-
|
|
100
|
+
documentIds?: string[] | undefined;
|
|
101
|
+
documents?: {
|
|
102
|
+
id: string;
|
|
103
|
+
fileUrl: string;
|
|
104
|
+
fileExtension?: string | null | undefined;
|
|
105
|
+
fileName?: string | undefined;
|
|
106
|
+
}[] | undefined;
|
|
57
107
|
}, {
|
|
58
108
|
id: string;
|
|
59
109
|
authorId: string;
|
|
60
110
|
authorName: string;
|
|
61
111
|
text: string;
|
|
62
112
|
timestamp: string;
|
|
63
|
-
|
|
113
|
+
documentIds?: string[] | undefined;
|
|
114
|
+
documents?: {
|
|
115
|
+
id: string;
|
|
116
|
+
fileUrl: string;
|
|
117
|
+
fileExtension?: string | null | undefined;
|
|
118
|
+
fileName?: string | undefined;
|
|
119
|
+
}[] | undefined;
|
|
64
120
|
}>, "many">>;
|
|
65
121
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
66
122
|
type: z.ZodString;
|
|
@@ -112,7 +168,13 @@ export declare const taskAttributesSchema: z.ZodObject<{
|
|
|
112
168
|
authorName: string;
|
|
113
169
|
text: string;
|
|
114
170
|
timestamp: string;
|
|
115
|
-
|
|
171
|
+
documentIds?: string[] | undefined;
|
|
172
|
+
documents?: {
|
|
173
|
+
id: string;
|
|
174
|
+
fileUrl: string;
|
|
175
|
+
fileExtension?: string | null | undefined;
|
|
176
|
+
fileName?: string | undefined;
|
|
177
|
+
}[] | undefined;
|
|
116
178
|
}[] | undefined;
|
|
117
179
|
contributingSources?: {
|
|
118
180
|
type: string;
|
|
@@ -145,7 +207,13 @@ export declare const taskAttributesSchema: z.ZodObject<{
|
|
|
145
207
|
authorName: string;
|
|
146
208
|
text: string;
|
|
147
209
|
timestamp: string;
|
|
148
|
-
|
|
210
|
+
documentIds?: string[] | undefined;
|
|
211
|
+
documents?: {
|
|
212
|
+
id: string;
|
|
213
|
+
fileUrl: string;
|
|
214
|
+
fileExtension?: string | null | undefined;
|
|
215
|
+
fileName?: string | undefined;
|
|
216
|
+
}[] | undefined;
|
|
149
217
|
}[] | undefined;
|
|
150
218
|
contributingSources?: {
|
|
151
219
|
type: string;
|
|
@@ -226,19 +294,19 @@ export declare const completeTaskAttributesSchema: z.ZodObject<{
|
|
|
226
294
|
}>;
|
|
227
295
|
export declare const addTaskNoteAttributesSchema: z.ZodEffects<z.ZodObject<{
|
|
228
296
|
text: z.ZodDefault<z.ZodString>;
|
|
229
|
-
|
|
297
|
+
documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
230
298
|
}, "strip", z.ZodTypeAny, {
|
|
231
299
|
text: string;
|
|
232
|
-
|
|
300
|
+
documentIds?: string[] | undefined;
|
|
233
301
|
}, {
|
|
234
302
|
text?: string | undefined;
|
|
235
|
-
|
|
303
|
+
documentIds?: string[] | undefined;
|
|
236
304
|
}>, {
|
|
237
305
|
text: string;
|
|
238
|
-
|
|
306
|
+
documentIds?: string[] | undefined;
|
|
239
307
|
}, {
|
|
240
308
|
text?: string | undefined;
|
|
241
|
-
|
|
309
|
+
documentIds?: string[] | undefined;
|
|
242
310
|
}>;
|
|
243
311
|
export declare const createTaskSchema: z.ZodObject<{
|
|
244
312
|
type: z.ZodLiteral<"tasks">;
|
|
@@ -395,31 +463,31 @@ export declare const addTaskNoteSchema: z.ZodObject<{
|
|
|
395
463
|
type: z.ZodLiteral<"task-notes">;
|
|
396
464
|
attributes: z.ZodEffects<z.ZodObject<{
|
|
397
465
|
text: z.ZodDefault<z.ZodString>;
|
|
398
|
-
|
|
466
|
+
documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
399
467
|
}, "strip", z.ZodTypeAny, {
|
|
400
468
|
text: string;
|
|
401
|
-
|
|
469
|
+
documentIds?: string[] | undefined;
|
|
402
470
|
}, {
|
|
403
471
|
text?: string | undefined;
|
|
404
|
-
|
|
472
|
+
documentIds?: string[] | undefined;
|
|
405
473
|
}>, {
|
|
406
474
|
text: string;
|
|
407
|
-
|
|
475
|
+
documentIds?: string[] | undefined;
|
|
408
476
|
}, {
|
|
409
477
|
text?: string | undefined;
|
|
410
|
-
|
|
478
|
+
documentIds?: string[] | undefined;
|
|
411
479
|
}>;
|
|
412
480
|
}, "strip", z.ZodTypeAny, {
|
|
413
481
|
type: "task-notes";
|
|
414
482
|
attributes: {
|
|
415
483
|
text: string;
|
|
416
|
-
|
|
484
|
+
documentIds?: string[] | undefined;
|
|
417
485
|
};
|
|
418
486
|
}, {
|
|
419
487
|
type: "task-notes";
|
|
420
488
|
attributes: {
|
|
421
489
|
text?: string | undefined;
|
|
422
|
-
|
|
490
|
+
documentIds?: string[] | undefined;
|
|
423
491
|
};
|
|
424
492
|
}>;
|
|
425
493
|
export declare const taskResourceSchema: z.ZodObject<{
|
|
@@ -446,21 +514,49 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
446
514
|
authorName: z.ZodString;
|
|
447
515
|
text: z.ZodString;
|
|
448
516
|
timestamp: z.ZodString;
|
|
449
|
-
|
|
517
|
+
documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
518
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
519
|
+
id: z.ZodString;
|
|
520
|
+
fileUrl: z.ZodString;
|
|
521
|
+
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
522
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
523
|
+
}, "strip", z.ZodTypeAny, {
|
|
524
|
+
id: string;
|
|
525
|
+
fileUrl: string;
|
|
526
|
+
fileExtension?: string | null | undefined;
|
|
527
|
+
fileName?: string | undefined;
|
|
528
|
+
}, {
|
|
529
|
+
id: string;
|
|
530
|
+
fileUrl: string;
|
|
531
|
+
fileExtension?: string | null | undefined;
|
|
532
|
+
fileName?: string | undefined;
|
|
533
|
+
}>, "many">>;
|
|
450
534
|
}, "strip", z.ZodTypeAny, {
|
|
451
535
|
id: string;
|
|
452
536
|
authorId: string;
|
|
453
537
|
authorName: string;
|
|
454
538
|
text: string;
|
|
455
539
|
timestamp: string;
|
|
456
|
-
|
|
540
|
+
documentIds?: string[] | undefined;
|
|
541
|
+
documents?: {
|
|
542
|
+
id: string;
|
|
543
|
+
fileUrl: string;
|
|
544
|
+
fileExtension?: string | null | undefined;
|
|
545
|
+
fileName?: string | undefined;
|
|
546
|
+
}[] | undefined;
|
|
457
547
|
}, {
|
|
458
548
|
id: string;
|
|
459
549
|
authorId: string;
|
|
460
550
|
authorName: string;
|
|
461
551
|
text: string;
|
|
462
552
|
timestamp: string;
|
|
463
|
-
|
|
553
|
+
documentIds?: string[] | undefined;
|
|
554
|
+
documents?: {
|
|
555
|
+
id: string;
|
|
556
|
+
fileUrl: string;
|
|
557
|
+
fileExtension?: string | null | undefined;
|
|
558
|
+
fileName?: string | undefined;
|
|
559
|
+
}[] | undefined;
|
|
464
560
|
}>, "many">>;
|
|
465
561
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
466
562
|
type: z.ZodString;
|
|
@@ -512,7 +608,13 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
512
608
|
authorName: string;
|
|
513
609
|
text: string;
|
|
514
610
|
timestamp: string;
|
|
515
|
-
|
|
611
|
+
documentIds?: string[] | undefined;
|
|
612
|
+
documents?: {
|
|
613
|
+
id: string;
|
|
614
|
+
fileUrl: string;
|
|
615
|
+
fileExtension?: string | null | undefined;
|
|
616
|
+
fileName?: string | undefined;
|
|
617
|
+
}[] | undefined;
|
|
516
618
|
}[] | undefined;
|
|
517
619
|
contributingSources?: {
|
|
518
620
|
type: string;
|
|
@@ -545,7 +647,13 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
545
647
|
authorName: string;
|
|
546
648
|
text: string;
|
|
547
649
|
timestamp: string;
|
|
548
|
-
|
|
650
|
+
documentIds?: string[] | undefined;
|
|
651
|
+
documents?: {
|
|
652
|
+
id: string;
|
|
653
|
+
fileUrl: string;
|
|
654
|
+
fileExtension?: string | null | undefined;
|
|
655
|
+
fileName?: string | undefined;
|
|
656
|
+
}[] | undefined;
|
|
549
657
|
}[] | undefined;
|
|
550
658
|
contributingSources?: {
|
|
551
659
|
type: string;
|
|
@@ -585,7 +693,13 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
585
693
|
authorName: string;
|
|
586
694
|
text: string;
|
|
587
695
|
timestamp: string;
|
|
588
|
-
|
|
696
|
+
documentIds?: string[] | undefined;
|
|
697
|
+
documents?: {
|
|
698
|
+
id: string;
|
|
699
|
+
fileUrl: string;
|
|
700
|
+
fileExtension?: string | null | undefined;
|
|
701
|
+
fileName?: string | undefined;
|
|
702
|
+
}[] | undefined;
|
|
589
703
|
}[] | undefined;
|
|
590
704
|
contributingSources?: {
|
|
591
705
|
type: string;
|
|
@@ -625,7 +739,13 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
625
739
|
authorName: string;
|
|
626
740
|
text: string;
|
|
627
741
|
timestamp: string;
|
|
628
|
-
|
|
742
|
+
documentIds?: string[] | undefined;
|
|
743
|
+
documents?: {
|
|
744
|
+
id: string;
|
|
745
|
+
fileUrl: string;
|
|
746
|
+
fileExtension?: string | null | undefined;
|
|
747
|
+
fileName?: string | undefined;
|
|
748
|
+
}[] | undefined;
|
|
629
749
|
}[] | undefined;
|
|
630
750
|
contributingSources?: {
|
|
631
751
|
type: string;
|
|
@@ -660,21 +780,49 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
660
780
|
authorName: z.ZodString;
|
|
661
781
|
text: z.ZodString;
|
|
662
782
|
timestamp: z.ZodString;
|
|
663
|
-
|
|
783
|
+
documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
784
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
785
|
+
id: z.ZodString;
|
|
786
|
+
fileUrl: z.ZodString;
|
|
787
|
+
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
788
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
789
|
+
}, "strip", z.ZodTypeAny, {
|
|
790
|
+
id: string;
|
|
791
|
+
fileUrl: string;
|
|
792
|
+
fileExtension?: string | null | undefined;
|
|
793
|
+
fileName?: string | undefined;
|
|
794
|
+
}, {
|
|
795
|
+
id: string;
|
|
796
|
+
fileUrl: string;
|
|
797
|
+
fileExtension?: string | null | undefined;
|
|
798
|
+
fileName?: string | undefined;
|
|
799
|
+
}>, "many">>;
|
|
664
800
|
}, "strip", z.ZodTypeAny, {
|
|
665
801
|
id: string;
|
|
666
802
|
authorId: string;
|
|
667
803
|
authorName: string;
|
|
668
804
|
text: string;
|
|
669
805
|
timestamp: string;
|
|
670
|
-
|
|
806
|
+
documentIds?: string[] | undefined;
|
|
807
|
+
documents?: {
|
|
808
|
+
id: string;
|
|
809
|
+
fileUrl: string;
|
|
810
|
+
fileExtension?: string | null | undefined;
|
|
811
|
+
fileName?: string | undefined;
|
|
812
|
+
}[] | undefined;
|
|
671
813
|
}, {
|
|
672
814
|
id: string;
|
|
673
815
|
authorId: string;
|
|
674
816
|
authorName: string;
|
|
675
817
|
text: string;
|
|
676
818
|
timestamp: string;
|
|
677
|
-
|
|
819
|
+
documentIds?: string[] | undefined;
|
|
820
|
+
documents?: {
|
|
821
|
+
id: string;
|
|
822
|
+
fileUrl: string;
|
|
823
|
+
fileExtension?: string | null | undefined;
|
|
824
|
+
fileName?: string | undefined;
|
|
825
|
+
}[] | undefined;
|
|
678
826
|
}>, "many">>;
|
|
679
827
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
680
828
|
type: z.ZodString;
|
|
@@ -726,7 +874,13 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
726
874
|
authorName: string;
|
|
727
875
|
text: string;
|
|
728
876
|
timestamp: string;
|
|
729
|
-
|
|
877
|
+
documentIds?: string[] | undefined;
|
|
878
|
+
documents?: {
|
|
879
|
+
id: string;
|
|
880
|
+
fileUrl: string;
|
|
881
|
+
fileExtension?: string | null | undefined;
|
|
882
|
+
fileName?: string | undefined;
|
|
883
|
+
}[] | undefined;
|
|
730
884
|
}[] | undefined;
|
|
731
885
|
contributingSources?: {
|
|
732
886
|
type: string;
|
|
@@ -759,7 +913,13 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
759
913
|
authorName: string;
|
|
760
914
|
text: string;
|
|
761
915
|
timestamp: string;
|
|
762
|
-
|
|
916
|
+
documentIds?: string[] | undefined;
|
|
917
|
+
documents?: {
|
|
918
|
+
id: string;
|
|
919
|
+
fileUrl: string;
|
|
920
|
+
fileExtension?: string | null | undefined;
|
|
921
|
+
fileName?: string | undefined;
|
|
922
|
+
}[] | undefined;
|
|
763
923
|
}[] | undefined;
|
|
764
924
|
contributingSources?: {
|
|
765
925
|
type: string;
|
|
@@ -884,7 +1044,13 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
884
1044
|
authorName: string;
|
|
885
1045
|
text: string;
|
|
886
1046
|
timestamp: string;
|
|
887
|
-
|
|
1047
|
+
documentIds?: string[] | undefined;
|
|
1048
|
+
documents?: {
|
|
1049
|
+
id: string;
|
|
1050
|
+
fileUrl: string;
|
|
1051
|
+
fileExtension?: string | null | undefined;
|
|
1052
|
+
fileName?: string | undefined;
|
|
1053
|
+
}[] | undefined;
|
|
888
1054
|
}[] | undefined;
|
|
889
1055
|
contributingSources?: {
|
|
890
1056
|
type: string;
|
|
@@ -940,7 +1106,13 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
940
1106
|
authorName: string;
|
|
941
1107
|
text: string;
|
|
942
1108
|
timestamp: string;
|
|
943
|
-
|
|
1109
|
+
documentIds?: string[] | undefined;
|
|
1110
|
+
documents?: {
|
|
1111
|
+
id: string;
|
|
1112
|
+
fileUrl: string;
|
|
1113
|
+
fileExtension?: string | null | undefined;
|
|
1114
|
+
fileName?: string | undefined;
|
|
1115
|
+
}[] | undefined;
|
|
944
1116
|
}[] | undefined;
|
|
945
1117
|
contributingSources?: {
|
|
946
1118
|
type: string;
|
|
@@ -992,21 +1164,49 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
992
1164
|
authorName: z.ZodString;
|
|
993
1165
|
text: z.ZodString;
|
|
994
1166
|
timestamp: z.ZodString;
|
|
995
|
-
|
|
1167
|
+
documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1168
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1169
|
+
id: z.ZodString;
|
|
1170
|
+
fileUrl: z.ZodString;
|
|
1171
|
+
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1172
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
}, "strip", z.ZodTypeAny, {
|
|
1174
|
+
id: string;
|
|
1175
|
+
fileUrl: string;
|
|
1176
|
+
fileExtension?: string | null | undefined;
|
|
1177
|
+
fileName?: string | undefined;
|
|
1178
|
+
}, {
|
|
1179
|
+
id: string;
|
|
1180
|
+
fileUrl: string;
|
|
1181
|
+
fileExtension?: string | null | undefined;
|
|
1182
|
+
fileName?: string | undefined;
|
|
1183
|
+
}>, "many">>;
|
|
996
1184
|
}, "strip", z.ZodTypeAny, {
|
|
997
1185
|
id: string;
|
|
998
1186
|
authorId: string;
|
|
999
1187
|
authorName: string;
|
|
1000
1188
|
text: string;
|
|
1001
1189
|
timestamp: string;
|
|
1002
|
-
|
|
1190
|
+
documentIds?: string[] | undefined;
|
|
1191
|
+
documents?: {
|
|
1192
|
+
id: string;
|
|
1193
|
+
fileUrl: string;
|
|
1194
|
+
fileExtension?: string | null | undefined;
|
|
1195
|
+
fileName?: string | undefined;
|
|
1196
|
+
}[] | undefined;
|
|
1003
1197
|
}, {
|
|
1004
1198
|
id: string;
|
|
1005
1199
|
authorId: string;
|
|
1006
1200
|
authorName: string;
|
|
1007
1201
|
text: string;
|
|
1008
1202
|
timestamp: string;
|
|
1009
|
-
|
|
1203
|
+
documentIds?: string[] | undefined;
|
|
1204
|
+
documents?: {
|
|
1205
|
+
id: string;
|
|
1206
|
+
fileUrl: string;
|
|
1207
|
+
fileExtension?: string | null | undefined;
|
|
1208
|
+
fileName?: string | undefined;
|
|
1209
|
+
}[] | undefined;
|
|
1010
1210
|
}>, "many">>;
|
|
1011
1211
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1012
1212
|
type: z.ZodString;
|
|
@@ -1058,7 +1258,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1058
1258
|
authorName: string;
|
|
1059
1259
|
text: string;
|
|
1060
1260
|
timestamp: string;
|
|
1061
|
-
|
|
1261
|
+
documentIds?: string[] | undefined;
|
|
1262
|
+
documents?: {
|
|
1263
|
+
id: string;
|
|
1264
|
+
fileUrl: string;
|
|
1265
|
+
fileExtension?: string | null | undefined;
|
|
1266
|
+
fileName?: string | undefined;
|
|
1267
|
+
}[] | undefined;
|
|
1062
1268
|
}[] | undefined;
|
|
1063
1269
|
contributingSources?: {
|
|
1064
1270
|
type: string;
|
|
@@ -1091,7 +1297,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1091
1297
|
authorName: string;
|
|
1092
1298
|
text: string;
|
|
1093
1299
|
timestamp: string;
|
|
1094
|
-
|
|
1300
|
+
documentIds?: string[] | undefined;
|
|
1301
|
+
documents?: {
|
|
1302
|
+
id: string;
|
|
1303
|
+
fileUrl: string;
|
|
1304
|
+
fileExtension?: string | null | undefined;
|
|
1305
|
+
fileName?: string | undefined;
|
|
1306
|
+
}[] | undefined;
|
|
1095
1307
|
}[] | undefined;
|
|
1096
1308
|
contributingSources?: {
|
|
1097
1309
|
type: string;
|
|
@@ -1131,7 +1343,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1131
1343
|
authorName: string;
|
|
1132
1344
|
text: string;
|
|
1133
1345
|
timestamp: string;
|
|
1134
|
-
|
|
1346
|
+
documentIds?: string[] | undefined;
|
|
1347
|
+
documents?: {
|
|
1348
|
+
id: string;
|
|
1349
|
+
fileUrl: string;
|
|
1350
|
+
fileExtension?: string | null | undefined;
|
|
1351
|
+
fileName?: string | undefined;
|
|
1352
|
+
}[] | undefined;
|
|
1135
1353
|
}[] | undefined;
|
|
1136
1354
|
contributingSources?: {
|
|
1137
1355
|
type: string;
|
|
@@ -1171,7 +1389,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1171
1389
|
authorName: string;
|
|
1172
1390
|
text: string;
|
|
1173
1391
|
timestamp: string;
|
|
1174
|
-
|
|
1392
|
+
documentIds?: string[] | undefined;
|
|
1393
|
+
documents?: {
|
|
1394
|
+
id: string;
|
|
1395
|
+
fileUrl: string;
|
|
1396
|
+
fileExtension?: string | null | undefined;
|
|
1397
|
+
fileName?: string | undefined;
|
|
1398
|
+
}[] | undefined;
|
|
1175
1399
|
}[] | undefined;
|
|
1176
1400
|
contributingSources?: {
|
|
1177
1401
|
type: string;
|
|
@@ -1237,7 +1461,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1237
1461
|
authorName: string;
|
|
1238
1462
|
text: string;
|
|
1239
1463
|
timestamp: string;
|
|
1240
|
-
|
|
1464
|
+
documentIds?: string[] | undefined;
|
|
1465
|
+
documents?: {
|
|
1466
|
+
id: string;
|
|
1467
|
+
fileUrl: string;
|
|
1468
|
+
fileExtension?: string | null | undefined;
|
|
1469
|
+
fileName?: string | undefined;
|
|
1470
|
+
}[] | undefined;
|
|
1241
1471
|
}[] | undefined;
|
|
1242
1472
|
contributingSources?: {
|
|
1243
1473
|
type: string;
|
|
@@ -1289,7 +1519,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1289
1519
|
authorName: string;
|
|
1290
1520
|
text: string;
|
|
1291
1521
|
timestamp: string;
|
|
1292
|
-
|
|
1522
|
+
documentIds?: string[] | undefined;
|
|
1523
|
+
documents?: {
|
|
1524
|
+
id: string;
|
|
1525
|
+
fileUrl: string;
|
|
1526
|
+
fileExtension?: string | null | undefined;
|
|
1527
|
+
fileName?: string | undefined;
|
|
1528
|
+
}[] | undefined;
|
|
1293
1529
|
}[] | undefined;
|
|
1294
1530
|
contributingSources?: {
|
|
1295
1531
|
type: string;
|
|
@@ -1336,21 +1572,49 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1336
1572
|
authorName: z.ZodString;
|
|
1337
1573
|
text: z.ZodString;
|
|
1338
1574
|
timestamp: z.ZodString;
|
|
1339
|
-
|
|
1575
|
+
documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1576
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1577
|
+
id: z.ZodString;
|
|
1578
|
+
fileUrl: z.ZodString;
|
|
1579
|
+
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1580
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
1581
|
+
}, "strip", z.ZodTypeAny, {
|
|
1582
|
+
id: string;
|
|
1583
|
+
fileUrl: string;
|
|
1584
|
+
fileExtension?: string | null | undefined;
|
|
1585
|
+
fileName?: string | undefined;
|
|
1586
|
+
}, {
|
|
1587
|
+
id: string;
|
|
1588
|
+
fileUrl: string;
|
|
1589
|
+
fileExtension?: string | null | undefined;
|
|
1590
|
+
fileName?: string | undefined;
|
|
1591
|
+
}>, "many">>;
|
|
1340
1592
|
}, "strip", z.ZodTypeAny, {
|
|
1341
1593
|
id: string;
|
|
1342
1594
|
authorId: string;
|
|
1343
1595
|
authorName: string;
|
|
1344
1596
|
text: string;
|
|
1345
1597
|
timestamp: string;
|
|
1346
|
-
|
|
1598
|
+
documentIds?: string[] | undefined;
|
|
1599
|
+
documents?: {
|
|
1600
|
+
id: string;
|
|
1601
|
+
fileUrl: string;
|
|
1602
|
+
fileExtension?: string | null | undefined;
|
|
1603
|
+
fileName?: string | undefined;
|
|
1604
|
+
}[] | undefined;
|
|
1347
1605
|
}, {
|
|
1348
1606
|
id: string;
|
|
1349
1607
|
authorId: string;
|
|
1350
1608
|
authorName: string;
|
|
1351
1609
|
text: string;
|
|
1352
1610
|
timestamp: string;
|
|
1353
|
-
|
|
1611
|
+
documentIds?: string[] | undefined;
|
|
1612
|
+
documents?: {
|
|
1613
|
+
id: string;
|
|
1614
|
+
fileUrl: string;
|
|
1615
|
+
fileExtension?: string | null | undefined;
|
|
1616
|
+
fileName?: string | undefined;
|
|
1617
|
+
}[] | undefined;
|
|
1354
1618
|
}>, "many">>;
|
|
1355
1619
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1356
1620
|
type: z.ZodString;
|
|
@@ -1402,7 +1666,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1402
1666
|
authorName: string;
|
|
1403
1667
|
text: string;
|
|
1404
1668
|
timestamp: string;
|
|
1405
|
-
|
|
1669
|
+
documentIds?: string[] | undefined;
|
|
1670
|
+
documents?: {
|
|
1671
|
+
id: string;
|
|
1672
|
+
fileUrl: string;
|
|
1673
|
+
fileExtension?: string | null | undefined;
|
|
1674
|
+
fileName?: string | undefined;
|
|
1675
|
+
}[] | undefined;
|
|
1406
1676
|
}[] | undefined;
|
|
1407
1677
|
contributingSources?: {
|
|
1408
1678
|
type: string;
|
|
@@ -1435,7 +1705,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1435
1705
|
authorName: string;
|
|
1436
1706
|
text: string;
|
|
1437
1707
|
timestamp: string;
|
|
1438
|
-
|
|
1708
|
+
documentIds?: string[] | undefined;
|
|
1709
|
+
documents?: {
|
|
1710
|
+
id: string;
|
|
1711
|
+
fileUrl: string;
|
|
1712
|
+
fileExtension?: string | null | undefined;
|
|
1713
|
+
fileName?: string | undefined;
|
|
1714
|
+
}[] | undefined;
|
|
1439
1715
|
}[] | undefined;
|
|
1440
1716
|
contributingSources?: {
|
|
1441
1717
|
type: string;
|
|
@@ -1560,7 +1836,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1560
1836
|
authorName: string;
|
|
1561
1837
|
text: string;
|
|
1562
1838
|
timestamp: string;
|
|
1563
|
-
|
|
1839
|
+
documentIds?: string[] | undefined;
|
|
1840
|
+
documents?: {
|
|
1841
|
+
id: string;
|
|
1842
|
+
fileUrl: string;
|
|
1843
|
+
fileExtension?: string | null | undefined;
|
|
1844
|
+
fileName?: string | undefined;
|
|
1845
|
+
}[] | undefined;
|
|
1564
1846
|
}[] | undefined;
|
|
1565
1847
|
contributingSources?: {
|
|
1566
1848
|
type: string;
|
|
@@ -1616,7 +1898,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1616
1898
|
authorName: string;
|
|
1617
1899
|
text: string;
|
|
1618
1900
|
timestamp: string;
|
|
1619
|
-
|
|
1901
|
+
documentIds?: string[] | undefined;
|
|
1902
|
+
documents?: {
|
|
1903
|
+
id: string;
|
|
1904
|
+
fileUrl: string;
|
|
1905
|
+
fileExtension?: string | null | undefined;
|
|
1906
|
+
fileName?: string | undefined;
|
|
1907
|
+
}[] | undefined;
|
|
1620
1908
|
}[] | undefined;
|
|
1621
1909
|
contributingSources?: {
|
|
1622
1910
|
type: string;
|
|
@@ -1698,7 +1986,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1698
1986
|
authorName: string;
|
|
1699
1987
|
text: string;
|
|
1700
1988
|
timestamp: string;
|
|
1701
|
-
|
|
1989
|
+
documentIds?: string[] | undefined;
|
|
1990
|
+
documents?: {
|
|
1991
|
+
id: string;
|
|
1992
|
+
fileUrl: string;
|
|
1993
|
+
fileExtension?: string | null | undefined;
|
|
1994
|
+
fileName?: string | undefined;
|
|
1995
|
+
}[] | undefined;
|
|
1702
1996
|
}[] | undefined;
|
|
1703
1997
|
contributingSources?: {
|
|
1704
1998
|
type: string;
|
|
@@ -1766,7 +2060,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1766
2060
|
authorName: string;
|
|
1767
2061
|
text: string;
|
|
1768
2062
|
timestamp: string;
|
|
1769
|
-
|
|
2063
|
+
documentIds?: string[] | undefined;
|
|
2064
|
+
documents?: {
|
|
2065
|
+
id: string;
|
|
2066
|
+
fileUrl: string;
|
|
2067
|
+
fileExtension?: string | null | undefined;
|
|
2068
|
+
fileName?: string | undefined;
|
|
2069
|
+
}[] | undefined;
|
|
1770
2070
|
}[] | undefined;
|
|
1771
2071
|
contributingSources?: {
|
|
1772
2072
|
type: string;
|
|
@@ -1829,21 +2129,49 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
1829
2129
|
authorName: z.ZodString;
|
|
1830
2130
|
text: z.ZodString;
|
|
1831
2131
|
timestamp: z.ZodString;
|
|
1832
|
-
|
|
2132
|
+
documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2133
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2134
|
+
id: z.ZodString;
|
|
2135
|
+
fileUrl: z.ZodString;
|
|
2136
|
+
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2137
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
2138
|
+
}, "strip", z.ZodTypeAny, {
|
|
2139
|
+
id: string;
|
|
2140
|
+
fileUrl: string;
|
|
2141
|
+
fileExtension?: string | null | undefined;
|
|
2142
|
+
fileName?: string | undefined;
|
|
2143
|
+
}, {
|
|
2144
|
+
id: string;
|
|
2145
|
+
fileUrl: string;
|
|
2146
|
+
fileExtension?: string | null | undefined;
|
|
2147
|
+
fileName?: string | undefined;
|
|
2148
|
+
}>, "many">>;
|
|
1833
2149
|
}, "strip", z.ZodTypeAny, {
|
|
1834
2150
|
id: string;
|
|
1835
2151
|
authorId: string;
|
|
1836
2152
|
authorName: string;
|
|
1837
2153
|
text: string;
|
|
1838
2154
|
timestamp: string;
|
|
1839
|
-
|
|
2155
|
+
documentIds?: string[] | undefined;
|
|
2156
|
+
documents?: {
|
|
2157
|
+
id: string;
|
|
2158
|
+
fileUrl: string;
|
|
2159
|
+
fileExtension?: string | null | undefined;
|
|
2160
|
+
fileName?: string | undefined;
|
|
2161
|
+
}[] | undefined;
|
|
1840
2162
|
}, {
|
|
1841
2163
|
id: string;
|
|
1842
2164
|
authorId: string;
|
|
1843
2165
|
authorName: string;
|
|
1844
2166
|
text: string;
|
|
1845
2167
|
timestamp: string;
|
|
1846
|
-
|
|
2168
|
+
documentIds?: string[] | undefined;
|
|
2169
|
+
documents?: {
|
|
2170
|
+
id: string;
|
|
2171
|
+
fileUrl: string;
|
|
2172
|
+
fileExtension?: string | null | undefined;
|
|
2173
|
+
fileName?: string | undefined;
|
|
2174
|
+
}[] | undefined;
|
|
1847
2175
|
}>, "many">>;
|
|
1848
2176
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1849
2177
|
type: z.ZodString;
|
|
@@ -1895,7 +2223,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
1895
2223
|
authorName: string;
|
|
1896
2224
|
text: string;
|
|
1897
2225
|
timestamp: string;
|
|
1898
|
-
|
|
2226
|
+
documentIds?: string[] | undefined;
|
|
2227
|
+
documents?: {
|
|
2228
|
+
id: string;
|
|
2229
|
+
fileUrl: string;
|
|
2230
|
+
fileExtension?: string | null | undefined;
|
|
2231
|
+
fileName?: string | undefined;
|
|
2232
|
+
}[] | undefined;
|
|
1899
2233
|
}[] | undefined;
|
|
1900
2234
|
contributingSources?: {
|
|
1901
2235
|
type: string;
|
|
@@ -1928,7 +2262,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
1928
2262
|
authorName: string;
|
|
1929
2263
|
text: string;
|
|
1930
2264
|
timestamp: string;
|
|
1931
|
-
|
|
2265
|
+
documentIds?: string[] | undefined;
|
|
2266
|
+
documents?: {
|
|
2267
|
+
id: string;
|
|
2268
|
+
fileUrl: string;
|
|
2269
|
+
fileExtension?: string | null | undefined;
|
|
2270
|
+
fileName?: string | undefined;
|
|
2271
|
+
}[] | undefined;
|
|
1932
2272
|
}[] | undefined;
|
|
1933
2273
|
contributingSources?: {
|
|
1934
2274
|
type: string;
|
|
@@ -1968,7 +2308,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
1968
2308
|
authorName: string;
|
|
1969
2309
|
text: string;
|
|
1970
2310
|
timestamp: string;
|
|
1971
|
-
|
|
2311
|
+
documentIds?: string[] | undefined;
|
|
2312
|
+
documents?: {
|
|
2313
|
+
id: string;
|
|
2314
|
+
fileUrl: string;
|
|
2315
|
+
fileExtension?: string | null | undefined;
|
|
2316
|
+
fileName?: string | undefined;
|
|
2317
|
+
}[] | undefined;
|
|
1972
2318
|
}[] | undefined;
|
|
1973
2319
|
contributingSources?: {
|
|
1974
2320
|
type: string;
|
|
@@ -2008,7 +2354,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2008
2354
|
authorName: string;
|
|
2009
2355
|
text: string;
|
|
2010
2356
|
timestamp: string;
|
|
2011
|
-
|
|
2357
|
+
documentIds?: string[] | undefined;
|
|
2358
|
+
documents?: {
|
|
2359
|
+
id: string;
|
|
2360
|
+
fileUrl: string;
|
|
2361
|
+
fileExtension?: string | null | undefined;
|
|
2362
|
+
fileName?: string | undefined;
|
|
2363
|
+
}[] | undefined;
|
|
2012
2364
|
}[] | undefined;
|
|
2013
2365
|
contributingSources?: {
|
|
2014
2366
|
type: string;
|
|
@@ -2074,7 +2426,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2074
2426
|
authorName: string;
|
|
2075
2427
|
text: string;
|
|
2076
2428
|
timestamp: string;
|
|
2077
|
-
|
|
2429
|
+
documentIds?: string[] | undefined;
|
|
2430
|
+
documents?: {
|
|
2431
|
+
id: string;
|
|
2432
|
+
fileUrl: string;
|
|
2433
|
+
fileExtension?: string | null | undefined;
|
|
2434
|
+
fileName?: string | undefined;
|
|
2435
|
+
}[] | undefined;
|
|
2078
2436
|
}[] | undefined;
|
|
2079
2437
|
contributingSources?: {
|
|
2080
2438
|
type: string;
|
|
@@ -2126,7 +2484,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2126
2484
|
authorName: string;
|
|
2127
2485
|
text: string;
|
|
2128
2486
|
timestamp: string;
|
|
2129
|
-
|
|
2487
|
+
documentIds?: string[] | undefined;
|
|
2488
|
+
documents?: {
|
|
2489
|
+
id: string;
|
|
2490
|
+
fileUrl: string;
|
|
2491
|
+
fileExtension?: string | null | undefined;
|
|
2492
|
+
fileName?: string | undefined;
|
|
2493
|
+
}[] | undefined;
|
|
2130
2494
|
}[] | undefined;
|
|
2131
2495
|
contributingSources?: {
|
|
2132
2496
|
type: string;
|