@aiquants/daily-report 0.22.0 → 0.23.0

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,16 +1,5 @@
1
- import { e as DailyReportExternalComment, h as DailyReportPostedComment, a as DailyReportItem } from "./types-CqgYQgbH.mjs";
2
1
  import { z } from "zod";
3
- type UIComment = {
4
- id: string | number;
5
- authorName: string;
6
- content: string;
7
- createdAt?: string;
8
- isMine: boolean;
9
- color?: string;
10
- isLegacy: boolean;
11
- };
12
- declare const mergeComments: (legacyComments: DailyReportExternalComment[], modernComments: DailyReportPostedComment[], currentUserId: string | null | undefined, unknownAuthorName: string) => UIComment[];
13
- declare const resolveCommentColorClass: (color: string | null | undefined) => string;
2
+ import { d as DailyReportExternalComment, g as DailyReportPostedComment, D as DailyReportItem } from "./types-DkERw8NE.mjs";
14
3
  declare const DAILY_REPORT_SSE_TERMINAL_EVENTS: readonly [
15
4
  "auth-required",
16
5
  "forbidden",
@@ -78,32 +67,6 @@ declare const dailyReportPostedCommentSchema: z.ZodObject<{
78
67
  userId?: string | null | undefined;
79
68
  userName?: string | null | undefined;
80
69
  }>;
81
- declare const dailyReportAttachmentItemSchema: z.ZodObject<{
82
- id: z.ZodString;
83
- fileName: z.ZodString;
84
- fileType: z.ZodNullable<z.ZodString>;
85
- fileSize: z.ZodNullable<z.ZodNumber>;
86
- createdAt: z.ZodNullable<z.ZodString>;
87
- state: z.ZodEnum<[
88
- "present",
89
- "absent",
90
- "unknown"
91
- ]>;
92
- }, "strip", z.ZodTypeAny, {
93
- id: string;
94
- createdAt: string | null;
95
- fileName: string;
96
- fileType: string | null;
97
- fileSize: number | null;
98
- state: "present" | "absent" | "unknown";
99
- }, {
100
- id: string;
101
- createdAt: string | null;
102
- fileName: string;
103
- fileType: string | null;
104
- fileSize: number | null;
105
- state: "present" | "absent" | "unknown";
106
- }>;
107
70
  declare const dailyReportDetailSchema: z.ZodObject<{
108
71
  reportHubId: z.ZodNumber;
109
72
  date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -192,6 +155,7 @@ declare const dailyReportDetailSchema: z.ZodObject<{
192
155
  "absent",
193
156
  "unknown"
194
157
  ]>;
158
+ hasThumbnail: z.ZodDefault<z.ZodBoolean>;
195
159
  }, "strip", z.ZodTypeAny, {
196
160
  id: string;
197
161
  createdAt: string | null;
@@ -199,6 +163,7 @@ declare const dailyReportDetailSchema: z.ZodObject<{
199
163
  fileType: string | null;
200
164
  fileSize: number | null;
201
165
  state: "present" | "absent" | "unknown";
166
+ hasThumbnail: boolean;
202
167
  }, {
203
168
  id: string;
204
169
  createdAt: string | null;
@@ -206,6 +171,7 @@ declare const dailyReportDetailSchema: z.ZodObject<{
206
171
  fileType: string | null;
207
172
  fileSize: number | null;
208
173
  state: "present" | "absent" | "unknown";
174
+ hasThumbnail?: boolean | undefined;
209
175
  }>, "many">>;
210
176
  }, "strip", z.ZodTypeAny, {
211
177
  interviewers: {
@@ -219,7 +185,10 @@ declare const dailyReportDetailSchema: z.ZodObject<{
219
185
  fileType: string | null;
220
186
  fileSize: number | null;
221
187
  state: "present" | "absent" | "unknown";
188
+ hasThumbnail: boolean;
222
189
  }[];
190
+ isRead: boolean;
191
+ isStarred: boolean;
223
192
  labels: {
224
193
  id: number;
225
194
  color?: string | null | undefined;
@@ -231,8 +200,6 @@ declare const dailyReportDetailSchema: z.ZodObject<{
231
200
  name?: string | null | undefined;
232
201
  text?: string | null | undefined;
233
202
  }[];
234
- isRead: boolean;
235
- isStarred: boolean;
236
203
  postedComments: {
237
204
  id: number;
238
205
  isMine: boolean;
@@ -249,9 +216,9 @@ declare const dailyReportDetailSchema: z.ZodObject<{
249
216
  creationCategory?: string | null | undefined;
250
217
  subject?: string | null | undefined;
251
218
  content?: string | null | undefined;
219
+ sourceType?: string | null | undefined;
252
220
  date?: string | null | undefined;
253
221
  userId?: string | null | undefined;
254
- sourceType?: string | null | undefined;
255
222
  employeeName?: string | null | undefined;
256
223
  visitTimeFrom?: string | null | undefined;
257
224
  visitTimeTo?: string | null | undefined;
@@ -261,6 +228,8 @@ declare const dailyReportDetailSchema: z.ZodObject<{
261
228
  name?: string | null | undefined;
262
229
  affiliation?: string | null | undefined;
263
230
  }[];
231
+ isRead: boolean;
232
+ isStarred: boolean;
264
233
  labels: {
265
234
  id: number;
266
235
  color?: string | null | undefined;
@@ -272,8 +241,6 @@ declare const dailyReportDetailSchema: z.ZodObject<{
272
241
  name?: string | null | undefined;
273
242
  text?: string | null | undefined;
274
243
  }[];
275
- isRead: boolean;
276
- isStarred: boolean;
277
244
  postedComments: {
278
245
  id: number;
279
246
  isMine: boolean;
@@ -297,10 +264,11 @@ declare const dailyReportDetailSchema: z.ZodObject<{
297
264
  fileType: string | null;
298
265
  fileSize: number | null;
299
266
  state: "present" | "absent" | "unknown";
267
+ hasThumbnail?: boolean | undefined;
300
268
  }[] | undefined;
269
+ sourceType?: string | null | undefined;
301
270
  date?: string | null | undefined;
302
271
  userId?: string | null | undefined;
303
- sourceType?: string | null | undefined;
304
272
  employeeName?: string | null | undefined;
305
273
  visitTimeFrom?: string | null | undefined;
306
274
  visitTimeTo?: string | null | undefined;
@@ -368,6 +336,8 @@ declare const commentAddMessageSchema: z.ZodObject<{
368
336
  sourceType: z.ZodOptional<z.ZodString>;
369
337
  }, "strip", z.ZodTypeAny, {
370
338
  type: "comment-add";
339
+ reportHubId: number;
340
+ clientTempId: string;
371
341
  comment: {
372
342
  id: number;
373
343
  isMine: boolean;
@@ -376,12 +346,12 @@ declare const commentAddMessageSchema: z.ZodObject<{
376
346
  userId?: string | null | undefined;
377
347
  userName?: string | null | undefined;
378
348
  };
379
- reportHubId: number;
380
- clientTempId: string;
381
349
  sourceType?: string | undefined;
382
350
  recipientRawUserId?: number | undefined;
383
351
  }, {
384
352
  type: "comment-add";
353
+ reportHubId: number;
354
+ clientTempId: string;
385
355
  comment: {
386
356
  id: number;
387
357
  isMine: boolean;
@@ -390,8 +360,6 @@ declare const commentAddMessageSchema: z.ZodObject<{
390
360
  userId?: string | null | undefined;
391
361
  userName?: string | null | undefined;
392
362
  };
393
- reportHubId: number;
394
- clientTempId: string;
395
363
  sourceType?: string | undefined;
396
364
  recipientRawUserId?: number | undefined;
397
365
  }>;
@@ -508,6 +476,7 @@ declare const reportCreateMessageSchema: z.ZodObject<{
508
476
  "absent",
509
477
  "unknown"
510
478
  ]>;
479
+ hasThumbnail: z.ZodDefault<z.ZodBoolean>;
511
480
  }, "strip", z.ZodTypeAny, {
512
481
  id: string;
513
482
  createdAt: string | null;
@@ -515,6 +484,7 @@ declare const reportCreateMessageSchema: z.ZodObject<{
515
484
  fileType: string | null;
516
485
  fileSize: number | null;
517
486
  state: "present" | "absent" | "unknown";
487
+ hasThumbnail: boolean;
518
488
  }, {
519
489
  id: string;
520
490
  createdAt: string | null;
@@ -522,6 +492,7 @@ declare const reportCreateMessageSchema: z.ZodObject<{
522
492
  fileType: string | null;
523
493
  fileSize: number | null;
524
494
  state: "present" | "absent" | "unknown";
495
+ hasThumbnail?: boolean | undefined;
525
496
  }>, "many">>;
526
497
  }, "strip", z.ZodTypeAny, {
527
498
  interviewers: {
@@ -535,7 +506,10 @@ declare const reportCreateMessageSchema: z.ZodObject<{
535
506
  fileType: string | null;
536
507
  fileSize: number | null;
537
508
  state: "present" | "absent" | "unknown";
509
+ hasThumbnail: boolean;
538
510
  }[];
511
+ isRead: boolean;
512
+ isStarred: boolean;
539
513
  labels: {
540
514
  id: number;
541
515
  color?: string | null | undefined;
@@ -547,8 +521,6 @@ declare const reportCreateMessageSchema: z.ZodObject<{
547
521
  name?: string | null | undefined;
548
522
  text?: string | null | undefined;
549
523
  }[];
550
- isRead: boolean;
551
- isStarred: boolean;
552
524
  postedComments: {
553
525
  id: number;
554
526
  isMine: boolean;
@@ -565,9 +537,9 @@ declare const reportCreateMessageSchema: z.ZodObject<{
565
537
  creationCategory?: string | null | undefined;
566
538
  subject?: string | null | undefined;
567
539
  content?: string | null | undefined;
540
+ sourceType?: string | null | undefined;
568
541
  date?: string | null | undefined;
569
542
  userId?: string | null | undefined;
570
- sourceType?: string | null | undefined;
571
543
  employeeName?: string | null | undefined;
572
544
  visitTimeFrom?: string | null | undefined;
573
545
  visitTimeTo?: string | null | undefined;
@@ -577,6 +549,8 @@ declare const reportCreateMessageSchema: z.ZodObject<{
577
549
  name?: string | null | undefined;
578
550
  affiliation?: string | null | undefined;
579
551
  }[];
552
+ isRead: boolean;
553
+ isStarred: boolean;
580
554
  labels: {
581
555
  id: number;
582
556
  color?: string | null | undefined;
@@ -588,8 +562,6 @@ declare const reportCreateMessageSchema: z.ZodObject<{
588
562
  name?: string | null | undefined;
589
563
  text?: string | null | undefined;
590
564
  }[];
591
- isRead: boolean;
592
- isStarred: boolean;
593
565
  postedComments: {
594
566
  id: number;
595
567
  isMine: boolean;
@@ -613,10 +585,11 @@ declare const reportCreateMessageSchema: z.ZodObject<{
613
585
  fileType: string | null;
614
586
  fileSize: number | null;
615
587
  state: "present" | "absent" | "unknown";
588
+ hasThumbnail?: boolean | undefined;
616
589
  }[] | undefined;
590
+ sourceType?: string | null | undefined;
617
591
  date?: string | null | undefined;
618
592
  userId?: string | null | undefined;
619
- sourceType?: string | null | undefined;
620
593
  employeeName?: string | null | undefined;
621
594
  visitTimeFrom?: string | null | undefined;
622
595
  visitTimeTo?: string | null | undefined;
@@ -627,7 +600,6 @@ declare const reportCreateMessageSchema: z.ZodObject<{
627
600
  }, "strip", z.ZodTypeAny, {
628
601
  type: "report-create";
629
602
  reportHubId: number;
630
- clientTempId: string;
631
603
  report: {
632
604
  interviewers: {
633
605
  name?: string | null | undefined;
@@ -640,7 +612,10 @@ declare const reportCreateMessageSchema: z.ZodObject<{
640
612
  fileType: string | null;
641
613
  fileSize: number | null;
642
614
  state: "present" | "absent" | "unknown";
615
+ hasThumbnail: boolean;
643
616
  }[];
617
+ isRead: boolean;
618
+ isStarred: boolean;
644
619
  labels: {
645
620
  id: number;
646
621
  color?: string | null | undefined;
@@ -652,8 +627,6 @@ declare const reportCreateMessageSchema: z.ZodObject<{
652
627
  name?: string | null | undefined;
653
628
  text?: string | null | undefined;
654
629
  }[];
655
- isRead: boolean;
656
- isStarred: boolean;
657
630
  postedComments: {
658
631
  id: number;
659
632
  isMine: boolean;
@@ -670,24 +643,26 @@ declare const reportCreateMessageSchema: z.ZodObject<{
670
643
  creationCategory?: string | null | undefined;
671
644
  subject?: string | null | undefined;
672
645
  content?: string | null | undefined;
646
+ sourceType?: string | null | undefined;
673
647
  date?: string | null | undefined;
674
648
  userId?: string | null | undefined;
675
- sourceType?: string | null | undefined;
676
649
  employeeName?: string | null | undefined;
677
650
  visitTimeFrom?: string | null | undefined;
678
651
  visitTimeTo?: string | null | undefined;
679
652
  customerName?: string | null | undefined;
680
653
  };
654
+ clientTempId: string;
681
655
  recipientRawUserId?: number | undefined;
682
656
  }, {
683
657
  type: "report-create";
684
658
  reportHubId: number;
685
- clientTempId: string;
686
659
  report: {
687
660
  interviewers: {
688
661
  name?: string | null | undefined;
689
662
  affiliation?: string | null | undefined;
690
663
  }[];
664
+ isRead: boolean;
665
+ isStarred: boolean;
691
666
  labels: {
692
667
  id: number;
693
668
  color?: string | null | undefined;
@@ -699,8 +674,6 @@ declare const reportCreateMessageSchema: z.ZodObject<{
699
674
  name?: string | null | undefined;
700
675
  text?: string | null | undefined;
701
676
  }[];
702
- isRead: boolean;
703
- isStarred: boolean;
704
677
  postedComments: {
705
678
  id: number;
706
679
  isMine: boolean;
@@ -724,15 +697,17 @@ declare const reportCreateMessageSchema: z.ZodObject<{
724
697
  fileType: string | null;
725
698
  fileSize: number | null;
726
699
  state: "present" | "absent" | "unknown";
700
+ hasThumbnail?: boolean | undefined;
727
701
  }[] | undefined;
702
+ sourceType?: string | null | undefined;
728
703
  date?: string | null | undefined;
729
704
  userId?: string | null | undefined;
730
- sourceType?: string | null | undefined;
731
705
  employeeName?: string | null | undefined;
732
706
  visitTimeFrom?: string | null | undefined;
733
707
  visitTimeTo?: string | null | undefined;
734
708
  customerName?: string | null | undefined;
735
709
  };
710
+ clientTempId: string;
736
711
  recipientRawUserId?: number | undefined;
737
712
  }>;
738
713
  declare const reportUpdateMessageSchema: z.ZodObject<{
@@ -826,6 +801,7 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
826
801
  "absent",
827
802
  "unknown"
828
803
  ]>;
804
+ hasThumbnail: z.ZodDefault<z.ZodBoolean>;
829
805
  }, "strip", z.ZodTypeAny, {
830
806
  id: string;
831
807
  createdAt: string | null;
@@ -833,6 +809,7 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
833
809
  fileType: string | null;
834
810
  fileSize: number | null;
835
811
  state: "present" | "absent" | "unknown";
812
+ hasThumbnail: boolean;
836
813
  }, {
837
814
  id: string;
838
815
  createdAt: string | null;
@@ -840,6 +817,7 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
840
817
  fileType: string | null;
841
818
  fileSize: number | null;
842
819
  state: "present" | "absent" | "unknown";
820
+ hasThumbnail?: boolean | undefined;
843
821
  }>, "many">>;
844
822
  }, "strip", z.ZodTypeAny, {
845
823
  interviewers: {
@@ -853,7 +831,10 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
853
831
  fileType: string | null;
854
832
  fileSize: number | null;
855
833
  state: "present" | "absent" | "unknown";
834
+ hasThumbnail: boolean;
856
835
  }[];
836
+ isRead: boolean;
837
+ isStarred: boolean;
857
838
  labels: {
858
839
  id: number;
859
840
  color?: string | null | undefined;
@@ -865,8 +846,6 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
865
846
  name?: string | null | undefined;
866
847
  text?: string | null | undefined;
867
848
  }[];
868
- isRead: boolean;
869
- isStarred: boolean;
870
849
  postedComments: {
871
850
  id: number;
872
851
  isMine: boolean;
@@ -883,9 +862,9 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
883
862
  creationCategory?: string | null | undefined;
884
863
  subject?: string | null | undefined;
885
864
  content?: string | null | undefined;
865
+ sourceType?: string | null | undefined;
886
866
  date?: string | null | undefined;
887
867
  userId?: string | null | undefined;
888
- sourceType?: string | null | undefined;
889
868
  employeeName?: string | null | undefined;
890
869
  visitTimeFrom?: string | null | undefined;
891
870
  visitTimeTo?: string | null | undefined;
@@ -895,6 +874,8 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
895
874
  name?: string | null | undefined;
896
875
  affiliation?: string | null | undefined;
897
876
  }[];
877
+ isRead: boolean;
878
+ isStarred: boolean;
898
879
  labels: {
899
880
  id: number;
900
881
  color?: string | null | undefined;
@@ -906,8 +887,6 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
906
887
  name?: string | null | undefined;
907
888
  text?: string | null | undefined;
908
889
  }[];
909
- isRead: boolean;
910
- isStarred: boolean;
911
890
  postedComments: {
912
891
  id: number;
913
892
  isMine: boolean;
@@ -931,10 +910,11 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
931
910
  fileType: string | null;
932
911
  fileSize: number | null;
933
912
  state: "present" | "absent" | "unknown";
913
+ hasThumbnail?: boolean | undefined;
934
914
  }[] | undefined;
915
+ sourceType?: string | null | undefined;
935
916
  date?: string | null | undefined;
936
917
  userId?: string | null | undefined;
937
- sourceType?: string | null | undefined;
938
918
  employeeName?: string | null | undefined;
939
919
  visitTimeFrom?: string | null | undefined;
940
920
  visitTimeTo?: string | null | undefined;
@@ -945,7 +925,6 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
945
925
  }, "strip", z.ZodTypeAny, {
946
926
  type: "report-update";
947
927
  reportHubId: number;
948
- clientTempId: string;
949
928
  report: {
950
929
  interviewers: {
951
930
  name?: string | null | undefined;
@@ -958,7 +937,10 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
958
937
  fileType: string | null;
959
938
  fileSize: number | null;
960
939
  state: "present" | "absent" | "unknown";
940
+ hasThumbnail: boolean;
961
941
  }[];
942
+ isRead: boolean;
943
+ isStarred: boolean;
962
944
  labels: {
963
945
  id: number;
964
946
  color?: string | null | undefined;
@@ -970,8 +952,6 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
970
952
  name?: string | null | undefined;
971
953
  text?: string | null | undefined;
972
954
  }[];
973
- isRead: boolean;
974
- isStarred: boolean;
975
955
  postedComments: {
976
956
  id: number;
977
957
  isMine: boolean;
@@ -988,24 +968,26 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
988
968
  creationCategory?: string | null | undefined;
989
969
  subject?: string | null | undefined;
990
970
  content?: string | null | undefined;
971
+ sourceType?: string | null | undefined;
991
972
  date?: string | null | undefined;
992
973
  userId?: string | null | undefined;
993
- sourceType?: string | null | undefined;
994
974
  employeeName?: string | null | undefined;
995
975
  visitTimeFrom?: string | null | undefined;
996
976
  visitTimeTo?: string | null | undefined;
997
977
  customerName?: string | null | undefined;
998
978
  };
979
+ clientTempId: string;
999
980
  recipientRawUserId?: number | undefined;
1000
981
  }, {
1001
982
  type: "report-update";
1002
983
  reportHubId: number;
1003
- clientTempId: string;
1004
984
  report: {
1005
985
  interviewers: {
1006
986
  name?: string | null | undefined;
1007
987
  affiliation?: string | null | undefined;
1008
988
  }[];
989
+ isRead: boolean;
990
+ isStarred: boolean;
1009
991
  labels: {
1010
992
  id: number;
1011
993
  color?: string | null | undefined;
@@ -1017,8 +999,6 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
1017
999
  name?: string | null | undefined;
1018
1000
  text?: string | null | undefined;
1019
1001
  }[];
1020
- isRead: boolean;
1021
- isStarred: boolean;
1022
1002
  postedComments: {
1023
1003
  id: number;
1024
1004
  isMine: boolean;
@@ -1042,15 +1022,17 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
1042
1022
  fileType: string | null;
1043
1023
  fileSize: number | null;
1044
1024
  state: "present" | "absent" | "unknown";
1025
+ hasThumbnail?: boolean | undefined;
1045
1026
  }[] | undefined;
1027
+ sourceType?: string | null | undefined;
1046
1028
  date?: string | null | undefined;
1047
1029
  userId?: string | null | undefined;
1048
- sourceType?: string | null | undefined;
1049
1030
  employeeName?: string | null | undefined;
1050
1031
  visitTimeFrom?: string | null | undefined;
1051
1032
  visitTimeTo?: string | null | undefined;
1052
1033
  customerName?: string | null | undefined;
1053
1034
  };
1035
+ clientTempId: string;
1054
1036
  recipientRawUserId?: number | undefined;
1055
1037
  }>;
1056
1038
  declare const reportPublishMessageSchema: z.ZodObject<{
@@ -1144,6 +1126,7 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1144
1126
  "absent",
1145
1127
  "unknown"
1146
1128
  ]>;
1129
+ hasThumbnail: z.ZodDefault<z.ZodBoolean>;
1147
1130
  }, "strip", z.ZodTypeAny, {
1148
1131
  id: string;
1149
1132
  createdAt: string | null;
@@ -1151,6 +1134,7 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1151
1134
  fileType: string | null;
1152
1135
  fileSize: number | null;
1153
1136
  state: "present" | "absent" | "unknown";
1137
+ hasThumbnail: boolean;
1154
1138
  }, {
1155
1139
  id: string;
1156
1140
  createdAt: string | null;
@@ -1158,6 +1142,7 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1158
1142
  fileType: string | null;
1159
1143
  fileSize: number | null;
1160
1144
  state: "present" | "absent" | "unknown";
1145
+ hasThumbnail?: boolean | undefined;
1161
1146
  }>, "many">>;
1162
1147
  }, "strip", z.ZodTypeAny, {
1163
1148
  interviewers: {
@@ -1171,7 +1156,10 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1171
1156
  fileType: string | null;
1172
1157
  fileSize: number | null;
1173
1158
  state: "present" | "absent" | "unknown";
1159
+ hasThumbnail: boolean;
1174
1160
  }[];
1161
+ isRead: boolean;
1162
+ isStarred: boolean;
1175
1163
  labels: {
1176
1164
  id: number;
1177
1165
  color?: string | null | undefined;
@@ -1183,8 +1171,6 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1183
1171
  name?: string | null | undefined;
1184
1172
  text?: string | null | undefined;
1185
1173
  }[];
1186
- isRead: boolean;
1187
- isStarred: boolean;
1188
1174
  postedComments: {
1189
1175
  id: number;
1190
1176
  isMine: boolean;
@@ -1201,9 +1187,9 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1201
1187
  creationCategory?: string | null | undefined;
1202
1188
  subject?: string | null | undefined;
1203
1189
  content?: string | null | undefined;
1190
+ sourceType?: string | null | undefined;
1204
1191
  date?: string | null | undefined;
1205
1192
  userId?: string | null | undefined;
1206
- sourceType?: string | null | undefined;
1207
1193
  employeeName?: string | null | undefined;
1208
1194
  visitTimeFrom?: string | null | undefined;
1209
1195
  visitTimeTo?: string | null | undefined;
@@ -1213,6 +1199,8 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1213
1199
  name?: string | null | undefined;
1214
1200
  affiliation?: string | null | undefined;
1215
1201
  }[];
1202
+ isRead: boolean;
1203
+ isStarred: boolean;
1216
1204
  labels: {
1217
1205
  id: number;
1218
1206
  color?: string | null | undefined;
@@ -1224,8 +1212,6 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1224
1212
  name?: string | null | undefined;
1225
1213
  text?: string | null | undefined;
1226
1214
  }[];
1227
- isRead: boolean;
1228
- isStarred: boolean;
1229
1215
  postedComments: {
1230
1216
  id: number;
1231
1217
  isMine: boolean;
@@ -1249,10 +1235,11 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1249
1235
  fileType: string | null;
1250
1236
  fileSize: number | null;
1251
1237
  state: "present" | "absent" | "unknown";
1238
+ hasThumbnail?: boolean | undefined;
1252
1239
  }[] | undefined;
1240
+ sourceType?: string | null | undefined;
1253
1241
  date?: string | null | undefined;
1254
1242
  userId?: string | null | undefined;
1255
- sourceType?: string | null | undefined;
1256
1243
  employeeName?: string | null | undefined;
1257
1244
  visitTimeFrom?: string | null | undefined;
1258
1245
  visitTimeTo?: string | null | undefined;
@@ -1263,7 +1250,6 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1263
1250
  }, "strip", z.ZodTypeAny, {
1264
1251
  type: "report-publish";
1265
1252
  reportHubId: number;
1266
- clientTempId: string;
1267
1253
  report: {
1268
1254
  interviewers: {
1269
1255
  name?: string | null | undefined;
@@ -1276,7 +1262,10 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1276
1262
  fileType: string | null;
1277
1263
  fileSize: number | null;
1278
1264
  state: "present" | "absent" | "unknown";
1265
+ hasThumbnail: boolean;
1279
1266
  }[];
1267
+ isRead: boolean;
1268
+ isStarred: boolean;
1280
1269
  labels: {
1281
1270
  id: number;
1282
1271
  color?: string | null | undefined;
@@ -1288,8 +1277,6 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1288
1277
  name?: string | null | undefined;
1289
1278
  text?: string | null | undefined;
1290
1279
  }[];
1291
- isRead: boolean;
1292
- isStarred: boolean;
1293
1280
  postedComments: {
1294
1281
  id: number;
1295
1282
  isMine: boolean;
@@ -1306,24 +1293,26 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1306
1293
  creationCategory?: string | null | undefined;
1307
1294
  subject?: string | null | undefined;
1308
1295
  content?: string | null | undefined;
1296
+ sourceType?: string | null | undefined;
1309
1297
  date?: string | null | undefined;
1310
1298
  userId?: string | null | undefined;
1311
- sourceType?: string | null | undefined;
1312
1299
  employeeName?: string | null | undefined;
1313
1300
  visitTimeFrom?: string | null | undefined;
1314
1301
  visitTimeTo?: string | null | undefined;
1315
1302
  customerName?: string | null | undefined;
1316
1303
  };
1304
+ clientTempId: string;
1317
1305
  recipientRawUserId?: number | undefined;
1318
1306
  }, {
1319
1307
  type: "report-publish";
1320
1308
  reportHubId: number;
1321
- clientTempId: string;
1322
1309
  report: {
1323
1310
  interviewers: {
1324
1311
  name?: string | null | undefined;
1325
1312
  affiliation?: string | null | undefined;
1326
1313
  }[];
1314
+ isRead: boolean;
1315
+ isStarred: boolean;
1327
1316
  labels: {
1328
1317
  id: number;
1329
1318
  color?: string | null | undefined;
@@ -1335,8 +1324,6 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1335
1324
  name?: string | null | undefined;
1336
1325
  text?: string | null | undefined;
1337
1326
  }[];
1338
- isRead: boolean;
1339
- isStarred: boolean;
1340
1327
  postedComments: {
1341
1328
  id: number;
1342
1329
  isMine: boolean;
@@ -1360,15 +1347,17 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1360
1347
  fileType: string | null;
1361
1348
  fileSize: number | null;
1362
1349
  state: "present" | "absent" | "unknown";
1350
+ hasThumbnail?: boolean | undefined;
1363
1351
  }[] | undefined;
1352
+ sourceType?: string | null | undefined;
1364
1353
  date?: string | null | undefined;
1365
1354
  userId?: string | null | undefined;
1366
- sourceType?: string | null | undefined;
1367
1355
  employeeName?: string | null | undefined;
1368
1356
  visitTimeFrom?: string | null | undefined;
1369
1357
  visitTimeTo?: string | null | undefined;
1370
1358
  customerName?: string | null | undefined;
1371
1359
  };
1360
+ clientTempId: string;
1372
1361
  recipientRawUserId?: number | undefined;
1373
1362
  }>;
1374
1363
  declare const reportDeleteMessageSchema: z.ZodObject<{
@@ -1450,6 +1439,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1450
1439
  sourceType: z.ZodOptional<z.ZodString>;
1451
1440
  }, "strip", z.ZodTypeAny, {
1452
1441
  type: "comment-add";
1442
+ reportHubId: number;
1443
+ clientTempId: string;
1453
1444
  comment: {
1454
1445
  id: number;
1455
1446
  isMine: boolean;
@@ -1458,12 +1449,12 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1458
1449
  userId?: string | null | undefined;
1459
1450
  userName?: string | null | undefined;
1460
1451
  };
1461
- reportHubId: number;
1462
- clientTempId: string;
1463
1452
  sourceType?: string | undefined;
1464
1453
  recipientRawUserId?: number | undefined;
1465
1454
  }, {
1466
1455
  type: "comment-add";
1456
+ reportHubId: number;
1457
+ clientTempId: string;
1467
1458
  comment: {
1468
1459
  id: number;
1469
1460
  isMine: boolean;
@@ -1472,8 +1463,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1472
1463
  userId?: string | null | undefined;
1473
1464
  userName?: string | null | undefined;
1474
1465
  };
1475
- reportHubId: number;
1476
- clientTempId: string;
1477
1466
  sourceType?: string | undefined;
1478
1467
  recipientRawUserId?: number | undefined;
1479
1468
  }>,
@@ -1590,6 +1579,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1590
1579
  "absent",
1591
1580
  "unknown"
1592
1581
  ]>;
1582
+ hasThumbnail: z.ZodDefault<z.ZodBoolean>;
1593
1583
  }, "strip", z.ZodTypeAny, {
1594
1584
  id: string;
1595
1585
  createdAt: string | null;
@@ -1597,6 +1587,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1597
1587
  fileType: string | null;
1598
1588
  fileSize: number | null;
1599
1589
  state: "present" | "absent" | "unknown";
1590
+ hasThumbnail: boolean;
1600
1591
  }, {
1601
1592
  id: string;
1602
1593
  createdAt: string | null;
@@ -1604,6 +1595,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1604
1595
  fileType: string | null;
1605
1596
  fileSize: number | null;
1606
1597
  state: "present" | "absent" | "unknown";
1598
+ hasThumbnail?: boolean | undefined;
1607
1599
  }>, "many">>;
1608
1600
  }, "strip", z.ZodTypeAny, {
1609
1601
  interviewers: {
@@ -1617,7 +1609,10 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1617
1609
  fileType: string | null;
1618
1610
  fileSize: number | null;
1619
1611
  state: "present" | "absent" | "unknown";
1612
+ hasThumbnail: boolean;
1620
1613
  }[];
1614
+ isRead: boolean;
1615
+ isStarred: boolean;
1621
1616
  labels: {
1622
1617
  id: number;
1623
1618
  color?: string | null | undefined;
@@ -1629,8 +1624,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1629
1624
  name?: string | null | undefined;
1630
1625
  text?: string | null | undefined;
1631
1626
  }[];
1632
- isRead: boolean;
1633
- isStarred: boolean;
1634
1627
  postedComments: {
1635
1628
  id: number;
1636
1629
  isMine: boolean;
@@ -1647,9 +1640,9 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1647
1640
  creationCategory?: string | null | undefined;
1648
1641
  subject?: string | null | undefined;
1649
1642
  content?: string | null | undefined;
1643
+ sourceType?: string | null | undefined;
1650
1644
  date?: string | null | undefined;
1651
1645
  userId?: string | null | undefined;
1652
- sourceType?: string | null | undefined;
1653
1646
  employeeName?: string | null | undefined;
1654
1647
  visitTimeFrom?: string | null | undefined;
1655
1648
  visitTimeTo?: string | null | undefined;
@@ -1659,6 +1652,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1659
1652
  name?: string | null | undefined;
1660
1653
  affiliation?: string | null | undefined;
1661
1654
  }[];
1655
+ isRead: boolean;
1656
+ isStarred: boolean;
1662
1657
  labels: {
1663
1658
  id: number;
1664
1659
  color?: string | null | undefined;
@@ -1670,8 +1665,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1670
1665
  name?: string | null | undefined;
1671
1666
  text?: string | null | undefined;
1672
1667
  }[];
1673
- isRead: boolean;
1674
- isStarred: boolean;
1675
1668
  postedComments: {
1676
1669
  id: number;
1677
1670
  isMine: boolean;
@@ -1695,10 +1688,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1695
1688
  fileType: string | null;
1696
1689
  fileSize: number | null;
1697
1690
  state: "present" | "absent" | "unknown";
1691
+ hasThumbnail?: boolean | undefined;
1698
1692
  }[] | undefined;
1693
+ sourceType?: string | null | undefined;
1699
1694
  date?: string | null | undefined;
1700
1695
  userId?: string | null | undefined;
1701
- sourceType?: string | null | undefined;
1702
1696
  employeeName?: string | null | undefined;
1703
1697
  visitTimeFrom?: string | null | undefined;
1704
1698
  visitTimeTo?: string | null | undefined;
@@ -1709,7 +1703,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1709
1703
  }, "strip", z.ZodTypeAny, {
1710
1704
  type: "report-create";
1711
1705
  reportHubId: number;
1712
- clientTempId: string;
1713
1706
  report: {
1714
1707
  interviewers: {
1715
1708
  name?: string | null | undefined;
@@ -1722,7 +1715,10 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1722
1715
  fileType: string | null;
1723
1716
  fileSize: number | null;
1724
1717
  state: "present" | "absent" | "unknown";
1718
+ hasThumbnail: boolean;
1725
1719
  }[];
1720
+ isRead: boolean;
1721
+ isStarred: boolean;
1726
1722
  labels: {
1727
1723
  id: number;
1728
1724
  color?: string | null | undefined;
@@ -1734,8 +1730,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1734
1730
  name?: string | null | undefined;
1735
1731
  text?: string | null | undefined;
1736
1732
  }[];
1737
- isRead: boolean;
1738
- isStarred: boolean;
1739
1733
  postedComments: {
1740
1734
  id: number;
1741
1735
  isMine: boolean;
@@ -1752,24 +1746,26 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1752
1746
  creationCategory?: string | null | undefined;
1753
1747
  subject?: string | null | undefined;
1754
1748
  content?: string | null | undefined;
1749
+ sourceType?: string | null | undefined;
1755
1750
  date?: string | null | undefined;
1756
1751
  userId?: string | null | undefined;
1757
- sourceType?: string | null | undefined;
1758
1752
  employeeName?: string | null | undefined;
1759
1753
  visitTimeFrom?: string | null | undefined;
1760
1754
  visitTimeTo?: string | null | undefined;
1761
1755
  customerName?: string | null | undefined;
1762
1756
  };
1757
+ clientTempId: string;
1763
1758
  recipientRawUserId?: number | undefined;
1764
1759
  }, {
1765
1760
  type: "report-create";
1766
1761
  reportHubId: number;
1767
- clientTempId: string;
1768
1762
  report: {
1769
1763
  interviewers: {
1770
1764
  name?: string | null | undefined;
1771
1765
  affiliation?: string | null | undefined;
1772
1766
  }[];
1767
+ isRead: boolean;
1768
+ isStarred: boolean;
1773
1769
  labels: {
1774
1770
  id: number;
1775
1771
  color?: string | null | undefined;
@@ -1781,8 +1777,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1781
1777
  name?: string | null | undefined;
1782
1778
  text?: string | null | undefined;
1783
1779
  }[];
1784
- isRead: boolean;
1785
- isStarred: boolean;
1786
1780
  postedComments: {
1787
1781
  id: number;
1788
1782
  isMine: boolean;
@@ -1806,15 +1800,17 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1806
1800
  fileType: string | null;
1807
1801
  fileSize: number | null;
1808
1802
  state: "present" | "absent" | "unknown";
1803
+ hasThumbnail?: boolean | undefined;
1809
1804
  }[] | undefined;
1805
+ sourceType?: string | null | undefined;
1810
1806
  date?: string | null | undefined;
1811
1807
  userId?: string | null | undefined;
1812
- sourceType?: string | null | undefined;
1813
1808
  employeeName?: string | null | undefined;
1814
1809
  visitTimeFrom?: string | null | undefined;
1815
1810
  visitTimeTo?: string | null | undefined;
1816
1811
  customerName?: string | null | undefined;
1817
1812
  };
1813
+ clientTempId: string;
1818
1814
  recipientRawUserId?: number | undefined;
1819
1815
  }>,
1820
1816
  z.ZodObject<{
@@ -1908,6 +1904,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1908
1904
  "absent",
1909
1905
  "unknown"
1910
1906
  ]>;
1907
+ hasThumbnail: z.ZodDefault<z.ZodBoolean>;
1911
1908
  }, "strip", z.ZodTypeAny, {
1912
1909
  id: string;
1913
1910
  createdAt: string | null;
@@ -1915,6 +1912,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1915
1912
  fileType: string | null;
1916
1913
  fileSize: number | null;
1917
1914
  state: "present" | "absent" | "unknown";
1915
+ hasThumbnail: boolean;
1918
1916
  }, {
1919
1917
  id: string;
1920
1918
  createdAt: string | null;
@@ -1922,6 +1920,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1922
1920
  fileType: string | null;
1923
1921
  fileSize: number | null;
1924
1922
  state: "present" | "absent" | "unknown";
1923
+ hasThumbnail?: boolean | undefined;
1925
1924
  }>, "many">>;
1926
1925
  }, "strip", z.ZodTypeAny, {
1927
1926
  interviewers: {
@@ -1935,7 +1934,10 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1935
1934
  fileType: string | null;
1936
1935
  fileSize: number | null;
1937
1936
  state: "present" | "absent" | "unknown";
1937
+ hasThumbnail: boolean;
1938
1938
  }[];
1939
+ isRead: boolean;
1940
+ isStarred: boolean;
1939
1941
  labels: {
1940
1942
  id: number;
1941
1943
  color?: string | null | undefined;
@@ -1947,8 +1949,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1947
1949
  name?: string | null | undefined;
1948
1950
  text?: string | null | undefined;
1949
1951
  }[];
1950
- isRead: boolean;
1951
- isStarred: boolean;
1952
1952
  postedComments: {
1953
1953
  id: number;
1954
1954
  isMine: boolean;
@@ -1965,9 +1965,9 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1965
1965
  creationCategory?: string | null | undefined;
1966
1966
  subject?: string | null | undefined;
1967
1967
  content?: string | null | undefined;
1968
+ sourceType?: string | null | undefined;
1968
1969
  date?: string | null | undefined;
1969
1970
  userId?: string | null | undefined;
1970
- sourceType?: string | null | undefined;
1971
1971
  employeeName?: string | null | undefined;
1972
1972
  visitTimeFrom?: string | null | undefined;
1973
1973
  visitTimeTo?: string | null | undefined;
@@ -1977,6 +1977,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1977
1977
  name?: string | null | undefined;
1978
1978
  affiliation?: string | null | undefined;
1979
1979
  }[];
1980
+ isRead: boolean;
1981
+ isStarred: boolean;
1980
1982
  labels: {
1981
1983
  id: number;
1982
1984
  color?: string | null | undefined;
@@ -1988,8 +1990,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1988
1990
  name?: string | null | undefined;
1989
1991
  text?: string | null | undefined;
1990
1992
  }[];
1991
- isRead: boolean;
1992
- isStarred: boolean;
1993
1993
  postedComments: {
1994
1994
  id: number;
1995
1995
  isMine: boolean;
@@ -2013,10 +2013,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2013
2013
  fileType: string | null;
2014
2014
  fileSize: number | null;
2015
2015
  state: "present" | "absent" | "unknown";
2016
+ hasThumbnail?: boolean | undefined;
2016
2017
  }[] | undefined;
2018
+ sourceType?: string | null | undefined;
2017
2019
  date?: string | null | undefined;
2018
2020
  userId?: string | null | undefined;
2019
- sourceType?: string | null | undefined;
2020
2021
  employeeName?: string | null | undefined;
2021
2022
  visitTimeFrom?: string | null | undefined;
2022
2023
  visitTimeTo?: string | null | undefined;
@@ -2027,7 +2028,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2027
2028
  }, "strip", z.ZodTypeAny, {
2028
2029
  type: "report-update";
2029
2030
  reportHubId: number;
2030
- clientTempId: string;
2031
2031
  report: {
2032
2032
  interviewers: {
2033
2033
  name?: string | null | undefined;
@@ -2040,7 +2040,10 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2040
2040
  fileType: string | null;
2041
2041
  fileSize: number | null;
2042
2042
  state: "present" | "absent" | "unknown";
2043
+ hasThumbnail: boolean;
2043
2044
  }[];
2045
+ isRead: boolean;
2046
+ isStarred: boolean;
2044
2047
  labels: {
2045
2048
  id: number;
2046
2049
  color?: string | null | undefined;
@@ -2052,8 +2055,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2052
2055
  name?: string | null | undefined;
2053
2056
  text?: string | null | undefined;
2054
2057
  }[];
2055
- isRead: boolean;
2056
- isStarred: boolean;
2057
2058
  postedComments: {
2058
2059
  id: number;
2059
2060
  isMine: boolean;
@@ -2070,24 +2071,26 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2070
2071
  creationCategory?: string | null | undefined;
2071
2072
  subject?: string | null | undefined;
2072
2073
  content?: string | null | undefined;
2074
+ sourceType?: string | null | undefined;
2073
2075
  date?: string | null | undefined;
2074
2076
  userId?: string | null | undefined;
2075
- sourceType?: string | null | undefined;
2076
2077
  employeeName?: string | null | undefined;
2077
2078
  visitTimeFrom?: string | null | undefined;
2078
2079
  visitTimeTo?: string | null | undefined;
2079
2080
  customerName?: string | null | undefined;
2080
2081
  };
2082
+ clientTempId: string;
2081
2083
  recipientRawUserId?: number | undefined;
2082
2084
  }, {
2083
2085
  type: "report-update";
2084
2086
  reportHubId: number;
2085
- clientTempId: string;
2086
2087
  report: {
2087
2088
  interviewers: {
2088
2089
  name?: string | null | undefined;
2089
2090
  affiliation?: string | null | undefined;
2090
2091
  }[];
2092
+ isRead: boolean;
2093
+ isStarred: boolean;
2091
2094
  labels: {
2092
2095
  id: number;
2093
2096
  color?: string | null | undefined;
@@ -2099,8 +2102,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2099
2102
  name?: string | null | undefined;
2100
2103
  text?: string | null | undefined;
2101
2104
  }[];
2102
- isRead: boolean;
2103
- isStarred: boolean;
2104
2105
  postedComments: {
2105
2106
  id: number;
2106
2107
  isMine: boolean;
@@ -2124,15 +2125,17 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2124
2125
  fileType: string | null;
2125
2126
  fileSize: number | null;
2126
2127
  state: "present" | "absent" | "unknown";
2128
+ hasThumbnail?: boolean | undefined;
2127
2129
  }[] | undefined;
2130
+ sourceType?: string | null | undefined;
2128
2131
  date?: string | null | undefined;
2129
2132
  userId?: string | null | undefined;
2130
- sourceType?: string | null | undefined;
2131
2133
  employeeName?: string | null | undefined;
2132
2134
  visitTimeFrom?: string | null | undefined;
2133
2135
  visitTimeTo?: string | null | undefined;
2134
2136
  customerName?: string | null | undefined;
2135
2137
  };
2138
+ clientTempId: string;
2136
2139
  recipientRawUserId?: number | undefined;
2137
2140
  }>,
2138
2141
  z.ZodObject<{
@@ -2226,6 +2229,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2226
2229
  "absent",
2227
2230
  "unknown"
2228
2231
  ]>;
2232
+ hasThumbnail: z.ZodDefault<z.ZodBoolean>;
2229
2233
  }, "strip", z.ZodTypeAny, {
2230
2234
  id: string;
2231
2235
  createdAt: string | null;
@@ -2233,6 +2237,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2233
2237
  fileType: string | null;
2234
2238
  fileSize: number | null;
2235
2239
  state: "present" | "absent" | "unknown";
2240
+ hasThumbnail: boolean;
2236
2241
  }, {
2237
2242
  id: string;
2238
2243
  createdAt: string | null;
@@ -2240,6 +2245,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2240
2245
  fileType: string | null;
2241
2246
  fileSize: number | null;
2242
2247
  state: "present" | "absent" | "unknown";
2248
+ hasThumbnail?: boolean | undefined;
2243
2249
  }>, "many">>;
2244
2250
  }, "strip", z.ZodTypeAny, {
2245
2251
  interviewers: {
@@ -2253,7 +2259,10 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2253
2259
  fileType: string | null;
2254
2260
  fileSize: number | null;
2255
2261
  state: "present" | "absent" | "unknown";
2262
+ hasThumbnail: boolean;
2256
2263
  }[];
2264
+ isRead: boolean;
2265
+ isStarred: boolean;
2257
2266
  labels: {
2258
2267
  id: number;
2259
2268
  color?: string | null | undefined;
@@ -2265,8 +2274,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2265
2274
  name?: string | null | undefined;
2266
2275
  text?: string | null | undefined;
2267
2276
  }[];
2268
- isRead: boolean;
2269
- isStarred: boolean;
2270
2277
  postedComments: {
2271
2278
  id: number;
2272
2279
  isMine: boolean;
@@ -2283,9 +2290,9 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2283
2290
  creationCategory?: string | null | undefined;
2284
2291
  subject?: string | null | undefined;
2285
2292
  content?: string | null | undefined;
2293
+ sourceType?: string | null | undefined;
2286
2294
  date?: string | null | undefined;
2287
2295
  userId?: string | null | undefined;
2288
- sourceType?: string | null | undefined;
2289
2296
  employeeName?: string | null | undefined;
2290
2297
  visitTimeFrom?: string | null | undefined;
2291
2298
  visitTimeTo?: string | null | undefined;
@@ -2295,6 +2302,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2295
2302
  name?: string | null | undefined;
2296
2303
  affiliation?: string | null | undefined;
2297
2304
  }[];
2305
+ isRead: boolean;
2306
+ isStarred: boolean;
2298
2307
  labels: {
2299
2308
  id: number;
2300
2309
  color?: string | null | undefined;
@@ -2306,8 +2315,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2306
2315
  name?: string | null | undefined;
2307
2316
  text?: string | null | undefined;
2308
2317
  }[];
2309
- isRead: boolean;
2310
- isStarred: boolean;
2311
2318
  postedComments: {
2312
2319
  id: number;
2313
2320
  isMine: boolean;
@@ -2331,10 +2338,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2331
2338
  fileType: string | null;
2332
2339
  fileSize: number | null;
2333
2340
  state: "present" | "absent" | "unknown";
2341
+ hasThumbnail?: boolean | undefined;
2334
2342
  }[] | undefined;
2343
+ sourceType?: string | null | undefined;
2335
2344
  date?: string | null | undefined;
2336
2345
  userId?: string | null | undefined;
2337
- sourceType?: string | null | undefined;
2338
2346
  employeeName?: string | null | undefined;
2339
2347
  visitTimeFrom?: string | null | undefined;
2340
2348
  visitTimeTo?: string | null | undefined;
@@ -2345,7 +2353,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2345
2353
  }, "strip", z.ZodTypeAny, {
2346
2354
  type: "report-publish";
2347
2355
  reportHubId: number;
2348
- clientTempId: string;
2349
2356
  report: {
2350
2357
  interviewers: {
2351
2358
  name?: string | null | undefined;
@@ -2358,7 +2365,10 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2358
2365
  fileType: string | null;
2359
2366
  fileSize: number | null;
2360
2367
  state: "present" | "absent" | "unknown";
2368
+ hasThumbnail: boolean;
2361
2369
  }[];
2370
+ isRead: boolean;
2371
+ isStarred: boolean;
2362
2372
  labels: {
2363
2373
  id: number;
2364
2374
  color?: string | null | undefined;
@@ -2370,8 +2380,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2370
2380
  name?: string | null | undefined;
2371
2381
  text?: string | null | undefined;
2372
2382
  }[];
2373
- isRead: boolean;
2374
- isStarred: boolean;
2375
2383
  postedComments: {
2376
2384
  id: number;
2377
2385
  isMine: boolean;
@@ -2388,24 +2396,26 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2388
2396
  creationCategory?: string | null | undefined;
2389
2397
  subject?: string | null | undefined;
2390
2398
  content?: string | null | undefined;
2399
+ sourceType?: string | null | undefined;
2391
2400
  date?: string | null | undefined;
2392
2401
  userId?: string | null | undefined;
2393
- sourceType?: string | null | undefined;
2394
2402
  employeeName?: string | null | undefined;
2395
2403
  visitTimeFrom?: string | null | undefined;
2396
2404
  visitTimeTo?: string | null | undefined;
2397
2405
  customerName?: string | null | undefined;
2398
2406
  };
2407
+ clientTempId: string;
2399
2408
  recipientRawUserId?: number | undefined;
2400
2409
  }, {
2401
2410
  type: "report-publish";
2402
2411
  reportHubId: number;
2403
- clientTempId: string;
2404
2412
  report: {
2405
2413
  interviewers: {
2406
2414
  name?: string | null | undefined;
2407
2415
  affiliation?: string | null | undefined;
2408
2416
  }[];
2417
+ isRead: boolean;
2418
+ isStarred: boolean;
2409
2419
  labels: {
2410
2420
  id: number;
2411
2421
  color?: string | null | undefined;
@@ -2417,8 +2427,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2417
2427
  name?: string | null | undefined;
2418
2428
  text?: string | null | undefined;
2419
2429
  }[];
2420
- isRead: boolean;
2421
- isStarred: boolean;
2422
2430
  postedComments: {
2423
2431
  id: number;
2424
2432
  isMine: boolean;
@@ -2442,15 +2450,17 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2442
2450
  fileType: string | null;
2443
2451
  fileSize: number | null;
2444
2452
  state: "present" | "absent" | "unknown";
2453
+ hasThumbnail?: boolean | undefined;
2445
2454
  }[] | undefined;
2455
+ sourceType?: string | null | undefined;
2446
2456
  date?: string | null | undefined;
2447
2457
  userId?: string | null | undefined;
2448
- sourceType?: string | null | undefined;
2449
2458
  employeeName?: string | null | undefined;
2450
2459
  visitTimeFrom?: string | null | undefined;
2451
2460
  visitTimeTo?: string | null | undefined;
2452
2461
  customerName?: string | null | undefined;
2453
2462
  };
2463
+ clientTempId: string;
2454
2464
  recipientRawUserId?: number | undefined;
2455
2465
  }>,
2456
2466
  z.ZodObject<{
@@ -2471,6 +2481,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2471
2481
  }>
2472
2482
  ]>;
2473
2483
  type DailyReportSseMessage = z.infer<typeof dailyReportSseMessageSchema>;
2484
+ type UIComment = {
2485
+ id: string | number;
2486
+ authorName: string;
2487
+ content: string;
2488
+ createdAt?: string;
2489
+ isMine: boolean;
2490
+ color?: string;
2491
+ isLegacy: boolean;
2492
+ };
2493
+ declare const mergeComments: (legacyComments: DailyReportExternalComment[], modernComments: DailyReportPostedComment[], currentUserId: string | null | undefined, unknownAuthorName: string) => UIComment[];
2474
2494
  type DailyReportIdsStreamCursor = {
2475
2495
  businessDate: string | null;
2476
2496
  reportHubId: number;
@@ -2490,16 +2510,5 @@ type DailyReportSseStreamAnchor = {
2490
2510
  readonly lastEventId: string | null;
2491
2511
  readonly revision: number;
2492
2512
  };
2493
- type DailyReportIdsStreamErrorLine = {
2494
- kind: "error";
2495
- error: string;
2496
- };
2497
- type DailyReportIdsStreamLine = DailyReportIdsStreamChunkLine | DailyReportIdsStreamErrorLine;
2498
- declare const classifyIdsStreamLine: (line: unknown) => "chunk" | "error" | "unknown";
2499
2513
  declare const isIdsStreamChunkLine: (line: unknown) => line is DailyReportIdsStreamChunkLine;
2500
- declare const computeIdsStreamSnapshotToken: (items: readonly DailyReportItem[]) => string;
2501
- declare const compareIdsStreamOrder: (a: DailyReportIdsStreamCursor, b: DailyReportIdsStreamCursor) => number;
2502
- declare const isIdsStreamOrdered: (items: readonly DailyReportItem[]) => boolean;
2503
- declare const upsertInIdsStreamOrder: (items: readonly DailyReportItem[], item: DailyReportItem) => DailyReportItem[];
2504
- declare const findIdsStreamResumeIndex: (items: readonly DailyReportItem[], cursor: DailyReportIdsStreamCursor) => number;
2505
- export { mergeComments as A, reportCreateMessageSchema as B, reportDeleteMessageSchema as C, type DailyReportSseTerminalEvent as D, reportPublishMessageSchema as E, reportUpdateMessageSchema as F, resolveCommentColorClass as G, statusUpdateMessageSchema as H, upsertInIdsStreamOrder as I, type UIComment as U, type DailyReportSseMessage as a, type DailyReportSseStreamAnchor as b, DAILY_REPORT_SSE_CURSOR_PARAM as c, DAILY_REPORT_SSE_HEARTBEAT_MS as d, DAILY_REPORT_SSE_TERMINAL_EVENTS as e, type DailyReportIdsStreamChunkLine as f, type DailyReportIdsStreamCursor as g, type DailyReportIdsStreamErrorLine as h, type DailyReportIdsStreamLine as i, classifyIdsStreamLine as j, commentAddMessageSchema as k, commentDeleteMessageSchema as l, compareIdsStreamOrder as m, computeIdsStreamSnapshotToken as n, connectedMessageSchema as o, dailyReportAttachmentItemSchema as p, dailyReportDetailSchema as q, dailyReportExternalCommentSchema as r, dailyReportInterviewerSchema as s, dailyReportLabelDefSchema as t, dailyReportPostedCommentSchema as u, dailyReportSseMessageSchema as v, findIdsStreamResumeIndex as w, isDailyReportSseStreamId as x, isIdsStreamChunkLine as y, isIdsStreamOrdered as z };
2514
+ export { type DailyReportSseTerminalEvent as D, type UIComment as U, type DailyReportSseMessage as a, type DailyReportSseStreamAnchor as b, DAILY_REPORT_SSE_CURSOR_PARAM as c, DAILY_REPORT_SSE_HEARTBEAT_MS as d, DAILY_REPORT_SSE_TERMINAL_EVENTS as e, type DailyReportIdsStreamChunkLine as f, commentAddMessageSchema as g, commentDeleteMessageSchema as h, connectedMessageSchema as i, dailyReportDetailSchema as j, dailyReportExternalCommentSchema as k, dailyReportInterviewerSchema as l, dailyReportLabelDefSchema as m, dailyReportPostedCommentSchema as n, dailyReportSseMessageSchema as o, isDailyReportSseStreamId as p, isIdsStreamChunkLine as q, mergeComments as r, reportCreateMessageSchema as s, reportDeleteMessageSchema as t, reportPublishMessageSchema as u, reportUpdateMessageSchema as v, statusUpdateMessageSchema as w };