@aiquants/daily-report 0.38.0 → 0.40.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.
@@ -57,6 +57,7 @@ type DailyReportDetail = {
57
57
  externalComments: DailyReportExternalComment[];
58
58
  isRead: boolean;
59
59
  isStarred: boolean;
60
+ isDraft: boolean;
60
61
  labels: DailyReportLabelDef[];
61
62
  postedComments: DailyReportPostedComment[];
62
63
  attachments: DailyReportAttachmentSummary[];
@@ -72,6 +73,33 @@ type DailyReportUser = {
72
73
  value: string;
73
74
  }[];
74
75
  };
76
+ type DailyReportIdsStreamCursor = {
77
+ businessDate: string | null;
78
+ reportHubId: number;
79
+ };
80
+ type DailyReportIdsStreamChunkLine = {
81
+ kind: "chunk";
82
+ ids: number[];
83
+ dates: (string | null)[];
84
+ counts: number[];
85
+ sourceTypes: (string | null)[];
86
+ sources: number[];
87
+ nextCursor: DailyReportIdsStreamCursor | null;
88
+ isLast: boolean;
89
+ total?: number;
90
+ provisional?: boolean;
91
+ snapshot?: string;
92
+ restarted?: boolean;
93
+ streamAnchor?: string | null;
94
+ };
95
+ type DailyReportIdsStreamRowColumns = Pick<DailyReportIdsStreamChunkLine, "ids" | "dates" | "counts" | "sourceTypes" | "sources">;
96
+ type DailyReportSseStreamAnchor = {
97
+ readonly lastEventId: string | null;
98
+ readonly revision: number;
99
+ };
100
+ declare const isIdsStreamChunkLine: (line: unknown) => line is DailyReportIdsStreamChunkLine;
101
+ declare const forEachIdsStreamRow: (line: DailyReportIdsStreamRowColumns, visit: (reportHubId: number, businessDate: string | null, sourceType: string | undefined) => void) => void;
102
+ declare const encodeIdsStreamRows: (items: readonly DailyReportItem[], start: number, end: number) => DailyReportIdsStreamRowColumns;
75
103
  declare const DAILY_REPORT_SSE_TERMINAL_EVENTS: readonly [
76
104
  "auth-required",
77
105
  "forbidden",
@@ -181,6 +209,7 @@ declare const dailyReportDetailSchema: z.ZodObject<{
181
209
  }>, "many">;
182
210
  isRead: z.ZodBoolean;
183
211
  isStarred: z.ZodBoolean;
212
+ isDraft: z.ZodBoolean;
184
213
  labels: z.ZodArray<z.ZodObject<{
185
214
  id: z.ZodNumber;
186
215
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -258,6 +287,7 @@ declare const dailyReportDetailSchema: z.ZodObject<{
258
287
  }[];
259
288
  isRead: boolean;
260
289
  isStarred: boolean;
290
+ isDraft: boolean;
261
291
  labels: {
262
292
  id: number;
263
293
  color?: string | null | undefined;
@@ -280,8 +310,8 @@ declare const dailyReportDetailSchema: z.ZodObject<{
280
310
  state: "present" | "absent" | "unknown";
281
311
  hasThumbnail: boolean;
282
312
  }[];
283
- author?: string | null | undefined;
284
313
  sourceType?: string | null | undefined;
314
+ author?: string | null | undefined;
285
315
  userId?: string | null | undefined;
286
316
  content?: string | null | undefined;
287
317
  createdAt?: string | null | undefined;
@@ -308,6 +338,7 @@ declare const dailyReportDetailSchema: z.ZodObject<{
308
338
  }[];
309
339
  isRead: boolean;
310
340
  isStarred: boolean;
341
+ isDraft: boolean;
311
342
  labels: {
312
343
  id: number;
313
344
  color?: string | null | undefined;
@@ -321,8 +352,8 @@ declare const dailyReportDetailSchema: z.ZodObject<{
321
352
  content?: string | null | undefined;
322
353
  createdAt?: string | null | undefined;
323
354
  }[];
324
- author?: string | null | undefined;
325
355
  sourceType?: string | null | undefined;
356
+ author?: string | null | undefined;
326
357
  userId?: string | null | undefined;
327
358
  content?: string | null | undefined;
328
359
  createdAt?: string | null | undefined;
@@ -502,6 +533,7 @@ declare const reportCreateMessageSchema: z.ZodObject<{
502
533
  }>, "many">;
503
534
  isRead: z.ZodBoolean;
504
535
  isStarred: z.ZodBoolean;
536
+ isDraft: z.ZodBoolean;
505
537
  labels: z.ZodArray<z.ZodObject<{
506
538
  id: z.ZodNumber;
507
539
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -579,6 +611,7 @@ declare const reportCreateMessageSchema: z.ZodObject<{
579
611
  }[];
580
612
  isRead: boolean;
581
613
  isStarred: boolean;
614
+ isDraft: boolean;
582
615
  labels: {
583
616
  id: number;
584
617
  color?: string | null | undefined;
@@ -601,8 +634,8 @@ declare const reportCreateMessageSchema: z.ZodObject<{
601
634
  state: "present" | "absent" | "unknown";
602
635
  hasThumbnail: boolean;
603
636
  }[];
604
- author?: string | null | undefined;
605
637
  sourceType?: string | null | undefined;
638
+ author?: string | null | undefined;
606
639
  userId?: string | null | undefined;
607
640
  content?: string | null | undefined;
608
641
  createdAt?: string | null | undefined;
@@ -629,6 +662,7 @@ declare const reportCreateMessageSchema: z.ZodObject<{
629
662
  }[];
630
663
  isRead: boolean;
631
664
  isStarred: boolean;
665
+ isDraft: boolean;
632
666
  labels: {
633
667
  id: number;
634
668
  color?: string | null | undefined;
@@ -642,8 +676,8 @@ declare const reportCreateMessageSchema: z.ZodObject<{
642
676
  content?: string | null | undefined;
643
677
  createdAt?: string | null | undefined;
644
678
  }[];
645
- author?: string | null | undefined;
646
679
  sourceType?: string | null | undefined;
680
+ author?: string | null | undefined;
647
681
  userId?: string | null | undefined;
648
682
  content?: string | null | undefined;
649
683
  createdAt?: string | null | undefined;
@@ -671,6 +705,7 @@ declare const reportCreateMessageSchema: z.ZodObject<{
671
705
  recipientRawUserId: z.ZodOptional<z.ZodNumber>;
672
706
  }, "strip", z.ZodTypeAny, {
673
707
  type: "report-create";
708
+ reportHubId: number;
674
709
  report: {
675
710
  reportHubId: number;
676
711
  interviewers: {
@@ -684,6 +719,7 @@ declare const reportCreateMessageSchema: z.ZodObject<{
684
719
  }[];
685
720
  isRead: boolean;
686
721
  isStarred: boolean;
722
+ isDraft: boolean;
687
723
  labels: {
688
724
  id: number;
689
725
  color?: string | null | undefined;
@@ -706,8 +742,8 @@ declare const reportCreateMessageSchema: z.ZodObject<{
706
742
  state: "present" | "absent" | "unknown";
707
743
  hasThumbnail: boolean;
708
744
  }[];
709
- author?: string | null | undefined;
710
745
  sourceType?: string | null | undefined;
746
+ author?: string | null | undefined;
711
747
  userId?: string | null | undefined;
712
748
  content?: string | null | undefined;
713
749
  createdAt?: string | null | undefined;
@@ -722,11 +758,11 @@ declare const reportCreateMessageSchema: z.ZodObject<{
722
758
  customerName?: string | null | undefined;
723
759
  subject?: string | null | undefined;
724
760
  };
725
- reportHubId: number;
726
761
  clientTempId: string;
727
762
  recipientRawUserId?: number | undefined;
728
763
  }, {
729
764
  type: "report-create";
765
+ reportHubId: number;
730
766
  report: {
731
767
  reportHubId: number;
732
768
  interviewers: {
@@ -740,6 +776,7 @@ declare const reportCreateMessageSchema: z.ZodObject<{
740
776
  }[];
741
777
  isRead: boolean;
742
778
  isStarred: boolean;
779
+ isDraft: boolean;
743
780
  labels: {
744
781
  id: number;
745
782
  color?: string | null | undefined;
@@ -753,8 +790,8 @@ declare const reportCreateMessageSchema: z.ZodObject<{
753
790
  content?: string | null | undefined;
754
791
  createdAt?: string | null | undefined;
755
792
  }[];
756
- author?: string | null | undefined;
757
793
  sourceType?: string | null | undefined;
794
+ author?: string | null | undefined;
758
795
  userId?: string | null | undefined;
759
796
  content?: string | null | undefined;
760
797
  createdAt?: string | null | undefined;
@@ -778,7 +815,6 @@ declare const reportCreateMessageSchema: z.ZodObject<{
778
815
  hasThumbnail?: boolean | undefined;
779
816
  }[] | undefined;
780
817
  };
781
- reportHubId: number;
782
818
  clientTempId: string;
783
819
  recipientRawUserId?: number | undefined;
784
820
  }>;
@@ -827,6 +863,7 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
827
863
  }>, "many">;
828
864
  isRead: z.ZodBoolean;
829
865
  isStarred: z.ZodBoolean;
866
+ isDraft: z.ZodBoolean;
830
867
  labels: z.ZodArray<z.ZodObject<{
831
868
  id: z.ZodNumber;
832
869
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -904,6 +941,7 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
904
941
  }[];
905
942
  isRead: boolean;
906
943
  isStarred: boolean;
944
+ isDraft: boolean;
907
945
  labels: {
908
946
  id: number;
909
947
  color?: string | null | undefined;
@@ -926,8 +964,8 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
926
964
  state: "present" | "absent" | "unknown";
927
965
  hasThumbnail: boolean;
928
966
  }[];
929
- author?: string | null | undefined;
930
967
  sourceType?: string | null | undefined;
968
+ author?: string | null | undefined;
931
969
  userId?: string | null | undefined;
932
970
  content?: string | null | undefined;
933
971
  createdAt?: string | null | undefined;
@@ -954,6 +992,7 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
954
992
  }[];
955
993
  isRead: boolean;
956
994
  isStarred: boolean;
995
+ isDraft: boolean;
957
996
  labels: {
958
997
  id: number;
959
998
  color?: string | null | undefined;
@@ -967,8 +1006,8 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
967
1006
  content?: string | null | undefined;
968
1007
  createdAt?: string | null | undefined;
969
1008
  }[];
970
- author?: string | null | undefined;
971
1009
  sourceType?: string | null | undefined;
1010
+ author?: string | null | undefined;
972
1011
  userId?: string | null | undefined;
973
1012
  content?: string | null | undefined;
974
1013
  createdAt?: string | null | undefined;
@@ -996,6 +1035,7 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
996
1035
  recipientRawUserId: z.ZodOptional<z.ZodNumber>;
997
1036
  }, "strip", z.ZodTypeAny, {
998
1037
  type: "report-update";
1038
+ reportHubId: number;
999
1039
  report: {
1000
1040
  reportHubId: number;
1001
1041
  interviewers: {
@@ -1009,6 +1049,7 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
1009
1049
  }[];
1010
1050
  isRead: boolean;
1011
1051
  isStarred: boolean;
1052
+ isDraft: boolean;
1012
1053
  labels: {
1013
1054
  id: number;
1014
1055
  color?: string | null | undefined;
@@ -1031,8 +1072,8 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
1031
1072
  state: "present" | "absent" | "unknown";
1032
1073
  hasThumbnail: boolean;
1033
1074
  }[];
1034
- author?: string | null | undefined;
1035
1075
  sourceType?: string | null | undefined;
1076
+ author?: string | null | undefined;
1036
1077
  userId?: string | null | undefined;
1037
1078
  content?: string | null | undefined;
1038
1079
  createdAt?: string | null | undefined;
@@ -1047,11 +1088,11 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
1047
1088
  customerName?: string | null | undefined;
1048
1089
  subject?: string | null | undefined;
1049
1090
  };
1050
- reportHubId: number;
1051
1091
  clientTempId: string;
1052
1092
  recipientRawUserId?: number | undefined;
1053
1093
  }, {
1054
1094
  type: "report-update";
1095
+ reportHubId: number;
1055
1096
  report: {
1056
1097
  reportHubId: number;
1057
1098
  interviewers: {
@@ -1065,6 +1106,7 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
1065
1106
  }[];
1066
1107
  isRead: boolean;
1067
1108
  isStarred: boolean;
1109
+ isDraft: boolean;
1068
1110
  labels: {
1069
1111
  id: number;
1070
1112
  color?: string | null | undefined;
@@ -1078,8 +1120,8 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
1078
1120
  content?: string | null | undefined;
1079
1121
  createdAt?: string | null | undefined;
1080
1122
  }[];
1081
- author?: string | null | undefined;
1082
1123
  sourceType?: string | null | undefined;
1124
+ author?: string | null | undefined;
1083
1125
  userId?: string | null | undefined;
1084
1126
  content?: string | null | undefined;
1085
1127
  createdAt?: string | null | undefined;
@@ -1103,7 +1145,6 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
1103
1145
  hasThumbnail?: boolean | undefined;
1104
1146
  }[] | undefined;
1105
1147
  };
1106
- reportHubId: number;
1107
1148
  clientTempId: string;
1108
1149
  recipientRawUserId?: number | undefined;
1109
1150
  }>;
@@ -1152,6 +1193,7 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1152
1193
  }>, "many">;
1153
1194
  isRead: z.ZodBoolean;
1154
1195
  isStarred: z.ZodBoolean;
1196
+ isDraft: z.ZodBoolean;
1155
1197
  labels: z.ZodArray<z.ZodObject<{
1156
1198
  id: z.ZodNumber;
1157
1199
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1229,6 +1271,7 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1229
1271
  }[];
1230
1272
  isRead: boolean;
1231
1273
  isStarred: boolean;
1274
+ isDraft: boolean;
1232
1275
  labels: {
1233
1276
  id: number;
1234
1277
  color?: string | null | undefined;
@@ -1251,8 +1294,8 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1251
1294
  state: "present" | "absent" | "unknown";
1252
1295
  hasThumbnail: boolean;
1253
1296
  }[];
1254
- author?: string | null | undefined;
1255
1297
  sourceType?: string | null | undefined;
1298
+ author?: string | null | undefined;
1256
1299
  userId?: string | null | undefined;
1257
1300
  content?: string | null | undefined;
1258
1301
  createdAt?: string | null | undefined;
@@ -1279,6 +1322,7 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1279
1322
  }[];
1280
1323
  isRead: boolean;
1281
1324
  isStarred: boolean;
1325
+ isDraft: boolean;
1282
1326
  labels: {
1283
1327
  id: number;
1284
1328
  color?: string | null | undefined;
@@ -1292,8 +1336,8 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1292
1336
  content?: string | null | undefined;
1293
1337
  createdAt?: string | null | undefined;
1294
1338
  }[];
1295
- author?: string | null | undefined;
1296
1339
  sourceType?: string | null | undefined;
1340
+ author?: string | null | undefined;
1297
1341
  userId?: string | null | undefined;
1298
1342
  content?: string | null | undefined;
1299
1343
  createdAt?: string | null | undefined;
@@ -1321,6 +1365,7 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1321
1365
  recipientRawUserId: z.ZodOptional<z.ZodNumber>;
1322
1366
  }, "strip", z.ZodTypeAny, {
1323
1367
  type: "report-publish";
1368
+ reportHubId: number;
1324
1369
  report: {
1325
1370
  reportHubId: number;
1326
1371
  interviewers: {
@@ -1334,6 +1379,7 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1334
1379
  }[];
1335
1380
  isRead: boolean;
1336
1381
  isStarred: boolean;
1382
+ isDraft: boolean;
1337
1383
  labels: {
1338
1384
  id: number;
1339
1385
  color?: string | null | undefined;
@@ -1356,8 +1402,8 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1356
1402
  state: "present" | "absent" | "unknown";
1357
1403
  hasThumbnail: boolean;
1358
1404
  }[];
1359
- author?: string | null | undefined;
1360
1405
  sourceType?: string | null | undefined;
1406
+ author?: string | null | undefined;
1361
1407
  userId?: string | null | undefined;
1362
1408
  content?: string | null | undefined;
1363
1409
  createdAt?: string | null | undefined;
@@ -1372,11 +1418,11 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1372
1418
  customerName?: string | null | undefined;
1373
1419
  subject?: string | null | undefined;
1374
1420
  };
1375
- reportHubId: number;
1376
1421
  clientTempId: string;
1377
1422
  recipientRawUserId?: number | undefined;
1378
1423
  }, {
1379
1424
  type: "report-publish";
1425
+ reportHubId: number;
1380
1426
  report: {
1381
1427
  reportHubId: number;
1382
1428
  interviewers: {
@@ -1390,6 +1436,7 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1390
1436
  }[];
1391
1437
  isRead: boolean;
1392
1438
  isStarred: boolean;
1439
+ isDraft: boolean;
1393
1440
  labels: {
1394
1441
  id: number;
1395
1442
  color?: string | null | undefined;
@@ -1403,8 +1450,8 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1403
1450
  content?: string | null | undefined;
1404
1451
  createdAt?: string | null | undefined;
1405
1452
  }[];
1406
- author?: string | null | undefined;
1407
1453
  sourceType?: string | null | undefined;
1454
+ author?: string | null | undefined;
1408
1455
  userId?: string | null | undefined;
1409
1456
  content?: string | null | undefined;
1410
1457
  createdAt?: string | null | undefined;
@@ -1428,7 +1475,6 @@ declare const reportPublishMessageSchema: z.ZodObject<{
1428
1475
  hasThumbnail?: boolean | undefined;
1429
1476
  }[] | undefined;
1430
1477
  };
1431
- reportHubId: number;
1432
1478
  clientTempId: string;
1433
1479
  recipientRawUserId?: number | undefined;
1434
1480
  }>;
@@ -1605,6 +1651,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1605
1651
  }>, "many">;
1606
1652
  isRead: z.ZodBoolean;
1607
1653
  isStarred: z.ZodBoolean;
1654
+ isDraft: z.ZodBoolean;
1608
1655
  labels: z.ZodArray<z.ZodObject<{
1609
1656
  id: z.ZodNumber;
1610
1657
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1682,6 +1729,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1682
1729
  }[];
1683
1730
  isRead: boolean;
1684
1731
  isStarred: boolean;
1732
+ isDraft: boolean;
1685
1733
  labels: {
1686
1734
  id: number;
1687
1735
  color?: string | null | undefined;
@@ -1704,8 +1752,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1704
1752
  state: "present" | "absent" | "unknown";
1705
1753
  hasThumbnail: boolean;
1706
1754
  }[];
1707
- author?: string | null | undefined;
1708
1755
  sourceType?: string | null | undefined;
1756
+ author?: string | null | undefined;
1709
1757
  userId?: string | null | undefined;
1710
1758
  content?: string | null | undefined;
1711
1759
  createdAt?: string | null | undefined;
@@ -1732,6 +1780,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1732
1780
  }[];
1733
1781
  isRead: boolean;
1734
1782
  isStarred: boolean;
1783
+ isDraft: boolean;
1735
1784
  labels: {
1736
1785
  id: number;
1737
1786
  color?: string | null | undefined;
@@ -1745,8 +1794,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1745
1794
  content?: string | null | undefined;
1746
1795
  createdAt?: string | null | undefined;
1747
1796
  }[];
1748
- author?: string | null | undefined;
1749
1797
  sourceType?: string | null | undefined;
1798
+ author?: string | null | undefined;
1750
1799
  userId?: string | null | undefined;
1751
1800
  content?: string | null | undefined;
1752
1801
  createdAt?: string | null | undefined;
@@ -1774,6 +1823,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1774
1823
  recipientRawUserId: z.ZodOptional<z.ZodNumber>;
1775
1824
  }, "strip", z.ZodTypeAny, {
1776
1825
  type: "report-create";
1826
+ reportHubId: number;
1777
1827
  report: {
1778
1828
  reportHubId: number;
1779
1829
  interviewers: {
@@ -1787,6 +1837,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1787
1837
  }[];
1788
1838
  isRead: boolean;
1789
1839
  isStarred: boolean;
1840
+ isDraft: boolean;
1790
1841
  labels: {
1791
1842
  id: number;
1792
1843
  color?: string | null | undefined;
@@ -1809,8 +1860,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1809
1860
  state: "present" | "absent" | "unknown";
1810
1861
  hasThumbnail: boolean;
1811
1862
  }[];
1812
- author?: string | null | undefined;
1813
1863
  sourceType?: string | null | undefined;
1864
+ author?: string | null | undefined;
1814
1865
  userId?: string | null | undefined;
1815
1866
  content?: string | null | undefined;
1816
1867
  createdAt?: string | null | undefined;
@@ -1825,11 +1876,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1825
1876
  customerName?: string | null | undefined;
1826
1877
  subject?: string | null | undefined;
1827
1878
  };
1828
- reportHubId: number;
1829
1879
  clientTempId: string;
1830
1880
  recipientRawUserId?: number | undefined;
1831
1881
  }, {
1832
1882
  type: "report-create";
1883
+ reportHubId: number;
1833
1884
  report: {
1834
1885
  reportHubId: number;
1835
1886
  interviewers: {
@@ -1843,6 +1894,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1843
1894
  }[];
1844
1895
  isRead: boolean;
1845
1896
  isStarred: boolean;
1897
+ isDraft: boolean;
1846
1898
  labels: {
1847
1899
  id: number;
1848
1900
  color?: string | null | undefined;
@@ -1856,8 +1908,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1856
1908
  content?: string | null | undefined;
1857
1909
  createdAt?: string | null | undefined;
1858
1910
  }[];
1859
- author?: string | null | undefined;
1860
1911
  sourceType?: string | null | undefined;
1912
+ author?: string | null | undefined;
1861
1913
  userId?: string | null | undefined;
1862
1914
  content?: string | null | undefined;
1863
1915
  createdAt?: string | null | undefined;
@@ -1881,7 +1933,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1881
1933
  hasThumbnail?: boolean | undefined;
1882
1934
  }[] | undefined;
1883
1935
  };
1884
- reportHubId: number;
1885
1936
  clientTempId: string;
1886
1937
  recipientRawUserId?: number | undefined;
1887
1938
  }>,
@@ -1930,6 +1981,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1930
1981
  }>, "many">;
