@anchrd/colab-sdk 0.0.0-stage → 0.1.1

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 (94) hide show
  1. package/README.md +65 -2
  2. package/dist/actions/actions.d.ts +810 -0
  3. package/dist/actions/actions.js +177 -0
  4. package/dist/admin-mode.d.ts +2 -0
  5. package/dist/admin-mode.js +5 -0
  6. package/dist/apps/apps.d.ts +108 -0
  7. package/dist/apps/apps.js +73 -0
  8. package/dist/archive/archive.d.ts +25 -0
  9. package/dist/archive/archive.js +27 -0
  10. package/dist/auth/auth.d.ts +27 -0
  11. package/dist/auth/auth.js +22 -0
  12. package/dist/authorization/authorization.d.ts +36 -0
  13. package/dist/authorization/authorization.js +23 -0
  14. package/dist/boards/boards.d.ts +612 -0
  15. package/dist/boards/boards.js +289 -0
  16. package/dist/columns/columns.d.ts +28 -0
  17. package/dist/columns/columns.js +28 -0
  18. package/dist/connections/connections.d.ts +149 -0
  19. package/dist/connections/connections.js +74 -0
  20. package/dist/connectors/connectors.d.ts +148 -0
  21. package/dist/connectors/connectors.js +83 -0
  22. package/dist/dashboards/dashboards.d.ts +221 -0
  23. package/dist/dashboards/dashboards.js +520 -0
  24. package/dist/directory/directory.d.ts +20 -0
  25. package/dist/directory/directory.js +18 -0
  26. package/dist/documents/documents.d.ts +61 -0
  27. package/dist/documents/documents.js +58 -0
  28. package/dist/error/error.d.ts +34 -0
  29. package/dist/error/error.js +30 -0
  30. package/dist/events/events.d.ts +104 -0
  31. package/dist/events/events.js +69 -0
  32. package/dist/files/files.d.ts +60 -0
  33. package/dist/files/files.js +139 -0
  34. package/dist/functions/functions.d.ts +26 -0
  35. package/dist/functions/functions.js +28 -0
  36. package/dist/grammar/grammar.d.ts +62 -0
  37. package/dist/grammar/grammar.js +197 -0
  38. package/dist/grants/grants.d.ts +93 -0
  39. package/dist/grants/grants.js +66 -0
  40. package/dist/ids/ids.d.ts +5 -0
  41. package/dist/ids/ids.js +12 -0
  42. package/dist/instructions/instructions.d.ts +19 -0
  43. package/dist/instructions/instructions.js +35 -0
  44. package/dist/interfaces/interfaces.d.ts +41 -0
  45. package/dist/interfaces/interfaces.js +52 -0
  46. package/dist/invitations/invitations.d.ts +98 -0
  47. package/dist/invitations/invitations.js +58 -0
  48. package/dist/links/links.d.ts +76 -0
  49. package/dist/links/links.js +73 -0
  50. package/dist/list-input.d.ts +3 -0
  51. package/dist/list-input.js +11 -0
  52. package/dist/machines/machines.d.ts +69 -0
  53. package/dist/machines/machines.js +39 -0
  54. package/dist/messages/messages.d.ts +117 -0
  55. package/dist/messages/messages.js +77 -0
  56. package/dist/nodes/nodes.d.ts +673 -0
  57. package/dist/nodes/nodes.js +354 -0
  58. package/dist/operators/operators.d.ts +898 -0
  59. package/dist/operators/operators.js +398 -0
  60. package/dist/pages/pages.d.ts +89 -0
  61. package/dist/pages/pages.js +62 -0
  62. package/dist/primitives/primitives.d.ts +5 -0
  63. package/dist/primitives/primitives.js +19 -0
  64. package/dist/profile/profile.d.ts +37 -0
  65. package/dist/profile/profile.js +43 -0
  66. package/dist/roles/roles.d.ts +135 -0
  67. package/dist/roles/roles.js +87 -0
  68. package/dist/runs/runs.d.ts +244 -0
  69. package/dist/runs/runs.js +137 -0
  70. package/dist/runtime-config.d.ts +12 -0
  71. package/dist/runtime-config.js +18 -0
  72. package/dist/sdk.d.ts +45 -0
  73. package/dist/sdk.js +48 -0
  74. package/dist/secrets/secrets.d.ts +65 -0
  75. package/dist/secrets/secrets.js +57 -0
  76. package/dist/service-client/service-client.d.ts +35 -0
  77. package/dist/service-client/service-client.js +90 -0
  78. package/dist/services/services.d.ts +122 -0
  79. package/dist/services/services.js +89 -0
  80. package/dist/sso/sso.d.ts +70 -0
  81. package/dist/sso/sso.js +54 -0
  82. package/dist/tables/tables.d.ts +133 -0
  83. package/dist/tables/tables.js +131 -0
  84. package/dist/tool.d.ts +31 -0
  85. package/dist/tool.js +4 -0
  86. package/dist/user-settings/user-settings.d.ts +44 -0
  87. package/dist/user-settings/user-settings.js +44 -0
  88. package/dist/users/users.d.ts +254 -0
  89. package/dist/users/users.js +125 -0
  90. package/dist/validation/validation.d.ts +106 -0
  91. package/dist/validation/validation.js +41 -0
  92. package/dist/versions/versions.d.ts +100 -0
  93. package/dist/versions/versions.js +70 -0
  94. package/package.json +27 -4
