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