@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.
- package/dist/routes/documents.routes.d.ts +377 -56
- package/dist/routes/documents.routes.d.ts.map +1 -1
- package/dist/routes/documents.routes.js +16 -1
- package/dist/routes/field-observations.routes.d.ts +6 -6
- package/dist/routes/tasks.routes.d.ts +455 -65
- package/dist/routes/tasks.routes.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.d.ts +67 -45
- package/dist/schemas/documents.schemas.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.js +6 -5
- package/dist/schemas/field-observations.schemas.d.ts +3 -3
- package/dist/schemas/field-observations.schemas.js +1 -1
- package/dist/schemas/tasks.schemas.d.ts +438 -62
- package/dist/schemas/tasks.schemas.d.ts.map +1 -1
- package/dist/schemas/tasks.schemas.js +17 -3
- 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;
|
|
@@ -224,15 +292,21 @@ export declare const completeTaskAttributesSchema: z.ZodObject<{
|
|
|
224
292
|
actualQuantity?: number | undefined;
|
|
225
293
|
notes?: string | undefined;
|
|
226
294
|
}>;
|
|
227
|
-
export declare const addTaskNoteAttributesSchema: z.ZodObject<{
|
|
228
|
-
text: z.ZodString
|
|
229
|
-
|
|
295
|
+
export declare const addTaskNoteAttributesSchema: z.ZodEffects<z.ZodObject<{
|
|
296
|
+
text: z.ZodDefault<z.ZodString>;
|
|
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
|
}, {
|
|
302
|
+
text?: string | undefined;
|
|
303
|
+
documentIds?: string[] | undefined;
|
|
304
|
+
}>, {
|
|
234
305
|
text: string;
|
|
235
|
-
|
|
306
|
+
documentIds?: string[] | undefined;
|
|
307
|
+
}, {
|
|
308
|
+
text?: string | undefined;
|
|
309
|
+
documentIds?: string[] | undefined;
|
|
236
310
|
}>;
|
|
237
311
|
export declare const createTaskSchema: z.ZodObject<{
|
|
238
312
|
type: z.ZodLiteral<"tasks">;
|
|
@@ -387,27 +461,33 @@ export declare const completeTaskSchema: z.ZodObject<{
|
|
|
387
461
|
}>;
|
|
388
462
|
export declare const addTaskNoteSchema: z.ZodObject<{
|
|
389
463
|
type: z.ZodLiteral<"task-notes">;
|
|
390
|
-
attributes: z.ZodObject<{
|
|
391
|
-
text: z.ZodString
|
|
392
|
-
|
|
464
|
+
attributes: z.ZodEffects<z.ZodObject<{
|
|
465
|
+
text: z.ZodDefault<z.ZodString>;
|
|
466
|
+
documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
393
467
|
}, "strip", z.ZodTypeAny, {
|
|
394
468
|
text: string;
|
|
395
|
-
|
|
469
|
+
documentIds?: string[] | undefined;
|
|
396
470
|
}, {
|
|
471
|
+
text?: string | undefined;
|
|
472
|
+
documentIds?: string[] | undefined;
|
|
473
|
+
}>, {
|
|
397
474
|
text: string;
|
|
398
|
-
|
|
475
|
+
documentIds?: string[] | undefined;
|
|
476
|
+
}, {
|
|
477
|
+
text?: string | undefined;
|
|
478
|
+
documentIds?: string[] | undefined;
|
|
399
479
|
}>;
|
|
400
480
|
}, "strip", z.ZodTypeAny, {
|
|
401
481
|
type: "task-notes";
|
|
402
482
|
attributes: {
|
|
403
483
|
text: string;
|
|
404
|
-
|
|
484
|
+
documentIds?: string[] | undefined;
|
|
405
485
|
};
|
|
406
486
|
}, {
|
|
407
487
|
type: "task-notes";
|
|
408
488
|
attributes: {
|
|
409
|
-
text
|
|
410
|
-
|
|
489
|
+
text?: string | undefined;
|
|
490
|
+
documentIds?: string[] | undefined;
|
|
411
491
|
};
|
|
412
492
|
}>;
|
|
413
493
|
export declare const taskResourceSchema: z.ZodObject<{
|
|
@@ -434,21 +514,49 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
434
514
|
authorName: z.ZodString;
|
|
435
515
|
text: z.ZodString;
|
|
436
516
|
timestamp: z.ZodString;
|
|
437
|
-
|
|
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">>;
|
|
438
534
|
}, "strip", z.ZodTypeAny, {
|
|
439
535
|
id: string;
|
|
440
536
|
authorId: string;
|
|
441
537
|
authorName: string;
|
|
442
538
|
text: string;
|
|
443
539
|
timestamp: string;
|
|
444
|
-
|
|
540
|
+
documentIds?: string[] | undefined;
|
|
541
|
+
documents?: {
|
|
542
|
+
id: string;
|
|
543
|
+
fileUrl: string;
|
|
544
|
+
fileExtension?: string | null | undefined;
|
|
545
|
+
fileName?: string | undefined;
|
|
546
|
+
}[] | undefined;
|
|
445
547
|
}, {
|
|
446
548
|
id: string;
|
|
447
549
|
authorId: string;
|
|
448
550
|
authorName: string;
|
|
449
551
|
text: string;
|
|
450
552
|
timestamp: string;
|
|
451
|
-
|
|
553
|
+
documentIds?: string[] | undefined;
|
|
554
|
+
documents?: {
|
|
555
|
+
id: string;
|
|
556
|
+
fileUrl: string;
|
|
557
|
+
fileExtension?: string | null | undefined;
|
|
558
|
+
fileName?: string | undefined;
|
|
559
|
+
}[] | undefined;
|
|
452
560
|
}>, "many">>;
|
|
453
561
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
454
562
|
type: z.ZodString;
|
|
@@ -500,7 +608,13 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
500
608
|
authorName: string;
|
|
501
609
|
text: string;
|
|
502
610
|
timestamp: string;
|
|
503
|
-
|
|
611
|
+
documentIds?: string[] | undefined;
|
|
612
|
+
documents?: {
|
|
613
|
+
id: string;
|
|
614
|
+
fileUrl: string;
|
|
615
|
+
fileExtension?: string | null | undefined;
|
|
616
|
+
fileName?: string | undefined;
|
|
617
|
+
}[] | undefined;
|
|
504
618
|
}[] | undefined;
|
|
505
619
|
contributingSources?: {
|
|
506
620
|
type: string;
|
|
@@ -533,7 +647,13 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
533
647
|
authorName: string;
|
|
534
648
|
text: string;
|
|
535
649
|
timestamp: string;
|
|
536
|
-
|
|
650
|
+
documentIds?: string[] | undefined;
|
|
651
|
+
documents?: {
|
|
652
|
+
id: string;
|
|
653
|
+
fileUrl: string;
|
|
654
|
+
fileExtension?: string | null | undefined;
|
|
655
|
+
fileName?: string | undefined;
|
|
656
|
+
}[] | undefined;
|
|
537
657
|
}[] | undefined;
|
|
538
658
|
contributingSources?: {
|
|
539
659
|
type: string;
|
|
@@ -573,7 +693,13 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
573
693
|
authorName: string;
|
|
574
694
|
text: string;
|
|
575
695
|
timestamp: string;
|
|
576
|
-
|
|
696
|
+
documentIds?: string[] | undefined;
|
|
697
|
+
documents?: {
|
|
698
|
+
id: string;
|
|
699
|
+
fileUrl: string;
|
|
700
|
+
fileExtension?: string | null | undefined;
|
|
701
|
+
fileName?: string | undefined;
|
|
702
|
+
}[] | undefined;
|
|
577
703
|
}[] | undefined;
|
|
578
704
|
contributingSources?: {
|
|
579
705
|
type: string;
|
|
@@ -613,7 +739,13 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
613
739
|
authorName: string;
|
|
614
740
|
text: string;
|
|
615
741
|
timestamp: string;
|
|
616
|
-
|
|
742
|
+
documentIds?: string[] | undefined;
|
|
743
|
+
documents?: {
|
|
744
|
+
id: string;
|
|
745
|
+
fileUrl: string;
|
|
746
|
+
fileExtension?: string | null | undefined;
|
|
747
|
+
fileName?: string | undefined;
|
|
748
|
+
}[] | undefined;
|
|
617
749
|
}[] | undefined;
|
|
618
750
|
contributingSources?: {
|
|
619
751
|
type: string;
|
|
@@ -648,21 +780,49 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
648
780
|
authorName: z.ZodString;
|
|
649
781
|
text: z.ZodString;
|
|
650
782
|
timestamp: z.ZodString;
|
|
651
|
-
|
|
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">>;
|
|
652
800
|
}, "strip", z.ZodTypeAny, {
|
|
653
801
|
id: string;
|
|
654
802
|
authorId: string;
|
|
655
803
|
authorName: string;
|
|
656
804
|
text: string;
|
|
657
805
|
timestamp: string;
|
|
658
|
-
|
|
806
|
+
documentIds?: string[] | undefined;
|
|
807
|
+
documents?: {
|
|
808
|
+
id: string;
|
|
809
|
+
fileUrl: string;
|
|
810
|
+
fileExtension?: string | null | undefined;
|
|
811
|
+
fileName?: string | undefined;
|
|
812
|
+
}[] | undefined;
|
|
659
813
|
}, {
|
|
660
814
|
id: string;
|
|
661
815
|
authorId: string;
|
|
662
816
|
authorName: string;
|
|
663
817
|
text: string;
|
|
664
818
|
timestamp: string;
|
|
665
|
-
|
|
819
|
+
documentIds?: string[] | undefined;
|
|
820
|
+
documents?: {
|
|
821
|
+
id: string;
|
|
822
|
+
fileUrl: string;
|
|
823
|
+
fileExtension?: string | null | undefined;
|
|
824
|
+
fileName?: string | undefined;
|
|
825
|
+
}[] | undefined;
|
|
666
826
|
}>, "many">>;
|
|
667
827
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
668
828
|
type: z.ZodString;
|
|
@@ -714,7 +874,13 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
714
874
|
authorName: string;
|
|
715
875
|
text: string;
|
|
716
876
|
timestamp: string;
|
|
717
|
-
|
|
877
|
+
documentIds?: string[] | undefined;
|
|
878
|
+
documents?: {
|
|
879
|
+
id: string;
|
|
880
|
+
fileUrl: string;
|
|
881
|
+
fileExtension?: string | null | undefined;
|
|
882
|
+
fileName?: string | undefined;
|
|
883
|
+
}[] | undefined;
|
|
718
884
|
}[] | undefined;
|
|
719
885
|
contributingSources?: {
|
|
720
886
|
type: string;
|
|
@@ -747,7 +913,13 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
747
913
|
authorName: string;
|
|
748
914
|
text: string;
|
|
749
915
|
timestamp: string;
|
|
750
|
-
|
|
916
|
+
documentIds?: string[] | undefined;
|
|
917
|
+
documents?: {
|
|
918
|
+
id: string;
|
|
919
|
+
fileUrl: string;
|
|
920
|
+
fileExtension?: string | null | undefined;
|
|
921
|
+
fileName?: string | undefined;
|
|
922
|
+
}[] | undefined;
|
|
751
923
|
}[] | undefined;
|
|
752
924
|
contributingSources?: {
|
|
753
925
|
type: string;
|
|
@@ -872,7 +1044,13 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
872
1044
|
authorName: string;
|
|
873
1045
|
text: string;
|
|
874
1046
|
timestamp: string;
|
|
875
|
-
|
|
1047
|
+
documentIds?: string[] | undefined;
|
|
1048
|
+
documents?: {
|
|
1049
|
+
id: string;
|
|
1050
|
+
fileUrl: string;
|
|
1051
|
+
fileExtension?: string | null | undefined;
|
|
1052
|
+
fileName?: string | undefined;
|
|
1053
|
+
}[] | undefined;
|
|
876
1054
|
}[] | undefined;
|
|
877
1055
|
contributingSources?: {
|
|
878
1056
|
type: string;
|
|
@@ -928,7 +1106,13 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
928
1106
|
authorName: string;
|
|
929
1107
|
text: string;
|
|
930
1108
|
timestamp: string;
|
|
931
|
-
|
|
1109
|
+
documentIds?: string[] | undefined;
|
|
1110
|
+
documents?: {
|
|
1111
|
+
id: string;
|
|
1112
|
+
fileUrl: string;
|
|
1113
|
+
fileExtension?: string | null | undefined;
|
|
1114
|
+
fileName?: string | undefined;
|
|
1115
|
+
}[] | undefined;
|
|
932
1116
|
}[] | undefined;
|
|
933
1117
|
contributingSources?: {
|
|
934
1118
|
type: string;
|
|
@@ -980,21 +1164,49 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
980
1164
|
authorName: z.ZodString;
|
|
981
1165
|
text: z.ZodString;
|
|
982
1166
|
timestamp: z.ZodString;
|
|
983
|
-
|
|
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">>;
|
|
984
1184
|
}, "strip", z.ZodTypeAny, {
|
|
985
1185
|
id: string;
|
|
986
1186
|
authorId: string;
|
|
987
1187
|
authorName: string;
|
|
988
1188
|
text: string;
|
|
989
1189
|
timestamp: string;
|
|
990
|
-
|
|
1190
|
+
documentIds?: string[] | undefined;
|
|
1191
|
+
documents?: {
|
|
1192
|
+
id: string;
|
|
1193
|
+
fileUrl: string;
|
|
1194
|
+
fileExtension?: string | null | undefined;
|
|
1195
|
+
fileName?: string | undefined;
|
|
1196
|
+
}[] | undefined;
|
|
991
1197
|
}, {
|
|
992
1198
|
id: string;
|
|
993
1199
|
authorId: string;
|
|
994
1200
|
authorName: string;
|
|
995
1201
|
text: string;
|
|
996
1202
|
timestamp: string;
|
|
997
|
-
|
|
1203
|
+
documentIds?: string[] | undefined;
|
|
1204
|
+
documents?: {
|
|
1205
|
+
id: string;
|
|
1206
|
+
fileUrl: string;
|
|
1207
|
+
fileExtension?: string | null | undefined;
|
|
1208
|
+
fileName?: string | undefined;
|
|
1209
|
+
}[] | undefined;
|
|
998
1210
|
}>, "many">>;
|
|
999
1211
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1000
1212
|
type: z.ZodString;
|
|
@@ -1046,7 +1258,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1046
1258
|
authorName: string;
|
|
1047
1259
|
text: string;
|
|
1048
1260
|
timestamp: string;
|
|
1049
|
-
|
|
1261
|
+
documentIds?: string[] | undefined;
|
|
1262
|
+
documents?: {
|
|
1263
|
+
id: string;
|
|
1264
|
+
fileUrl: string;
|
|
1265
|
+
fileExtension?: string | null | undefined;
|
|
1266
|
+
fileName?: string | undefined;
|
|
1267
|
+
}[] | undefined;
|
|
1050
1268
|
}[] | undefined;
|
|
1051
1269
|
contributingSources?: {
|
|
1052
1270
|
type: string;
|
|
@@ -1079,7 +1297,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1079
1297
|
authorName: string;
|
|
1080
1298
|
text: string;
|
|
1081
1299
|
timestamp: string;
|
|
1082
|
-
|
|
1300
|
+
documentIds?: string[] | undefined;
|
|
1301
|
+
documents?: {
|
|
1302
|
+
id: string;
|
|
1303
|
+
fileUrl: string;
|
|
1304
|
+
fileExtension?: string | null | undefined;
|
|
1305
|
+
fileName?: string | undefined;
|
|
1306
|
+
}[] | undefined;
|
|
1083
1307
|
}[] | undefined;
|
|
1084
1308
|
contributingSources?: {
|
|
1085
1309
|
type: string;
|
|
@@ -1119,7 +1343,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1119
1343
|
authorName: string;
|
|
1120
1344
|
text: string;
|
|
1121
1345
|
timestamp: string;
|
|
1122
|
-
|
|
1346
|
+
documentIds?: string[] | undefined;
|
|
1347
|
+
documents?: {
|
|
1348
|
+
id: string;
|
|
1349
|
+
fileUrl: string;
|
|
1350
|
+
fileExtension?: string | null | undefined;
|
|
1351
|
+
fileName?: string | undefined;
|
|
1352
|
+
}[] | undefined;
|
|
1123
1353
|
}[] | undefined;
|
|
1124
1354
|
contributingSources?: {
|
|
1125
1355
|
type: string;
|
|
@@ -1159,7 +1389,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1159
1389
|
authorName: string;
|
|
1160
1390
|
text: string;
|
|
1161
1391
|
timestamp: string;
|
|
1162
|
-
|
|
1392
|
+
documentIds?: string[] | undefined;
|
|
1393
|
+
documents?: {
|
|
1394
|
+
id: string;
|
|
1395
|
+
fileUrl: string;
|
|
1396
|
+
fileExtension?: string | null | undefined;
|
|
1397
|
+
fileName?: string | undefined;
|
|
1398
|
+
}[] | undefined;
|
|
1163
1399
|
}[] | undefined;
|
|
1164
1400
|
contributingSources?: {
|
|
1165
1401
|
type: string;
|
|
@@ -1225,7 +1461,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1225
1461
|
authorName: string;
|
|
1226
1462
|
text: string;
|
|
1227
1463
|
timestamp: string;
|
|
1228
|
-
|
|
1464
|
+
documentIds?: string[] | undefined;
|
|
1465
|
+
documents?: {
|
|
1466
|
+
id: string;
|
|
1467
|
+
fileUrl: string;
|
|
1468
|
+
fileExtension?: string | null | undefined;
|
|
1469
|
+
fileName?: string | undefined;
|
|
1470
|
+
}[] | undefined;
|
|
1229
1471
|
}[] | undefined;
|
|
1230
1472
|
contributingSources?: {
|
|
1231
1473
|
type: string;
|
|
@@ -1277,7 +1519,13 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1277
1519
|
authorName: string;
|
|
1278
1520
|
text: string;
|
|
1279
1521
|
timestamp: string;
|
|
1280
|
-
|
|
1522
|
+
documentIds?: string[] | undefined;
|
|
1523
|
+
documents?: {
|
|
1524
|
+
id: string;
|
|
1525
|
+
fileUrl: string;
|
|
1526
|
+
fileExtension?: string | null | undefined;
|
|
1527
|
+
fileName?: string | undefined;
|
|
1528
|
+
}[] | undefined;
|
|
1281
1529
|
}[] | undefined;
|
|
1282
1530
|
contributingSources?: {
|
|
1283
1531
|
type: string;
|
|
@@ -1324,21 +1572,49 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1324
1572
|
authorName: z.ZodString;
|
|
1325
1573
|
text: z.ZodString;
|
|
1326
1574
|
timestamp: z.ZodString;
|
|
1327
|
-
|
|
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">>;
|
|
1328
1592
|
}, "strip", z.ZodTypeAny, {
|
|
1329
1593
|
id: string;
|
|
1330
1594
|
authorId: string;
|
|
1331
1595
|
authorName: string;
|
|
1332
1596
|
text: string;
|
|
1333
1597
|
timestamp: string;
|
|
1334
|
-
|
|
1598
|
+
documentIds?: string[] | undefined;
|
|
1599
|
+
documents?: {
|
|
1600
|
+
id: string;
|
|
1601
|
+
fileUrl: string;
|
|
1602
|
+
fileExtension?: string | null | undefined;
|
|
1603
|
+
fileName?: string | undefined;
|
|
1604
|
+
}[] | undefined;
|
|
1335
1605
|
}, {
|
|
1336
1606
|
id: string;
|
|
1337
1607
|
authorId: string;
|
|
1338
1608
|
authorName: string;
|
|
1339
1609
|
text: string;
|
|
1340
1610
|
timestamp: string;
|
|
1341
|
-
|
|
1611
|
+
documentIds?: string[] | undefined;
|
|
1612
|
+
documents?: {
|
|
1613
|
+
id: string;
|
|
1614
|
+
fileUrl: string;
|
|
1615
|
+
fileExtension?: string | null | undefined;
|
|
1616
|
+
fileName?: string | undefined;
|
|
1617
|
+
}[] | undefined;
|
|
1342
1618
|
}>, "many">>;
|
|
1343
1619
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1344
1620
|
type: z.ZodString;
|
|
@@ -1390,7 +1666,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1390
1666
|
authorName: string;
|
|
1391
1667
|
text: string;
|
|
1392
1668
|
timestamp: string;
|
|
1393
|
-
|
|
1669
|
+
documentIds?: string[] | undefined;
|
|
1670
|
+
documents?: {
|
|
1671
|
+
id: string;
|
|
1672
|
+
fileUrl: string;
|
|
1673
|
+
fileExtension?: string | null | undefined;
|
|
1674
|
+
fileName?: string | undefined;
|
|
1675
|
+
}[] | undefined;
|
|
1394
1676
|
}[] | undefined;
|
|
1395
1677
|
contributingSources?: {
|
|
1396
1678
|
type: string;
|
|
@@ -1423,7 +1705,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1423
1705
|
authorName: string;
|
|
1424
1706
|
text: string;
|
|
1425
1707
|
timestamp: string;
|
|
1426
|
-
|
|
1708
|
+
documentIds?: string[] | undefined;
|
|
1709
|
+
documents?: {
|
|
1710
|
+
id: string;
|
|
1711
|
+
fileUrl: string;
|
|
1712
|
+
fileExtension?: string | null | undefined;
|
|
1713
|
+
fileName?: string | undefined;
|
|
1714
|
+
}[] | undefined;
|
|
1427
1715
|
}[] | undefined;
|
|
1428
1716
|
contributingSources?: {
|
|
1429
1717
|
type: string;
|
|
@@ -1548,7 +1836,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1548
1836
|
authorName: string;
|
|
1549
1837
|
text: string;
|
|
1550
1838
|
timestamp: string;
|
|
1551
|
-
|
|
1839
|
+
documentIds?: string[] | undefined;
|
|
1840
|
+
documents?: {
|
|
1841
|
+
id: string;
|
|
1842
|
+
fileUrl: string;
|
|
1843
|
+
fileExtension?: string | null | undefined;
|
|
1844
|
+
fileName?: string | undefined;
|
|
1845
|
+
}[] | undefined;
|
|
1552
1846
|
}[] | undefined;
|
|
1553
1847
|
contributingSources?: {
|
|
1554
1848
|
type: string;
|
|
@@ -1604,7 +1898,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1604
1898
|
authorName: string;
|
|
1605
1899
|
text: string;
|
|
1606
1900
|
timestamp: string;
|
|
1607
|
-
|
|
1901
|
+
documentIds?: string[] | undefined;
|
|
1902
|
+
documents?: {
|
|
1903
|
+
id: string;
|
|
1904
|
+
fileUrl: string;
|
|
1905
|
+
fileExtension?: string | null | undefined;
|
|
1906
|
+
fileName?: string | undefined;
|
|
1907
|
+
}[] | undefined;
|
|
1608
1908
|
}[] | undefined;
|
|
1609
1909
|
contributingSources?: {
|
|
1610
1910
|
type: string;
|
|
@@ -1686,7 +1986,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1686
1986
|
authorName: string;
|
|
1687
1987
|
text: string;
|
|
1688
1988
|
timestamp: string;
|
|
1689
|
-
|
|
1989
|
+
documentIds?: string[] | undefined;
|
|
1990
|
+
documents?: {
|
|
1991
|
+
id: string;
|
|
1992
|
+
fileUrl: string;
|
|
1993
|
+
fileExtension?: string | null | undefined;
|
|
1994
|
+
fileName?: string | undefined;
|
|
1995
|
+
}[] | undefined;
|
|
1690
1996
|
}[] | undefined;
|
|
1691
1997
|
contributingSources?: {
|
|
1692
1998
|
type: string;
|
|
@@ -1754,7 +2060,13 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1754
2060
|
authorName: string;
|
|
1755
2061
|
text: string;
|
|
1756
2062
|
timestamp: string;
|
|
1757
|
-
|
|
2063
|
+
documentIds?: string[] | undefined;
|
|
2064
|
+
documents?: {
|
|
2065
|
+
id: string;
|
|
2066
|
+
fileUrl: string;
|
|
2067
|
+
fileExtension?: string | null | undefined;
|
|
2068
|
+
fileName?: string | undefined;
|
|
2069
|
+
}[] | undefined;
|
|
1758
2070
|
}[] | undefined;
|
|
1759
2071
|
contributingSources?: {
|
|
1760
2072
|
type: string;
|
|
@@ -1817,21 +2129,49 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
1817
2129
|
authorName: z.ZodString;
|
|
1818
2130
|
text: z.ZodString;
|
|
1819
2131
|
timestamp: z.ZodString;
|
|
1820
|
-
|
|
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">>;
|
|
1821
2149
|
}, "strip", z.ZodTypeAny, {
|
|
1822
2150
|
id: string;
|
|
1823
2151
|
authorId: string;
|
|
1824
2152
|
authorName: string;
|
|
1825
2153
|
text: string;
|
|
1826
2154
|
timestamp: string;
|
|
1827
|
-
|
|
2155
|
+
documentIds?: string[] | undefined;
|
|
2156
|
+
documents?: {
|
|
2157
|
+
id: string;
|
|
2158
|
+
fileUrl: string;
|
|
2159
|
+
fileExtension?: string | null | undefined;
|
|
2160
|
+
fileName?: string | undefined;
|
|
2161
|
+
}[] | undefined;
|
|
1828
2162
|
}, {
|
|
1829
2163
|
id: string;
|
|
1830
2164
|
authorId: string;
|
|
1831
2165
|
authorName: string;
|
|
1832
2166
|
text: string;
|
|
1833
2167
|
timestamp: string;
|
|
1834
|
-
|
|
2168
|
+
documentIds?: string[] | undefined;
|
|
2169
|
+
documents?: {
|
|
2170
|
+
id: string;
|
|
2171
|
+
fileUrl: string;
|
|
2172
|
+
fileExtension?: string | null | undefined;
|
|
2173
|
+
fileName?: string | undefined;
|
|
2174
|
+
}[] | undefined;
|
|
1835
2175
|
}>, "many">>;
|
|
1836
2176
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1837
2177
|
type: z.ZodString;
|
|
@@ -1883,7 +2223,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
1883
2223
|
authorName: string;
|
|
1884
2224
|
text: string;
|
|
1885
2225
|
timestamp: string;
|
|
1886
|
-
|
|
2226
|
+
documentIds?: string[] | undefined;
|
|
2227
|
+
documents?: {
|
|
2228
|
+
id: string;
|
|
2229
|
+
fileUrl: string;
|
|
2230
|
+
fileExtension?: string | null | undefined;
|
|
2231
|
+
fileName?: string | undefined;
|
|
2232
|
+
}[] | undefined;
|
|
1887
2233
|
}[] | undefined;
|
|
1888
2234
|
contributingSources?: {
|
|
1889
2235
|
type: string;
|
|
@@ -1916,7 +2262,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
1916
2262
|
authorName: string;
|
|
1917
2263
|
text: string;
|
|
1918
2264
|
timestamp: string;
|
|
1919
|
-
|
|
2265
|
+
documentIds?: string[] | undefined;
|
|
2266
|
+
documents?: {
|
|
2267
|
+
id: string;
|
|
2268
|
+
fileUrl: string;
|
|
2269
|
+
fileExtension?: string | null | undefined;
|
|
2270
|
+
fileName?: string | undefined;
|
|
2271
|
+
}[] | undefined;
|
|
1920
2272
|
}[] | undefined;
|
|
1921
2273
|
contributingSources?: {
|
|
1922
2274
|
type: string;
|
|
@@ -1956,7 +2308,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
1956
2308
|
authorName: string;
|
|
1957
2309
|
text: string;
|
|
1958
2310
|
timestamp: string;
|
|
1959
|
-
|
|
2311
|
+
documentIds?: string[] | undefined;
|
|
2312
|
+
documents?: {
|
|
2313
|
+
id: string;
|
|
2314
|
+
fileUrl: string;
|
|
2315
|
+
fileExtension?: string | null | undefined;
|
|
2316
|
+
fileName?: string | undefined;
|
|
2317
|
+
}[] | undefined;
|
|
1960
2318
|
}[] | undefined;
|
|
1961
2319
|
contributingSources?: {
|
|
1962
2320
|
type: string;
|
|
@@ -1996,7 +2354,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
1996
2354
|
authorName: string;
|
|
1997
2355
|
text: string;
|
|
1998
2356
|
timestamp: string;
|
|
1999
|
-
|
|
2357
|
+
documentIds?: string[] | undefined;
|
|
2358
|
+
documents?: {
|
|
2359
|
+
id: string;
|
|
2360
|
+
fileUrl: string;
|
|
2361
|
+
fileExtension?: string | null | undefined;
|
|
2362
|
+
fileName?: string | undefined;
|
|
2363
|
+
}[] | undefined;
|
|
2000
2364
|
}[] | undefined;
|
|
2001
2365
|
contributingSources?: {
|
|
2002
2366
|
type: string;
|
|
@@ -2062,7 +2426,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2062
2426
|
authorName: string;
|
|
2063
2427
|
text: string;
|
|
2064
2428
|
timestamp: string;
|
|
2065
|
-
|
|
2429
|
+
documentIds?: string[] | undefined;
|
|
2430
|
+
documents?: {
|
|
2431
|
+
id: string;
|
|
2432
|
+
fileUrl: string;
|
|
2433
|
+
fileExtension?: string | null | undefined;
|
|
2434
|
+
fileName?: string | undefined;
|
|
2435
|
+
}[] | undefined;
|
|
2066
2436
|
}[] | undefined;
|
|
2067
2437
|
contributingSources?: {
|
|
2068
2438
|
type: string;
|
|
@@ -2114,7 +2484,13 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2114
2484
|
authorName: string;
|
|
2115
2485
|
text: string;
|
|
2116
2486
|
timestamp: string;
|
|
2117
|
-
|
|
2487
|
+
documentIds?: string[] | undefined;
|
|
2488
|
+
documents?: {
|
|
2489
|
+
id: string;
|
|
2490
|
+
fileUrl: string;
|
|
2491
|
+
fileExtension?: string | null | undefined;
|
|
2492
|
+
fileName?: string | undefined;
|
|
2493
|
+
}[] | undefined;
|
|
2118
2494
|
}[] | undefined;
|
|
2119
2495
|
contributingSources?: {
|
|
2120
2496
|
type: string;
|