@aiquants/daily-report 0.41.0 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { e as DailyReportDetail, s as DailyReportPostedComment } from "./sse-schema-CUiQKk8K.js";
1
+ import { e as DailyReportDetail, s as DailyReportPostedComment } from "./sse-schema-Br0b278w.js";
2
2
  declare const DAILY_REPORT_ACTION_INTENTS: readonly [
3
3
  "create",
4
4
  "update",
@@ -149,4 +149,6 @@ type UIComment = {
149
149
  isLegacy: boolean;
150
150
  isAuthorUnknown: boolean;
151
151
  };
152
- export { type ActionCommand as A, type DailyReportActionIntent as D, type UIComment as U, DAILY_REPORT_ACTION_FIELDS as a, DAILY_REPORT_ACTION_INTENTS as b, type ActionFailure as c, type ActionResult as d, type ActionResultOf as e, type ActionResultReading as f, encodeActionCommand as g, parseActionResult as p };
152
+ declare const DAILY_REPORT_INTERNAL_SOURCE_TYPE = "Internal";
153
+ declare const foldDailyReportSourceTypeToken: (token: string) => string;
154
+ export { type ActionCommand as A, type DailyReportActionIntent as D, type UIComment as U, DAILY_REPORT_ACTION_FIELDS as a, DAILY_REPORT_ACTION_INTENTS as b, DAILY_REPORT_INTERNAL_SOURCE_TYPE as c, type ActionFailure as d, type ActionResult as e, foldDailyReportSourceTypeToken as f, type ActionResultOf as g, type ActionResultReading as h, encodeActionCommand as i, parseActionResult as p };
@@ -1,4 +1,4 @@
1
- import { e as DailyReportDetail, s as DailyReportPostedComment } from "./sse-schema-CUiQKk8K.mjs";
1
+ import { e as DailyReportDetail, s as DailyReportPostedComment } from "./sse-schema-Br0b278w.mjs";
2
2
  declare const DAILY_REPORT_ACTION_INTENTS: readonly [
3
3
  "create",
4
4
  "update",
@@ -149,4 +149,6 @@ type UIComment = {
149
149
  isLegacy: boolean;
150
150
  isAuthorUnknown: boolean;
151
151
  };
152
- export { type ActionCommand as A, type DailyReportActionIntent as D, type UIComment as U, DAILY_REPORT_ACTION_FIELDS as a, DAILY_REPORT_ACTION_INTENTS as b, type ActionFailure as c, type ActionResult as d, type ActionResultOf as e, type ActionResultReading as f, encodeActionCommand as g, parseActionResult as p };
152
+ declare const DAILY_REPORT_INTERNAL_SOURCE_TYPE = "Internal";
153
+ declare const foldDailyReportSourceTypeToken: (token: string) => string;
154
+ export { type ActionCommand as A, type DailyReportActionIntent as D, type UIComment as U, DAILY_REPORT_ACTION_FIELDS as a, DAILY_REPORT_ACTION_INTENTS as b, DAILY_REPORT_INTERNAL_SOURCE_TYPE as c, type ActionFailure as d, type ActionResult as e, foldDailyReportSourceTypeToken as f, type ActionResultOf as g, type ActionResultReading as h, encodeActionCommand as i, parseActionResult as p };
@@ -148,6 +148,149 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
148
148
  ]>;
149
149
  value: z.ZodBoolean;
150
150
  clientTempId: z.ZodString;
151
+ }, "strip", z.ZodTypeAny, {
152
+ type: "status-update";
153
+ reportHubId: number;
154
+ value: boolean;
155
+ statusType: "star" | "read";
156
+ clientTempId: string;
157
+ }, {
158
+ type: "status-update";
159
+ reportHubId: number;
160
+ value: boolean;
161
+ statusType: "star" | "read";
162
+ clientTempId: string;
163
+ }>,
164
+ z.ZodObject<{
165
+ type: z.ZodLiteral<"comment-add">;
166
+ reportHubId: z.ZodNumber;
167
+ comment: z.ZodType<DailyReportPostedComment, z.ZodTypeDef, unknown>;
168
+ clientTempId: z.ZodString;
169
+ sourceType: z.ZodString;
170
+ }, "strip", z.ZodTypeAny, {
171
+ type: "comment-add";
172
+ reportHubId: number;
173
+ sourceType: string;
174
+ clientTempId: string;
175
+ comment: DailyReportPostedComment;
176
+ }, {
177
+ type: "comment-add";
178
+ reportHubId: number;
179
+ sourceType: string;
180
+ clientTempId: string;
181
+ comment?: unknown;
182
+ }>,
183
+ z.ZodObject<{
184
+ type: z.ZodLiteral<"comment-delete">;
185
+ reportHubId: z.ZodNumber;
186
+ commentId: z.ZodNumber;
187
+ clientTempId: z.ZodString;
188
+ sourceType: z.ZodString;
189
+ }, "strip", z.ZodTypeAny, {
190
+ type: "comment-delete";
191
+ reportHubId: number;
192
+ sourceType: string;
193
+ clientTempId: string;
194
+ commentId: number;
195
+ }, {
196
+ type: "comment-delete";
197
+ reportHubId: number;
198
+ sourceType: string;
199
+ clientTempId: string;
200
+ commentId: number;
201
+ }>,
202
+ z.ZodObject<{
203
+ viewerIsActor: z.ZodBoolean;
204
+ reportHubId: z.ZodNumber;
205
+ report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
206
+ clientTempId: z.ZodString;
207
+ type: z.ZodLiteral<"report-create">;
208
+ }, "strip", z.ZodTypeAny, {
209
+ type: "report-create";
210
+ reportHubId: number;
211
+ clientTempId: string;
212
+ viewerIsActor: boolean;
213
+ report: DailyReportDetail;
214
+ }, {
215
+ type: "report-create";
216
+ reportHubId: number;
217
+ clientTempId: string;
218
+ viewerIsActor: boolean;
219
+ report?: unknown;
220
+ }>,
221
+ z.ZodObject<{
222
+ viewerIsActor: z.ZodBoolean;
223
+ reportHubId: z.ZodNumber;
224
+ report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
225
+ clientTempId: z.ZodString;
226
+ type: z.ZodLiteral<"report-update">;
227
+ }, "strip", z.ZodTypeAny, {
228
+ type: "report-update";
229
+ reportHubId: number;
230
+ clientTempId: string;
231
+ viewerIsActor: boolean;
232
+ report: DailyReportDetail;
233
+ }, {
234
+ type: "report-update";
235
+ reportHubId: number;
236
+ clientTempId: string;
237
+ viewerIsActor: boolean;
238
+ report?: unknown;
239
+ }>,
240
+ z.ZodObject<{
241
+ viewerIsActor: z.ZodBoolean;
242
+ reportHubId: z.ZodNumber;
243
+ report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
244
+ clientTempId: z.ZodString;
245
+ type: z.ZodLiteral<"report-publish">;
246
+ }, "strip", z.ZodTypeAny, {
247
+ type: "report-publish";
248
+ reportHubId: number;
249
+ clientTempId: string;
250
+ viewerIsActor: boolean;
251
+ report: DailyReportDetail;
252
+ }, {
253
+ type: "report-publish";
254
+ reportHubId: number;
255
+ clientTempId: string;
256
+ viewerIsActor: boolean;
257
+ report?: unknown;
258
+ }>,
259
+ z.ZodObject<{
260
+ type: z.ZodLiteral<"report-delete">;
261
+ reportHubId: z.ZodNumber;
262
+ clientTempId: z.ZodString;
263
+ sourceType: z.ZodString;
264
+ }, "strip", z.ZodTypeAny, {
265
+ type: "report-delete";
266
+ reportHubId: number;
267
+ sourceType: string;
268
+ clientTempId: string;
269
+ }, {
270
+ type: "report-delete";
271
+ reportHubId: number;
272
+ sourceType: string;
273
+ clientTempId: string;
274
+ }>
275
+ ]>;
276
+ declare const dailyReportSseStreamMessageSchema: z.ZodDiscriminatedUnion<"type", [
277
+ z.ZodObject<{
278
+ type: z.ZodLiteral<"connected">;
279
+ }, "strip", z.ZodTypeAny, {
280
+ type: "connected";
281
+ }, {
282
+ type: "connected";
283
+ }>,
284
+ z.ZodObject<{
285
+ type: z.ZodLiteral<"status-update">;
286
+ reportHubId: z.ZodNumber;
287
+ statusType: z.ZodEnum<[
288
+ "star",
289
+ "read"
290
+ ]>;
291
+ value: z.ZodBoolean;
292
+ clientTempId: z.ZodString;
293
+ } & {
151
294
  recipientRawUserId: z.ZodOptional<z.ZodNumber>;
152
295
  }, "strip", z.ZodTypeAny, {
153
296
  type: "status-update";
@@ -169,8 +312,9 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
169
312
  reportHubId: z.ZodNumber;
170
313
  comment: z.ZodType<DailyReportPostedComment, z.ZodTypeDef, unknown>;
171
314
  clientTempId: z.ZodString;
172
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
173
315
  sourceType: z.ZodString;
316
+ } & {
317
+ recipientRawUserId: z.ZodOptional<z.ZodNumber>;
174
318
  }, "strip", z.ZodTypeAny, {
175
319
  type: "comment-add";
176
320
  reportHubId: number;
@@ -183,16 +327,17 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
183
327
  reportHubId: number;
184
328
  sourceType: string;
185
329
  clientTempId: string;
186
- recipientRawUserId?: number | undefined;
187
330
  comment?: unknown;
331
+ recipientRawUserId?: number | undefined;
188
332
  }>,
189
333
  z.ZodObject<{
190
334
  type: z.ZodLiteral<"comment-delete">;
191
335
  reportHubId: z.ZodNumber;
192
336
  commentId: z.ZodNumber;
193
337
  clientTempId: z.ZodString;
194
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
195
338
  sourceType: z.ZodString;
339
+ } & {
340
+ recipientRawUserId: z.ZodOptional<z.ZodNumber>;
196
341
  }, "strip", z.ZodTypeAny, {
197
342
  type: "comment-delete";
198
343
  reportHubId: number;
@@ -209,59 +354,68 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
209
354
  recipientRawUserId?: number | undefined;
210
355
  }>,
211
356
  z.ZodObject<{
212
- type: z.ZodLiteral<"report-create">;
357
+ actorRawUserId: z.ZodNumber;
358
+ recipientRawUserId: z.ZodOptional<z.ZodNumber>;
213
359
  reportHubId: z.ZodNumber;
214
360
  report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
215
361
  clientTempId: z.ZodString;
216
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
362
+ type: z.ZodLiteral<"report-create">;
217
363
  }, "strip", z.ZodTypeAny, {
218
364
  type: "report-create";
219
365
  reportHubId: number;
220
366
  clientTempId: string;
221
367
  report: DailyReportDetail;
368
+ actorRawUserId: number;
222
369
  recipientRawUserId?: number | undefined;
223
370
  }, {
224
371
  type: "report-create";
225
372
  reportHubId: number;
226
373
  clientTempId: string;
374
+ actorRawUserId: number;
227
375
  recipientRawUserId?: number | undefined;
228
376
  report?: unknown;
229
377
  }>,
230
378
  z.ZodObject<{
231
- type: z.ZodLiteral<"report-update">;
379
+ actorRawUserId: z.ZodNumber;
380
+ recipientRawUserId: z.ZodOptional<z.ZodNumber>;
232
381
  reportHubId: z.ZodNumber;
233
382
  report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
234
383
  clientTempId: z.ZodString;
235
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
384
+ type: z.ZodLiteral<"report-update">;
236
385
  }, "strip", z.ZodTypeAny, {
237
386
  type: "report-update";
238
387
  reportHubId: number;
239
388
  clientTempId: string;
240
389
  report: DailyReportDetail;
390
+ actorRawUserId: number;
241
391
  recipientRawUserId?: number | undefined;
242
392
  }, {
243
393
  type: "report-update";
244
394
  reportHubId: number;
245
395
  clientTempId: string;
396
+ actorRawUserId: number;
246
397
  recipientRawUserId?: number | undefined;
247
398
  report?: unknown;
248
399
  }>,
249
400
  z.ZodObject<{
250
- type: z.ZodLiteral<"report-publish">;
401
+ actorRawUserId: z.ZodNumber;
402
+ recipientRawUserId: z.ZodOptional<z.ZodNumber>;
251
403
  reportHubId: z.ZodNumber;
252
404
  report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
253
405
  clientTempId: z.ZodString;
254
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
406
+ type: z.ZodLiteral<"report-publish">;
255
407
  }, "strip", z.ZodTypeAny, {
256
408
  type: "report-publish";
257
409
  reportHubId: number;
258
410
  clientTempId: string;
259
411
  report: DailyReportDetail;
412
+ actorRawUserId: number;
260
413
  recipientRawUserId?: number | undefined;
261
414
  }, {
262
415
  type: "report-publish";
263
416
  reportHubId: number;
264
417
  clientTempId: string;
418
+ actorRawUserId: number;
265
419
  recipientRawUserId?: number | undefined;
266
420
  report?: unknown;
267
421
  }>,
@@ -283,4 +437,5 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
283
437
  }>