1931
1982
  isRead: z.ZodBoolean;
1932
1983
  isStarred: z.ZodBoolean;
1984
+ isDraft: z.ZodBoolean;
1933
1985
  labels: z.ZodArray<z.ZodObject<{
1934
1986
  id: z.ZodNumber;
1935
1987
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2007,6 +2059,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2007
2059
  }[];
2008
2060
  isRead: boolean;
2009
2061
  isStarred: boolean;
2062
+ isDraft: boolean;
2010
2063
  labels: {
2011
2064
  id: number;
2012
2065
  color?: string | null | undefined;
@@ -2029,8 +2082,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2029
2082
  state: "present" | "absent" | "unknown";
2030
2083
  hasThumbnail: boolean;
2031
2084
  }[];
2032
- author?: string | null | undefined;
2033
2085
  sourceType?: string | null | undefined;
2086
+ author?: string | null | undefined;
2034
2087
  userId?: string | null | undefined;
2035
2088
  content?: string | null | undefined;
2036
2089
  createdAt?: string | null | undefined;
@@ -2057,6 +2110,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2057
2110
  }[];
2058
2111
  isRead: boolean;
2059
2112
  isStarred: boolean;
2113
+ isDraft: boolean;
2060
2114
  labels: {
2061
2115
  id: number;
2062
2116
  color?: string | null | undefined;
@@ -2070,8 +2124,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2070
2124
  content?: string | null | undefined;
2071
2125
  createdAt?: string | null | undefined;
2072
2126
  }[];
