@xpert-ai/contracts 3.36.0 → 3.37.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.
Files changed (57) hide show
  1. package/index.cjs.js +818 -450
  2. package/index.esm.js +806 -451
  3. package/package.json +2 -2
  4. package/src/ai/agent-runtime.model.d.ts +2 -2
  5. package/src/ai/assistant-template-manifest.model.d.ts +328 -328
  6. package/src/ai/assistant-template-setup.model.d.ts +8 -8
  7. package/src/ai/chat-activity.model.d.ts +5 -0
  8. package/src/ai/chat.model.d.ts +2 -0
  9. package/src/ai/conversation-trail.model.d.ts +66 -66
  10. package/src/ai/execution-activity.model.d.ts +10 -10
  11. package/src/ai/execution-control-evidence.schema.d.ts +30 -30
  12. package/src/ai/execution-observability.model.d.ts +96 -96
  13. package/src/ai/mcp-execution-control.schema.d.ts +2 -2
  14. package/src/ai/model-replacement.model.d.ts +6 -6
  15. package/src/ai/project-pipeline/analytics.d.ts +154 -154
  16. package/src/ai/project-pipeline/budget.schema.d.ts +4 -4
  17. package/src/ai/project-pipeline/commands.schema.d.ts +68 -68
  18. package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +3815 -0
  19. package/src/ai/project-pipeline/configuration-form.d.ts +215 -215
  20. package/src/ai/project-pipeline/configuration.schema.d.ts +50 -50
  21. package/src/ai/project-pipeline/contribution.schema.d.ts +173 -70
  22. package/src/ai/project-pipeline/definition.schema.d.ts +50 -50
  23. package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
  24. package/src/ai/project-pipeline/graph.model.d.ts +2 -2
  25. package/src/ai/project-pipeline/index.d.ts +1 -0
  26. package/src/ai/project-pipeline/model-usage-statistics.d.ts +2 -2
  27. package/src/ai/project-pipeline/node.schema.d.ts +2 -2
  28. package/src/ai/project-pipeline/operation.schema.d.ts +344 -344
  29. package/src/ai/project-pipeline/portfolio.schema.d.ts +348 -348
  30. package/src/ai/project-pipeline/primitives.schema.d.ts +4 -4
  31. package/src/ai/project-pipeline/projection.schema.d.ts +260 -260
  32. package/src/ai/project-pipeline/provider-actions.schema.d.ts +28 -28
  33. package/src/ai/project-pipeline/queue-statistics.d.ts +24 -24
  34. package/src/ai/project-pipeline/runtime.schema.d.ts +50 -50
  35. package/src/ai/project-pipeline/statistics.d.ts +74 -74
  36. package/src/ai/project-task-runtime.model.d.ts +23 -23
  37. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  38. package/src/ai/template-installation.model.d.ts +16 -16
  39. package/src/ai/template-lifecycle.model.d.ts +2 -2
  40. package/src/ai/thread-control-view.schema.d.ts +4 -4
  41. package/src/ai/xpert-agent-execution.model.d.ts +29 -0
  42. package/src/ai/xpert-tool.model.d.ts +12 -0
  43. package/src/{agent-event.model.d.ts → always-on/agent-event.model.d.ts} +37 -4
  44. package/src/{agent-event.schema.d.ts → always-on/agent-event.schema.d.ts} +19 -0
  45. package/src/always-on/agent-output-reference.schema.d.ts +27 -0
  46. package/src/always-on/agent-output.model.d.ts +411 -0
  47. package/src/always-on/human-decision.model.d.ts +204 -0
  48. package/src/always-on/index.d.ts +3 -0
  49. package/src/always-on/output-workbench.schema.d.ts +154 -0
  50. package/src/analytics/analytics-diagnostic.d.ts +4 -4
  51. package/src/app-platform.d.ts +18 -18
  52. package/src/artifacts/artifact.model.d.ts +2 -0
  53. package/src/content/content-resource.model.d.ts +2 -1
  54. package/src/icon-definition.schema.d.ts +6 -10
  55. package/src/index.d.ts +1 -1
  56. package/src/secret-token.model.d.ts +4 -4
  57. package/src/user-notification.schema.d.ts +1290 -479
@@ -1,3 +1,4 @@
1
+ import type { AgentOutputItem } from './always-on/agent-output.model';
1
2
  import { z } from 'zod/v3';
2
3
  export declare const notificationClientSchema: z.ZodEnum<["web", "desktop"]>;
3
4
  export type NotificationClient = z.infer<typeof notificationClientSchema>;
@@ -6,20 +7,20 @@ export declare const announcementActionSchema: z.ZodObject<{
6
7
  label: z.ZodString;
7
8
  url: z.ZodEffects<z.ZodString, string, string>;
8
9
  }, "strict", z.ZodTypeAny, {
9
- type?: "link";
10
- label?: string;
11
- url?: string;
10
+ type: "link";
11
+ label: string;
12
+ url: string;
12
13
  }, {
13
- type?: "link";
14
- label?: string;
15
- url?: string;
14
+ type: "link";
15
+ label: string;
16
+ url: string;
16
17
  }>;
17
18
  export declare const announcementContentSchema: z.ZodObject<{
18
19
  title: z.ZodString;
19
20
  body: z.ZodString;
20
21
  category: z.ZodDefault<z.ZodEnum<["general", "maintenance", "model_retirement"]>>;
21
22
  severity: z.ZodDefault<z.ZodEnum<["info", "important"]>>;
22
- clients: z.ZodEffects<z.ZodArray<z.ZodEnum<["web", "desktop"]>, "many">, ("desktop" | "web")[], ("desktop" | "web")[]>;
23
+ clients: z.ZodEffects<z.ZodArray<z.ZodEnum<["web", "desktop"]>, "many">, ("web" | "desktop")[], ("web" | "desktop")[]>;
23
24
  startsAt: z.ZodString;
24
25
  expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
25
26
  action: z.ZodDefault<z.ZodNullable<z.ZodObject<{
@@ -27,47 +28,47 @@ export declare const announcementContentSchema: z.ZodObject<{
27
28
  label: z.ZodString;
28
29
  url: z.ZodEffects<z.ZodString, string, string>;
29
30
  }, "strict", z.ZodTypeAny, {
30
- type?: "link";
31
- label?: string;
32
- url?: string;
31
+ type: "link";
32
+ label: string;
33
+ url: string;
33
34
  }, {
34
- type?: "link";
35
- label?: string;
36
- url?: string;
35
+ type: "link";
36
+ label: string;
37
+ url: string;
37
38
  }>>>;
38
39
  }, "strict", z.ZodTypeAny, {
39
- category?: "general" | "maintenance" | "model_retirement";
40
- title?: string;
41
- expiresAt?: string;
42
- action?: {
43
- type?: "link";
44
- label?: string;
45
- url?: string;
46
- };
47
- body?: string;
48
- severity?: "info" | "important";
49
- clients?: ("desktop" | "web")[];
50
- startsAt?: string;
40
+ title: string;
41
+ body: string;
42
+ category: "general" | "maintenance" | "model_retirement";
43
+ severity: "info" | "important";
44
+ clients: ("web" | "desktop")[];
45
+ startsAt: string;
46
+ expiresAt: string | null;
47
+ action: {
48
+ type: "link";
49
+ label: string;
50
+ url: string;
51
+ } | null;
51
52
  }, {
52
- category?: "general" | "maintenance" | "model_retirement";
53
- title?: string;
54
- expiresAt?: string;
53
+ title: string;
54
+ body: string;
55
+ clients: ("web" | "desktop")[];
56
+ startsAt: string;
57
+ category?: "general" | "maintenance" | "model_retirement" | undefined;
58
+ severity?: "info" | "important" | undefined;
59
+ expiresAt?: string | null | undefined;
55
60
  action?: {
56
- type?: "link";
57
- label?: string;
58
- url?: string;
59
- };
60
- body?: string;
61
- severity?: "info" | "important";
62
- clients?: ("desktop" | "web")[];
63
- startsAt?: string;
61
+ type: "link";
62
+ label: string;
63
+ url: string;
64
+ } | null | undefined;
64
65
  }>;
