@aiquants/daily-report 0.6.2 → 0.7.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/dist/client.d.mts +81 -3
- package/dist/client.d.ts +81 -3
- package/dist/client.js +4 -4
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +4 -4
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/server.d.mts +434 -6
- package/dist/server.d.ts +434 -6
- package/dist/server.js +6 -6
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +6 -6
- package/dist/server.mjs.map +1 -1
- package/dist/{sse-schema-rbG114od.d.mts → sse-schema-Df49KA7B.d.mts} +643 -249
- package/dist/{sse-schema-eXcMG-Ej.d.ts → sse-schema-RHckD7TS.d.ts} +643 -249
- package/dist/styles/daily-report.standalone.css +1 -1
- package/dist/{types-D1PKubyo.d.mts → types-Ct1ggzy-.d.mts} +30 -1
- package/dist/{types-D1PKubyo.d.ts → types-Ct1ggzy-.d.ts} +30 -1
- package/package.json +3 -3
- package/src/client/components/daily-report-attachment-indicator.spec.tsx +51 -0
- package/src/client/components/daily-report-attachment-indicator.tsx +45 -0
- package/src/client/components/daily-report-attachment-list.spec.tsx +94 -0
- package/src/client/components/daily-report-attachment-list.tsx +112 -0
- package/src/client/components/daily-report-detail-list.tsx +14 -7
- package/src/client/components/daily-report-list.tsx +19 -11
- package/src/client/components/report-views.spec.tsx +340 -0
- package/src/client/config-context.tsx +8 -0
- package/src/client/contexts/daily-report-action-context.tsx +2 -0
- package/src/client/hooks/use-responsive-layout.spec.ts +74 -0
- package/src/client/hooks/use-responsive-layout.ts +56 -0
- package/src/client/utils/constants.spec.ts +96 -0
- package/src/client/utils/constants.ts +47 -2
- package/src/client.ts +2 -0
- package/src/server/handlers.attachment.spec.ts +470 -0
- package/src/server/handlers.ts +426 -1
- package/src/server/ports.ts +74 -0
- package/src/server/schema.ts +80 -5
- package/src/server/service.spec.ts +280 -14
- package/src/server/service.ts +308 -25
- package/src/server/test-helpers/handlers-config.ts +142 -0
- package/src/server.ts +16 -1
- package/src/shared/sse-schema.spec.ts +50 -0
- package/src/shared/sse-schema.ts +27 -0
- package/src/shared/types.ts +31 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as DailyReportComment, f as DailyReportCommentItem } from './types-Ct1ggzy-.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -77,18 +77,50 @@ declare const dailyReportCommentItemSchema: z.ZodObject<{
|
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
id: number;
|
|
79
79
|
isMine: boolean;
|
|
80
|
-
content?: string | null | undefined;
|
|
81
80
|
createdAt?: string | null | undefined;
|
|
81
|
+
content?: string | null | undefined;
|
|
82
82
|
userId?: string | null | undefined;
|
|
83
83
|
userName?: string | null | undefined;
|
|
84
84
|
}, {
|
|
85
85
|
id: number;
|
|
86
86
|
isMine: boolean;
|
|
87
|
-
content?: string | null | undefined;
|
|
88
87
|
createdAt?: string | null | undefined;
|
|
88
|
+
content?: string | null | undefined;
|
|
89
89
|
userId?: string | null | undefined;
|
|
90
90
|
userName?: string | null | undefined;
|
|
91
91
|
}>;
|
|
92
|
+
/**
|
|
93
|
+
* 添付ファイル 1 件のスキーマ。
|
|
94
|
+
*
|
|
95
|
+
* 周囲のフィールドは `.nullish()` だが、ここは意図して `.nullable()` を使う。
|
|
96
|
+
* `.nullish()` は推論キーを任意 (`?`) にするため、`types.ts` 側の必須 `fileType: string | null`
|
|
97
|
+
* へ代入できず、ファイル末尾の `_AssertDetailCompat` が `never` に落ちてコンパイルエラーになる。
|
|
98
|
+
* 既存の `.nullish()` フィールドはいずれも `types.ts` 側が `?` 付きの任意キーとペアになっており、
|
|
99
|
+
* 「`.nullish()` ↔ 任意キー」「`.nullable()` ↔ 必須 `| null`」の対応で揃っている。
|
|
100
|
+
* `| undefined` を混ぜないことは、詳細型を消費する DuckDB ステージ行の要請でもある。
|
|
101
|
+
*/
|
|
102
|
+
declare const dailyReportAttachmentItemSchema: z.ZodObject<{
|
|
103
|
+
id: z.ZodString;
|
|
104
|
+
fileName: z.ZodString;
|
|
105
|
+
fileType: z.ZodNullable<z.ZodString>;
|
|
106
|
+
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
107
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
108
|
+
state: z.ZodEnum<["present", "absent", "unknown"]>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
id: string;
|
|
111
|
+
createdAt: string | null;
|
|
112
|
+
fileName: string;
|
|
113
|
+
fileType: string | null;
|
|
114
|
+
fileSize: number | null;
|
|
115
|
+
state: "present" | "absent" | "unknown";
|
|
116
|
+
}, {
|
|
117
|
+
id: string;
|
|
118
|
+
createdAt: string | null;
|
|
119
|
+
fileName: string;
|
|
120
|
+
fileType: string | null;
|
|
121
|
+
fileSize: number | null;
|
|
122
|
+
state: "present" | "absent" | "unknown";
|
|
123
|
+
}>;
|
|
92
124
|
declare const dailyReportDetailSchema: z.ZodObject<{
|
|
93
125
|
reportHubId: z.ZodNumber;
|
|
94
126
|
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -154,29 +186,59 @@ declare const dailyReportDetailSchema: z.ZodObject<{
|
|
|
154
186
|
}, "strip", z.ZodTypeAny, {
|
|
155
187
|
id: number;
|
|
156
188
|
isMine: boolean;
|
|
157
|
-
content?: string | null | undefined;
|
|
158
189
|
createdAt?: string | null | undefined;
|
|
190
|
+
content?: string | null | undefined;
|
|
159
191
|
userId?: string | null | undefined;
|
|
160
192
|
userName?: string | null | undefined;
|
|
161
193
|
}, {
|
|
162
194
|
id: number;
|
|
163
195
|
isMine: boolean;
|
|
164
|
-
content?: string | null | undefined;
|
|
165
196
|
createdAt?: string | null | undefined;
|
|
197
|
+
content?: string | null | undefined;
|
|
166
198
|
userId?: string | null | undefined;
|
|
167
199
|
userName?: string | null | undefined;
|
|
168
200
|
}>, "many">;
|
|
201
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
202
|
+
id: z.ZodString;
|
|
203
|
+
fileName: z.ZodString;
|
|
204
|
+
fileType: z.ZodNullable<z.ZodString>;
|
|
205
|
+
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
206
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
207
|
+
state: z.ZodEnum<["present", "absent", "unknown"]>;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
id: string;
|
|
210
|
+
createdAt: string | null;
|
|
211
|
+
fileName: string;
|
|
212
|
+
fileType: string | null;
|
|
213
|
+
fileSize: number | null;
|
|
214
|
+
state: "present" | "absent" | "unknown";
|
|
215
|
+
}, {
|
|
216
|
+
id: string;
|
|
217
|
+
createdAt: string | null;
|
|
218
|
+
fileName: string;
|
|
219
|
+
fileType: string | null;
|
|
220
|
+
fileSize: number | null;
|
|
221
|
+
state: "present" | "absent" | "unknown";
|
|
222
|
+
}>, "many">>;
|
|
169
223
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
|
|
224
|
+
interviewers: {
|
|
225
|
+
name?: string | null | undefined;
|
|
226
|
+
affiliation?: string | null | undefined;
|
|
227
|
+
}[];
|
|
171
228
|
comments: {
|
|
172
229
|
color?: string | null | undefined;
|
|
173
230
|
name?: string | null | undefined;
|
|
174
231
|
text?: string | null | undefined;
|
|
175
232
|
}[];
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
233
|
+
attachments: {
|
|
234
|
+
id: string;
|
|
235
|
+
createdAt: string | null;
|
|
236
|
+
fileName: string;
|
|
237
|
+
fileType: string | null;
|
|
238
|
+
fileSize: number | null;
|
|
239
|
+
state: "present" | "absent" | "unknown";
|
|
179
240
|
}[];
|
|
241
|
+
reportHubId: number;
|
|
180
242
|
isRead: boolean;
|
|
181
243
|
isStarred: boolean;
|
|
182
244
|
labels: {
|
|
@@ -187,13 +249,11 @@ declare const dailyReportDetailSchema: z.ZodObject<{
|
|
|
187
249
|
commentItems: {
|
|
188
250
|
id: number;
|
|
189
251
|
isMine: boolean;
|
|
190
|
-
content?: string | null | undefined;
|
|
191
252
|
createdAt?: string | null | undefined;
|
|
253
|
+
content?: string | null | undefined;
|
|
192
254
|
userId?: string | null | undefined;
|
|
193
255
|
userName?: string | null | undefined;
|
|
194
256
|
}[];
|
|
195
|
-
content?: string | null | undefined;
|
|
196
|
-
date?: string | null | undefined;
|
|
197
257
|
author?: string | null | undefined;
|
|
198
258
|
createdAt?: string | null | undefined;
|
|
199
259
|
updatedAt?: string | null | undefined;
|
|
@@ -201,6 +261,8 @@ declare const dailyReportDetailSchema: z.ZodObject<{
|
|
|
201
261
|
category?: string | null | undefined;
|
|
202
262
|
creationCategory?: string | null | undefined;
|
|
203
263
|
subject?: string | null | undefined;
|
|
264
|
+
content?: string | null | undefined;
|
|
265
|
+
date?: string | null | undefined;
|
|
204
266
|
userId?: string | null | undefined;
|
|
205
267
|
sourceType?: string | null | undefined;
|
|
206
268
|
employeeName?: string | null | undefined;
|
|
@@ -208,16 +270,16 @@ declare const dailyReportDetailSchema: z.ZodObject<{
|
|
|
208
270
|
visitTimeTo?: string | null | undefined;
|
|
209
271
|
customerName?: string | null | undefined;
|
|
210
272
|
}, {
|
|
211
|
-
|
|
273
|
+
interviewers: {
|
|
274
|
+
name?: string | null | undefined;
|
|
275
|
+
affiliation?: string | null | undefined;
|
|
276
|
+
}[];
|
|
212
277
|
comments: {
|
|
213
278
|
color?: string | null | undefined;
|
|
214
279
|
name?: string | null | undefined;
|
|
215
280
|
text?: string | null | undefined;
|
|
216
281
|
}[];
|
|
217
|
-
|
|
218
|
-
name?: string | null | undefined;
|
|
219
|
-
affiliation?: string | null | undefined;
|
|
220
|
-
}[];
|
|
282
|
+
reportHubId: number;
|
|
221
283
|
isRead: boolean;
|
|
222
284
|
isStarred: boolean;
|
|
223
285
|
labels: {
|
|
@@ -228,13 +290,11 @@ declare const dailyReportDetailSchema: z.ZodObject<{
|
|
|
228
290
|
commentItems: {
|
|
229
291
|
id: number;
|
|
230
292
|
isMine: boolean;
|
|
231
|
-
content?: string | null | undefined;
|
|
232
293
|
createdAt?: string | null | undefined;
|
|
294
|
+
content?: string | null | undefined;
|
|
233
295
|
userId?: string | null | undefined;
|
|
234
296
|
userName?: string | null | undefined;
|
|
235
297
|
}[];
|
|
236
|
-
content?: string | null | undefined;
|
|
237
|
-
date?: string | null | undefined;
|
|
238
298
|
author?: string | null | undefined;
|
|
239
299
|
createdAt?: string | null | undefined;
|
|
240
300
|
updatedAt?: string | null | undefined;
|
|
@@ -242,6 +302,16 @@ declare const dailyReportDetailSchema: z.ZodObject<{
|
|
|
242
302
|
category?: string | null | undefined;
|
|
243
303
|
creationCategory?: string | null | undefined;
|
|
244
304
|
subject?: string | null | undefined;
|
|
305
|
+
content?: string | null | undefined;
|
|
306
|
+
attachments?: {
|
|
307
|
+
id: string;
|
|
308
|
+
createdAt: string | null;
|
|
309
|
+
fileName: string;
|
|
310
|
+
fileType: string | null;
|
|
311
|
+
fileSize: number | null;
|
|
312
|
+
state: "present" | "absent" | "unknown";
|
|
313
|
+
}[] | undefined;
|
|
314
|
+
date?: string | null | undefined;
|
|
245
315
|
userId?: string | null | undefined;
|
|
246
316
|
sourceType?: string | null | undefined;
|
|
247
317
|
employeeName?: string | null | undefined;
|
|
@@ -264,16 +334,16 @@ declare const statusUpdateMessageSchema: z.ZodObject<{
|
|
|
264
334
|
clientTempId: z.ZodString;
|
|
265
335
|
recipientRawUserId: z.ZodOptional<z.ZodNumber>;
|
|
266
336
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
reportHubId: number;
|
|
268
337
|
type: "status-update";
|
|
269
338
|
value: boolean;
|
|
339
|
+
reportHubId: number;
|
|
270
340
|
statusType: "star" | "read";
|
|
271
341
|
clientTempId: string;
|
|
272
342
|
recipientRawUserId?: number | undefined;
|
|
273
343
|
}, {
|
|
274
|
-
reportHubId: number;
|
|
275
344
|
type: "status-update";
|
|
276
345
|
value: boolean;
|
|
346
|
+
reportHubId: number;
|
|
277
347
|
statusType: "star" | "read";
|
|
278
348
|
clientTempId: string;
|
|
279
349
|
recipientRawUserId?: number | undefined;
|
|
@@ -291,42 +361,42 @@ declare const commentAddMessageSchema: z.ZodObject<{
|
|
|
291
361
|
}, "strip", z.ZodTypeAny, {
|
|
292
362
|
id: number;
|
|
293
363
|
isMine: boolean;
|
|
294
|
-
content?: string | null | undefined;
|
|
295
364
|
createdAt?: string | null | undefined;
|
|
365
|
+
content?: string | null | undefined;
|
|
296
366
|
userId?: string | null | undefined;
|
|
297
367
|
userName?: string | null | undefined;
|
|
298
368
|
}, {
|
|
299
369
|
id: number;
|
|
300
370
|
isMine: boolean;
|
|
301
|
-
content?: string | null | undefined;
|
|
302
371
|
createdAt?: string | null | undefined;
|
|
372
|
+
content?: string | null | undefined;
|
|
303
373
|
userId?: string | null | undefined;
|
|
304
374
|
userName?: string | null | undefined;
|
|
305
375
|
}>;
|
|
306
376
|
clientTempId: z.ZodString;
|
|
307
377
|
}, "strip", z.ZodTypeAny, {
|
|
378
|
+
type: "comment-add";
|
|
308
379
|
comment: {
|
|
309
380
|
id: number;
|
|
310
381
|
isMine: boolean;
|
|
311
|
-
content?: string | null | undefined;
|
|
312
382
|
createdAt?: string | null | undefined;
|
|
383
|
+
content?: string | null | undefined;
|
|
313
384
|
userId?: string | null | undefined;
|
|
314
385
|
userName?: string | null | undefined;
|
|
315
386
|
};
|
|
316
387
|
reportHubId: number;
|
|
317
|
-
type: "comment-add";
|
|
318
388
|
clientTempId: string;
|
|
319
389
|
}, {
|
|
390
|
+
type: "comment-add";
|
|
320
391
|
comment: {
|
|
321
392
|
id: number;
|
|
322
393
|
isMine: boolean;
|
|
323
|
-
content?: string | null | undefined;
|
|
324
394
|
createdAt?: string | null | undefined;
|
|
395
|
+
content?: string | null | undefined;
|
|
325
396
|
userId?: string | null | undefined;
|
|
326
397
|
userName?: string | null | undefined;
|
|
327
398
|
};
|
|
328
399
|
reportHubId: number;
|
|
329
|
-
type: "comment-add";
|
|
330
400
|
clientTempId: string;
|
|
331
401
|
}>;
|
|
332
402
|
declare const commentDeleteMessageSchema: z.ZodObject<{
|
|
@@ -335,13 +405,13 @@ declare const commentDeleteMessageSchema: z.ZodObject<{
|
|
|
335
405
|
commentId: z.ZodNumber;
|
|
336
406
|
clientTempId: z.ZodString;
|
|
337
407
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
reportHubId: number;
|
|
339
408
|
type: "comment-delete";
|
|
409
|
+
reportHubId: number;
|
|
340
410
|
clientTempId: string;
|
|
341
411
|
commentId: number;
|
|
342
412
|
}, {
|
|
343
|
-
reportHubId: number;
|
|
344
413
|
type: "comment-delete";
|
|
414
|
+
reportHubId: number;
|
|
345
415
|
clientTempId: string;
|
|
346
416
|
commentId: number;
|
|
347
417
|
}>;
|
|
@@ -413,29 +483,59 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
413
483
|
}, "strip", z.ZodTypeAny, {
|
|
414
484
|
id: number;
|
|
415
485
|
isMine: boolean;
|
|
416
|
-
content?: string | null | undefined;
|
|
417
486
|
createdAt?: string | null | undefined;
|
|
487
|
+
content?: string | null | undefined;
|
|
418
488
|
userId?: string | null | undefined;
|
|
419
489
|
userName?: string | null | undefined;
|
|
420
490
|
}, {
|
|
421
491
|
id: number;
|
|
422
492
|
isMine: boolean;
|
|
423
|
-
content?: string | null | undefined;
|
|
424
493
|
createdAt?: string | null | undefined;
|
|
494
|
+
content?: string | null | undefined;
|
|
425
495
|
userId?: string | null | undefined;
|
|
426
496
|
userName?: string | null | undefined;
|
|
427
497
|
}>, "many">;
|
|
498
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
499
|
+
id: z.ZodString;
|
|
500
|
+
fileName: z.ZodString;
|
|
501
|
+
fileType: z.ZodNullable<z.ZodString>;
|
|
502
|
+
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
503
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
504
|
+
state: z.ZodEnum<["present", "absent", "unknown"]>;
|
|
505
|
+
}, "strip", z.ZodTypeAny, {
|
|
506
|
+
id: string;
|
|
507
|
+
createdAt: string | null;
|
|
508
|
+
fileName: string;
|
|
509
|
+
fileType: string | null;
|
|
510
|
+
fileSize: number | null;
|
|
511
|
+
state: "present" | "absent" | "unknown";
|
|
512
|
+
}, {
|
|
513
|
+
id: string;
|
|
514
|
+
createdAt: string | null;
|
|
515
|
+
fileName: string;
|
|
516
|
+
fileType: string | null;
|
|
517
|
+
fileSize: number | null;
|
|
518
|
+
state: "present" | "absent" | "unknown";
|
|
519
|
+
}>, "many">>;
|
|
428
520
|
}, "strip", z.ZodTypeAny, {
|
|
429
|
-
|
|
521
|
+
interviewers: {
|
|
522
|
+
name?: string | null | undefined;
|
|
523
|
+
affiliation?: string | null | undefined;
|
|
524
|
+
}[];
|
|
430
525
|
comments: {
|
|
431
526
|
color?: string | null | undefined;
|
|
432
527
|
name?: string | null | undefined;
|
|
433
528
|
text?: string | null | undefined;
|
|
434
529
|
}[];
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
530
|
+
attachments: {
|
|
531
|
+
id: string;
|
|
532
|
+
createdAt: string | null;
|
|
533
|
+
fileName: string;
|
|
534
|
+
fileType: string | null;
|
|
535
|
+
fileSize: number | null;
|
|
536
|
+
state: "present" | "absent" | "unknown";
|
|
438
537
|
}[];
|
|
538
|
+
reportHubId: number;
|
|
439
539
|
isRead: boolean;
|
|
440
540
|
isStarred: boolean;
|
|
441
541
|
labels: {
|
|
@@ -446,13 +546,11 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
446
546
|
commentItems: {
|
|
447
547
|
id: number;
|
|
448
548
|
isMine: boolean;
|
|
449
|
-
content?: string | null | undefined;
|
|
450
549
|
createdAt?: string | null | undefined;
|
|
550
|
+
content?: string | null | undefined;
|
|
451
551
|
userId?: string | null | undefined;
|
|
452
552
|
userName?: string | null | undefined;
|
|
453
553
|
}[];
|
|
454
|
-
content?: string | null | undefined;
|
|
455
|
-
date?: string | null | undefined;
|
|
456
554
|
author?: string | null | undefined;
|
|
457
555
|
createdAt?: string | null | undefined;
|
|
458
556
|
updatedAt?: string | null | undefined;
|
|
@@ -460,6 +558,8 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
460
558
|
category?: string | null | undefined;
|
|
461
559
|
creationCategory?: string | null | undefined;
|
|
462
560
|
subject?: string | null | undefined;
|
|
561
|
+
content?: string | null | undefined;
|
|
562
|
+
date?: string | null | undefined;
|
|
463
563
|
userId?: string | null | undefined;
|
|
464
564
|
sourceType?: string | null | undefined;
|
|
465
565
|
employeeName?: string | null | undefined;
|
|
@@ -467,16 +567,16 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
467
567
|
visitTimeTo?: string | null | undefined;
|
|
468
568
|
customerName?: string | null | undefined;
|
|
469
569
|
}, {
|
|
470
|
-
|
|
570
|
+
interviewers: {
|
|
571
|
+
name?: string | null | undefined;
|
|
572
|
+
affiliation?: string | null | undefined;
|
|
573
|
+
}[];
|
|
471
574
|
comments: {
|
|
472
575
|
color?: string | null | undefined;
|
|
473
576
|
name?: string | null | undefined;
|
|
474
577
|
text?: string | null | undefined;
|
|
475
578
|
}[];
|
|
476
|
-
|
|
477
|
-
name?: string | null | undefined;
|
|
478
|
-
affiliation?: string | null | undefined;
|
|
479
|
-
}[];
|
|
579
|
+
reportHubId: number;
|
|
480
580
|
isRead: boolean;
|
|
481
581
|
isStarred: boolean;
|
|
482
582
|
labels: {
|
|
@@ -487,13 +587,11 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
487
587
|
commentItems: {
|
|
488
588
|
id: number;
|
|
489
589
|
isMine: boolean;
|
|
490
|
-
content?: string | null | undefined;
|
|
491
590
|
createdAt?: string | null | undefined;
|
|
591
|
+
content?: string | null | undefined;
|
|
492
592
|
userId?: string | null | undefined;
|
|
493
593
|
userName?: string | null | undefined;
|
|
494
594
|
}[];
|
|
495
|
-
content?: string | null | undefined;
|
|
496
|
-
date?: string | null | undefined;
|
|
497
595
|
author?: string | null | undefined;
|
|
498
596
|
createdAt?: string | null | undefined;
|
|
499
597
|
updatedAt?: string | null | undefined;
|
|
@@ -501,6 +599,16 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
501
599
|
category?: string | null | undefined;
|
|
502
600
|
creationCategory?: string | null | undefined;
|
|
503
601
|
subject?: string | null | undefined;
|
|
602
|
+
content?: string | null | undefined;
|
|
603
|
+
attachments?: {
|
|
604
|
+
id: string;
|
|
605
|
+
createdAt: string | null;
|
|
606
|
+
fileName: string;
|
|
607
|
+
fileType: string | null;
|
|
608
|
+
fileSize: number | null;
|
|
609
|
+
state: "present" | "absent" | "unknown";
|
|
610
|
+
}[] | undefined;
|
|
611
|
+
date?: string | null | undefined;
|
|
504
612
|
userId?: string | null | undefined;
|
|
505
613
|
sourceType?: string | null | undefined;
|
|
506
614
|
employeeName?: string | null | undefined;
|
|
@@ -511,20 +619,28 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
511
619
|
clientTempId: z.ZodString;
|
|
512
620
|
recipientRawUserId: z.ZodOptional<z.ZodNumber>;
|
|
513
621
|
}, "strip", z.ZodTypeAny, {
|
|
514
|
-
reportHubId: number;
|
|
515
622
|
type: "report-create";
|
|
623
|
+
reportHubId: number;
|
|
516
624
|
clientTempId: string;
|
|
517
625
|
report: {
|
|
518
|
-
|
|
626
|
+
interviewers: {
|
|
627
|
+
name?: string | null | undefined;
|
|
628
|
+
affiliation?: string | null | undefined;
|
|
629
|
+
}[];
|
|
519
630
|
comments: {
|
|
520
631
|
color?: string | null | undefined;
|
|
521
632
|
name?: string | null | undefined;
|
|
522
633
|
text?: string | null | undefined;
|
|
523
634
|
}[];
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
635
|
+
attachments: {
|
|
636
|
+
id: string;
|
|
637
|
+
createdAt: string | null;
|
|
638
|
+
fileName: string;
|
|
639
|
+
fileType: string | null;
|
|
640
|
+
fileSize: number | null;
|
|
641
|
+
state: "present" | "absent" | "unknown";
|
|
527
642
|
}[];
|
|
643
|
+
reportHubId: number;
|
|
528
644
|
isRead: boolean;
|
|
529
645
|
isStarred: boolean;
|
|
530
646
|
labels: {
|
|
@@ -535,13 +651,11 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
535
651
|
commentItems: {
|
|
536
652
|
id: number;
|
|
537
653
|
isMine: boolean;
|
|
538
|
-
content?: string | null | undefined;
|
|
539
654
|
createdAt?: string | null | undefined;
|
|
655
|
+
content?: string | null | undefined;
|
|
540
656
|
userId?: string | null | undefined;
|
|
541
657
|
userName?: string | null | undefined;
|
|
542
658
|
}[];
|
|
543
|
-
content?: string | null | undefined;
|
|
544
|
-
date?: string | null | undefined;
|
|
545
659
|
author?: string | null | undefined;
|
|
546
660
|
createdAt?: string | null | undefined;
|
|
547
661
|
updatedAt?: string | null | undefined;
|
|
@@ -549,6 +663,8 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
549
663
|
category?: string | null | undefined;
|
|
550
664
|
creationCategory?: string | null | undefined;
|
|
551
665
|
subject?: string | null | undefined;
|
|
666
|
+
content?: string | null | undefined;
|
|
667
|
+
date?: string | null | undefined;
|
|
552
668
|
userId?: string | null | undefined;
|
|
553
669
|
sourceType?: string | null | undefined;
|
|
554
670
|
employeeName?: string | null | undefined;
|
|
@@ -558,20 +674,20 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
558
674
|
};
|
|
559
675
|
recipientRawUserId?: number | undefined;
|
|
560
676
|
}, {
|
|
561
|
-
reportHubId: number;
|
|
562
677
|
type: "report-create";
|
|
678
|
+
reportHubId: number;
|
|
563
679
|
clientTempId: string;
|
|
564
680
|
report: {
|
|
565
|
-
|
|
681
|
+
interviewers: {
|
|
682
|
+
name?: string | null | undefined;
|
|
683
|
+
affiliation?: string | null | undefined;
|
|
684
|
+
}[];
|
|
566
685
|
comments: {
|
|
567
686
|
color?: string | null | undefined;
|
|
568
687
|
name?: string | null | undefined;
|
|
569
688
|
text?: string | null | undefined;
|
|
570
689
|
}[];
|
|
571
|
-
|
|
572
|
-
name?: string | null | undefined;
|
|
573
|
-
affiliation?: string | null | undefined;
|
|
574
|
-
}[];
|
|
690
|
+
reportHubId: number;
|
|
575
691
|
isRead: boolean;
|
|
576
692
|
isStarred: boolean;
|
|
577
693
|
labels: {
|
|
@@ -582,13 +698,11 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
582
698
|
commentItems: {
|
|
583
699
|
id: number;
|
|
584
700
|
isMine: boolean;
|
|
585
|
-
content?: string | null | undefined;
|
|
586
701
|
createdAt?: string | null | undefined;
|
|
702
|
+
content?: string | null | undefined;
|
|
587
703
|
userId?: string | null | undefined;
|
|
588
704
|
userName?: string | null | undefined;
|
|
589
705
|
}[];
|
|
590
|
-
content?: string | null | undefined;
|
|
591
|
-
date?: string | null | undefined;
|
|
592
706
|
author?: string | null | undefined;
|
|
593
707
|
createdAt?: string | null | undefined;
|
|
594
708
|
updatedAt?: string | null | undefined;
|
|
@@ -596,6 +710,16 @@ declare const reportCreateMessageSchema: z.ZodObject<{
|
|
|
596
710
|
category?: string | null | undefined;
|
|
597
711
|
creationCategory?: string | null | undefined;
|
|
598
712
|
subject?: string | null | undefined;
|
|
713
|
+
content?: string | null | undefined;
|
|
714
|
+
attachments?: {
|
|
715
|
+
id: string;
|
|
716
|
+
createdAt: string | null;
|
|
717
|
+
fileName: string;
|
|
718
|
+
fileType: string | null;
|
|
719
|
+
fileSize: number | null;
|
|
720
|
+
state: "present" | "absent" | "unknown";
|
|
721
|
+
}[] | undefined;
|
|
722
|
+
date?: string | null | undefined;
|
|
599
723
|
userId?: string | null | undefined;
|
|
600
724
|
sourceType?: string | null | undefined;
|
|
601
725
|
employeeName?: string | null | undefined;
|
|
@@ -673,29 +797,59 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
673
797
|
}, "strip", z.ZodTypeAny, {
|
|
674
798
|
id: number;
|
|
675
799
|
isMine: boolean;
|
|
676
|
-
content?: string | null | undefined;
|
|
677
800
|
createdAt?: string | null | undefined;
|
|
801
|
+
content?: string | null | undefined;
|
|
678
802
|
userId?: string | null | undefined;
|
|
679
803
|
userName?: string | null | undefined;
|
|
680
804
|
}, {
|
|
681
805
|
id: number;
|
|
682
806
|
isMine: boolean;
|
|
683
|
-
content?: string | null | undefined;
|
|
684
807
|
createdAt?: string | null | undefined;
|
|
808
|
+
content?: string | null | undefined;
|
|
685
809
|
userId?: string | null | undefined;
|
|
686
810
|
userName?: string | null | undefined;
|
|
687
811
|
}>, "many">;
|
|
812
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
813
|
+
id: z.ZodString;
|
|
814
|
+
fileName: z.ZodString;
|
|
815
|
+
fileType: z.ZodNullable<z.ZodString>;
|
|
816
|
+
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
817
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
818
|
+
state: z.ZodEnum<["present", "absent", "unknown"]>;
|
|
819
|
+
}, "strip", z.ZodTypeAny, {
|
|
820
|
+
id: string;
|
|
821
|
+
createdAt: string | null;
|
|
822
|
+
fileName: string;
|
|
823
|
+
fileType: string | null;
|
|
824
|
+
fileSize: number | null;
|
|
825
|
+
state: "present" | "absent" | "unknown";
|
|
826
|
+
}, {
|
|
827
|
+
id: string;
|
|
828
|
+
createdAt: string | null;
|
|
829
|
+
fileName: string;
|
|
830
|
+
fileType: string | null;
|
|
831
|
+
fileSize: number | null;
|
|
832
|
+
state: "present" | "absent" | "unknown";
|
|
833
|
+
}>, "many">>;
|
|
688
834
|
}, "strip", z.ZodTypeAny, {
|
|
689
|
-
|
|
835
|
+
interviewers: {
|
|
836
|
+
name?: string | null | undefined;
|
|
837
|
+
affiliation?: string | null | undefined;
|
|
838
|
+
}[];
|
|
690
839
|
comments: {
|
|
691
840
|
color?: string | null | undefined;
|
|
692
841
|
name?: string | null | undefined;
|
|
693
842
|
text?: string | null | undefined;
|
|
694
843
|
}[];
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
844
|
+
attachments: {
|
|
845
|
+
id: string;
|
|
846
|
+
createdAt: string | null;
|
|
847
|
+
fileName: string;
|
|
848
|
+
fileType: string | null;
|
|
849
|
+
fileSize: number | null;
|
|
850
|
+
state: "present" | "absent" | "unknown";
|
|
698
851
|
}[];
|
|
852
|
+
reportHubId: number;
|
|
699
853
|
isRead: boolean;
|
|
700
854
|
isStarred: boolean;
|
|
701
855
|
labels: {
|
|
@@ -706,13 +860,11 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
706
860
|
commentItems: {
|
|
707
861
|
id: number;
|
|
708
862
|
isMine: boolean;
|
|
709
|
-
content?: string | null | undefined;
|
|
710
863
|
createdAt?: string | null | undefined;
|
|
864
|
+
content?: string | null | undefined;
|
|
711
865
|
userId?: string | null | undefined;
|
|
712
866
|
userName?: string | null | undefined;
|
|
713
867
|
}[];
|
|
714
|
-
content?: string | null | undefined;
|
|
715
|
-
date?: string | null | undefined;
|
|
716
868
|
author?: string | null | undefined;
|
|
717
869
|
createdAt?: string | null | undefined;
|
|
718
870
|
updatedAt?: string | null | undefined;
|
|
@@ -720,6 +872,8 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
720
872
|
category?: string | null | undefined;
|
|
721
873
|
creationCategory?: string | null | undefined;
|
|
722
874
|
subject?: string | null | undefined;
|
|
875
|
+
content?: string | null | undefined;
|
|
876
|
+
date?: string | null | undefined;
|
|
723
877
|
userId?: string | null | undefined;
|
|
724
878
|
sourceType?: string | null | undefined;
|
|
725
879
|
employeeName?: string | null | undefined;
|
|
@@ -727,16 +881,16 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
727
881
|
visitTimeTo?: string | null | undefined;
|
|
728
882
|
customerName?: string | null | undefined;
|
|
729
883
|
}, {
|
|
730
|
-
|
|
884
|
+
interviewers: {
|
|
885
|
+
name?: string | null | undefined;
|
|
886
|
+
affiliation?: string | null | undefined;
|
|
887
|
+
}[];
|
|
731
888
|
comments: {
|
|
732
889
|
color?: string | null | undefined;
|
|
733
890
|
name?: string | null | undefined;
|
|
734
891
|
text?: string | null | undefined;
|
|
735
892
|
}[];
|
|
736
|
-
|
|
737
|
-
name?: string | null | undefined;
|
|
738
|
-
affiliation?: string | null | undefined;
|
|
739
|
-
}[];
|
|
893
|
+
reportHubId: number;
|
|
740
894
|
isRead: boolean;
|
|
741
895
|
isStarred: boolean;
|
|
742
896
|
labels: {
|
|
@@ -747,13 +901,11 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
747
901
|
commentItems: {
|
|
748
902
|
id: number;
|
|
749
903
|
isMine: boolean;
|
|
750
|
-
content?: string | null | undefined;
|
|
751
904
|
createdAt?: string | null | undefined;
|
|
905
|
+
content?: string | null | undefined;
|
|
752
906
|
userId?: string | null | undefined;
|
|
753
907
|
userName?: string | null | undefined;
|
|
754
908
|
}[];
|
|
755
|
-
content?: string | null | undefined;
|
|
756
|
-
date?: string | null | undefined;
|
|
757
909
|
author?: string | null | undefined;
|
|
758
910
|
createdAt?: string | null | undefined;
|
|
759
911
|
updatedAt?: string | null | undefined;
|
|
@@ -761,6 +913,16 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
761
913
|
category?: string | null | undefined;
|
|
762
914
|
creationCategory?: string | null | undefined;
|
|
763
915
|
subject?: string | null | undefined;
|
|
916
|
+
content?: string | null | undefined;
|
|
917
|
+
attachments?: {
|
|
918
|
+
id: string;
|
|
919
|
+
createdAt: string | null;
|
|
920
|
+
fileName: string;
|
|
921
|
+
fileType: string | null;
|
|
922
|
+
fileSize: number | null;
|
|
923
|
+
state: "present" | "absent" | "unknown";
|
|
924
|
+
}[] | undefined;
|
|
925
|
+
date?: string | null | undefined;
|
|
764
926
|
userId?: string | null | undefined;
|
|
765
927
|
sourceType?: string | null | undefined;
|
|
766
928
|
employeeName?: string | null | undefined;
|
|
@@ -771,20 +933,28 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
771
933
|
clientTempId: z.ZodString;
|
|
772
934
|
recipientRawUserId: z.ZodOptional<z.ZodNumber>;
|
|
773
935
|
}, "strip", z.ZodTypeAny, {
|
|
774
|
-
reportHubId: number;
|
|
775
936
|
type: "report-update";
|
|
937
|
+
reportHubId: number;
|
|
776
938
|
clientTempId: string;
|
|
777
939
|
report: {
|
|
778
|
-
|
|
940
|
+
interviewers: {
|
|
941
|
+
name?: string | null | undefined;
|
|
942
|
+
affiliation?: string | null | undefined;
|
|
943
|
+
}[];
|
|
779
944
|
comments: {
|
|
780
945
|
color?: string | null | undefined;
|
|
781
946
|
name?: string | null | undefined;
|
|
782
947
|
text?: string | null | undefined;
|
|
783
948
|
}[];
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
949
|
+
attachments: {
|
|
950
|
+
id: string;
|
|
951
|
+
createdAt: string | null;
|
|
952
|
+
fileName: string;
|
|
953
|
+
fileType: string | null;
|
|
954
|
+
fileSize: number | null;
|
|
955
|
+
state: "present" | "absent" | "unknown";
|
|
787
956
|
}[];
|
|
957
|
+
reportHubId: number;
|
|
788
958
|
isRead: boolean;
|
|
789
959
|
isStarred: boolean;
|
|
790
960
|
labels: {
|
|
@@ -795,13 +965,11 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
795
965
|
commentItems: {
|
|
796
966
|
id: number;
|
|
797
967
|
isMine: boolean;
|
|
798
|
-
content?: string | null | undefined;
|
|
799
968
|
createdAt?: string | null | undefined;
|
|
969
|
+
content?: string | null | undefined;
|
|
800
970
|
userId?: string | null | undefined;
|
|
801
971
|
userName?: string | null | undefined;
|
|
802
972
|
}[];
|
|
803
|
-
content?: string | null | undefined;
|
|
804
|
-
date?: string | null | undefined;
|
|
805
973
|
author?: string | null | undefined;
|
|
806
974
|
createdAt?: string | null | undefined;
|
|
807
975
|
updatedAt?: string | null | undefined;
|
|
@@ -809,6 +977,8 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
809
977
|
category?: string | null | undefined;
|
|
810
978
|
creationCategory?: string | null | undefined;
|
|
811
979
|
subject?: string | null | undefined;
|
|
980
|
+
content?: string | null | undefined;
|
|
981
|
+
date?: string | null | undefined;
|
|
812
982
|
userId?: string | null | undefined;
|
|
813
983
|
sourceType?: string | null | undefined;
|
|
814
984
|
employeeName?: string | null | undefined;
|
|
@@ -818,20 +988,20 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
818
988
|
};
|
|
819
989
|
recipientRawUserId?: number | undefined;
|
|
820
990
|
}, {
|
|
821
|
-
reportHubId: number;
|
|
822
991
|
type: "report-update";
|
|
992
|
+
reportHubId: number;
|
|
823
993
|
clientTempId: string;
|
|
824
994
|
report: {
|
|
825
|
-
|
|
995
|
+
interviewers: {
|
|
996
|
+
name?: string | null | undefined;
|
|
997
|
+
affiliation?: string | null | undefined;
|
|
998
|
+
}[];
|
|
826
999
|
comments: {
|
|
827
1000
|
color?: string | null | undefined;
|
|
828
1001
|
name?: string | null | undefined;
|
|
829
1002
|
text?: string | null | undefined;
|
|
830
1003
|
}[];
|
|
831
|
-
|
|
832
|
-
name?: string | null | undefined;
|
|
833
|
-
affiliation?: string | null | undefined;
|
|
834
|
-
}[];
|
|
1004
|
+
reportHubId: number;
|
|
835
1005
|
isRead: boolean;
|
|
836
1006
|
isStarred: boolean;
|
|
837
1007
|
labels: {
|
|
@@ -842,13 +1012,11 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
842
1012
|
commentItems: {
|
|
843
1013
|
id: number;
|
|
844
1014
|
isMine: boolean;
|
|
845
|
-
content?: string | null | undefined;
|
|
846
1015
|
createdAt?: string | null | undefined;
|
|
1016
|
+
content?: string | null | undefined;
|
|
847
1017
|
userId?: string | null | undefined;
|
|
848
1018
|
userName?: string | null | undefined;
|
|
849
1019
|
}[];
|
|
850
|
-
content?: string | null | undefined;
|
|
851
|
-
date?: string | null | undefined;
|
|
852
1020
|
author?: string | null | undefined;
|
|
853
1021
|
createdAt?: string | null | undefined;
|
|
854
1022
|
updatedAt?: string | null | undefined;
|
|
@@ -856,6 +1024,16 @@ declare const reportUpdateMessageSchema: z.ZodObject<{
|
|
|
856
1024
|
category?: string | null | undefined;
|
|
857
1025
|
creationCategory?: string | null | undefined;
|
|
858
1026
|
subject?: string | null | undefined;
|
|
1027
|
+
content?: string | null | undefined;
|
|
1028
|
+
attachments?: {
|
|
1029
|
+
id: string;
|
|
1030
|
+
createdAt: string | null;
|
|
1031
|
+
fileName: string;
|
|
1032
|
+
fileType: string | null;
|
|
1033
|
+
fileSize: number | null;
|
|
1034
|
+
state: "present" | "absent" | "unknown";
|
|
1035
|
+
}[] | undefined;
|
|
1036
|
+
date?: string | null | undefined;
|
|
859
1037
|
userId?: string | null | undefined;
|
|
860
1038
|
sourceType?: string | null | undefined;
|
|
861
1039
|
employeeName?: string | null | undefined;
|
|
@@ -933,29 +1111,59 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
933
1111
|
}, "strip", z.ZodTypeAny, {
|
|
934
1112
|
id: number;
|
|
935
1113
|
isMine: boolean;
|
|
936
|
-
content?: string | null | undefined;
|
|
937
1114
|
createdAt?: string | null | undefined;
|
|
1115
|
+
content?: string | null | undefined;
|
|
938
1116
|
userId?: string | null | undefined;
|
|
939
1117
|
userName?: string | null | undefined;
|
|
940
1118
|
}, {
|
|
941
1119
|
id: number;
|
|
942
1120
|
isMine: boolean;
|
|
943
|
-
content?: string | null | undefined;
|
|
944
1121
|
createdAt?: string | null | undefined;
|
|
1122
|
+
content?: string | null | undefined;
|
|
945
1123
|
userId?: string | null | undefined;
|
|
946
1124
|
userName?: string | null | undefined;
|
|
947
1125
|
}>, "many">;
|
|
1126
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1127
|
+
id: z.ZodString;
|
|
1128
|
+
fileName: z.ZodString;
|
|
1129
|
+
fileType: z.ZodNullable<z.ZodString>;
|
|
1130
|
+
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
1131
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
1132
|
+
state: z.ZodEnum<["present", "absent", "unknown"]>;
|
|
1133
|
+
}, "strip", z.ZodTypeAny, {
|
|
1134
|
+
id: string;
|
|
1135
|
+
createdAt: string | null;
|
|
1136
|
+
fileName: string;
|
|
1137
|
+
fileType: string | null;
|
|
1138
|
+
fileSize: number | null;
|
|
1139
|
+
state: "present" | "absent" | "unknown";
|
|
1140
|
+
}, {
|
|
1141
|
+
id: string;
|
|
1142
|
+
createdAt: string | null;
|
|
1143
|
+
fileName: string;
|
|
1144
|
+
fileType: string | null;
|
|
1145
|
+
fileSize: number | null;
|
|
1146
|
+
state: "present" | "absent" | "unknown";
|
|
1147
|
+
}>, "many">>;
|
|
948
1148
|
}, "strip", z.ZodTypeAny, {
|
|
949
|
-
|
|
1149
|
+
interviewers: {
|
|
1150
|
+
name?: string | null | undefined;
|
|
1151
|
+
affiliation?: string | null | undefined;
|
|
1152
|
+
}[];
|
|
950
1153
|
comments: {
|
|
951
1154
|
color?: string | null | undefined;
|
|
952
1155
|
name?: string | null | undefined;
|
|
953
1156
|
text?: string | null | undefined;
|
|
954
1157
|
}[];
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
1158
|
+
attachments: {
|
|
1159
|
+
id: string;
|
|
1160
|
+
createdAt: string | null;
|
|
1161
|
+
fileName: string;
|
|
1162
|
+
fileType: string | null;
|
|
1163
|
+
fileSize: number | null;
|
|
1164
|
+
state: "present" | "absent" | "unknown";
|
|
958
1165
|
}[];
|
|
1166
|
+
reportHubId: number;
|
|
959
1167
|
isRead: boolean;
|
|
960
1168
|
isStarred: boolean;
|
|
961
1169
|
labels: {
|
|
@@ -966,13 +1174,11 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
966
1174
|
commentItems: {
|
|
967
1175
|
id: number;
|
|
968
1176
|
isMine: boolean;
|
|
969
|
-
content?: string | null | undefined;
|
|
970
1177
|
createdAt?: string | null | undefined;
|
|
1178
|
+
content?: string | null | undefined;
|
|
971
1179
|
userId?: string | null | undefined;
|
|
972
1180
|
userName?: string | null | undefined;
|
|
973
1181
|
}[];
|
|
974
|
-
content?: string | null | undefined;
|
|
975
|
-
date?: string | null | undefined;
|
|
976
1182
|
author?: string | null | undefined;
|
|
977
1183
|
createdAt?: string | null | undefined;
|
|
978
1184
|
updatedAt?: string | null | undefined;
|
|
@@ -980,6 +1186,8 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
980
1186
|
category?: string | null | undefined;
|
|
981
1187
|
creationCategory?: string | null | undefined;
|
|
982
1188
|
subject?: string | null | undefined;
|
|
1189
|
+
content?: string | null | undefined;
|
|
1190
|
+
date?: string | null | undefined;
|
|
983
1191
|
userId?: string | null | undefined;
|
|
984
1192
|
sourceType?: string | null | undefined;
|
|
985
1193
|
employeeName?: string | null | undefined;
|
|
@@ -987,16 +1195,16 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
987
1195
|
visitTimeTo?: string | null | undefined;
|
|
988
1196
|
customerName?: string | null | undefined;
|
|
989
1197
|
}, {
|
|
990
|
-
|
|
1198
|
+
interviewers: {
|
|
1199
|
+
name?: string | null | undefined;
|
|
1200
|
+
affiliation?: string | null | undefined;
|
|
1201
|
+
}[];
|
|
991
1202
|
comments: {
|
|
992
1203
|
color?: string | null | undefined;
|
|
993
1204
|
name?: string | null | undefined;
|
|
994
1205
|
text?: string | null | undefined;
|
|
995
1206
|
}[];
|
|
996
|
-
|
|
997
|
-
name?: string | null | undefined;
|
|
998
|
-
affiliation?: string | null | undefined;
|
|
999
|
-
}[];
|
|
1207
|
+
reportHubId: number;
|
|
1000
1208
|
isRead: boolean;
|
|
1001
1209
|
isStarred: boolean;
|
|
1002
1210
|
labels: {
|
|
@@ -1007,13 +1215,11 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
1007
1215
|
commentItems: {
|
|
1008
1216
|
id: number;
|
|
1009
1217
|
isMine: boolean;
|
|
1010
|
-
content?: string | null | undefined;
|
|
1011
1218
|
createdAt?: string | null | undefined;
|
|
1219
|
+
content?: string | null | undefined;
|
|
1012
1220
|
userId?: string | null | undefined;
|
|
1013
1221
|
userName?: string | null | undefined;
|
|
1014
1222
|
}[];
|
|
1015
|
-
content?: string | null | undefined;
|
|
1016
|
-
date?: string | null | undefined;
|
|
1017
1223
|
author?: string | null | undefined;
|
|
1018
1224
|
createdAt?: string | null | undefined;
|
|
1019
1225
|
updatedAt?: string | null | undefined;
|
|
@@ -1021,6 +1227,16 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
1021
1227
|
category?: string | null | undefined;
|
|
1022
1228
|
creationCategory?: string | null | undefined;
|
|
1023
1229
|
subject?: string | null | undefined;
|
|
1230
|
+
content?: string | null | undefined;
|
|
1231
|
+
attachments?: {
|
|
1232
|
+
id: string;
|
|
1233
|
+
createdAt: string | null;
|
|
1234
|
+
fileName: string;
|
|
1235
|
+
fileType: string | null;
|
|
1236
|
+
fileSize: number | null;
|
|
1237
|
+
state: "present" | "absent" | "unknown";
|
|
1238
|
+
}[] | undefined;
|
|
1239
|
+
date?: string | null | undefined;
|
|
1024
1240
|
userId?: string | null | undefined;
|
|
1025
1241
|
sourceType?: string | null | undefined;
|
|
1026
1242
|
employeeName?: string | null | undefined;
|
|
@@ -1031,20 +1247,28 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
1031
1247
|
clientTempId: z.ZodString;
|
|
1032
1248
|
recipientRawUserId: z.ZodOptional<z.ZodNumber>;
|
|
1033
1249
|
}, "strip", z.ZodTypeAny, {
|
|
1034
|
-
reportHubId: number;
|
|
1035
1250
|
type: "report-publish";
|
|
1251
|
+
reportHubId: number;
|
|
1036
1252
|
clientTempId: string;
|
|
1037
1253
|
report: {
|
|
1038
|
-
|
|
1254
|
+
interviewers: {
|
|
1255
|
+
name?: string | null | undefined;
|
|
1256
|
+
affiliation?: string | null | undefined;
|
|
1257
|
+
}[];
|
|
1039
1258
|
comments: {
|
|
1040
1259
|
color?: string | null | undefined;
|
|
1041
1260
|
name?: string | null | undefined;
|
|
1042
1261
|
text?: string | null | undefined;
|
|
1043
1262
|
}[];
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1263
|
+
attachments: {
|
|
1264
|
+
id: string;
|
|
1265
|
+
createdAt: string | null;
|
|
1266
|
+
fileName: string;
|
|
1267
|
+
fileType: string | null;
|
|
1268
|
+
fileSize: number | null;
|
|
1269
|
+
state: "present" | "absent" | "unknown";
|
|
1047
1270
|
}[];
|
|
1271
|
+
reportHubId: number;
|
|
1048
1272
|
isRead: boolean;
|
|
1049
1273
|
isStarred: boolean;
|
|
1050
1274
|
labels: {
|
|
@@ -1055,13 +1279,11 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
1055
1279
|
commentItems: {
|
|
1056
1280
|
id: number;
|
|
1057
1281
|
isMine: boolean;
|
|
1058
|
-
content?: string | null | undefined;
|
|
1059
1282
|
createdAt?: string | null | undefined;
|
|
1283
|
+
content?: string | null | undefined;
|
|
1060
1284
|
userId?: string | null | undefined;
|
|
1061
1285
|
userName?: string | null | undefined;
|
|
1062
1286
|
}[];
|
|
1063
|
-
content?: string | null | undefined;
|
|
1064
|
-
date?: string | null | undefined;
|
|
1065
1287
|
author?: string | null | undefined;
|
|
1066
1288
|
createdAt?: string | null | undefined;
|
|
1067
1289
|
updatedAt?: string | null | undefined;
|
|
@@ -1069,6 +1291,8 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
1069
1291
|
category?: string | null | undefined;
|
|
1070
1292
|
creationCategory?: string | null | undefined;
|
|
1071
1293
|
subject?: string | null | undefined;
|
|
1294
|
+
content?: string | null | undefined;
|
|
1295
|
+
date?: string | null | undefined;
|
|
1072
1296
|
userId?: string | null | undefined;
|
|
1073
1297
|
sourceType?: string | null | undefined;
|
|
1074
1298
|
employeeName?: string | null | undefined;
|
|
@@ -1078,20 +1302,20 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
1078
1302
|
};
|
|
1079
1303
|
recipientRawUserId?: number | undefined;
|
|
1080
1304
|
}, {
|
|
1081
|
-
reportHubId: number;
|
|
1082
1305
|
type: "report-publish";
|
|
1306
|
+
reportHubId: number;
|
|
1083
1307
|
clientTempId: string;
|
|
1084
1308
|
report: {
|
|
1085
|
-
|
|
1309
|
+
interviewers: {
|
|
1310
|
+
name?: string | null | undefined;
|
|
1311
|
+
affiliation?: string | null | undefined;
|
|
1312
|
+
}[];
|
|
1086
1313
|
comments: {
|
|
1087
1314
|
color?: string | null | undefined;
|
|
1088
1315
|
name?: string | null | undefined;
|
|
1089
1316
|
text?: string | null | undefined;
|
|
1090
1317
|
}[];
|
|
1091
|
-
|
|
1092
|
-
name?: string | null | undefined;
|
|
1093
|
-
affiliation?: string | null | undefined;
|
|
1094
|
-
}[];
|
|
1318
|
+
reportHubId: number;
|
|
1095
1319
|
isRead: boolean;
|
|
1096
1320
|
isStarred: boolean;
|
|
1097
1321
|
labels: {
|
|
@@ -1102,13 +1326,11 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
1102
1326
|
commentItems: {
|
|
1103
1327
|
id: number;
|
|
1104
1328
|
isMine: boolean;
|
|
1105
|
-
content?: string | null | undefined;
|
|
1106
1329
|
createdAt?: string | null | undefined;
|
|
1330
|
+
content?: string | null | undefined;
|
|
1107
1331
|
userId?: string | null | undefined;
|
|
1108
1332
|
userName?: string | null | undefined;
|
|
1109
1333
|
}[];
|
|
1110
|
-
content?: string | null | undefined;
|
|
1111
|
-
date?: string | null | undefined;
|
|
1112
1334
|
author?: string | null | undefined;
|
|
1113
1335
|
createdAt?: string | null | undefined;
|
|
1114
1336
|
updatedAt?: string | null | undefined;
|
|
@@ -1116,6 +1338,16 @@ declare const reportPublishMessageSchema: z.ZodObject<{
|
|
|
1116
1338
|
category?: string | null | undefined;
|
|
1117
1339
|
creationCategory?: string | null | undefined;
|
|
1118
1340
|
subject?: string | null | undefined;
|
|
1341
|
+
content?: string | null | undefined;
|
|
1342
|
+
attachments?: {
|
|
1343
|
+
id: string;
|
|
1344
|
+
createdAt: string | null;
|
|
1345
|
+
fileName: string;
|
|
1346
|
+
fileType: string | null;
|
|
1347
|
+
fileSize: number | null;
|
|
1348
|
+
state: "present" | "absent" | "unknown";
|
|
1349
|
+
}[] | undefined;
|
|
1350
|
+
date?: string | null | undefined;
|
|
1119
1351
|
userId?: string | null | undefined;
|
|
1120
1352
|
sourceType?: string | null | undefined;
|
|
1121
1353
|
employeeName?: string | null | undefined;
|
|
@@ -1130,12 +1362,12 @@ declare const reportDeleteMessageSchema: z.ZodObject<{
|
|
|
1130
1362
|
reportHubId: z.ZodNumber;
|
|
1131
1363
|
clientTempId: z.ZodString;
|
|
1132
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1133
|
-
reportHubId: number;
|
|
1134
1365
|
type: "report-delete";
|
|
1366
|
+
reportHubId: number;
|
|
1135
1367
|
clientTempId: string;
|
|
1136
1368
|
}, {
|
|
1137
|
-
reportHubId: number;
|
|
1138
1369
|
type: "report-delete";
|
|
1370
|
+
reportHubId: number;
|
|
1139
1371
|
clientTempId: string;
|
|
1140
1372
|
}>;
|
|
1141
1373
|
declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -1152,16 +1384,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1152
1384
|
clientTempId: z.ZodString;
|
|
1153
1385
|
recipientRawUserId: z.ZodOptional<z.ZodNumber>;
|
|
1154
1386
|
}, "strip", z.ZodTypeAny, {
|
|
1155
|
-
reportHubId: number;
|
|
1156
1387
|
type: "status-update";
|
|
1157
1388
|
value: boolean;
|
|
1389
|
+
reportHubId: number;
|
|
1158
1390
|
statusType: "star" | "read";
|
|
1159
1391
|
clientTempId: string;
|
|
1160
1392
|
recipientRawUserId?: number | undefined;
|
|
1161
1393
|
}, {
|
|
1162
|
-
reportHubId: number;
|
|
1163
1394
|
type: "status-update";
|
|
1164
1395
|
value: boolean;
|
|
1396
|
+
reportHubId: number;
|
|
1165
1397
|
statusType: "star" | "read";
|
|
1166
1398
|
clientTempId: string;
|
|
1167
1399
|
recipientRawUserId?: number | undefined;
|
|
@@ -1178,42 +1410,42 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1178
1410
|
}, "strip", z.ZodTypeAny, {
|
|
1179
1411
|
id: number;
|
|
1180
1412
|
isMine: boolean;
|
|
1181
|
-
content?: string | null | undefined;
|
|
1182
1413
|
createdAt?: string | null | undefined;
|
|
1414
|
+
content?: string | null | undefined;
|
|
1183
1415
|
userId?: string | null | undefined;
|
|
1184
1416
|
userName?: string | null | undefined;
|
|
1185
1417
|
}, {
|
|
1186
1418
|
id: number;
|
|
1187
1419
|
isMine: boolean;
|
|
1188
|
-
content?: string | null | undefined;
|
|
1189
1420
|
createdAt?: string | null | undefined;
|
|
1421
|
+
content?: string | null | undefined;
|
|
1190
1422
|
userId?: string | null | undefined;
|
|
1191
1423
|
userName?: string | null | undefined;
|
|
1192
1424
|
}>;
|
|
1193
1425
|
clientTempId: z.ZodString;
|
|
1194
1426
|
}, "strip", z.ZodTypeAny, {
|
|
1427
|
+
type: "comment-add";
|
|
1195
1428
|
comment: {
|
|
1196
1429
|
id: number;
|
|
1197
1430
|
isMine: boolean;
|
|
1198
|
-
content?: string | null | undefined;
|
|
1199
1431
|
createdAt?: string | null | undefined;
|
|
1432
|
+
content?: string | null | undefined;
|
|
1200
1433
|
userId?: string | null | undefined;
|
|
1201
1434
|
userName?: string | null | undefined;
|
|
1202
1435
|
};
|
|
1203
1436
|
reportHubId: number;
|
|
1204
|
-
type: "comment-add";
|
|
1205
1437
|
clientTempId: string;
|
|
1206
1438
|
}, {
|
|
1439
|
+
type: "comment-add";
|
|
1207
1440
|
comment: {
|
|
1208
1441
|
id: number;
|
|
1209
1442
|
isMine: boolean;
|
|
1210
|
-
content?: string | null | undefined;
|
|
1211
1443
|
createdAt?: string | null | undefined;
|
|
1444
|
+
content?: string | null | undefined;
|
|
1212
1445
|
userId?: string | null | undefined;
|
|
1213
1446
|
userName?: string | null | undefined;
|
|
1214
1447
|
};
|
|
1215
1448
|
reportHubId: number;
|
|
1216
|
-
type: "comment-add";
|
|
1217
1449
|
clientTempId: string;
|
|
1218
1450
|
}>, z.ZodObject<{
|
|
1219
1451
|
type: z.ZodLiteral<"comment-delete">;
|
|
@@ -1221,13 +1453,13 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1221
1453
|
commentId: z.ZodNumber;
|
|
1222
1454
|
clientTempId: z.ZodString;
|
|
1223
1455
|
}, "strip", z.ZodTypeAny, {
|
|
1224
|
-
reportHubId: number;
|
|
1225
1456
|
type: "comment-delete";
|
|
1457
|
+
reportHubId: number;
|
|
1226
1458
|
clientTempId: string;
|
|
1227
1459
|
commentId: number;
|
|
1228
1460
|
}, {
|
|
1229
|
-
reportHubId: number;
|
|
1230
1461
|
type: "comment-delete";
|
|
1462
|
+
reportHubId: number;
|
|
1231
1463
|
clientTempId: string;
|
|
1232
1464
|
commentId: number;
|
|
1233
1465
|
}>, z.ZodObject<{
|
|
@@ -1298,29 +1530,59 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1298
1530
|
}, "strip", z.ZodTypeAny, {
|
|
1299
1531
|
id: number;
|
|
1300
1532
|
isMine: boolean;
|
|
1301
|
-
content?: string | null | undefined;
|
|
1302
1533
|
createdAt?: string | null | undefined;
|
|
1534
|
+
content?: string | null | undefined;
|
|
1303
1535
|
userId?: string | null | undefined;
|
|
1304
1536
|
userName?: string | null | undefined;
|
|
1305
1537
|
}, {
|
|
1306
1538
|
id: number;
|
|
1307
1539
|
isMine: boolean;
|
|
1308
|
-
content?: string | null | undefined;
|
|
1309
1540
|
createdAt?: string | null | undefined;
|
|
1541
|
+
content?: string | null | undefined;
|
|
1310
1542
|
userId?: string | null | undefined;
|
|
1311
1543
|
userName?: string | null | undefined;
|
|
1312
1544
|
}>, "many">;
|
|
1545
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1546
|
+
id: z.ZodString;
|
|
1547
|
+
fileName: z.ZodString;
|
|
1548
|
+
fileType: z.ZodNullable<z.ZodString>;
|
|
1549
|
+
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
1550
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
1551
|
+
state: z.ZodEnum<["present", "absent", "unknown"]>;
|
|
1552
|
+
}, "strip", z.ZodTypeAny, {
|
|
1553
|
+
id: string;
|
|
1554
|
+
createdAt: string | null;
|
|
1555
|
+
fileName: string;
|
|
1556
|
+
fileType: string | null;
|
|
1557
|
+
fileSize: number | null;
|
|
1558
|
+
state: "present" | "absent" | "unknown";
|
|
1559
|
+
}, {
|
|
1560
|
+
id: string;
|
|
1561
|
+
createdAt: string | null;
|
|
1562
|
+
fileName: string;
|
|
1563
|
+
fileType: string | null;
|
|
1564
|
+
fileSize: number | null;
|
|
1565
|
+
state: "present" | "absent" | "unknown";
|
|
1566
|
+
}>, "many">>;
|
|
1313
1567
|
}, "strip", z.ZodTypeAny, {
|
|
1314
|
-
|
|
1568
|
+
interviewers: {
|
|
1569
|
+
name?: string | null | undefined;
|
|
1570
|
+
affiliation?: string | null | undefined;
|
|
1571
|
+
}[];
|
|
1315
1572
|
comments: {
|
|
1316
1573
|
color?: string | null | undefined;
|
|
1317
1574
|
name?: string | null | undefined;
|
|
1318
1575
|
text?: string | null | undefined;
|
|
1319
1576
|
}[];
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1577
|
+
attachments: {
|
|
1578
|
+
id: string;
|
|
1579
|
+
createdAt: string | null;
|
|
1580
|
+
fileName: string;
|
|
1581
|
+
fileType: string | null;
|
|
1582
|
+
fileSize: number | null;
|
|
1583
|
+
state: "present" | "absent" | "unknown";
|
|
1323
1584
|
}[];
|
|
1585
|
+
reportHubId: number;
|
|
1324
1586
|
isRead: boolean;
|
|
1325
1587
|
isStarred: boolean;
|
|
1326
1588
|
labels: {
|
|
@@ -1331,13 +1593,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1331
1593
|
commentItems: {
|
|
1332
1594
|
id: number;
|
|
1333
1595
|
isMine: boolean;
|
|
1334
|
-
content?: string | null | undefined;
|
|
1335
1596
|
createdAt?: string | null | undefined;
|
|
1597
|
+
content?: string | null | undefined;
|
|
1336
1598
|
userId?: string | null | undefined;
|
|
1337
1599
|
userName?: string | null | undefined;
|
|
1338
1600
|
}[];
|
|
1339
|
-
content?: string | null | undefined;
|
|
1340
|
-
date?: string | null | undefined;
|
|
1341
1601
|
author?: string | null | undefined;
|
|
1342
1602
|
createdAt?: string | null | undefined;
|
|
1343
1603
|
updatedAt?: string | null | undefined;
|
|
@@ -1345,6 +1605,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1345
1605
|
category?: string | null | undefined;
|
|
1346
1606
|
creationCategory?: string | null | undefined;
|
|
1347
1607
|
subject?: string | null | undefined;
|
|
1608
|
+
content?: string | null | undefined;
|
|
1609
|
+
date?: string | null | undefined;
|
|
1348
1610
|
userId?: string | null | undefined;
|
|
1349
1611
|
sourceType?: string | null | undefined;
|
|
1350
1612
|
employeeName?: string | null | undefined;
|
|
@@ -1352,16 +1614,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1352
1614
|
visitTimeTo?: string | null | undefined;
|
|
1353
1615
|
customerName?: string | null | undefined;
|
|
1354
1616
|
}, {
|
|
1355
|
-
|
|
1617
|
+
interviewers: {
|
|
1618
|
+
name?: string | null | undefined;
|
|
1619
|
+
affiliation?: string | null | undefined;
|
|
1620
|
+
}[];
|
|
1356
1621
|
comments: {
|
|
1357
1622
|
color?: string | null | undefined;
|
|
1358
1623
|
name?: string | null | undefined;
|
|
1359
1624
|
text?: string | null | undefined;
|
|
1360
1625
|
}[];
|
|
1361
|
-
|
|
1362
|
-
name?: string | null | undefined;
|
|
1363
|
-
affiliation?: string | null | undefined;
|
|
1364
|
-
}[];
|
|
1626
|
+
reportHubId: number;
|
|
1365
1627
|
isRead: boolean;
|
|
1366
1628
|
isStarred: boolean;
|
|
1367
1629
|
labels: {
|
|
@@ -1372,13 +1634,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1372
1634
|
commentItems: {
|
|
1373
1635
|
id: number;
|
|
1374
1636
|
isMine: boolean;
|
|
1375
|
-
content?: string | null | undefined;
|
|
1376
1637
|
createdAt?: string | null | undefined;
|
|
1638
|
+
content?: string | null | undefined;
|
|
1377
1639
|
userId?: string | null | undefined;
|
|
1378
1640
|
userName?: string | null | undefined;
|
|
1379
1641
|
}[];
|
|
1380
|
-
content?: string | null | undefined;
|
|
1381
|
-
date?: string | null | undefined;
|
|
1382
1642
|
author?: string | null | undefined;
|
|
1383
1643
|
createdAt?: string | null | undefined;
|
|
1384
1644
|
updatedAt?: string | null | undefined;
|
|
@@ -1386,6 +1646,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1386
1646
|
category?: string | null | undefined;
|
|
1387
1647
|
creationCategory?: string | null | undefined;
|
|
1388
1648
|
subject?: string | null | undefined;
|
|
1649
|
+
content?: string | null | undefined;
|
|
1650
|
+
attachments?: {
|
|
1651
|
+
id: string;
|
|
1652
|
+
createdAt: string | null;
|
|
1653
|
+
fileName: string;
|
|
1654
|
+
fileType: string | null;
|
|
1655
|
+
fileSize: number | null;
|
|
1656
|
+
state: "present" | "absent" | "unknown";
|
|
1657
|
+
}[] | undefined;
|
|
1658
|
+
date?: string | null | undefined;
|
|
1389
1659
|
userId?: string | null | undefined;
|
|
1390
1660
|
sourceType?: string | null | undefined;
|
|
1391
1661
|
employeeName?: string | null | undefined;
|
|
@@ -1396,20 +1666,28 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1396
1666
|
clientTempId: z.ZodString;
|
|
1397
1667
|
recipientRawUserId: z.ZodOptional<z.ZodNumber>;
|
|
1398
1668
|
}, "strip", z.ZodTypeAny, {
|
|
1399
|
-
reportHubId: number;
|
|
1400
1669
|
type: "report-create";
|
|
1670
|
+
reportHubId: number;
|
|
1401
1671
|
clientTempId: string;
|
|
1402
1672
|
report: {
|
|
1403
|
-
|
|
1673
|
+
interviewers: {
|
|
1674
|
+
name?: string | null | undefined;
|
|
1675
|
+
affiliation?: string | null | undefined;
|
|
1676
|
+
}[];
|
|
1404
1677
|
comments: {
|
|
1405
1678
|
color?: string | null | undefined;
|
|
1406
1679
|
name?: string | null | undefined;
|
|
1407
1680
|
text?: string | null | undefined;
|
|
1408
1681
|
}[];
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1682
|
+
attachments: {
|
|
1683
|
+
id: string;
|
|
1684
|
+
createdAt: string | null;
|
|
1685
|
+
fileName: string;
|
|
1686
|
+
fileType: string | null;
|
|
1687
|
+
fileSize: number | null;
|
|
1688
|
+
state: "present" | "absent" | "unknown";
|
|
1412
1689
|
}[];
|
|
1690
|
+
reportHubId: number;
|
|
1413
1691
|
isRead: boolean;
|
|
1414
1692
|
isStarred: boolean;
|
|
1415
1693
|
labels: {
|
|
@@ -1420,13 +1698,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1420
1698
|
commentItems: {
|
|
1421
1699
|
id: number;
|
|
1422
1700
|
isMine: boolean;
|
|
1423
|
-
content?: string | null | undefined;
|
|
1424
1701
|
createdAt?: string | null | undefined;
|
|
1702
|
+
content?: string | null | undefined;
|
|
1425
1703
|
userId?: string | null | undefined;
|
|
1426
1704
|
userName?: string | null | undefined;
|
|
1427
1705
|
}[];
|
|
1428
|
-
content?: string | null | undefined;
|
|
1429
|
-
date?: string | null | undefined;
|
|
1430
1706
|
author?: string | null | undefined;
|
|
1431
1707
|
createdAt?: string | null | undefined;
|
|
1432
1708
|
updatedAt?: string | null | undefined;
|
|
@@ -1434,6 +1710,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1434
1710
|
category?: string | null | undefined;
|
|
1435
1711
|
creationCategory?: string | null | undefined;
|
|
1436
1712
|
subject?: string | null | undefined;
|
|
1713
|
+
content?: string | null | undefined;
|
|
1714
|
+
date?: string | null | undefined;
|
|
1437
1715
|
userId?: string | null | undefined;
|
|
1438
1716
|
sourceType?: string | null | undefined;
|
|
1439
1717
|
employeeName?: string | null | undefined;
|
|
@@ -1443,20 +1721,20 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1443
1721
|
};
|
|
1444
1722
|
recipientRawUserId?: number | undefined;
|
|
1445
1723
|
}, {
|
|
1446
|
-
reportHubId: number;
|
|
1447
1724
|
type: "report-create";
|
|
1725
|
+
reportHubId: number;
|
|
1448
1726
|
clientTempId: string;
|
|
1449
1727
|
report: {
|
|
1450
|
-
|
|
1728
|
+
interviewers: {
|
|
1729
|
+
name?: string | null | undefined;
|
|
1730
|
+
affiliation?: string | null | undefined;
|
|
1731
|
+
}[];
|
|
1451
1732
|
comments: {
|
|
1452
1733
|
color?: string | null | undefined;
|
|
1453
1734
|
name?: string | null | undefined;
|
|
1454
1735
|
text?: string | null | undefined;
|
|
1455
1736
|
}[];
|
|
1456
|
-
|
|
1457
|
-
name?: string | null | undefined;
|
|
1458
|
-
affiliation?: string | null | undefined;
|
|
1459
|
-
}[];
|
|
1737
|
+
reportHubId: number;
|
|
1460
1738
|
isRead: boolean;
|
|
1461
1739
|
isStarred: boolean;
|
|
1462
1740
|
labels: {
|
|
@@ -1467,13 +1745,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1467
1745
|
commentItems: {
|
|
1468
1746
|
id: number;
|
|
1469
1747
|
isMine: boolean;
|
|
1470
|
-
content?: string | null | undefined;
|
|
1471
1748
|
createdAt?: string | null | undefined;
|
|
1749
|
+
content?: string | null | undefined;
|
|
1472
1750
|
userId?: string | null | undefined;
|
|
1473
1751
|
userName?: string | null | undefined;
|
|
1474
1752
|
}[];
|
|
1475
|
-
content?: string | null | undefined;
|
|
1476
|
-
date?: string | null | undefined;
|
|
1477
1753
|
author?: string | null | undefined;
|
|
1478
1754
|
createdAt?: string | null | undefined;
|
|
1479
1755
|
updatedAt?: string | null | undefined;
|
|
@@ -1481,6 +1757,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1481
1757
|
category?: string | null | undefined;
|
|
1482
1758
|
creationCategory?: string | null | undefined;
|
|
1483
1759
|
subject?: string | null | undefined;
|
|
1760
|
+
content?: string | null | undefined;
|
|
1761
|
+
attachments?: {
|
|
1762
|
+
id: string;
|
|
1763
|
+
createdAt: string | null;
|
|
1764
|
+
fileName: string;
|
|
1765
|
+
fileType: string | null;
|
|
1766
|
+
fileSize: number | null;
|
|
1767
|
+
state: "present" | "absent" | "unknown";
|
|
1768
|
+
}[] | undefined;
|
|
1769
|
+
date?: string | null | undefined;
|
|
1484
1770
|
userId?: string | null | undefined;
|
|
1485
1771
|
sourceType?: string | null | undefined;
|
|
1486
1772
|
employeeName?: string | null | undefined;
|
|
@@ -1557,29 +1843,59 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1557
1843
|
}, "strip", z.ZodTypeAny, {
|
|
1558
1844
|
id: number;
|
|
1559
1845
|
isMine: boolean;
|
|
1560
|
-
content?: string | null | undefined;
|
|
1561
1846
|
createdAt?: string | null | undefined;
|
|
1847
|
+
content?: string | null | undefined;
|
|
1562
1848
|
userId?: string | null | undefined;
|
|
1563
1849
|
userName?: string | null | undefined;
|
|
1564
1850
|
}, {
|
|
1565
1851
|
id: number;
|
|
1566
1852
|
isMine: boolean;
|
|
1567
|
-
content?: string | null | undefined;
|
|
1568
1853
|
createdAt?: string | null | undefined;
|
|
1854
|
+
content?: string | null | undefined;
|
|
1569
1855
|
userId?: string | null | undefined;
|
|
1570
1856
|
userName?: string | null | undefined;
|
|
1571
1857
|
}>, "many">;
|
|
1858
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1859
|
+
id: z.ZodString;
|
|
1860
|
+
fileName: z.ZodString;
|
|
1861
|
+
fileType: z.ZodNullable<z.ZodString>;
|
|
1862
|
+
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
1863
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
1864
|
+
state: z.ZodEnum<["present", "absent", "unknown"]>;
|
|
1865
|
+
}, "strip", z.ZodTypeAny, {
|
|
1866
|
+
id: string;
|
|
1867
|
+
createdAt: string | null;
|
|
1868
|
+
fileName: string;
|
|
1869
|
+
fileType: string | null;
|
|
1870
|
+
fileSize: number | null;
|
|
1871
|
+
state: "present" | "absent" | "unknown";
|
|
1872
|
+
}, {
|
|
1873
|
+
id: string;
|
|
1874
|
+
createdAt: string | null;
|
|
1875
|
+
fileName: string;
|
|
1876
|
+
fileType: string | null;
|
|
1877
|
+
fileSize: number | null;
|
|
1878
|
+
state: "present" | "absent" | "unknown";
|
|
1879
|
+
}>, "many">>;
|
|
1572
1880
|
}, "strip", z.ZodTypeAny, {
|
|
1573
|
-
|
|
1881
|
+
interviewers: {
|
|
1882
|
+
name?: string | null | undefined;
|
|
1883
|
+
affiliation?: string | null | undefined;
|
|
1884
|
+
}[];
|
|
1574
1885
|
comments: {
|
|
1575
1886
|
color?: string | null | undefined;
|
|
1576
1887
|
name?: string | null | undefined;
|
|
1577
1888
|
text?: string | null | undefined;
|
|
1578
1889
|
}[];
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1890
|
+
attachments: {
|
|
1891
|
+
id: string;
|
|
1892
|
+
createdAt: string | null;
|
|
1893
|
+
fileName: string;
|
|
1894
|
+
fileType: string | null;
|
|
1895
|
+
fileSize: number | null;
|
|
1896
|
+
state: "present" | "absent" | "unknown";
|
|
1582
1897
|
}[];
|
|
1898
|
+
reportHubId: number;
|
|
1583
1899
|
isRead: boolean;
|
|
1584
1900
|
isStarred: boolean;
|
|
1585
1901
|
labels: {
|
|
@@ -1590,13 +1906,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1590
1906
|
commentItems: {
|
|
1591
1907
|
id: number;
|
|
1592
1908
|
isMine: boolean;
|
|
1593
|
-
content?: string | null | undefined;
|
|
1594
1909
|
createdAt?: string | null | undefined;
|
|
1910
|
+
content?: string | null | undefined;
|
|
1595
1911
|
userId?: string | null | undefined;
|
|
1596
1912
|
userName?: string | null | undefined;
|
|
1597
1913
|
}[];
|
|
1598
|
-
content?: string | null | undefined;
|
|
1599
|
-
date?: string | null | undefined;
|
|
1600
1914
|
author?: string | null | undefined;
|
|
1601
1915
|
createdAt?: string | null | undefined;
|
|
1602
1916
|
updatedAt?: string | null | undefined;
|
|
@@ -1604,6 +1918,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1604
1918
|
category?: string | null | undefined;
|
|
1605
1919
|
creationCategory?: string | null | undefined;
|
|
1606
1920
|
subject?: string | null | undefined;
|
|
1921
|
+
content?: string | null | undefined;
|
|
1922
|
+
date?: string | null | undefined;
|
|
1607
1923
|
userId?: string | null | undefined;
|
|
1608
1924
|
sourceType?: string | null | undefined;
|
|
1609
1925
|
employeeName?: string | null | undefined;
|
|
@@ -1611,16 +1927,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1611
1927
|
visitTimeTo?: string | null | undefined;
|
|
1612
1928
|
customerName?: string | null | undefined;
|
|
1613
1929
|
}, {
|
|
1614
|
-
|
|
1930
|
+
interviewers: {
|
|
1931
|
+
name?: string | null | undefined;
|
|
1932
|
+
affiliation?: string | null | undefined;
|
|
1933
|
+
}[];
|
|
1615
1934
|
comments: {
|
|
1616
1935
|
color?: string | null | undefined;
|
|
1617
1936
|
name?: string | null | undefined;
|
|
1618
1937
|
text?: string | null | undefined;
|
|
1619
1938
|
}[];
|
|
1620
|
-
|
|
1621
|
-
name?: string | null | undefined;
|
|
1622
|
-
affiliation?: string | null | undefined;
|
|
1623
|
-
}[];
|
|
1939
|
+
reportHubId: number;
|
|
1624
1940
|
isRead: boolean;
|
|
1625
1941
|
isStarred: boolean;
|
|
1626
1942
|
labels: {
|
|
@@ -1631,13 +1947,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1631
1947
|
commentItems: {
|
|
1632
1948
|
id: number;
|
|
1633
1949
|
isMine: boolean;
|
|
1634
|
-
content?: string | null | undefined;
|
|
1635
1950
|
createdAt?: string | null | undefined;
|
|
1951
|
+
content?: string | null | undefined;
|
|
1636
1952
|
userId?: string | null | undefined;
|
|
1637
1953
|
userName?: string | null | undefined;
|
|
1638
1954
|
}[];
|
|
1639
|
-
content?: string | null | undefined;
|
|
1640
|
-
date?: string | null | undefined;
|
|
1641
1955
|
author?: string | null | undefined;
|
|
1642
1956
|
createdAt?: string | null | undefined;
|
|
1643
1957
|
updatedAt?: string | null | undefined;
|
|
@@ -1645,6 +1959,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1645
1959
|
category?: string | null | undefined;
|
|
1646
1960
|
creationCategory?: string | null | undefined;
|
|
1647
1961
|
subject?: string | null | undefined;
|
|
1962
|
+
content?: string | null | undefined;
|
|
1963
|
+
attachments?: {
|
|
1964
|
+
id: string;
|
|
1965
|
+
createdAt: string | null;
|
|
1966
|
+
fileName: string;
|
|
1967
|
+
fileType: string | null;
|
|
1968
|
+
fileSize: number | null;
|
|
1969
|
+
state: "present" | "absent" | "unknown";
|
|
1970
|
+
}[] | undefined;
|
|
1971
|
+
date?: string | null | undefined;
|
|
1648
1972
|
userId?: string | null | undefined;
|
|
1649
1973
|
sourceType?: string | null | undefined;
|
|
1650
1974
|
employeeName?: string | null | undefined;
|
|
@@ -1655,20 +1979,28 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1655
1979
|
clientTempId: z.ZodString;
|
|
1656
1980
|
recipientRawUserId: z.ZodOptional<z.ZodNumber>;
|
|
1657
1981
|
}, "strip", z.ZodTypeAny, {
|
|
1658
|
-
reportHubId: number;
|
|
1659
1982
|
type: "report-update";
|
|
1983
|
+
reportHubId: number;
|
|
1660
1984
|
clientTempId: string;
|
|
1661
1985
|
report: {
|
|
1662
|
-
|
|
1986
|
+
interviewers: {
|
|
1987
|
+
name?: string | null | undefined;
|
|
1988
|
+
affiliation?: string | null | undefined;
|
|
1989
|
+
}[];
|
|
1663
1990
|
comments: {
|
|
1664
1991
|
color?: string | null | undefined;
|
|
1665
1992
|
name?: string | null | undefined;
|
|
1666
1993
|
text?: string | null | undefined;
|
|
1667
1994
|
}[];
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1995
|
+
attachments: {
|
|
1996
|
+
id: string;
|
|
1997
|
+
createdAt: string | null;
|
|
1998
|
+
fileName: string;
|
|
1999
|
+
fileType: string | null;
|
|
2000
|
+
fileSize: number | null;
|
|
2001
|
+
state: "present" | "absent" | "unknown";
|
|
1671
2002
|
}[];
|
|
2003
|
+
reportHubId: number;
|
|
1672
2004
|
isRead: boolean;
|
|
1673
2005
|
isStarred: boolean;
|
|
1674
2006
|
labels: {
|
|
@@ -1679,13 +2011,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1679
2011
|
commentItems: {
|
|
1680
2012
|
id: number;
|
|
1681
2013
|
isMine: boolean;
|
|
1682
|
-
content?: string | null | undefined;
|
|
1683
2014
|
createdAt?: string | null | undefined;
|
|
2015
|
+
content?: string | null | undefined;
|
|
1684
2016
|
userId?: string | null | undefined;
|
|
1685
2017
|
userName?: string | null | undefined;
|
|
1686
2018
|
}[];
|
|
1687
|
-
content?: string | null | undefined;
|
|
1688
|
-
date?: string | null | undefined;
|
|
1689
2019
|
author?: string | null | undefined;
|
|
1690
2020
|
createdAt?: string | null | undefined;
|
|
1691
2021
|
updatedAt?: string | null | undefined;
|
|
@@ -1693,6 +2023,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1693
2023
|
category?: string | null | undefined;
|
|
1694
2024
|
creationCategory?: string | null | undefined;
|
|
1695
2025
|
subject?: string | null | undefined;
|
|
2026
|
+
content?: string | null | undefined;
|
|
2027
|
+
date?: string | null | undefined;
|
|
1696
2028
|
userId?: string | null | undefined;
|
|
1697
2029
|
sourceType?: string | null | undefined;
|
|
1698
2030
|
employeeName?: string | null | undefined;
|
|
@@ -1702,20 +2034,20 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1702
2034
|
};
|
|
1703
2035
|
recipientRawUserId?: number | undefined;
|
|
1704
2036
|
}, {
|
|
1705
|
-
reportHubId: number;
|
|
1706
2037
|
type: "report-update";
|
|
2038
|
+
reportHubId: number;
|
|
1707
2039
|
clientTempId: string;
|
|
1708
2040
|
report: {
|
|
1709
|
-
|
|
2041
|
+
interviewers: {
|
|
2042
|
+
name?: string | null | undefined;
|
|
2043
|
+
affiliation?: string | null | undefined;
|
|
2044
|
+
}[];
|
|
1710
2045
|
comments: {
|
|
1711
2046
|
color?: string | null | undefined;
|
|
1712
2047
|
name?: string | null | undefined;
|
|
1713
2048
|
text?: string | null | undefined;
|
|
1714
2049
|
}[];
|
|
1715
|
-
|
|
1716
|
-
name?: string | null | undefined;
|
|
1717
|
-
affiliation?: string | null | undefined;
|
|
1718
|
-
}[];
|
|
2050
|
+
reportHubId: number;
|
|
1719
2051
|
isRead: boolean;
|
|
1720
2052
|
isStarred: boolean;
|
|
1721
2053
|
labels: {
|
|
@@ -1726,13 +2058,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1726
2058
|
commentItems: {
|
|
1727
2059
|
id: number;
|
|
1728
2060
|
isMine: boolean;
|
|
1729
|
-
content?: string | null | undefined;
|
|
1730
2061
|
createdAt?: string | null | undefined;
|
|
2062
|
+
content?: string | null | undefined;
|
|
1731
2063
|
userId?: string | null | undefined;
|
|
1732
2064
|
userName?: string | null | undefined;
|
|
1733
2065
|
}[];
|
|
1734
|
-
content?: string | null | undefined;
|
|
1735
|
-
date?: string | null | undefined;
|
|
1736
2066
|
author?: string | null | undefined;
|
|
1737
2067
|
createdAt?: string | null | undefined;
|
|
1738
2068
|
updatedAt?: string | null | undefined;
|
|
@@ -1740,6 +2070,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1740
2070
|
category?: string | null | undefined;
|
|
1741
2071
|
creationCategory?: string | null | undefined;
|
|
1742
2072
|
subject?: string | null | undefined;
|
|
2073
|
+
content?: string | null | undefined;
|
|
2074
|
+
attachments?: {
|
|
2075
|
+
id: string;
|
|
2076
|
+
createdAt: string | null;
|
|
2077
|
+
fileName: string;
|
|
2078
|
+
fileType: string | null;
|
|
2079
|
+
fileSize: number | null;
|
|
2080
|
+
state: "present" | "absent" | "unknown";
|
|
2081
|
+
}[] | undefined;
|
|
2082
|
+
date?: string | null | undefined;
|
|
1743
2083
|
userId?: string | null | undefined;
|
|
1744
2084
|
sourceType?: string | null | undefined;
|
|
1745
2085
|
employeeName?: string | null | undefined;
|
|
@@ -1816,29 +2156,59 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1816
2156
|
}, "strip", z.ZodTypeAny, {
|
|
1817
2157
|
id: number;
|
|
1818
2158
|
isMine: boolean;
|
|
1819
|
-
content?: string | null | undefined;
|
|
1820
2159
|
createdAt?: string | null | undefined;
|
|
2160
|
+
content?: string | null | undefined;
|
|
1821
2161
|
userId?: string | null | undefined;
|
|
1822
2162
|
userName?: string | null | undefined;
|
|
1823
2163
|
}, {
|
|
1824
2164
|
id: number;
|
|
1825
2165
|
isMine: boolean;
|
|
1826
|
-
content?: string | null | undefined;
|
|
1827
2166
|
createdAt?: string | null | undefined;
|
|
2167
|
+
content?: string | null | undefined;
|
|
1828
2168
|
userId?: string | null | undefined;
|
|
1829
2169
|
userName?: string | null | undefined;
|
|
1830
2170
|
}>, "many">;
|
|
2171
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2172
|
+
id: z.ZodString;
|
|
2173
|
+
fileName: z.ZodString;
|
|
2174
|
+
fileType: z.ZodNullable<z.ZodString>;
|
|
2175
|
+
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
2176
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
2177
|
+
state: z.ZodEnum<["present", "absent", "unknown"]>;
|
|
2178
|
+
}, "strip", z.ZodTypeAny, {
|
|
2179
|
+
id: string;
|
|
2180
|
+
createdAt: string | null;
|
|
2181
|
+
fileName: string;
|
|
2182
|
+
fileType: string | null;
|
|
2183
|
+
fileSize: number | null;
|
|
2184
|
+
state: "present" | "absent" | "unknown";
|
|
2185
|
+
}, {
|
|
2186
|
+
id: string;
|
|
2187
|
+
createdAt: string | null;
|
|
2188
|
+
fileName: string;
|
|
2189
|
+
fileType: string | null;
|
|
2190
|
+
fileSize: number | null;
|
|
2191
|
+
state: "present" | "absent" | "unknown";
|
|
2192
|
+
}>, "many">>;
|
|
1831
2193
|
}, "strip", z.ZodTypeAny, {
|
|
1832
|
-
|
|
2194
|
+
interviewers: {
|
|
2195
|
+
name?: string | null | undefined;
|
|
2196
|
+
affiliation?: string | null | undefined;
|
|
2197
|
+
}[];
|
|
1833
2198
|
comments: {
|
|
1834
2199
|
color?: string | null | undefined;
|
|
1835
2200
|
name?: string | null | undefined;
|
|
1836
2201
|
text?: string | null | undefined;
|
|
1837
2202
|
}[];
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
2203
|
+
attachments: {
|
|
2204
|
+
id: string;
|
|
2205
|
+
createdAt: string | null;
|
|
2206
|
+
fileName: string;
|
|
2207
|
+
fileType: string | null;
|
|
2208
|
+
fileSize: number | null;
|
|
2209
|
+
state: "present" | "absent" | "unknown";
|
|
1841
2210
|
}[];
|
|
2211
|
+
reportHubId: number;
|
|
1842
2212
|
isRead: boolean;
|
|
1843
2213
|
isStarred: boolean;
|
|
1844
2214
|
labels: {
|
|
@@ -1849,13 +2219,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1849
2219
|
commentItems: {
|
|
1850
2220
|
id: number;
|
|
1851
2221
|
isMine: boolean;
|
|
1852
|
-
content?: string | null | undefined;
|
|
1853
2222
|
createdAt?: string | null | undefined;
|
|
2223
|
+
content?: string | null | undefined;
|
|
1854
2224
|
userId?: string | null | undefined;
|
|
1855
2225
|
userName?: string | null | undefined;
|
|
1856
2226
|
}[];
|
|
1857
|
-
content?: string | null | undefined;
|
|
1858
|
-
date?: string | null | undefined;
|
|
1859
2227
|
author?: string | null | undefined;
|
|
1860
2228
|
createdAt?: string | null | undefined;
|
|
1861
2229
|
updatedAt?: string | null | undefined;
|
|
@@ -1863,6 +2231,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1863
2231
|
category?: string | null | undefined;
|
|
1864
2232
|
creationCategory?: string | null | undefined;
|
|
1865
2233
|
subject?: string | null | undefined;
|
|
2234
|
+
content?: string | null | undefined;
|
|
2235
|
+
date?: string | null | undefined;
|
|
1866
2236
|
userId?: string | null | undefined;
|
|
1867
2237
|
sourceType?: string | null | undefined;
|
|
1868
2238
|
employeeName?: string | null | undefined;
|
|
@@ -1870,16 +2240,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1870
2240
|
visitTimeTo?: string | null | undefined;
|
|
1871
2241
|
customerName?: string | null | undefined;
|
|
1872
2242
|
}, {
|
|
1873
|
-
|
|
2243
|
+
interviewers: {
|
|
2244
|
+
name?: string | null | undefined;
|
|
2245
|
+
affiliation?: string | null | undefined;
|
|
2246
|
+
}[];
|
|
1874
2247
|
comments: {
|
|
1875
2248
|
color?: string | null | undefined;
|
|
1876
2249
|
name?: string | null | undefined;
|
|
1877
2250
|
text?: string | null | undefined;
|
|
1878
2251
|
}[];
|
|
1879
|
-
|
|
1880
|
-
name?: string | null | undefined;
|
|
1881
|
-
affiliation?: string | null | undefined;
|
|
1882
|
-
}[];
|
|
2252
|
+
reportHubId: number;
|
|
1883
2253
|
isRead: boolean;
|
|
1884
2254
|
isStarred: boolean;
|
|
1885
2255
|
labels: {
|
|
@@ -1890,13 +2260,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1890
2260
|
commentItems: {
|
|
1891
2261
|
id: number;
|
|
1892
2262
|
isMine: boolean;
|
|
1893
|
-
content?: string | null | undefined;
|
|
1894
2263
|
createdAt?: string | null | undefined;
|
|
2264
|
+
content?: string | null | undefined;
|
|
1895
2265
|
userId?: string | null | undefined;
|
|
1896
2266
|
userName?: string | null | undefined;
|
|
1897
2267
|
}[];
|
|
1898
|
-
content?: string | null | undefined;
|
|
1899
|
-
date?: string | null | undefined;
|
|
1900
2268
|
author?: string | null | undefined;
|
|
1901
2269
|
createdAt?: string | null | undefined;
|
|
1902
2270
|
updatedAt?: string | null | undefined;
|
|
@@ -1904,6 +2272,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1904
2272
|
category?: string | null | undefined;
|
|
1905
2273
|
creationCategory?: string | null | undefined;
|
|
1906
2274
|
subject?: string | null | undefined;
|
|
2275
|
+
content?: string | null | undefined;
|
|
2276
|
+
attachments?: {
|
|
2277
|
+
id: string;
|
|
2278
|
+
createdAt: string | null;
|
|
2279
|
+
fileName: string;
|
|
2280
|
+
fileType: string | null;
|
|
2281
|
+
fileSize: number | null;
|
|
2282
|
+
state: "present" | "absent" | "unknown";
|
|
2283
|
+
}[] | undefined;
|
|
2284
|
+
date?: string | null | undefined;
|
|
1907
2285
|
userId?: string | null | undefined;
|
|
1908
2286
|
sourceType?: string | null | undefined;
|
|
1909
2287
|
employeeName?: string | null | undefined;
|
|
@@ -1914,20 +2292,28 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1914
2292
|
clientTempId: z.ZodString;
|
|
1915
2293
|
recipientRawUserId: z.ZodOptional<z.ZodNumber>;
|
|
1916
2294
|
}, "strip", z.ZodTypeAny, {
|
|
1917
|
-
reportHubId: number;
|
|
1918
2295
|
type: "report-publish";
|
|
2296
|
+
reportHubId: number;
|
|
1919
2297
|
clientTempId: string;
|
|
1920
2298
|
report: {
|
|
1921
|
-
|
|
2299
|
+
interviewers: {
|
|
2300
|
+
name?: string | null | undefined;
|
|
2301
|
+
affiliation?: string | null | undefined;
|
|
2302
|
+
}[];
|
|
1922
2303
|
comments: {
|
|
1923
2304
|
color?: string | null | undefined;
|
|
1924
2305
|
name?: string | null | undefined;
|
|
1925
2306
|
text?: string | null | undefined;
|
|
1926
2307
|
}[];
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
2308
|
+
attachments: {
|
|
2309
|
+
id: string;
|
|
2310
|
+
createdAt: string | null;
|
|
2311
|
+
fileName: string;
|
|
2312
|
+
fileType: string | null;
|
|
2313
|
+
fileSize: number | null;
|
|
2314
|
+
state: "present" | "absent" | "unknown";
|
|
1930
2315
|
}[];
|
|
2316
|
+
reportHubId: number;
|
|
1931
2317
|
isRead: boolean;
|
|
1932
2318
|
isStarred: boolean;
|
|
1933
2319
|
labels: {
|
|
@@ -1938,13 +2324,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1938
2324
|
commentItems: {
|
|
1939
2325
|
id: number;
|
|
1940
2326
|
isMine: boolean;
|
|
1941
|
-
content?: string | null | undefined;
|
|
1942
2327
|
createdAt?: string | null | undefined;
|
|
2328
|
+
content?: string | null | undefined;
|
|
1943
2329
|
userId?: string | null | undefined;
|
|
1944
2330
|
userName?: string | null | undefined;
|
|
1945
2331
|
}[];
|
|
1946
|
-
content?: string | null | undefined;
|
|
1947
|
-
date?: string | null | undefined;
|
|
1948
2332
|
author?: string | null | undefined;
|
|
1949
2333
|
createdAt?: string | null | undefined;
|
|
1950
2334
|
updatedAt?: string | null | undefined;
|
|
@@ -1952,6 +2336,8 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1952
2336
|
category?: string | null | undefined;
|
|
1953
2337
|
creationCategory?: string | null | undefined;
|
|
1954
2338
|
subject?: string | null | undefined;
|
|
2339
|
+
content?: string | null | undefined;
|
|
2340
|
+
date?: string | null | undefined;
|
|
1955
2341
|
userId?: string | null | undefined;
|
|
1956
2342
|
sourceType?: string | null | undefined;
|
|
1957
2343
|
employeeName?: string | null | undefined;
|
|
@@ -1961,20 +2347,20 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1961
2347
|
};
|
|
1962
2348
|
recipientRawUserId?: number | undefined;
|
|
1963
2349
|
}, {
|
|
1964
|
-
reportHubId: number;
|
|
1965
2350
|
type: "report-publish";
|
|
2351
|
+
reportHubId: number;
|
|
1966
2352
|
clientTempId: string;
|
|
1967
2353
|
report: {
|
|
1968
|
-
|
|
2354
|
+
interviewers: {
|
|
2355
|
+
name?: string | null | undefined;
|
|
2356
|
+
affiliation?: string | null | undefined;
|
|
2357
|
+
}[];
|
|
1969
2358
|
comments: {
|
|
1970
2359
|
color?: string | null | undefined;
|
|
1971
2360
|
name?: string | null | undefined;
|
|
1972
2361
|
text?: string | null | undefined;
|
|
1973
2362
|
}[];
|
|
1974
|
-
|
|
1975
|
-
name?: string | null | undefined;
|
|
1976
|
-
affiliation?: string | null | undefined;
|
|
1977
|
-
}[];
|
|
2363
|
+
reportHubId: number;
|
|
1978
2364
|
isRead: boolean;
|
|
1979
2365
|
isStarred: boolean;
|
|
1980
2366
|
labels: {
|
|
@@ -1985,13 +2371,11 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1985
2371
|
commentItems: {
|
|
1986
2372
|
id: number;
|
|
1987
2373
|
isMine: boolean;
|
|
1988
|
-
content?: string | null | undefined;
|
|
1989
2374
|
createdAt?: string | null | undefined;
|
|
2375
|
+
content?: string | null | undefined;
|
|
1990
2376
|
userId?: string | null | undefined;
|
|
1991
2377
|
userName?: string | null | undefined;
|
|
1992
2378
|
}[];
|
|
1993
|
-
content?: string | null | undefined;
|
|
1994
|
-
date?: string | null | undefined;
|
|
1995
2379
|
author?: string | null | undefined;
|
|
1996
2380
|
createdAt?: string | null | undefined;
|
|
1997
2381
|
updatedAt?: string | null | undefined;
|
|
@@ -1999,6 +2383,16 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1999
2383
|
category?: string | null | undefined;
|
|
2000
2384
|
creationCategory?: string | null | undefined;
|
|
2001
2385
|
subject?: string | null | undefined;
|
|
2386
|
+
content?: string | null | undefined;
|
|
2387
|
+
attachments?: {
|
|
2388
|
+
id: string;
|
|
2389
|
+
createdAt: string | null;
|
|
2390
|
+
fileName: string;
|
|
2391
|
+
fileType: string | null;
|
|
2392
|
+
fileSize: number | null;
|
|
2393
|
+
state: "present" | "absent" | "unknown";
|
|
2394
|
+
}[] | undefined;
|
|
2395
|
+
date?: string | null | undefined;
|
|
2002
2396
|
userId?: string | null | undefined;
|
|
2003
2397
|
sourceType?: string | null | undefined;
|
|
2004
2398
|
employeeName?: string | null | undefined;
|
|
@@ -2012,14 +2406,14 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2012
2406
|
reportHubId: z.ZodNumber;
|
|
2013
2407
|
clientTempId: z.ZodString;
|
|
2014
2408
|
}, "strip", z.ZodTypeAny, {
|
|
2015
|
-
reportHubId: number;
|
|
2016
2409
|
type: "report-delete";
|
|
2410
|
+
reportHubId: number;
|
|
2017
2411
|
clientTempId: string;
|
|
2018
2412
|
}, {
|
|
2019
|
-
reportHubId: number;
|
|
2020
2413
|
type: "report-delete";
|
|
2414
|
+
reportHubId: number;
|
|
2021
2415
|
clientTempId: string;
|
|
2022
2416
|
}>]>;
|
|
2023
2417
|
type DailyReportSseMessage = z.infer<typeof dailyReportSseMessageSchema>;
|
|
2024
2418
|
|
|
2025
|
-
export { type DailyReportSseMessage as D, type UIComment as U, commentDeleteMessageSchema as a, connectedMessageSchema as b, commentAddMessageSchema as c,
|
|
2419
|
+
export { type DailyReportSseMessage as D, type UIComment as U, commentDeleteMessageSchema as a, connectedMessageSchema as b, commentAddMessageSchema as c, dailyReportAttachmentItemSchema as d, dailyReportCommentItemSchema as e, dailyReportCommentSchema as f, dailyReportDetailSchema as g, dailyReportInterviewerSchema as h, dailyReportLabelDefSchema as i, dailyReportSseMessageSchema as j, reportDeleteMessageSchema as k, reportPublishMessageSchema as l, mergeComments as m, reportUpdateMessageSchema as n, resolveCommentColorClass as o, reportCreateMessageSchema as r, statusUpdateMessageSchema as s };
|