2073
- author?: string | null | undefined;
2074
2127
  sourceType?: string | null | undefined;
2128
+ author?: string | null | undefined;
2075
2129
  userId?: string | null | undefined;
2076
2130
  content?: string | null | undefined;
2077
2131
  createdAt?: string | null | undefined;
@@ -2099,6 +2153,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2099
2153
  recipientRawUserId: z.ZodOptional<z.ZodNumber>;
2100
2154
  }, "strip", z.ZodTypeAny, {
2101
2155
  type: "report-update";
2156
+ reportHubId: number;
2102
2157
  report: {
2103
2158
  reportHubId: number;
2104
2159
  interviewers: {
@@ -2112,6 +2167,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2112
2167
  }[];
2113
2168
  isRead: boolean;
2114
2169
  isStarred: boolean;
2170
+ isDraft: boolean;
2115
2171
  labels: {
2116
2172
  id: number;
2117
2173
  color?: string | null | undefined;
@@ -2134,8 +2190,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2134
2190
  state: "present" | "absent" | "unknown";
2135
2191
  hasThumbnail: boolean;
2136
2192
  }[];
2137
- author?: string | null | undefined;
2138
2193
  sourceType?: string | null | undefined;
2194
+ author?: string | null | undefined;
2139
2195
  userId?: string | null | undefined;
2140
2196
  content?: string | null | undefined;
2141
2197
  createdAt?: string | null | undefined;
@@ -2150,11 +2206,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2150
2206
  customerName?: string | null | undefined;
2151
2207
  subject?: string | null | undefined;
2152
2208
  };
2153
- reportHubId: number;
2154
2209
  clientTempId: string;
2155
2210
  recipientRawUserId?: number | undefined;
2156
2211
  }, {
2157
2212
  type: "report-update";
2213
+ reportHubId: number;
2158
2214
  report: {
2159
2215
  reportHubId: number;
2160
2216
  interviewers: {
@@ -2168,6 +2224,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2168
2224
  }[];
2169
2225
  isRead: boolean;
2170
2226
  isStarred: boolean;
2227
+ isDraft: boolean;
2171
2228
  labels: {
2172
2229
  id: number;
2173
2230
  color?: string | null | undefined;
@@ -2181,8 +2238,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2181
2238
  content?: string | null | undefined;
2182
2239
  createdAt?: string | null | undefined;
2183
2240
  }[];
2184
- author?: string | null | undefined;
2185
2241
  sourceType?: string | null | undefined;
2242
+ author?: string | null | undefined;
2186
2243
  userId?: string | null | undefined;
2187
2244
  content?: string | null | undefined;
2188
2245
  createdAt?: string | null | undefined;
@@ -2206,7 +2263,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2206
2263
  hasThumbnail?: boolean | undefined;
2207
2264
  }[] | undefined;
2208
2265
  };