284
438
  ]>;
285
439
  type DailyReportSseMessage = z.infer<typeof dailyReportSseMessageSchema>;
286
- export { type DailyReportItem as D, type DailyReportSseStreamAnchor as a, type DailyReportUser as b, type DailyReportSseTerminalEvent as c, type DailyReportSseMessage as d, type DailyReportDetail as e, DAILY_REPORT_SSE_CURSOR_PARAM as f, DAILY_REPORT_SSE_HEARTBEAT_MS as g, DAILY_REPORT_SSE_TERMINAL_EVENTS as h, type DailyReportAttachmentState as i, type DailyReportAttachmentSummary as j, type DailyReportExternalComment as k, type DailyReportIdsStreamChunk as l, type DailyReportIdsStreamChunkLine as m, type DailyReportIdsStreamCursor as n, type DailyReportIdsStreamRowColumns as o, type DailyReportIdsStreamRows as p, type DailyReportInterviewer as q, type DailyReportLabelDef as r, type DailyReportPostedComment as s, dailyReportDetailSchema as t, dailyReportSseMessageSchema as u, forEachIdsStreamRow as v, readIdsStreamChunkLine as w, encodeIdsStreamRows as x };
440
+ type DailyReportSseStreamMessage = z.infer<typeof dailyReportSseStreamMessageSchema>;
441
+ export { type DailyReportItem as D, type DailyReportSseStreamAnchor as a, type DailyReportUser as b, type DailyReportSseTerminalEvent as c, type DailyReportSseMessage as d, type DailyReportDetail as e, DAILY_REPORT_SSE_CURSOR_PARAM as f, DAILY_REPORT_SSE_HEARTBEAT_MS as g, DAILY_REPORT_SSE_TERMINAL_EVENTS as h, type DailyReportAttachmentState as i, type DailyReportAttachmentSummary as j, type DailyReportExternalComment as k, type DailyReportIdsStreamChunk as l, type DailyReportIdsStreamChunkLine as m, type DailyReportIdsStreamCursor as n, type DailyReportIdsStreamRowColumns as o, type DailyReportIdsStreamRows as p, type DailyReportInterviewer as q, type DailyReportLabelDef as r, type DailyReportPostedComment as s, dailyReportDetailSchema as t, dailyReportSseMessageSchema as u, forEachIdsStreamRow as v, readIdsStreamChunkLine as w, type DailyReportSseStreamMessage as x, dailyReportSseStreamMessageSchema as y, encodeIdsStreamRows as z };
@@ -148,6 +148,149 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
148
148
  ]>;