65
66
  export declare const createAnnouncementSchema: z.ZodEffects<z.ZodObject<{
66
67
  title: z.ZodString;
67
68
  body: z.ZodString;
68
69
  category: z.ZodDefault<z.ZodEnum<["general", "maintenance", "model_retirement"]>>;
69
70
  severity: z.ZodDefault<z.ZodEnum<["info", "important"]>>;
70
- clients: z.ZodEffects<z.ZodArray<z.ZodEnum<["web", "desktop"]>, "many">, ("desktop" | "web")[], ("desktop" | "web")[]>;
71
+ clients: z.ZodEffects<z.ZodArray<z.ZodEnum<["web", "desktop"]>, "many">, ("web" | "desktop")[], ("web" | "desktop")[]>;
71
72
  startsAt: z.ZodString;
72
73
  expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
73
74
  action: z.ZodDefault<z.ZodNullable<z.ZodObject<{
@@ -75,73 +76,73 @@ export declare const createAnnouncementSchema: z.ZodEffects<z.ZodObject<{
75
76
  label: z.ZodString;
76
77
  url: z.ZodEffects<z.ZodString, string, string>;
77
78
  }, "strict", z.ZodTypeAny, {
78
- type?: "link";
79
- label?: string;
80
- url?: string;
79
+ type: "link";
80
+ label: string;
81
+ url: string;
81
82
  }, {
82
- type?: "link";
83
- label?: string;
84
- url?: string;
83
+ type: "link";
84
+ label: string;
85
+ url: string;
85
86
  }>>>;
86
87
  }, "strict", z.ZodTypeAny, {
87
- category?: "general" | "maintenance" | "model_retirement";
88
- title?: string;
89
- expiresAt?: string;
90
- action?: {
91
- type?: "link";
92
- label?: string;
93
- url?: string;
94
- };
95
- body?: string;
96
- severity?: "info" | "important";
97
- clients?: ("desktop" | "web")[];
98
- startsAt?: string;
88
+ title: string;
89
+ body: string;
90
+ category: "general" | "maintenance" | "model_retirement";
91
+ severity: "info" | "important";
92
+ clients: ("web" | "desktop")[];
93
+ startsAt: string;
94
+ expiresAt: string | null;
95
+ action: {
96
+ type: "link";
97
+ label: string;
98
+ url: string;
99
+ } | null;
99
100
  }, {
100
- category?: "general" | "maintenance" | "model_retirement";
101
- title?: string;
102
- expiresAt?: string;
101
+ title: string;
102
+ body: string;
103
+ clients: ("web" | "desktop")[];
104
+ startsAt: string;
105
+ category?: "general" | "maintenance" | "model_retirement" | undefined;
106
+ severity?: "info" | "important" | undefined;
107
+ expiresAt?: string | null | undefined;
103
108
  action?: {
104
- type?: "link";
105
- label?: string;
106
- url?: string;
107
- };
108
- body?: string;
109
- severity?: "info" | "important";
110
- clients?: ("desktop" | "web")[];
111
- startsAt?: string;
109
+ type: "link";
110
+ label: string;
111
+ url: string;
112
+ } | null | undefined;
112
113
  }>, {
113
- category?: "general" | "maintenance" | "model_retirement";
114
- title?: string;
115
- expiresAt?: string;
116
- action?: {
117
- type?: "link";
118
- label?: string;
119
- url?: string;
120
- };
121
- body?: string;
122
- severity?: "info" | "important";
123
- clients?: ("desktop" | "web")[];
124
- startsAt?: string;
114
+ title: string;
115
+ body: string;
116
+ category: "general" | "maintenance" | "model_retirement";
117
+ severity: "info" | "important";
118
+ clients: ("web" | "desktop")[];
119
+ startsAt: string;
120
+ expiresAt: string | null;
121
+ action: {
122
+ type: "link";
123
+ label: string;
124
+ url: string;
125
+ } | null;
125
126
  }, {
126
- category?: "general" | "maintenance" | "model_retirement";
127
- title?: string;
128
- expiresAt?: string;
127
+ title: string;
128
+ body: string;
129
+ clients: ("web" | "desktop")[];
130
+ startsAt: string;
131
+ category?: "general" | "maintenance" | "model_retirement" | undefined;
132
+ severity?: "info" | "important" | undefined;
133
+ expiresAt?: string | null | undefined;
129
134
  action?: {
130
- type?: "link";
131
- label?: string;
132
- url?: string;
133
- };
134
- body?: string;
135
- severity?: "info" | "important";
136
- clients?: ("desktop" | "web")[];
137
- startsAt?: string;
135
+ type: "link";
136
+ label: string;
137
+ url: string;
138
+ } | null | undefined;
138
139
  }>;
139
140
  export declare const updateAnnouncementSchema: z.ZodEffects<z.ZodObject<{
140
141
  title: z.ZodString;
141
142
  body: z.ZodString;
142
143
  category: z.ZodDefault<z.ZodEnum<["general", "maintenance", "model_retirement"]>>;
143
144
  severity: z.ZodDefault<z.ZodEnum<["info", "important"]>>;
144
- clients: z.ZodEffects<z.ZodArray<z.ZodEnum<["web", "desktop"]>, "many">, ("desktop" | "web")[], ("desktop" | "web")[]>;
145
+ clients: z.ZodEffects<z.ZodArray<z.ZodEnum<["web", "desktop"]>, "many">, ("web" | "desktop")[], ("web" | "desktop")[]>;
145
146
  startsAt: z.ZodString;
146
147
  expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
147
148
  action: z.ZodDefault<z.ZodNullable<z.ZodObject<{
@@ -149,86 +150,86 @@ export declare const updateAnnouncementSchema: z.ZodEffects<z.ZodObject<{
149
150
  label: z.ZodString;
150
151
  url: z.ZodEffects<z.ZodString, string, string>;
151
152
  }, "strict", z.ZodTypeAny, {
152
- type?: "link";
153
- label?: string;
154
- url?: string;
153
+ type: "link";
154
+ label: string;
155
+ url: string;
155
156
  }, {
156
- type?: "link";
157
- label?: string;
158
- url?: string;
157
+ type: "link";
158
+ label: string;
159
+ url: string;
159
160
  }>>>;
160
161
  } & {
161
162
  revision: z.ZodNumber;
162
163
  }, "strict", z.ZodTypeAny, {
163
- revision?: number;
164
- category?: "general" | "maintenance" | "model_retirement";
165
- title?: string;
166
- expiresAt?: string;
167
- action?: {
168
- type?: "link";
169
- label?: string;
170
- url?: string;
171
- };
172
- body?: string;
173
- severity?: "info" | "important";
174
- clients?: ("desktop" | "web")[];
175
- startsAt?: string;
164
+ revision: number;
165
+ title: string;
166
+ body: string;
167
+ category: "general" | "maintenance" | "model_retirement";
168
+ severity: "info" | "important";
169
+ clients: ("web" | "desktop")[];
170
+ startsAt: string;
171
+ expiresAt: string | null;
172
+ action: {
173
+ type: "link";
174
+ label: string;
175
+ url: string;
176
+ } | null;
176
177
  }, {
177
- revision?: number;
178
- category?: "general" | "maintenance" | "model_retirement";
179
- title?: string;
180
- expiresAt?: string;
178
+ revision: number;
179
+ title: string;
180
+ body: string;
181
+ clients: ("web" | "desktop")[];
182
+ startsAt: string;
183
+ category?: "general" | "maintenance" | "model_retirement" | undefined;
184
+ severity?: "info" | "important" | undefined;
185
+ expiresAt?: string | null | undefined;
181
186
  action?: {
182
- type?: "link";
183
- label?: string;
184
- url?: string;
185
- };
186
- body?: string;
187
- severity?: "info" | "important";
188
- clients?: ("desktop" | "web")[];
189
- startsAt?: string;
187
+ type: "link";
188
+ label: string;
189
+ url: string;
190
+ } | null | undefined;
190
191
  }>, {
191
- revision?: number;
192
- category?: "general" | "maintenance" | "model_retirement";
193
- title?: string;
194
- expiresAt?: string;
195
- action?: {
196
- type?: "link";
197
- label?: string;
198
- url?: string;
199
- };
200
- body?: string;
201
- severity?: "info" | "important";
202
- clients?: ("desktop" | "web")[];
203
- startsAt?: string;
192
+ revision: number;
193
+ title: string;
194
+ body: string;
195
+ category: "general" | "maintenance" | "model_retirement";
196
+ severity: "info" | "important";
197
+ clients: ("web" | "desktop")[];
198
+ startsAt: string;
199
+ expiresAt: string | null;
200
+ action: {
201
+ type: "link";
202
+ label: string;
203
+ url: string;
204
+ } | null;
204
205
  }, {
205
- revision?: number;
206
- category?: "general" | "maintenance" | "model_retirement";
207
- title?: string;
208
- expiresAt?: string;
206
+ revision: number;
207
+ title: string;
208
+ body: string;
209
+ clients: ("web" | "desktop")[];
210
+ startsAt: string;
211
+ category?: "general" | "maintenance" | "model_retirement" | undefined;
212
+ severity?: "info" | "important" | undefined;
213
+ expiresAt?: string | null | undefined;
209
214
  action?: {
210
- type?: "link";
211
- label?: string;
212
- url?: string;
213
- };
214
- body?: string;
215
- severity?: "info" | "important";
216
- clients?: ("desktop" | "web")[];
217
- startsAt?: string;
215
+ type: "link";
216
+ label: string;
217
+ url: string;
218
+ } | null | undefined;
218
219
  }>;
219
220
  export declare const announcementRevisionSchema: z.ZodObject<{
220
221
  revision: z.ZodNumber;
221
222
  }, "strict", z.ZodTypeAny, {
222
- revision?: number;
223
+ revision: number;
223
224
  }, {
224
- revision?: number;
225
+ revision: number;
225
226
  }>;
