@bubblelab/bubble-core 0.1.221 → 0.1.223

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 (110) hide show
  1. package/dist/bubble-bundle.d.ts +211 -172
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +3 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +84 -84
  7. package/dist/bubbles/service-bubble/airtable.d.ts +104 -104
  8. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  9. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  10. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  11. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  12. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  14. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  15. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  16. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  17. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
  18. package/dist/bubbles/service-bubble/apify/apify.d.ts +22 -22
  19. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +140 -140
  20. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +194 -194
  21. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +16 -16
  22. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
  23. package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
  24. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
  25. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +7 -7
  26. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +9 -9
  27. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +6 -6
  28. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +6 -6
  29. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +130 -130
  30. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +162 -162
  31. package/dist/bubbles/service-bubble/eleven-labs.d.ts +8 -8
  32. package/dist/bubbles/service-bubble/firecrawl.d.ts +910 -910
  33. package/dist/bubbles/service-bubble/followupboss.d.ts +8 -8
  34. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
  35. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +84 -84
  36. package/dist/bubbles/service-bubble/github.d.ts +210 -210
  37. package/dist/bubbles/service-bubble/gmail.d.ts +188 -188
  38. package/dist/bubbles/service-bubble/google-calendar.d.ts +90 -90
  39. package/dist/bubbles/service-bubble/google-drive.d.ts +44 -44
  40. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +10 -10
  41. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +10 -10
  42. package/dist/bubbles/service-bubble/http.d.ts +14 -14
  43. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +27 -27
  44. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +27 -27
  45. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  46. package/dist/bubbles/service-bubble/jira/jira.d.ts +18 -18
  47. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +20 -20
  48. package/dist/bubbles/service-bubble/linear/linear.d.ts +2 -2
  49. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +2 -2
  50. package/dist/bubbles/service-bubble/notion/notion.d.ts +694 -694
  51. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  52. package/dist/bubbles/service-bubble/postgresql.d.ts +14 -14
  53. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +20 -20
  54. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
  55. package/dist/bubbles/service-bubble/resend.d.ts +8 -8
  56. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
  57. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +6 -6
  58. package/dist/bubbles/service-bubble/slab/index.d.ts +3 -0
  59. package/dist/bubbles/service-bubble/slab/index.d.ts.map +1 -0
  60. package/dist/bubbles/service-bubble/slab/index.js +3 -0
  61. package/dist/bubbles/service-bubble/slab/index.js.map +1 -0
  62. package/dist/bubbles/service-bubble/slab/slab.d.ts +617 -0
  63. package/dist/bubbles/service-bubble/slab/slab.d.ts.map +1 -0
  64. package/dist/bubbles/service-bubble/slab/slab.js +379 -0
  65. package/dist/bubbles/service-bubble/slab/slab.js.map +1 -0
  66. package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +703 -0
  67. package/dist/bubbles/service-bubble/slab/slab.schema.d.ts.map +1 -0
  68. package/dist/bubbles/service-bubble/slab/slab.schema.js +226 -0
  69. package/dist/bubbles/service-bubble/slab/slab.schema.js.map +1 -0
  70. package/dist/bubbles/service-bubble/slack/slack.d.ts +568 -568
  71. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +112 -112
  72. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +134 -134
  73. package/dist/bubbles/service-bubble/telegram.d.ts +1486 -1486
  74. package/dist/bubbles/service-bubble/xero/xero.d.ts +14 -14
  75. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +14 -14
  76. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +114 -114
  77. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +114 -114
  78. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +9 -9
  79. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +11 -11
  80. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +12 -12
  81. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +14 -14
  82. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +60 -60
  83. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
  84. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +10 -10
  85. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +573 -573
  86. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
  87. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +54 -54
  88. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +20 -20
  89. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  90. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  91. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +72 -72
  92. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +184 -184
  93. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
  94. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  95. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  96. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +4 -4
  97. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  98. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +34 -34
  99. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +32 -32
  100. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  101. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +100 -100
  102. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  103. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +22 -22
  104. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +62 -62
  105. package/dist/bubbles.json +697 -2
  106. package/dist/index.d.ts +2 -0
  107. package/dist/index.d.ts.map +1 -1
  108. package/dist/index.js +1 -0
  109. package/dist/index.js.map +1 -1
  110. package/package.json +2 -2