149
149
  value: z.ZodBoolean;
150
150
  clientTempId: z.ZodString;
151
+ }, "strip", z.ZodTypeAny, {
152
+ type: "status-update";
153
+ reportHubId: number;
154
+ value: boolean;
155
+ statusType: "star" | "read";
156
+ clientTempId: string;
157
+ }, {
158
+ type: "status-update";
159
+ reportHubId: number;
160
+ value: boolean;
161
+ statusType: "star" | "read";
162
+ clientTempId: string;
163
+ }>,
164
+ z.ZodObject<{
165
+ type: z.ZodLiteral<"comment-add">;
166
+ reportHubId: z.ZodNumber;
167
+ comment: z.ZodType<DailyReportPostedComment, z.ZodTypeDef, unknown>;
168
+ clientTempId: z.ZodString;
169
+ sourceType: z.ZodString;
170
+ }, "strip", z.ZodTypeAny, {
171
+ type: "comment-add";
172
+ reportHubId: number;
173
+ sourceType: string;
174
+ clientTempId: string;
175
+ comment: DailyReportPostedComment;
176
+ }, {
177
+ type: "comment-add";
178
+ reportHubId: number;
179
+ sourceType: string;
180
+ clientTempId: string;
181
+ comment?: unknown;
182
+ }>,
183
+ z.ZodObject<{
184
+ type: z.ZodLiteral<"comment-delete">;
185
+ reportHubId: z.ZodNumber;
186
+ commentId: z.ZodNumber;
187
+ clientTempId: z.ZodString;
188
+ sourceType: z.ZodString;
189
+ }, "strip", z.ZodTypeAny, {
190
+ type: "comment-delete";
191
+ reportHubId: number;
192
+ sourceType: string;
193
+ clientTempId: string;
194
+ commentId: number;
195
+ }, {
196
+ type: "comment-delete";
197
+ reportHubId: number;
198
+ sourceType: string;
199
+ clientTempId: string;
200
+ commentId: number;
201
+ }>,
202
+ z.ZodObject<{
203
+ viewerIsActor: z.ZodBoolean;
204
+ reportHubId: z.ZodNumber;
205
+ report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
206
+ clientTempId: z.ZodString;
207
+ type: z.ZodLiteral<"report-create">;
208
+ }, "strip", z.ZodTypeAny, {
209
+ type: "report-create";
210
+ reportHubId: number;
211
+ clientTempId: string;
212
+ viewerIsActor: boolean;
213
+ report: DailyReportDetail;
214
+ }, {
215
+ type: "report-create";
216
+ reportHubId: number;
217
+ clientTempId: string;
218
+ viewerIsActor: boolean;
219
+ report?: unknown;
220
+ }>,
221
+ z.ZodObject<{
222
+ viewerIsActor: z.ZodBoolean;
223
+ reportHubId: z.ZodNumber;
224
+ report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
225
+ clientTempId: z.ZodString;
226
+ type: z.ZodLiteral<"report-update">;
227
+ }, "strip", z.ZodTypeAny, {
228
+ type: "report-update";
229
+ reportHubId: number;
230
+ clientTempId: string;
231
+ viewerIsActor: boolean;
232
+ report: DailyReportDetail;
233
+ }, {
234
+ type: "report-update";
235
+ reportHubId: number;
236
+ clientTempId: string;
237
+ viewerIsActor: boolean;
238
+ report?: unknown;
239
+ }>,
240
+ z.ZodObject<{
241
+ viewerIsActor: z.ZodBoolean;
242
+ reportHubId: z.ZodNumber;
243
+ report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
244
+ clientTempId: z.ZodString;
245
+ type: z.ZodLiteral<"report-publish">;
246
+ }, "strip", z.ZodTypeAny, {
247
+ type: "report-publish";
248
+ reportHubId: number;
249
+ clientTempId: string;
250
+ viewerIsActor: boolean;
251
+ report: DailyReportDetail;
252
+ }, {
253
+ type: "report-publish";
254
+ reportHubId: number;
255
+ clientTempId: string;
256
+ viewerIsActor: boolean;
257
+ report?: unknown;
258
+ }>,
259
+ z.ZodObject<{
260
+ type: z.ZodLiteral<"report-delete">;
261
+ reportHubId: z.ZodNumber;
262
+ clientTempId: z.ZodString;
263
+ sourceType: z.ZodString;
264
+ }, "strip", z.ZodTypeAny, {
265
+ type: "report-delete";
266
+ reportHubId: number;
267
+ sourceType: string;
268
+ clientTempId: string;
269
+ }, {
270
+ type: "report-delete";
271
+ reportHubId: number;
272
+ sourceType: string;
273
+ clientTempId: string;
274
+ }>
275
+ ]>;
276
+ declare const dailyReportSseStreamMessageSchema: z.ZodDiscriminatedUnion<"type", [
277
+ z.ZodObject<{
278
+ type: z.ZodLiteral<"connected">;
279
+ }, "strip", z.ZodTypeAny, {
280
+ type: "connected";
281
+ }, {
282
+ type: "connected";
283
+ }>,
284
+ z.ZodObject<{
285
+ type: z.ZodLiteral<"status-update">;
286
+ reportHubId: z.ZodNumber;
287
+ statusType: z.ZodEnum<[
288
+ "star",
289
+ "read"
290
+ ]>;
291
+ value: z.ZodBoolean;
292
+ clientTempId: z.ZodString;
293
+ } & {
151
294
  recipientRawUserId: z.ZodOptional<z.ZodNumber>;
152
295
  }, "strip", z.ZodTypeAny, {
153
296
  type: "status-update";
@@ -169,8 +312,9 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
169
312
  reportHubId: z.ZodNumber;
170
313
  comment: z.ZodType<DailyReportPostedComment, z.ZodTypeDef, unknown>;
171
314
  clientTempId: z.ZodString;
172
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
173
315
  sourceType: z.ZodString;
316
+ } & {
317
+ recipientRawUserId: z.ZodOptional<z.ZodNumber>;
174
318
  }, "strip", z.ZodTypeAny, {
175
319
  type: "comment-add";
176
320
  reportHubId: number;
@@ -183,16 +327,17 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
183
327
  reportHubId: number;
184
328
  sourceType: string;
185
329
  clientTempId: string;
186
- recipientRawUserId?: number | undefined;
187
330
  comment?: unknown;
331
+ recipientRawUserId?: number | undefined;
188
332
  }>,
189
333
  z.ZodObject<{
190
334
  type: z.ZodLiteral<"comment-delete">;
191
335
  reportHubId: z.ZodNumber;
192
336
  commentId: z.ZodNumber;
193
337
  clientTempId: z.ZodString;
194
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
195
338
  sourceType: z.ZodString;
339
+ } & {
340
+ recipientRawUserId: z.ZodOptional<z.ZodNumber>;
196
341
  }, "strip", z.ZodTypeAny, {
197
342
  type: "comment-delete";
198
343
  reportHubId: number;
@@ -209,59 +354,68 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
209
354
  recipientRawUserId?: number | undefined;
210
355
  }>,
211
356
  z.ZodObject<{
212
- type: z.ZodLiteral<"report-create">;
357
+ actorRawUserId: z.ZodNumber;
358
+ recipientRawUserId: z.ZodOptional<z.ZodNumber>;
213
359
  reportHubId: z.ZodNumber;
214
360
  report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
215
361
  clientTempId: z.ZodString;
216
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
362
+ type: z.ZodLiteral<"report-create">;
217
363
  }, "strip", z.ZodTypeAny, {
218
364
  type: "report-create";
219
365
  reportHubId: number;
220
366
  clientTempId: string;
221
367
  report: DailyReportDetail;
368
+ actorRawUserId: number;
222
369
  recipientRawUserId?: number | undefined;
223
370
  }, {
224
371
  type: "report-create";
225
372
  reportHubId: number;
226
373
  clientTempId: string;
374
+ actorRawUserId: number;
227
375
  recipientRawUserId?: number | undefined;
228
376
  report?: unknown;
229
377
  }>,
230
378
  z.ZodObject<{
231
- type: z.ZodLiteral<"report-update">;
379
+ actorRawUserId: z.ZodNumber;
380
+ recipientRawUserId: z.ZodOptional<z.ZodNumber>;
232
381
  reportHubId: z.ZodNumber;
233
382
  report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
234
383
  clientTempId: z.ZodString;
235
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
384
+ type: z.ZodLiteral<"report-update">;
236
385
  }, "strip", z.ZodTypeAny, {
237
386
  type: "report-update";
238
387
  reportHubId: number;
239
388
  clientTempId: string;
240
389
  report: DailyReportDetail;
390
+ actorRawUserId: number;
241
391
  recipientRawUserId?: number | undefined;
242
392
  }, {
243
393
  type: "report-update";
244
394
  reportHubId: number;
245
395
  clientTempId: string;
396
+ actorRawUserId: number;
246
397
  recipientRawUserId?: number | undefined;
247
398
  report?: unknown;
248
399
  }>,
249
400
  z.ZodObject<{
250
- type: z.ZodLiteral<"report-publish">;
401
+ actorRawUserId: z.ZodNumber;
402
+ recipientRawUserId: z.ZodOptional<z.ZodNumber>;
251
403
  reportHubId: z.ZodNumber;
252
404
  report: z.ZodType<DailyReportDetail, z.ZodTypeDef, unknown>;
253
405
  clientTempId: z.ZodString;
254
- recipientRawUserId: z.ZodOptional<z.ZodNumber>;
406
+ type: z.ZodLiteral<"report-publish">;
255
407
  }, "strip", z.ZodTypeAny, {
256
408
  type: "report-publish";
257
409
  reportHubId: number;
258
410
  clientTempId: string;
259
411
  report: DailyReportDetail;
412
+ actorRawUserId: number;
260
413
  recipientRawUserId?: number | undefined;
261
414
  }, {
262
415
  type: "report-publish";
263
416
  reportHubId: number;
264
417
  clientTempId: string;
418
+ actorRawUserId: number;
265
419
  recipientRawUserId?: number | undefined;
266
420
  report?: unknown;
267
421
  }>,
@@ -283,4 +437,5 @@ declare const dailyReportSseMessageSchema: z.ZodDiscriminatedUnion<"type", [
283
437
  }>
284
438
  ]>;