2209
- reportHubId: number;
2210
2266
  clientTempId: string;
2211
2267
  recipientRawUserId?: number | undefined;
2212
2268
  }>,
@@ -2255,6 +2311,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2255
2311
  }>, "many">;
2256
2312
  isRead: z.ZodBoolean;
2257
2313
  isStarred: z.ZodBoolean;
2314
+ isDraft: z.ZodBoolean;
2258
2315
  labels: z.ZodArray<z.ZodObject<{
2259
2316
  id: z.ZodNumber;
2260
2317
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2332,6 +2389,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2332
2389
  }[];
2333
2390
  isRead: boolean;
2334
2391
  isStarred: boolean;
2392
+ isDraft: boolean;
2335
2393
  labels: {
2336
2394
  id: number;
2337
2395
  color?: string | null | undefined;
@@ -2354,8 +2412,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2354
2412
  state: "present" | "absent" | "unknown";
2355
2413
  hasThumbnail: boolean;
2356
2414
  }[];
2357
- author?: string | null | undefined;
2358
2415
  sourceType?: string | null | undefined;
2416
+ author?: string | null | undefined;
2359
2417
  userId?: string | null | undefined;
2360
2418
  content?: string | null | undefined;
2361
2419
  createdAt?: string | null | undefined;
@@ -2382,6 +2440,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2382
2440
  }[];
