@anchrd/colab-sdk 0.1.22 → 0.1.24

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.
@@ -0,0 +1,1115 @@
1
+ import { z } from "zod";
2
+ export declare const GoalId: z.ZodTemplateLiteral<`node_${string}`>;
3
+ export type GoalId = z.infer<typeof GoalId>;
4
+ export declare const goalPlannings: readonly ["short", "detailed"];
5
+ export declare const GoalPlanning: z.ZodEnum<{
6
+ short: "short";
7
+ detailed: "detailed";
8
+ }>;
9
+ export type GoalPlanning = z.infer<typeof GoalPlanning>;
10
+ export declare const GoalCreateInput: z.ZodObject<{
11
+ idempotencyKey: z.ZodString;
12
+ operatorId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>>;
13
+ rhythm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ rhythm: z.ZodEnum<{
15
+ manual: "manual";
16
+ daily: "daily";
17
+ weekly: "weekly";
18
+ monthly: "monthly";
19
+ dates: "dates";
20
+ }>;
21
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22
+ monday: "monday";
23
+ tuesday: "tuesday";
24
+ wednesday: "wednesday";
25
+ thursday: "thursday";
26
+ friday: "friday";
27
+ saturday: "saturday";
28
+ sunday: "sunday";
29
+ }>>>;
30
+ dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodInt>>;
31
+ weekdayOfMonth: z.ZodOptional<z.ZodObject<{
32
+ week: z.ZodEnum<{
33
+ first: "first";
34
+ last: "last";
35
+ second: "second";
36
+ third: "third";
37
+ fourth: "fourth";
38
+ }>;
39
+ day: z.ZodEnum<{
40
+ monday: "monday";
41
+ tuesday: "tuesday";
42
+ wednesday: "wednesday";
43
+ thursday: "thursday";
44
+ friday: "friday";
45
+ saturday: "saturday";
46
+ sunday: "sunday";
47
+ }>;
48
+ }, z.core.$strict>>;
49
+ times: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
+ dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
+ zone: z.ZodOptional<z.ZodString>;
52
+ whileOpen: z.ZodOptional<z.ZodEnum<{
53
+ wait: "wait";
54
+ continue: "continue";
55
+ }>>;
56
+ }, z.core.$strict>>>;
57
+ budget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
+ maxHours: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
59
+ planning: z.ZodOptional<z.ZodEnum<{
60
+ short: "short";
61
+ detailed: "detailed";
62
+ }>>;
63
+ reportToId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>>;
64
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
65
+ name: z.ZodString;
66
+ content: z.ZodString;
67
+ }, z.core.$strict>;
68
+ export type GoalCreateInput = z.infer<typeof GoalCreateInput>;
69
+ export declare const GoalGetInput: z.ZodObject<{
70
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
71
+ }, z.core.$strict>;
72
+ export type GoalGetInput = z.infer<typeof GoalGetInput>;
73
+ export declare const GoalUpdateInput: z.ZodObject<{
74
+ rev: z.ZodNumber;
75
+ editSession: z.ZodOptional<z.ZodString>;
76
+ operatorId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>>;
77
+ rhythm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
78
+ rhythm: z.ZodEnum<{
79
+ manual: "manual";
80
+ daily: "daily";
81
+ weekly: "weekly";
82
+ monthly: "monthly";
83
+ dates: "dates";
84
+ }>;
85
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
86
+ monday: "monday";
87
+ tuesday: "tuesday";
88
+ wednesday: "wednesday";
89
+ thursday: "thursday";
90
+ friday: "friday";
91
+ saturday: "saturday";
92
+ sunday: "sunday";
93
+ }>>>;
94
+ dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodInt>>;
95
+ weekdayOfMonth: z.ZodOptional<z.ZodObject<{
96
+ week: z.ZodEnum<{
97
+ first: "first";
98
+ last: "last";
99
+ second: "second";
100
+ third: "third";
101
+ fourth: "fourth";
102
+ }>;
103
+ day: z.ZodEnum<{
104
+ monday: "monday";
105
+ tuesday: "tuesday";
106
+ wednesday: "wednesday";
107
+ thursday: "thursday";
108
+ friday: "friday";
109
+ saturday: "saturday";
110
+ sunday: "sunday";
111
+ }>;
112
+ }, z.core.$strict>>;
113
+ times: z.ZodOptional<z.ZodArray<z.ZodString>>;
114
+ dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
115
+ zone: z.ZodOptional<z.ZodString>;
116
+ whileOpen: z.ZodOptional<z.ZodEnum<{
117
+ wait: "wait";
118
+ continue: "continue";
119
+ }>>;
120
+ }, z.core.$strict>>>;
121
+ budget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
122
+ maxHours: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
123
+ planning: z.ZodOptional<z.ZodEnum<{
124
+ short: "short";
125
+ detailed: "detailed";
126
+ }>>;
127
+ reportToId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>>;
128
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
129
+ content: z.ZodOptional<z.ZodString>;
130
+ }, z.core.$strict>;
131
+ export type GoalUpdateInput = z.infer<typeof GoalUpdateInput>;
132
+ export declare const GoalCheck: z.ZodObject<{
133
+ kind: z.ZodEnum<{
134
+ operator: "operator";
135
+ connector: "connector";
136
+ reference: "reference";
137
+ helper: "helper";
138
+ frame: "frame";
139
+ }>;
140
+ nodeId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
141
+ name: z.ZodNullable<z.ZodString>;
142
+ nodeKind: z.ZodNullable<z.ZodEnum<{
143
+ file: "file";
144
+ folder: "folder";
145
+ document: "document";
146
+ table: "table";
147
+ board: "board";
148
+ task: "task";
149
+ gadget: "gadget";
150
+ goal: "goal";
151
+ skill: "skill";
152
+ }>>;
153
+ needs: z.ZodNullable<z.ZodEnum<{
154
+ write: "write";
155
+ read: "read";
156
+ }>>;
157
+ ok: z.ZodBoolean;
158
+ problem: z.ZodNullable<z.ZodString>;
159
+ missing: z.ZodNullable<z.ZodObject<{
160
+ code: z.ZodEnum<{
161
+ test_failed: "test_failed";
162
+ no_role: "no_role";
163
+ no_folder: "no_folder";
164
+ credential_invalid: "credential_invalid";
165
+ incomplete: "incomplete";
166
+ no_right: "no_right";
167
+ no_kind: "no_kind";
168
+ no_assignee: "no_assignee";
169
+ no_machine: "no_machine";
170
+ }>;
171
+ machineId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
172
+ credentialId: z.ZodOptional<z.ZodTemplateLiteral<`credential_${string}`>>;
173
+ connectorId: z.ZodOptional<z.ZodString>;
174
+ connectionId: z.ZodOptional<z.ZodTemplateLiteral<`connection_${string}`>>;
175
+ taskId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
176
+ documentId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
177
+ userId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
178
+ nodeId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
179
+ message: z.ZodString;
180
+ right: z.ZodOptional<z.ZodString>;
181
+ givenBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
182
+ userId: z.ZodString;
183
+ name: z.ZodString;
184
+ }, z.core.$strip>>>;
185
+ call: z.ZodOptional<z.ZodObject<{
186
+ tool: z.ZodString;
187
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
188
+ }, z.core.$strip>>;
189
+ }, z.core.$strip>>;
190
+ user: z.ZodNullable<z.ZodObject<{
191
+ userId: z.ZodString;
192
+ name: z.ZodNullable<z.ZodString>;
193
+ }, z.core.$strip>>;
194
+ connector: z.ZodNullable<z.ZodObject<{
195
+ connectorId: z.ZodString;
196
+ name: z.ZodString;
197
+ tools: z.ZodArray<z.ZodString>;
198
+ }, z.core.$strip>>;
199
+ }, z.core.$strip>;
200
+ export type GoalCheck = z.infer<typeof GoalCheck>;
201
+ export declare const GoalReady: z.ZodObject<{
202
+ ok: z.ZodBoolean;
203
+ checkedAt: z.ZodISODateTime;
204
+ checks: z.ZodArray<z.ZodObject<{
205
+ kind: z.ZodEnum<{
206
+ operator: "operator";
207
+ connector: "connector";
208
+ reference: "reference";
209
+ helper: "helper";
210
+ frame: "frame";
211
+ }>;
212
+ nodeId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
213
+ name: z.ZodNullable<z.ZodString>;
214
+ nodeKind: z.ZodNullable<z.ZodEnum<{
215
+ file: "file";
216
+ folder: "folder";
217
+ document: "document";
218
+ table: "table";
219
+ board: "board";
220
+ task: "task";
221
+ gadget: "gadget";
222
+ goal: "goal";
223
+ skill: "skill";
224
+ }>>;
225
+ needs: z.ZodNullable<z.ZodEnum<{
226
+ write: "write";
227
+ read: "read";
228
+ }>>;
229
+ ok: z.ZodBoolean;
230
+ problem: z.ZodNullable<z.ZodString>;
231
+ missing: z.ZodNullable<z.ZodObject<{
232
+ code: z.ZodEnum<{
233
+ test_failed: "test_failed";
234
+ no_role: "no_role";
235
+ no_folder: "no_folder";
236
+ credential_invalid: "credential_invalid";
237
+ incomplete: "incomplete";
238
+ no_right: "no_right";
239
+ no_kind: "no_kind";
240
+ no_assignee: "no_assignee";
241
+ no_machine: "no_machine";
242
+ }>;
243
+ machineId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
244
+ credentialId: z.ZodOptional<z.ZodTemplateLiteral<`credential_${string}`>>;
245
+ connectorId: z.ZodOptional<z.ZodString>;
246
+ connectionId: z.ZodOptional<z.ZodTemplateLiteral<`connection_${string}`>>;
247
+ taskId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
248
+ documentId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
249
+ userId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
250
+ nodeId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
251
+ message: z.ZodString;
252
+ right: z.ZodOptional<z.ZodString>;
253
+ givenBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
254
+ userId: z.ZodString;
255
+ name: z.ZodString;
256
+ }, z.core.$strip>>>;
257
+ call: z.ZodOptional<z.ZodObject<{
258
+ tool: z.ZodString;
259
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
260
+ }, z.core.$strip>>;
261
+ }, z.core.$strip>>;
262
+ user: z.ZodNullable<z.ZodObject<{
263
+ userId: z.ZodString;
264
+ name: z.ZodNullable<z.ZodString>;
265
+ }, z.core.$strip>>;
266
+ connector: z.ZodNullable<z.ZodObject<{
267
+ connectorId: z.ZodString;
268
+ name: z.ZodString;
269
+ tools: z.ZodArray<z.ZodString>;
270
+ }, z.core.$strip>>;
271
+ }, z.core.$strip>>;
272
+ questionCostUsd: z.ZodNullable<z.ZodNumber>;
273
+ }, z.core.$strip>;
274
+ export type GoalReady = z.infer<typeof GoalReady>;
275
+ export declare const goalRunStatuses: readonly ["running", "reached", "missed", "ended"];
276
+ export declare const GoalRunStatus: z.ZodEnum<{
277
+ running: "running";
278
+ reached: "reached";
279
+ missed: "missed";
280
+ ended: "ended";
281
+ }>;
282
+ export type GoalRunStatus = z.infer<typeof GoalRunStatus>;
283
+ export declare const GoalRunTrigger: z.ZodEnum<{
284
+ rhythm: "rhythm";
285
+ play: "play";
286
+ }>;
287
+ export type GoalRunTrigger = z.infer<typeof GoalRunTrigger>;
288
+ export declare const GoalPlanStep: z.ZodObject<{
289
+ title: z.ZodString;
290
+ how: z.ZodNullable<z.ZodString>;
291
+ result: z.ZodNullable<z.ZodString>;
292
+ done: z.ZodBoolean;
293
+ taskId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
294
+ }, z.core.$strip>;
295
+ export type GoalPlanStep = z.infer<typeof GoalPlanStep>;
296
+ export declare const GoalFollowUp: z.ZodObject<{
297
+ at: z.ZodISODateTime;
298
+ text: z.ZodString;
299
+ by: z.ZodObject<{
300
+ userId: z.ZodString;
301
+ name: z.ZodNullable<z.ZodString>;
302
+ kind: z.ZodNullable<z.ZodEnum<{
303
+ machine: "machine";
304
+ human: "human";
305
+ }>>;
306
+ }, z.core.$strip>;
307
+ }, z.core.$strip>;
308
+ export type GoalFollowUp = z.infer<typeof GoalFollowUp>;
309
+ export declare const GoalSession: z.ZodObject<{
310
+ number: z.ZodInt;
311
+ trigger: z.ZodEnum<{
312
+ rhythm: "rhythm";
313
+ mention: "mention";
314
+ play: "play";
315
+ followup: "followup";
316
+ }>;
317
+ at: z.ZodISODateTime;
318
+ by: z.ZodNullable<z.ZodObject<{
319
+ userId: z.ZodString;
320
+ name: z.ZodNullable<z.ZodString>;
321
+ kind: z.ZodNullable<z.ZodEnum<{
322
+ machine: "machine";
323
+ human: "human";
324
+ }>>;
325
+ }, z.core.$strip>>;
326
+ summary: z.ZodNullable<z.ZodString>;
327
+ costUsd: z.ZodNullable<z.ZodNumber>;
328
+ }, z.core.$strip>;
329
+ export type GoalSession = z.infer<typeof GoalSession>;
330
+ export declare const GoalReport: z.ZodObject<{
331
+ result: z.ZodString;
332
+ changed: z.ZodNullable<z.ZodString>;
333
+ open: z.ZodNullable<z.ZodString>;
334
+ learned: z.ZodNullable<z.ZodString>;
335
+ participants: z.ZodNullable<z.ZodString>;
336
+ frame: z.ZodNullable<z.ZodString>;
337
+ }, z.core.$strip>;
338
+ export type GoalReport = z.infer<typeof GoalReport>;
339
+ export declare const GoalRunItem: z.ZodObject<{
340
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
341
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
342
+ status: z.ZodEnum<{
343
+ running: "running";
344
+ reached: "reached";
345
+ missed: "missed";
346
+ ended: "ended";
347
+ }>;
348
+ trigger: z.ZodEnum<{
349
+ rhythm: "rhythm";
350
+ play: "play";
351
+ }>;
352
+ dueAt: z.ZodNullable<z.ZodISODateTime>;
353
+ startedAt: z.ZodISODateTime;
354
+ startedBy: z.ZodNullable<z.ZodObject<{
355
+ userId: z.ZodString;
356
+ name: z.ZodNullable<z.ZodString>;
357
+ kind: z.ZodNullable<z.ZodEnum<{
358
+ machine: "machine";
359
+ human: "human";
360
+ }>>;
361
+ }, z.core.$strip>>;
362
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
363
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
364
+ completedBy: z.ZodNullable<z.ZodObject<{
365
+ userId: z.ZodString;
366
+ name: z.ZodNullable<z.ZodString>;
367
+ kind: z.ZodNullable<z.ZodEnum<{
368
+ machine: "machine";
369
+ human: "human";
370
+ }>>;
371
+ }, z.core.$strip>>;
372
+ goalVersion: z.ZodInt;
373
+ steps: z.ZodObject<{
374
+ done: z.ZodInt;
375
+ total: z.ZodInt;
376
+ }, z.core.$strip>;
377
+ sessions: z.ZodInt;
378
+ spentUsd: z.ZodNumber;
379
+ budgetUsd: z.ZodNullable<z.ZodNumber>;
380
+ summary: z.ZodNullable<z.ZodString>;
381
+ skipped: z.ZodArray<z.ZodISODateTime>;
382
+ }, z.core.$strip>;
383
+ export type GoalRunItem = z.infer<typeof GoalRunItem>;
384
+ export declare const GoalFields: z.ZodObject<{
385
+ operatorId: z.ZodNullable<z.ZodString>;
386
+ rhythm: z.ZodNullable<z.ZodObject<{
387
+ rhythm: z.ZodEnum<{
388
+ manual: "manual";
389
+ daily: "daily";
390
+ weekly: "weekly";
391
+ monthly: "monthly";
392
+ dates: "dates";
393
+ }>;
394
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
395
+ monday: "monday";
396
+ tuesday: "tuesday";
397
+ wednesday: "wednesday";
398
+ thursday: "thursday";
399
+ friday: "friday";
400
+ saturday: "saturday";
401
+ sunday: "sunday";
402
+ }>>>;
403
+ dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodInt>>;
404
+ weekdayOfMonth: z.ZodOptional<z.ZodObject<{
405
+ week: z.ZodEnum<{
406
+ first: "first";
407
+ last: "last";
408
+ second: "second";
409
+ third: "third";
410
+ fourth: "fourth";
411
+ }>;
412
+ day: z.ZodEnum<{
413
+ monday: "monday";
414
+ tuesday: "tuesday";
415
+ wednesday: "wednesday";
416
+ thursday: "thursday";
417
+ friday: "friday";
418
+ saturday: "saturday";
419
+ sunday: "sunday";
420
+ }>;
421
+ }, z.core.$strict>>;
422
+ times: z.ZodOptional<z.ZodArray<z.ZodString>>;
423
+ dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
424
+ zone: z.ZodOptional<z.ZodString>;
425
+ whileOpen: z.ZodOptional<z.ZodEnum<{
426
+ wait: "wait";
427
+ continue: "continue";
428
+ }>>;
429
+ }, z.core.$strict>>;
430
+ budget: z.ZodNullable<z.ZodNumber>;
431
+ maxHours: z.ZodNullable<z.ZodInt>;
432
+ planning: z.ZodEnum<{
433
+ short: "short";
434
+ detailed: "detailed";
435
+ }>;
436
+ reportToId: z.ZodNullable<z.ZodString>;
437
+ }, z.core.$strip>;
438
+ export type GoalFields = z.infer<typeof GoalFields>;
439
+ export declare const GoalRunDetail: z.ZodObject<{
440
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
441
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
442
+ status: z.ZodEnum<{
443
+ running: "running";
444
+ reached: "reached";
445
+ missed: "missed";
446
+ ended: "ended";
447
+ }>;
448
+ trigger: z.ZodEnum<{
449
+ rhythm: "rhythm";
450
+ play: "play";
451
+ }>;
452
+ dueAt: z.ZodNullable<z.ZodISODateTime>;
453
+ startedAt: z.ZodISODateTime;
454
+ startedBy: z.ZodNullable<z.ZodObject<{
455
+ userId: z.ZodString;
456
+ name: z.ZodNullable<z.ZodString>;
457
+ kind: z.ZodNullable<z.ZodEnum<{
458
+ machine: "machine";
459
+ human: "human";
460
+ }>>;
461
+ }, z.core.$strip>>;
462
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
463
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
464
+ completedBy: z.ZodNullable<z.ZodObject<{
465
+ userId: z.ZodString;
466
+ name: z.ZodNullable<z.ZodString>;
467
+ kind: z.ZodNullable<z.ZodEnum<{
468
+ machine: "machine";
469
+ human: "human";
470
+ }>>;
471
+ }, z.core.$strip>>;
472
+ goalVersion: z.ZodInt;
473
+ steps: z.ZodObject<{
474
+ done: z.ZodInt;
475
+ total: z.ZodInt;
476
+ }, z.core.$strip>;
477
+ sessions: z.ZodInt;
478
+ spentUsd: z.ZodNumber;
479
+ budgetUsd: z.ZodNullable<z.ZodNumber>;
480
+ summary: z.ZodNullable<z.ZodString>;
481
+ skipped: z.ZodArray<z.ZodISODateTime>;
482
+ plan: z.ZodArray<z.ZodObject<{
483
+ title: z.ZodString;
484
+ how: z.ZodNullable<z.ZodString>;
485
+ result: z.ZodNullable<z.ZodString>;
486
+ done: z.ZodBoolean;
487
+ taskId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
488
+ }, z.core.$strip>>;
489
+ state: z.ZodNullable<z.ZodString>;
490
+ followUp: z.ZodNullable<z.ZodObject<{
491
+ at: z.ZodISODateTime;
492
+ text: z.ZodString;
493
+ by: z.ZodObject<{
494
+ userId: z.ZodString;
495
+ name: z.ZodNullable<z.ZodString>;
496
+ kind: z.ZodNullable<z.ZodEnum<{
497
+ machine: "machine";
498
+ human: "human";
499
+ }>>;
500
+ }, z.core.$strip>;
501
+ }, z.core.$strip>>;
502
+ sessionList: z.ZodArray<z.ZodObject<{
503
+ number: z.ZodInt;
504
+ trigger: z.ZodEnum<{
505
+ rhythm: "rhythm";
506
+ mention: "mention";
507
+ play: "play";
508
+ followup: "followup";
509
+ }>;
510
+ at: z.ZodISODateTime;
511
+ by: z.ZodNullable<z.ZodObject<{
512
+ userId: z.ZodString;
513
+ name: z.ZodNullable<z.ZodString>;
514
+ kind: z.ZodNullable<z.ZodEnum<{
515
+ machine: "machine";
516
+ human: "human";
517
+ }>>;
518
+ }, z.core.$strip>>;
519
+ summary: z.ZodNullable<z.ZodString>;
520
+ costUsd: z.ZodNullable<z.ZodNumber>;
521
+ }, z.core.$strip>>;
522
+ report: z.ZodNullable<z.ZodObject<{
523
+ result: z.ZodString;
524
+ changed: z.ZodNullable<z.ZodString>;
525
+ open: z.ZodNullable<z.ZodString>;
526
+ learned: z.ZodNullable<z.ZodString>;
527
+ participants: z.ZodNullable<z.ZodString>;
528
+ frame: z.ZodNullable<z.ZodString>;
529
+ }, z.core.$strip>>;
530
+ fields: z.ZodObject<{
531
+ operatorId: z.ZodNullable<z.ZodString>;
532
+ rhythm: z.ZodNullable<z.ZodObject<{
533
+ rhythm: z.ZodEnum<{
534
+ manual: "manual";
535
+ daily: "daily";
536
+ weekly: "weekly";
537
+ monthly: "monthly";
538
+ dates: "dates";
539
+ }>;
540
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
541
+ monday: "monday";
542
+ tuesday: "tuesday";
543
+ wednesday: "wednesday";
544
+ thursday: "thursday";
545
+ friday: "friday";
546
+ saturday: "saturday";
547
+ sunday: "sunday";
548
+ }>>>;
549
+ dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodInt>>;
550
+ weekdayOfMonth: z.ZodOptional<z.ZodObject<{
551
+ week: z.ZodEnum<{
552
+ first: "first";
553
+ last: "last";
554
+ second: "second";
555
+ third: "third";
556
+ fourth: "fourth";
557
+ }>;
558
+ day: z.ZodEnum<{
559
+ monday: "monday";
560
+ tuesday: "tuesday";
561
+ wednesday: "wednesday";
562
+ thursday: "thursday";
563
+ friday: "friday";
564
+ saturday: "saturday";
565
+ sunday: "sunday";
566
+ }>;
567
+ }, z.core.$strict>>;
568
+ times: z.ZodOptional<z.ZodArray<z.ZodString>>;
569
+ dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
570
+ zone: z.ZodOptional<z.ZodString>;
571
+ whileOpen: z.ZodOptional<z.ZodEnum<{
572
+ wait: "wait";
573
+ continue: "continue";
574
+ }>>;
575
+ }, z.core.$strict>>;
576
+ budget: z.ZodNullable<z.ZodNumber>;
577
+ maxHours: z.ZodNullable<z.ZodInt>;
578
+ planning: z.ZodEnum<{
579
+ short: "short";
580
+ detailed: "detailed";
581
+ }>;
582
+ reportToId: z.ZodNullable<z.ZodString>;
583
+ }, z.core.$strip>;
584
+ operator: z.ZodNullable<z.ZodObject<{
585
+ userId: z.ZodString;
586
+ name: z.ZodNullable<z.ZodString>;
587
+ kind: z.ZodNullable<z.ZodEnum<{
588
+ machine: "machine";
589
+ human: "human";
590
+ }>>;
591
+ }, z.core.$strip>>;
592
+ reportTo: z.ZodNullable<z.ZodObject<{
593
+ userId: z.ZodString;
594
+ name: z.ZodNullable<z.ZodString>;
595
+ kind: z.ZodNullable<z.ZodEnum<{
596
+ machine: "machine";
597
+ human: "human";
598
+ }>>;
599
+ }, z.core.$strip>>;
600
+ content: z.ZodString;
601
+ chat: z.ZodNullable<z.ZodArray<z.ZodObject<{
602
+ messageId: z.ZodTemplateLiteral<`message_${string}`>;
603
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
604
+ text: z.ZodString;
605
+ author: z.ZodObject<{
606
+ userId: z.ZodString;
607
+ name: z.ZodNullable<z.ZodString>;
608
+ kind: z.ZodNullable<z.ZodEnum<{
609
+ machine: "machine";
610
+ human: "human";
611
+ }>>;
612
+ machine: z.ZodNullable<z.ZodObject<{
613
+ kind: z.ZodEnum<{
614
+ operator: "operator";
615
+ external: "external";
616
+ }>;
617
+ provider: z.ZodNullable<z.ZodEnum<{
618
+ claude: "claude";
619
+ codex: "codex";
620
+ gemini: "gemini";
621
+ }>>;
622
+ }, z.core.$strip>>;
623
+ appHandle: z.ZodNullable<z.ZodString>;
624
+ }, z.core.$strip>;
625
+ mentions: z.ZodArray<z.ZodObject<{
626
+ userId: z.ZodString;
627
+ name: z.ZodNullable<z.ZodString>;
628
+ }, z.core.$strip>>;
629
+ createdAt: z.ZodISODateTime;
630
+ }, z.core.$strip>>>;
631
+ rev: z.ZodInt;
632
+ rights: z.ZodObject<{
633
+ update: z.ZodBoolean;
634
+ complete: z.ZodBoolean;
635
+ cancel: z.ZodBoolean;
636
+ }, z.core.$strip>;
637
+ }, z.core.$strip>;
638
+ export type GoalRunDetail = z.infer<typeof GoalRunDetail>;
639
+ export declare const GoalDetail: z.ZodObject<{
640
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
641
+ name: z.ZodString;
642
+ hidden: z.ZodBoolean;
643
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
644
+ path: z.ZodObject<{
645
+ section: z.ZodEnum<{
646
+ users: "users";
647
+ own: "own";
648
+ shared: "shared";
649
+ }>;
650
+ items: z.ZodArray<z.ZodObject<{
651
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
652
+ name: z.ZodString;
653
+ }, z.core.$strip>>;
654
+ }, z.core.$strip>;
655
+ content: z.ZodString;
656
+ operator: z.ZodNullable<z.ZodObject<{
657
+ userId: z.ZodString;
658
+ name: z.ZodNullable<z.ZodString>;
659
+ kind: z.ZodNullable<z.ZodEnum<{
660
+ machine: "machine";
661
+ human: "human";
662
+ }>>;
663
+ }, z.core.$strip>>;
664
+ rhythm: z.ZodNullable<z.ZodObject<{
665
+ rhythm: z.ZodEnum<{
666
+ manual: "manual";
667
+ daily: "daily";
668
+ weekly: "weekly";
669
+ monthly: "monthly";
670
+ dates: "dates";
671
+ }>;
672
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
673
+ monday: "monday";
674
+ tuesday: "tuesday";
675
+ wednesday: "wednesday";
676
+ thursday: "thursday";
677
+ friday: "friday";
678
+ saturday: "saturday";
679
+ sunday: "sunday";
680
+ }>>>;
681
+ dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodInt>>;
682
+ weekdayOfMonth: z.ZodOptional<z.ZodObject<{
683
+ week: z.ZodEnum<{
684
+ first: "first";
685
+ last: "last";
686
+ second: "second";
687
+ third: "third";
688
+ fourth: "fourth";
689
+ }>;
690
+ day: z.ZodEnum<{
691
+ monday: "monday";
692
+ tuesday: "tuesday";
693
+ wednesday: "wednesday";
694
+ thursday: "thursday";
695
+ friday: "friday";
696
+ saturday: "saturday";
697
+ sunday: "sunday";
698
+ }>;
699
+ }, z.core.$strict>>;
700
+ times: z.ZodOptional<z.ZodArray<z.ZodString>>;
701
+ dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
702
+ zone: z.ZodOptional<z.ZodString>;
703
+ whileOpen: z.ZodOptional<z.ZodEnum<{
704
+ wait: "wait";
705
+ continue: "continue";
706
+ }>>;
707
+ }, z.core.$strict>>;
708
+ nextRunAt: z.ZodNullable<z.ZodISODateTime>;
709
+ budget: z.ZodNullable<z.ZodNumber>;
710
+ maxHours: z.ZodNullable<z.ZodInt>;
711
+ planning: z.ZodEnum<{
712
+ short: "short";
713
+ detailed: "detailed";
714
+ }>;
715
+ reportTo: z.ZodNullable<z.ZodObject<{
716
+ userId: z.ZodString;
717
+ name: z.ZodNullable<z.ZodString>;
718
+ kind: z.ZodNullable<z.ZodEnum<{
719
+ machine: "machine";
720
+ human: "human";
721
+ }>>;
722
+ }, z.core.$strip>>;
723
+ ready: z.ZodObject<{
724
+ ok: z.ZodBoolean;
725
+ checkedAt: z.ZodISODateTime;
726
+ checks: z.ZodArray<z.ZodObject<{
727
+ kind: z.ZodEnum<{
728
+ operator: "operator";
729
+ connector: "connector";
730
+ reference: "reference";
731
+ helper: "helper";
732
+ frame: "frame";
733
+ }>;
734
+ nodeId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
735
+ name: z.ZodNullable<z.ZodString>;
736
+ nodeKind: z.ZodNullable<z.ZodEnum<{
737
+ file: "file";
738
+ folder: "folder";
739
+ document: "document";
740
+ table: "table";
741
+ board: "board";
742
+ task: "task";
743
+ gadget: "gadget";
744
+ goal: "goal";
745
+ skill: "skill";
746
+ }>>;
747
+ needs: z.ZodNullable<z.ZodEnum<{
748
+ write: "write";
749
+ read: "read";
750
+ }>>;
751
+ ok: z.ZodBoolean;
752
+ problem: z.ZodNullable<z.ZodString>;
753
+ missing: z.ZodNullable<z.ZodObject<{
754
+ code: z.ZodEnum<{
755
+ test_failed: "test_failed";
756
+ no_role: "no_role";
757
+ no_folder: "no_folder";
758
+ credential_invalid: "credential_invalid";
759
+ incomplete: "incomplete";
760
+ no_right: "no_right";
761
+ no_kind: "no_kind";
762
+ no_assignee: "no_assignee";
763
+ no_machine: "no_machine";
764
+ }>;
765
+ machineId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
766
+ credentialId: z.ZodOptional<z.ZodTemplateLiteral<`credential_${string}`>>;
767
+ connectorId: z.ZodOptional<z.ZodString>;
768
+ connectionId: z.ZodOptional<z.ZodTemplateLiteral<`connection_${string}`>>;
769
+ taskId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
770
+ documentId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
771
+ userId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
772
+ nodeId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
773
+ message: z.ZodString;
774
+ right: z.ZodOptional<z.ZodString>;
775
+ givenBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
776
+ userId: z.ZodString;
777
+ name: z.ZodString;
778
+ }, z.core.$strip>>>;
779
+ call: z.ZodOptional<z.ZodObject<{
780
+ tool: z.ZodString;
781
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
782
+ }, z.core.$strip>>;
783
+ }, z.core.$strip>>;
784
+ user: z.ZodNullable<z.ZodObject<{
785
+ userId: z.ZodString;
786
+ name: z.ZodNullable<z.ZodString>;
787
+ }, z.core.$strip>>;
788
+ connector: z.ZodNullable<z.ZodObject<{
789
+ connectorId: z.ZodString;
790
+ name: z.ZodString;
791
+ tools: z.ZodArray<z.ZodString>;
792
+ }, z.core.$strip>>;
793
+ }, z.core.$strip>>;
794
+ questionCostUsd: z.ZodNullable<z.ZodNumber>;
795
+ }, z.core.$strip>;
796
+ run: z.ZodNullable<z.ZodObject<{
797
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
798
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
799
+ status: z.ZodEnum<{
800
+ running: "running";
801
+ reached: "reached";
802
+ missed: "missed";
803
+ ended: "ended";
804
+ }>;
805
+ trigger: z.ZodEnum<{
806
+ rhythm: "rhythm";
807
+ play: "play";
808
+ }>;
809
+ dueAt: z.ZodNullable<z.ZodISODateTime>;
810
+ startedAt: z.ZodISODateTime;
811
+ startedBy: z.ZodNullable<z.ZodObject<{
812
+ userId: z.ZodString;
813
+ name: z.ZodNullable<z.ZodString>;
814
+ kind: z.ZodNullable<z.ZodEnum<{
815
+ machine: "machine";
816
+ human: "human";
817
+ }>>;
818
+ }, z.core.$strip>>;
819
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
820
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
821
+ completedBy: z.ZodNullable<z.ZodObject<{
822
+ userId: z.ZodString;
823
+ name: z.ZodNullable<z.ZodString>;
824
+ kind: z.ZodNullable<z.ZodEnum<{
825
+ machine: "machine";
826
+ human: "human";
827
+ }>>;
828
+ }, z.core.$strip>>;
829
+ goalVersion: z.ZodInt;
830
+ steps: z.ZodObject<{
831
+ done: z.ZodInt;
832
+ total: z.ZodInt;
833
+ }, z.core.$strip>;
834
+ sessions: z.ZodInt;
835
+ spentUsd: z.ZodNumber;
836
+ budgetUsd: z.ZodNullable<z.ZodNumber>;
837
+ summary: z.ZodNullable<z.ZodString>;
838
+ skipped: z.ZodArray<z.ZodISODateTime>;
839
+ plan: z.ZodArray<z.ZodObject<{
840
+ title: z.ZodString;
841
+ how: z.ZodNullable<z.ZodString>;
842
+ result: z.ZodNullable<z.ZodString>;
843
+ done: z.ZodBoolean;
844
+ taskId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
845
+ }, z.core.$strip>>;
846
+ state: z.ZodNullable<z.ZodString>;
847
+ followUp: z.ZodNullable<z.ZodObject<{
848
+ at: z.ZodISODateTime;
849
+ text: z.ZodString;
850
+ by: z.ZodObject<{
851
+ userId: z.ZodString;
852
+ name: z.ZodNullable<z.ZodString>;
853
+ kind: z.ZodNullable<z.ZodEnum<{
854
+ machine: "machine";
855
+ human: "human";
856
+ }>>;
857
+ }, z.core.$strip>;
858
+ }, z.core.$strip>>;
859
+ sessionList: z.ZodArray<z.ZodObject<{
860
+ number: z.ZodInt;
861
+ trigger: z.ZodEnum<{
862
+ rhythm: "rhythm";
863
+ mention: "mention";
864
+ play: "play";
865
+ followup: "followup";
866
+ }>;
867
+ at: z.ZodISODateTime;
868
+ by: z.ZodNullable<z.ZodObject<{
869
+ userId: z.ZodString;
870
+ name: z.ZodNullable<z.ZodString>;
871
+ kind: z.ZodNullable<z.ZodEnum<{
872
+ machine: "machine";
873
+ human: "human";
874
+ }>>;
875
+ }, z.core.$strip>>;
876
+ summary: z.ZodNullable<z.ZodString>;
877
+ costUsd: z.ZodNullable<z.ZodNumber>;
878
+ }, z.core.$strip>>;
879
+ report: z.ZodNullable<z.ZodObject<{
880
+ result: z.ZodString;
881
+ changed: z.ZodNullable<z.ZodString>;
882
+ open: z.ZodNullable<z.ZodString>;
883
+ learned: z.ZodNullable<z.ZodString>;
884
+ participants: z.ZodNullable<z.ZodString>;
885
+ frame: z.ZodNullable<z.ZodString>;
886
+ }, z.core.$strip>>;
887
+ fields: z.ZodObject<{
888
+ operatorId: z.ZodNullable<z.ZodString>;
889
+ rhythm: z.ZodNullable<z.ZodObject<{
890
+ rhythm: z.ZodEnum<{
891
+ manual: "manual";
892
+ daily: "daily";
893
+ weekly: "weekly";
894
+ monthly: "monthly";
895
+ dates: "dates";
896
+ }>;
897
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
898
+ monday: "monday";
899
+ tuesday: "tuesday";
900
+ wednesday: "wednesday";
901
+ thursday: "thursday";
902
+ friday: "friday";
903
+ saturday: "saturday";
904
+ sunday: "sunday";
905
+ }>>>;
906
+ dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodInt>>;
907
+ weekdayOfMonth: z.ZodOptional<z.ZodObject<{
908
+ week: z.ZodEnum<{
909
+ first: "first";
910
+ last: "last";
911
+ second: "second";
912
+ third: "third";
913
+ fourth: "fourth";
914
+ }>;
915
+ day: z.ZodEnum<{
916
+ monday: "monday";
917
+ tuesday: "tuesday";
918
+ wednesday: "wednesday";
919
+ thursday: "thursday";
920
+ friday: "friday";
921
+ saturday: "saturday";
922
+ sunday: "sunday";
923
+ }>;
924
+ }, z.core.$strict>>;
925
+ times: z.ZodOptional<z.ZodArray<z.ZodString>>;
926
+ dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
927
+ zone: z.ZodOptional<z.ZodString>;
928
+ whileOpen: z.ZodOptional<z.ZodEnum<{
929
+ wait: "wait";
930
+ continue: "continue";
931
+ }>>;
932
+ }, z.core.$strict>>;
933
+ budget: z.ZodNullable<z.ZodNumber>;
934
+ maxHours: z.ZodNullable<z.ZodInt>;
935
+ planning: z.ZodEnum<{
936
+ short: "short";
937
+ detailed: "detailed";
938
+ }>;
939
+ reportToId: z.ZodNullable<z.ZodString>;
940
+ }, z.core.$strip>;
941
+ operator: z.ZodNullable<z.ZodObject<{
942
+ userId: z.ZodString;
943
+ name: z.ZodNullable<z.ZodString>;
944
+ kind: z.ZodNullable<z.ZodEnum<{
945
+ machine: "machine";
946
+ human: "human";
947
+ }>>;
948
+ }, z.core.$strip>>;
949
+ reportTo: z.ZodNullable<z.ZodObject<{
950
+ userId: z.ZodString;
951
+ name: z.ZodNullable<z.ZodString>;
952
+ kind: z.ZodNullable<z.ZodEnum<{
953
+ machine: "machine";
954
+ human: "human";
955
+ }>>;
956
+ }, z.core.$strip>>;
957
+ content: z.ZodString;
958
+ chat: z.ZodNullable<z.ZodArray<z.ZodObject<{
959
+ messageId: z.ZodTemplateLiteral<`message_${string}`>;
960
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
961
+ text: z.ZodString;
962
+ author: z.ZodObject<{
963
+ userId: z.ZodString;
964
+ name: z.ZodNullable<z.ZodString>;
965
+ kind: z.ZodNullable<z.ZodEnum<{
966
+ machine: "machine";
967
+ human: "human";
968
+ }>>;
969
+ machine: z.ZodNullable<z.ZodObject<{
970
+ kind: z.ZodEnum<{
971
+ operator: "operator";
972
+ external: "external";
973
+ }>;
974
+ provider: z.ZodNullable<z.ZodEnum<{
975
+ claude: "claude";
976
+ codex: "codex";
977
+ gemini: "gemini";
978
+ }>>;
979
+ }, z.core.$strip>>;
980
+ appHandle: z.ZodNullable<z.ZodString>;
981
+ }, z.core.$strip>;
982
+ mentions: z.ZodArray<z.ZodObject<{
983
+ userId: z.ZodString;
984
+ name: z.ZodNullable<z.ZodString>;
985
+ }, z.core.$strip>>;
986
+ createdAt: z.ZodISODateTime;
987
+ }, z.core.$strip>>>;
988
+ rev: z.ZodInt;
989
+ rights: z.ZodObject<{
990
+ update: z.ZodBoolean;
991
+ complete: z.ZodBoolean;
992
+ cancel: z.ZodBoolean;
993
+ }, z.core.$strip>;
994
+ }, z.core.$strip>>;
995
+ version: z.ZodInt;
996
+ rev: z.ZodInt;
997
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
998
+ rights: z.ZodObject<{
999
+ write: z.ZodBoolean;
1000
+ start: z.ZodBoolean;
1001
+ }, z.core.$strip>;
1002
+ }, z.core.$strip>;
1003
+ export type GoalDetail = z.infer<typeof GoalDetail>;
1004
+ export declare const GoalRunCreateInput: z.ZodObject<{
1005
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
1006
+ idempotencyKey: z.ZodString;
1007
+ }, z.core.$strict>;
1008
+ export type GoalRunCreateInput = z.infer<typeof GoalRunCreateInput>;
1009
+ export declare const GoalRunListInput: z.ZodObject<{
1010
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
1011
+ status: z.ZodOptional<z.ZodEnum<{
1012
+ running: "running";
1013
+ reached: "reached";
1014
+ missed: "missed";
1015
+ ended: "ended";
1016
+ }>>;
1017
+ cursor: z.ZodOptional<z.ZodString>;
1018
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1019
+ }, z.core.$strict>;
1020
+ export type GoalRunListInput = z.infer<typeof GoalRunListInput>;
1021
+ export declare const GoalRunList: z.ZodObject<{
1022
+ items: z.ZodArray<z.ZodObject<{
1023
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
1024
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
1025
+ status: z.ZodEnum<{
1026
+ running: "running";
1027
+ reached: "reached";
1028
+ missed: "missed";
1029
+ ended: "ended";
1030
+ }>;
1031
+ trigger: z.ZodEnum<{
1032
+ rhythm: "rhythm";
1033
+ play: "play";
1034
+ }>;
1035
+ dueAt: z.ZodNullable<z.ZodISODateTime>;
1036
+ startedAt: z.ZodISODateTime;
1037
+ startedBy: z.ZodNullable<z.ZodObject<{
1038
+ userId: z.ZodString;
1039
+ name: z.ZodNullable<z.ZodString>;
1040
+ kind: z.ZodNullable<z.ZodEnum<{
1041
+ machine: "machine";
1042
+ human: "human";
1043
+ }>>;
1044
+ }, z.core.$strip>>;
1045
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
1046
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
1047
+ completedBy: z.ZodNullable<z.ZodObject<{
1048
+ userId: z.ZodString;
1049
+ name: z.ZodNullable<z.ZodString>;
1050
+ kind: z.ZodNullable<z.ZodEnum<{
1051
+ machine: "machine";
1052
+ human: "human";
1053
+ }>>;
1054
+ }, z.core.$strip>>;
1055
+ goalVersion: z.ZodInt;
1056
+ steps: z.ZodObject<{
1057
+ done: z.ZodInt;
1058
+ total: z.ZodInt;
1059
+ }, z.core.$strip>;
1060
+ sessions: z.ZodInt;
1061
+ spentUsd: z.ZodNumber;
1062
+ budgetUsd: z.ZodNullable<z.ZodNumber>;
1063
+ summary: z.ZodNullable<z.ZodString>;
1064
+ skipped: z.ZodArray<z.ZodISODateTime>;
1065
+ }, z.core.$strip>>;
1066
+ nextCursor: z.ZodNullable<z.ZodString>;
1067
+ }, z.core.$strip>;
1068
+ export type GoalRunList = z.infer<typeof GoalRunList>;
1069
+ export declare const GoalRunGetInput: z.ZodObject<{
1070
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
1071
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
1072
+ }, z.core.$strict>;
1073
+ export type GoalRunGetInput = z.infer<typeof GoalRunGetInput>;
1074
+ export declare const GoalRunUpdateInput: z.ZodObject<{
1075
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
1076
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
1077
+ plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
1078
+ title: z.ZodString;
1079
+ how: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1080
+ result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
+ done: z.ZodOptional<z.ZodBoolean>;
1082
+ taskId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>>;
1083
+ }, z.core.$strict>>>;
1084
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
+ followUp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1086
+ at: z.ZodISODateTime;
1087
+ text: z.ZodString;
1088
+ }, z.core.$strict>>>;
1089
+ note: z.ZodOptional<z.ZodString>;
1090
+ rev: z.ZodNumber;
1091
+ }, z.core.$strict>;
1092
+ export type GoalRunUpdateInput = z.infer<typeof GoalRunUpdateInput>;
1093
+ export declare const GoalRunCompleteInput: z.ZodObject<{
1094
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
1095
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
1096
+ status: z.ZodEnum<{
1097
+ reached: "reached";
1098
+ missed: "missed";
1099
+ }>;
1100
+ report: z.ZodObject<{
1101
+ result: z.ZodString;
1102
+ changed: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1103
+ open: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1104
+ learned: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1105
+ participants: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1106
+ frame: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1107
+ }, z.core.$strict>;
1108
+ }, z.core.$strict>;
1109
+ export type GoalRunCompleteInput = z.infer<typeof GoalRunCompleteInput>;
1110
+ export declare const GoalRunCancelInput: z.ZodObject<{
1111
+ goalId: z.ZodTemplateLiteral<`node_${string}`>;
1112
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
1113
+ report: z.ZodOptional<z.ZodBoolean>;
1114
+ }, z.core.$strict>;
1115
+ export type GoalRunCancelInput = z.infer<typeof GoalRunCancelInput>;