226
227
  export declare const announcementSchema: z.ZodObject<{
227
228
  title: z.ZodString;
228
229
  body: z.ZodString;
229
230
  category: z.ZodDefault<z.ZodEnum<["general", "maintenance", "model_retirement"]>>;
230
231
  severity: z.ZodDefault<z.ZodEnum<["info", "important"]>>;
231
- clients: z.ZodEffects<z.ZodArray<z.ZodEnum<["web", "desktop"]>, "many">, ("desktop" | "web")[], ("desktop" | "web")[]>;
232
+ clients: z.ZodEffects<z.ZodArray<z.ZodEnum<["web", "desktop"]>, "many">, ("web" | "desktop")[], ("web" | "desktop")[]>;
232
233
  startsAt: z.ZodString;
233
234
  expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
234
235
  action: z.ZodDefault<z.ZodNullable<z.ZodObject<{
@@ -236,13 +237,13 @@ export declare const announcementSchema: z.ZodObject<{
236
237
  label: z.ZodString;
237
238
  url: z.ZodEffects<z.ZodString, string, string>;
238
239
  }, "strict", z.ZodTypeAny, {
239
- type?: "link";
240
- label?: string;
241
- url?: string;
240
+ type: "link";
241
+ label: string;
242
+ url: string;
242
243
  }, {
243
- type?: "link";
244
- label?: string;
245
- url?: string;
244
+ type: "link";
245
+ label: string;
246
+ url: string;
246
247
  }>>>;
247
248
  } & {
248
249
  id: z.ZodString;
@@ -251,41 +252,41 @@ export declare const announcementSchema: z.ZodObject<{
251
252
  createdAt: z.ZodString;
252
253
  dismissedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
253
254
  }, "strict", z.ZodTypeAny, {
254
- status?: "withdrawn" | "draft" | "published";
255
- revision?: number;
256
- category?: "general" | "maintenance" | "model_retirement";
257
- id?: string;
258
- createdAt?: string;
259
- title?: string;
260
- expiresAt?: string;
261
- action?: {
262
- type?: "link";
263
- label?: string;
264
- url?: string;
265
- };
266
- body?: string;
267
- severity?: "info" | "important";
268
- clients?: ("desktop" | "web")[];
269
- startsAt?: string;
270
- dismissedAt?: string;
255
+ status: "draft" | "published" | "withdrawn";
256
+ revision: number;
257
+ title: string;
258
+ body: string;
259
+ category: "general" | "maintenance" | "model_retirement";
260
+ severity: "info" | "important";
261
+ clients: ("web" | "desktop")[];
262
+ startsAt: string;
263
+ expiresAt: string | null;
264
+ action: {
265
+ type: "link";
266
+ label: string;
267
+ url: string;
268
+ } | null;
269
+ id: string;
270
+ createdAt: string;
271
+ dismissedAt: string | null;
271
272
  }, {
272
- status?: "withdrawn" | "draft" | "published";
273
- revision?: number;
274
- category?: "general" | "maintenance" | "model_retirement";
275
- id?: string;
276
- createdAt?: string;
277
- title?: string;
278
- expiresAt?: string;
273
+ status: "draft" | "published" | "withdrawn";
274
+ revision: number;
275
+ title: string;
276
+ body: string;
277
+ clients: ("web" | "desktop")[];
278
+ startsAt: string;
279
+ id: string;
280
+ createdAt: string;
281
+ category?: "general" | "maintenance" | "model_retirement" | undefined;
282
+ severity?: "info" | "important" | undefined;
283
+ expiresAt?: string | null | undefined;
279
284
  action?: {
280
- type?: "link";
281
- label?: string;
282
- url?: string;
283
- };
284
- body?: string;
285
- severity?: "info" | "important";
286
- clients?: ("desktop" | "web")[];
287
- startsAt?: string;
288
- dismissedAt?: string;
285
+ type: "link";
286
+ label: string;
287
+ url: string;
288
+ } | null | undefined;
289
+ dismissedAt?: string | null | undefined;
289
290
  }>;
290
291
  export type AnnouncementInput = z.output<typeof createAnnouncementSchema>;
291
292
  export type Announcement = Omit<Required<z.output<typeof announcementSchema>>, 'action'> & {
@@ -298,17 +299,17 @@ export declare const notificationSourceSchema: z.ZodObject<{
298
299
  assistantId: z.ZodString;
299
300
  conversationId: z.ZodString;
300
301
  }, "strict", z.ZodTypeAny, {
301
- type?: "scheduled_task";
302
- conversationId?: string;
303
- executionId?: string;
304
- taskId?: string;
305
- assistantId?: string;
302
+ type: "scheduled_task";
303
+ assistantId: string;
304
+ taskId: string;
305
+ executionId: string;
306
+ conversationId: string;
306
307
  }, {
307
- type?: "scheduled_task";
308
- conversationId?: string;
309
- executionId?: string;
310
- taskId?: string;
311
- assistantId?: string;
308
+ type: "scheduled_task";
309
+ assistantId: string;
310
+ taskId: string;
311
+ executionId: string;
312
+ conversationId: string;
312
313
  }>;
313
314
  export declare const scheduledNotificationOriginSchema: z.ZodObject<{
314
315
  type: z.ZodLiteral<"scheduled_task">;
@@ -319,38 +320,39 @@ export declare const scheduledNotificationOriginSchema: z.ZodObject<{
319
320
  } & {
320
321
  threadId: z.ZodOptional<z.ZodString>;
321
322
  }, "strict", z.ZodTypeAny, {
322
- type?: "scheduled_task";
323
- conversationId?: string;
324
- executionId?: string;
325
- taskId?: string;
326
- threadId?: string;
327
- assistantId?: string;
323
+ type: "scheduled_task";
324
+ assistantId: string;
325
+ taskId: string;
326
+ executionId: string;
327
+ conversationId: string;
328
+ threadId?: string | undefined;
328
329
  }, {
329
- type?: "scheduled_task";
330
- conversationId?: string;
331
- executionId?: string;
332
- taskId?: string;
333
- threadId?: string;
334
- assistantId?: string;
330
+ type: "scheduled_task";
331
+ assistantId: string;
332
+ taskId: string;
333
+ executionId: string;
334
+ conversationId: string;
335
+ threadId?: string | undefined;
335
336
  }>;
337
+ export declare const notificationThreadIdSchema: z.ZodString;
336
338
  export declare const openConversationActionSchema: z.ZodObject<{
337
339
  type: z.ZodLiteral<"open_conversation">;
338
340
  assistantId: z.ZodString;
339
341
  conversationId: z.ZodString;
340
342
  threadId: z.ZodNullable<z.ZodString>;
341
343
  }, "strict", z.ZodTypeAny, {
342
- type?: "open_conversation";
343
- conversationId?: string;
344
- threadId?: string;
345
- assistantId?: string;
344
+ type: "open_conversation";
345
+ assistantId: string;
346
+ conversationId: string;
347
+ threadId: string | null;
346
348
  }, {
347
- type?: "open_conversation";
348
- conversationId?: string;
349
- threadId?: string;
350
- assistantId?: string;
349
+ type: "open_conversation";
350
+ assistantId: string;
351
+ conversationId: string;
352
+ threadId: string | null;
351
353
  }>;
352
354
  export type OpenConversationAction = Required<z.output<typeof openConversationActionSchema>>;
353
- export declare const userNotificationSchema: z.ZodObject<{
355
+ declare const taskNotificationSchema: z.ZodObject<{
354
356
  id: z.ZodString;
355
357
  kind: z.ZodLiteral<"agent.completed">;
356
358
  source: z.ZodObject<{
@@ -360,17 +362,17 @@ export declare const userNotificationSchema: z.ZodObject<{
360
362
  assistantId: z.ZodString;
361
363
  conversationId: z.ZodString;
362
364
  }, "strict", z.ZodTypeAny, {
363
- type?: "scheduled_task";
364
- conversationId?: string;
365
- executionId?: string;
366
- taskId?: string;
367
- assistantId?: string;
365
+ type: "scheduled_task";
366
+ assistantId: string;
367
+ taskId: string;
368
+ executionId: string;
369
+ conversationId: string;
368
370
  }, {
369
- type?: "scheduled_task";
370
- conversationId?: string;
371
- executionId?: string;
372
- taskId?: string;
373
- assistantId?: string;
371
+ type: "scheduled_task";
372
+ assistantId: string;
373
+ taskId: string;
374
+ executionId: string;
375
+ conversationId: string;
374
376
  }>;
375
377
  createdAt: z.ZodString;
376
378
  readAt: z.ZodNullable<z.ZodString>;
@@ -380,57 +382,453 @@ export declare const userNotificationSchema: z.ZodObject<{
380
382
  conversationId: z.ZodString;
381
383
  threadId: z.ZodNullable<z.ZodString>;
382
384
  }, "strict", z.ZodTypeAny, {
383
- type?: "open_conversation";
384
- conversationId?: string;
385
- threadId?: string;
386
- assistantId?: string;
385
+ type: "open_conversation";
386
+ assistantId: string;
387
+ conversationId: string;
388
+ threadId: string | null;
387
389
  }, {
388
- type?: "open_conversation";
389
- conversationId?: string;
390
- threadId?: string;
391
- assistantId?: string;
390
+ type: "open_conversation";
391
+ assistantId: string;
392
+ conversationId: string;
393
+ threadId: string | null;
392
394
  }>;
393
395
  }, "strict", z.ZodTypeAny, {
394
- kind?: "agent.completed";
395
- id?: string;
396
- createdAt?: string;
397
- source?: {
398
- type?: "scheduled_task";
399
- conversationId?: string;
400
- executionId?: string;
401
- taskId?: string;
402
- assistantId?: string;
396
+ kind: "agent.completed";
397
+ action: {
398
+ type: "open_conversation";
399
+ assistantId: string;
400
+ conversationId: string;
401
+ threadId: string | null;
403
402
  };
404
- action?: {
405
- type?: "open_conversation";
406
- conversationId?: string;
407
- threadId?: string;
408
- assistantId?: string;
403
+ id: string;
404
+ createdAt: string;
405
+ source: {
406
+ type: "scheduled_task";
407
+ assistantId: string;
408
+ taskId: string;
409
+ executionId: string;
410
+ conversationId: string;
409
411
  };
410
- readAt?: string;
412
+ readAt: string | null;
411
413
  }, {
412
- kind?: "agent.completed";
413
- id?: string;
414
- createdAt?: string;
415
- source?: {
416
- type?: "scheduled_task";
417
- conversationId?: string;
418
- executionId?: string;
419
- taskId?: string;
420
- assistantId?: string;
414
+ kind: "agent.completed";
415
+ action: {
416
+ type: "open_conversation";
417
+ assistantId: string;
418
+ conversationId: string;
419
+ threadId: string | null;
421
420
  };
422
- action?: {
423
- type?: "open_conversation";
424
- conversationId?: string;
425
- threadId?: string;
426
- assistantId?: string;
421
+ id: string;
422
+ createdAt: string;
423
+ source: {
424
+ type: "scheduled_task";
425
+ assistantId: string;
426
+ taskId: string;
427
+ executionId: string;
428
+ conversationId: string;
427
429
  };
428
- readAt?: string;
430
+ readAt: string | null;
429
431
  }>;
430
- export type UserNotification = Omit<Required<z.output<typeof userNotificationSchema>>, 'source' | 'action'> & {
432
+ type TaskNotification = Omit<Required<z.output<typeof taskNotificationSchema>>, 'source' | 'action'> & {
431
433
  source: Required<z.output<typeof notificationSourceSchema>>;
432
434
  action: Required<NonNullable<z.output<typeof userNotificationSchema>['action']>>;
433
435
  };
436
+ export declare const agentOutputOriginSchema: z.ZodObject<{
437
+ type: z.ZodLiteral<"agent_output">;
438
+ deliveryId: z.ZodString;
439
+ }, "strict", z.ZodTypeAny, {
440
+ type: "agent_output";
441
+ deliveryId: string;
442
+ }, {
443
+ type: "agent_output";
444
+ deliveryId: string;
445
+ }>;
446
+ export declare const userNotificationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
447
+ id: z.ZodString;
448
+ kind: z.ZodLiteral<"agent.completed">;
449
+ source: z.ZodObject<{
450
+ type: z.ZodLiteral<"scheduled_task">;
451
+ taskId: z.ZodString;
452
+ executionId: z.ZodString;
453
+ assistantId: z.ZodString;
454
+ conversationId: z.ZodString;
455
+ }, "strict", z.ZodTypeAny, {
456
+ type: "scheduled_task";
457
+ assistantId: string;
458
+ taskId: string;
459
+ executionId: string;
460
+ conversationId: string;
461
+ }, {
462
+ type: "scheduled_task";
463
+ assistantId: string;
464
+ taskId: string;
465
+ executionId: string;
466
+ conversationId: string;
467
+ }>;
468
+ createdAt: z.ZodString;
469
+ readAt: z.ZodNullable<z.ZodString>;
470
+ action: z.ZodObject<{
471
+ type: z.ZodLiteral<"open_conversation">;
472
+ assistantId: z.ZodString;
473
+ conversationId: z.ZodString;
474
+ threadId: z.ZodNullable<z.ZodString>;
475
+ }, "strict", z.ZodTypeAny, {
476
+ type: "open_conversation";
477
+ assistantId: string;
478
+ conversationId: string;
479
+ threadId: string | null;
480
+ }, {
481
+ type: "open_conversation";
482
+ assistantId: string;
483
+ conversationId: string;
484
+ threadId: string | null;
485
+ }>;
486
+ }, "strict", z.ZodTypeAny, {
487
+ kind: "agent.completed";
488
+ action: {
489
+ type: "open_conversation";
490
+ assistantId: string;
491
+ conversationId: string;
492
+ threadId: string | null;
493
+ };
494
+ id: string;
495
+ createdAt: string;
496
+ source: {
497
+ type: "scheduled_task";
498
+ assistantId: string;
499
+ taskId: string;
500
+ executionId: string;
501
+ conversationId: string;
502
+ };
503
+ readAt: string | null;
504
+ }, {
505
+ kind: "agent.completed";
506
+ action: {
507
+ type: "open_conversation";
508
+ assistantId: string;
509
+ conversationId: string;
510
+ threadId: string | null;
511
+ };
512
+ id: string;
513
+ createdAt: string;
514
+ source: {
515
+ type: "scheduled_task";
516
+ assistantId: string;
517
+ taskId: string;
518
+ executionId: string;
519
+ conversationId: string;
520
+ };
521
+ readAt: string | null;
522
+ }>, z.ZodObject<{
523
+ id: z.ZodString;
524
+ createdAt: z.ZodString;
525
+ readAt: z.ZodNullable<z.ZodString>;
526
+ } & {
527
+ kind: z.ZodLiteral<"agent.output">;
528
+ source: z.ZodObject<{
529
+ type: z.ZodLiteral<"agent_output">;
530
+ deliveryId: z.ZodString;
531
+ }, "strict", z.ZodTypeAny, {
532
+ type: "agent_output";
533
+ deliveryId: string;
534
+ }, {
535
+ type: "agent_output";
536
+ deliveryId: string;
537
+ }>;
538
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
539
+ id: z.ZodString;
540
+ title: z.ZodString;
541
+ action: z.ZodNullable<z.ZodObject<{
542
+ type: z.ZodLiteral<"open_conversation">;
543
+ assistantId: z.ZodString;
544
+ conversationId: z.ZodString;
545
+ threadId: z.ZodNullable<z.ZodString>;
546
+ }, "strict", z.ZodTypeAny, {
547
+ type: "open_conversation";
548
+ assistantId: string;
549
+ conversationId: string;
550
+ threadId: string | null;
551
+ }, {
552
+ type: "open_conversation";
553
+ assistantId: string;
554
+ conversationId: string;
555
+ threadId: string | null;
556
+ }>>;
557
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
558
+ label: z.ZodObject<{
559
+ en_US: z.ZodString;
560
+ zh_Hans: z.ZodString;
561
+ }, "strict", z.ZodTypeAny, {
562
+ en_US: string;
563
+ zh_Hans: string;
564
+ }, {
565
+ en_US: string;
566
+ zh_Hans: string;
567
+ }>;
568
+ value: z.ZodString;
569
+ }, "strict", z.ZodTypeAny, {
570
+ value: string;
571
+ label: {
572
+ en_US: string;
573
+ zh_Hans: string;
574
+ };
575
+ }, {
576
+ value: string;
577
+ label: {
578
+ en_US: string;
579
+ zh_Hans: string;
580
+ };
581
+ }>, "many">>;
582
+ workbench: z.ZodOptional<z.ZodObject<{
583
+ state: z.ZodEnum<["pending", "handled"]>;
584
+ title: z.ZodObject<{
585
+ en_US: z.ZodString;
586
+ zh_Hans: z.ZodString;
587
+ }, "strict", z.ZodTypeAny, {
588
+ en_US: string;
589
+ zh_Hans: string;
590
+ }, {
591
+ en_US: string;
592
+ zh_Hans: string;
593
+ }>;
594
+ openLabel: z.ZodObject<{
595
+ en_US: z.ZodString;
596
+ zh_Hans: z.ZodString;
597
+ }, "strict", z.ZodTypeAny, {
598
+ en_US: string;
599
+ zh_Hans: string;
600
+ }, {
601
+ en_US: string;
602
+ zh_Hans: string;
603
+ }>;
604
+ viewKey: z.ZodString;
605
+ selectionId: z.ZodString;
606
+ } & {
607
+ assistantId: z.ZodString;
608
+ organizationId: z.ZodString;
609
+ projectId: z.ZodNullable<z.ZodString>;
610
+ }, "strict", z.ZodTypeAny, {
611
+ state: "handled" | "pending";
612
+ title: {
613
+ en_US: string;
614
+ zh_Hans: string;
615
+ };
616
+ openLabel: {
617
+ en_US: string;
618
+ zh_Hans: string;
619
+ };
620
+ viewKey: string;
621
+ selectionId: string;
622
+ assistantId: string;
623
+ organizationId: string;
624
+ projectId: string | null;
625
+ }, {
626
+ state: "handled" | "pending";
627
+ title: {
628
+ en_US: string;
629
+ zh_Hans: string;
630
+ };
631
+ openLabel: {
632
+ en_US: string;
633
+ zh_Hans: string;
634
+ };
635
+ viewKey: string;
636
+ selectionId: string;
637
+ assistantId: string;
638
+ organizationId: string;
639
+ projectId: string | null;
640
+ }>>;
641
+ }, "strict", z.ZodTypeAny, {
642
+ title: string;
643
+ action: {
644
+ type: "open_conversation";
645
+ assistantId: string;
646
+ conversationId: string;
647
+ threadId: string | null;
648
+ } | null;
649
+ id: string;
650
+ fields?: {
651
+ value: string;
652
+ label: {
653
+ en_US: string;
654
+ zh_Hans: string;
655
+ };
656
+ }[] | undefined;
657
+ workbench?: {
658
+ state: "handled" | "pending";
659
+ title: {
660
+ en_US: string;
661
+ zh_Hans: string;
662
+ };
663
+ openLabel: {
664
+ en_US: string;
665
+ zh_Hans: string;
666
+ };
667
+ viewKey: string;
668
+ selectionId: string;
669
+ assistantId: string;
670
+ organizationId: string;
671
+ projectId: string | null;
672
+ } | undefined;
673
+ }, {
674
+ title: string;
675
+ action: {
676
+ type: "open_conversation";
677
+ assistantId: string;
678
+ conversationId: string;
679
+ threadId: string | null;
680
+ } | null;
681
+ id: string;
682
+ fields?: {
683
+ value: string;
684
+ label: {
685
+ en_US: string;
686
+ zh_Hans: string;
687
+ };
688
+ }[] | undefined;
689
+ workbench?: {
690
+ state: "handled" | "pending";
691
+ title: {
692
+ en_US: string;
693
+ zh_Hans: string;
694
+ };
695
+ openLabel: {
696
+ en_US: string;
697
+ zh_Hans: string;
698
+ };
699
+ viewKey: string;
700
+ selectionId: string;
701
+ assistantId: string;
702
+ organizationId: string;
703
+ projectId: string | null;
704
+ } | undefined;
705
+ }>, "many">>;
706
+ titles: z.ZodArray<z.ZodString, "many">;
707
+ action: z.ZodNullable<z.ZodObject<{
708
+ type: z.ZodLiteral<"open_conversation">;
709
+ assistantId: z.ZodString;
710
+ conversationId: z.ZodString;
711
+ threadId: z.ZodNullable<z.ZodString>;
712
+ }, "strict", z.ZodTypeAny, {
713
+ type: "open_conversation";
714
+ assistantId: string;
715
+ conversationId: string;
716
+ threadId: string | null;
717
+ }, {
718
+ type: "open_conversation";
719
+ assistantId: string;
720
+ conversationId: string;
721
+ threadId: string | null;
722
+ }>>;
723
+ }, "strict", z.ZodTypeAny, {
724
+ kind: "agent.output";
725
+ action: {
726
+ type: "open_conversation";
727
+ assistantId: string;
728
+ conversationId: string;
729
+ threadId: string | null;
730
+ } | null;
731
+ id: string;
732
+ createdAt: string;
733
+ source: {
734
+ type: "agent_output";
735
+ deliveryId: string;
736
+ };
737
+ readAt: string | null;
738
+ titles: string[];
739
+ items?: {
740
+ title: string;
741
+ action: {
742
+ type: "open_conversation";
743
+ assistantId: string;
744
+ conversationId: string;
745
+ threadId: string | null;
746
+ } | null;
747
+ id: string;
748
+ fields?: {
749
+ value: string;
750
+ label: {
751
+ en_US: string;
752
+ zh_Hans: string;
753
+ };
754
+ }[] | undefined;
755
+ workbench?: {
756
+ state: "handled" | "pending";
757
+ title: {
758
+ en_US: string;
759
+ zh_Hans: string;
760
+ };
761
+ openLabel: {
762
+ en_US: string;
763
+ zh_Hans: string;
764
+ };
765
+ viewKey: string;
766
+ selectionId: string;
767
+ assistantId: string;
768
+ organizationId: string;
769
+ projectId: string | null;
770
+ } | undefined;
771
+ }[] | undefined;
772
+ }, {
773
+ kind: "agent.output";
774
+ action: {
775
+ type: "open_conversation";
776
+ assistantId: string;
777
+ conversationId: string;
778
+ threadId: string | null;
779
+ } | null;
780
+ id: string;
781
+ createdAt: string;
782
+ source: {
783
+ type: "agent_output";
784
+ deliveryId: string;
785
+ };
786
+ readAt: string | null;
787
+ titles: string[];
788
+ items?: {
789
+ title: string;
790
+ action: {
791
+ type: "open_conversation";
792
+ assistantId: string;
793
+ conversationId: string;
794
+ threadId: string | null;
795
+ } | null;
796
+ id: string;
797
+ fields?: {
798
+ value: string;
799
+ label: {
800
+ en_US: string;
801
+ zh_Hans: string;
802
+ };
803
+ }[] | undefined;
804
+ workbench?: {
805
+ state: "handled" | "pending";
806
+ title: {
807
+ en_US: string;
808
+ zh_Hans: string;
809
+ };
810
+ openLabel: {
811
+ en_US: string;
812
+ zh_Hans: string;
813
+ };
814
+ viewKey: string;
815
+ selectionId: string;
816
+ assistantId: string;
817
+ organizationId: string;
818
+ projectId: string | null;
819
+ } | undefined;
820
+ }[] | undefined;
821
+ }>]>;
822
+ export type UserNotification = TaskNotification | {
823
+ id: string;
824
+ kind: 'agent.output';
825
+ createdAt: string;
826
+ readAt: string | null;
827
+ source: Required<z.output<typeof agentOutputOriginSchema>>;
828
+ items?: AgentOutputItem[];
829
+ titles: string[];
830
+ action: OpenConversationAction | null;
831
+ };
434
832
  export declare const notificationSnapshotSchema: z.ZodObject<{
435
833
  supported: z.ZodLiteral<true>;
436
834
  version: z.ZodString;
@@ -439,7 +837,7 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
439
837
  body: z.ZodString;
440
838
  category: z.ZodDefault<z.ZodEnum<["general", "maintenance", "model_retirement"]>>;
441
839
  severity: z.ZodDefault<z.ZodEnum<["info", "important"]>>;
442
- clients: z.ZodEffects<z.ZodArray<z.ZodEnum<["web", "desktop"]>, "many">, ("desktop" | "web")[], ("desktop" | "web")[]>;
840
+ clients: z.ZodEffects<z.ZodArray<z.ZodEnum<["web", "desktop"]>, "many">, ("web" | "desktop")[], ("web" | "desktop")[]>;
443
841
  startsAt: z.ZodString;
444
842
  expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
445
843
  action: z.ZodDefault<z.ZodNullable<z.ZodObject<{
@@ -447,13 +845,13 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
447
845
  label: z.ZodString;
448
846
  url: z.ZodEffects<z.ZodString, string, string>;
449
847
  }, "strict", z.ZodTypeAny, {
450
- type?: "link";
451
- label?: string;
452
- url?: string;
848
+ type: "link";
849
+ label: string;
850
+ url: string;
453
851
  }, {
454
- type?: "link";
455
- label?: string;
456
- url?: string;
852
+ type: "link";
853
+ label: string;
854
+ url: string;
457
855
  }>>>;
458
856
  } & {
459
857
  id: z.ZodString;
@@ -462,43 +860,43 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
462
860
  createdAt: z.ZodString;
463
861
  dismissedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
464
862
  }, "strict", z.ZodTypeAny, {
465
- status?: "withdrawn" | "draft" | "published";
466
- revision?: number;
467
- category?: "general" | "maintenance" | "model_retirement";
468
- id?: string;
469
- createdAt?: string;
470
- title?: string;
471
- expiresAt?: string;
472
- action?: {
473
- type?: "link";
474
- label?: string;
475
- url?: string;
476
- };
477
- body?: string;
478
- severity?: "info" | "important";
479
- clients?: ("desktop" | "web")[];
480
- startsAt?: string;
481
- dismissedAt?: string;
863
+ status: "draft" | "published" | "withdrawn";
864
+ revision: number;
865
+ title: string;
866
+ body: string;
867
+ category: "general" | "maintenance" | "model_retirement";
868
+ severity: "info" | "important";
869
+ clients: ("web" | "desktop")[];
870
+ startsAt: string;
871
+ expiresAt: string | null;
872
+ action: {
873
+ type: "link";
874
+ label: string;
875
+ url: string;
876
+ } | null;
877
+ id: string;
878
+ createdAt: string;
879
+ dismissedAt: string | null;
482
880
  }, {
483
- status?: "withdrawn" | "draft" | "published";
484
- revision?: number;
485
- category?: "general" | "maintenance" | "model_retirement";
486
- id?: string;
487
- createdAt?: string;
488
- title?: string;
489
- expiresAt?: string;
881
+ status: "draft" | "published" | "withdrawn";
882
+ revision: number;
883
+ title: string;
884
+ body: string;
885
+ clients: ("web" | "desktop")[];
886
+ startsAt: string;
887
+ id: string;
888
+ createdAt: string;
889
+ category?: "general" | "maintenance" | "model_retirement" | undefined;
890
+ severity?: "info" | "important" | undefined;
891
+ expiresAt?: string | null | undefined;
490
892
  action?: {
491
- type?: "link";
492
- label?: string;
493
- url?: string;
494
- };
495
- body?: string;
496
- severity?: "info" | "important";
497
- clients?: ("desktop" | "web")[];
498
- startsAt?: string;
499
- dismissedAt?: string;
893
+ type: "link";
894
+ label: string;
895
+ url: string;
896
+ } | null | undefined;
897
+ dismissedAt?: string | null | undefined;
500
898
  }>, "many">;
501
- notifications: z.ZodArray<z.ZodObject<{
899
+ notifications: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
502
900
  id: z.ZodString;
503
901
  kind: z.ZodLiteral<"agent.completed">;
504
902
  source: z.ZodObject<{
@@ -508,17 +906,17 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
508
906
  assistantId: z.ZodString;
509
907
  conversationId: z.ZodString;
510
908
  }, "strict", z.ZodTypeAny, {
511
- type?: "scheduled_task";
512
- conversationId?: string;
513
- executionId?: string;
514
- taskId?: string;
515
- assistantId?: string;
909
+ type: "scheduled_task";
910
+ assistantId: string;
911
+ taskId: string;
912
+ executionId: string;
913
+ conversationId: string;
516
914
  }, {
517
- type?: "scheduled_task";
518
- conversationId?: string;
519
- executionId?: string;
520
- taskId?: string;
521
- assistantId?: string;
915
+ type: "scheduled_task";
916
+ assistantId: string;
917
+ taskId: string;
918
+ executionId: string;
919
+ conversationId: string;
522
920
  }>;
523
921
  createdAt: z.ZodString;
524
922
  readAt: z.ZodNullable<z.ZodString>;
@@ -528,141 +926,538 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
528
926
  conversationId: z.ZodString;
529
927
  threadId: z.ZodNullable<z.ZodString>;
530
928
  }, "strict", z.ZodTypeAny, {
531
- type?: "open_conversation";
532
- conversationId?: string;
533
- threadId?: string;
534
- assistantId?: string;
929
+ type: "open_conversation";
930
+ assistantId: string;
931
+ conversationId: string;
932
+ threadId: string | null;
535
933
  }, {
536
- type?: "open_conversation";
537
- conversationId?: string;
538
- threadId?: string;
539
- assistantId?: string;
934
+ type: "open_conversation";
935
+ assistantId: string;
936
+ conversationId: string;
937
+ threadId: string | null;
540
938
  }>;
541
939
  }, "strict", z.ZodTypeAny, {
542
- kind?: "agent.completed";
543
- id?: string;
544
- createdAt?: string;
545
- source?: {
546
- type?: "scheduled_task";
547
- conversationId?: string;
548
- executionId?: string;
549
- taskId?: string;
550
- assistantId?: string;
940
+ kind: "agent.completed";
941
+ action: {
942
+ type: "open_conversation";
943
+ assistantId: string;
944
+ conversationId: string;
945
+ threadId: string | null;
551
946
  };
552
- action?: {
553
- type?: "open_conversation";
554
- conversationId?: string;
555
- threadId?: string;
556
- assistantId?: string;
947
+ id: string;
948
+ createdAt: string;
949
+ source: {
950
+ type: "scheduled_task";
951
+ assistantId: string;
952
+ taskId: string;
953
+ executionId: string;
954
+ conversationId: string;
557
955
  };
558
- readAt?: string;
956
+ readAt: string | null;
559
957
  }, {
560
- kind?: "agent.completed";
561
- id?: string;
562
- createdAt?: string;
563
- source?: {
564
- type?: "scheduled_task";
565
- conversationId?: string;
566
- executionId?: string;
567
- taskId?: string;
568
- assistantId?: string;
958
+ kind: "agent.completed";
959
+ action: {
960
+ type: "open_conversation";
961
+ assistantId: string;
962
+ conversationId: string;
963
+ threadId: string | null;
569
964
  };
570
- action?: {
571
- type?: "open_conversation";
572
- conversationId?: string;
573
- threadId?: string;
574
- assistantId?: string;
965
+ id: string;
966
+ createdAt: string;
967
+ source: {
968
+ type: "scheduled_task";
969
+ assistantId: string;
970
+ taskId: string;
971
+ executionId: string;
972
+ conversationId: string;
575
973
  };
576
- readAt?: string;
577
- }>, "many">;
974
+ readAt: string | null;
975
+ }>, z.ZodObject<{
976
+ id: z.ZodString;
977
+ createdAt: z.ZodString;
978
+ readAt: z.ZodNullable<z.ZodString>;
979
+ } & {
980
+ kind: z.ZodLiteral<"agent.output">;
981
+ source: z.ZodObject<{
982
+ type: z.ZodLiteral<"agent_output">;
983
+ deliveryId: z.ZodString;
984
+ }, "strict", z.ZodTypeAny, {
985
+ type: "agent_output";
986
+ deliveryId: string;
987
+ }, {
988
+ type: "agent_output";
989
+ deliveryId: string;
990
+ }>;
991
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
992
+ id: z.ZodString;
993
+ title: z.ZodString;
994
+ action: z.ZodNullable<z.ZodObject<{
995
+ type: z.ZodLiteral<"open_conversation">;
996
+ assistantId: z.ZodString;
997
+ conversationId: z.ZodString;
998
+ threadId: z.ZodNullable<z.ZodString>;
999
+ }, "strict", z.ZodTypeAny, {
1000
+ type: "open_conversation";
1001
+ assistantId: string;
1002
+ conversationId: string;
1003
+ threadId: string | null;
1004
+ }, {
1005
+ type: "open_conversation";
1006
+ assistantId: string;
1007
+ conversationId: string;
1008
+ threadId: string | null;
1009
+ }>>;
1010
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1011
+ label: z.ZodObject<{
1012
+ en_US: z.ZodString;
1013
+ zh_Hans: z.ZodString;
1014
+ }, "strict", z.ZodTypeAny, {
1015
+ en_US: string;
1016
+ zh_Hans: string;
1017
+ }, {
1018
+ en_US: string;
1019
+ zh_Hans: string;
1020
+ }>;
1021
+ value: z.ZodString;
1022
+ }, "strict", z.ZodTypeAny, {
1023
+ value: string;
1024
+ label: {
1025
+ en_US: string;
1026
+ zh_Hans: string;
1027
+ };
1028
+ }, {
1029
+ value: string;
1030
+ label: {
1031
+ en_US: string;
1032
+ zh_Hans: string;
1033
+ };
1034
+ }>, "many">>;
1035
+ workbench: z.ZodOptional<z.ZodObject<{
1036
+ state: z.ZodEnum<["pending", "handled"]>;
1037
+ title: z.ZodObject<{
1038
+ en_US: z.ZodString;
1039
+ zh_Hans: z.ZodString;
1040
+ }, "strict", z.ZodTypeAny, {
1041
+ en_US: string;
1042
+ zh_Hans: string;
1043
+ }, {
1044
+ en_US: string;
1045
+ zh_Hans: string;
1046
+ }>;
1047
+ openLabel: z.ZodObject<{
1048
+ en_US: z.ZodString;
1049
+ zh_Hans: z.ZodString;
1050
+ }, "strict", z.ZodTypeAny, {
1051
+ en_US: string;
1052
+ zh_Hans: string;
1053
+ }, {
1054
+ en_US: string;
1055
+ zh_Hans: string;
1056
+ }>;
1057
+ viewKey: z.ZodString;
1058
+ selectionId: z.ZodString;
1059
+ } & {
1060
+ assistantId: z.ZodString;
1061
+ organizationId: z.ZodString;
1062
+ projectId: z.ZodNullable<z.ZodString>;
1063
+ }, "strict", z.ZodTypeAny, {
1064
+ state: "handled" | "pending";
1065
+ title: {
1066
+ en_US: string;
1067
+ zh_Hans: string;
1068
+ };
1069
+ openLabel: {
1070
+ en_US: string;
1071
+ zh_Hans: string;
1072
+ };
1073
+ viewKey: string;
1074
+ selectionId: string;
1075
+ assistantId: string;
1076
+ organizationId: string;
1077
+ projectId: string | null;
1078
+ }, {
1079
+ state: "handled" | "pending";
1080
+ title: {
1081
+ en_US: string;
1082
+ zh_Hans: string;
1083
+ };
1084
+ openLabel: {
1085
+ en_US: string;
1086
+ zh_Hans: string;
1087
+ };
1088
+ viewKey: string;
1089
+ selectionId: string;
1090
+ assistantId: string;
1091
+ organizationId: string;
1092
+ projectId: string | null;
1093
+ }>>;
1094
+ }, "strict", z.ZodTypeAny, {
1095
+ title: string;
1096
+ action: {
1097
+ type: "open_conversation";
1098
+ assistantId: string;
1099
+ conversationId: string;
1100
+ threadId: string | null;
1101
+ } | null;
1102
+ id: string;
1103
+ fields?: {
1104
+ value: string;
1105
+ label: {
1106
+ en_US: string;
1107
+ zh_Hans: string;
1108
+ };
1109
+ }[] | undefined;
1110
+ workbench?: {
1111
+ state: "handled" | "pending";
1112
+ title: {
1113
+ en_US: string;
1114
+ zh_Hans: string;
1115
+ };
1116
+ openLabel: {
1117
+ en_US: string;
1118
+ zh_Hans: string;
1119
+ };
1120
+ viewKey: string;
1121
+ selectionId: string;
1122
+ assistantId: string;
1123
+ organizationId: string;
1124
+ projectId: string | null;
1125
+ } | undefined;
1126
+ }, {
1127
+ title: string;
1128
+ action: {
1129
+ type: "open_conversation";
1130
+ assistantId: string;
1131
+ conversationId: string;
1132
+ threadId: string | null;
1133
+ } | null;
1134
+ id: string;
1135
+ fields?: {
1136
+ value: string;
1137
+ label: {
1138
+ en_US: string;
1139
+ zh_Hans: string;
1140
+ };
1141
+ }[] | undefined;
1142
+ workbench?: {
1143
+ state: "handled" | "pending";
1144
+ title: {
1145
+ en_US: string;
1146
+ zh_Hans: string;
1147
+ };
1148
+ openLabel: {
1149
+ en_US: string;
1150
+ zh_Hans: string;
1151
+ };
1152
+ viewKey: string;
1153
+ selectionId: string;
1154
+ assistantId: string;
1155
+ organizationId: string;
1156
+ projectId: string | null;
1157
+ } | undefined;
1158
+ }>, "many">>;
1159
+ titles: z.ZodArray<z.ZodString, "many">;
1160
+ action: z.ZodNullable<z.ZodObject<{
1161
+ type: z.ZodLiteral<"open_conversation">;
1162
+ assistantId: z.ZodString;
1163
+ conversationId: z.ZodString;
1164
+ threadId: z.ZodNullable<z.ZodString>;
1165
+ }, "strict", z.ZodTypeAny, {
1166
+ type: "open_conversation";
1167
+ assistantId: string;
1168
+ conversationId: string;
1169
+ threadId: string | null;
1170
+ }, {
1171
+ type: "open_conversation";
1172
+ assistantId: string;
1173
+ conversationId: string;
1174
+ threadId: string | null;
1175
+ }>>;
1176
+ }, "strict", z.ZodTypeAny, {
1177
+ kind: "agent.output";
1178
+ action: {
1179
+ type: "open_conversation";
1180
+ assistantId: string;
1181
+ conversationId: string;
1182
+ threadId: string | null;
1183
+ } | null;
1184
+ id: string;
1185
+ createdAt: string;
1186
+ source: {
1187
+ type: "agent_output";
1188
+ deliveryId: string;
1189
+ };
1190
+ readAt: string | null;
1191
+ titles: string[];
1192
+ items?: {
1193
+ title: string;
1194
+ action: {
1195
+ type: "open_conversation";
1196
+ assistantId: string;
1197
+ conversationId: string;
1198
+ threadId: string | null;
1199
+ } | null;
1200
+ id: string;
1201
+ fields?: {
1202
+ value: string;
1203
+ label: {
1204
+ en_US: string;
1205
+ zh_Hans: string;
1206
+ };
1207
+ }[] | undefined;
1208
+ workbench?: {
1209
+ state: "handled" | "pending";
1210
+ title: {
1211
+ en_US: string;
1212
+ zh_Hans: string;
1213
+ };
1214
+ openLabel: {
1215
+ en_US: string;
1216
+ zh_Hans: string;
1217
+ };
1218
+ viewKey: string;
1219
+ selectionId: string;
1220
+ assistantId: string;
1221
+ organizationId: string;
1222
+ projectId: string | null;
1223
+ } | undefined;
1224
+ }[] | undefined;
1225
+ }, {
1226
+ kind: "agent.output";
1227
+ action: {
1228
+ type: "open_conversation";
1229
+ assistantId: string;
1230
+ conversationId: string;
1231
+ threadId: string | null;
1232
+ } | null;
1233
+ id: string;
1234
+ createdAt: string;
1235
+ source: {
1236
+ type: "agent_output";
1237
+ deliveryId: string;
1238
+ };
1239
+ readAt: string | null;
1240
+ titles: string[];
1241
+ items?: {
1242
+ title: string;
1243
+ action: {
1244
+ type: "open_conversation";
1245
+ assistantId: string;
1246
+ conversationId: string;
1247
+ threadId: string | null;
1248
+ } | null;
1249
+ id: string;
1250
+ fields?: {
1251
+ value: string;
1252
+ label: {
1253
+ en_US: string;
1254
+ zh_Hans: string;
1255
+ };
1256
+ }[] | undefined;
1257
+ workbench?: {
1258
+ state: "handled" | "pending";
1259
+ title: {
1260
+ en_US: string;
1261
+ zh_Hans: string;
1262
+ };
1263
+ openLabel: {
1264
+ en_US: string;
1265
+ zh_Hans: string;
1266
+ };
1267
+ viewKey: string;
1268
+ selectionId: string;
1269
+ assistantId: string;
1270
+ organizationId: string;
1271
+ projectId: string | null;
1272
+ } | undefined;
1273
+ }[] | undefined;
1274
+ }>]>, "many">;
578
1275
  hasMoreAnnouncements: z.ZodBoolean;
579
1276
  hasMoreNotifications: z.ZodBoolean;
580
1277
  }, "strict", z.ZodTypeAny, {
581
- version?: string;
582
- supported?: true;
583
- announcements?: {
584
- status?: "withdrawn" | "draft" | "published";
585
- revision?: number;
586
- category?: "general" | "maintenance" | "model_retirement";
587
- id?: string;
588
- createdAt?: string;
589
- title?: string;
590
- expiresAt?: string;
591
- action?: {
592
- type?: "link";
593
- label?: string;
594
- url?: string;
595
- };
596
- body?: string;
597
- severity?: "info" | "important";
598
- clients?: ("desktop" | "web")[];
599
- startsAt?: string;
600
- dismissedAt?: string;
1278
+ supported: true;
1279
+ version: string;
1280
+ announcements: {
1281
+ status: "draft" | "published" | "withdrawn";
1282
+ revision: number;
1283
+ title: string;
1284
+ body: string;
1285
+ category: "general" | "maintenance" | "model_retirement";
1286
+ severity: "info" | "important";
1287
+ clients: ("web" | "desktop")[];
1288
+ startsAt: string;
1289
+ expiresAt: string | null;
1290
+ action: {
1291
+ type: "link";
1292
+ label: string;
1293
+ url: string;
1294
+ } | null;
1295
+ id: string;
1296
+ createdAt: string;
1297
+ dismissedAt: string | null;
601
1298
  }[];
602
- notifications?: {
603
- kind?: "agent.completed";
604
- id?: string;
605
- createdAt?: string;
606
- source?: {
607
- type?: "scheduled_task";
608
- conversationId?: string;
609
- executionId?: string;
610
- taskId?: string;
611
- assistantId?: string;
1299
+ notifications: ({
1300
+ kind: "agent.completed";
1301
+ action: {
1302
+ type: "open_conversation";
1303
+ assistantId: string;
1304
+ conversationId: string;
1305
+ threadId: string | null;
612
1306
  };
613
- action?: {
614
- type?: "open_conversation";
615
- conversationId?: string;
616
- threadId?: string;
617
- assistantId?: string;
1307
+ id: string;
1308
+ createdAt: string;
1309
+ source: {
1310
+ type: "scheduled_task";
1311
+ assistantId: string;
1312
+ taskId: string;
1313
+ executionId: string;
1314
+ conversationId: string;
618
1315
  };
619
- readAt?: string;
620
- }[];
621
- hasMoreAnnouncements?: boolean;
622
- hasMoreNotifications?: boolean;
1316
+ readAt: string | null;
1317
+ } | {
1318
+ kind: "agent.output";
1319
+ action: {
1320
+ type: "open_conversation";
1321
+ assistantId: string;
1322
+ conversationId: string;
1323
+ threadId: string | null;
1324
+ } | null;
1325
+ id: string;
1326
+ createdAt: string;
1327
+ source: {
1328
+ type: "agent_output";
1329
+ deliveryId: string;
1330
+ };
1331
+ readAt: string | null;
1332
+ titles: string[];
1333
+ items?: {
1334
+ title: string;
1335
+ action: {
1336
+ type: "open_conversation";
1337
+ assistantId: string;
1338
+ conversationId: string;
1339
+ threadId: string | null;
1340
+ } | null;
1341
+ id: string;
1342
+ fields?: {
1343
+ value: string;
1344
+ label: {
1345
+ en_US: string;
1346
+ zh_Hans: string;
1347
+ };
1348
+ }[] | undefined;
1349
+ workbench?: {
1350
+ state: "handled" | "pending";
1351
+ title: {
1352
+ en_US: string;
1353
+ zh_Hans: string;
1354
+ };
1355
+ openLabel: {
1356
+ en_US: string;
1357
+ zh_Hans: string;
1358
+ };
1359
+ viewKey: string;
1360
+ selectionId: string;
1361
+ assistantId: string;
1362
+ organizationId: string;
1363
+ projectId: string | null;
1364
+ } | undefined;
1365
+ }[] | undefined;
1366
+ })[];
1367
+ hasMoreAnnouncements: boolean;
1368
+ hasMoreNotifications: boolean;
623
1369
  }, {
624
- version?: string;
625
- supported?: true;
626
- announcements?: {
627
- status?: "withdrawn" | "draft" | "published";
628
- revision?: number;
629
- category?: "general" | "maintenance" | "model_retirement";
630
- id?: string;
631
- createdAt?: string;
632
- title?: string;
633
- expiresAt?: string;
1370
+ supported: true;
1371
+ version: string;
1372
+ announcements: {
1373
+ status: "draft" | "published" | "withdrawn";
1374
+ revision: number;
1375
+ title: string;
1376
+ body: string;
1377
+ clients: ("web" | "desktop")[];
1378
+ startsAt: string;
1379
+ id: string;
1380
+ createdAt: string;
1381
+ category?: "general" | "maintenance" | "model_retirement" | undefined;
1382
+ severity?: "info" | "important" | undefined;
1383
+ expiresAt?: string | null | undefined;
634
1384
  action?: {
635
- type?: "link";
636
- label?: string;
637
- url?: string;
638
- };
639
- body?: string;
640
- severity?: "info" | "important";
641
- clients?: ("desktop" | "web")[];
642
- startsAt?: string;
643
- dismissedAt?: string;
1385
+ type: "link";
1386
+ label: string;
1387
+ url: string;
1388
+ } | null | undefined;
1389
+ dismissedAt?: string | null | undefined;
644
1390
  }[];
645
- notifications?: {
646
- kind?: "agent.completed";
647
- id?: string;
648
- createdAt?: string;
649
- source?: {
650
- type?: "scheduled_task";
651
- conversationId?: string;
652
- executionId?: string;
653
- taskId?: string;
654
- assistantId?: string;
1391
+ notifications: ({
1392
+ kind: "agent.completed";
1393
+ action: {
1394
+ type: "open_conversation";
1395
+ assistantId: string;
1396
+ conversationId: string;
1397
+ threadId: string | null;
655
1398
  };
656
- action?: {
657
- type?: "open_conversation";
658
- conversationId?: string;
659
- threadId?: string;
660
- assistantId?: string;
1399
+ id: string;
1400
+ createdAt: string;
1401
+ source: {
1402
+ type: "scheduled_task";
1403
+ assistantId: string;
1404
+ taskId: string;
1405
+ executionId: string;
1406
+ conversationId: string;
661
1407
  };
662
- readAt?: string;
663
- }[];
664
- hasMoreAnnouncements?: boolean;
665
- hasMoreNotifications?: boolean;
1408
+ readAt: string | null;
1409
+ } | {
1410
+ kind: "agent.output";
1411
+ action: {
1412
+ type: "open_conversation";
1413
+ assistantId: string;
1414
+ conversationId: string;
1415
+ threadId: string | null;
1416
+ } | null;
1417
+ id: string;
1418
+ createdAt: string;
1419
+ source: {
1420
+ type: "agent_output";
1421
+ deliveryId: string;
1422
+ };
1423
+ readAt: string | null;
1424
+ titles: string[];
1425
+ items?: {
1426
+ title: string;
1427
+ action: {
1428
+ type: "open_conversation";
1429
+ assistantId: string;
1430
+ conversationId: string;
1431
+ threadId: string | null;
1432
+ } | null;
1433
+ id: string;
1434
+ fields?: {
1435
+ value: string;
1436
+ label: {
1437
+ en_US: string;
1438
+ zh_Hans: string;
1439
+ };
1440
+ }[] | undefined;
1441
+ workbench?: {
1442
+ state: "handled" | "pending";
1443
+ title: {
1444
+ en_US: string;
1445
+ zh_Hans: string;
1446
+ };
1447
+ openLabel: {
1448
+ en_US: string;
1449
+ zh_Hans: string;
1450
+ };
1451
+ viewKey: string;
1452
+ selectionId: string;
1453
+ assistantId: string;
1454
+ organizationId: string;
1455
+ projectId: string | null;
1456
+ } | undefined;
1457
+ }[] | undefined;
1458
+ })[];
1459
+ hasMoreAnnouncements: boolean;
1460
+ hasMoreNotifications: boolean;
666
1461
  }>;
667
1462
  export type NotificationSnapshot = Omit<Required<z.output<typeof notificationSnapshotSchema>>, 'announcements' | 'notifications'> & {
668
1463
  announcements: Announcement[];
@@ -673,35 +1468,44 @@ export declare const notificationChangeSchema: z.ZodObject<{
673
1468
  type: z.ZodLiteral<"sync.required">;
674
1469
  eventId: z.ZodString;
675
1470
  }, "strict", z.ZodTypeAny, {
676
- type?: "sync.required";
677
- schemaVersion?: 1;
678
- eventId?: string;
1471
+ type: "sync.required";
1472
+ schemaVersion: 1;
1473
+ eventId: string;
679
1474
  }, {
680
- type?: "sync.required";
681
- schemaVersion?: 1;
682
- eventId?: string;
1475
+ type: "sync.required";
1476
+ schemaVersion: 1;
1477
+ eventId: string;
683
1478
  }>;
684
1479
  export declare const notificationOutboxPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
685
1480
  type: z.ZodLiteral<"changed">;
686
1481
  }, "strict", z.ZodTypeAny, {
687
- type?: "changed";
1482
+ type: "changed";
1483
+ }, {
1484
+ type: "changed";
1485
+ }>, z.ZodObject<{
1486
+ type: z.ZodLiteral<"agent.output.dispatch">;
1487
+ deliveryId: z.ZodString;
1488
+ }, "strict", z.ZodTypeAny, {
1489
+ type: "agent.output.dispatch";
1490
+ deliveryId: string;
688
1491
  }, {
689
- type?: "changed";
1492
+ type: "agent.output.dispatch";
1493
+ deliveryId: string;
690
1494
  }>, z.ZodObject<{
691
1495
  type: z.ZodLiteral<"announcement.scheduled">;
692
1496
  announcementId: z.ZodString;
693
1497
  revision: z.ZodNumber;
694
1498
  phase: z.ZodEnum<["start", "expiry"]>;
695
1499
  }, "strict", z.ZodTypeAny, {
696
- type?: "announcement.scheduled";
697
- revision?: number;
698
- phase?: "start" | "expiry";
699
- announcementId?: string;
1500
+ type: "announcement.scheduled";
1501
+ revision: number;
1502
+ announcementId: string;
1503
+ phase: "start" | "expiry";
700
1504
  }, {
701
- type?: "announcement.scheduled";
702
- revision?: number;
703
- phase?: "start" | "expiry";
704
- announcementId?: string;
1505
+ type: "announcement.scheduled";
1506
+ revision: number;
1507
+ announcementId: string;
1508
+ phase: "start" | "expiry";
705
1509
  }>, z.ZodObject<{
706
1510
  type: z.ZodLiteral<"agent.completed">;
707
1511
  source: z.ZodObject<{
@@ -713,42 +1517,48 @@ export declare const notificationOutboxPayloadSchema: z.ZodDiscriminatedUnion<"t
713
1517
  } & {
714
1518
  threadId: z.ZodOptional<z.ZodString>;
715
1519
  }, "strict", z.ZodTypeAny, {
716
- type?: "scheduled_task";
717
- conversationId?: string;
718
- executionId?: string;
719
- taskId?: string;
720
- threadId?: string;
721
- assistantId?: string;
1520
+ type: "scheduled_task";
1521
+ assistantId: string;
1522
+ taskId: string;
1523
+ executionId: string;
1524
+ conversationId: string;
1525
+ threadId?: string | undefined;
722
1526
  }, {
723
- type?: "scheduled_task";
724
- conversationId?: string;
725
- executionId?: string;
726
- taskId?: string;
727
- threadId?: string;
728
- assistantId?: string;
1527
+ type: "scheduled_task";
1528
+ assistantId: string;
1529
+ taskId: string;
1530
+ executionId: string;
1531
+ conversationId: string;
1532
+ threadId?: string | undefined;
729
1533
  }>;
730
1534
  }, "strict", z.ZodTypeAny, {
731
- type?: "agent.completed";
732
- source?: {
733
- type?: "scheduled_task";
734
- conversationId?: string;
735
- executionId?: string;
736
- taskId?: string;
737
- threadId?: string;
738
- assistantId?: string;
1535
+ type: "agent.completed";
1536
+ source: {
1537
+ type: "scheduled_task";
1538
+ assistantId: string;
1539
+ taskId: string;
1540
+ executionId: string;
1541
+ conversationId: string;
1542
+ threadId?: string | undefined;
739
1543
  };
740
1544
  }, {
741
- type?: "agent.completed";
742
- source?: {
743
- type?: "scheduled_task";
744
- conversationId?: string;
745
- executionId?: string;
746
- taskId?: string;
747
- threadId?: string;
748
- assistantId?: string;
1545
+ type: "agent.completed";
1546
+ source: {
1547
+ type: "scheduled_task";
1548
+ assistantId: string;
1549
+ taskId: string;
1550
+ executionId: string;
1551
+ conversationId: string;
1552
+ threadId?: string | undefined;
749
1553
  };
750
1554
  }>]>;
1555
+ /** Durable worker instructions. An output dispatch points to a delivery whose contents are revalidated at send time. */
751
1556
  export type NotificationOutboxPayload = z.output<typeof notificationOutboxPayloadSchema>;
1557
+ /**
1558
+ * Per-channel outcome. Feishu acceptance requires a provider message ID. In-app delivery means
1559
+ * the notification was persisted. An unknown external outcome must be reconciled before resending.
1560
+ * Reading is recorded separately on the user's notification.
1561
+ */
752
1562
  export type NotificationDeliveryState = 'pending' | 'accepted' | 'delivered' | 'failed' | 'unknown' | 'cancelled';
753
1563
  export type NotificationDestination = {
754
1564
  type: 'in_app';
@@ -766,3 +1576,4 @@ export declare function parseAnnouncement(value: unknown): Announcement;
766
1576
  export declare function parseOpenConversationAction(value: unknown): OpenConversationAction;
767
1577
  export declare function parseUserNotification(value: unknown): UserNotification;
768
1578
  export declare function parseNotificationSnapshot(value: unknown): NotificationSnapshot;
1579
+ export {};