@bubblelab/bubble-core 0.1.103 → 0.1.106

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 (67) hide show
  1. package/dist/bubble-bundle.d.ts +100 -55
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.d.ts +4 -4
  6. package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
  7. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +1957 -0
  8. package/dist/bubbles/service-bubble/confluence/confluence.d.ts.map +1 -0
  9. package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.d.ts +35 -0
  10. package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.d.ts.map +1 -0
  11. package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.js +327 -0
  12. package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.js.map +1 -0
  13. package/dist/bubbles/service-bubble/confluence/confluence.js +534 -0
  14. package/dist/bubbles/service-bubble/confluence/confluence.js.map +1 -0
  15. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +2435 -0
  16. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts.map +1 -0
  17. package/dist/bubbles/service-bubble/confluence/confluence.schema.js +467 -0
  18. package/dist/bubbles/service-bubble/confluence/confluence.schema.js.map +1 -0
  19. package/dist/bubbles/service-bubble/confluence/confluence.utils.d.ts +49 -0
  20. package/dist/bubbles/service-bubble/confluence/confluence.utils.d.ts.map +1 -0
  21. package/dist/bubbles/service-bubble/confluence/confluence.utils.js +337 -0
  22. package/dist/bubbles/service-bubble/confluence/confluence.utils.js.map +1 -0
  23. package/dist/bubbles/service-bubble/confluence/index.d.ts +5 -0
  24. package/dist/bubbles/service-bubble/confluence/index.d.ts.map +1 -0
  25. package/dist/bubbles/service-bubble/confluence/index.js +5 -0
  26. package/dist/bubbles/service-bubble/confluence/index.js.map +1 -0
  27. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +8 -8
  28. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
  29. package/dist/bubbles/service-bubble/firecrawl.d.ts +4 -4
  30. package/dist/bubbles/service-bubble/gmail.d.ts +84 -84
  31. package/dist/bubbles/service-bubble/google-drive.d.ts +32 -32
  32. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  33. package/dist/bubbles/service-bubble/google-drive.js +22 -2
  34. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  35. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js +6 -6
  36. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js.map +1 -1
  37. package/dist/bubbles/service-bubble/jira/jira.d.ts +12 -12
  38. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +14 -14
  39. package/dist/bubbles/service-bubble/resend.d.ts +4 -4
  40. package/dist/bubbles/service-bubble/salesforce/index.d.ts +4 -0
  41. package/dist/bubbles/service-bubble/salesforce/index.d.ts.map +1 -0
  42. package/dist/bubbles/service-bubble/salesforce/index.js +4 -0
  43. package/dist/bubbles/service-bubble/salesforce/index.js.map +1 -0
  44. package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts +1331 -0
  45. package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts.map +1 -0
  46. package/dist/bubbles/service-bubble/salesforce/salesforce.js +618 -0
  47. package/dist/bubbles/service-bubble/salesforce/salesforce.js.map +1 -0
  48. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts +1445 -0
  49. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts.map +1 -0
  50. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js +609 -0
  51. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js.map +1 -0
  52. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts +87 -0
  53. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts.map +1 -0
  54. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js +181 -0
  55. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js.map +1 -0
  56. package/dist/bubbles/service-bubble/slack/slack.d.ts +36 -36
  57. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +8 -8
  58. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +10 -10
  59. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
  60. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  61. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +16 -16
  62. package/dist/bubbles.json +1247 -8
  63. package/dist/index.d.ts +2 -0
  64. package/dist/index.d.ts.map +1 -1
  65. package/dist/index.js +1 -0
  66. package/dist/index.js.map +1 -1
  67. package/package.json +2 -2