2383
2441
  isRead: boolean;
2384
2442
  isStarred: boolean;
2443
+ isDraft: boolean;
2385
2444
  labels: {
2386
2445
  id: number;
2387
2446
  color?: string | null | undefined;
@@ -2395,8 +2454,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2395
2454
  content?: string | null | undefined;
2396
2455
  createdAt?: string | null | undefined;
2397
2456
  }[];
2398
- author?: string | null | undefined;
2399
2457
  sourceType?: string | null | undefined;
2458
+ author?: string | null | undefined;
2400
2459
  userId?: string | null | undefined;
2401
2460
  content?: string | null | undefined;
2402
2461
  createdAt?: string | null | undefined;
@@ -2424,6 +2483,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2424
2483
  recipientRawUserId: z.ZodOptional<z.ZodNumber>;
2425
2484
  }, "strip", z.ZodTypeAny, {
2426
2485
  type: "report-publish";
2486
+ reportHubId: number;
2427
2487
  report: {
2428
2488
  reportHubId: number;
2429
2489
  interviewers: {
@@ -2437,6 +2497,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2437
2497
  }[];
2438
2498
  isRead: boolean;
2439
2499
  isStarred: boolean;
2500
+ isDraft: boolean;
2440
2501
  labels: {
2441
2502
  id: number;
2442
2503
  color?: string | null | undefined;
@@ -2459,8 +2520,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2459
2520
  state: "present" | "absent" | "unknown";
2460
2521
  hasThumbnail: boolean;
2461
2522
  }[];
2462
- author?: string | null | undefined;
2463
2523
  sourceType?: string | null | undefined;
2524
+ author?: string | null | undefined;
2464
2525
  userId?: string | null | undefined;
2465
2526
  content?: string | null | undefined;
2466
2527
  createdAt?: string | null | undefined;
@@ -2475,11 +2536,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2475
2536
  customerName?: string | null | undefined;
2476
2537
  subject?: string | null | undefined;
2477
2538
  };
2478
- reportHubId: number;
2479
2539
  clientTempId: string;
2480
2540
  recipientRawUserId?: number | undefined;
2481
2541
  }, {
2482
2542
  type: "report-publish";
2543
+ reportHubId: number;
2483
2544
  report: {
2484
2545
  reportHubId: number;
2485
2546
  interviewers: {
@@ -2493,6 +2554,7 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2493
2554
  }[];
2494
2555
  isRead: boolean;
2495
2556
  isStarred: boolean;
2557
+ isDraft: boolean;
2496
2558
  labels: {
2497
2559
  id: number;
2498
2560
  color?: string | null | undefined;
@@ -2506,8 +2568,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2506
2568
  content?: string | null | undefined;
2507
2569
  createdAt?: string | null | undefined;
2508
2570
  }[];
2509
- author?: string | null | undefined;
2510
2571
  sourceType?: string | null | undefined;
2572
+ author?: string | null | undefined;
2511
2573
  userId?: string | null | undefined;
2512
2574
  content?: string | null | undefined;
2513
2575
  createdAt?: string | null | undefined;
@@ -2531,7 +2593,6 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2531
2593
  hasThumbnail?: boolean | undefined;
2532
2594
  }[] | undefined;
2533
2595
  };