@@ -0,0 +1,810 @@
1
+ import { z } from "zod";
2
+ export declare const actionFilters: readonly ["all", "tasks", "chats"];
3
+ export declare const ActionListInput: z.ZodObject<{
4
+ filter: z.ZodOptional<z.ZodEnum<{
5
+ tasks: "tasks";
6
+ chats: "chats";
7
+ all: "all";
8
+ }>>;
9
+ userId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
10
+ cursor: z.ZodOptional<z.ZodString>;
11
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
12
+ }, z.core.$strict>;
13
+ export type ActionListInput = z.infer<typeof ActionListInput>;
14
+ export declare const ActionSection: z.ZodEnum<{
15
+ progress: "progress";
16
+ waiting: "waiting";
17
+ }>;
18
+ export type ActionSection = z.infer<typeof ActionSection>;
19
+ export declare const ActionTask: z.ZodObject<{
20
+ column: z.ZodObject<{
21
+ columnId: z.ZodTemplateLiteral<`column_${string}`>;
22
+ name: z.ZodString;
23
+ type: z.ZodEnum<{
24
+ backlog: "backlog";
25
+ open: "open";
26
+ progress: "progress";
27
+ done: "done";
28
+ discarded: "discarded";
29
+ blocked: "blocked";
30
+ archive: "archive";
31
+ }>;
32
+ }, z.core.$strict>;
33
+ buttons: z.ZodArray<z.ZodObject<{
34
+ columnId: z.ZodTemplateLiteral<`column_${string}`>;
35
+ name: z.ZodString;
36
+ type: z.ZodEnum<{
37
+ backlog: "backlog";
38
+ open: "open";
39
+ progress: "progress";
40
+ done: "done";
41
+ discarded: "discarded";
42
+ blocked: "blocked";
43
+ archive: "archive";
44
+ }>;
45
+ }, z.core.$strict>>;
46
+ handedOver: z.ZodBoolean;
47
+ }, z.core.$strict>;
48
+ export type ActionTask = z.infer<typeof ActionTask>;
49
+ export declare const ActionChat: z.ZodObject<{
50
+ unreadCount: z.ZodNumber;
51
+ lastMessage: z.ZodObject<{
52
+ messageId: z.ZodTemplateLiteral<`message_${string}`>;
53
+ author: z.ZodObject<{
54
+ userId: z.ZodString;
55
+ name: z.ZodNullable<z.ZodString>;
56
+ kind: z.ZodNullable<z.ZodEnum<{
57
+ machine: "machine";
58
+ human: "human";
59
+ }>>;
60
+ machine: z.ZodNullable<z.ZodObject<{
61
+ kind: z.ZodEnum<{
62
+ operator: "operator";
63
+ external: "external";
64
+ }>;
65
+ provider: z.ZodNullable<z.ZodEnum<{
66
+ claude: "claude";
67
+ codex: "codex";
68
+ gemini: "gemini";
69
+ }>>;
70
+ }, z.core.$strict>>;
71
+ appHandle: z.ZodNullable<z.ZodString>;
72
+ }, z.core.$strict>;
73
+ line: z.ZodString;
74
+ createdAt: z.ZodISODateTime;
75
+ }, z.core.$strict>;
76
+ }, z.core.$strict>;
77
+ export type ActionChat = z.infer<typeof ActionChat>;
78
+ export declare const ActionProcess: z.ZodObject<{
79
+ kind: z.ZodEnum<{
80
+ board: "board";
81
+ dashboard: "dashboard";
82
+ }>;
83
+ dueAt: z.ZodISODateTime;
84
+ }, z.core.$strict>;
85
+ export type ActionProcess = z.infer<typeof ActionProcess>;
86
+ export declare const ActionRun: z.ZodObject<{
87
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
88
+ status: z.ZodEnum<{
89
+ error: "error";
90
+ open: "open";
91
+ done: "done";
92
+ running: "running";
93
+ }>;
94
+ entries: z.ZodNullable<z.ZodArray<z.ZodString>>;
95
+ }, z.core.$strict>;
96
+ export type ActionRun = z.infer<typeof ActionRun>;
97
+ export declare const ActionItem: z.ZodObject<{
98
+ node: z.ZodObject<{
99
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
100
+ kind: z.ZodEnum<{
101
+ file: "file";
102
+ folder: "folder";
103
+ document: "document";
104
+ table: "table";
105
+ board: "board";
106
+ task: "task";
107
+ dashboard: "dashboard";
108
+ }>;
109
+ name: z.ZodString;
110
+ path: z.ZodObject<{
111
+ section: z.ZodEnum<{
112
+ users: "users";
113
+ own: "own";
114
+ shared: "shared";
115
+ }>;
116
+ items: z.ZodArray<z.ZodObject<{
117
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
118
+ name: z.ZodString;
119
+ }, z.core.$strict>>;
120
+ }, z.core.$strict>;
121
+ status: z.ZodNullable<z.ZodEnum<{
122
+ backlog: "backlog";
123
+ open: "open";
124
+ progress: "progress";
125
+ done: "done";
126
+ discarded: "discarded";
127
+ blocked: "blocked";
128
+ archive: "archive";
129
+ }>>;
130
+ boardKind: z.ZodNullable<z.ZodEnum<{
131
+ board: "board";
132
+ validation: "validation";
133
+ process: "process";
134
+ }>>;
135
+ }, z.core.$strict>;
136
+ section: z.ZodEnum<{
137
+ progress: "progress";
138
+ waiting: "waiting";
139
+ }>;
140
+ since: z.ZodISODateTime;
141
+ task: z.ZodNullable<z.ZodObject<{
142
+ column: z.ZodObject<{
143
+ columnId: z.ZodTemplateLiteral<`column_${string}`>;
144
+ name: z.ZodString;
145
+ type: z.ZodEnum<{
146
+ backlog: "backlog";
147
+ open: "open";
148
+ progress: "progress";
149
+ done: "done";
150
+ discarded: "discarded";
151
+ blocked: "blocked";
152
+ archive: "archive";
153
+ }>;
154
+ }, z.core.$strict>;
155
+ buttons: z.ZodArray<z.ZodObject<{
156
+ columnId: z.ZodTemplateLiteral<`column_${string}`>;
157
+ name: z.ZodString;
158
+ type: z.ZodEnum<{
159
+ backlog: "backlog";
160
+ open: "open";
161
+ progress: "progress";
162
+ done: "done";
163
+ discarded: "discarded";
164
+ blocked: "blocked";
165
+ archive: "archive";
166
+ }>;
167
+ }, z.core.$strict>>;
168
+ handedOver: z.ZodBoolean;
169
+ }, z.core.$strict>>;
170
+ chat: z.ZodNullable<z.ZodObject<{
171
+ unreadCount: z.ZodNumber;
172
+ lastMessage: z.ZodObject<{
173
+ messageId: z.ZodTemplateLiteral<`message_${string}`>;
174
+ author: z.ZodObject<{
175
+ userId: z.ZodString;
176
+ name: z.ZodNullable<z.ZodString>;
177
+ kind: z.ZodNullable<z.ZodEnum<{
178
+ machine: "machine";
179
+ human: "human";
180
+ }>>;
181
+ machine: z.ZodNullable<z.ZodObject<{
182
+ kind: z.ZodEnum<{
183
+ operator: "operator";
184
+ external: "external";
185
+ }>;
186
+ provider: z.ZodNullable<z.ZodEnum<{
187
+ claude: "claude";
188
+ codex: "codex";
189
+ gemini: "gemini";
190
+ }>>;
191
+ }, z.core.$strict>>;
192
+ appHandle: z.ZodNullable<z.ZodString>;
193
+ }, z.core.$strict>;
194
+ line: z.ZodString;
195
+ createdAt: z.ZodISODateTime;
196
+ }, z.core.$strict>;
197
+ }, z.core.$strict>>;
198
+ process: z.ZodNullable<z.ZodObject<{
199
+ kind: z.ZodEnum<{
200
+ board: "board";
201
+ dashboard: "dashboard";
202
+ }>;
203
+ dueAt: z.ZodISODateTime;
204
+ }, z.core.$strict>>;
205
+ run: z.ZodNullable<z.ZodObject<{
206
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
207
+ status: z.ZodEnum<{
208
+ error: "error";
209
+ open: "open";
210
+ done: "done";
211
+ running: "running";
212
+ }>;
213
+ entries: z.ZodNullable<z.ZodArray<z.ZodString>>;
214
+ }, z.core.$strict>>;
215
+ }, z.core.$strict>;
216
+ export type ActionItem = z.infer<typeof ActionItem>;
217
+ export declare const ActionNoticeKind: z.ZodEnum<{
218
+ credential: "credential";
219
+ paused: "paused";
220
+ }>;
221
+ export type ActionNoticeKind = z.infer<typeof ActionNoticeKind>;
222
+ export declare const ActionNoticeTitle: z.ZodDiscriminatedUnion<[z.ZodObject<{
223
+ text: z.ZodLiteral<"credentialInvalid">;
224
+ name: z.ZodString;
225
+ }, z.core.$strict>, z.ZodObject<{
226
+ text: z.ZodLiteral<"pausedLimit">;
227
+ }, z.core.$strict>, z.ZodObject<{
228
+ text: z.ZodLiteral<"pausedFailures">;
229
+ failures: z.ZodNumber;
230
+ }, z.core.$strict>], "text">;
231
+ export type ActionNoticeTitle = z.infer<typeof ActionNoticeTitle>;
232
+ export declare const ActionNoticeCrumb: z.ZodUnion<readonly [z.ZodObject<{
233
+ word: z.ZodEnum<{
234
+ access: "access";
235
+ operator: "operator";
236
+ settings: "settings";
237
+ }>;
238
+ }, z.core.$strict>, z.ZodObject<{
239
+ name: z.ZodString;
240
+ }, z.core.$strict>]>;
241
+ export type ActionNoticeCrumb = z.infer<typeof ActionNoticeCrumb>;
242
+ export declare const ActionNoticeReason: z.ZodObject<{
243
+ author: z.ZodObject<{
244
+ name: z.ZodString;
245
+ kind: z.ZodEnum<{
246
+ machine: "machine";
247
+ provider: "provider";
248
+ }>;
249
+ }, z.core.$strict>;
250
+ line: z.ZodDiscriminatedUnion<[z.ZodObject<{
251
+ text: z.ZodLiteral<"credentialRefused">;
252
+ since: z.ZodISODateTime;
253
+ paused: z.ZodArray<z.ZodString>;
254
+ }, z.core.$strict>, z.ZodObject<{
255
+ text: z.ZodLiteral<"limitReached">;
256
+ runs: z.ZodNumber;
257
+ limit: z.ZodNumber;
258
+ until: z.ZodISODateTime;
259
+ }, z.core.$strict>, z.ZodObject<{
260
+ text: z.ZodLiteral<"lastFailure">;
261
+ at: z.ZodNullable<z.ZodISODateTime>;
262
+ detail: z.ZodNullable<z.ZodString>;
263
+ }, z.core.$strict>], "text">;
264
+ }, z.core.$strict>;
265
+ export type ActionNoticeReason = z.infer<typeof ActionNoticeReason>;
266
+ export declare const ActionNoticeButton: z.ZodObject<{
267
+ label: z.ZodEnum<{
268
+ replaceCredential: "replaceCredential";
269
+ resume: "resume";
270
+ changeLimit: "changeLimit";
271
+ viewLog: "viewLog";
272
+ }>;
273
+ href: z.ZodString;
274
+ }, z.core.$strict>;
275
+ export type ActionNoticeButton = z.infer<typeof ActionNoticeButton>;
276
+ export declare const ActionNotice: z.ZodObject<{
277
+ package: z.ZodEnum<{
278
+ intelligence: "intelligence";
279
+ access: "access";
280
+ connectors: "connectors";
281
+ documentation: "documentation";
282
+ mail: "mail";
283
+ operator: "operator";
284
+ }>;
285
+ noticeKey: z.ZodString;
286
+ kind: z.ZodEnum<{
287
+ credential: "credential";
288
+ paused: "paused";
289
+ }>;
290
+ title: z.ZodDiscriminatedUnion<[z.ZodObject<{
291
+ text: z.ZodLiteral<"credentialInvalid">;
292
+ name: z.ZodString;
293
+ }, z.core.$strict>, z.ZodObject<{
294
+ text: z.ZodLiteral<"pausedLimit">;
295
+ }, z.core.$strict>, z.ZodObject<{
296
+ text: z.ZodLiteral<"pausedFailures">;
297
+ failures: z.ZodNumber;
298
+ }, z.core.$strict>], "text">;
299
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
300
+ word: z.ZodEnum<{
301
+ access: "access";
302
+ operator: "operator";
303
+ settings: "settings";
304
+ }>;
305
+ }, z.core.$strict>, z.ZodObject<{
306
+ name: z.ZodString;
307
+ }, z.core.$strict>]>>;
308
+ reason: z.ZodObject<{
309
+ author: z.ZodObject<{
310
+ name: z.ZodString;
311
+ kind: z.ZodEnum<{
312
+ machine: "machine";
313
+ provider: "provider";
314
+ }>;
315
+ }, z.core.$strict>;
316
+ line: z.ZodDiscriminatedUnion<[z.ZodObject<{
317
+ text: z.ZodLiteral<"credentialRefused">;
318
+ since: z.ZodISODateTime;
319
+ paused: z.ZodArray<z.ZodString>;
320
+ }, z.core.$strict>, z.ZodObject<{
321
+ text: z.ZodLiteral<"limitReached">;
322
+ runs: z.ZodNumber;
323
+ limit: z.ZodNumber;
324
+ until: z.ZodISODateTime;
325
+ }, z.core.$strict>, z.ZodObject<{
326
+ text: z.ZodLiteral<"lastFailure">;
327
+ at: z.ZodNullable<z.ZodISODateTime>;
328
+ detail: z.ZodNullable<z.ZodString>;
329
+ }, z.core.$strict>], "text">;
330
+ }, z.core.$strict>;
331
+ href: z.ZodString;
332
+ buttons: z.ZodArray<z.ZodObject<{
333
+ label: z.ZodEnum<{
334
+ replaceCredential: "replaceCredential";
335
+ resume: "resume";
336
+ changeLimit: "changeLimit";
337
+ viewLog: "viewLog";
338
+ }>;
339
+ href: z.ZodString;
340
+ }, z.core.$strict>>;
341
+ }, z.core.$strict>;
342
+ export type ActionNotice = z.infer<typeof ActionNotice>;
343
+ export declare const ActionNoticeItem: z.ZodObject<{
344
+ notice: z.ZodObject<{
345
+ package: z.ZodEnum<{
346
+ intelligence: "intelligence";
347
+ access: "access";
348
+ connectors: "connectors";
349
+ documentation: "documentation";
350
+ mail: "mail";
351
+ operator: "operator";
352
+ }>;
353
+ noticeKey: z.ZodString;
354
+ kind: z.ZodEnum<{
355
+ credential: "credential";
356
+ paused: "paused";
357
+ }>;
358
+ title: z.ZodDiscriminatedUnion<[z.ZodObject<{
359
+ text: z.ZodLiteral<"credentialInvalid">;
360
+ name: z.ZodString;
361
+ }, z.core.$strict>, z.ZodObject<{
362
+ text: z.ZodLiteral<"pausedLimit">;
363
+ }, z.core.$strict>, z.ZodObject<{
364
+ text: z.ZodLiteral<"pausedFailures">;
365
+ failures: z.ZodNumber;
366
+ }, z.core.$strict>], "text">;
367
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
368
+ word: z.ZodEnum<{
369
+ access: "access";
370
+ operator: "operator";
371
+ settings: "settings";
372
+ }>;
373
+ }, z.core.$strict>, z.ZodObject<{
374
+ name: z.ZodString;
375
+ }, z.core.$strict>]>>;
376
+ reason: z.ZodObject<{
377
+ author: z.ZodObject<{
378
+ name: z.ZodString;
379
+ kind: z.ZodEnum<{
380
+ machine: "machine";
381
+ provider: "provider";
382
+ }>;
383
+ }, z.core.$strict>;
384
+ line: z.ZodDiscriminatedUnion<[z.ZodObject<{
385
+ text: z.ZodLiteral<"credentialRefused">;
386
+ since: z.ZodISODateTime;
387
+ paused: z.ZodArray<z.ZodString>;
388
+ }, z.core.$strict>, z.ZodObject<{
389
+ text: z.ZodLiteral<"limitReached">;
390
+ runs: z.ZodNumber;
391
+ limit: z.ZodNumber;
392
+ until: z.ZodISODateTime;
393
+ }, z.core.$strict>, z.ZodObject<{
394
+ text: z.ZodLiteral<"lastFailure">;
395
+ at: z.ZodNullable<z.ZodISODateTime>;
396
+ detail: z.ZodNullable<z.ZodString>;
397
+ }, z.core.$strict>], "text">;
398
+ }, z.core.$strict>;
399
+ href: z.ZodString;
400
+ buttons: z.ZodArray<z.ZodObject<{
401
+ label: z.ZodEnum<{
402
+ replaceCredential: "replaceCredential";
403
+ resume: "resume";
404
+ changeLimit: "changeLimit";
405
+ viewLog: "viewLog";
406
+ }>;
407
+ href: z.ZodString;
408
+ }, z.core.$strict>>;
409
+ }, z.core.$strict>;
410
+ section: z.ZodEnum<{
411
+ progress: "progress";
412
+ waiting: "waiting";
413
+ }>;
414
+ since: z.ZodISODateTime;
415
+ }, z.core.$strict>;
416
+ export type ActionNoticeItem = z.infer<typeof ActionNoticeItem>;
417
+ export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
418
+ node: z.ZodObject<{
419
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
420
+ kind: z.ZodEnum<{
421
+ file: "file";
422
+ folder: "folder";
423
+ document: "document";
424
+ table: "table";
425
+ board: "board";
426
+ task: "task";
427
+ dashboard: "dashboard";
428
+ }>;
429
+ name: z.ZodString;
430
+ path: z.ZodObject<{
431
+ section: z.ZodEnum<{
432
+ users: "users";
433
+ own: "own";
434
+ shared: "shared";
435
+ }>;
436
+ items: z.ZodArray<z.ZodObject<{
437
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
438
+ name: z.ZodString;
439
+ }, z.core.$strict>>;
440
+ }, z.core.$strict>;
441
+ status: z.ZodNullable<z.ZodEnum<{
442
+ backlog: "backlog";
443
+ open: "open";
444
+ progress: "progress";
445
+ done: "done";
446
+ discarded: "discarded";
447
+ blocked: "blocked";
448
+ archive: "archive";
449
+ }>>;
450
+ boardKind: z.ZodNullable<z.ZodEnum<{
451
+ board: "board";
452
+ validation: "validation";
453
+ process: "process";
454
+ }>>;
455
+ }, z.core.$strict>;
456
+ section: z.ZodEnum<{
457
+ progress: "progress";
458
+ waiting: "waiting";
459
+ }>;
460
+ since: z.ZodISODateTime;
461
+ task: z.ZodNullable<z.ZodObject<{
462
+ column: z.ZodObject<{
463
+ columnId: z.ZodTemplateLiteral<`column_${string}`>;
464
+ name: z.ZodString;
465
+ type: z.ZodEnum<{
466
+ backlog: "backlog";
467
+ open: "open";
468
+ progress: "progress";
469
+ done: "done";
470
+ discarded: "discarded";
471
+ blocked: "blocked";
472
+ archive: "archive";
473
+ }>;
474
+ }, z.core.$strict>;
475
+ buttons: z.ZodArray<z.ZodObject<{
476
+ columnId: z.ZodTemplateLiteral<`column_${string}`>;
477
+ name: z.ZodString;
478
+ type: z.ZodEnum<{
479
+ backlog: "backlog";
480
+ open: "open";
481
+ progress: "progress";
482
+ done: "done";
483
+ discarded: "discarded";
484
+ blocked: "blocked";
485
+ archive: "archive";
486
+ }>;
487
+ }, z.core.$strict>>;
488
+ handedOver: z.ZodBoolean;
489
+ }, z.core.$strict>>;
490
+ chat: z.ZodNullable<z.ZodObject<{
491
+ unreadCount: z.ZodNumber;
492
+ lastMessage: z.ZodObject<{
493
+ messageId: z.ZodTemplateLiteral<`message_${string}`>;
494
+ author: z.ZodObject<{
495
+ userId: z.ZodString;
496
+ name: z.ZodNullable<z.ZodString>;
497
+ kind: z.ZodNullable<z.ZodEnum<{
498
+ machine: "machine";
499
+ human: "human";
500
+ }>>;
501
+ machine: z.ZodNullable<z.ZodObject<{
502
+ kind: z.ZodEnum<{
503
+ operator: "operator";
504
+ external: "external";
505
+ }>;
506
+ provider: z.ZodNullable<z.ZodEnum<{
507
+ claude: "claude";
508
+ codex: "codex";
509
+ gemini: "gemini";
510
+ }>>;
511
+ }, z.core.$strict>>;
512
+ appHandle: z.ZodNullable<z.ZodString>;
513
+ }, z.core.$strict>;
514
+ line: z.ZodString;
515
+ createdAt: z.ZodISODateTime;
516
+ }, z.core.$strict>;
517
+ }, z.core.$strict>>;
518
+ process: z.ZodNullable<z.ZodObject<{
519
+ kind: z.ZodEnum<{
520
+ board: "board";
521
+ dashboard: "dashboard";
522
+ }>;
523
+ dueAt: z.ZodISODateTime;
524
+ }, z.core.$strict>>;
525
+ run: z.ZodNullable<z.ZodObject<{
526
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
527
+ status: z.ZodEnum<{
528
+ error: "error";
529
+ open: "open";
530
+ done: "done";
531
+ running: "running";
532
+ }>;
533
+ entries: z.ZodNullable<z.ZodArray<z.ZodString>>;
534
+ }, z.core.$strict>>;
535
+ }, z.core.$strict>, z.ZodObject<{
536
+ notice: z.ZodObject<{
537
+ package: z.ZodEnum<{
538
+ intelligence: "intelligence";
539
+ access: "access";
540
+ connectors: "connectors";
541
+ documentation: "documentation";
542
+ mail: "mail";
543
+ operator: "operator";
544
+ }>;
545
+ noticeKey: z.ZodString;
546
+ kind: z.ZodEnum<{
547
+ credential: "credential";
548
+ paused: "paused";
549
+ }>;
550
+ title: z.ZodDiscriminatedUnion<[z.ZodObject<{
551
+ text: z.ZodLiteral<"credentialInvalid">;
552
+ name: z.ZodString;
553
+ }, z.core.$strict>, z.ZodObject<{
554
+ text: z.ZodLiteral<"pausedLimit">;
555
+ }, z.core.$strict>, z.ZodObject<{
556
+ text: z.ZodLiteral<"pausedFailures">;
557
+ failures: z.ZodNumber;
558
+ }, z.core.$strict>], "text">;
559
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
560
+ word: z.ZodEnum<{
561
+ access: "access";
562
+ operator: "operator";
563
+ settings: "settings";
564
+ }>;
565
+ }, z.core.$strict>, z.ZodObject<{
566
+ name: z.ZodString;
567
+ }, z.core.$strict>]>>;
568
+ reason: z.ZodObject<{
569
+ author: z.ZodObject<{
570
+ name: z.ZodString;
571
+ kind: z.ZodEnum<{
572
+ machine: "machine";
573
+ provider: "provider";
574
+ }>;
575
+ }, z.core.$strict>;
576
+ line: z.ZodDiscriminatedUnion<[z.ZodObject<{
577
+ text: z.ZodLiteral<"credentialRefused">;
578
+ since: z.ZodISODateTime;
579
+ paused: z.ZodArray<z.ZodString>;
580
+ }, z.core.$strict>, z.ZodObject<{
581
+ text: z.ZodLiteral<"limitReached">;
582
+ runs: z.ZodNumber;
583
+ limit: z.ZodNumber;
584
+ until: z.ZodISODateTime;
585
+ }, z.core.$strict>, z.ZodObject<{
586
+ text: z.ZodLiteral<"lastFailure">;
587
+ at: z.ZodNullable<z.ZodISODateTime>;
588
+ detail: z.ZodNullable<z.ZodString>;
589
+ }, z.core.$strict>], "text">;
590
+ }, z.core.$strict>;
591
+ href: z.ZodString;
592
+ buttons: z.ZodArray<z.ZodObject<{
593
+ label: z.ZodEnum<{
594
+ replaceCredential: "replaceCredential";
595
+ resume: "resume";
596
+ changeLimit: "changeLimit";
597
+ viewLog: "viewLog";
598
+ }>;
599
+ href: z.ZodString;
600
+ }, z.core.$strict>>;
601
+ }, z.core.$strict>;
602
+ section: z.ZodEnum<{
603
+ progress: "progress";
604
+ waiting: "waiting";
605
+ }>;
606
+ since: z.ZodISODateTime;
607
+ }, z.core.$strict>]>;
608
+ export type ActionRow = z.infer<typeof ActionRow>;
609
+ export declare function isNodeRow(row: ActionRow): row is ActionItem;
610
+ export declare const ActionList: z.ZodObject<{
611
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
612
+ node: z.ZodObject<{
613
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
614
+ kind: z.ZodEnum<{
615
+ file: "file";
616
+ folder: "folder";
617
+ document: "document";
618
+ table: "table";
619
+ board: "board";
620
+ task: "task";
621
+ dashboard: "dashboard";
622
+ }>;
623
+ name: z.ZodString;
624
+ path: z.ZodObject<{
625
+ section: z.ZodEnum<{
626
+ users: "users";
627
+ own: "own";
628
+ shared: "shared";
629
+ }>;
630
+ items: z.ZodArray<z.ZodObject<{
631
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
632
+ name: z.ZodString;
633
+ }, z.core.$strict>>;
634
+ }, z.core.$strict>;
635
+ status: z.ZodNullable<z.ZodEnum<{
636
+ backlog: "backlog";
637
+ open: "open";
638
+ progress: "progress";
639
+ done: "done";
640
+ discarded: "discarded";
641
+ blocked: "blocked";
642
+ archive: "archive";
643
+ }>>;
644
+ boardKind: z.ZodNullable<z.ZodEnum<{
645
+ board: "board";
646
+ validation: "validation";
647
+ process: "process";
648
+ }>>;
649
+ }, z.core.$strict>;
650
+ section: z.ZodEnum<{
651
+ progress: "progress";
652
+ waiting: "waiting";
653
+ }>;
654
+ since: z.ZodISODateTime;
655
+ task: z.ZodNullable<z.ZodObject<{
656
+ column: z.ZodObject<{
657
+ columnId: z.ZodTemplateLiteral<`column_${string}`>;
658
+ name: z.ZodString;
659
+ type: z.ZodEnum<{
660
+ backlog: "backlog";
661
+ open: "open";
662
+ progress: "progress";
663
+ done: "done";
664
+ discarded: "discarded";
665
+ blocked: "blocked";
666
+ archive: "archive";
667
+ }>;
668
+ }, z.core.$strict>;
669
+ buttons: z.ZodArray<z.ZodObject<{
670
+ columnId: z.ZodTemplateLiteral<`column_${string}`>;
671
+ name: z.ZodString;
672
+ type: z.ZodEnum<{
673
+ backlog: "backlog";
674
+ open: "open";
675
+ progress: "progress";
676
+ done: "done";
677
+ discarded: "discarded";
678
+ blocked: "blocked";
679
+ archive: "archive";
680
+ }>;
681
+ }, z.core.$strict>>;
682
+ handedOver: z.ZodBoolean;
683
+ }, z.core.$strict>>;
684
+ chat: z.ZodNullable<z.ZodObject<{
685
+ unreadCount: z.ZodNumber;
686
+ lastMessage: z.ZodObject<{
687
+ messageId: z.ZodTemplateLiteral<`message_${string}`>;
688
+ author: z.ZodObject<{
689
+ userId: z.ZodString;
690
+ name: z.ZodNullable<z.ZodString>;
691
+ kind: z.ZodNullable<z.ZodEnum<{
692
+ machine: "machine";
693
+ human: "human";
694
+ }>>;
695
+ machine: z.ZodNullable<z.ZodObject<{
696
+ kind: z.ZodEnum<{
697
+ operator: "operator";
698
+ external: "external";
699
+ }>;
700
+ provider: z.ZodNullable<z.ZodEnum<{
701
+ claude: "claude";
702
+ codex: "codex";
703
+ gemini: "gemini";
704
+ }>>;
705
+ }, z.core.$strict>>;
706
+ appHandle: z.ZodNullable<z.ZodString>;
707
+ }, z.core.$strict>;
708
+ line: z.ZodString;
709
+ createdAt: z.ZodISODateTime;
710
+ }, z.core.$strict>;
711
+ }, z.core.$strict>>;
712
+ process: z.ZodNullable<z.ZodObject<{
713
+ kind: z.ZodEnum<{
714
+ board: "board";
715
+ dashboard: "dashboard";
716
+ }>;
717
+ dueAt: z.ZodISODateTime;
718
+ }, z.core.$strict>>;
719
+ run: z.ZodNullable<z.ZodObject<{
720
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
721
+ status: z.ZodEnum<{
722
+ error: "error";
723
+ open: "open";
724
+ done: "done";
725
+ running: "running";
726
+ }>;
727
+ entries: z.ZodNullable<z.ZodArray<z.ZodString>>;
728
+ }, z.core.$strict>>;
729
+ }, z.core.$strict>, z.ZodObject<{
730
+ notice: z.ZodObject<{
731
+ package: z.ZodEnum<{
732
+ intelligence: "intelligence";
733
+ access: "access";
734
+ connectors: "connectors";
735
+ documentation: "documentation";
736
+ mail: "mail";
737
+ operator: "operator";
738
+ }>;
739
+ noticeKey: z.ZodString;
740
+ kind: z.ZodEnum<{
741
+ credential: "credential";
742
+ paused: "paused";
743
+ }>;
744
+ title: z.ZodDiscriminatedUnion<[z.ZodObject<{
745
+ text: z.ZodLiteral<"credentialInvalid">;
746
+ name: z.ZodString;
747
+ }, z.core.$strict>, z.ZodObject<{
748
+ text: z.ZodLiteral<"pausedLimit">;
749
+ }, z.core.$strict>, z.ZodObject<{
750
+ text: z.ZodLiteral<"pausedFailures">;
751
+ failures: z.ZodNumber;
752
+ }, z.core.$strict>], "text">;
753
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
754
+ word: z.ZodEnum<{
755
+ access: "access";
756
+ operator: "operator";
757
+ settings: "settings";
758
+ }>;
759
+ }, z.core.$strict>, z.ZodObject<{
760
+ name: z.ZodString;
761
+ }, z.core.$strict>]>>;
762
+ reason: z.ZodObject<{
763
+ author: z.ZodObject<{
764
+ name: z.ZodString;
765
+ kind: z.ZodEnum<{
766
+ machine: "machine";
767
+ provider: "provider";
768
+ }>;
769
+ }, z.core.$strict>;
770
+ line: z.ZodDiscriminatedUnion<[z.ZodObject<{
771
+ text: z.ZodLiteral<"credentialRefused">;
772
+ since: z.ZodISODateTime;
773
+ paused: z.ZodArray<z.ZodString>;
774
+ }, z.core.$strict>, z.ZodObject<{
775
+ text: z.ZodLiteral<"limitReached">;
776
+ runs: z.ZodNumber;
777
+ limit: z.ZodNumber;
778
+ until: z.ZodISODateTime;
779
+ }, z.core.$strict>, z.ZodObject<{
780
+ text: z.ZodLiteral<"lastFailure">;
781
+ at: z.ZodNullable<z.ZodISODateTime>;
782
+ detail: z.ZodNullable<z.ZodString>;
783
+ }, z.core.$strict>], "text">;
784
+ }, z.core.$strict>;
785
+ href: z.ZodString;
786
+ buttons: z.ZodArray<z.ZodObject<{
787
+ label: z.ZodEnum<{
788
+ replaceCredential: "replaceCredential";
789
+ resume: "resume";
790
+ changeLimit: "changeLimit";
791
+ viewLog: "viewLog";
792
+ }>;
793
+ href: z.ZodString;
794
+ }, z.core.$strict>>;
795
+ }, z.core.$strict>;
796
+ section: z.ZodEnum<{
797
+ progress: "progress";
798
+ waiting: "waiting";
799
+ }>;
800
+ since: z.ZodISODateTime;
801
+ }, z.core.$strict>]>>;
802
+ nextCursor: z.ZodNullable<z.ZodString>;
803
+ count: z.ZodNumber;
804
+ instructions: z.ZodOptional<z.ZodObject<{
805
+ path: z.ZodString;
806
+ status: z.ZodNullable<z.ZodString>;
807
+ markdown: z.ZodString;
808
+ }, z.core.$strict>>;
809
+ }, z.core.$strict>;
810
+ export type ActionList = z.infer<typeof ActionList>;