285
439
  type DailyReportSseMessage = z.infer<typeof dailyReportSseMessageSchema>;
286
- export { type DailyReportItem as D, type DailyReportSseStreamAnchor as a, type DailyReportUser as b, type DailyReportSseTerminalEvent as c, type DailyReportSseMessage as d, type DailyReportDetail as e, DAILY_REPORT_SSE_CURSOR_PARAM as f, DAILY_REPORT_SSE_HEARTBEAT_MS as g, DAILY_REPORT_SSE_TERMINAL_EVENTS as h, type DailyReportAttachmentState as i, type DailyReportAttachmentSummary as j, type DailyReportExternalComment as k, type DailyReportIdsStreamChunk as l, type DailyReportIdsStreamChunkLine as m, type DailyReportIdsStreamCursor as n, type DailyReportIdsStreamRowColumns as o, type DailyReportIdsStreamRows as p, type DailyReportInterviewer as q, type DailyReportLabelDef as r, type DailyReportPostedComment as s, dailyReportDetailSchema as t, dailyReportSseMessageSchema as u, forEachIdsStreamRow as v, readIdsStreamChunkLine as w, encodeIdsStreamRows as x };
440
+ type DailyReportSseStreamMessage = z.infer<typeof dailyReportSseStreamMessageSchema>;
441
+ export { type DailyReportItem as D, type DailyReportSseStreamAnchor as a, type DailyReportUser as b, type DailyReportSseTerminalEvent as c, type DailyReportSseMessage as d, type DailyReportDetail as e, DAILY_REPORT_SSE_CURSOR_PARAM as f, DAILY_REPORT_SSE_HEARTBEAT_MS as g, DAILY_REPORT_SSE_TERMINAL_EVENTS as h, type DailyReportAttachmentState as i, type DailyReportAttachmentSummary as j, type DailyReportExternalComment as k, type DailyReportIdsStreamChunk as l, type DailyReportIdsStreamChunkLine as m, type DailyReportIdsStreamCursor as n, type DailyReportIdsStreamRowColumns as o, type DailyReportIdsStreamRows as p, type DailyReportInterviewer as q, type DailyReportLabelDef as r, type DailyReportPostedComment as s, dailyReportDetailSchema as t, dailyReportSseMessageSchema as u, forEachIdsStreamRow as v, readIdsStreamChunkLine as w, type DailyReportSseStreamMessage as x, dailyReportSseStreamMessageSchema as y, encodeIdsStreamRows as z };