2534
- reportHubId: number;
2535
2596
  clientTempId: string;
2536
2597
  recipientRawUserId?: number | undefined;
2537
2598
  }>,
@@ -2553,4 +2614,4 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
2553
2614
  }>
2554
2615
  ]>;
2555
2616
  type DailyReportSseMessage = z.infer<typeof dailyReportSseMessageSchema>;
2556
- export { reportUpdateMessageSchema as A, statusUpdateMessageSchema as B, type DailyReportItem as D, type DailyReportUser as a, type DailyReportSseTerminalEvent as b, type DailyReportSseMessage as c, type DailyReportDetail as d, DAILY_REPORT_SSE_CURSOR_PARAM as e, DAILY_REPORT_SSE_HEARTBEAT_MS as f, DAILY_REPORT_SSE_TERMINAL_EVENTS as g, type DailyReportAttachmentState as h, type DailyReportAttachmentSummary as i, type DailyReportExternalComment as j, type DailyReportInterviewer as k, type DailyReportLabelDef as l, type DailyReportPostedComment as m, commentAddMessageSchema as n, commentDeleteMessageSchema as o, connectedMessageSchema as p, dailyReportDetailSchema as q, dailyReportExternalCommentSchema as r, dailyReportInterviewerSchema as s, dailyReportLabelDefSchema as t, dailyReportPostedCommentSchema as u, dailyReportSseMessageSchema as v, isDailyReportSseStreamId as w, reportCreateMessageSchema as x, reportDeleteMessageSchema as y, reportPublishMessageSchema as z };
2617
+ export { forEachIdsStreamRow as A, isDailyReportSseStreamId as B, isIdsStreamChunkLine as C, type DailyReportItem as D, reportCreateMessageSchema as E, reportDeleteMessageSchema as F, reportPublishMessageSchema as G, reportUpdateMessageSchema as H, statusUpdateMessageSchema as I, encodeIdsStreamRows as J, type DailyReportSseStreamAnchor as a, type DailyReportUser as b, type DailyReportSseTerminalEvent as c, type DailyReportSseMessage as d, type DailyReportDetail as e, DAILY_REPORT_SSE_CURSOR_PARAM as f, DAILY_REPORT_SSE_HEARTBEAT_MS as g, DAILY_REPORT_SSE_TERMINAL_EVENTS as h, type DailyReportAttachmentState as i, type DailyReportAttachmentSummary as j, type DailyReportExternalComment as k, type DailyReportIdsStreamChunkLine as l, type DailyReportIdsStreamCursor as m, type DailyReportIdsStreamRowColumns as n, type DailyReportInterviewer as o, type DailyReportLabelDef as p, type DailyReportPostedComment as q, commentAddMessageSchema as r, commentDeleteMessageSchema as s, connectedMessageSchema as t, dailyReportDetailSchema as u, dailyReportExternalCommentSchema as v, dailyReportInterviewerSchema as w, dailyReportLabelDefSchema as x, dailyReportPostedCommentSchema as y, dailyReportSseMessageSchema as z };