@aiquants/daily-report 0.40.0 → 0.42.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,2617 +0,0 @@
1
- import { z } from "zod";
2
- type DailyReportItem = {
3
- reportHubId: number;
4
- businessDate: string | null;
5
- sourceType?: string;
6
- };
7
- type DailyReportInterviewer = {
8
- name?: string | null;
9
- affiliation?: string | null;
10
- };
11
- type DailyReportExternalComment = {
12
- name?: string | null;
13
- text?: string | null;
14
- color?: string | null;
15
- };
16
- type DailyReportLabelDef = {
17
- id: number;
18
- name?: string | null;
19
- color?: string | null;
20
- };
21
- type DailyReportAttachmentState = "present" | "absent" | "unknown";
22
- type DailyReportAttachmentSummary = {
23
- id: string;
24
- fileName: string;
25
- fileType: string | null;
26
- fileSize: number | null;
27
- createdAt: string | null;
28
- state: DailyReportAttachmentState;
29
- hasThumbnail: boolean;
30
- };
31
- type DailyReportPostedComment = {
32
- id: number;
33
- userId?: string | null;
34
- userName?: string | null;
35
- content?: string | null;
36
- createdAt?: string | null;
37
- isMine: boolean;
38
- };
39
- type DailyReportDetail = {
40
- reportHubId: number;
41
- date?: string | null;
42
- createdAt?: string | null;
43
- author?: string | null;
44
- userId?: string | null;
45
- sourceType?: string | null;
46
- employeeName?: string | null;
47
- updatedBy?: string | null;
48
- updatedAt?: string | null;
49
- category?: string | null;
50
- creationCategory?: string | null;
51
- visitTimeFrom?: string | null;
52
- visitTimeTo?: string | null;
53
- customerName?: string | null;
54
- interviewers: DailyReportInterviewer[];
55
- subject?: string | null;
56
- content?: string | null;
57
- externalComments: DailyReportExternalComment[];
58
- isRead: boolean;
59
- isStarred: boolean;
60
- isDraft: boolean;
61
- labels: DailyReportLabelDef[];
62
- postedComments: DailyReportPostedComment[];
63
- attachments: DailyReportAttachmentSummary[];
64
- };
65
- type DailyReportUser = {
66
- id: string;
67
- displayName?: string;
68
- name?: {
69
- familyName?: string;
70
- givenName?: string;
71
- };
72
- emails?: {
73
- value: string;
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;
103
- declare const DAILY_REPORT_SSE_TERMINAL_EVENTS: readonly [
104
- "auth-required",
105
- "forbidden",
106
- "resync-required"
107
- ];
108
- type DailyReportSseTerminalEvent = (typeof DAILY_REPORT_SSE_TERMINAL_EVENTS)[number];
109
- declare const DAILY_REPORT_SSE_HEARTBEAT_MS = 15000;
110
- declare const DAILY_REPORT_SSE_CURSOR_PARAM = "lastEventId";
111
- declare const isDailyReportSseStreamId: (value: string) => boolean;
112
- declare const dailyReportInterviewerSchema: z.ZodObject<{
113
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
114
- affiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
- }, "strip", z.ZodTypeAny, {
116
- name?: string | null | undefined;
117
- affiliation?: string | null | undefined;
118
- }, {
119
- name?: string | null | undefined;
120
- affiliation?: string | null | undefined;
121
- }>;
122
- declare const dailyReportExternalCommentSchema: z.ZodObject<{
123
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
- text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
- }, "strip", z.ZodTypeAny, {
127
- color?: string | null | undefined;
128
- name?: string | null | undefined;
129
- text?: string | null | undefined;
130
- }, {
131
- color?: string | null | undefined;
132
- name?: string | null | undefined;
133
- text?: string | null | undefined;
134
- }>;
135
- declare const dailyReportLabelDefSchema: z.ZodObject<{
136
- id: z.ZodNumber;
137
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
- }, "strip", z.ZodTypeAny, {
140
- id: number;
141
- color?: string | null | undefined;
142
- name?: string | null | undefined;
143
- }, {
144
- id: number;
145
- color?: string | null | undefined;
146
- name?: string | null | undefined;
147
- }>;
148
- declare const dailyReportPostedCommentSchema: z.ZodObject<{
149
- id: z.ZodNumber;
150
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
- userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
- isMine: z.ZodBoolean;
155
- }, "strip", z.ZodTypeAny, {
156
- id: number;
157
- isMine: boolean;
158
- userId?: string | null | undefined;
159
- userName?: string | null | undefined;
160
- content?: string | null | undefined;
161
- createdAt?: string | null | undefined;
162
- }, {
163
- id: number;
164
- isMine: boolean;
165
- userId?: string | null | undefined;
166
- userName?: string | null | undefined;
167
- content?: string | null | undefined;
168
- createdAt?: string | null | undefined;
169
- }>;
170
- declare const dailyReportDetailSchema: z.ZodObject<{
171
- reportHubId: z.ZodNumber;
172
- date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
174
- author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
175
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
- sourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
177
- employeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
178
- updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
179
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
- category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
181
- creationCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
182
- visitTimeFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
183
- visitTimeTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
- customerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
- interviewers: z.ZodArray<z.ZodObject<{
186
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
- affiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
- }, "strip", z.ZodTypeAny, {
189
- name?: string | null | undefined;
190
- affiliation?: string | null | undefined;
191
- }, {
192
- name?: string | null | undefined;
193
- affiliation?: string | null | undefined;
194
- }>, "many">;
195
- subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
- externalComments: z.ZodArray<z.ZodObject<{
198
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
- text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
- }, "strip", z.ZodTypeAny, {
202
- color?: string | null | undefined;
203
- name?: string | null | undefined;
204
- text?: string | null | undefined;
205
- }, {
206
- color?: string | null | undefined;
207
- name?: string | null | undefined;
208
- text?: string | null | undefined;
209
- }>, "many">;
210
- isRead: z.ZodBoolean;
211
- isStarred: z.ZodBoolean;
212
- isDraft: z.ZodBoolean;
213
- labels: z.ZodArray<z.ZodObject<{
214
- id: z.ZodNumber;
215
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
216
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
- }, "strip", z.ZodTypeAny, {
218
- id: number;
219
- color?: string | null | undefined;
220
- name?: string | null | undefined;
221
- }, {
222
- id: number;
223
- color?: string | null | undefined;
224
- name?: string | null | undefined;
225
- }>, "many">;
226
- postedComments: z.ZodArray<z.ZodObject<{
227
- id: z.ZodNumber;
228
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
229
- userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
- isMine: z.ZodBoolean;
233
- }, "strip", z.ZodTypeAny, {
234
- id: number;
235
- isMine: boolean;
236
- userId?: string | null | undefined;
237
- userName?: string | null | undefined;
238
- content?: string | null | undefined;
239
- createdAt?: string | null | undefined;
240
- }, {
241
- id: number;
242
- isMine: boolean;
243
- userId?: string | null | undefined;
244
- userName?: string | null | undefined;
245
- content?: string | null | undefined;
246
- createdAt?: string | null | undefined;
247
- }>, "many">;
248
- attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
249
- id: z.ZodString;
250
- fileName: z.ZodString;
251
- fileType: z.ZodNullable<z.ZodString>;
252
- fileSize: z.ZodNullable<z.ZodNumber>;
253
- createdAt: z.ZodNullable<z.ZodString>;
254
- state: z.ZodEnum<[
255
- "present",
256
- "absent",
257
- "unknown"
258
- ]>;
259
- hasThumbnail: z.ZodDefault<z.ZodBoolean>;
260
- }, "strip", z.ZodTypeAny, {
261
- id: string;
262
- createdAt: string | null;
263
- fileName: string;
264
- fileType: string | null;
265
- fileSize: number | null;
266
- state: "present" | "absent" | "unknown";
267
- hasThumbnail: boolean;
268
- }, {
269
- id: string;
270
- createdAt: string | null;
271
- fileName: string;
272
- fileType: string | null;
273
- fileSize: number | null;
274
- state: "present" | "absent" | "unknown";
275
- hasThumbnail?: boolean | undefined;
276
- }>, "many">>;
277
- }, "strip", z.ZodTypeAny, {
278
- reportHubId: number;
279
- interviewers: {
280
- name?: string | null | undefined;
281
- affiliation?: string | null | undefined;
282
- }[];
283
- externalComments: {
284
- color?: string | null | undefined;
285
- name?: string | null | undefined;
286
- text?: string | null | undefined;
287
- }[];
288
- isRead: boolean;
289
- isStarred: boolean;
290
- isDraft: boolean;
291
- labels: {
292
- id: number;
293
- color?: string | null | undefined;
294
- name?: string | null | undefined;
295
- }[];
296
- postedComments: {
297
- id: number;
298
- isMine: boolean;
299
- userId?: string | null | undefined;
300
- userName?: string | null | undefined;
301
- content?: string | null | undefined;
302
- createdAt?: string | null | undefined;
303
- }[];
304
- attachments: {
305
- id: string;
306
- createdAt: string | null;
307
- fileName: string;
308
- fileType: string | null;
309
- fileSize: number | null;
310
- state: "present" | "absent" | "unknown";
311
- hasThumbnail: boolean;
312
- }[];
313
- sourceType?: string | null | undefined;
314
- author?: string | null | undefined;
315
- userId?: string | null | undefined;
316
- content?: string | null | undefined;
317
- createdAt?: string | null | undefined;
318
- date?: string | null | undefined;
319
- employeeName?: string | null | undefined;
320
- updatedBy?: string | null | undefined;
321
- updatedAt?: string | null | undefined;
322
- category?: string | null | undefined;
323
- creationCategory?: string | null | undefined;
324
- visitTimeFrom?: string | null | undefined;
325
- visitTimeTo?: string | null | undefined;
326
- customerName?: string | null | undefined;
327
- subject?: string | null | undefined;
328
- }, {
329
- reportHubId: number;
330
- interviewers: {
331
- name?: string | null | undefined;
332
- affiliation?: string | null | undefined;
333
- }[];
334
- externalComments: {
335
- color?: string | null | undefined;
336
- name?: string | null | undefined;
337
- text?: string | null | undefined;
338
- }[];
339
- isRead: boolean;
340
- isStarred: boolean;
341
- isDraft: boolean;
342
- labels: {
343
- id: number;
344
- color?: string | null | undefined;
345
- name?: string | null | undefined;
346
- }[];
347
- postedComments: {
348
- id: number;
349
- isMine: boolean;
350
- userId?: string | null | undefined;
351
- userName?: string | null | undefined;
352
- content?: string | null | undefined;
353
- createdAt?: string | null | undefined;
354
- }[];
355
- sourceType?: string | null | undefined;
356
- author?: string | null | undefined;
357
- userId?: string | null | undefined;
358
- content?: string | null | undefined;
359
- createdAt?: string | null | undefined;
360
- date?: string | null | undefined;
361
- employeeName?: string | null | undefined;
362
- updatedBy?: string | null | undefined;
363
- updatedAt?: string | null | undefined;
364
- category?: string | null | undefined;
365
- creationCategory?: string | null | undefined;
366
- visitTimeFrom?: string | null | undefined;
367
- visitTimeTo?: string | null | undefined;
368
- customerName?: string | null | undefined;
369
- subject?: string | null | undefined;
370
- attachments?: {
371
- id: string;
372
- createdAt: string | null;
373
- fileName: string;
374
- fileType: string | null;
375
- fileSize: number | null;
376
- state: "present" | "absent" | "unknown";
377
- hasThumbnail?: boolean | undefined;
378
- }[] | undefined;
379
- }>;
380
- declare const connectedMessageSchema: z.ZodObject<{
381
- type: z.ZodLiteral<"connected">;
382
- }, "strip", z.ZodTypeAny, {
383
- type: "connected";
384
- }, {
385
- type: "connected";
386
- }>;
387
- declare const statusUpdateMessageSchema: z.ZodObject<{
388
- type: z.ZodLiteral<"status-update">;
389
- reportHubId: z.ZodNumber;
390
- statusType: z.ZodEnum<[
391
- "star",
392
- "read"
393
- ]>;
394
- value: z.ZodBoolean;
395
- clientTempId: z.ZodString;
396
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
397
- }, "strip", z.ZodTypeAny, {
398
- type: "status-update";
399
- reportHubId: number;
400
- value: boolean;
401
- statusType: "star" | "read";
402
- clientTempId: string;
403
- recipientRawUserId?: number | undefined;
404
- }, {
405
- type: "status-update";
406
- reportHubId: number;
407
- value: boolean;
408
- statusType: "star" | "read";
409
- clientTempId: string;
410
- recipientRawUserId?: number | undefined;
411
- }>;
412
- declare const commentAddMessageSchema: z.ZodObject<{
413
- type: z.ZodLiteral<"comment-add">;
414
- reportHubId: z.ZodNumber;
415
- comment: z.ZodObject<{
416
- id: z.ZodNumber;
417
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
- userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
419
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
420
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
- isMine: z.ZodBoolean;
422
- }, "strip", z.ZodTypeAny, {
423
- id: number;
424
- isMine: boolean;
425
- userId?: string | null | undefined;
426
- userName?: string | null | undefined;
427
- content?: string | null | undefined;
428
- createdAt?: string | null | undefined;
429
- }, {
430
- id: number;
431
- isMine: boolean;
432
- userId?: string | null | undefined;
433
- userName?: string | null | undefined;
434
- content?: string | null | undefined;
435
- createdAt?: string | null | undefined;
436
- }>;
437
- clientTempId: z.ZodString;
438
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
439
- sourceType: z.ZodOptional<z.ZodString>;
440
- }, "strip", z.ZodTypeAny, {
441
- type: "comment-add";
442
- reportHubId: number;
443
- clientTempId: string;
444
- comment: {
445
- id: number;
446
- isMine: boolean;
447
- userId?: string | null | undefined;
448
- userName?: string | null | undefined;
449
- content?: string | null | undefined;
450
- createdAt?: string | null | undefined;
451
- };
452
- sourceType?: string | undefined;
453
- recipientRawUserId?: number | undefined;
454
- }, {
455
- type: "comment-add";
456
- reportHubId: number;
457
- clientTempId: string;
458
- comment: {
459
- id: number;
460
- isMine: boolean;
461
- userId?: string | null | undefined;
462
- userName?: string | null | undefined;
463
- content?: string | null | undefined;
464
- createdAt?: string | null | undefined;
465
- };
466
- sourceType?: string | undefined;
467
- recipientRawUserId?: number | undefined;
468
- }>;
469
- declare const commentDeleteMessageSchema: z.ZodObject<{
470
- type: z.ZodLiteral<"comment-delete">;
471
- reportHubId: z.ZodNumber;
472
- commentId: z.ZodNumber;
473
- clientTempId: z.ZodString;
474
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
475
- sourceType: z.ZodOptional<z.ZodString>;
476
- }, "strip", z.ZodTypeAny, {
477
- type: "comment-delete";
478
- reportHubId: number;
479
- clientTempId: string;
480
- commentId: number;
481
- sourceType?: string | undefined;
482
- recipientRawUserId?: number | undefined;
483
- }, {
484
- type: "comment-delete";
485
- reportHubId: number;
486
- clientTempId: string;
487
- commentId: number;
488
- sourceType?: string | undefined;
489
- recipientRawUserId?: number | undefined;
490
- }>;
491
- declare const reportCreateMessageSchema: z.ZodObject<{
492
- type: z.ZodLiteral<"report-create">;
493
- reportHubId: z.ZodNumber;
494
- report: z.ZodObject<{
495
- reportHubId: z.ZodNumber;
496
- date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
- author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
499
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
500
- sourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
501
- employeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
502
- updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
503
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
504
- category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
505
- creationCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
506
- visitTimeFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
507
- visitTimeTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
- customerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
509
- interviewers: z.ZodArray<z.ZodObject<{
510
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
511
- affiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
512
- }, "strip", z.ZodTypeAny, {
513
- name?: string | null | undefined;
514
- affiliation?: string | null | undefined;
515
- }, {
516
- name?: string | null | undefined;
517
- affiliation?: string | null | undefined;
518
- }>, "many">;
519
- subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
521
- externalComments: z.ZodArray<z.ZodObject<{
522
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
523
- text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
524
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
525
- }, "strip", z.ZodTypeAny, {
526
- color?: string | null | undefined;
527
- name?: string | null | undefined;
528
- text?: string | null | undefined;
529
- }, {
530
- color?: string | null | undefined;
531
- name?: string | null | undefined;
532
- text?: string | null | undefined;
533
- }>, "many">;
534
- isRead: z.ZodBoolean;
535
- isStarred: z.ZodBoolean;
536
- isDraft: z.ZodBoolean;
537
- labels: z.ZodArray<z.ZodObject<{
538
- id: z.ZodNumber;
539
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
540
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
541
- }, "strip", z.ZodTypeAny, {
542
- id: number;
543
- color?: string | null | undefined;
544
- name?: string | null | undefined;
545
- }, {
546
- id: number;
547
- color?: string | null | undefined;
548
- name?: string | null | undefined;
549
- }>, "many">;
550
- postedComments: z.ZodArray<z.ZodObject<{
551
- id: z.ZodNumber;
552
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
553
- userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
554
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
556
- isMine: z.ZodBoolean;
557
- }, "strip", z.ZodTypeAny, {
558
- id: number;
559
- isMine: boolean;
560
- userId?: string | null | undefined;
561
- userName?: string | null | undefined;
562
- content?: string | null | undefined;
563
- createdAt?: string | null | undefined;
564
- }, {
565
- id: number;
566
- isMine: boolean;
567
- userId?: string | null | undefined;
568
- userName?: string | null | undefined;
569
- content?: string | null | undefined;
570
- createdAt?: string | null | undefined;
571
- }>, "many">;
572
- attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
573
- id: z.ZodString;
574
- fileName: z.ZodString;
575
- fileType: z.ZodNullable<z.ZodString>;
576
- fileSize: z.ZodNullable<z.ZodNumber>;
577
- createdAt: z.ZodNullable<z.ZodString>;
578
- state: z.ZodEnum<[
579
- "present",
580
- "absent",
581
- "unknown"
582
- ]>;
583
- hasThumbnail: z.ZodDefault<z.ZodBoolean>;
584
- }, "strip", z.ZodTypeAny, {
585
- id: string;
586
- createdAt: string | null;
587
- fileName: string;
588
- fileType: string | null;
589
- fileSize: number | null;
590
- state: "present" | "absent" | "unknown";
591
- hasThumbnail: boolean;
592
- }, {
593
- id: string;
594
- createdAt: string | null;
595
- fileName: string;
596
- fileType: string | null;
597
- fileSize: number | null;
598
- state: "present" | "absent" | "unknown";
599
- hasThumbnail?: boolean | undefined;
600
- }>, "many">>;
601
- }, "strip", z.ZodTypeAny, {
602
- reportHubId: number;
603
- interviewers: {
604
- name?: string | null | undefined;
605
- affiliation?: string | null | undefined;
606
- }[];
607
- externalComments: {
608
- color?: string | null | undefined;
609
- name?: string | null | undefined;
610
- text?: string | null | undefined;
611
- }[];
612
- isRead: boolean;
613
- isStarred: boolean;
614
- isDraft: boolean;
615
- labels: {
616
- id: number;
617
- color?: string | null | undefined;
618
- name?: string | null | undefined;
619
- }[];
620
- postedComments: {
621
- id: number;
622
- isMine: boolean;
623
- userId?: string | null | undefined;
624
- userName?: string | null | undefined;
625
- content?: string | null | undefined;
626
- createdAt?: string | null | undefined;
627
- }[];
628
- attachments: {
629
- id: string;
630
- createdAt: string | null;
631
- fileName: string;
632
- fileType: string | null;
633
- fileSize: number | null;
634
- state: "present" | "absent" | "unknown";
635
- hasThumbnail: boolean;
636
- }[];
637
- sourceType?: string | null | undefined;
638
- author?: string | null | undefined;
639
- userId?: string | null | undefined;
640
- content?: string | null | undefined;
641
- createdAt?: string | null | undefined;
642
- date?: string | null | undefined;
643
- employeeName?: string | null | undefined;
644
- updatedBy?: string | null | undefined;
645
- updatedAt?: string | null | undefined;
646
- category?: string | null | undefined;
647
- creationCategory?: string | null | undefined;
648
- visitTimeFrom?: string | null | undefined;
649
- visitTimeTo?: string | null | undefined;
650
- customerName?: string | null | undefined;
651
- subject?: string | null | undefined;
652
- }, {
653
- reportHubId: number;
654
- interviewers: {
655
- name?: string | null | undefined;
656
- affiliation?: string | null | undefined;
657
- }[];
658
- externalComments: {
659
- color?: string | null | undefined;
660
- name?: string | null | undefined;
661
- text?: string | null | undefined;
662
- }[];
663
- isRead: boolean;
664
- isStarred: boolean;
665
- isDraft: boolean;
666
- labels: {
667
- id: number;
668
- color?: string | null | undefined;
669
- name?: string | null | undefined;
670
- }[];
671
- postedComments: {
672
- id: number;
673
- isMine: boolean;
674
- userId?: string | null | undefined;
675
- userName?: string | null | undefined;
676
- content?: string | null | undefined;
677
- createdAt?: string | null | undefined;
678
- }[];
679
- sourceType?: string | null | undefined;
680
- author?: string | null | undefined;
681
- userId?: string | null | undefined;
682
- content?: string | null | undefined;
683
- createdAt?: string | null | undefined;
684
- date?: string | null | undefined;
685
- employeeName?: string | null | undefined;
686
- updatedBy?: string | null | undefined;
687
- updatedAt?: string | null | undefined;
688
- category?: string | null | undefined;
689
- creationCategory?: string | null | undefined;
690
- visitTimeFrom?: string | null | undefined;
691
- visitTimeTo?: string | null | undefined;
692
- customerName?: string | null | undefined;
693
- subject?: string | null | undefined;
694
- attachments?: {
695
- id: string;
696
- createdAt: string | null;
697
- fileName: string;
698
- fileType: string | null;
699
- fileSize: number | null;
700
- state: "present" | "absent" | "unknown";
701
- hasThumbnail?: boolean | undefined;
702
- }[] | undefined;
703
- }>;
704
- clientTempId: z.ZodString;
705
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
706
- }, "strip", z.ZodTypeAny, {
707
- type: "report-create";
708
- reportHubId: number;
709
- report: {
710
- reportHubId: number;
711
- interviewers: {
712
- name?: string | null | undefined;
713
- affiliation?: string | null | undefined;
714
- }[];
715
- externalComments: {
716
- color?: string | null | undefined;
717
- name?: string | null | undefined;
718
- text?: string | null | undefined;
719
- }[];
720
- isRead: boolean;
721
- isStarred: boolean;
722
- isDraft: boolean;
723
- labels: {
724
- id: number;
725
- color?: string | null | undefined;
726
- name?: string | null | undefined;
727
- }[];
728
- postedComments: {
729
- id: number;
730
- isMine: boolean;
731
- userId?: string | null | undefined;
732
- userName?: string | null | undefined;
733
- content?: string | null | undefined;
734
- createdAt?: string | null | undefined;
735
- }[];
736
- attachments: {
737
- id: string;
738
- createdAt: string | null;
739
- fileName: string;
740
- fileType: string | null;
741
- fileSize: number | null;
742
- state: "present" | "absent" | "unknown";
743
- hasThumbnail: boolean;
744
- }[];
745
- sourceType?: string | null | undefined;
746
- author?: string | null | undefined;
747
- userId?: string | null | undefined;
748
- content?: string | null | undefined;
749
- createdAt?: string | null | undefined;
750
- date?: string | null | undefined;
751
- employeeName?: string | null | undefined;
752
- updatedBy?: string | null | undefined;
753
- updatedAt?: string | null | undefined;
754
- category?: string | null | undefined;
755
- creationCategory?: string | null | undefined;
756
- visitTimeFrom?: string | null | undefined;
757
- visitTimeTo?: string | null | undefined;
758
- customerName?: string | null | undefined;
759
- subject?: string | null | undefined;
760
- };
761
- clientTempId: string;
762
- recipientRawUserId?: number | undefined;
763
- }, {
764
- type: "report-create";
765
- reportHubId: number;
766
- report: {
767
- reportHubId: number;
768
- interviewers: {
769
- name?: string | null | undefined;
770
- affiliation?: string | null | undefined;
771
- }[];
772
- externalComments: {
773
- color?: string | null | undefined;
774
- name?: string | null | undefined;
775
- text?: string | null | undefined;
776
- }[];
777
- isRead: boolean;
778
- isStarred: boolean;
779
- isDraft: boolean;
780
- labels: {
781
- id: number;
782
- color?: string | null | undefined;
783
- name?: string | null | undefined;
784
- }[];
785
- postedComments: {
786
- id: number;
787
- isMine: boolean;
788
- userId?: string | null | undefined;
789
- userName?: string | null | undefined;
790
- content?: string | null | undefined;
791
- createdAt?: string | null | undefined;
792
- }[];
793
- sourceType?: string | null | undefined;
794
- author?: string | null | undefined;
795
- userId?: string | null | undefined;
796
- content?: string | null | undefined;
797
- createdAt?: string | null | undefined;
798
- date?: string | null | undefined;
799
- employeeName?: string | null | undefined;
800
- updatedBy?: string | null | undefined;
801
- updatedAt?: string | null | undefined;
802
- category?: string | null | undefined;
803
- creationCategory?: string | null | undefined;
804
- visitTimeFrom?: string | null | undefined;
805
- visitTimeTo?: string | null | undefined;
806
- customerName?: string | null | undefined;
807
- subject?: string | null | undefined;
808
- attachments?: {
809
- id: string;
810
- createdAt: string | null;
811
- fileName: string;
812
- fileType: string | null;
813
- fileSize: number | null;
814
- state: "present" | "absent" | "unknown";
815
- hasThumbnail?: boolean | undefined;
816
- }[] | undefined;
817
- };
818
- clientTempId: string;
819
- recipientRawUserId?: number | undefined;
820
- }>;
821
- declare const reportUpdateMessageSchema: z.ZodObject<{
822
- type: z.ZodLiteral<"report-update">;
823
- reportHubId: z.ZodNumber;
824
- report: z.ZodObject<{
825
- reportHubId: z.ZodNumber;
826
- date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
827
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
828
- author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
829
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
830
- sourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
831
- employeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
832
- updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
833
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
834
- category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
835
- creationCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
836
- visitTimeFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
837
- visitTimeTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
838
- customerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
839
- interviewers: z.ZodArray<z.ZodObject<{
840
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
841
- affiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
- }, "strip", z.ZodTypeAny, {
843
- name?: string | null | undefined;
844
- affiliation?: string | null | undefined;
845
- }, {
846
- name?: string | null | undefined;
847
- affiliation?: string | null | undefined;
848
- }>, "many">;
849
- subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
851
- externalComments: z.ZodArray<z.ZodObject<{
852
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
853
- text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
854
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
855
- }, "strip", z.ZodTypeAny, {
856
- color?: string | null | undefined;
857
- name?: string | null | undefined;
858
- text?: string | null | undefined;
859
- }, {
860
- color?: string | null | undefined;
861
- name?: string | null | undefined;
862
- text?: string | null | undefined;
863
- }>, "many">;
864
- isRead: z.ZodBoolean;
865
- isStarred: z.ZodBoolean;
866
- isDraft: z.ZodBoolean;
867
- labels: z.ZodArray<z.ZodObject<{
868
- id: z.ZodNumber;
869
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
870
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
- }, "strip", z.ZodTypeAny, {
872
- id: number;
873
- color?: string | null | undefined;
874
- name?: string | null | undefined;
875
- }, {
876
- id: number;
877
- color?: string | null | undefined;
878
- name?: string | null | undefined;
879
- }>, "many">;
880
- postedComments: z.ZodArray<z.ZodObject<{
881
- id: z.ZodNumber;
882
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
883
- userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
884
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
885
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
886
- isMine: z.ZodBoolean;
887
- }, "strip", z.ZodTypeAny, {
888
- id: number;
889
- isMine: boolean;
890
- userId?: string | null | undefined;
891
- userName?: string | null | undefined;
892
- content?: string | null | undefined;
893
- createdAt?: string | null | undefined;
894
- }, {
895
- id: number;
896
- isMine: boolean;
897
- userId?: string | null | undefined;
898
- userName?: string | null | undefined;
899
- content?: string | null | undefined;
900
- createdAt?: string | null | undefined;
901
- }>, "many">;
902
- attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
903
- id: z.ZodString;
904
- fileName: z.ZodString;
905
- fileType: z.ZodNullable<z.ZodString>;
906
- fileSize: z.ZodNullable<z.ZodNumber>;
907
- createdAt: z.ZodNullable<z.ZodString>;
908
- state: z.ZodEnum<[
909
- "present",
910
- "absent",
911
- "unknown"
912
- ]>;
913
- hasThumbnail: z.ZodDefault<z.ZodBoolean>;
914
- }, "strip", z.ZodTypeAny, {
915
- id: string;
916
- createdAt: string | null;
917
- fileName: string;
918
- fileType: string | null;
919
- fileSize: number | null;
920
- state: "present" | "absent" | "unknown";
921
- hasThumbnail: boolean;
922
- }, {
923
- id: string;
924
- createdAt: string | null;
925
- fileName: string;
926
- fileType: string | null;
927
- fileSize: number | null;
928
- state: "present" | "absent" | "unknown";
929
- hasThumbnail?: boolean | undefined;
930
- }>, "many">>;
931
- }, "strip", z.ZodTypeAny, {
932
- reportHubId: number;
933
- interviewers: {
934
- name?: string | null | undefined;
935
- affiliation?: string | null | undefined;
936
- }[];
937
- externalComments: {
938
- color?: string | null | undefined;
939
- name?: string | null | undefined;
940
- text?: string | null | undefined;
941
- }[];
942
- isRead: boolean;
943
- isStarred: boolean;
944
- isDraft: boolean;
945
- labels: {
946
- id: number;
947
- color?: string | null | undefined;
948
- name?: string | null | undefined;
949
- }[];
950
- postedComments: {
951
- id: number;
952
- isMine: boolean;
953
- userId?: string | null | undefined;
954
- userName?: string | null | undefined;
955
- content?: string | null | undefined;
956
- createdAt?: string | null | undefined;
957
- }[];
958
- attachments: {
959
- id: string;
960
- createdAt: string | null;
961
- fileName: string;
962
- fileType: string | null;
963
- fileSize: number | null;
964
- state: "present" | "absent" | "unknown";
965
- hasThumbnail: boolean;
966
- }[];
967
- sourceType?: string | null | undefined;
968
- author?: string | null | undefined;
969
- userId?: string | null | undefined;
970
- content?: string | null | undefined;
971
- createdAt?: string | null | undefined;
972
- date?: string | null | undefined;
973
- employeeName?: string | null | undefined;
974
- updatedBy?: string | null | undefined;
975
- updatedAt?: string | null | undefined;
976
- category?: string | null | undefined;
977
- creationCategory?: string | null | undefined;
978
- visitTimeFrom?: string | null | undefined;
979
- visitTimeTo?: string | null | undefined;
980
- customerName?: string | null | undefined;
981
- subject?: string | null | undefined;
982
- }, {
983
- reportHubId: number;
984
- interviewers: {
985
- name?: string | null | undefined;
986
- affiliation?: string | null | undefined;
987
- }[];
988
- externalComments: {
989
- color?: string | null | undefined;
990
- name?: string | null | undefined;
991
- text?: string | null | undefined;
992
- }[];
993
- isRead: boolean;
994
- isStarred: boolean;
995
- isDraft: boolean;
996
- labels: {
997
- id: number;
998
- color?: string | null | undefined;
999
- name?: string | null | undefined;
1000
- }[];
1001
- postedComments: {
1002
- id: number;
1003
- isMine: boolean;
1004
- userId?: string | null | undefined;
1005
- userName?: string | null | undefined;
1006
- content?: string | null | undefined;
1007
- createdAt?: string | null | undefined;
1008
- }[];
1009
- sourceType?: string | null | undefined;
1010
- author?: string | null | undefined;
1011
- userId?: string | null | undefined;
1012
- content?: string | null | undefined;
1013
- createdAt?: string | null | undefined;
1014
- date?: string | null | undefined;
1015
- employeeName?: string | null | undefined;
1016
- updatedBy?: string | null | undefined;
1017
- updatedAt?: string | null | undefined;
1018
- category?: string | null | undefined;
1019
- creationCategory?: string | null | undefined;
1020
- visitTimeFrom?: string | null | undefined;
1021
- visitTimeTo?: string | null | undefined;
1022
- customerName?: string | null | undefined;
1023
- subject?: string | null | undefined;
1024
- attachments?: {
1025
- id: string;
1026
- createdAt: string | null;
1027
- fileName: string;
1028
- fileType: string | null;
1029
- fileSize: number | null;
1030
- state: "present" | "absent" | "unknown";
1031
- hasThumbnail?: boolean | undefined;
1032
- }[] | undefined;
1033
- }>;
1034
- clientTempId: z.ZodString;
1035
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
1036
- }, "strip", z.ZodTypeAny, {
1037
- type: "report-update";
1038
- reportHubId: number;
1039
- report: {
1040
- reportHubId: number;
1041
- interviewers: {
1042
- name?: string | null | undefined;
1043
- affiliation?: string | null | undefined;
1044
- }[];
1045
- externalComments: {
1046
- color?: string | null | undefined;
1047
- name?: string | null | undefined;
1048
- text?: string | null | undefined;
1049
- }[];
1050
- isRead: boolean;
1051
- isStarred: boolean;
1052
- isDraft: boolean;
1053
- labels: {
1054
- id: number;
1055
- color?: string | null | undefined;
1056
- name?: string | null | undefined;
1057
- }[];
1058
- postedComments: {
1059
- id: number;
1060
- isMine: boolean;
1061
- userId?: string | null | undefined;
1062
- userName?: string | null | undefined;
1063
- content?: string | null | undefined;
1064
- createdAt?: string | null | undefined;
1065
- }[];
1066
- attachments: {
1067
- id: string;
1068
- createdAt: string | null;
1069
- fileName: string;
1070
- fileType: string | null;
1071
- fileSize: number | null;
1072
- state: "present" | "absent" | "unknown";
1073
- hasThumbnail: boolean;
1074
- }[];
1075
- sourceType?: string | null | undefined;
1076
- author?: string | null | undefined;
1077
- userId?: string | null | undefined;
1078
- content?: string | null | undefined;
1079
- createdAt?: string | null | undefined;
1080
- date?: string | null | undefined;
1081
- employeeName?: string | null | undefined;
1082
- updatedBy?: string | null | undefined;
1083
- updatedAt?: string | null | undefined;
1084
- category?: string | null | undefined;
1085
- creationCategory?: string | null | undefined;
1086
- visitTimeFrom?: string | null | undefined;
1087
- visitTimeTo?: string | null | undefined;
1088
- customerName?: string | null | undefined;
1089
- subject?: string | null | undefined;
1090
- };
1091
- clientTempId: string;
1092
- recipientRawUserId?: number | undefined;
1093
- }, {
1094
- type: "report-update";
1095
- reportHubId: number;
1096
- report: {
1097
- reportHubId: number;
1098
- interviewers: {
1099
- name?: string | null | undefined;
1100
- affiliation?: string | null | undefined;
1101
- }[];
1102
- externalComments: {
1103
- color?: string | null | undefined;
1104
- name?: string | null | undefined;
1105
- text?: string | null | undefined;
1106
- }[];
1107
- isRead: boolean;
1108
- isStarred: boolean;
1109
- isDraft: boolean;
1110
- labels: {
1111
- id: number;
1112
- color?: string | null | undefined;
1113
- name?: string | null | undefined;
1114
- }[];
1115
- postedComments: {
1116
- id: number;
1117
- isMine: boolean;
1118
- userId?: string | null | undefined;
1119
- userName?: string | null | undefined;
1120
- content?: string | null | undefined;
1121
- createdAt?: string | null | undefined;
1122
- }[];
1123
- sourceType?: string | null | undefined;
1124
- author?: string | null | undefined;
1125
- userId?: string | null | undefined;
1126
- content?: string | null | undefined;
1127
- createdAt?: string | null | undefined;
1128
- date?: string | null | undefined;
1129
- employeeName?: string | null | undefined;
1130
- updatedBy?: string | null | undefined;
1131
- updatedAt?: string | null | undefined;
1132
- category?: string | null | undefined;
1133
- creationCategory?: string | null | undefined;
1134
- visitTimeFrom?: string | null | undefined;
1135
- visitTimeTo?: string | null | undefined;
1136
- customerName?: string | null | undefined;
1137
- subject?: string | null | undefined;
1138
- attachments?: {
1139
- id: string;
1140
- createdAt: string | null;
1141
- fileName: string;
1142
- fileType: string | null;
1143
- fileSize: number | null;
1144
- state: "present" | "absent" | "unknown";
1145
- hasThumbnail?: boolean | undefined;
1146
- }[] | undefined;
1147
- };
1148
- clientTempId: string;
1149
- recipientRawUserId?: number | undefined;
1150
- }>;
1151
- declare const reportPublishMessageSchema: z.ZodObject<{
1152
- type: z.ZodLiteral<"report-publish">;
1153
- reportHubId: z.ZodNumber;
1154
- report: z.ZodObject<{
1155
- reportHubId: z.ZodNumber;
1156
- date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1157
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1158
- author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1159
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1160
- sourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1161
- employeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1162
- updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1163
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1164
- category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1165
- creationCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1166
- visitTimeFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1167
- visitTimeTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1168
- customerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1169
- interviewers: z.ZodArray<z.ZodObject<{
1170
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
- affiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1172
- }, "strip", z.ZodTypeAny, {
1173
- name?: string | null | undefined;
1174
- affiliation?: string | null | undefined;
1175
- }, {
1176
- name?: string | null | undefined;
1177
- affiliation?: string | null | undefined;
1178
- }>, "many">;
1179
- subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1180
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1181
- externalComments: z.ZodArray<z.ZodObject<{
1182
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1183
- text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1184
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1185
- }, "strip", z.ZodTypeAny, {
1186
- color?: string | null | undefined;
1187
- name?: string | null | undefined;
1188
- text?: string | null | undefined;
1189
- }, {
1190
- color?: string | null | undefined;
1191
- name?: string | null | undefined;
1192
- text?: string | null | undefined;
1193
- }>, "many">;
1194
- isRead: z.ZodBoolean;
1195
- isStarred: z.ZodBoolean;
1196
- isDraft: z.ZodBoolean;
1197
- labels: z.ZodArray<z.ZodObject<{
1198
- id: z.ZodNumber;
1199
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1200
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1201
- }, "strip", z.ZodTypeAny, {
1202
- id: number;
1203
- color?: string | null | undefined;
1204
- name?: string | null | undefined;
1205
- }, {
1206
- id: number;
1207
- color?: string | null | undefined;
1208
- name?: string | null | undefined;
1209
- }>, "many">;
1210
- postedComments: z.ZodArray<z.ZodObject<{
1211
- id: z.ZodNumber;
1212
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1213
- userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1214
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1216
- isMine: z.ZodBoolean;
1217
- }, "strip", z.ZodTypeAny, {
1218
- id: number;
1219
- isMine: boolean;
1220
- userId?: string | null | undefined;
1221
- userName?: string | null | undefined;
1222
- content?: string | null | undefined;
1223
- createdAt?: string | null | undefined;
1224
- }, {
1225
- id: number;
1226
- isMine: boolean;
1227
- userId?: string | null | undefined;
1228
- userName?: string | null | undefined;
1229
- content?: string | null | undefined;
1230
- createdAt?: string | null | undefined;
1231
- }>, "many">;
1232
- attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
1233
- id: z.ZodString;
1234
- fileName: z.ZodString;
1235
- fileType: z.ZodNullable<z.ZodString>;
1236
- fileSize: z.ZodNullable<z.ZodNumber>;
1237
- createdAt: z.ZodNullable<z.ZodString>;
1238
- state: z.ZodEnum<[
1239
- "present",
1240
- "absent",
1241
- "unknown"
1242
- ]>;
1243
- hasThumbnail: z.ZodDefault<z.ZodBoolean>;
1244
- }, "strip", z.ZodTypeAny, {
1245
- id: string;
1246
- createdAt: string | null;
1247
- fileName: string;
1248
- fileType: string | null;
1249
- fileSize: number | null;
1250
- state: "present" | "absent" | "unknown";
1251
- hasThumbnail: boolean;
1252
- }, {
1253
- id: string;
1254
- createdAt: string | null;
1255
- fileName: string;
1256
- fileType: string | null;
1257
- fileSize: number | null;
1258
- state: "present" | "absent" | "unknown";
1259
- hasThumbnail?: boolean | undefined;
1260
- }>, "many">>;
1261
- }, "strip", z.ZodTypeAny, {
1262
- reportHubId: number;
1263
- interviewers: {
1264
- name?: string | null | undefined;
1265
- affiliation?: string | null | undefined;
1266
- }[];
1267
- externalComments: {
1268
- color?: string | null | undefined;
1269
- name?: string | null | undefined;
1270
- text?: string | null | undefined;
1271
- }[];
1272
- isRead: boolean;
1273
- isStarred: boolean;
1274
- isDraft: boolean;
1275
- labels: {
1276
- id: number;
1277
- color?: string | null | undefined;
1278
- name?: string | null | undefined;
1279
- }[];
1280
- postedComments: {
1281
- id: number;
1282
- isMine: boolean;
1283
- userId?: string | null | undefined;
1284
- userName?: string | null | undefined;
1285
- content?: string | null | undefined;
1286
- createdAt?: string | null | undefined;
1287
- }[];
1288
- attachments: {
1289
- id: string;
1290
- createdAt: string | null;
1291
- fileName: string;
1292
- fileType: string | null;
1293
- fileSize: number | null;
1294
- state: "present" | "absent" | "unknown";
1295
- hasThumbnail: boolean;
1296
- }[];
1297
- sourceType?: string | null | undefined;
1298
- author?: string | null | undefined;
1299
- userId?: string | null | undefined;
1300
- content?: string | null | undefined;
1301
- createdAt?: string | null | undefined;
1302
- date?: string | null | undefined;
1303
- employeeName?: string | null | undefined;
1304
- updatedBy?: string | null | undefined;
1305
- updatedAt?: string | null | undefined;
1306
- category?: string | null | undefined;
1307
- creationCategory?: string | null | undefined;
1308
- visitTimeFrom?: string | null | undefined;
1309
- visitTimeTo?: string | null | undefined;
1310
- customerName?: string | null | undefined;
1311
- subject?: string | null | undefined;
1312
- }, {
1313
- reportHubId: number;
1314
- interviewers: {
1315
- name?: string | null | undefined;
1316
- affiliation?: string | null | undefined;
1317
- }[];
1318
- externalComments: {
1319
- color?: string | null | undefined;
1320
- name?: string | null | undefined;
1321
- text?: string | null | undefined;
1322
- }[];
1323
- isRead: boolean;
1324
- isStarred: boolean;
1325
- isDraft: boolean;
1326
- labels: {
1327
- id: number;
1328
- color?: string | null | undefined;
1329
- name?: string | null | undefined;
1330
- }[];
1331
- postedComments: {
1332
- id: number;
1333
- isMine: boolean;
1334
- userId?: string | null | undefined;
1335
- userName?: string | null | undefined;
1336
- content?: string | null | undefined;
1337
- createdAt?: string | null | undefined;
1338
- }[];
1339
- sourceType?: string | null | undefined;
1340
- author?: string | null | undefined;
1341
- userId?: string | null | undefined;
1342
- content?: string | null | undefined;
1343
- createdAt?: string | null | undefined;
1344
- date?: string | null | undefined;
1345
- employeeName?: string | null | undefined;
1346
- updatedBy?: string | null | undefined;
1347
- updatedAt?: string | null | undefined;
1348
- category?: string | null | undefined;
1349
- creationCategory?: string | null | undefined;
1350
- visitTimeFrom?: string | null | undefined;
1351
- visitTimeTo?: string | null | undefined;
1352
- customerName?: string | null | undefined;
1353
- subject?: string | null | undefined;
1354
- attachments?: {
1355
- id: string;
1356
- createdAt: string | null;
1357
- fileName: string;
1358
- fileType: string | null;
1359
- fileSize: number | null;
1360
- state: "present" | "absent" | "unknown";
1361
- hasThumbnail?: boolean | undefined;
1362
- }[] | undefined;
1363
- }>;
1364
- clientTempId: z.ZodString;
1365
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
1366
- }, "strip", z.ZodTypeAny, {
1367
- type: "report-publish";
1368
- reportHubId: number;
1369
- report: {
1370
- reportHubId: number;
1371
- interviewers: {
1372
- name?: string | null | undefined;
1373
- affiliation?: string | null | undefined;
1374
- }[];
1375
- externalComments: {
1376
- color?: string | null | undefined;
1377
- name?: string | null | undefined;
1378
- text?: string | null | undefined;
1379
- }[];
1380
- isRead: boolean;
1381
- isStarred: boolean;
1382
- isDraft: boolean;
1383
- labels: {
1384
- id: number;
1385
- color?: string | null | undefined;
1386
- name?: string | null | undefined;
1387
- }[];
1388
- postedComments: {
1389
- id: number;
1390
- isMine: boolean;
1391
- userId?: string | null | undefined;
1392
- userName?: string | null | undefined;
1393
- content?: string | null | undefined;
1394
- createdAt?: string | null | undefined;
1395
- }[];
1396
- attachments: {
1397
- id: string;
1398
- createdAt: string | null;
1399
- fileName: string;
1400
- fileType: string | null;
1401
- fileSize: number | null;
1402
- state: "present" | "absent" | "unknown";
1403
- hasThumbnail: boolean;
1404
- }[];
1405
- sourceType?: string | null | undefined;
1406
- author?: string | null | undefined;
1407
- userId?: string | null | undefined;
1408
- content?: string | null | undefined;
1409
- createdAt?: string | null | undefined;
1410
- date?: string | null | undefined;
1411
- employeeName?: string | null | undefined;
1412
- updatedBy?: string | null | undefined;
1413
- updatedAt?: string | null | undefined;
1414
- category?: string | null | undefined;
1415
- creationCategory?: string | null | undefined;
1416
- visitTimeFrom?: string | null | undefined;
1417
- visitTimeTo?: string | null | undefined;
1418
- customerName?: string | null | undefined;
1419
- subject?: string | null | undefined;
1420
- };
1421
- clientTempId: string;
1422
- recipientRawUserId?: number | undefined;
1423
- }, {
1424
- type: "report-publish";
1425
- reportHubId: number;
1426
- report: {
1427
- reportHubId: number;
1428
- interviewers: {
1429
- name?: string | null | undefined;
1430
- affiliation?: string | null | undefined;
1431
- }[];
1432
- externalComments: {
1433
- color?: string | null | undefined;
1434
- name?: string | null | undefined;
1435
- text?: string | null | undefined;
1436
- }[];
1437
- isRead: boolean;
1438
- isStarred: boolean;
1439
- isDraft: boolean;
1440
- labels: {
1441
- id: number;
1442
- color?: string | null | undefined;
1443
- name?: string | null | undefined;
1444
- }[];
1445
- postedComments: {
1446
- id: number;
1447
- isMine: boolean;
1448
- userId?: string | null | undefined;
1449
- userName?: string | null | undefined;
1450
- content?: string | null | undefined;
1451
- createdAt?: string | null | undefined;
1452
- }[];
1453
- sourceType?: string | null | undefined;
1454
- author?: string | null | undefined;
1455
- userId?: string | null | undefined;
1456
- content?: string | null | undefined;
1457
- createdAt?: string | null | undefined;
1458
- date?: string | null | undefined;
1459
- employeeName?: string | null | undefined;
1460
- updatedBy?: string | null | undefined;
1461
- updatedAt?: string | null | undefined;
1462
- category?: string | null | undefined;
1463
- creationCategory?: string | null | undefined;
1464
- visitTimeFrom?: string | null | undefined;
1465
- visitTimeTo?: string | null | undefined;
1466
- customerName?: string | null | undefined;
1467
- subject?: string | null | undefined;
1468
- attachments?: {
1469
- id: string;
1470
- createdAt: string | null;
1471
- fileName: string;
1472
- fileType: string | null;
1473
- fileSize: number | null;
1474
- state: "present" | "absent" | "unknown";
1475
- hasThumbnail?: boolean | undefined;
1476
- }[] | undefined;
1477
- };
1478
- clientTempId: string;
1479
- recipientRawUserId?: number | undefined;
1480
- }>;
1481
- declare const reportDeleteMessageSchema: z.ZodObject<{
1482
- type: z.ZodLiteral<"report-delete">;
1483
- reportHubId: z.ZodNumber;
1484
- clientTempId: z.ZodString;
1485
- sourceType: z.ZodOptional<z.ZodString>;
1486
- }, "strip", z.ZodTypeAny, {
1487
- type: "report-delete";
1488
- reportHubId: number;
1489
- clientTempId: string;
1490
- sourceType?: string | undefined;
1491
- }, {
1492
- type: "report-delete";
1493
- reportHubId: number;
1494
- clientTempId: string;
1495
- sourceType?: string | undefined;
1496
- }>;
1497
- declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
1498
- z.ZodObject<{
1499
- type: z.ZodLiteral<"connected">;
1500
- }, "strip", z.ZodTypeAny, {
1501
- type: "connected";
1502
- }, {
1503
- type: "connected";
1504
- }>,
1505
- z.ZodObject<{
1506
- type: z.ZodLiteral<"status-update">;
1507
- reportHubId: z.ZodNumber;
1508
- statusType: z.ZodEnum<[
1509
- "star",
1510
- "read"
1511
- ]>;
1512
- value: z.ZodBoolean;
1513
- clientTempId: z.ZodString;
1514
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
1515
- }, "strip", z.ZodTypeAny, {
1516
- type: "status-update";
1517
- reportHubId: number;
1518
- value: boolean;
1519
- statusType: "star" | "read";
1520
- clientTempId: string;
1521
- recipientRawUserId?: number | undefined;
1522
- }, {
1523
- type: "status-update";
1524
- reportHubId: number;
1525
- value: boolean;
1526
- statusType: "star" | "read";
1527
- clientTempId: string;
1528
- recipientRawUserId?: number | undefined;
1529
- }>,
1530
- z.ZodObject<{
1531
- type: z.ZodLiteral<"comment-add">;
1532
- reportHubId: z.ZodNumber;
1533
- comment: z.ZodObject<{
1534
- id: z.ZodNumber;
1535
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1536
- userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1537
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1538
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1539
- isMine: z.ZodBoolean;
1540
- }, "strip", z.ZodTypeAny, {
1541
- id: number;
1542
- isMine: boolean;
1543
- userId?: string | null | undefined;
1544
- userName?: string | null | undefined;
1545
- content?: string | null | undefined;
1546
- createdAt?: string | null | undefined;
1547
- }, {
1548
- id: number;
1549
- isMine: boolean;
1550
- userId?: string | null | undefined;
1551
- userName?: string | null | undefined;
1552
- content?: string | null | undefined;
1553
- createdAt?: string | null | undefined;
1554
- }>;
1555
- clientTempId: z.ZodString;
1556
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
1557
- sourceType: z.ZodOptional<z.ZodString>;
1558
- }, "strip", z.ZodTypeAny, {
1559
- type: "comment-add";
1560
- reportHubId: number;
1561
- clientTempId: string;
1562
- comment: {
1563
- id: number;
1564
- isMine: boolean;
1565
- userId?: string | null | undefined;
1566
- userName?: string | null | undefined;
1567
- content?: string | null | undefined;
1568
- createdAt?: string | null | undefined;
1569
- };
1570
- sourceType?: string | undefined;
1571
- recipientRawUserId?: number | undefined;
1572
- }, {
1573
- type: "comment-add";
1574
- reportHubId: number;
1575
- clientTempId: string;
1576
- comment: {
1577
- id: number;
1578
- isMine: boolean;
1579
- userId?: string | null | undefined;
1580
- userName?: string | null | undefined;
1581
- content?: string | null | undefined;
1582
- createdAt?: string | null | undefined;
1583
- };
1584
- sourceType?: string | undefined;
1585
- recipientRawUserId?: number | undefined;
1586
- }>,
1587
- z.ZodObject<{
1588
- type: z.ZodLiteral<"comment-delete">;
1589
- reportHubId: z.ZodNumber;
1590
- commentId: z.ZodNumber;
1591
- clientTempId: z.ZodString;
1592
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
1593
- sourceType: z.ZodOptional<z.ZodString>;
1594
- }, "strip", z.ZodTypeAny, {
1595
- type: "comment-delete";
1596
- reportHubId: number;
1597
- clientTempId: string;
1598
- commentId: number;
1599
- sourceType?: string | undefined;
1600
- recipientRawUserId?: number | undefined;
1601
- }, {
1602
- type: "comment-delete";
1603
- reportHubId: number;
1604
- clientTempId: string;
1605
- commentId: number;
1606
- sourceType?: string | undefined;
1607
- recipientRawUserId?: number | undefined;
1608
- }>,
1609
- z.ZodObject<{
1610
- type: z.ZodLiteral<"report-create">;
1611
- reportHubId: z.ZodNumber;
1612
- report: z.ZodObject<{
1613
- reportHubId: z.ZodNumber;
1614
- date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1615
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1616
- author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1617
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1618
- sourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1619
- employeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1620
- updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1621
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1622
- category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1623
- creationCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1624
- visitTimeFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1625
- visitTimeTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1626
- customerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1627
- interviewers: z.ZodArray<z.ZodObject<{
1628
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1629
- affiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1630
- }, "strip", z.ZodTypeAny, {
1631
- name?: string | null | undefined;
1632
- affiliation?: string | null | undefined;
1633
- }, {
1634
- name?: string | null | undefined;
1635
- affiliation?: string | null | undefined;
1636
- }>, "many">;
1637
- subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1638
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1639
- externalComments: z.ZodArray<z.ZodObject<{
1640
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1641
- text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1642
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1643
- }, "strip", z.ZodTypeAny, {
1644
- color?: string | null | undefined;
1645
- name?: string | null | undefined;
1646
- text?: string | null | undefined;
1647
- }, {
1648
- color?: string | null | undefined;
1649
- name?: string | null | undefined;
1650
- text?: string | null | undefined;
1651
- }>, "many">;
1652
- isRead: z.ZodBoolean;
1653
- isStarred: z.ZodBoolean;
1654
- isDraft: z.ZodBoolean;
1655
- labels: z.ZodArray<z.ZodObject<{
1656
- id: z.ZodNumber;
1657
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1658
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1659
- }, "strip", z.ZodTypeAny, {
1660
- id: number;
1661
- color?: string | null | undefined;
1662
- name?: string | null | undefined;
1663
- }, {
1664
- id: number;
1665
- color?: string | null | undefined;
1666
- name?: string | null | undefined;
1667
- }>, "many">;
1668
- postedComments: z.ZodArray<z.ZodObject<{
1669
- id: z.ZodNumber;
1670
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1671
- userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1672
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1674
- isMine: z.ZodBoolean;
1675
- }, "strip", z.ZodTypeAny, {
1676
- id: number;
1677
- isMine: boolean;
1678
- userId?: string | null | undefined;
1679
- userName?: string | null | undefined;
1680
- content?: string | null | undefined;
1681
- createdAt?: string | null | undefined;
1682
- }, {
1683
- id: number;
1684
- isMine: boolean;
1685
- userId?: string | null | undefined;
1686
- userName?: string | null | undefined;
1687
- content?: string | null | undefined;
1688
- createdAt?: string | null | undefined;
1689
- }>, "many">;
1690
- attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
1691
- id: z.ZodString;
1692
- fileName: z.ZodString;
1693
- fileType: z.ZodNullable<z.ZodString>;
1694
- fileSize: z.ZodNullable<z.ZodNumber>;
1695
- createdAt: z.ZodNullable<z.ZodString>;
1696
- state: z.ZodEnum<[
1697
- "present",
1698
- "absent",
1699
- "unknown"
1700
- ]>;
1701
- hasThumbnail: z.ZodDefault<z.ZodBoolean>;
1702
- }, "strip", z.ZodTypeAny, {
1703
- id: string;
1704
- createdAt: string | null;
1705
- fileName: string;
1706
- fileType: string | null;
1707
- fileSize: number | null;
1708
- state: "present" | "absent" | "unknown";
1709
- hasThumbnail: boolean;
1710
- }, {
1711
- id: string;
1712
- createdAt: string | null;
1713
- fileName: string;
1714
- fileType: string | null;
1715
- fileSize: number | null;
1716
- state: "present" | "absent" | "unknown";
1717
- hasThumbnail?: boolean | undefined;
1718
- }>, "many">>;
1719
- }, "strip", z.ZodTypeAny, {
1720
- reportHubId: number;
1721
- interviewers: {
1722
- name?: string | null | undefined;
1723
- affiliation?: string | null | undefined;
1724
- }[];
1725
- externalComments: {
1726
- color?: string | null | undefined;
1727
- name?: string | null | undefined;
1728
- text?: string | null | undefined;
1729
- }[];
1730
- isRead: boolean;
1731
- isStarred: boolean;
1732
- isDraft: boolean;
1733
- labels: {
1734
- id: number;
1735
- color?: string | null | undefined;
1736
- name?: string | null | undefined;
1737
- }[];
1738
- postedComments: {
1739
- id: number;
1740
- isMine: boolean;
1741
- userId?: string | null | undefined;
1742
- userName?: string | null | undefined;
1743
- content?: string | null | undefined;
1744
- createdAt?: string | null | undefined;
1745
- }[];
1746
- attachments: {
1747
- id: string;
1748
- createdAt: string | null;
1749
- fileName: string;
1750
- fileType: string | null;
1751
- fileSize: number | null;
1752
- state: "present" | "absent" | "unknown";
1753
- hasThumbnail: boolean;
1754
- }[];
1755
- sourceType?: string | null | undefined;
1756
- author?: string | null | undefined;
1757
- userId?: string | null | undefined;
1758
- content?: string | null | undefined;
1759
- createdAt?: string | null | undefined;
1760
- date?: string | null | undefined;
1761
- employeeName?: string | null | undefined;
1762
- updatedBy?: string | null | undefined;
1763
- updatedAt?: string | null | undefined;
1764
- category?: string | null | undefined;
1765
- creationCategory?: string | null | undefined;
1766
- visitTimeFrom?: string | null | undefined;
1767
- visitTimeTo?: string | null | undefined;
1768
- customerName?: string | null | undefined;
1769
- subject?: string | null | undefined;
1770
- }, {
1771
- reportHubId: number;
1772
- interviewers: {
1773
- name?: string | null | undefined;
1774
- affiliation?: string | null | undefined;
1775
- }[];
1776
- externalComments: {
1777
- color?: string | null | undefined;
1778
- name?: string | null | undefined;
1779
- text?: string | null | undefined;
1780
- }[];
1781
- isRead: boolean;
1782
- isStarred: boolean;
1783
- isDraft: boolean;
1784
- labels: {
1785
- id: number;
1786
- color?: string | null | undefined;
1787
- name?: string | null | undefined;
1788
- }[];
1789
- postedComments: {
1790
- id: number;
1791
- isMine: boolean;
1792
- userId?: string | null | undefined;
1793
- userName?: string | null | undefined;
1794
- content?: string | null | undefined;
1795
- createdAt?: string | null | undefined;
1796
- }[];
1797
- sourceType?: string | null | undefined;
1798
- author?: string | null | undefined;
1799
- userId?: string | null | undefined;
1800
- content?: string | null | undefined;
1801
- createdAt?: string | null | undefined;
1802
- date?: string | null | undefined;
1803
- employeeName?: string | null | undefined;
1804
- updatedBy?: string | null | undefined;
1805
- updatedAt?: string | null | undefined;
1806
- category?: string | null | undefined;
1807
- creationCategory?: string | null | undefined;
1808
- visitTimeFrom?: string | null | undefined;
1809
- visitTimeTo?: string | null | undefined;
1810
- customerName?: string | null | undefined;
1811
- subject?: string | null | undefined;
1812
- attachments?: {
1813
- id: string;
1814
- createdAt: string | null;
1815
- fileName: string;
1816
- fileType: string | null;
1817
- fileSize: number | null;
1818
- state: "present" | "absent" | "unknown";
1819
- hasThumbnail?: boolean | undefined;
1820
- }[] | undefined;
1821
- }>;
1822
- clientTempId: z.ZodString;
1823
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
1824
- }, "strip", z.ZodTypeAny, {
1825
- type: "report-create";
1826
- reportHubId: number;
1827
- report: {
1828
- reportHubId: number;
1829
- interviewers: {
1830
- name?: string | null | undefined;
1831
- affiliation?: string | null | undefined;
1832
- }[];
1833
- externalComments: {
1834
- color?: string | null | undefined;
1835
- name?: string | null | undefined;
1836
- text?: string | null | undefined;
1837
- }[];
1838
- isRead: boolean;
1839
- isStarred: boolean;
1840
- isDraft: boolean;
1841
- labels: {
1842
- id: number;
1843
- color?: string | null | undefined;
1844
- name?: string | null | undefined;
1845
- }[];
1846
- postedComments: {
1847
- id: number;
1848
- isMine: boolean;
1849
- userId?: string | null | undefined;
1850
- userName?: string | null | undefined;
1851
- content?: string | null | undefined;
1852
- createdAt?: string | null | undefined;
1853
- }[];
1854
- attachments: {
1855
- id: string;
1856
- createdAt: string | null;
1857
- fileName: string;
1858
- fileType: string | null;
1859
- fileSize: number | null;
1860
- state: "present" | "absent" | "unknown";
1861
- hasThumbnail: boolean;
1862
- }[];
1863
- sourceType?: string | null | undefined;
1864
- author?: string | null | undefined;
1865
- userId?: string | null | undefined;
1866
- content?: string | null | undefined;
1867
- createdAt?: string | null | undefined;
1868
- date?: string | null | undefined;
1869
- employeeName?: string | null | undefined;
1870
- updatedBy?: string | null | undefined;
1871
- updatedAt?: string | null | undefined;
1872
- category?: string | null | undefined;
1873
- creationCategory?: string | null | undefined;
1874
- visitTimeFrom?: string | null | undefined;
1875
- visitTimeTo?: string | null | undefined;
1876
- customerName?: string | null | undefined;
1877
- subject?: string | null | undefined;
1878
- };
1879
- clientTempId: string;
1880
- recipientRawUserId?: number | undefined;
1881
- }, {
1882
- type: "report-create";
1883
- reportHubId: number;
1884
- report: {
1885
- reportHubId: number;
1886
- interviewers: {
1887
- name?: string | null | undefined;
1888
- affiliation?: string | null | undefined;
1889
- }[];
1890
- externalComments: {
1891
- color?: string | null | undefined;
1892
- name?: string | null | undefined;
1893
- text?: string | null | undefined;
1894
- }[];
1895
- isRead: boolean;
1896
- isStarred: boolean;
1897
- isDraft: boolean;
1898
- labels: {
1899
- id: number;
1900
- color?: string | null | undefined;
1901
- name?: string | null | undefined;
1902
- }[];
1903
- postedComments: {
1904
- id: number;
1905
- isMine: boolean;
1906
- userId?: string | null | undefined;
1907
- userName?: string | null | undefined;
1908
- content?: string | null | undefined;
1909
- createdAt?: string | null | undefined;
1910
- }[];
1911
- sourceType?: string | null | undefined;
1912
- author?: string | null | undefined;
1913
- userId?: string | null | undefined;
1914
- content?: string | null | undefined;
1915
- createdAt?: string | null | undefined;
1916
- date?: string | null | undefined;
1917
- employeeName?: string | null | undefined;
1918
- updatedBy?: string | null | undefined;
1919
- updatedAt?: string | null | undefined;
1920
- category?: string | null | undefined;
1921
- creationCategory?: string | null | undefined;
1922
- visitTimeFrom?: string | null | undefined;
1923
- visitTimeTo?: string | null | undefined;
1924
- customerName?: string | null | undefined;
1925
- subject?: string | null | undefined;
1926
- attachments?: {
1927
- id: string;
1928
- createdAt: string | null;
1929
- fileName: string;
1930
- fileType: string | null;
1931
- fileSize: number | null;
1932
- state: "present" | "absent" | "unknown";
1933
- hasThumbnail?: boolean | undefined;
1934
- }[] | undefined;
1935
- };
1936
- clientTempId: string;
1937
- recipientRawUserId?: number | undefined;
1938
- }>,
1939
- z.ZodObject<{
1940
- type: z.ZodLiteral<"report-update">;
1941
- reportHubId: z.ZodNumber;
1942
- report: z.ZodObject<{
1943
- reportHubId: z.ZodNumber;
1944
- date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1945
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1946
- author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1947
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1948
- sourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1949
- employeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1950
- updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1951
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1952
- category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1953
- creationCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1954
- visitTimeFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1955
- visitTimeTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1956
- customerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1957
- interviewers: z.ZodArray<z.ZodObject<{
1958
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1959
- affiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1960
- }, "strip", z.ZodTypeAny, {
1961
- name?: string | null | undefined;
1962
- affiliation?: string | null | undefined;
1963
- }, {
1964
- name?: string | null | undefined;
1965
- affiliation?: string | null | undefined;
1966
- }>, "many">;
1967
- subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1968
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1969
- externalComments: z.ZodArray<z.ZodObject<{
1970
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1971
- text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1972
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1973
- }, "strip", z.ZodTypeAny, {
1974
- color?: string | null | undefined;
1975
- name?: string | null | undefined;
1976
- text?: string | null | undefined;
1977
- }, {
1978
- color?: string | null | undefined;
1979
- name?: string | null | undefined;
1980
- text?: string | null | undefined;
1981
- }>, "many">;
1982
- isRead: z.ZodBoolean;
1983
- isStarred: z.ZodBoolean;
1984
- isDraft: z.ZodBoolean;
1985
- labels: z.ZodArray<z.ZodObject<{
1986
- id: z.ZodNumber;
1987
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1988
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1989
- }, "strip", z.ZodTypeAny, {
1990
- id: number;
1991
- color?: string | null | undefined;
1992
- name?: string | null | undefined;
1993
- }, {
1994
- id: number;
1995
- color?: string | null | undefined;
1996
- name?: string | null | undefined;
1997
- }>, "many">;
1998
- postedComments: z.ZodArray<z.ZodObject<{
1999
- id: z.ZodNumber;
2000
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2001
- userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2002
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2003
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2004
- isMine: z.ZodBoolean;
2005
- }, "strip", z.ZodTypeAny, {
2006
- id: number;
2007
- isMine: boolean;
2008
- userId?: string | null | undefined;
2009
- userName?: string | null | undefined;
2010
- content?: string | null | undefined;
2011
- createdAt?: string | null | undefined;
2012
- }, {
2013
- id: number;
2014
- isMine: boolean;
2015
- userId?: string | null | undefined;
2016
- userName?: string | null | undefined;
2017
- content?: string | null | undefined;
2018
- createdAt?: string | null | undefined;
2019
- }>, "many">;
2020
- attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
2021
- id: z.ZodString;
2022
- fileName: z.ZodString;
2023
- fileType: z.ZodNullable<z.ZodString>;
2024
- fileSize: z.ZodNullable<z.ZodNumber>;
2025
- createdAt: z.ZodNullable<z.ZodString>;
2026
- state: z.ZodEnum<[
2027
- "present",
2028
- "absent",
2029
- "unknown"
2030
- ]>;
2031
- hasThumbnail: z.ZodDefault<z.ZodBoolean>;
2032
- }, "strip", z.ZodTypeAny, {
2033
- id: string;
2034
- createdAt: string | null;
2035
- fileName: string;
2036
- fileType: string | null;
2037
- fileSize: number | null;
2038
- state: "present" | "absent" | "unknown";
2039
- hasThumbnail: boolean;
2040
- }, {
2041
- id: string;
2042
- createdAt: string | null;
2043
- fileName: string;
2044
- fileType: string | null;
2045
- fileSize: number | null;
2046
- state: "present" | "absent" | "unknown";
2047
- hasThumbnail?: boolean | undefined;
2048
- }>, "many">>;
2049
- }, "strip", z.ZodTypeAny, {
2050
- reportHubId: number;
2051
- interviewers: {
2052
- name?: string | null | undefined;
2053
- affiliation?: string | null | undefined;
2054
- }[];
2055
- externalComments: {
2056
- color?: string | null | undefined;
2057
- name?: string | null | undefined;
2058
- text?: string | null | undefined;
2059
- }[];
2060
- isRead: boolean;
2061
- isStarred: boolean;
2062
- isDraft: boolean;
2063
- labels: {
2064
- id: number;
2065
- color?: string | null | undefined;
2066
- name?: string | null | undefined;
2067
- }[];
2068
- postedComments: {
2069
- id: number;
2070
- isMine: boolean;
2071
- userId?: string | null | undefined;
2072
- userName?: string | null | undefined;
2073
- content?: string | null | undefined;
2074
- createdAt?: string | null | undefined;
2075
- }[];
2076
- attachments: {
2077
- id: string;
2078
- createdAt: string | null;
2079
- fileName: string;
2080
- fileType: string | null;
2081
- fileSize: number | null;
2082
- state: "present" | "absent" | "unknown";
2083
- hasThumbnail: boolean;
2084
- }[];
2085
- sourceType?: string | null | undefined;
2086
- author?: string | null | undefined;
2087
- userId?: string | null | undefined;
2088
- content?: string | null | undefined;
2089
- createdAt?: string | null | undefined;
2090
- date?: string | null | undefined;
2091
- employeeName?: string | null | undefined;
2092
- updatedBy?: string | null | undefined;
2093
- updatedAt?: string | null | undefined;
2094
- category?: string | null | undefined;
2095
- creationCategory?: string | null | undefined;
2096
- visitTimeFrom?: string | null | undefined;
2097
- visitTimeTo?: string | null | undefined;
2098
- customerName?: string | null | undefined;
2099
- subject?: string | null | undefined;
2100
- }, {
2101
- reportHubId: number;
2102
- interviewers: {
2103
- name?: string | null | undefined;
2104
- affiliation?: string | null | undefined;
2105
- }[];
2106
- externalComments: {
2107
- color?: string | null | undefined;
2108
- name?: string | null | undefined;
2109
- text?: string | null | undefined;
2110
- }[];
2111
- isRead: boolean;
2112
- isStarred: boolean;
2113
- isDraft: boolean;
2114
- labels: {
2115
- id: number;
2116
- color?: string | null | undefined;
2117
- name?: string | null | undefined;
2118
- }[];
2119
- postedComments: {
2120
- id: number;
2121
- isMine: boolean;
2122
- userId?: string | null | undefined;
2123
- userName?: string | null | undefined;
2124
- content?: string | null | undefined;
2125
- createdAt?: string | null | undefined;
2126
- }[];
2127
- sourceType?: string | null | undefined;
2128
- author?: string | null | undefined;
2129
- userId?: string | null | undefined;
2130
- content?: string | null | undefined;
2131
- createdAt?: string | null | undefined;
2132
- date?: string | null | undefined;
2133
- employeeName?: string | null | undefined;
2134
- updatedBy?: string | null | undefined;
2135
- updatedAt?: string | null | undefined;
2136
- category?: string | null | undefined;
2137
- creationCategory?: string | null | undefined;
2138
- visitTimeFrom?: string | null | undefined;
2139
- visitTimeTo?: string | null | undefined;
2140
- customerName?: string | null | undefined;
2141
- subject?: string | null | undefined;
2142
- attachments?: {
2143
- id: string;
2144
- createdAt: string | null;
2145
- fileName: string;
2146
- fileType: string | null;
2147
- fileSize: number | null;
2148
- state: "present" | "absent" | "unknown";
2149
- hasThumbnail?: boolean | undefined;
2150
- }[] | undefined;
2151
- }>;
2152
- clientTempId: z.ZodString;
2153
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
2154
- }, "strip", z.ZodTypeAny, {
2155
- type: "report-update";
2156
- reportHubId: number;
2157
- report: {
2158
- reportHubId: number;
2159
- interviewers: {
2160
- name?: string | null | undefined;
2161
- affiliation?: string | null | undefined;
2162
- }[];
2163
- externalComments: {
2164
- color?: string | null | undefined;
2165
- name?: string | null | undefined;
2166
- text?: string | null | undefined;
2167
- }[];
2168
- isRead: boolean;
2169
- isStarred: boolean;
2170
- isDraft: boolean;
2171
- labels: {
2172
- id: number;
2173
- color?: string | null | undefined;
2174
- name?: string | null | undefined;
2175
- }[];
2176
- postedComments: {
2177
- id: number;
2178
- isMine: boolean;
2179
- userId?: string | null | undefined;
2180
- userName?: string | null | undefined;
2181
- content?: string | null | undefined;
2182
- createdAt?: string | null | undefined;
2183
- }[];
2184
- attachments: {
2185
- id: string;
2186
- createdAt: string | null;
2187
- fileName: string;
2188
- fileType: string | null;
2189
- fileSize: number | null;
2190
- state: "present" | "absent" | "unknown";
2191
- hasThumbnail: boolean;
2192
- }[];
2193
- sourceType?: string | null | undefined;
2194
- author?: string | null | undefined;
2195
- userId?: string | null | undefined;
2196
- content?: string | null | undefined;
2197
- createdAt?: string | null | undefined;
2198
- date?: string | null | undefined;
2199
- employeeName?: string | null | undefined;
2200
- updatedBy?: string | null | undefined;
2201
- updatedAt?: string | null | undefined;
2202
- category?: string | null | undefined;
2203
- creationCategory?: string | null | undefined;
2204
- visitTimeFrom?: string | null | undefined;
2205
- visitTimeTo?: string | null | undefined;
2206
- customerName?: string | null | undefined;
2207
- subject?: string | null | undefined;
2208
- };
2209
- clientTempId: string;
2210
- recipientRawUserId?: number | undefined;
2211
- }, {
2212
- type: "report-update";
2213
- reportHubId: number;
2214
- report: {
2215
- reportHubId: number;
2216
- interviewers: {
2217
- name?: string | null | undefined;
2218
- affiliation?: string | null | undefined;
2219
- }[];
2220
- externalComments: {
2221
- color?: string | null | undefined;
2222
- name?: string | null | undefined;
2223
- text?: string | null | undefined;
2224
- }[];
2225
- isRead: boolean;
2226
- isStarred: boolean;
2227
- isDraft: boolean;
2228
- labels: {
2229
- id: number;
2230
- color?: string | null | undefined;
2231
- name?: string | null | undefined;
2232
- }[];
2233
- postedComments: {
2234
- id: number;
2235
- isMine: boolean;
2236
- userId?: string | null | undefined;
2237
- userName?: string | null | undefined;
2238
- content?: string | null | undefined;
2239
- createdAt?: string | null | undefined;
2240
- }[];
2241
- sourceType?: string | null | undefined;
2242
- author?: string | null | undefined;
2243
- userId?: string | null | undefined;
2244
- content?: string | null | undefined;
2245
- createdAt?: string | null | undefined;
2246
- date?: string | null | undefined;
2247
- employeeName?: string | null | undefined;
2248
- updatedBy?: string | null | undefined;
2249
- updatedAt?: string | null | undefined;
2250
- category?: string | null | undefined;
2251
- creationCategory?: string | null | undefined;
2252
- visitTimeFrom?: string | null | undefined;
2253
- visitTimeTo?: string | null | undefined;
2254
- customerName?: string | null | undefined;
2255
- subject?: string | null | undefined;
2256
- attachments?: {
2257
- id: string;
2258
- createdAt: string | null;
2259
- fileName: string;
2260
- fileType: string | null;
2261
- fileSize: number | null;
2262
- state: "present" | "absent" | "unknown";
2263
- hasThumbnail?: boolean | undefined;
2264
- }[] | undefined;
2265
- };
2266
- clientTempId: string;
2267
- recipientRawUserId?: number | undefined;
2268
- }>,
2269
- z.ZodObject<{
2270
- type: z.ZodLiteral<"report-publish">;
2271
- reportHubId: z.ZodNumber;
2272
- report: z.ZodObject<{
2273
- reportHubId: z.ZodNumber;
2274
- date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2275
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2276
- author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2277
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2278
- sourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2279
- employeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2280
- updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2281
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2282
- category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2283
- creationCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2284
- visitTimeFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2285
- visitTimeTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2286
- customerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2287
- interviewers: z.ZodArray<z.ZodObject<{
2288
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2289
- affiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2290
- }, "strip", z.ZodTypeAny, {
2291
- name?: string | null | undefined;
2292
- affiliation?: string | null | undefined;
2293
- }, {
2294
- name?: string | null | undefined;
2295
- affiliation?: string | null | undefined;
2296
- }>, "many">;
2297
- subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2298
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2299
- externalComments: z.ZodArray<z.ZodObject<{
2300
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2301
- text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2302
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2303
- }, "strip", z.ZodTypeAny, {
2304
- color?: string | null | undefined;
2305
- name?: string | null | undefined;
2306
- text?: string | null | undefined;
2307
- }, {
2308
- color?: string | null | undefined;
2309
- name?: string | null | undefined;
2310
- text?: string | null | undefined;
2311
- }>, "many">;
2312
- isRead: z.ZodBoolean;
2313
- isStarred: z.ZodBoolean;
2314
- isDraft: z.ZodBoolean;
2315
- labels: z.ZodArray<z.ZodObject<{
2316
- id: z.ZodNumber;
2317
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2318
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2319
- }, "strip", z.ZodTypeAny, {
2320
- id: number;
2321
- color?: string | null | undefined;
2322
- name?: string | null | undefined;
2323
- }, {
2324
- id: number;
2325
- color?: string | null | undefined;
2326
- name?: string | null | undefined;
2327
- }>, "many">;
2328
- postedComments: z.ZodArray<z.ZodObject<{
2329
- id: z.ZodNumber;
2330
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2331
- userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2332
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2333
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2334
- isMine: z.ZodBoolean;
2335
- }, "strip", z.ZodTypeAny, {
2336
- id: number;
2337
- isMine: boolean;
2338
- userId?: string | null | undefined;
2339
- userName?: string | null | undefined;
2340
- content?: string | null | undefined;
2341
- createdAt?: string | null | undefined;
2342
- }, {
2343
- id: number;
2344
- isMine: boolean;
2345
- userId?: string | null | undefined;
2346
- userName?: string | null | undefined;
2347
- content?: string | null | undefined;
2348
- createdAt?: string | null | undefined;
2349
- }>, "many">;
2350
- attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
2351
- id: z.ZodString;
2352
- fileName: z.ZodString;
2353
- fileType: z.ZodNullable<z.ZodString>;
2354
- fileSize: z.ZodNullable<z.ZodNumber>;
2355
- createdAt: z.ZodNullable<z.ZodString>;
2356
- state: z.ZodEnum<[
2357
- "present",
2358
- "absent",
2359
- "unknown"
2360
- ]>;
2361
- hasThumbnail: z.ZodDefault<z.ZodBoolean>;
2362
- }, "strip", z.ZodTypeAny, {
2363
- id: string;
2364
- createdAt: string | null;
2365
- fileName: string;
2366
- fileType: string | null;
2367
- fileSize: number | null;
2368
- state: "present" | "absent" | "unknown";
2369
- hasThumbnail: boolean;
2370
- }, {
2371
- id: string;
2372
- createdAt: string | null;
2373
- fileName: string;
2374
- fileType: string | null;
2375
- fileSize: number | null;
2376
- state: "present" | "absent" | "unknown";
2377
- hasThumbnail?: boolean | undefined;
2378
- }>, "many">>;
2379
- }, "strip", z.ZodTypeAny, {
2380
- reportHubId: number;
2381
- interviewers: {
2382
- name?: string | null | undefined;
2383
- affiliation?: string | null | undefined;
2384
- }[];
2385
- externalComments: {
2386
- color?: string | null | undefined;
2387
- name?: string | null | undefined;
2388
- text?: string | null | undefined;
2389
- }[];
2390
- isRead: boolean;
2391
- isStarred: boolean;
2392
- isDraft: boolean;
2393
- labels: {
2394
- id: number;
2395
- color?: string | null | undefined;
2396
- name?: string | null | undefined;
2397
- }[];
2398
- postedComments: {
2399
- id: number;
2400
- isMine: boolean;
2401
- userId?: string | null | undefined;
2402
- userName?: string | null | undefined;
2403
- content?: string | null | undefined;
2404
- createdAt?: string | null | undefined;
2405
- }[];
2406
- attachments: {
2407
- id: string;
2408
- createdAt: string | null;
2409
- fileName: string;
2410
- fileType: string | null;
2411
- fileSize: number | null;
2412
- state: "present" | "absent" | "unknown";
2413
- hasThumbnail: boolean;
2414
- }[];
2415
- sourceType?: string | null | undefined;
2416
- author?: string | null | undefined;
2417
- userId?: string | null | undefined;
2418
- content?: string | null | undefined;
2419
- createdAt?: string | null | undefined;
2420
- date?: string | null | undefined;
2421
- employeeName?: string | null | undefined;
2422
- updatedBy?: string | null | undefined;
2423
- updatedAt?: string | null | undefined;
2424
- category?: string | null | undefined;
2425
- creationCategory?: string | null | undefined;
2426
- visitTimeFrom?: string | null | undefined;
2427
- visitTimeTo?: string | null | undefined;
2428
- customerName?: string | null | undefined;
2429
- subject?: string | null | undefined;
2430
- }, {
2431
- reportHubId: number;
2432
- interviewers: {
2433
- name?: string | null | undefined;
2434
- affiliation?: string | null | undefined;
2435
- }[];
2436
- externalComments: {
2437
- color?: string | null | undefined;
2438
- name?: string | null | undefined;
2439
- text?: string | null | undefined;
2440
- }[];
2441
- isRead: boolean;
2442
- isStarred: boolean;
2443
- isDraft: boolean;
2444
- labels: {
2445
- id: number;
2446
- color?: string | null | undefined;
2447
- name?: string | null | undefined;
2448
- }[];
2449
- postedComments: {
2450
- id: number;
2451
- isMine: boolean;
2452
- userId?: string | null | undefined;
2453
- userName?: string | null | undefined;
2454
- content?: string | null | undefined;
2455
- createdAt?: string | null | undefined;
2456
- }[];
2457
- sourceType?: string | null | undefined;
2458
- author?: string | null | undefined;
2459
- userId?: string | null | undefined;
2460
- content?: string | null | undefined;
2461
- createdAt?: string | null | undefined;
2462
- date?: string | null | undefined;
2463
- employeeName?: string | null | undefined;
2464
- updatedBy?: string | null | undefined;
2465
- updatedAt?: string | null | undefined;
2466
- category?: string | null | undefined;
2467
- creationCategory?: string | null | undefined;
2468
- visitTimeFrom?: string | null | undefined;
2469
- visitTimeTo?: string | null | undefined;
2470
- customerName?: string | null | undefined;
2471
- subject?: string | null | undefined;
2472
- attachments?: {
2473
- id: string;
2474
- createdAt: string | null;
2475
- fileName: string;
2476
- fileType: string | null;
2477
- fileSize: number | null;
2478
- state: "present" | "absent" | "unknown";
2479
- hasThumbnail?: boolean | undefined;
2480
- }[] | undefined;
2481
- }>;
2482
- clientTempId: z.ZodString;
2483
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
2484
- }, "strip", z.ZodTypeAny, {
2485
- type: "report-publish";
2486
- reportHubId: number;
2487
- report: {
2488
- reportHubId: number;
2489
- interviewers: {
2490
- name?: string | null | undefined;
2491
- affiliation?: string | null | undefined;
2492
- }[];
2493
- externalComments: {
2494
- color?: string | null | undefined;
2495
- name?: string | null | undefined;
2496
- text?: string | null | undefined;
2497
- }[];
2498
- isRead: boolean;
2499
- isStarred: boolean;
2500
- isDraft: boolean;
2501
- labels: {
2502
- id: number;
2503
- color?: string | null | undefined;
2504
- name?: string | null | undefined;
2505
- }[];
2506
- postedComments: {
2507
- id: number;
2508
- isMine: boolean;
2509
- userId?: string | null | undefined;
2510
- userName?: string | null | undefined;
2511
- content?: string | null | undefined;
2512
- createdAt?: string | null | undefined;
2513
- }[];
2514
- attachments: {
2515
- id: string;
2516
- createdAt: string | null;
2517
- fileName: string;
2518
- fileType: string | null;
2519
- fileSize: number | null;
2520
- state: "present" | "absent" | "unknown";
2521
- hasThumbnail: boolean;
2522
- }[];
2523
- sourceType?: string | null | undefined;
2524
- author?: string | null | undefined;
2525
- userId?: string | null | undefined;
2526
- content?: string | null | undefined;
2527
- createdAt?: string | null | undefined;
2528
- date?: string | null | undefined;
2529
- employeeName?: string | null | undefined;
2530
- updatedBy?: string | null | undefined;
2531
- updatedAt?: string | null | undefined;
2532
- category?: string | null | undefined;
2533
- creationCategory?: string | null | undefined;
2534
- visitTimeFrom?: string | null | undefined;
2535
- visitTimeTo?: string | null | undefined;
2536
- customerName?: string | null | undefined;
2537
- subject?: string | null | undefined;
2538
- };
2539
- clientTempId: string;
2540
- recipientRawUserId?: number | undefined;
2541
- }, {
2542
- type: "report-publish";
2543
- reportHubId: number;
2544
- report: {
2545
- reportHubId: number;
2546
- interviewers: {
2547
- name?: string | null | undefined;
2548
- affiliation?: string | null | undefined;
2549
- }[];
2550
- externalComments: {
2551
- color?: string | null | undefined;
2552
- name?: string | null | undefined;
2553
- text?: string | null | undefined;
2554
- }[];
2555
- isRead: boolean;
2556
- isStarred: boolean;
2557
- isDraft: boolean;
2558
- labels: {
2559
- id: number;
2560
- color?: string | null | undefined;
2561
- name?: string | null | undefined;
2562
- }[];
2563
- postedComments: {
2564
- id: number;
2565
- isMine: boolean;
2566
- userId?: string | null | undefined;
2567
- userName?: string | null | undefined;
2568
- content?: string | null | undefined;
2569
- createdAt?: string | null | undefined;
2570
- }[];
2571
- sourceType?: string | null | undefined;
2572
- author?: string | null | undefined;
2573
- userId?: string | null | undefined;
2574
- content?: string | null | undefined;
2575
- createdAt?: string | null | undefined;
2576
- date?: string | null | undefined;
2577
- employeeName?: string | null | undefined;
2578
- updatedBy?: string | null | undefined;
2579
- updatedAt?: string | null | undefined;
2580
- category?: string | null | undefined;
2581
- creationCategory?: string | null | undefined;
2582
- visitTimeFrom?: string | null | undefined;
2583
- visitTimeTo?: string | null | undefined;
2584
- customerName?: string | null | undefined;
2585
- subject?: string | null | undefined;
2586
- attachments?: {
2587
- id: string;
2588
- createdAt: string | null;
2589
- fileName: string;
2590
- fileType: string | null;
2591
- fileSize: number | null;
2592
- state: "present" | "absent" | "unknown";
2593
- hasThumbnail?: boolean | undefined;
2594
- }[] | undefined;
2595
- };
2596
- clientTempId: string;
2597
- recipientRawUserId?: number | undefined;
2598
- }>,
2599
- z.ZodObject<{
2600
- type: z.ZodLiteral<"report-delete">;
2601
- reportHubId: z.ZodNumber;
2602
- clientTempId: z.ZodString;
2603
- sourceType: z.ZodOptional<z.ZodString>;
2604
- }, "strip", z.ZodTypeAny, {
2605
- type: "report-delete";
2606
- reportHubId: number;
2607
- clientTempId: string;
2608
- sourceType?: string | undefined;
2609
- }, {
2610
- type: "report-delete";
2611
- reportHubId: number;
2612
- clientTempId: string;
2613
- sourceType?: string | undefined;
2614
- }>
2615
- ]>;
2616
- type DailyReportSseMessage = z.infer<typeof dailyReportSseMessageSchema>;
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 };