@@ -0,0 +1,2435 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ export declare const ConfluenceSpaceSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ key: z.ZodString;
6
+ name: z.ZodString;
7
+ type: z.ZodOptional<z.ZodString>;
8
+ status: z.ZodOptional<z.ZodString>;
9
+ description: z.ZodOptional<z.ZodUnknown>;
10
+ homepageId: z.ZodOptional<z.ZodString>;
11
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12
+ id: z.ZodString;
13
+ key: z.ZodString;
14
+ name: z.ZodString;
15
+ type: z.ZodOptional<z.ZodString>;
16
+ status: z.ZodOptional<z.ZodString>;
17
+ description: z.ZodOptional<z.ZodUnknown>;
18
+ homepageId: z.ZodOptional<z.ZodString>;
19
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20
+ id: z.ZodString;
21
+ key: z.ZodString;
22
+ name: z.ZodString;
23
+ type: z.ZodOptional<z.ZodString>;
24
+ status: z.ZodOptional<z.ZodString>;
25
+ description: z.ZodOptional<z.ZodUnknown>;
26
+ homepageId: z.ZodOptional<z.ZodString>;
27
+ }, z.ZodTypeAny, "passthrough">>;
28
+ export declare const ConfluencePageSchema: z.ZodObject<{
29
+ id: z.ZodString;
30
+ title: z.ZodString;
31
+ status: z.ZodOptional<z.ZodString>;
32
+ spaceId: z.ZodOptional<z.ZodString>;
33
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ authorId: z.ZodOptional<z.ZodString>;
36
+ createdAt: z.ZodOptional<z.ZodString>;
37
+ version: z.ZodOptional<z.ZodObject<{
38
+ number: z.ZodNumber;
39
+ message: z.ZodOptional<z.ZodString>;
40
+ createdAt: z.ZodOptional<z.ZodString>;
41
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
42
+ number: z.ZodNumber;
43
+ message: z.ZodOptional<z.ZodString>;
44
+ createdAt: z.ZodOptional<z.ZodString>;
45
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
46
+ number: z.ZodNumber;
47
+ message: z.ZodOptional<z.ZodString>;
48
+ createdAt: z.ZodOptional<z.ZodString>;
49
+ }, z.ZodTypeAny, "passthrough">>>;
50
+ body: z.ZodOptional<z.ZodObject<{
51
+ storage: z.ZodOptional<z.ZodObject<{
52
+ value: z.ZodString;
53
+ representation: z.ZodOptional<z.ZodString>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ value: string;
56
+ representation?: string | undefined;
57
+ }, {
58
+ value: string;
59
+ representation?: string | undefined;
60
+ }>>;
61
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
62
+ storage: z.ZodOptional<z.ZodObject<{
63
+ value: z.ZodString;
64
+ representation: z.ZodOptional<z.ZodString>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ value: string;
67
+ representation?: string | undefined;
68
+ }, {
69
+ value: string;
70
+ representation?: string | undefined;
71
+ }>>;
72
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
73
+ storage: z.ZodOptional<z.ZodObject<{
74
+ value: z.ZodString;
75
+ representation: z.ZodOptional<z.ZodString>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ value: string;
78
+ representation?: string | undefined;
79
+ }, {
80
+ value: string;
81
+ representation?: string | undefined;
82
+ }>>;
83
+ }, z.ZodTypeAny, "passthrough">>>;
84
+ _links: z.ZodOptional<z.ZodObject<{
85
+ webui: z.ZodOptional<z.ZodString>;
86
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
87
+ webui: z.ZodOptional<z.ZodString>;
88
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
89
+ webui: z.ZodOptional<z.ZodString>;
90
+ }, z.ZodTypeAny, "passthrough">>>;
91
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
92
+ id: z.ZodString;
93
+ title: z.ZodString;
94
+ status: z.ZodOptional<z.ZodString>;
95
+ spaceId: z.ZodOptional<z.ZodString>;
96
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ authorId: z.ZodOptional<z.ZodString>;
99
+ createdAt: z.ZodOptional<z.ZodString>;
100
+ version: z.ZodOptional<z.ZodObject<{
101
+ number: z.ZodNumber;
102
+ message: z.ZodOptional<z.ZodString>;
103
+ createdAt: z.ZodOptional<z.ZodString>;
104
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105
+ number: z.ZodNumber;
106
+ message: z.ZodOptional<z.ZodString>;
107
+ createdAt: z.ZodOptional<z.ZodString>;
108
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
109
+ number: z.ZodNumber;
110
+ message: z.ZodOptional<z.ZodString>;
111
+ createdAt: z.ZodOptional<z.ZodString>;
112
+ }, z.ZodTypeAny, "passthrough">>>;
113
+ body: z.ZodOptional<z.ZodObject<{
114
+ storage: z.ZodOptional<z.ZodObject<{
115
+ value: z.ZodString;
116
+ representation: z.ZodOptional<z.ZodString>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ value: string;
119
+ representation?: string | undefined;
120
+ }, {
121
+ value: string;
122
+ representation?: string | undefined;
123
+ }>>;
124
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
125
+ storage: z.ZodOptional<z.ZodObject<{
126
+ value: z.ZodString;
127
+ representation: z.ZodOptional<z.ZodString>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ value: string;
130
+ representation?: string | undefined;
131
+ }, {
132
+ value: string;
133
+ representation?: string | undefined;
134
+ }>>;
135
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
136
+ storage: z.ZodOptional<z.ZodObject<{
137
+ value: z.ZodString;
138
+ representation: z.ZodOptional<z.ZodString>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ value: string;
141
+ representation?: string | undefined;
142
+ }, {
143
+ value: string;
144
+ representation?: string | undefined;
145
+ }>>;
146
+ }, z.ZodTypeAny, "passthrough">>>;
147
+ _links: z.ZodOptional<z.ZodObject<{
148
+ webui: z.ZodOptional<z.ZodString>;
149
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
150
+ webui: z.ZodOptional<z.ZodString>;
151
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
152
+ webui: z.ZodOptional<z.ZodString>;
153
+ }, z.ZodTypeAny, "passthrough">>>;
154
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
155
+ id: z.ZodString;
156
+ title: z.ZodString;
157
+ status: z.ZodOptional<z.ZodString>;
158
+ spaceId: z.ZodOptional<z.ZodString>;
159
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
160
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
+ authorId: z.ZodOptional<z.ZodString>;
162
+ createdAt: z.ZodOptional<z.ZodString>;
163
+ version: z.ZodOptional<z.ZodObject<{
164
+ number: z.ZodNumber;
165
+ message: z.ZodOptional<z.ZodString>;
166
+ createdAt: z.ZodOptional<z.ZodString>;
167
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
168
+ number: z.ZodNumber;
169
+ message: z.ZodOptional<z.ZodString>;
170
+ createdAt: z.ZodOptional<z.ZodString>;
171
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
172
+ number: z.ZodNumber;
173
+ message: z.ZodOptional<z.ZodString>;
174
+ createdAt: z.ZodOptional<z.ZodString>;
175
+ }, z.ZodTypeAny, "passthrough">>>;
176
+ body: z.ZodOptional<z.ZodObject<{
177
+ storage: z.ZodOptional<z.ZodObject<{
178
+ value: z.ZodString;
179
+ representation: z.ZodOptional<z.ZodString>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ value: string;
182
+ representation?: string | undefined;
183
+ }, {
184
+ value: string;
185
+ representation?: string | undefined;
186
+ }>>;
187
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
188
+ storage: z.ZodOptional<z.ZodObject<{
189
+ value: z.ZodString;
190
+ representation: z.ZodOptional<z.ZodString>;
191
+ }, "strip", z.ZodTypeAny, {
192
+ value: string;
193
+ representation?: string | undefined;
194
+ }, {
195
+ value: string;
196
+ representation?: string | undefined;
197
+ }>>;
198
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
199
+ storage: z.ZodOptional<z.ZodObject<{
200
+ value: z.ZodString;
201
+ representation: z.ZodOptional<z.ZodString>;
202
+ }, "strip", z.ZodTypeAny, {
203
+ value: string;
204
+ representation?: string | undefined;
205
+ }, {
206
+ value: string;
207
+ representation?: string | undefined;
208
+ }>>;
209
+ }, z.ZodTypeAny, "passthrough">>>;
210
+ _links: z.ZodOptional<z.ZodObject<{
211
+ webui: z.ZodOptional<z.ZodString>;
212
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
213
+ webui: z.ZodOptional<z.ZodString>;
214
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
215
+ webui: z.ZodOptional<z.ZodString>;
216
+ }, z.ZodTypeAny, "passthrough">>>;
217
+ }, z.ZodTypeAny, "passthrough">>;
218
+ export declare const ConfluenceCommentSchema: z.ZodObject<{
219
+ id: z.ZodString;
220
+ title: z.ZodOptional<z.ZodString>;
221
+ body: z.ZodOptional<z.ZodObject<{
222
+ storage: z.ZodOptional<z.ZodObject<{
223
+ value: z.ZodString;
224
+ representation: z.ZodOptional<z.ZodString>;
225
+ }, "strip", z.ZodTypeAny, {
226
+ value: string;
227
+ representation?: string | undefined;
228
+ }, {
229
+ value: string;
230
+ representation?: string | undefined;
231
+ }>>;
232
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
233
+ storage: z.ZodOptional<z.ZodObject<{
234
+ value: z.ZodString;
235
+ representation: z.ZodOptional<z.ZodString>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ value: string;
238
+ representation?: string | undefined;
239
+ }, {
240
+ value: string;
241
+ representation?: string | undefined;
242
+ }>>;
243
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
244
+ storage: z.ZodOptional<z.ZodObject<{
245
+ value: z.ZodString;
246
+ representation: z.ZodOptional<z.ZodString>;
247
+ }, "strip", z.ZodTypeAny, {
248
+ value: string;
249
+ representation?: string | undefined;
250
+ }, {
251
+ value: string;
252
+ representation?: string | undefined;
253
+ }>>;
254
+ }, z.ZodTypeAny, "passthrough">>>;
255
+ version: z.ZodOptional<z.ZodObject<{
256
+ number: z.ZodNumber;
257
+ createdAt: z.ZodOptional<z.ZodString>;
258
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
259
+ number: z.ZodNumber;
260
+ createdAt: z.ZodOptional<z.ZodString>;
261
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
262
+ number: z.ZodNumber;
263
+ createdAt: z.ZodOptional<z.ZodString>;
264
+ }, z.ZodTypeAny, "passthrough">>>;
265
+ createdAt: z.ZodOptional<z.ZodString>;
266
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
267
+ id: z.ZodString;
268
+ title: z.ZodOptional<z.ZodString>;
269
+ body: z.ZodOptional<z.ZodObject<{
270
+ storage: z.ZodOptional<z.ZodObject<{
271
+ value: z.ZodString;
272
+ representation: z.ZodOptional<z.ZodString>;
273
+ }, "strip", z.ZodTypeAny, {
274
+ value: string;
275
+ representation?: string | undefined;
276
+ }, {
277
+ value: string;
278
+ representation?: string | undefined;
279
+ }>>;
280
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
281
+ storage: z.ZodOptional<z.ZodObject<{
282
+ value: z.ZodString;
283
+ representation: z.ZodOptional<z.ZodString>;
284
+ }, "strip", z.ZodTypeAny, {
285
+ value: string;
286
+ representation?: string | undefined;
287
+ }, {
288
+ value: string;
289
+ representation?: string | undefined;
290
+ }>>;
291
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
292
+ storage: z.ZodOptional<z.ZodObject<{
293
+ value: z.ZodString;
294
+ representation: z.ZodOptional<z.ZodString>;
295
+ }, "strip", z.ZodTypeAny, {
296
+ value: string;
297
+ representation?: string | undefined;
298
+ }, {
299
+ value: string;
300
+ representation?: string | undefined;
301
+ }>>;
302
+ }, z.ZodTypeAny, "passthrough">>>;
303
+ version: z.ZodOptional<z.ZodObject<{
304
+ number: z.ZodNumber;
305
+ createdAt: z.ZodOptional<z.ZodString>;
306
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
307
+ number: z.ZodNumber;
308
+ createdAt: z.ZodOptional<z.ZodString>;
309
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
310
+ number: z.ZodNumber;
311
+ createdAt: z.ZodOptional<z.ZodString>;
312
+ }, z.ZodTypeAny, "passthrough">>>;
313
+ createdAt: z.ZodOptional<z.ZodString>;
314
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
315
+ id: z.ZodString;
316
+ title: z.ZodOptional<z.ZodString>;
317
+ body: z.ZodOptional<z.ZodObject<{
318
+ storage: z.ZodOptional<z.ZodObject<{
319
+ value: z.ZodString;
320
+ representation: z.ZodOptional<z.ZodString>;
321
+ }, "strip", z.ZodTypeAny, {
322
+ value: string;
323
+ representation?: string | undefined;
324
+ }, {
325
+ value: string;
326
+ representation?: string | undefined;
327
+ }>>;
328
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
329
+ storage: z.ZodOptional<z.ZodObject<{
330
+ value: z.ZodString;
331
+ representation: z.ZodOptional<z.ZodString>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ value: string;
334
+ representation?: string | undefined;
335
+ }, {
336
+ value: string;
337
+ representation?: string | undefined;
338
+ }>>;
339
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
340
+ storage: z.ZodOptional<z.ZodObject<{
341
+ value: z.ZodString;
342
+ representation: z.ZodOptional<z.ZodString>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ value: string;
345
+ representation?: string | undefined;
346
+ }, {
347
+ value: string;
348
+ representation?: string | undefined;
349
+ }>>;
350
+ }, z.ZodTypeAny, "passthrough">>>;
351
+ version: z.ZodOptional<z.ZodObject<{
352
+ number: z.ZodNumber;
353
+ createdAt: z.ZodOptional<z.ZodString>;
354
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
355
+ number: z.ZodNumber;
356
+ createdAt: z.ZodOptional<z.ZodString>;
357
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
358
+ number: z.ZodNumber;
359
+ createdAt: z.ZodOptional<z.ZodString>;
360
+ }, z.ZodTypeAny, "passthrough">>>;
361
+ createdAt: z.ZodOptional<z.ZodString>;
362
+ }, z.ZodTypeAny, "passthrough">>;
363
+ export declare const ConfluenceSearchResultSchema: z.ZodObject<{
364
+ id: z.ZodOptional<z.ZodString>;
365
+ type: z.ZodOptional<z.ZodString>;
366
+ title: z.ZodOptional<z.ZodString>;
367
+ status: z.ZodOptional<z.ZodString>;
368
+ excerpt: z.ZodOptional<z.ZodString>;
369
+ url: z.ZodOptional<z.ZodString>;
370
+ lastModified: z.ZodOptional<z.ZodString>;
371
+ _links: z.ZodOptional<z.ZodObject<{
372
+ webui: z.ZodOptional<z.ZodString>;
373
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
374
+ webui: z.ZodOptional<z.ZodString>;
375
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
376
+ webui: z.ZodOptional<z.ZodString>;
377
+ }, z.ZodTypeAny, "passthrough">>>;
378
+ content: z.ZodOptional<z.ZodObject<{
379
+ id: z.ZodOptional<z.ZodString>;
380
+ type: z.ZodOptional<z.ZodString>;
381
+ title: z.ZodOptional<z.ZodString>;
382
+ status: z.ZodOptional<z.ZodString>;
383
+ _links: z.ZodOptional<z.ZodObject<{
384
+ webui: z.ZodOptional<z.ZodString>;
385
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
386
+ webui: z.ZodOptional<z.ZodString>;
387
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
388
+ webui: z.ZodOptional<z.ZodString>;
389
+ }, z.ZodTypeAny, "passthrough">>>;
390
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
391
+ id: z.ZodOptional<z.ZodString>;
392
+ type: z.ZodOptional<z.ZodString>;
393
+ title: z.ZodOptional<z.ZodString>;
394
+ status: z.ZodOptional<z.ZodString>;
395
+ _links: z.ZodOptional<z.ZodObject<{
396
+ webui: z.ZodOptional<z.ZodString>;
397
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
398
+ webui: z.ZodOptional<z.ZodString>;
399
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
400
+ webui: z.ZodOptional<z.ZodString>;
401
+ }, z.ZodTypeAny, "passthrough">>>;
402
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
403
+ id: z.ZodOptional<z.ZodString>;
404
+ type: z.ZodOptional<z.ZodString>;
405
+ title: z.ZodOptional<z.ZodString>;
406
+ status: z.ZodOptional<z.ZodString>;
407
+ _links: z.ZodOptional<z.ZodObject<{
408
+ webui: z.ZodOptional<z.ZodString>;
409
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
410
+ webui: z.ZodOptional<z.ZodString>;
411
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
412
+ webui: z.ZodOptional<z.ZodString>;
413
+ }, z.ZodTypeAny, "passthrough">>>;
414
+ }, z.ZodTypeAny, "passthrough">>>;
415
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
416
+ id: z.ZodOptional<z.ZodString>;
417
+ type: z.ZodOptional<z.ZodString>;
418
+ title: z.ZodOptional<z.ZodString>;
419
+ status: z.ZodOptional<z.ZodString>;
420
+ excerpt: z.ZodOptional<z.ZodString>;
421
+ url: z.ZodOptional<z.ZodString>;
422
+ lastModified: z.ZodOptional<z.ZodString>;
423
+ _links: z.ZodOptional<z.ZodObject<{
424
+ webui: z.ZodOptional<z.ZodString>;
425
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
426
+ webui: z.ZodOptional<z.ZodString>;
427
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
428
+ webui: z.ZodOptional<z.ZodString>;
429
+ }, z.ZodTypeAny, "passthrough">>>;
430
+ content: z.ZodOptional<z.ZodObject<{
431
+ id: z.ZodOptional<z.ZodString>;
432
+ type: z.ZodOptional<z.ZodString>;
433
+ title: z.ZodOptional<z.ZodString>;
434
+ status: z.ZodOptional<z.ZodString>;
435
+ _links: z.ZodOptional<z.ZodObject<{
436
+ webui: z.ZodOptional<z.ZodString>;
437
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
438
+ webui: z.ZodOptional<z.ZodString>;
439
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
440
+ webui: z.ZodOptional<z.ZodString>;
441
+ }, z.ZodTypeAny, "passthrough">>>;
442
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
443
+ id: z.ZodOptional<z.ZodString>;
444
+ type: z.ZodOptional<z.ZodString>;
445
+ title: z.ZodOptional<z.ZodString>;
446
+ status: z.ZodOptional<z.ZodString>;
447
+ _links: z.ZodOptional<z.ZodObject<{
448
+ webui: z.ZodOptional<z.ZodString>;
449
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
450
+ webui: z.ZodOptional<z.ZodString>;
451
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
452
+ webui: z.ZodOptional<z.ZodString>;
453
+ }, z.ZodTypeAny, "passthrough">>>;
454
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
455
+ id: z.ZodOptional<z.ZodString>;
456
+ type: z.ZodOptional<z.ZodString>;
457
+ title: z.ZodOptional<z.ZodString>;
458
+ status: z.ZodOptional<z.ZodString>;
459
+ _links: z.ZodOptional<z.ZodObject<{
460
+ webui: z.ZodOptional<z.ZodString>;
461
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
462
+ webui: z.ZodOptional<z.ZodString>;
463
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
464
+ webui: z.ZodOptional<z.ZodString>;
465
+ }, z.ZodTypeAny, "passthrough">>>;
466
+ }, z.ZodTypeAny, "passthrough">>>;
467
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
468
+ id: z.ZodOptional<z.ZodString>;
469
+ type: z.ZodOptional<z.ZodString>;
470
+ title: z.ZodOptional<z.ZodString>;
471
+ status: z.ZodOptional<z.ZodString>;
472
+ excerpt: z.ZodOptional<z.ZodString>;
473
+ url: z.ZodOptional<z.ZodString>;
474
+ lastModified: z.ZodOptional<z.ZodString>;
475
+ _links: z.ZodOptional<z.ZodObject<{
476
+ webui: z.ZodOptional<z.ZodString>;
477
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
478
+ webui: z.ZodOptional<z.ZodString>;
479
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
480
+ webui: z.ZodOptional<z.ZodString>;
481
+ }, z.ZodTypeAny, "passthrough">>>;
482
+ content: z.ZodOptional<z.ZodObject<{
483
+ id: z.ZodOptional<z.ZodString>;
484
+ type: z.ZodOptional<z.ZodString>;
485
+ title: z.ZodOptional<z.ZodString>;
486
+ status: z.ZodOptional<z.ZodString>;
487
+ _links: z.ZodOptional<z.ZodObject<{
488
+ webui: z.ZodOptional<z.ZodString>;
489
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
490
+ webui: z.ZodOptional<z.ZodString>;
491
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
492
+ webui: z.ZodOptional<z.ZodString>;
493
+ }, z.ZodTypeAny, "passthrough">>>;
494
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
495
+ id: z.ZodOptional<z.ZodString>;
496
+ type: z.ZodOptional<z.ZodString>;
497
+ title: z.ZodOptional<z.ZodString>;
498
+ status: z.ZodOptional<z.ZodString>;
499
+ _links: z.ZodOptional<z.ZodObject<{
500
+ webui: z.ZodOptional<z.ZodString>;
501
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
502
+ webui: z.ZodOptional<z.ZodString>;
503
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
504
+ webui: z.ZodOptional<z.ZodString>;
505
+ }, z.ZodTypeAny, "passthrough">>>;
506
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
507
+ id: z.ZodOptional<z.ZodString>;
508
+ type: z.ZodOptional<z.ZodString>;
509
+ title: z.ZodOptional<z.ZodString>;
510
+ status: z.ZodOptional<z.ZodString>;
511
+ _links: z.ZodOptional<z.ZodObject<{
512
+ webui: z.ZodOptional<z.ZodString>;
513
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
514
+ webui: z.ZodOptional<z.ZodString>;
515
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
516
+ webui: z.ZodOptional<z.ZodString>;
517
+ }, z.ZodTypeAny, "passthrough">>>;
518
+ }, z.ZodTypeAny, "passthrough">>>;
519
+ }, z.ZodTypeAny, "passthrough">>;
520
+ export declare const ConfluenceParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
521
+ operation: z.ZodLiteral<"list_spaces">;
522
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
523
+ cursor: z.ZodOptional<z.ZodString>;
524
+ type: z.ZodOptional<z.ZodEnum<["global", "personal"]>>;
525
+ status: z.ZodOptional<z.ZodEnum<["current", "archived"]>>;
526
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
527
+ }, "strip", z.ZodTypeAny, {
528
+ operation: "list_spaces";
529
+ limit: number;
530
+ type?: "global" | "personal" | undefined;
531
+ status?: "archived" | "current" | undefined;
532
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
533
+ cursor?: string | undefined;
534
+ }, {
535
+ operation: "list_spaces";
536
+ type?: "global" | "personal" | undefined;
537
+ status?: "archived" | "current" | undefined;
538
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
539
+ limit?: number | undefined;
540
+ cursor?: string | undefined;
541
+ }>, z.ZodObject<{
542
+ operation: z.ZodLiteral<"get_space">;
543
+ space_id: z.ZodString;
544
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ operation: "get_space";
547
+ space_id: string;
548
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
549
+ }, {
550
+ operation: "get_space";
551
+ space_id: string;
552
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
553
+ }>, z.ZodObject<{
554
+ operation: z.ZodLiteral<"list_pages">;
555
+ space_id: z.ZodOptional<z.ZodString>;
556
+ space_key: z.ZodOptional<z.ZodString>;
557
+ title: z.ZodOptional<z.ZodString>;
558
+ status: z.ZodOptional<z.ZodEnum<["current", "trashed", "draft"]>>;
559
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
560
+ cursor: z.ZodOptional<z.ZodString>;
561
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
562
+ }, "strip", z.ZodTypeAny, {
563
+ operation: "list_pages";
564
+ limit: number;
565
+ title?: string | undefined;
566
+ status?: "draft" | "current" | "trashed" | undefined;
567
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
568
+ cursor?: string | undefined;
569
+ space_id?: string | undefined;
570
+ space_key?: string | undefined;
571
+ }, {
572
+ operation: "list_pages";
573
+ title?: string | undefined;
574
+ status?: "draft" | "current" | "trashed" | undefined;
575
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
576
+ limit?: number | undefined;
577
+ cursor?: string | undefined;
578
+ space_id?: string | undefined;
579
+ space_key?: string | undefined;
580
+ }>, z.ZodObject<{
581
+ operation: z.ZodLiteral<"get_page">;
582
+ page_id: z.ZodString;
583
+ include_body: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
584
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
585
+ }, "strip", z.ZodTypeAny, {
586
+ operation: "get_page";
587
+ page_id: string;
588
+ include_body: boolean;
589
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
590
+ }, {
591
+ operation: "get_page";
592
+ page_id: string;
593
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
594
+ include_body?: boolean | undefined;
595
+ }>, z.ZodObject<{
596
+ operation: z.ZodLiteral<"create_page">;
597
+ space_id: z.ZodOptional<z.ZodString>;
598
+ space_key: z.ZodOptional<z.ZodString>;
599
+ title: z.ZodString;
600
+ body: z.ZodOptional<z.ZodString>;
601
+ parent_id: z.ZodOptional<z.ZodString>;
602
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["current", "draft"]>>>;
603
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
604
+ }, "strip", z.ZodTypeAny, {
605
+ title: string;
606
+ status: "draft" | "current";
607
+ operation: "create_page";
608
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
609
+ body?: string | undefined;
610
+ space_id?: string | undefined;
611
+ space_key?: string | undefined;
612
+ parent_id?: string | undefined;
613
+ }, {
614
+ title: string;
615
+ operation: "create_page";
616
+ status?: "draft" | "current" | undefined;
617
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
618
+ body?: string | undefined;
619
+ space_id?: string | undefined;
620
+ space_key?: string | undefined;
621
+ parent_id?: string | undefined;
622
+ }>, z.ZodObject<{
623
+ operation: z.ZodLiteral<"update_page">;
624
+ page_id: z.ZodString;
625
+ title: z.ZodOptional<z.ZodString>;
626
+ body: z.ZodOptional<z.ZodString>;
627
+ status: z.ZodOptional<z.ZodEnum<["current", "draft"]>>;
628
+ version_message: z.ZodOptional<z.ZodString>;
629
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ operation: "update_page";
632
+ page_id: string;
633
+ title?: string | undefined;
634
+ status?: "draft" | "current" | undefined;
635
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
636
+ body?: string | undefined;
637
+ version_message?: string | undefined;
638
+ }, {
639
+ operation: "update_page";
640
+ page_id: string;
641
+ title?: string | undefined;
642
+ status?: "draft" | "current" | undefined;
643
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
644
+ body?: string | undefined;
645
+ version_message?: string | undefined;
646
+ }>, z.ZodObject<{
647
+ operation: z.ZodLiteral<"delete_page">;
648
+ page_id: z.ZodString;
649
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
650
+ }, "strip", z.ZodTypeAny, {
651
+ operation: "delete_page";
652
+ page_id: string;
653
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
654
+ }, {
655
+ operation: "delete_page";
656
+ page_id: string;
657
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
658
+ }>, z.ZodObject<{
659
+ operation: z.ZodLiteral<"search">;
660
+ cql: z.ZodString;
661
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
662
+ start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
663
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
664
+ }, "strip", z.ZodTypeAny, {
665
+ start: number;
666
+ operation: "search";
667
+ limit: number;
668
+ cql: string;
669
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
670
+ }, {
671
+ operation: "search";
672
+ cql: string;
673
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
674
+ start?: number | undefined;
675
+ limit?: number | undefined;
676
+ }>, z.ZodObject<{
677
+ operation: z.ZodLiteral<"add_comment">;
678
+ page_id: z.ZodString;
679
+ body: z.ZodString;
680
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
681
+ }, "strip", z.ZodTypeAny, {
682
+ operation: "add_comment";
683
+ body: string;
684
+ page_id: string;
685
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
686
+ }, {
687
+ operation: "add_comment";
688
+ body: string;
689
+ page_id: string;
690
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
691
+ }>, z.ZodObject<{
692
+ operation: z.ZodLiteral<"get_comments">;
693
+ page_id: z.ZodString;
694
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
695
+ cursor: z.ZodOptional<z.ZodString>;
696
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
697
+ }, "strip", z.ZodTypeAny, {
698
+ operation: "get_comments";
699
+ limit: number;
700
+ page_id: string;
701
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
702
+ cursor?: string | undefined;
703
+ }, {
704
+ operation: "get_comments";
705
+ page_id: string;
706
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
707
+ limit?: number | undefined;
708
+ cursor?: string | undefined;
709
+ }>]>;
710
+ export declare const ConfluenceResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
711
+ operation: z.ZodLiteral<"list_spaces">;
712
+ success: z.ZodBoolean;
713
+ spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
714
+ id: z.ZodString;
715
+ key: z.ZodString;
716
+ name: z.ZodString;
717
+ type: z.ZodOptional<z.ZodString>;
718
+ status: z.ZodOptional<z.ZodString>;
719
+ description: z.ZodOptional<z.ZodUnknown>;
720
+ homepageId: z.ZodOptional<z.ZodString>;
721
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
722
+ id: z.ZodString;
723
+ key: z.ZodString;
724
+ name: z.ZodString;
725
+ type: z.ZodOptional<z.ZodString>;
726
+ status: z.ZodOptional<z.ZodString>;
727
+ description: z.ZodOptional<z.ZodUnknown>;
728
+ homepageId: z.ZodOptional<z.ZodString>;
729
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
730
+ id: z.ZodString;
731
+ key: z.ZodString;
732
+ name: z.ZodString;
733
+ type: z.ZodOptional<z.ZodString>;
734
+ status: z.ZodOptional<z.ZodString>;
735
+ description: z.ZodOptional<z.ZodUnknown>;
736
+ homepageId: z.ZodOptional<z.ZodString>;
737
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
738
+ cursor: z.ZodOptional<z.ZodString>;
739
+ error: z.ZodString;
740
+ }, "strip", z.ZodTypeAny, {
741
+ error: string;
742
+ success: boolean;
743
+ operation: "list_spaces";
744
+ cursor?: string | undefined;
745
+ spaces?: z.objectOutputType<{
746
+ id: z.ZodString;
747
+ key: z.ZodString;
748
+ name: z.ZodString;
749
+ type: z.ZodOptional<z.ZodString>;
750
+ status: z.ZodOptional<z.ZodString>;
751
+ description: z.ZodOptional<z.ZodUnknown>;
752
+ homepageId: z.ZodOptional<z.ZodString>;
753
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
754
+ }, {
755
+ error: string;
756
+ success: boolean;
757
+ operation: "list_spaces";
758
+ cursor?: string | undefined;
759
+ spaces?: z.objectInputType<{
760
+ id: z.ZodString;
761
+ key: z.ZodString;
762
+ name: z.ZodString;
763
+ type: z.ZodOptional<z.ZodString>;
764
+ status: z.ZodOptional<z.ZodString>;
765
+ description: z.ZodOptional<z.ZodUnknown>;
766
+ homepageId: z.ZodOptional<z.ZodString>;
767
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
768
+ }>, z.ZodObject<{
769
+ operation: z.ZodLiteral<"get_space">;
770
+ success: z.ZodBoolean;
771
+ space: z.ZodOptional<z.ZodObject<{
772
+ id: z.ZodString;
773
+ key: z.ZodString;
774
+ name: z.ZodString;
775
+ type: z.ZodOptional<z.ZodString>;
776
+ status: z.ZodOptional<z.ZodString>;
777
+ description: z.ZodOptional<z.ZodUnknown>;
778
+ homepageId: z.ZodOptional<z.ZodString>;
779
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
780
+ id: z.ZodString;
781
+ key: z.ZodString;
782
+ name: z.ZodString;
783
+ type: z.ZodOptional<z.ZodString>;
784
+ status: z.ZodOptional<z.ZodString>;
785
+ description: z.ZodOptional<z.ZodUnknown>;
786
+ homepageId: z.ZodOptional<z.ZodString>;
787
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
788
+ id: z.ZodString;
789
+ key: z.ZodString;
790
+ name: z.ZodString;
791
+ type: z.ZodOptional<z.ZodString>;
792
+ status: z.ZodOptional<z.ZodString>;
793
+ description: z.ZodOptional<z.ZodUnknown>;
794
+ homepageId: z.ZodOptional<z.ZodString>;
795
+ }, z.ZodTypeAny, "passthrough">>>;
796
+ error: z.ZodString;
797
+ }, "strip", z.ZodTypeAny, {
798
+ error: string;
799
+ success: boolean;
800
+ operation: "get_space";
801
+ space?: z.objectOutputType<{
802
+ id: z.ZodString;
803
+ key: z.ZodString;
804
+ name: z.ZodString;
805
+ type: z.ZodOptional<z.ZodString>;
806
+ status: z.ZodOptional<z.ZodString>;
807
+ description: z.ZodOptional<z.ZodUnknown>;
808
+ homepageId: z.ZodOptional<z.ZodString>;
809
+ }, z.ZodTypeAny, "passthrough"> | undefined;
810
+ }, {
811
+ error: string;
812
+ success: boolean;
813
+ operation: "get_space";
814
+ space?: z.objectInputType<{
815
+ id: z.ZodString;
816
+ key: z.ZodString;
817
+ name: z.ZodString;
818
+ type: z.ZodOptional<z.ZodString>;
819
+ status: z.ZodOptional<z.ZodString>;
820
+ description: z.ZodOptional<z.ZodUnknown>;
821
+ homepageId: z.ZodOptional<z.ZodString>;
822
+ }, z.ZodTypeAny, "passthrough"> | undefined;
823
+ }>, z.ZodObject<{
824
+ operation: z.ZodLiteral<"list_pages">;
825
+ success: z.ZodBoolean;
826
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
827
+ id: z.ZodString;
828
+ title: z.ZodString;
829
+ status: z.ZodOptional<z.ZodString>;
830
+ spaceId: z.ZodOptional<z.ZodString>;
831
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
832
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
833
+ authorId: z.ZodOptional<z.ZodString>;
834
+ createdAt: z.ZodOptional<z.ZodString>;
835
+ version: z.ZodOptional<z.ZodObject<{
836
+ number: z.ZodNumber;
837
+ message: z.ZodOptional<z.ZodString>;
838
+ createdAt: z.ZodOptional<z.ZodString>;
839
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
840
+ number: z.ZodNumber;
841
+ message: z.ZodOptional<z.ZodString>;
842
+ createdAt: z.ZodOptional<z.ZodString>;
843
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
844
+ number: z.ZodNumber;
845
+ message: z.ZodOptional<z.ZodString>;
846
+ createdAt: z.ZodOptional<z.ZodString>;
847
+ }, z.ZodTypeAny, "passthrough">>>;
848
+ body: z.ZodOptional<z.ZodObject<{
849
+ storage: z.ZodOptional<z.ZodObject<{
850
+ value: z.ZodString;
851
+ representation: z.ZodOptional<z.ZodString>;
852
+ }, "strip", z.ZodTypeAny, {
853
+ value: string;
854
+ representation?: string | undefined;
855
+ }, {
856
+ value: string;
857
+ representation?: string | undefined;
858
+ }>>;
859
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
860
+ storage: z.ZodOptional<z.ZodObject<{
861
+ value: z.ZodString;
862
+ representation: z.ZodOptional<z.ZodString>;
863
+ }, "strip", z.ZodTypeAny, {
864
+ value: string;
865
+ representation?: string | undefined;
866
+ }, {
867
+ value: string;
868
+ representation?: string | undefined;
869
+ }>>;
870
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
871
+ storage: z.ZodOptional<z.ZodObject<{
872
+ value: z.ZodString;
873
+ representation: z.ZodOptional<z.ZodString>;
874
+ }, "strip", z.ZodTypeAny, {
875
+ value: string;
876
+ representation?: string | undefined;
877
+ }, {
878
+ value: string;
879
+ representation?: string | undefined;
880
+ }>>;
881
+ }, z.ZodTypeAny, "passthrough">>>;
882
+ _links: z.ZodOptional<z.ZodObject<{
883
+ webui: z.ZodOptional<z.ZodString>;
884
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
885
+ webui: z.ZodOptional<z.ZodString>;
886
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
887
+ webui: z.ZodOptional<z.ZodString>;
888
+ }, z.ZodTypeAny, "passthrough">>>;
889
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
890
+ id: z.ZodString;
891
+ title: z.ZodString;
892
+ status: z.ZodOptional<z.ZodString>;
893
+ spaceId: z.ZodOptional<z.ZodString>;
894
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
895
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
896
+ authorId: z.ZodOptional<z.ZodString>;
897
+ createdAt: z.ZodOptional<z.ZodString>;
898
+ version: z.ZodOptional<z.ZodObject<{
899
+ number: z.ZodNumber;
900
+ message: z.ZodOptional<z.ZodString>;
901
+ createdAt: z.ZodOptional<z.ZodString>;
902
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
903
+ number: z.ZodNumber;
904
+ message: z.ZodOptional<z.ZodString>;
905
+ createdAt: z.ZodOptional<z.ZodString>;
906
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
907
+ number: z.ZodNumber;
908
+ message: z.ZodOptional<z.ZodString>;
909
+ createdAt: z.ZodOptional<z.ZodString>;
910
+ }, z.ZodTypeAny, "passthrough">>>;
911
+ body: z.ZodOptional<z.ZodObject<{
912
+ storage: z.ZodOptional<z.ZodObject<{
913
+ value: z.ZodString;
914
+ representation: z.ZodOptional<z.ZodString>;
915
+ }, "strip", z.ZodTypeAny, {
916
+ value: string;
917
+ representation?: string | undefined;
918
+ }, {
919
+ value: string;
920
+ representation?: string | undefined;
921
+ }>>;
922
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
923
+ storage: z.ZodOptional<z.ZodObject<{
924
+ value: z.ZodString;
925
+ representation: z.ZodOptional<z.ZodString>;
926
+ }, "strip", z.ZodTypeAny, {
927
+ value: string;
928
+ representation?: string | undefined;
929
+ }, {
930
+ value: string;
931
+ representation?: string | undefined;
932
+ }>>;
933
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
934
+ storage: z.ZodOptional<z.ZodObject<{
935
+ value: z.ZodString;
936
+ representation: z.ZodOptional<z.ZodString>;
937
+ }, "strip", z.ZodTypeAny, {
938
+ value: string;
939
+ representation?: string | undefined;
940
+ }, {
941
+ value: string;
942
+ representation?: string | undefined;
943
+ }>>;
944
+ }, z.ZodTypeAny, "passthrough">>>;
945
+ _links: z.ZodOptional<z.ZodObject<{
946
+ webui: z.ZodOptional<z.ZodString>;
947
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
948
+ webui: z.ZodOptional<z.ZodString>;
949
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
950
+ webui: z.ZodOptional<z.ZodString>;
951
+ }, z.ZodTypeAny, "passthrough">>>;
952
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
953
+ id: z.ZodString;
954
+ title: z.ZodString;
955
+ status: z.ZodOptional<z.ZodString>;
956
+ spaceId: z.ZodOptional<z.ZodString>;
957
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
958
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
959
+ authorId: z.ZodOptional<z.ZodString>;
960
+ createdAt: z.ZodOptional<z.ZodString>;
961
+ version: z.ZodOptional<z.ZodObject<{
962
+ number: z.ZodNumber;
963
+ message: z.ZodOptional<z.ZodString>;
964
+ createdAt: z.ZodOptional<z.ZodString>;
965
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
966
+ number: z.ZodNumber;
967
+ message: z.ZodOptional<z.ZodString>;
968
+ createdAt: z.ZodOptional<z.ZodString>;
969
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
970
+ number: z.ZodNumber;
971
+ message: z.ZodOptional<z.ZodString>;
972
+ createdAt: z.ZodOptional<z.ZodString>;
973
+ }, z.ZodTypeAny, "passthrough">>>;
974
+ body: z.ZodOptional<z.ZodObject<{
975
+ storage: z.ZodOptional<z.ZodObject<{
976
+ value: z.ZodString;
977
+ representation: z.ZodOptional<z.ZodString>;
978
+ }, "strip", z.ZodTypeAny, {
979
+ value: string;
980
+ representation?: string | undefined;
981
+ }, {
982
+ value: string;
983
+ representation?: string | undefined;
984
+ }>>;
985
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
986
+ storage: z.ZodOptional<z.ZodObject<{
987
+ value: z.ZodString;
988
+ representation: z.ZodOptional<z.ZodString>;
989
+ }, "strip", z.ZodTypeAny, {
990
+ value: string;
991
+ representation?: string | undefined;
992
+ }, {
993
+ value: string;
994
+ representation?: string | undefined;
995
+ }>>;
996
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
997
+ storage: z.ZodOptional<z.ZodObject<{
998
+ value: z.ZodString;
999
+ representation: z.ZodOptional<z.ZodString>;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ value: string;
1002
+ representation?: string | undefined;
1003
+ }, {
1004
+ value: string;
1005
+ representation?: string | undefined;
1006
+ }>>;
1007
+ }, z.ZodTypeAny, "passthrough">>>;
1008
+ _links: z.ZodOptional<z.ZodObject<{
1009
+ webui: z.ZodOptional<z.ZodString>;
1010
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1011
+ webui: z.ZodOptional<z.ZodString>;
1012
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1013
+ webui: z.ZodOptional<z.ZodString>;
1014
+ }, z.ZodTypeAny, "passthrough">>>;
1015
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1016
+ cursor: z.ZodOptional<z.ZodString>;
1017
+ error: z.ZodString;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ error: string;
1020
+ success: boolean;
1021
+ operation: "list_pages";
1022
+ cursor?: string | undefined;
1023
+ pages?: z.objectOutputType<{
1024
+ id: z.ZodString;
1025
+ title: z.ZodString;
1026
+ status: z.ZodOptional<z.ZodString>;
1027
+ spaceId: z.ZodOptional<z.ZodString>;
1028
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1029
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1030
+ authorId: z.ZodOptional<z.ZodString>;
1031
+ createdAt: z.ZodOptional<z.ZodString>;
1032
+ version: z.ZodOptional<z.ZodObject<{
1033
+ number: z.ZodNumber;
1034
+ message: z.ZodOptional<z.ZodString>;
1035
+ createdAt: z.ZodOptional<z.ZodString>;
1036
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1037
+ number: z.ZodNumber;
1038
+ message: z.ZodOptional<z.ZodString>;
1039
+ createdAt: z.ZodOptional<z.ZodString>;
1040
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1041
+ number: z.ZodNumber;
1042
+ message: z.ZodOptional<z.ZodString>;
1043
+ createdAt: z.ZodOptional<z.ZodString>;
1044
+ }, z.ZodTypeAny, "passthrough">>>;
1045
+ body: z.ZodOptional<z.ZodObject<{
1046
+ storage: z.ZodOptional<z.ZodObject<{
1047
+ value: z.ZodString;
1048
+ representation: z.ZodOptional<z.ZodString>;
1049
+ }, "strip", z.ZodTypeAny, {
1050
+ value: string;
1051
+ representation?: string | undefined;
1052
+ }, {
1053
+ value: string;
1054
+ representation?: string | undefined;
1055
+ }>>;
1056
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1057
+ storage: z.ZodOptional<z.ZodObject<{
1058
+ value: z.ZodString;
1059
+ representation: z.ZodOptional<z.ZodString>;
1060
+ }, "strip", z.ZodTypeAny, {
1061
+ value: string;
1062
+ representation?: string | undefined;
1063
+ }, {
1064
+ value: string;
1065
+ representation?: string | undefined;
1066
+ }>>;
1067
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1068
+ storage: z.ZodOptional<z.ZodObject<{
1069
+ value: z.ZodString;
1070
+ representation: z.ZodOptional<z.ZodString>;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ value: string;
1073
+ representation?: string | undefined;
1074
+ }, {
1075
+ value: string;
1076
+ representation?: string | undefined;
1077
+ }>>;
1078
+ }, z.ZodTypeAny, "passthrough">>>;
1079
+ _links: z.ZodOptional<z.ZodObject<{
1080
+ webui: z.ZodOptional<z.ZodString>;
1081
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1082
+ webui: z.ZodOptional<z.ZodString>;
1083
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1084
+ webui: z.ZodOptional<z.ZodString>;
1085
+ }, z.ZodTypeAny, "passthrough">>>;
1086
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1087
+ }, {
1088
+ error: string;
1089
+ success: boolean;
1090
+ operation: "list_pages";
1091
+ cursor?: string | undefined;
1092
+ pages?: z.objectInputType<{
1093
+ id: z.ZodString;
1094
+ title: z.ZodString;
1095
+ status: z.ZodOptional<z.ZodString>;
1096
+ spaceId: z.ZodOptional<z.ZodString>;
1097
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1098
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1099
+ authorId: z.ZodOptional<z.ZodString>;
1100
+ createdAt: z.ZodOptional<z.ZodString>;
1101
+ version: z.ZodOptional<z.ZodObject<{
1102
+ number: z.ZodNumber;
1103
+ message: z.ZodOptional<z.ZodString>;
1104
+ createdAt: z.ZodOptional<z.ZodString>;
1105
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1106
+ number: z.ZodNumber;
1107
+ message: z.ZodOptional<z.ZodString>;
1108
+ createdAt: z.ZodOptional<z.ZodString>;
1109
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1110
+ number: z.ZodNumber;
1111
+ message: z.ZodOptional<z.ZodString>;
1112
+ createdAt: z.ZodOptional<z.ZodString>;
1113
+ }, z.ZodTypeAny, "passthrough">>>;
1114
+ body: z.ZodOptional<z.ZodObject<{
1115
+ storage: z.ZodOptional<z.ZodObject<{
1116
+ value: z.ZodString;
1117
+ representation: z.ZodOptional<z.ZodString>;
1118
+ }, "strip", z.ZodTypeAny, {
1119
+ value: string;
1120
+ representation?: string | undefined;
1121
+ }, {
1122
+ value: string;
1123
+ representation?: string | undefined;
1124
+ }>>;
1125
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1126
+ storage: z.ZodOptional<z.ZodObject<{
1127
+ value: z.ZodString;
1128
+ representation: z.ZodOptional<z.ZodString>;
1129
+ }, "strip", z.ZodTypeAny, {
1130
+ value: string;
1131
+ representation?: string | undefined;
1132
+ }, {
1133
+ value: string;
1134
+ representation?: string | undefined;
1135
+ }>>;
1136
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1137
+ storage: z.ZodOptional<z.ZodObject<{
1138
+ value: z.ZodString;
1139
+ representation: z.ZodOptional<z.ZodString>;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ value: string;
1142
+ representation?: string | undefined;
1143
+ }, {
1144
+ value: string;
1145
+ representation?: string | undefined;
1146
+ }>>;
1147
+ }, z.ZodTypeAny, "passthrough">>>;
1148
+ _links: z.ZodOptional<z.ZodObject<{
1149
+ webui: z.ZodOptional<z.ZodString>;
1150
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1151
+ webui: z.ZodOptional<z.ZodString>;
1152
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1153
+ webui: z.ZodOptional<z.ZodString>;
1154
+ }, z.ZodTypeAny, "passthrough">>>;
1155
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1156
+ }>, z.ZodObject<{
1157
+ operation: z.ZodLiteral<"get_page">;
1158
+ success: z.ZodBoolean;
1159
+ page: z.ZodOptional<z.ZodObject<{
1160
+ id: z.ZodString;
1161
+ title: z.ZodString;
1162
+ status: z.ZodOptional<z.ZodString>;
1163
+ spaceId: z.ZodOptional<z.ZodString>;
1164
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1165
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1166
+ authorId: z.ZodOptional<z.ZodString>;
1167
+ createdAt: z.ZodOptional<z.ZodString>;
1168
+ version: z.ZodOptional<z.ZodObject<{
1169
+ number: z.ZodNumber;
1170
+ message: z.ZodOptional<z.ZodString>;
1171
+ createdAt: z.ZodOptional<z.ZodString>;
1172
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1173
+ number: z.ZodNumber;
1174
+ message: z.ZodOptional<z.ZodString>;
1175
+ createdAt: z.ZodOptional<z.ZodString>;
1176
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1177
+ number: z.ZodNumber;
1178
+ message: z.ZodOptional<z.ZodString>;
1179
+ createdAt: z.ZodOptional<z.ZodString>;
1180
+ }, z.ZodTypeAny, "passthrough">>>;
1181
+ body: z.ZodOptional<z.ZodObject<{
1182
+ storage: z.ZodOptional<z.ZodObject<{
1183
+ value: z.ZodString;
1184
+ representation: z.ZodOptional<z.ZodString>;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ value: string;
1187
+ representation?: string | undefined;
1188
+ }, {
1189
+ value: string;
1190
+ representation?: string | undefined;
1191
+ }>>;
1192
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1193
+ storage: z.ZodOptional<z.ZodObject<{
1194
+ value: z.ZodString;
1195
+ representation: z.ZodOptional<z.ZodString>;
1196
+ }, "strip", z.ZodTypeAny, {
1197
+ value: string;
1198
+ representation?: string | undefined;
1199
+ }, {
1200
+ value: string;
1201
+ representation?: string | undefined;
1202
+ }>>;
1203
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1204
+ storage: z.ZodOptional<z.ZodObject<{
1205
+ value: z.ZodString;
1206
+ representation: z.ZodOptional<z.ZodString>;
1207
+ }, "strip", z.ZodTypeAny, {
1208
+ value: string;
1209
+ representation?: string | undefined;
1210
+ }, {
1211
+ value: string;
1212
+ representation?: string | undefined;
1213
+ }>>;
1214
+ }, z.ZodTypeAny, "passthrough">>>;
1215
+ _links: z.ZodOptional<z.ZodObject<{
1216
+ webui: z.ZodOptional<z.ZodString>;
1217
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1218
+ webui: z.ZodOptional<z.ZodString>;
1219
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1220
+ webui: z.ZodOptional<z.ZodString>;
1221
+ }, z.ZodTypeAny, "passthrough">>>;
1222
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1223
+ id: z.ZodString;
1224
+ title: z.ZodString;
1225
+ status: z.ZodOptional<z.ZodString>;
1226
+ spaceId: z.ZodOptional<z.ZodString>;
1227
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1228
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1229
+ authorId: z.ZodOptional<z.ZodString>;
1230
+ createdAt: z.ZodOptional<z.ZodString>;
1231
+ version: z.ZodOptional<z.ZodObject<{
1232
+ number: z.ZodNumber;
1233
+ message: z.ZodOptional<z.ZodString>;
1234
+ createdAt: z.ZodOptional<z.ZodString>;
1235
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1236
+ number: z.ZodNumber;
1237
+ message: z.ZodOptional<z.ZodString>;
1238
+ createdAt: z.ZodOptional<z.ZodString>;
1239
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1240
+ number: z.ZodNumber;
1241
+ message: z.ZodOptional<z.ZodString>;
1242
+ createdAt: z.ZodOptional<z.ZodString>;
1243
+ }, z.ZodTypeAny, "passthrough">>>;
1244
+ body: z.ZodOptional<z.ZodObject<{
1245
+ storage: z.ZodOptional<z.ZodObject<{
1246
+ value: z.ZodString;
1247
+ representation: z.ZodOptional<z.ZodString>;
1248
+ }, "strip", z.ZodTypeAny, {
1249
+ value: string;
1250
+ representation?: string | undefined;
1251
+ }, {
1252
+ value: string;
1253
+ representation?: string | undefined;
1254
+ }>>;
1255
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1256
+ storage: z.ZodOptional<z.ZodObject<{
1257
+ value: z.ZodString;
1258
+ representation: z.ZodOptional<z.ZodString>;
1259
+ }, "strip", z.ZodTypeAny, {
1260
+ value: string;
1261
+ representation?: string | undefined;
1262
+ }, {
1263
+ value: string;
1264
+ representation?: string | undefined;
1265
+ }>>;
1266
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1267
+ storage: z.ZodOptional<z.ZodObject<{
1268
+ value: z.ZodString;
1269
+ representation: z.ZodOptional<z.ZodString>;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ value: string;
1272
+ representation?: string | undefined;
1273
+ }, {
1274
+ value: string;
1275
+ representation?: string | undefined;
1276
+ }>>;
1277
+ }, z.ZodTypeAny, "passthrough">>>;
1278
+ _links: z.ZodOptional<z.ZodObject<{
1279
+ webui: z.ZodOptional<z.ZodString>;
1280
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1281
+ webui: z.ZodOptional<z.ZodString>;
1282
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1283
+ webui: z.ZodOptional<z.ZodString>;
1284
+ }, z.ZodTypeAny, "passthrough">>>;
1285
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1286
+ id: z.ZodString;
1287
+ title: z.ZodString;
1288
+ status: z.ZodOptional<z.ZodString>;
1289
+ spaceId: z.ZodOptional<z.ZodString>;
1290
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1291
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1292
+ authorId: z.ZodOptional<z.ZodString>;
1293
+ createdAt: z.ZodOptional<z.ZodString>;
1294
+ version: z.ZodOptional<z.ZodObject<{
1295
+ number: z.ZodNumber;
1296
+ message: z.ZodOptional<z.ZodString>;
1297
+ createdAt: z.ZodOptional<z.ZodString>;
1298
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1299
+ number: z.ZodNumber;
1300
+ message: z.ZodOptional<z.ZodString>;
1301
+ createdAt: z.ZodOptional<z.ZodString>;
1302
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1303
+ number: z.ZodNumber;
1304
+ message: z.ZodOptional<z.ZodString>;
1305
+ createdAt: z.ZodOptional<z.ZodString>;
1306
+ }, z.ZodTypeAny, "passthrough">>>;
1307
+ body: z.ZodOptional<z.ZodObject<{
1308
+ storage: z.ZodOptional<z.ZodObject<{
1309
+ value: z.ZodString;
1310
+ representation: z.ZodOptional<z.ZodString>;
1311
+ }, "strip", z.ZodTypeAny, {
1312
+ value: string;
1313
+ representation?: string | undefined;
1314
+ }, {
1315
+ value: string;
1316
+ representation?: string | undefined;
1317
+ }>>;
1318
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1319
+ storage: z.ZodOptional<z.ZodObject<{
1320
+ value: z.ZodString;
1321
+ representation: z.ZodOptional<z.ZodString>;
1322
+ }, "strip", z.ZodTypeAny, {
1323
+ value: string;
1324
+ representation?: string | undefined;
1325
+ }, {
1326
+ value: string;
1327
+ representation?: string | undefined;
1328
+ }>>;
1329
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1330
+ storage: z.ZodOptional<z.ZodObject<{
1331
+ value: z.ZodString;
1332
+ representation: z.ZodOptional<z.ZodString>;
1333
+ }, "strip", z.ZodTypeAny, {
1334
+ value: string;
1335
+ representation?: string | undefined;
1336
+ }, {
1337
+ value: string;
1338
+ representation?: string | undefined;
1339
+ }>>;
1340
+ }, z.ZodTypeAny, "passthrough">>>;
1341
+ _links: z.ZodOptional<z.ZodObject<{
1342
+ webui: z.ZodOptional<z.ZodString>;
1343
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1344
+ webui: z.ZodOptional<z.ZodString>;
1345
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1346
+ webui: z.ZodOptional<z.ZodString>;
1347
+ }, z.ZodTypeAny, "passthrough">>>;
1348
+ }, z.ZodTypeAny, "passthrough">>>;
1349
+ error: z.ZodString;
1350
+ }, "strip", z.ZodTypeAny, {
1351
+ error: string;
1352
+ success: boolean;
1353
+ operation: "get_page";
1354
+ page?: z.objectOutputType<{
1355
+ id: z.ZodString;
1356
+ title: z.ZodString;
1357
+ status: z.ZodOptional<z.ZodString>;
1358
+ spaceId: z.ZodOptional<z.ZodString>;
1359
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1360
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1361
+ authorId: z.ZodOptional<z.ZodString>;
1362
+ createdAt: z.ZodOptional<z.ZodString>;
1363
+ version: z.ZodOptional<z.ZodObject<{
1364
+ number: z.ZodNumber;
1365
+ message: z.ZodOptional<z.ZodString>;
1366
+ createdAt: z.ZodOptional<z.ZodString>;
1367
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1368
+ number: z.ZodNumber;
1369
+ message: z.ZodOptional<z.ZodString>;
1370
+ createdAt: z.ZodOptional<z.ZodString>;
1371
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1372
+ number: z.ZodNumber;
1373
+ message: z.ZodOptional<z.ZodString>;
1374
+ createdAt: z.ZodOptional<z.ZodString>;
1375
+ }, z.ZodTypeAny, "passthrough">>>;
1376
+ body: z.ZodOptional<z.ZodObject<{
1377
+ storage: z.ZodOptional<z.ZodObject<{
1378
+ value: z.ZodString;
1379
+ representation: z.ZodOptional<z.ZodString>;
1380
+ }, "strip", z.ZodTypeAny, {
1381
+ value: string;
1382
+ representation?: string | undefined;
1383
+ }, {
1384
+ value: string;
1385
+ representation?: string | undefined;
1386
+ }>>;
1387
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1388
+ storage: z.ZodOptional<z.ZodObject<{
1389
+ value: z.ZodString;
1390
+ representation: z.ZodOptional<z.ZodString>;
1391
+ }, "strip", z.ZodTypeAny, {
1392
+ value: string;
1393
+ representation?: string | undefined;
1394
+ }, {
1395
+ value: string;
1396
+ representation?: string | undefined;
1397
+ }>>;
1398
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1399
+ storage: z.ZodOptional<z.ZodObject<{
1400
+ value: z.ZodString;
1401
+ representation: z.ZodOptional<z.ZodString>;
1402
+ }, "strip", z.ZodTypeAny, {
1403
+ value: string;
1404
+ representation?: string | undefined;
1405
+ }, {
1406
+ value: string;
1407
+ representation?: string | undefined;
1408
+ }>>;
1409
+ }, z.ZodTypeAny, "passthrough">>>;
1410
+ _links: z.ZodOptional<z.ZodObject<{
1411
+ webui: z.ZodOptional<z.ZodString>;
1412
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1413
+ webui: z.ZodOptional<z.ZodString>;
1414
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1415
+ webui: z.ZodOptional<z.ZodString>;
1416
+ }, z.ZodTypeAny, "passthrough">>>;
1417
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1418
+ }, {
1419
+ error: string;
1420
+ success: boolean;
1421
+ operation: "get_page";
1422
+ page?: z.objectInputType<{
1423
+ id: z.ZodString;
1424
+ title: z.ZodString;
1425
+ status: z.ZodOptional<z.ZodString>;
1426
+ spaceId: z.ZodOptional<z.ZodString>;
1427
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1428
+ parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1429
+ authorId: z.ZodOptional<z.ZodString>;
1430
+ createdAt: z.ZodOptional<z.ZodString>;
1431
+ version: z.ZodOptional<z.ZodObject<{
1432
+ number: z.ZodNumber;
1433
+ message: z.ZodOptional<z.ZodString>;
1434
+ createdAt: z.ZodOptional<z.ZodString>;
1435
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1436
+ number: z.ZodNumber;
1437
+ message: z.ZodOptional<z.ZodString>;
1438
+ createdAt: z.ZodOptional<z.ZodString>;
1439
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1440
+ number: z.ZodNumber;
1441
+ message: z.ZodOptional<z.ZodString>;
1442
+ createdAt: z.ZodOptional<z.ZodString>;
1443
+ }, z.ZodTypeAny, "passthrough">>>;
1444
+ body: z.ZodOptional<z.ZodObject<{
1445
+ storage: z.ZodOptional<z.ZodObject<{
1446
+ value: z.ZodString;
1447
+ representation: z.ZodOptional<z.ZodString>;
1448
+ }, "strip", z.ZodTypeAny, {
1449
+ value: string;
1450
+ representation?: string | undefined;
1451
+ }, {
1452
+ value: string;
1453
+ representation?: string | undefined;
1454
+ }>>;
1455
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1456
+ storage: z.ZodOptional<z.ZodObject<{
1457
+ value: z.ZodString;
1458
+ representation: z.ZodOptional<z.ZodString>;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ value: string;
1461
+ representation?: string | undefined;
1462
+ }, {
1463
+ value: string;
1464
+ representation?: string | undefined;
1465
+ }>>;
1466
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1467
+ storage: z.ZodOptional<z.ZodObject<{
1468
+ value: z.ZodString;
1469
+ representation: z.ZodOptional<z.ZodString>;
1470
+ }, "strip", z.ZodTypeAny, {
1471
+ value: string;
1472
+ representation?: string | undefined;
1473
+ }, {
1474
+ value: string;
1475
+ representation?: string | undefined;
1476
+ }>>;
1477
+ }, z.ZodTypeAny, "passthrough">>>;
1478
+ _links: z.ZodOptional<z.ZodObject<{
1479
+ webui: z.ZodOptional<z.ZodString>;
1480
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1481
+ webui: z.ZodOptional<z.ZodString>;
1482
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1483
+ webui: z.ZodOptional<z.ZodString>;
1484
+ }, z.ZodTypeAny, "passthrough">>>;
1485
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1486
+ }>, z.ZodObject<{
1487
+ operation: z.ZodLiteral<"create_page">;
1488
+ success: z.ZodBoolean;
1489
+ page: z.ZodOptional<z.ZodObject<{
1490
+ id: z.ZodString;
1491
+ title: z.ZodString;
1492
+ status: z.ZodOptional<z.ZodString>;
1493
+ _links: z.ZodOptional<z.ZodObject<{
1494
+ webui: z.ZodOptional<z.ZodString>;
1495
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1496
+ webui: z.ZodOptional<z.ZodString>;
1497
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1498
+ webui: z.ZodOptional<z.ZodString>;
1499
+ }, z.ZodTypeAny, "passthrough">>>;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ title: string;
1502
+ id: string;
1503
+ status?: string | undefined;
1504
+ _links?: z.objectOutputType<{
1505
+ webui: z.ZodOptional<z.ZodString>;
1506
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1507
+ }, {
1508
+ title: string;
1509
+ id: string;
1510
+ status?: string | undefined;
1511
+ _links?: z.objectInputType<{
1512
+ webui: z.ZodOptional<z.ZodString>;
1513
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1514
+ }>>;
1515
+ error: z.ZodString;
1516
+ }, "strip", z.ZodTypeAny, {
1517
+ error: string;
1518
+ success: boolean;
1519
+ operation: "create_page";
1520
+ page?: {
1521
+ title: string;
1522
+ id: string;
1523
+ status?: string | undefined;
1524
+ _links?: z.objectOutputType<{
1525
+ webui: z.ZodOptional<z.ZodString>;
1526
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1527
+ } | undefined;
1528
+ }, {
1529
+ error: string;
1530
+ success: boolean;
1531
+ operation: "create_page";
1532
+ page?: {
1533
+ title: string;
1534
+ id: string;
1535
+ status?: string | undefined;
1536
+ _links?: z.objectInputType<{
1537
+ webui: z.ZodOptional<z.ZodString>;
1538
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1539
+ } | undefined;
1540
+ }>, z.ZodObject<{
1541
+ operation: z.ZodLiteral<"update_page">;
1542
+ success: z.ZodBoolean;
1543
+ page: z.ZodOptional<z.ZodObject<{
1544
+ id: z.ZodString;
1545
+ title: z.ZodString;
1546
+ version: z.ZodOptional<z.ZodObject<{
1547
+ number: z.ZodNumber;
1548
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1549
+ number: z.ZodNumber;
1550
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1551
+ number: z.ZodNumber;
1552
+ }, z.ZodTypeAny, "passthrough">>>;
1553
+ }, "strip", z.ZodTypeAny, {
1554
+ title: string;
1555
+ id: string;
1556
+ version?: z.objectOutputType<{
1557
+ number: z.ZodNumber;
1558
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1559
+ }, {
1560
+ title: string;
1561
+ id: string;
1562
+ version?: z.objectInputType<{
1563
+ number: z.ZodNumber;
1564
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1565
+ }>>;
1566
+ error: z.ZodString;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ error: string;
1569
+ success: boolean;
1570
+ operation: "update_page";
1571
+ page?: {
1572
+ title: string;
1573
+ id: string;
1574
+ version?: z.objectOutputType<{
1575
+ number: z.ZodNumber;
1576
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1577
+ } | undefined;
1578
+ }, {
1579
+ error: string;
1580
+ success: boolean;
1581
+ operation: "update_page";
1582
+ page?: {
1583
+ title: string;
1584
+ id: string;
1585
+ version?: z.objectInputType<{
1586
+ number: z.ZodNumber;
1587
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1588
+ } | undefined;
1589
+ }>, z.ZodObject<{
1590
+ operation: z.ZodLiteral<"delete_page">;
1591
+ success: z.ZodBoolean;
1592
+ page_id: z.ZodOptional<z.ZodString>;
1593
+ error: z.ZodString;
1594
+ }, "strip", z.ZodTypeAny, {
1595
+ error: string;
1596
+ success: boolean;
1597
+ operation: "delete_page";
1598
+ page_id?: string | undefined;
1599
+ }, {
1600
+ error: string;
1601
+ success: boolean;
1602
+ operation: "delete_page";
1603
+ page_id?: string | undefined;
1604
+ }>, z.ZodObject<{
1605
+ operation: z.ZodLiteral<"search">;
1606
+ success: z.ZodBoolean;
1607
+ results: z.ZodOptional<z.ZodArray<z.ZodObject<{
1608
+ id: z.ZodOptional<z.ZodString>;
1609
+ type: z.ZodOptional<z.ZodString>;
1610
+ title: z.ZodOptional<z.ZodString>;
1611
+ status: z.ZodOptional<z.ZodString>;
1612
+ excerpt: z.ZodOptional<z.ZodString>;
1613
+ url: z.ZodOptional<z.ZodString>;
1614
+ lastModified: z.ZodOptional<z.ZodString>;
1615
+ _links: z.ZodOptional<z.ZodObject<{
1616
+ webui: z.ZodOptional<z.ZodString>;
1617
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1618
+ webui: z.ZodOptional<z.ZodString>;
1619
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1620
+ webui: z.ZodOptional<z.ZodString>;
1621
+ }, z.ZodTypeAny, "passthrough">>>;
1622
+ content: z.ZodOptional<z.ZodObject<{
1623
+ id: z.ZodOptional<z.ZodString>;
1624
+ type: z.ZodOptional<z.ZodString>;
1625
+ title: z.ZodOptional<z.ZodString>;
1626
+ status: z.ZodOptional<z.ZodString>;
1627
+ _links: z.ZodOptional<z.ZodObject<{
1628
+ webui: z.ZodOptional<z.ZodString>;
1629
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1630
+ webui: z.ZodOptional<z.ZodString>;
1631
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1632
+ webui: z.ZodOptional<z.ZodString>;
1633
+ }, z.ZodTypeAny, "passthrough">>>;
1634
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1635
+ id: z.ZodOptional<z.ZodString>;
1636
+ type: z.ZodOptional<z.ZodString>;
1637
+ title: z.ZodOptional<z.ZodString>;
1638
+ status: z.ZodOptional<z.ZodString>;
1639
+ _links: z.ZodOptional<z.ZodObject<{
1640
+ webui: z.ZodOptional<z.ZodString>;
1641
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1642
+ webui: z.ZodOptional<z.ZodString>;
1643
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1644
+ webui: z.ZodOptional<z.ZodString>;
1645
+ }, z.ZodTypeAny, "passthrough">>>;
1646
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1647
+ id: z.ZodOptional<z.ZodString>;
1648
+ type: z.ZodOptional<z.ZodString>;
1649
+ title: z.ZodOptional<z.ZodString>;
1650
+ status: z.ZodOptional<z.ZodString>;
1651
+ _links: z.ZodOptional<z.ZodObject<{
1652
+ webui: z.ZodOptional<z.ZodString>;
1653
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1654
+ webui: z.ZodOptional<z.ZodString>;
1655
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1656
+ webui: z.ZodOptional<z.ZodString>;
1657
+ }, z.ZodTypeAny, "passthrough">>>;
1658
+ }, z.ZodTypeAny, "passthrough">>>;
1659
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1660
+ id: z.ZodOptional<z.ZodString>;
1661
+ type: z.ZodOptional<z.ZodString>;
1662
+ title: z.ZodOptional<z.ZodString>;
1663
+ status: z.ZodOptional<z.ZodString>;
1664
+ excerpt: z.ZodOptional<z.ZodString>;
1665
+ url: z.ZodOptional<z.ZodString>;
1666
+ lastModified: z.ZodOptional<z.ZodString>;
1667
+ _links: z.ZodOptional<z.ZodObject<{
1668
+ webui: z.ZodOptional<z.ZodString>;
1669
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1670
+ webui: z.ZodOptional<z.ZodString>;
1671
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1672
+ webui: z.ZodOptional<z.ZodString>;
1673
+ }, z.ZodTypeAny, "passthrough">>>;
1674
+ content: z.ZodOptional<z.ZodObject<{
1675
+ id: z.ZodOptional<z.ZodString>;
1676
+ type: z.ZodOptional<z.ZodString>;
1677
+ title: z.ZodOptional<z.ZodString>;
1678
+ status: z.ZodOptional<z.ZodString>;
1679
+ _links: z.ZodOptional<z.ZodObject<{
1680
+ webui: z.ZodOptional<z.ZodString>;
1681
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1682
+ webui: z.ZodOptional<z.ZodString>;
1683
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1684
+ webui: z.ZodOptional<z.ZodString>;
1685
+ }, z.ZodTypeAny, "passthrough">>>;
1686
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1687
+ id: z.ZodOptional<z.ZodString>;
1688
+ type: z.ZodOptional<z.ZodString>;
1689
+ title: z.ZodOptional<z.ZodString>;
1690
+ status: z.ZodOptional<z.ZodString>;
1691
+ _links: z.ZodOptional<z.ZodObject<{
1692
+ webui: z.ZodOptional<z.ZodString>;
1693
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1694
+ webui: z.ZodOptional<z.ZodString>;
1695
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1696
+ webui: z.ZodOptional<z.ZodString>;
1697
+ }, z.ZodTypeAny, "passthrough">>>;
1698
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1699
+ id: z.ZodOptional<z.ZodString>;
1700
+ type: z.ZodOptional<z.ZodString>;
1701
+ title: z.ZodOptional<z.ZodString>;
1702
+ status: z.ZodOptional<z.ZodString>;
1703
+ _links: z.ZodOptional<z.ZodObject<{
1704
+ webui: z.ZodOptional<z.ZodString>;
1705
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1706
+ webui: z.ZodOptional<z.ZodString>;
1707
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1708
+ webui: z.ZodOptional<z.ZodString>;
1709
+ }, z.ZodTypeAny, "passthrough">>>;
1710
+ }, z.ZodTypeAny, "passthrough">>>;
1711
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1712
+ id: z.ZodOptional<z.ZodString>;
1713
+ type: z.ZodOptional<z.ZodString>;
1714
+ title: z.ZodOptional<z.ZodString>;
1715
+ status: z.ZodOptional<z.ZodString>;
1716
+ excerpt: z.ZodOptional<z.ZodString>;
1717
+ url: z.ZodOptional<z.ZodString>;
1718
+ lastModified: z.ZodOptional<z.ZodString>;
1719
+ _links: z.ZodOptional<z.ZodObject<{
1720
+ webui: z.ZodOptional<z.ZodString>;
1721
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1722
+ webui: z.ZodOptional<z.ZodString>;
1723
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1724
+ webui: z.ZodOptional<z.ZodString>;
1725
+ }, z.ZodTypeAny, "passthrough">>>;
1726
+ content: z.ZodOptional<z.ZodObject<{
1727
+ id: z.ZodOptional<z.ZodString>;
1728
+ type: z.ZodOptional<z.ZodString>;
1729
+ title: z.ZodOptional<z.ZodString>;
1730
+ status: z.ZodOptional<z.ZodString>;
1731
+ _links: z.ZodOptional<z.ZodObject<{
1732
+ webui: z.ZodOptional<z.ZodString>;
1733
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1734
+ webui: z.ZodOptional<z.ZodString>;
1735
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1736
+ webui: z.ZodOptional<z.ZodString>;
1737
+ }, z.ZodTypeAny, "passthrough">>>;
1738
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1739
+ id: z.ZodOptional<z.ZodString>;
1740
+ type: z.ZodOptional<z.ZodString>;
1741
+ title: z.ZodOptional<z.ZodString>;
1742
+ status: z.ZodOptional<z.ZodString>;
1743
+ _links: z.ZodOptional<z.ZodObject<{
1744
+ webui: z.ZodOptional<z.ZodString>;
1745
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1746
+ webui: z.ZodOptional<z.ZodString>;
1747
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1748
+ webui: z.ZodOptional<z.ZodString>;
1749
+ }, z.ZodTypeAny, "passthrough">>>;
1750
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1751
+ id: z.ZodOptional<z.ZodString>;
1752
+ type: z.ZodOptional<z.ZodString>;
1753
+ title: z.ZodOptional<z.ZodString>;
1754
+ status: z.ZodOptional<z.ZodString>;
1755
+ _links: z.ZodOptional<z.ZodObject<{
1756
+ webui: z.ZodOptional<z.ZodString>;
1757
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1758
+ webui: z.ZodOptional<z.ZodString>;
1759
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1760
+ webui: z.ZodOptional<z.ZodString>;
1761
+ }, z.ZodTypeAny, "passthrough">>>;
1762
+ }, z.ZodTypeAny, "passthrough">>>;
1763
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1764
+ total: z.ZodOptional<z.ZodNumber>;
1765
+ start: z.ZodOptional<z.ZodNumber>;
1766
+ limit: z.ZodOptional<z.ZodNumber>;
1767
+ error: z.ZodString;
1768
+ }, "strip", z.ZodTypeAny, {
1769
+ error: string;
1770
+ success: boolean;
1771
+ operation: "search";
1772
+ start?: number | undefined;
1773
+ limit?: number | undefined;
1774
+ total?: number | undefined;
1775
+ results?: z.objectOutputType<{
1776
+ id: z.ZodOptional<z.ZodString>;
1777
+ type: z.ZodOptional<z.ZodString>;
1778
+ title: z.ZodOptional<z.ZodString>;
1779
+ status: z.ZodOptional<z.ZodString>;
1780
+ excerpt: z.ZodOptional<z.ZodString>;
1781
+ url: z.ZodOptional<z.ZodString>;
1782
+ lastModified: z.ZodOptional<z.ZodString>;
1783
+ _links: z.ZodOptional<z.ZodObject<{
1784
+ webui: z.ZodOptional<z.ZodString>;
1785
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1786
+ webui: z.ZodOptional<z.ZodString>;
1787
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1788
+ webui: z.ZodOptional<z.ZodString>;
1789
+ }, z.ZodTypeAny, "passthrough">>>;
1790
+ content: z.ZodOptional<z.ZodObject<{
1791
+ id: z.ZodOptional<z.ZodString>;
1792
+ type: z.ZodOptional<z.ZodString>;
1793
+ title: z.ZodOptional<z.ZodString>;
1794
+ status: z.ZodOptional<z.ZodString>;
1795
+ _links: z.ZodOptional<z.ZodObject<{
1796
+ webui: z.ZodOptional<z.ZodString>;
1797
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1798
+ webui: z.ZodOptional<z.ZodString>;
1799
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1800
+ webui: z.ZodOptional<z.ZodString>;
1801
+ }, z.ZodTypeAny, "passthrough">>>;
1802
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1803
+ id: z.ZodOptional<z.ZodString>;
1804
+ type: z.ZodOptional<z.ZodString>;
1805
+ title: z.ZodOptional<z.ZodString>;
1806
+ status: z.ZodOptional<z.ZodString>;
1807
+ _links: z.ZodOptional<z.ZodObject<{
1808
+ webui: z.ZodOptional<z.ZodString>;
1809
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1810
+ webui: z.ZodOptional<z.ZodString>;
1811
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1812
+ webui: z.ZodOptional<z.ZodString>;
1813
+ }, z.ZodTypeAny, "passthrough">>>;
1814
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1815
+ id: z.ZodOptional<z.ZodString>;
1816
+ type: z.ZodOptional<z.ZodString>;
1817
+ title: z.ZodOptional<z.ZodString>;
1818
+ status: z.ZodOptional<z.ZodString>;
1819
+ _links: z.ZodOptional<z.ZodObject<{
1820
+ webui: z.ZodOptional<z.ZodString>;
1821
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1822
+ webui: z.ZodOptional<z.ZodString>;
1823
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1824
+ webui: z.ZodOptional<z.ZodString>;
1825
+ }, z.ZodTypeAny, "passthrough">>>;
1826
+ }, z.ZodTypeAny, "passthrough">>>;
1827
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1828
+ }, {
1829
+ error: string;
1830
+ success: boolean;
1831
+ operation: "search";
1832
+ start?: number | undefined;
1833
+ limit?: number | undefined;
1834
+ total?: number | undefined;
1835
+ results?: z.objectInputType<{
1836
+ id: z.ZodOptional<z.ZodString>;
1837
+ type: z.ZodOptional<z.ZodString>;
1838
+ title: z.ZodOptional<z.ZodString>;
1839
+ status: z.ZodOptional<z.ZodString>;
1840
+ excerpt: z.ZodOptional<z.ZodString>;
1841
+ url: z.ZodOptional<z.ZodString>;
1842
+ lastModified: z.ZodOptional<z.ZodString>;
1843
+ _links: z.ZodOptional<z.ZodObject<{
1844
+ webui: z.ZodOptional<z.ZodString>;
1845
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1846
+ webui: z.ZodOptional<z.ZodString>;
1847
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1848
+ webui: z.ZodOptional<z.ZodString>;
1849
+ }, z.ZodTypeAny, "passthrough">>>;
1850
+ content: z.ZodOptional<z.ZodObject<{
1851
+ id: z.ZodOptional<z.ZodString>;
1852
+ type: z.ZodOptional<z.ZodString>;
1853
+ title: z.ZodOptional<z.ZodString>;
1854
+ status: z.ZodOptional<z.ZodString>;
1855
+ _links: z.ZodOptional<z.ZodObject<{
1856
+ webui: z.ZodOptional<z.ZodString>;
1857
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1858
+ webui: z.ZodOptional<z.ZodString>;
1859
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1860
+ webui: z.ZodOptional<z.ZodString>;
1861
+ }, z.ZodTypeAny, "passthrough">>>;
1862
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1863
+ id: z.ZodOptional<z.ZodString>;
1864
+ type: z.ZodOptional<z.ZodString>;
1865
+ title: z.ZodOptional<z.ZodString>;
1866
+ status: z.ZodOptional<z.ZodString>;
1867
+ _links: z.ZodOptional<z.ZodObject<{
1868
+ webui: z.ZodOptional<z.ZodString>;
1869
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1870
+ webui: z.ZodOptional<z.ZodString>;
1871
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1872
+ webui: z.ZodOptional<z.ZodString>;
1873
+ }, z.ZodTypeAny, "passthrough">>>;
1874
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1875
+ id: z.ZodOptional<z.ZodString>;
1876
+ type: z.ZodOptional<z.ZodString>;
1877
+ title: z.ZodOptional<z.ZodString>;
1878
+ status: z.ZodOptional<z.ZodString>;
1879
+ _links: z.ZodOptional<z.ZodObject<{
1880
+ webui: z.ZodOptional<z.ZodString>;
1881
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1882
+ webui: z.ZodOptional<z.ZodString>;
1883
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1884
+ webui: z.ZodOptional<z.ZodString>;
1885
+ }, z.ZodTypeAny, "passthrough">>>;
1886
+ }, z.ZodTypeAny, "passthrough">>>;
1887
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1888
+ }>, z.ZodObject<{
1889
+ operation: z.ZodLiteral<"add_comment">;
1890
+ success: z.ZodBoolean;
1891
+ comment: z.ZodOptional<z.ZodObject<{
1892
+ id: z.ZodString;
1893
+ title: z.ZodOptional<z.ZodString>;
1894
+ body: z.ZodOptional<z.ZodObject<{
1895
+ storage: z.ZodOptional<z.ZodObject<{
1896
+ value: z.ZodString;
1897
+ representation: z.ZodOptional<z.ZodString>;
1898
+ }, "strip", z.ZodTypeAny, {
1899
+ value: string;
1900
+ representation?: string | undefined;
1901
+ }, {
1902
+ value: string;
1903
+ representation?: string | undefined;
1904
+ }>>;
1905
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1906
+ storage: z.ZodOptional<z.ZodObject<{
1907
+ value: z.ZodString;
1908
+ representation: z.ZodOptional<z.ZodString>;
1909
+ }, "strip", z.ZodTypeAny, {
1910
+ value: string;
1911
+ representation?: string | undefined;
1912
+ }, {
1913
+ value: string;
1914
+ representation?: string | undefined;
1915
+ }>>;
1916
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1917
+ storage: z.ZodOptional<z.ZodObject<{
1918
+ value: z.ZodString;
1919
+ representation: z.ZodOptional<z.ZodString>;
1920
+ }, "strip", z.ZodTypeAny, {
1921
+ value: string;
1922
+ representation?: string | undefined;
1923
+ }, {
1924
+ value: string;
1925
+ representation?: string | undefined;
1926
+ }>>;
1927
+ }, z.ZodTypeAny, "passthrough">>>;
1928
+ version: z.ZodOptional<z.ZodObject<{
1929
+ number: z.ZodNumber;
1930
+ createdAt: z.ZodOptional<z.ZodString>;
1931
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1932
+ number: z.ZodNumber;
1933
+ createdAt: z.ZodOptional<z.ZodString>;
1934
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1935
+ number: z.ZodNumber;
1936
+ createdAt: z.ZodOptional<z.ZodString>;
1937
+ }, z.ZodTypeAny, "passthrough">>>;
1938
+ createdAt: z.ZodOptional<z.ZodString>;
1939
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1940
+ id: z.ZodString;
1941
+ title: z.ZodOptional<z.ZodString>;
1942
+ body: z.ZodOptional<z.ZodObject<{
1943
+ storage: z.ZodOptional<z.ZodObject<{
1944
+ value: z.ZodString;
1945
+ representation: z.ZodOptional<z.ZodString>;
1946
+ }, "strip", z.ZodTypeAny, {
1947
+ value: string;
1948
+ representation?: string | undefined;
1949
+ }, {
1950
+ value: string;
1951
+ representation?: string | undefined;
1952
+ }>>;
1953
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1954
+ storage: z.ZodOptional<z.ZodObject<{
1955
+ value: z.ZodString;
1956
+ representation: z.ZodOptional<z.ZodString>;
1957
+ }, "strip", z.ZodTypeAny, {
1958
+ value: string;
1959
+ representation?: string | undefined;
1960
+ }, {
1961
+ value: string;
1962
+ representation?: string | undefined;
1963
+ }>>;
1964
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1965
+ storage: z.ZodOptional<z.ZodObject<{
1966
+ value: z.ZodString;
1967
+ representation: z.ZodOptional<z.ZodString>;
1968
+ }, "strip", z.ZodTypeAny, {
1969
+ value: string;
1970
+ representation?: string | undefined;
1971
+ }, {
1972
+ value: string;
1973
+ representation?: string | undefined;
1974
+ }>>;
1975
+ }, z.ZodTypeAny, "passthrough">>>;
1976
+ version: z.ZodOptional<z.ZodObject<{
1977
+ number: z.ZodNumber;
1978
+ createdAt: z.ZodOptional<z.ZodString>;
1979
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1980
+ number: z.ZodNumber;
1981
+ createdAt: z.ZodOptional<z.ZodString>;
1982
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1983
+ number: z.ZodNumber;
1984
+ createdAt: z.ZodOptional<z.ZodString>;
1985
+ }, z.ZodTypeAny, "passthrough">>>;
1986
+ createdAt: z.ZodOptional<z.ZodString>;
1987
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1988
+ id: z.ZodString;
1989
+ title: z.ZodOptional<z.ZodString>;
1990
+ body: z.ZodOptional<z.ZodObject<{
1991
+ storage: z.ZodOptional<z.ZodObject<{
1992
+ value: z.ZodString;
1993
+ representation: z.ZodOptional<z.ZodString>;
1994
+ }, "strip", z.ZodTypeAny, {
1995
+ value: string;
1996
+ representation?: string | undefined;
1997
+ }, {
1998
+ value: string;
1999
+ representation?: string | undefined;
2000
+ }>>;
2001
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2002
+ storage: z.ZodOptional<z.ZodObject<{
2003
+ value: z.ZodString;
2004
+ representation: z.ZodOptional<z.ZodString>;
2005
+ }, "strip", z.ZodTypeAny, {
2006
+ value: string;
2007
+ representation?: string | undefined;
2008
+ }, {
2009
+ value: string;
2010
+ representation?: string | undefined;
2011
+ }>>;
2012
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2013
+ storage: z.ZodOptional<z.ZodObject<{
2014
+ value: z.ZodString;
2015
+ representation: z.ZodOptional<z.ZodString>;
2016
+ }, "strip", z.ZodTypeAny, {
2017
+ value: string;
2018
+ representation?: string | undefined;
2019
+ }, {
2020
+ value: string;
2021
+ representation?: string | undefined;
2022
+ }>>;
2023
+ }, z.ZodTypeAny, "passthrough">>>;
2024
+ version: z.ZodOptional<z.ZodObject<{
2025
+ number: z.ZodNumber;
2026
+ createdAt: z.ZodOptional<z.ZodString>;
2027
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2028
+ number: z.ZodNumber;
2029
+ createdAt: z.ZodOptional<z.ZodString>;
2030
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2031
+ number: z.ZodNumber;
2032
+ createdAt: z.ZodOptional<z.ZodString>;
2033
+ }, z.ZodTypeAny, "passthrough">>>;
2034
+ createdAt: z.ZodOptional<z.ZodString>;
2035
+ }, z.ZodTypeAny, "passthrough">>>;
2036
+ error: z.ZodString;
2037
+ }, "strip", z.ZodTypeAny, {
2038
+ error: string;
2039
+ success: boolean;
2040
+ operation: "add_comment";
2041
+ comment?: z.objectOutputType<{
2042
+ id: z.ZodString;
2043
+ title: z.ZodOptional<z.ZodString>;
2044
+ body: z.ZodOptional<z.ZodObject<{
2045
+ storage: z.ZodOptional<z.ZodObject<{
2046
+ value: z.ZodString;
2047
+ representation: z.ZodOptional<z.ZodString>;
2048
+ }, "strip", z.ZodTypeAny, {
2049
+ value: string;
2050
+ representation?: string | undefined;
2051
+ }, {
2052
+ value: string;
2053
+ representation?: string | undefined;
2054
+ }>>;
2055
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2056
+ storage: z.ZodOptional<z.ZodObject<{
2057
+ value: z.ZodString;
2058
+ representation: z.ZodOptional<z.ZodString>;
2059
+ }, "strip", z.ZodTypeAny, {
2060
+ value: string;
2061
+ representation?: string | undefined;
2062
+ }, {
2063
+ value: string;
2064
+ representation?: string | undefined;
2065
+ }>>;
2066
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2067
+ storage: z.ZodOptional<z.ZodObject<{
2068
+ value: z.ZodString;
2069
+ representation: z.ZodOptional<z.ZodString>;
2070
+ }, "strip", z.ZodTypeAny, {
2071
+ value: string;
2072
+ representation?: string | undefined;
2073
+ }, {
2074
+ value: string;
2075
+ representation?: string | undefined;
2076
+ }>>;
2077
+ }, z.ZodTypeAny, "passthrough">>>;
2078
+ version: z.ZodOptional<z.ZodObject<{
2079
+ number: z.ZodNumber;
2080
+ createdAt: z.ZodOptional<z.ZodString>;
2081
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2082
+ number: z.ZodNumber;
2083
+ createdAt: z.ZodOptional<z.ZodString>;
2084
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2085
+ number: z.ZodNumber;
2086
+ createdAt: z.ZodOptional<z.ZodString>;
2087
+ }, z.ZodTypeAny, "passthrough">>>;
2088
+ createdAt: z.ZodOptional<z.ZodString>;
2089
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2090
+ }, {
2091
+ error: string;
2092
+ success: boolean;
2093
+ operation: "add_comment";
2094
+ comment?: z.objectInputType<{
2095
+ id: z.ZodString;
2096
+ title: z.ZodOptional<z.ZodString>;
2097
+ body: z.ZodOptional<z.ZodObject<{
2098
+ storage: z.ZodOptional<z.ZodObject<{
2099
+ value: z.ZodString;
2100
+ representation: z.ZodOptional<z.ZodString>;
2101
+ }, "strip", z.ZodTypeAny, {
2102
+ value: string;
2103
+ representation?: string | undefined;
2104
+ }, {
2105
+ value: string;
2106
+ representation?: string | undefined;
2107
+ }>>;
2108
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2109
+ storage: z.ZodOptional<z.ZodObject<{
2110
+ value: z.ZodString;
2111
+ representation: z.ZodOptional<z.ZodString>;
2112
+ }, "strip", z.ZodTypeAny, {
2113
+ value: string;
2114
+ representation?: string | undefined;
2115
+ }, {
2116
+ value: string;
2117
+ representation?: string | undefined;
2118
+ }>>;
2119
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2120
+ storage: z.ZodOptional<z.ZodObject<{
2121
+ value: z.ZodString;
2122
+ representation: z.ZodOptional<z.ZodString>;
2123
+ }, "strip", z.ZodTypeAny, {
2124
+ value: string;
2125
+ representation?: string | undefined;
2126
+ }, {
2127
+ value: string;
2128
+ representation?: string | undefined;
2129
+ }>>;
2130
+ }, z.ZodTypeAny, "passthrough">>>;
2131
+ version: z.ZodOptional<z.ZodObject<{
2132
+ number: z.ZodNumber;
2133
+ createdAt: z.ZodOptional<z.ZodString>;
2134
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2135
+ number: z.ZodNumber;
2136
+ createdAt: z.ZodOptional<z.ZodString>;
2137
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2138
+ number: z.ZodNumber;
2139
+ createdAt: z.ZodOptional<z.ZodString>;
2140
+ }, z.ZodTypeAny, "passthrough">>>;
2141
+ createdAt: z.ZodOptional<z.ZodString>;
2142
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2143
+ }>, z.ZodObject<{
2144
+ operation: z.ZodLiteral<"get_comments">;
2145
+ success: z.ZodBoolean;
2146
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2147
+ id: z.ZodString;
2148
+ title: z.ZodOptional<z.ZodString>;
2149
+ body: z.ZodOptional<z.ZodObject<{
2150
+ storage: z.ZodOptional<z.ZodObject<{
2151
+ value: z.ZodString;
2152
+ representation: z.ZodOptional<z.ZodString>;
2153
+ }, "strip", z.ZodTypeAny, {
2154
+ value: string;
2155
+ representation?: string | undefined;
2156
+ }, {
2157
+ value: string;
2158
+ representation?: string | undefined;
2159
+ }>>;
2160
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2161
+ storage: z.ZodOptional<z.ZodObject<{
2162
+ value: z.ZodString;
2163
+ representation: z.ZodOptional<z.ZodString>;
2164
+ }, "strip", z.ZodTypeAny, {
2165
+ value: string;
2166
+ representation?: string | undefined;
2167
+ }, {
2168
+ value: string;
2169
+ representation?: string | undefined;
2170
+ }>>;
2171
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2172
+ storage: z.ZodOptional<z.ZodObject<{
2173
+ value: z.ZodString;
2174
+ representation: z.ZodOptional<z.ZodString>;
2175
+ }, "strip", z.ZodTypeAny, {
2176
+ value: string;
2177
+ representation?: string | undefined;
2178
+ }, {
2179
+ value: string;
2180
+ representation?: string | undefined;
2181
+ }>>;
2182
+ }, z.ZodTypeAny, "passthrough">>>;
2183
+ version: z.ZodOptional<z.ZodObject<{
2184
+ number: z.ZodNumber;
2185
+ createdAt: z.ZodOptional<z.ZodString>;
2186
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2187
+ number: z.ZodNumber;
2188
+ createdAt: z.ZodOptional<z.ZodString>;
2189
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2190
+ number: z.ZodNumber;
2191
+ createdAt: z.ZodOptional<z.ZodString>;
2192
+ }, z.ZodTypeAny, "passthrough">>>;
2193
+ createdAt: z.ZodOptional<z.ZodString>;
2194
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2195
+ id: z.ZodString;
2196
+ title: z.ZodOptional<z.ZodString>;
2197
+ body: z.ZodOptional<z.ZodObject<{
2198
+ storage: z.ZodOptional<z.ZodObject<{
2199
+ value: z.ZodString;
2200
+ representation: z.ZodOptional<z.ZodString>;
2201
+ }, "strip", z.ZodTypeAny, {
2202
+ value: string;
2203
+ representation?: string | undefined;
2204
+ }, {
2205
+ value: string;
2206
+ representation?: string | undefined;
2207
+ }>>;
2208
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2209
+ storage: z.ZodOptional<z.ZodObject<{
2210
+ value: z.ZodString;
2211
+ representation: z.ZodOptional<z.ZodString>;
2212
+ }, "strip", z.ZodTypeAny, {
2213
+ value: string;
2214
+ representation?: string | undefined;
2215
+ }, {
2216
+ value: string;
2217
+ representation?: string | undefined;
2218
+ }>>;
2219
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2220
+ storage: z.ZodOptional<z.ZodObject<{
2221
+ value: z.ZodString;
2222
+ representation: z.ZodOptional<z.ZodString>;
2223
+ }, "strip", z.ZodTypeAny, {
2224
+ value: string;
2225
+ representation?: string | undefined;
2226
+ }, {
2227
+ value: string;
2228
+ representation?: string | undefined;
2229
+ }>>;
2230
+ }, z.ZodTypeAny, "passthrough">>>;
2231
+ version: z.ZodOptional<z.ZodObject<{
2232
+ number: z.ZodNumber;
2233
+ createdAt: z.ZodOptional<z.ZodString>;
2234
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2235
+ number: z.ZodNumber;
2236
+ createdAt: z.ZodOptional<z.ZodString>;
2237
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2238
+ number: z.ZodNumber;
2239
+ createdAt: z.ZodOptional<z.ZodString>;
2240
+ }, z.ZodTypeAny, "passthrough">>>;
2241
+ createdAt: z.ZodOptional<z.ZodString>;
2242
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2243
+ id: z.ZodString;
2244
+ title: z.ZodOptional<z.ZodString>;
2245
+ body: z.ZodOptional<z.ZodObject<{
2246
+ storage: z.ZodOptional<z.ZodObject<{
2247
+ value: z.ZodString;
2248
+ representation: z.ZodOptional<z.ZodString>;
2249
+ }, "strip", z.ZodTypeAny, {
2250
+ value: string;
2251
+ representation?: string | undefined;
2252
+ }, {
2253
+ value: string;
2254
+ representation?: string | undefined;
2255
+ }>>;
2256
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2257
+ storage: z.ZodOptional<z.ZodObject<{
2258
+ value: z.ZodString;
2259
+ representation: z.ZodOptional<z.ZodString>;
2260
+ }, "strip", z.ZodTypeAny, {
2261
+ value: string;
2262
+ representation?: string | undefined;
2263
+ }, {
2264
+ value: string;
2265
+ representation?: string | undefined;
2266
+ }>>;
2267
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2268
+ storage: z.ZodOptional<z.ZodObject<{
2269
+ value: z.ZodString;
2270
+ representation: z.ZodOptional<z.ZodString>;
2271
+ }, "strip", z.ZodTypeAny, {
2272
+ value: string;
2273
+ representation?: string | undefined;
2274
+ }, {
2275
+ value: string;
2276
+ representation?: string | undefined;
2277
+ }>>;
2278
+ }, z.ZodTypeAny, "passthrough">>>;
2279
+ version: z.ZodOptional<z.ZodObject<{
2280
+ number: z.ZodNumber;
2281
+ createdAt: z.ZodOptional<z.ZodString>;
2282
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2283
+ number: z.ZodNumber;
2284
+ createdAt: z.ZodOptional<z.ZodString>;
2285
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2286
+ number: z.ZodNumber;
2287
+ createdAt: z.ZodOptional<z.ZodString>;
2288
+ }, z.ZodTypeAny, "passthrough">>>;
2289
+ createdAt: z.ZodOptional<z.ZodString>;
2290
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2291
+ cursor: z.ZodOptional<z.ZodString>;
2292
+ error: z.ZodString;
2293
+ }, "strip", z.ZodTypeAny, {
2294
+ error: string;
2295
+ success: boolean;
2296
+ operation: "get_comments";
2297
+ cursor?: string | undefined;
2298
+ comments?: z.objectOutputType<{
2299
+ id: z.ZodString;
2300
+ title: z.ZodOptional<z.ZodString>;
2301
+ body: z.ZodOptional<z.ZodObject<{
2302
+ storage: z.ZodOptional<z.ZodObject<{
2303
+ value: z.ZodString;
2304
+ representation: z.ZodOptional<z.ZodString>;
2305
+ }, "strip", z.ZodTypeAny, {
2306
+ value: string;
2307
+ representation?: string | undefined;
2308
+ }, {
2309
+ value: string;
2310
+ representation?: string | undefined;
2311
+ }>>;
2312
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2313
+ storage: z.ZodOptional<z.ZodObject<{
2314
+ value: z.ZodString;
2315
+ representation: z.ZodOptional<z.ZodString>;
2316
+ }, "strip", z.ZodTypeAny, {
2317
+ value: string;
2318
+ representation?: string | undefined;
2319
+ }, {
2320
+ value: string;
2321
+ representation?: string | undefined;
2322
+ }>>;
2323
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2324
+ storage: z.ZodOptional<z.ZodObject<{
2325
+ value: z.ZodString;
2326
+ representation: z.ZodOptional<z.ZodString>;
2327
+ }, "strip", z.ZodTypeAny, {
2328
+ value: string;
2329
+ representation?: string | undefined;
2330
+ }, {
2331
+ value: string;
2332
+ representation?: string | undefined;
2333
+ }>>;
2334
+ }, z.ZodTypeAny, "passthrough">>>;
2335
+ version: z.ZodOptional<z.ZodObject<{
2336
+ number: z.ZodNumber;
2337
+ createdAt: z.ZodOptional<z.ZodString>;
2338
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2339
+ number: z.ZodNumber;
2340
+ createdAt: z.ZodOptional<z.ZodString>;
2341
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2342
+ number: z.ZodNumber;
2343
+ createdAt: z.ZodOptional<z.ZodString>;
2344
+ }, z.ZodTypeAny, "passthrough">>>;
2345
+ createdAt: z.ZodOptional<z.ZodString>;
2346
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
2347
+ }, {
2348
+ error: string;
2349
+ success: boolean;
2350
+ operation: "get_comments";
2351
+ cursor?: string | undefined;
2352
+ comments?: z.objectInputType<{
2353
+ id: z.ZodString;
2354
+ title: z.ZodOptional<z.ZodString>;
2355
+ body: z.ZodOptional<z.ZodObject<{
2356
+ storage: z.ZodOptional<z.ZodObject<{
2357
+ value: z.ZodString;
2358
+ representation: z.ZodOptional<z.ZodString>;
2359
+ }, "strip", z.ZodTypeAny, {
2360
+ value: string;
2361
+ representation?: string | undefined;
2362
+ }, {
2363
+ value: string;
2364
+ representation?: string | undefined;
2365
+ }>>;
2366
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2367
+ storage: z.ZodOptional<z.ZodObject<{
2368
+ value: z.ZodString;
2369
+ representation: z.ZodOptional<z.ZodString>;
2370
+ }, "strip", z.ZodTypeAny, {
2371
+ value: string;
2372
+ representation?: string | undefined;
2373
+ }, {
2374
+ value: string;
2375
+ representation?: string | undefined;
2376
+ }>>;
2377
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2378
+ storage: z.ZodOptional<z.ZodObject<{
2379
+ value: z.ZodString;
2380
+ representation: z.ZodOptional<z.ZodString>;
2381
+ }, "strip", z.ZodTypeAny, {
2382
+ value: string;
2383
+ representation?: string | undefined;
2384
+ }, {
2385
+ value: string;
2386
+ representation?: string | undefined;
2387
+ }>>;
2388
+ }, z.ZodTypeAny, "passthrough">>>;
2389
+ version: z.ZodOptional<z.ZodObject<{
2390
+ number: z.ZodNumber;
2391
+ createdAt: z.ZodOptional<z.ZodString>;
2392
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2393
+ number: z.ZodNumber;
2394
+ createdAt: z.ZodOptional<z.ZodString>;
2395
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2396
+ number: z.ZodNumber;
2397
+ createdAt: z.ZodOptional<z.ZodString>;
2398
+ }, z.ZodTypeAny, "passthrough">>>;
2399
+ createdAt: z.ZodOptional<z.ZodString>;
2400
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
2401
+ }>]>;
2402
+ export type ConfluenceParams = z.output<typeof ConfluenceParamsSchema>;
2403
+ export type ConfluenceParamsInput = z.input<typeof ConfluenceParamsSchema>;
2404
+ export type ConfluenceResult = z.output<typeof ConfluenceResultSchema>;
2405
+ export type ConfluenceListSpacesParams = Extract<ConfluenceParams, {
2406
+ operation: 'list_spaces';
2407
+ }>;
2408
+ export type ConfluenceGetSpaceParams = Extract<ConfluenceParams, {
2409
+ operation: 'get_space';
2410
+ }>;
2411
+ export type ConfluenceListPagesParams = Extract<ConfluenceParams, {
2412
+ operation: 'list_pages';
2413
+ }>;
2414
+ export type ConfluenceGetPageParams = Extract<ConfluenceParams, {
2415
+ operation: 'get_page';
2416
+ }>;
2417
+ export type ConfluenceCreatePageParams = Extract<ConfluenceParams, {
2418
+ operation: 'create_page';
2419
+ }>;
2420
+ export type ConfluenceUpdatePageParams = Extract<ConfluenceParams, {
2421
+ operation: 'update_page';
2422
+ }>;
2423
+ export type ConfluenceDeletePageParams = Extract<ConfluenceParams, {
2424
+ operation: 'delete_page';
2425
+ }>;
2426
+ export type ConfluenceSearchParams = Extract<ConfluenceParams, {
2427
+ operation: 'search';
2428
+ }>;
2429
+ export type ConfluenceAddCommentParams = Extract<ConfluenceParams, {
2430
+ operation: 'add_comment';
2431
+ }>;
2432
+ export type ConfluenceGetCommentsParams = Extract<ConfluenceParams, {
2433
+ operation: 'get_comments';
2434
+ }>;
2435
+ //# sourceMappingURL=confluence.schema.d.ts.map