@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,673 @@
1
+ import { z } from "zod";
2
+ export declare const NodeId: z.ZodTemplateLiteral<`node_${string}`>;
3
+ export type NodeId = z.infer<typeof NodeId>;
4
+ export declare const SecretId: z.ZodTemplateLiteral<`secret_${string}`>;
5
+ export type SecretId = z.infer<typeof SecretId>;
6
+ export declare const SecretFields: {
7
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
8
+ locked: z.ZodOptional<z.ZodBoolean>;
9
+ };
10
+ export declare const nodeKinds: readonly ["folder", "document", "table", "board", "task", "dashboard", "file"];
11
+ export declare const NodeKind: z.ZodEnum<{
12
+ file: "file";
13
+ folder: "folder";
14
+ document: "document";
15
+ table: "table";
16
+ board: "board";
17
+ task: "task";
18
+ dashboard: "dashboard";
19
+ }>;
20
+ export type NodeKind = z.infer<typeof NodeKind>;
21
+ export declare const responsibleKinds: readonly ["document", "table", "file"];
22
+ export declare const BoardSystem: z.ZodEnum<{
23
+ validation: "validation";
24
+ }>;
25
+ export type BoardSystem = z.infer<typeof BoardSystem>;
26
+ export declare const BoardShownKind: z.ZodEnum<{
27
+ board: "board";
28
+ validation: "validation";
29
+ process: "process";
30
+ }>;
31
+ export type BoardShownKind = z.infer<typeof BoardShownKind>;
32
+ export declare const NodeSection: z.ZodEnum<{
33
+ users: "users";
34
+ own: "own";
35
+ shared: "shared";
36
+ }>;
37
+ export type NodeSection = z.infer<typeof NodeSection>;
38
+ export declare const NodeSort: z.ZodEnum<{
39
+ name: "name";
40
+ status: "status";
41
+ kind: "kind";
42
+ updated: "updated";
43
+ }>;
44
+ export type NodeSort = z.infer<typeof NodeSort>;
45
+ export declare const NodeQuery: z.ZodString;
46
+ export declare const NodeListInput: z.ZodObject<{
47
+ parentId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
48
+ section: z.ZodOptional<z.ZodEnum<{
49
+ users: "users";
50
+ own: "own";
51
+ shared: "shared";
52
+ }>>;
53
+ query: z.ZodOptional<z.ZodString>;
54
+ includeHidden: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
55
+ sort: z.ZodOptional<z.ZodEnum<{
56
+ name: "name";
57
+ status: "status";
58
+ kind: "kind";
59
+ updated: "updated";
60
+ }>>;
61
+ foldersFirst: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
62
+ cursor: z.ZodOptional<z.ZodString>;
63
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
64
+ archived: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
65
+ nodeIds: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>, unknown>>;
66
+ }, z.core.$strict>;
67
+ export type NodeListInput = z.infer<typeof NodeListInput>;
68
+ export declare const NodePerson: z.ZodObject<{
69
+ userId: z.ZodString;
70
+ name: z.ZodNullable<z.ZodString>;
71
+ kind: z.ZodNullable<z.ZodEnum<{
72
+ machine: "machine";
73
+ human: "human";
74
+ }>>;
75
+ }, z.core.$strict>;
76
+ export type NodePerson = z.infer<typeof NodePerson>;
77
+ export declare const NodePath: z.ZodObject<{
78
+ section: z.ZodEnum<{
79
+ users: "users";
80
+ own: "own";
81
+ shared: "shared";
82
+ }>;
83
+ items: z.ZodArray<z.ZodObject<{
84
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
85
+ name: z.ZodString;
86
+ }, z.core.$strict>>;
87
+ }, z.core.$strict>;
88
+ export type NodePath = z.infer<typeof NodePath>;
89
+ export declare const NodeListItem: z.ZodObject<{
90
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
91
+ kind: z.ZodEnum<{
92
+ file: "file";
93
+ folder: "folder";
94
+ document: "document";
95
+ table: "table";
96
+ board: "board";
97
+ task: "task";
98
+ dashboard: "dashboard";
99
+ }>;
100
+ name: z.ZodString;
101
+ hidden: z.ZodBoolean;
102
+ rootOf: z.ZodNullable<z.ZodString>;
103
+ rootImage: z.ZodNullable<z.ZodString>;
104
+ createdBy: z.ZodObject<{
105
+ userId: z.ZodString;
106
+ name: z.ZodNullable<z.ZodString>;
107
+ kind: z.ZodNullable<z.ZodEnum<{
108
+ machine: "machine";
109
+ human: "human";
110
+ }>>;
111
+ }, z.core.$strict>;
112
+ responsible: z.ZodNullable<z.ZodObject<{
113
+ userId: z.ZodString;
114
+ name: z.ZodNullable<z.ZodString>;
115
+ kind: z.ZodNullable<z.ZodEnum<{
116
+ machine: "machine";
117
+ human: "human";
118
+ }>>;
119
+ }, z.core.$strict>>;
120
+ size: z.ZodNullable<z.ZodNumber>;
121
+ updatedAt: z.ZodISODateTime;
122
+ sharedWith: z.ZodNumber;
123
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
124
+ status: z.ZodNullable<z.ZodEnum<{
125
+ backlog: "backlog";
126
+ open: "open";
127
+ progress: "progress";
128
+ done: "done";
129
+ discarded: "discarded";
130
+ blocked: "blocked";
131
+ archive: "archive";
132
+ }>>;
133
+ system: z.ZodNullable<z.ZodEnum<{
134
+ validation: "validation";
135
+ }>>;
136
+ boardKind: z.ZodNullable<z.ZodEnum<{
137
+ board: "board";
138
+ validation: "validation";
139
+ process: "process";
140
+ }>>;
141
+ path: z.ZodOptional<z.ZodObject<{
142
+ section: z.ZodEnum<{
143
+ users: "users";
144
+ own: "own";
145
+ shared: "shared";
146
+ }>;
147
+ items: z.ZodArray<z.ZodObject<{
148
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
149
+ name: z.ZodString;
150
+ }, z.core.$strict>>;
151
+ }, z.core.$strict>>;
152
+ count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
153
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
154
+ rootArchived: z.ZodOptional<z.ZodLiteral<true>>;
155
+ }, z.core.$strict>;
156
+ export type NodeListItem = z.infer<typeof NodeListItem>;
157
+ export declare const NodeList: z.ZodObject<{
158
+ items: z.ZodArray<z.ZodObject<{
159
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
160
+ kind: z.ZodEnum<{
161
+ file: "file";
162
+ folder: "folder";
163
+ document: "document";
164
+ table: "table";
165
+ board: "board";
166
+ task: "task";
167
+ dashboard: "dashboard";
168
+ }>;
169
+ name: z.ZodString;
170
+ hidden: z.ZodBoolean;
171
+ rootOf: z.ZodNullable<z.ZodString>;
172
+ rootImage: z.ZodNullable<z.ZodString>;
173
+ createdBy: z.ZodObject<{
174
+ userId: z.ZodString;
175
+ name: z.ZodNullable<z.ZodString>;
176
+ kind: z.ZodNullable<z.ZodEnum<{
177
+ machine: "machine";
178
+ human: "human";
179
+ }>>;
180
+ }, z.core.$strict>;
181
+ responsible: z.ZodNullable<z.ZodObject<{
182
+ userId: z.ZodString;
183
+ name: z.ZodNullable<z.ZodString>;
184
+ kind: z.ZodNullable<z.ZodEnum<{
185
+ machine: "machine";
186
+ human: "human";
187
+ }>>;
188
+ }, z.core.$strict>>;
189
+ size: z.ZodNullable<z.ZodNumber>;
190
+ updatedAt: z.ZodISODateTime;
191
+ sharedWith: z.ZodNumber;
192
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
193
+ status: z.ZodNullable<z.ZodEnum<{
194
+ backlog: "backlog";
195
+ open: "open";
196
+ progress: "progress";
197
+ done: "done";
198
+ discarded: "discarded";
199
+ blocked: "blocked";
200
+ archive: "archive";
201
+ }>>;
202
+ system: z.ZodNullable<z.ZodEnum<{
203
+ validation: "validation";
204
+ }>>;
205
+ boardKind: z.ZodNullable<z.ZodEnum<{
206
+ board: "board";
207
+ validation: "validation";
208
+ process: "process";
209
+ }>>;
210
+ path: z.ZodOptional<z.ZodObject<{
211
+ section: z.ZodEnum<{
212
+ users: "users";
213
+ own: "own";
214
+ shared: "shared";
215
+ }>;
216
+ items: z.ZodArray<z.ZodObject<{
217
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
218
+ name: z.ZodString;
219
+ }, z.core.$strict>>;
220
+ }, z.core.$strict>>;
221
+ count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
222
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
223
+ rootArchived: z.ZodOptional<z.ZodLiteral<true>>;
224
+ }, z.core.$strict>>;
225
+ nextCursor: z.ZodNullable<z.ZodString>;
226
+ rootId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
227
+ instructions: z.ZodOptional<z.ZodObject<{
228
+ chain: z.ZodArray<z.ZodObject<{
229
+ path: z.ZodString;
230
+ status: z.ZodNullable<z.ZodString>;
231
+ markdown: z.ZodString;
232
+ }, z.core.$strict>>;
233
+ hint: z.ZodOptional<z.ZodString>;
234
+ }, z.core.$strict>>;
235
+ }, z.core.$strict>;
236
+ export type NodeList = z.infer<typeof NodeList>;
237
+ export declare const NodeHitFoundIn: z.ZodObject<{
238
+ kind: z.ZodEnum<{
239
+ column: "column";
240
+ page: "page";
241
+ title: "title";
242
+ text: "text";
243
+ card: "card";
244
+ }>;
245
+ label: z.ZodNullable<z.ZodString>;
246
+ }, z.core.$strict>;
247
+ export type NodeHitFoundIn = z.infer<typeof NodeHitFoundIn>;
248
+ export declare const NodeHit: z.ZodObject<{
249
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
250
+ kind: z.ZodEnum<{
251
+ file: "file";
252
+ folder: "folder";
253
+ document: "document";
254
+ table: "table";
255
+ board: "board";
256
+ task: "task";
257
+ dashboard: "dashboard";
258
+ }>;
259
+ name: z.ZodString;
260
+ path: z.ZodObject<{
261
+ section: z.ZodEnum<{
262
+ users: "users";
263
+ own: "own";
264
+ shared: "shared";
265
+ }>;
266
+ items: z.ZodArray<z.ZodObject<{
267
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
268
+ name: z.ZodString;
269
+ }, z.core.$strict>>;
270
+ }, z.core.$strict>;
271
+ snippet: z.ZodString;
272
+ foundIn: z.ZodObject<{
273
+ kind: z.ZodEnum<{
274
+ column: "column";
275
+ page: "page";
276
+ title: "title";
277
+ text: "text";
278
+ card: "card";
279
+ }>;
280
+ label: z.ZodNullable<z.ZodString>;
281
+ }, z.core.$strict>;
282
+ rank: z.ZodNumber;
283
+ status: z.ZodNullable<z.ZodEnum<{
284
+ backlog: "backlog";
285
+ open: "open";
286
+ progress: "progress";
287
+ done: "done";
288
+ discarded: "discarded";
289
+ blocked: "blocked";
290
+ archive: "archive";
291
+ }>>;
292
+ updatedAt: z.ZodISODateTime;
293
+ boardKind: z.ZodNullable<z.ZodEnum<{
294
+ board: "board";
295
+ validation: "validation";
296
+ process: "process";
297
+ }>>;
298
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
299
+ }, z.core.$strict>;
300
+ export type NodeHit = z.infer<typeof NodeHit>;
301
+ export declare const NodeHitGroup: z.ZodObject<{
302
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
303
+ path: z.ZodObject<{
304
+ section: z.ZodEnum<{
305
+ users: "users";
306
+ own: "own";
307
+ shared: "shared";
308
+ }>;
309
+ items: z.ZodArray<z.ZodObject<{
310
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
311
+ name: z.ZodString;
312
+ }, z.core.$strict>>;
313
+ }, z.core.$strict>;
314
+ count: z.ZodNumber;
315
+ }, z.core.$strict>;
316
+ export type NodeHitGroup = z.infer<typeof NodeHitGroup>;
317
+ export declare const NodeSearch: z.ZodObject<{
318
+ items: z.ZodArray<z.ZodObject<{
319
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
320
+ kind: z.ZodEnum<{
321
+ file: "file";
322
+ folder: "folder";
323
+ document: "document";
324
+ table: "table";
325
+ board: "board";
326
+ task: "task";
327
+ dashboard: "dashboard";
328
+ }>;
329
+ name: z.ZodString;
330
+ path: z.ZodObject<{
331
+ section: z.ZodEnum<{
332
+ users: "users";
333
+ own: "own";
334
+ shared: "shared";
335
+ }>;
336
+ items: z.ZodArray<z.ZodObject<{
337
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
338
+ name: z.ZodString;
339
+ }, z.core.$strict>>;
340
+ }, z.core.$strict>;
341
+ snippet: z.ZodString;
342
+ foundIn: z.ZodObject<{
343
+ kind: z.ZodEnum<{
344
+ column: "column";
345
+ page: "page";
346
+ title: "title";
347
+ text: "text";
348
+ card: "card";
349
+ }>;
350
+ label: z.ZodNullable<z.ZodString>;
351
+ }, z.core.$strict>;
352
+ rank: z.ZodNumber;
353
+ status: z.ZodNullable<z.ZodEnum<{
354
+ backlog: "backlog";
355
+ open: "open";
356
+ progress: "progress";
357
+ done: "done";
358
+ discarded: "discarded";
359
+ blocked: "blocked";
360
+ archive: "archive";
361
+ }>>;
362
+ updatedAt: z.ZodISODateTime;
363
+ boardKind: z.ZodNullable<z.ZodEnum<{
364
+ board: "board";
365
+ validation: "validation";
366
+ process: "process";
367
+ }>>;
368
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
369
+ }, z.core.$strict>>;
370
+ groups: z.ZodArray<z.ZodObject<{
371
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
372
+ path: z.ZodObject<{
373
+ section: z.ZodEnum<{
374
+ users: "users";
375
+ own: "own";
376
+ shared: "shared";
377
+ }>;
378
+ items: z.ZodArray<z.ZodObject<{
379
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
380
+ name: z.ZodString;
381
+ }, z.core.$strict>>;
382
+ }, z.core.$strict>;
383
+ count: z.ZodNumber;
384
+ }, z.core.$strict>>;
385
+ nextCursor: z.ZodNullable<z.ZodString>;
386
+ semantic: z.ZodEnum<{
387
+ ok: "ok";
388
+ unavailable: "unavailable";
389
+ }>;
390
+ }, z.core.$strict>;
391
+ export type NodeSearch = z.infer<typeof NodeSearch>;
392
+ export declare const SearchIndexState: z.ZodObject<{
393
+ running: z.ZodBoolean;
394
+ last: z.ZodNullable<z.ZodObject<{
395
+ requestedBy: z.ZodString;
396
+ requestedAt: z.ZodISODateTime;
397
+ startedAt: z.ZodNullable<z.ZodISODateTime>;
398
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
399
+ }, z.core.$strict>>;
400
+ }, z.core.$strict>;
401
+ export type SearchIndexState = z.infer<typeof SearchIndexState>;
402
+ export declare const NodeGetInput: z.ZodObject<{
403
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
404
+ }, z.core.$strict>;
405
+ export type NodeGetInput = z.infer<typeof NodeGetInput>;
406
+ export declare const NodeValidation: z.ZodObject<{
407
+ ticketId: z.ZodTemplateLiteral<`node_${string}`>;
408
+ column: z.ZodObject<{
409
+ columnId: z.ZodTemplateLiteral<`column_${string}`>;
410
+ name: z.ZodString;
411
+ type: z.ZodEnum<{
412
+ backlog: "backlog";
413
+ open: "open";
414
+ progress: "progress";
415
+ done: "done";
416
+ discarded: "discarded";
417
+ blocked: "blocked";
418
+ archive: "archive";
419
+ }>;
420
+ }, z.core.$strict>;
421
+ validUntil: z.ZodNullable<z.ZodISODateTime>;
422
+ responsible: z.ZodObject<{
423
+ userId: z.ZodString;
424
+ name: z.ZodNullable<z.ZodString>;
425
+ kind: z.ZodNullable<z.ZodEnum<{
426
+ machine: "machine";
427
+ human: "human";
428
+ }>>;
429
+ }, z.core.$strict>;
430
+ content: z.ZodString;
431
+ }, z.core.$strict>;
432
+ export type NodeValidation = z.infer<typeof NodeValidation>;
433
+ export declare const NodeDetail: z.ZodObject<{
434
+ secretId: z.ZodOptional<z.ZodTemplateLiteral<`secret_${string}`>>;
435
+ secretBy: z.ZodOptional<z.ZodObject<{
436
+ userId: z.ZodString;
437
+ name: z.ZodNullable<z.ZodString>;
438
+ kind: z.ZodNullable<z.ZodEnum<{
439
+ machine: "machine";
440
+ human: "human";
441
+ }>>;
442
+ }, z.core.$strict>>;
443
+ secretSetAt: z.ZodOptional<z.ZodISODateTime>;
444
+ unlockedUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
445
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
446
+ locked: z.ZodOptional<z.ZodBoolean>;
447
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
448
+ kind: z.ZodEnum<{
449
+ file: "file";
450
+ folder: "folder";
451
+ document: "document";
452
+ table: "table";
453
+ board: "board";
454
+ task: "task";
455
+ dashboard: "dashboard";
456
+ }>;
457
+ name: z.ZodString;
458
+ hidden: z.ZodBoolean;
459
+ rootOf: z.ZodNullable<z.ZodString>;
460
+ system: z.ZodNullable<z.ZodEnum<{
461
+ validation: "validation";
462
+ }>>;
463
+ boardKind: z.ZodNullable<z.ZodEnum<{
464
+ board: "board";
465
+ validation: "validation";
466
+ process: "process";
467
+ }>>;
468
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
469
+ path: z.ZodObject<{
470
+ section: z.ZodEnum<{
471
+ users: "users";
472
+ own: "own";
473
+ shared: "shared";
474
+ }>;
475
+ items: z.ZodArray<z.ZodObject<{
476
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
477
+ name: z.ZodString;
478
+ }, z.core.$strict>>;
479
+ }, z.core.$strict>;
480
+ createdBy: z.ZodObject<{
481
+ userId: z.ZodString;
482
+ name: z.ZodNullable<z.ZodString>;
483
+ kind: z.ZodNullable<z.ZodEnum<{
484
+ machine: "machine";
485
+ human: "human";
486
+ }>>;
487
+ }, z.core.$strict>;
488
+ responsible: z.ZodNullable<z.ZodObject<{
489
+ userId: z.ZodString;
490
+ name: z.ZodNullable<z.ZodString>;
491
+ kind: z.ZodNullable<z.ZodEnum<{
492
+ machine: "machine";
493
+ human: "human";
494
+ }>>;
495
+ }, z.core.$strict>>;
496
+ rights: z.ZodObject<{
497
+ write: z.ZodBoolean;
498
+ share: z.ZodBoolean;
499
+ }, z.core.$strict>;
500
+ hiddenCount: z.ZodNullable<z.ZodNumber>;
501
+ size: z.ZodNullable<z.ZodNumber>;
502
+ rev: z.ZodNumber;
503
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
504
+ purge: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>;
505
+ createdAt: z.ZodISODateTime;
506
+ updatedAt: z.ZodISODateTime;
507
+ validation: z.ZodNullable<z.ZodObject<{
508
+ ticketId: z.ZodTemplateLiteral<`node_${string}`>;
509
+ column: z.ZodObject<{
510
+ columnId: z.ZodTemplateLiteral<`column_${string}`>;
511
+ name: z.ZodString;
512
+ type: z.ZodEnum<{
513
+ backlog: "backlog";
514
+ open: "open";
515
+ progress: "progress";
516
+ done: "done";
517
+ discarded: "discarded";
518
+ blocked: "blocked";
519
+ archive: "archive";
520
+ }>;
521
+ }, z.core.$strict>;
522
+ validUntil: z.ZodNullable<z.ZodISODateTime>;
523
+ responsible: z.ZodObject<{
524
+ userId: z.ZodString;
525
+ name: z.ZodNullable<z.ZodString>;
526
+ kind: z.ZodNullable<z.ZodEnum<{
527
+ machine: "machine";
528
+ human: "human";
529
+ }>>;
530
+ }, z.core.$strict>;
531
+ content: z.ZodString;
532
+ }, z.core.$strict>>;
533
+ instructions: z.ZodOptional<z.ZodObject<{
534
+ chain: z.ZodArray<z.ZodObject<{
535
+ path: z.ZodString;
536
+ status: z.ZodNullable<z.ZodString>;
537
+ markdown: z.ZodString;
538
+ }, z.core.$strict>>;
539
+ hint: z.ZodOptional<z.ZodString>;
540
+ }, z.core.$strict>>;
541
+ instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
+ }, z.core.$strict>;
543
+ export type NodeDetail = z.infer<typeof NodeDetail>;
544
+ export declare const NodeUpdateInput: z.ZodObject<{
545
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
546
+ rev: z.ZodNumber;
547
+ name: z.ZodOptional<z.ZodString>;
548
+ responsibleId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
549
+ }, z.core.$strict>;
550
+ export type NodeUpdateInput = z.infer<typeof NodeUpdateInput>;
551
+ export declare const NodeMoveInput: z.ZodObject<{
552
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
553
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
554
+ }, z.core.$strict>;
555
+ export type NodeMoveInput = z.infer<typeof NodeMoveInput>;
556
+ export declare const NodeReader: z.ZodObject<{
557
+ userId: z.ZodString;
558
+ name: z.ZodNullable<z.ZodString>;
559
+ kind: z.ZodNullable<z.ZodEnum<{
560
+ machine: "machine";
561
+ human: "human";
562
+ }>>;
563
+ right: z.ZodEnum<{
564
+ share: "share";
565
+ write: "write";
566
+ read: "read";
567
+ }>;
568
+ origin: z.ZodEnum<{
569
+ creator: "creator";
570
+ direct: "direct";
571
+ inherited: "inherited";
572
+ }>;
573
+ fromNodeId: z.ZodTemplateLiteral<`node_${string}`>;
574
+ }, z.core.$strict>;
575
+ export type NodeReader = z.infer<typeof NodeReader>;
576
+ export declare const NodeMoved: z.ZodObject<{
577
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
578
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
579
+ readers: z.ZodArray<z.ZodObject<{
580
+ userId: z.ZodString;
581
+ name: z.ZodNullable<z.ZodString>;
582
+ kind: z.ZodNullable<z.ZodEnum<{
583
+ machine: "machine";
584
+ human: "human";
585
+ }>>;
586
+ right: z.ZodEnum<{
587
+ share: "share";
588
+ write: "write";
589
+ read: "read";
590
+ }>;
591
+ origin: z.ZodEnum<{
592
+ creator: "creator";
593
+ direct: "direct";
594
+ inherited: "inherited";
595
+ }>;
596
+ fromNodeId: z.ZodTemplateLiteral<`node_${string}`>;
597
+ }, z.core.$strict>>;
598
+ }, z.core.$strict>;
599
+ export type NodeMoved = z.infer<typeof NodeMoved>;
600
+ export declare const FolderCreateInput: z.ZodObject<{
601
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
602
+ name: z.ZodString;
603
+ idempotencyKey: z.ZodString;
604
+ }, z.core.$strict>;
605
+ export type FolderCreateInput = z.infer<typeof FolderCreateInput>;
606
+ export declare const FolderCreated: z.ZodObject<{
607
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
608
+ kind: z.ZodLiteral<"folder">;
609
+ name: z.ZodString;
610
+ hidden: z.ZodBoolean;
611
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
612
+ rev: z.ZodNumber;
613
+ createdAt: z.ZodISODateTime;
614
+ updatedAt: z.ZodISODateTime;
615
+ }, z.core.$strict>;
616
+ export type FolderCreated = z.infer<typeof FolderCreated>;
617
+ export declare const IntelligenceUserListInput: z.ZodObject<{
618
+ query: z.ZodOptional<z.ZodString>;
619
+ nodeId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
620
+ readersOnly: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
621
+ cursor: z.ZodOptional<z.ZodString>;
622
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
623
+ }, z.core.$strict>;
624
+ export type IntelligenceUserListInput = z.infer<typeof IntelligenceUserListInput>;
625
+ export declare const IntelligenceUser: z.ZodObject<{
626
+ userId: z.ZodString;
627
+ kind: z.ZodEnum<{
628
+ machine: "machine";
629
+ human: "human";
630
+ }>;
631
+ name: z.ZodString;
632
+ email: z.ZodString;
633
+ image: z.ZodNullable<z.ZodString>;
634
+ machine: z.ZodNullable<z.ZodObject<{
635
+ kind: z.ZodEnum<{
636
+ operator: "operator";
637
+ external: "external";
638
+ }>;
639
+ provider: z.ZodNullable<z.ZodEnum<{
640
+ claude: "claude";
641
+ codex: "codex";
642
+ gemini: "gemini";
643
+ }>>;
644
+ }, z.core.$strict>>;
645
+ canRead: z.ZodOptional<z.ZodBoolean>;
646
+ }, z.core.$strict>;
647
+ export type IntelligenceUser = z.infer<typeof IntelligenceUser>;
648
+ export declare const IntelligenceUserList: z.ZodObject<{
649
+ items: z.ZodArray<z.ZodObject<{
650
+ userId: z.ZodString;
651
+ kind: z.ZodEnum<{
652
+ machine: "machine";
653
+ human: "human";
654
+ }>;
655
+ name: z.ZodString;
656
+ email: z.ZodString;
657
+ image: z.ZodNullable<z.ZodString>;
658
+ machine: z.ZodNullable<z.ZodObject<{
659
+ kind: z.ZodEnum<{
660
+ operator: "operator";
661
+ external: "external";
662
+ }>;
663
+ provider: z.ZodNullable<z.ZodEnum<{
664
+ claude: "claude";
665
+ codex: "codex";
666
+ gemini: "gemini";
667
+ }>>;
668
+ }, z.core.$strict>>;
669
+ canRead: z.ZodOptional<z.ZodBoolean>;
670
+ }, z.core.$strict>>;
671
+ nextCursor: z.ZodNullable<z.ZodString>;
672
+ }, z.core.$strict>;
673
+ export type IntelligenceUserList = z.infer<typeof IntelligenceUserList>;