@@ -0,0 +1,703 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ export declare const SlabUserSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ name: string;
8
+ id: string;
9
+ }, {
10
+ name: string;
11
+ id: string;
12
+ }>;
13
+ export declare const SlabTopicSchema: z.ZodObject<{
14
+ id: z.ZodString;
15
+ name: z.ZodString;
16
+ }, "strip", z.ZodTypeAny, {
17
+ name: string;
18
+ id: string;
19
+ }, {
20
+ name: string;
21
+ id: string;
22
+ }>;
23
+ export declare const SlabPostSchema: z.ZodObject<{
24
+ id: z.ZodString;
25
+ title: z.ZodString;
26
+ content: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
27
+ insertedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
+ publishedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
30
+ archivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
31
+ owner: z.ZodNullable<z.ZodOptional<z.ZodObject<{
32
+ id: z.ZodString;
33
+ name: z.ZodString;
34
+ }, "strip", z.ZodTypeAny, {
35
+ name: string;
36
+ id: string;
37
+ }, {
38
+ name: string;
39
+ id: string;
40
+ }>>>;
41
+ version: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
42
+ topics: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
43
+ id: z.ZodString;
44
+ name: z.ZodString;
45
+ }, "strip", z.ZodTypeAny, {
46
+ name: string;
47
+ id: string;
48
+ }, {
49
+ name: string;
50
+ id: string;
51
+ }>, "many">>>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ title: string;
54
+ id: string;
55
+ content?: unknown;
56
+ version?: number | null | undefined;
57
+ insertedAt?: string | null | undefined;
58
+ publishedAt?: string | null | undefined;
59
+ updatedAt?: string | null | undefined;
60
+ archivedAt?: string | null | undefined;
61
+ owner?: {
62
+ name: string;
63
+ id: string;
64
+ } | null | undefined;
65
+ topics?: {
66
+ name: string;
67
+ id: string;
68
+ }[] | null | undefined;
69
+ }, {
70
+ title: string;
71
+ id: string;
72
+ content?: unknown;
73
+ version?: number | null | undefined;
74
+ insertedAt?: string | null | undefined;
75
+ publishedAt?: string | null | undefined;
76
+ updatedAt?: string | null | undefined;
77
+ archivedAt?: string | null | undefined;
78
+ owner?: {
79
+ name: string;
80
+ id: string;
81
+ } | null | undefined;
82
+ topics?: {
83
+ name: string;
84
+ id: string;
85
+ }[] | null | undefined;
86
+ }>;
87
+ export declare const SlabSearchResultSchema: z.ZodObject<{
88
+ id: z.ZodString;
89
+ title: z.ZodString;
90
+ highlight: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
91
+ content: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
92
+ insertedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
93
+ publishedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
94
+ owner: z.ZodNullable<z.ZodOptional<z.ZodObject<{
95
+ id: z.ZodString;
96
+ name: z.ZodString;
97
+ }, "strip", z.ZodTypeAny, {
98
+ name: string;
99
+ id: string;
100
+ }, {
101
+ name: string;
102
+ id: string;
103
+ }>>>;
104
+ topics: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
105
+ id: z.ZodString;
106
+ name: z.ZodString;
107
+ }, "strip", z.ZodTypeAny, {
108
+ name: string;
109
+ id: string;
110
+ }, {
111
+ name: string;
112
+ id: string;
113
+ }>, "many">>>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ title: string;
116
+ id: string;
117
+ content?: unknown;
118
+ insertedAt?: string | null | undefined;
119
+ publishedAt?: string | null | undefined;
120
+ owner?: {
121
+ name: string;
122
+ id: string;
123
+ } | null | undefined;
124
+ topics?: {
125
+ name: string;
126
+ id: string;
127
+ }[] | null | undefined;
128
+ highlight?: unknown;
129
+ }, {
130
+ title: string;
131
+ id: string;
132
+ content?: unknown;
133
+ insertedAt?: string | null | undefined;
134
+ publishedAt?: string | null | undefined;
135
+ owner?: {
136
+ name: string;
137
+ id: string;
138
+ } | null | undefined;
139
+ topics?: {
140
+ name: string;
141
+ id: string;
142
+ }[] | null | undefined;
143
+ highlight?: unknown;
144
+ }>;
145
+ export declare const SlabParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
146
+ operation: z.ZodLiteral<"search_posts">;
147
+ query: z.ZodString;
148
+ first: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
149
+ after: z.ZodOptional<z.ZodString>;
150
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ operation: "search_posts";
153
+ query: string;
154
+ first: number;
155
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
156
+ after?: string | undefined;
157
+ }, {
158
+ operation: "search_posts";
159
+ query: string;
160
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
161
+ first?: number | undefined;
162
+ after?: string | undefined;
163
+ }>, z.ZodObject<{
164
+ operation: z.ZodLiteral<"get_post">;
165
+ post_id: z.ZodString;
166
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ operation: "get_post";
169
+ post_id: string;
170
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
171
+ }, {
172
+ operation: "get_post";
173
+ post_id: string;
174
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
175
+ }>, z.ZodObject<{
176
+ operation: z.ZodLiteral<"list_posts">;
177
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ operation: "list_posts";
180
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
181
+ }, {
182
+ operation: "list_posts";
183
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
184
+ }>, z.ZodObject<{
185
+ operation: z.ZodLiteral<"get_topic_posts">;
186
+ topic_id: z.ZodString;
187
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ operation: "get_topic_posts";
190
+ topic_id: string;
191
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
192
+ }, {
193
+ operation: "get_topic_posts";
194
+ topic_id: string;
195
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
196
+ }>, z.ZodObject<{
197
+ operation: z.ZodLiteral<"list_topics">;
198
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ operation: "list_topics";
201
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
202
+ }, {
203
+ operation: "list_topics";
204
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
205
+ }>]>;
206
+ export declare const SlabResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
207
+ operation: z.ZodLiteral<"search_posts">;
208
+ success: z.ZodBoolean;
209
+ posts: z.ZodOptional<z.ZodArray<z.ZodObject<{
210
+ id: z.ZodString;
211
+ title: z.ZodString;
212
+ highlight: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
213
+ content: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
214
+ insertedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
215
+ publishedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
216
+ owner: z.ZodNullable<z.ZodOptional<z.ZodObject<{
217
+ id: z.ZodString;
218
+ name: z.ZodString;
219
+ }, "strip", z.ZodTypeAny, {
220
+ name: string;
221
+ id: string;
222
+ }, {
223
+ name: string;
224
+ id: string;
225
+ }>>>;
226
+ topics: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
227
+ id: z.ZodString;
228
+ name: z.ZodString;
229
+ }, "strip", z.ZodTypeAny, {
230
+ name: string;
231
+ id: string;
232
+ }, {
233
+ name: string;
234
+ id: string;
235
+ }>, "many">>>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ title: string;
238
+ id: string;
239
+ content?: unknown;
240
+ insertedAt?: string | null | undefined;
241
+ publishedAt?: string | null | undefined;
242
+ owner?: {
243
+ name: string;
244
+ id: string;
245
+ } | null | undefined;
246
+ topics?: {
247
+ name: string;
248
+ id: string;
249
+ }[] | null | undefined;
250
+ highlight?: unknown;
251
+ }, {
252
+ title: string;
253
+ id: string;
254
+ content?: unknown;
255
+ insertedAt?: string | null | undefined;
256
+ publishedAt?: string | null | undefined;
257
+ owner?: {
258
+ name: string;
259
+ id: string;
260
+ } | null | undefined;
261
+ topics?: {
262
+ name: string;
263
+ id: string;
264
+ }[] | null | undefined;
265
+ highlight?: unknown;
266
+ }>, "many">>;
267
+ has_more: z.ZodOptional<z.ZodBoolean>;
268
+ end_cursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
269
+ error: z.ZodString;
270
+ }, "strip", z.ZodTypeAny, {
271
+ error: string;
272
+ success: boolean;
273
+ operation: "search_posts";
274
+ posts?: {
275
+ title: string;
276
+ id: string;
277
+ content?: unknown;
278
+ insertedAt?: string | null | undefined;
279
+ publishedAt?: string | null | undefined;
280
+ owner?: {
281
+ name: string;
282
+ id: string;
283
+ } | null | undefined;
284
+ topics?: {
285
+ name: string;
286
+ id: string;
287
+ }[] | null | undefined;
288
+ highlight?: unknown;
289
+ }[] | undefined;
290
+ has_more?: boolean | undefined;
291
+ end_cursor?: string | null | undefined;
292
+ }, {
293
+ error: string;
294
+ success: boolean;
295
+ operation: "search_posts";
296
+ posts?: {
297
+ title: string;
298
+ id: string;
299
+ content?: unknown;
300
+ insertedAt?: string | null | undefined;
301
+ publishedAt?: string | null | undefined;
302
+ owner?: {
303
+ name: string;
304
+ id: string;
305
+ } | null | undefined;
306
+ topics?: {
307
+ name: string;
308
+ id: string;
309
+ }[] | null | undefined;
310
+ highlight?: unknown;
311
+ }[] | undefined;
312
+ has_more?: boolean | undefined;
313
+ end_cursor?: string | null | undefined;
314
+ }>, z.ZodObject<{
315
+ operation: z.ZodLiteral<"get_post">;
316
+ success: z.ZodBoolean;
317
+ post: z.ZodOptional<z.ZodObject<{
318
+ id: z.ZodString;
319
+ title: z.ZodString;
320
+ content: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
321
+ insertedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
322
+ publishedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
323
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
324
+ archivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
325
+ owner: z.ZodNullable<z.ZodOptional<z.ZodObject<{
326
+ id: z.ZodString;
327
+ name: z.ZodString;
328
+ }, "strip", z.ZodTypeAny, {
329
+ name: string;
330
+ id: string;
331
+ }, {
332
+ name: string;
333
+ id: string;
334
+ }>>>;
335
+ version: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
336
+ topics: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
337
+ id: z.ZodString;
338
+ name: z.ZodString;
339
+ }, "strip", z.ZodTypeAny, {
340
+ name: string;
341
+ id: string;
342
+ }, {
343
+ name: string;
344
+ id: string;
345
+ }>, "many">>>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ title: string;
348
+ id: string;
349
+ content?: unknown;
350
+ version?: number | null | undefined;
351
+ insertedAt?: string | null | undefined;
352
+ publishedAt?: string | null | undefined;
353
+ updatedAt?: string | null | undefined;
354
+ archivedAt?: string | null | undefined;
355
+ owner?: {
356
+ name: string;
357
+ id: string;
358
+ } | null | undefined;
359
+ topics?: {
360
+ name: string;
361
+ id: string;
362
+ }[] | null | undefined;
363
+ }, {
364
+ title: string;
365
+ id: string;
366
+ content?: unknown;
367
+ version?: number | null | undefined;
368
+ insertedAt?: string | null | undefined;
369
+ publishedAt?: string | null | undefined;
370
+ updatedAt?: string | null | undefined;
371
+ archivedAt?: string | null | undefined;
372
+ owner?: {
373
+ name: string;
374
+ id: string;
375
+ } | null | undefined;
376
+ topics?: {
377
+ name: string;
378
+ id: string;
379
+ }[] | null | undefined;
380
+ }>>;
381
+ error: z.ZodString;
382
+ }, "strip", z.ZodTypeAny, {
383
+ error: string;
384
+ success: boolean;
385
+ operation: "get_post";
386
+ post?: {
387
+ title: string;
388
+ id: string;
389
+ content?: unknown;
390
+ version?: number | null | undefined;
391
+ insertedAt?: string | null | undefined;
392
+ publishedAt?: string | null | undefined;
393
+ updatedAt?: string | null | undefined;
394
+ archivedAt?: string | null | undefined;
395
+ owner?: {
396
+ name: string;
397
+ id: string;
398
+ } | null | undefined;
399
+ topics?: {
400
+ name: string;
401
+ id: string;
402
+ }[] | null | undefined;
403
+ } | undefined;
404
+ }, {
405
+ error: string;
406
+ success: boolean;
407
+ operation: "get_post";
408
+ post?: {
409
+ title: string;
410
+ id: string;
411
+ content?: unknown;
412
+ version?: number | null | undefined;
413
+ insertedAt?: string | null | undefined;
414
+ publishedAt?: string | null | undefined;
415
+ updatedAt?: string | null | undefined;
416
+ archivedAt?: string | null | undefined;
417
+ owner?: {
418
+ name: string;
419
+ id: string;
420
+ } | null | undefined;
421
+ topics?: {
422
+ name: string;
423
+ id: string;
424
+ }[] | null | undefined;
425
+ } | undefined;
426
+ }>, z.ZodObject<{
427
+ operation: z.ZodLiteral<"list_posts">;
428
+ success: z.ZodBoolean;
429
+ posts: z.ZodOptional<z.ZodArray<z.ZodObject<{
430
+ id: z.ZodString;
431
+ title: z.ZodString;
432
+ content: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
433
+ insertedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
434
+ publishedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
435
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
436
+ archivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
437
+ owner: z.ZodNullable<z.ZodOptional<z.ZodObject<{
438
+ id: z.ZodString;
439
+ name: z.ZodString;
440
+ }, "strip", z.ZodTypeAny, {
441
+ name: string;
442
+ id: string;
443
+ }, {
444
+ name: string;
445
+ id: string;
446
+ }>>>;
447
+ version: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
448
+ topics: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
449
+ id: z.ZodString;
450
+ name: z.ZodString;
451
+ }, "strip", z.ZodTypeAny, {
452
+ name: string;
453
+ id: string;
454
+ }, {
455
+ name: string;
456
+ id: string;
457
+ }>, "many">>>;
458
+ }, "strip", z.ZodTypeAny, {
459
+ title: string;
460
+ id: string;
461
+ content?: unknown;
462
+ version?: number | null | undefined;
463
+ insertedAt?: string | null | undefined;
464
+ publishedAt?: string | null | undefined;
465
+ updatedAt?: string | null | undefined;
466
+ archivedAt?: string | null | undefined;
467
+ owner?: {
468
+ name: string;
469
+ id: string;
470
+ } | null | undefined;
471
+ topics?: {
472
+ name: string;
473
+ id: string;
474
+ }[] | null | undefined;
475
+ }, {
476
+ title: string;
477
+ id: string;
478
+ content?: unknown;
479
+ version?: number | null | undefined;
480
+ insertedAt?: string | null | undefined;
481
+ publishedAt?: string | null | undefined;
482
+ updatedAt?: string | null | undefined;
483
+ archivedAt?: string | null | undefined;
484
+ owner?: {
485
+ name: string;
486
+ id: string;
487
+ } | null | undefined;
488
+ topics?: {
489
+ name: string;
490
+ id: string;
491
+ }[] | null | undefined;
492
+ }>, "many">>;
493
+ error: z.ZodString;
494
+ }, "strip", z.ZodTypeAny, {
495
+ error: string;
496
+ success: boolean;
497
+ operation: "list_posts";
498
+ posts?: {
499
+ title: string;
500
+ id: string;
501
+ content?: unknown;
502
+ version?: number | null | undefined;
503
+ insertedAt?: string | null | undefined;
504
+ publishedAt?: string | null | undefined;
505
+ updatedAt?: string | null | undefined;
506
+ archivedAt?: string | null | undefined;
507
+ owner?: {
508
+ name: string;
509
+ id: string;
510
+ } | null | undefined;
511
+ topics?: {
512
+ name: string;
513
+ id: string;
514
+ }[] | null | undefined;
515
+ }[] | undefined;
516
+ }, {
517
+ error: string;
518
+ success: boolean;
519
+ operation: "list_posts";
520
+ posts?: {
521
+ title: string;
522
+ id: string;
523
+ content?: unknown;
524
+ version?: number | null | undefined;
525
+ insertedAt?: string | null | undefined;
526
+ publishedAt?: string | null | undefined;
527
+ updatedAt?: string | null | undefined;
528
+ archivedAt?: string | null | undefined;
529
+ owner?: {
530
+ name: string;
531
+ id: string;
532
+ } | null | undefined;
533
+ topics?: {
534
+ name: string;
535
+ id: string;
536
+ }[] | null | undefined;
537
+ }[] | undefined;
538
+ }>, z.ZodObject<{
539
+ operation: z.ZodLiteral<"get_topic_posts">;
540
+ success: z.ZodBoolean;
541
+ posts: z.ZodOptional<z.ZodArray<z.ZodObject<{
542
+ id: z.ZodString;
543
+ title: z.ZodString;
544
+ content: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
545
+ insertedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
546
+ publishedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
547
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
548
+ archivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
549
+ owner: z.ZodNullable<z.ZodOptional<z.ZodObject<{
550
+ id: z.ZodString;
551
+ name: z.ZodString;
552
+ }, "strip", z.ZodTypeAny, {
553
+ name: string;
554
+ id: string;
555
+ }, {
556
+ name: string;
557
+ id: string;
558
+ }>>>;
559
+ version: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
560
+ topics: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
561
+ id: z.ZodString;
562
+ name: z.ZodString;
563
+ }, "strip", z.ZodTypeAny, {
564
+ name: string;
565
+ id: string;
566
+ }, {
567
+ name: string;
568
+ id: string;
569
+ }>, "many">>>;
570
+ }, "strip", z.ZodTypeAny, {
571
+ title: string;
572
+ id: string;
573
+ content?: unknown;
574
+ version?: number | null | undefined;
575
+ insertedAt?: string | null | undefined;
576
+ publishedAt?: string | null | undefined;
577
+ updatedAt?: string | null | undefined;
578
+ archivedAt?: string | null | undefined;
579
+ owner?: {
580
+ name: string;
581
+ id: string;
582
+ } | null | undefined;
583
+ topics?: {
584
+ name: string;
585
+ id: string;
586
+ }[] | null | undefined;
587
+ }, {
588
+ title: string;
589
+ id: string;
590
+ content?: unknown;
591
+ version?: number | null | undefined;
592
+ insertedAt?: string | null | undefined;
593
+ publishedAt?: string | null | undefined;
594
+ updatedAt?: string | null | undefined;
595
+ archivedAt?: string | null | undefined;
596
+ owner?: {
597
+ name: string;
598
+ id: string;
599
+ } | null | undefined;
600
+ topics?: {
601
+ name: string;
602
+ id: string;
603
+ }[] | null | undefined;
604
+ }>, "many">>;
605
+ error: z.ZodString;
606
+ }, "strip", z.ZodTypeAny, {
607
+ error: string;
608
+ success: boolean;
609
+ operation: "get_topic_posts";
610
+ posts?: {
611
+ title: string;
612
+ id: string;
613
+ content?: unknown;
614
+ version?: number | null | undefined;
615
+ insertedAt?: string | null | undefined;
616
+ publishedAt?: string | null | undefined;
617
+ updatedAt?: string | null | undefined;
618
+ archivedAt?: string | null | undefined;
619
+ owner?: {
620
+ name: string;
621
+ id: string;
622
+ } | null | undefined;
623
+ topics?: {
624
+ name: string;
625
+ id: string;
626
+ }[] | null | undefined;
627
+ }[] | undefined;
628
+ }, {
629
+ error: string;
630
+ success: boolean;
631
+ operation: "get_topic_posts";
632
+ posts?: {
633
+ title: string;
634
+ id: string;
635
+ content?: unknown;
636
+ version?: number | null | undefined;
637
+ insertedAt?: string | null | undefined;
638
+ publishedAt?: string | null | undefined;
639
+ updatedAt?: string | null | undefined;
640
+ archivedAt?: string | null | undefined;
641
+ owner?: {
642
+ name: string;
643
+ id: string;
644
+ } | null | undefined;
645
+ topics?: {
646
+ name: string;
647
+ id: string;
648
+ }[] | null | undefined;
649
+ }[] | undefined;
650
+ }>, z.ZodObject<{
651
+ operation: z.ZodLiteral<"list_topics">;
652
+ success: z.ZodBoolean;
653
+ topics: z.ZodOptional<z.ZodArray<z.ZodObject<{
654
+ id: z.ZodString;
655
+ name: z.ZodString;
656
+ }, "strip", z.ZodTypeAny, {
657
+ name: string;
658
+ id: string;
659
+ }, {
660
+ name: string;
661
+ id: string;
662
+ }>, "many">>;
663
+ error: z.ZodString;
664
+ }, "strip", z.ZodTypeAny, {
665
+ error: string;
666
+ success: boolean;
667
+ operation: "list_topics";
668
+ topics?: {
669
+ name: string;
670
+ id: string;
671
+ }[] | undefined;
672
+ }, {
673
+ error: string;
674
+ success: boolean;
675
+ operation: "list_topics";
676
+ topics?: {
677
+ name: string;
678
+ id: string;
679
+ }[] | undefined;
680
+ }>]>;
681
+ export type SlabParamsInput = z.input<typeof SlabParamsSchema>;
682
+ export type SlabParams = z.output<typeof SlabParamsSchema>;
683
+ export type SlabResult = z.output<typeof SlabResultSchema>;
684
+ export type SlabUser = z.output<typeof SlabUserSchema>;
685
+ export type SlabTopic = z.output<typeof SlabTopicSchema>;
686
+ export type SlabPost = z.output<typeof SlabPostSchema>;
687
+ export type SlabSearchResult = z.output<typeof SlabSearchResultSchema>;
688
+ export type SlabSearchPostsParams = Extract<SlabParams, {
689
+ operation: 'search_posts';
690
+ }>;
691
+ export type SlabGetPostParams = Extract<SlabParams, {
692
+ operation: 'get_post';
693
+ }>;
694
+ export type SlabListPostsParams = Extract<SlabParams, {
695
+ operation: 'list_posts';
696
+ }>;
697
+ export type SlabGetTopicPostsParams = Extract<SlabParams, {
698
+ operation: 'get_topic_posts';
699
+ }>;
700
+ export type SlabListTopicsParams = Extract<SlabParams, {
701
+ operation: 'list_topics';
702
+ }>;
703
+ //# sourceMappingURL=slab.schema.d.ts.map
@@ -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