@bubblelab/bubble-core 0.1.221 → 0.1.224

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 (186) hide show
  1. package/dist/bubble-bundle.d.ts +241 -202
  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/bubble-trigger/index.d.ts +2 -0
  6. package/dist/bubble-trigger/index.d.ts.map +1 -0
  7. package/dist/bubble-trigger/index.js +2 -0
  8. package/dist/bubble-trigger/index.js.map +1 -0
  9. package/dist/bubble-trigger/types.d.ts +87 -0
  10. package/dist/bubble-trigger/types.d.ts.map +1 -0
  11. package/dist/bubble-trigger/types.js +14 -0
  12. package/dist/bubble-trigger/types.js.map +1 -0
  13. package/dist/bubbles/service-bubble/agi-inc.d.ts +80 -80
  14. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  15. package/dist/bubbles/service-bubble/airtable.d.ts +102 -102
  16. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  17. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +6 -6
  18. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +20 -20
  19. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
  20. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +90 -90
  21. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +70 -70
  22. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +16 -16
  23. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +37 -37
  24. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +16 -16
  25. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +243 -243
  26. package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
  27. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +64 -64
  28. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +86 -86
  29. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +42 -42
  30. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +42 -42
  31. package/dist/bubbles/service-bubble/attio/attio.d.ts +34 -34
  32. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +34 -34
  33. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
  34. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +33 -33
  35. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
  36. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
  37. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
  38. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  39. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  40. package/dist/bubbles/service-bubble/firecrawl.d.ts +834 -834
  41. package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
  42. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
  43. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  44. package/dist/bubbles/service-bubble/github.d.ts +144 -144
  45. package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
  46. package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
  47. package/dist/bubbles/service-bubble/google-drive.d.ts +52 -52
  48. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  49. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
  50. package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
  51. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
  52. package/dist/bubbles/service-bubble/google-sheets.js +904 -0
  53. package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
  54. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  55. package/dist/bubbles/service-bubble/http.d.ts +18 -18
  56. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +8 -8
  57. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +8 -8
  58. package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
  59. package/dist/bubbles/service-bubble/jira/jira.d.ts +60 -60
  60. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +62 -62
  61. package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
  62. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
  63. package/dist/bubbles/service-bubble/notion/notion.d.ts +682 -682
  64. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
  65. package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
  66. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +24 -24
  67. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
  68. package/dist/bubbles/service-bubble/pylon/index.d.ts +3 -0
  69. package/dist/bubbles/service-bubble/pylon/index.d.ts.map +1 -0
  70. package/dist/bubbles/service-bubble/pylon/index.js +3 -0
  71. package/dist/bubbles/service-bubble/pylon/index.js.map +1 -0
  72. package/dist/bubbles/service-bubble/pylon/pylon.d.ts +435 -0
  73. package/dist/bubbles/service-bubble/pylon/pylon.d.ts.map +1 -0
  74. package/dist/bubbles/service-bubble/pylon/pylon.js +375 -0
  75. package/dist/bubbles/service-bubble/pylon/pylon.js.map +1 -0
  76. package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts +408 -0
  77. package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts.map +1 -0
  78. package/dist/bubbles/service-bubble/pylon/pylon.schema.js +249 -0
  79. package/dist/bubbles/service-bubble/pylon/pylon.schema.js.map +1 -0
  80. package/dist/bubbles/service-bubble/ramp/ramp.d.ts +28 -28
  81. package/dist/bubbles/service-bubble/ramp/ramp.schema.d.ts +28 -28
  82. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  83. package/dist/bubbles/service-bubble/s3/s3.d.ts +10 -10
  84. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
  85. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
  86. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
  87. package/dist/bubbles/service-bubble/slab/index.d.ts +3 -0
  88. package/dist/bubbles/service-bubble/slab/index.d.ts.map +1 -0
  89. package/dist/bubbles/service-bubble/slab/index.js +3 -0
  90. package/dist/bubbles/service-bubble/slab/index.js.map +1 -0
  91. package/dist/bubbles/service-bubble/slab/slab.d.ts +617 -0
  92. package/dist/bubbles/service-bubble/slab/slab.d.ts.map +1 -0
  93. package/dist/bubbles/service-bubble/slab/slab.js +379 -0
  94. package/dist/bubbles/service-bubble/slab/slab.js.map +1 -0
  95. package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +703 -0
  96. package/dist/bubbles/service-bubble/slab/slab.schema.d.ts.map +1 -0
  97. package/dist/bubbles/service-bubble/slab/slab.schema.js +226 -0
  98. package/dist/bubbles/service-bubble/slab/slab.schema.js.map +1 -0
  99. package/dist/bubbles/service-bubble/slack/slack.d.ts +558 -558
  100. package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
  101. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
  102. package/dist/bubbles/service-bubble/slack.js +1536 -0
  103. package/dist/bubbles/service-bubble/slack.js.map +1 -0
  104. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  105. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +157 -157
  106. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +183 -183
  107. package/dist/bubbles/service-bubble/telegram.d.ts +1561 -1561
  108. package/dist/bubbles/service-bubble/xero/xero.d.ts +30 -30
  109. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +30 -30
  110. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +93 -93
  111. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +93 -93
  112. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +19 -19
  113. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +21 -21
  114. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  115. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  116. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  117. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  118. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  119. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  120. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  121. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  122. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  123. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
  124. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
  125. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  126. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +62 -62
  127. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  128. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  129. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  130. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  131. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  132. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  133. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  134. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  135. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +160 -0
  136. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  137. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +706 -0
  138. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  139. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  140. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  141. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +50 -0
  142. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  143. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +567 -567
  144. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  145. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  146. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  147. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  148. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +58 -58
  149. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +32 -32
  150. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  151. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  152. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +88 -88
  153. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  154. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +188 -188
  155. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
  156. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  157. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  158. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  159. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +26 -26
  160. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
  161. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
  162. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
  163. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
  164. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
  165. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  166. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +40 -40
  167. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  168. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
  169. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  170. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
  171. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +104 -104
  172. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  173. package/dist/bubbles.json +697 -2
  174. package/dist/index.d.ts +2 -0
  175. package/dist/index.d.ts.map +1 -1
  176. package/dist/index.js +1 -0
  177. package/dist/index.js.map +1 -1
  178. package/dist/types/ai-models.d.ts +4 -0
  179. package/dist/types/ai-models.d.ts.map +1 -0
  180. package/dist/types/ai-models.js +16 -0
  181. package/dist/types/ai-models.js.map +1 -0
  182. package/dist/utils/param-helper.d.ts +2 -0
  183. package/dist/utils/param-helper.d.ts.map +1 -0
  184. package/dist/utils/param-helper.js +5 -0
  185. package/dist/utils/param-helper.js.map +1 -0
  186. package/package.json +2 -2
@@ -0,0 +1,226 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ // ============================================================================
4
+ // DATA SCHEMAS - Slab API Response Types
5
+ // ============================================================================
6
+ export const SlabUserSchema = z
7
+ .object({
8
+ id: z.string().describe('User identifier'),
9
+ name: z.string().describe("User's name"),
10
+ })
11
+ .describe('Slab user');
12
+ export const SlabTopicSchema = z
13
+ .object({
14
+ id: z.string().describe('Topic identifier'),
15
+ name: z.string().describe('Topic name'),
16
+ })
17
+ .describe('Slab topic (category for organizing posts)');
18
+ export const SlabPostSchema = z
19
+ .object({
20
+ id: z.string().describe('Post identifier'),
21
+ title: z.string().describe('Post title'),
22
+ content: z
23
+ .unknown()
24
+ .optional()
25
+ .nullable()
26
+ .describe('Post content in Quill Delta JSON format'),
27
+ insertedAt: z
28
+ .string()
29
+ .optional()
30
+ .nullable()
31
+ .describe('ISO 8601 creation timestamp'),
32
+ publishedAt: z
33
+ .string()
34
+ .optional()
35
+ .nullable()
36
+ .describe('ISO 8601 publication timestamp'),
37
+ updatedAt: z
38
+ .string()
39
+ .optional()
40
+ .nullable()
41
+ .describe('ISO 8601 last update timestamp'),
42
+ archivedAt: z
43
+ .string()
44
+ .optional()
45
+ .nullable()
46
+ .describe('ISO 8601 archive timestamp (null if not archived)'),
47
+ owner: SlabUserSchema.optional()
48
+ .nullable()
49
+ .describe('User who owns the post'),
50
+ version: z
51
+ .number()
52
+ .optional()
53
+ .nullable()
54
+ .describe('Content version number'),
55
+ topics: z
56
+ .array(SlabTopicSchema)
57
+ .optional()
58
+ .nullable()
59
+ .describe('Topics this post belongs to'),
60
+ })
61
+ .describe('Slab post/article');
62
+ export const SlabSearchResultSchema = z
63
+ .object({
64
+ id: z.string().describe('Post identifier'),
65
+ title: z.string().describe('Post title'),
66
+ highlight: z
67
+ .unknown()
68
+ .optional()
69
+ .nullable()
70
+ .describe('Search result highlight/excerpt (JSON)'),
71
+ content: z
72
+ .unknown()
73
+ .optional()
74
+ .nullable()
75
+ .describe('Matched content (JSON)'),
76
+ insertedAt: z.string().optional().nullable().describe('Creation timestamp'),
77
+ publishedAt: z
78
+ .string()
79
+ .optional()
80
+ .nullable()
81
+ .describe('Publication timestamp'),
82
+ owner: SlabUserSchema.optional().nullable().describe('Post owner'),
83
+ topics: z
84
+ .array(SlabTopicSchema)
85
+ .optional()
86
+ .nullable()
87
+ .describe('Associated topics'),
88
+ })
89
+ .describe('Slab search result entry');
90
+ // ============================================================================
91
+ // PARAMETER SCHEMAS - Discriminated Union for Multiple Operations
92
+ // ============================================================================
93
+ export const SlabParamsSchema = z.discriminatedUnion('operation', [
94
+ // Search posts
95
+ z.object({
96
+ operation: z
97
+ .literal('search_posts')
98
+ .describe('Search posts across the Slab workspace'),
99
+ query: z
100
+ .string()
101
+ .min(1, 'Search query is required')
102
+ .describe('Search query string'),
103
+ first: z
104
+ .number()
105
+ .min(1)
106
+ .max(100)
107
+ .optional()
108
+ .default(20)
109
+ .describe('Number of results to return (1-100, default 20)'),
110
+ after: z
111
+ .string()
112
+ .optional()
113
+ .describe('Cursor for pagination (from previous search result)'),
114
+ credentials: z
115
+ .record(z.nativeEnum(CredentialType), z.string())
116
+ .optional()
117
+ .describe('Object mapping credential types to values (injected at runtime)'),
118
+ }),
119
+ // Get a single post
120
+ z.object({
121
+ operation: z.literal('get_post').describe('Get a specific post by ID'),
122
+ post_id: z
123
+ .string()
124
+ .min(1, 'Post ID is required')
125
+ .describe('The ID of the post to retrieve'),
126
+ credentials: z
127
+ .record(z.nativeEnum(CredentialType), z.string())
128
+ .optional()
129
+ .describe('Object mapping credential types to values (injected at runtime)'),
130
+ }),
131
+ // List organization posts
132
+ z.object({
133
+ operation: z
134
+ .literal('list_posts')
135
+ .describe('List all posts in the organization'),
136
+ credentials: z
137
+ .record(z.nativeEnum(CredentialType), z.string())
138
+ .optional()
139
+ .describe('Object mapping credential types to values (injected at runtime)'),
140
+ }),
141
+ // Get posts in a topic
142
+ z.object({
143
+ operation: z
144
+ .literal('get_topic_posts')
145
+ .describe('Get all posts within a specific topic'),
146
+ topic_id: z
147
+ .string()
148
+ .min(1, 'Topic ID is required')
149
+ .describe('The ID of the topic'),
150
+ credentials: z
151
+ .record(z.nativeEnum(CredentialType), z.string())
152
+ .optional()
153
+ .describe('Object mapping credential types to values (injected at runtime)'),
154
+ }),
155
+ // List all topics
156
+ z.object({
157
+ operation: z
158
+ .literal('list_topics')
159
+ .describe('List all topics in the organization'),
160
+ credentials: z
161
+ .record(z.nativeEnum(CredentialType), z.string())
162
+ .optional()
163
+ .describe('Object mapping credential types to values (injected at runtime)'),
164
+ }),
165
+ ]);
166
+ // ============================================================================
167
+ // RESULT SCHEMAS - Discriminated Union for Operation Results
168
+ // ============================================================================
169
+ export const SlabResultSchema = z.discriminatedUnion('operation', [
170
+ // Search posts result
171
+ z.object({
172
+ operation: z.literal('search_posts').describe('Search posts operation'),
173
+ success: z.boolean().describe('Whether the operation was successful'),
174
+ posts: z
175
+ .array(SlabSearchResultSchema)
176
+ .optional()
177
+ .describe('Search result posts'),
178
+ has_more: z
179
+ .boolean()
180
+ .optional()
181
+ .describe('Whether more results are available'),
182
+ end_cursor: z
183
+ .string()
184
+ .optional()
185
+ .nullable()
186
+ .describe('Cursor for fetching the next page'),
187
+ error: z.string().describe('Error message if operation failed'),
188
+ }),
189
+ // Get post result
190
+ z.object({
191
+ operation: z.literal('get_post').describe('Get post operation'),
192
+ success: z.boolean().describe('Whether the operation was successful'),
193
+ post: SlabPostSchema.optional().describe('Post details'),
194
+ error: z.string().describe('Error message if operation failed'),
195
+ }),
196
+ // List posts result
197
+ z.object({
198
+ operation: z.literal('list_posts').describe('List posts operation'),
199
+ success: z.boolean().describe('Whether the operation was successful'),
200
+ posts: z
201
+ .array(SlabPostSchema)
202
+ .optional()
203
+ .describe('List of organization posts'),
204
+ error: z.string().describe('Error message if operation failed'),
205
+ }),
206
+ // Get topic posts result
207
+ z.object({
208
+ operation: z
209
+ .literal('get_topic_posts')
210
+ .describe('Get topic posts operation'),
211
+ success: z.boolean().describe('Whether the operation was successful'),
212
+ posts: z.array(SlabPostSchema).optional().describe('Posts in the topic'),
213
+ error: z.string().describe('Error message if operation failed'),
214
+ }),
215
+ // List topics result
216
+ z.object({
217
+ operation: z.literal('list_topics').describe('List topics operation'),
218
+ success: z.boolean().describe('Whether the operation was successful'),
219
+ topics: z
220
+ .array(SlabTopicSchema)
221
+ .optional()
222
+ .describe('List of organization topics'),
223
+ error: z.string().describe('Error message if operation failed'),
224
+ }),
225
+ ]);
226
+ //# sourceMappingURL=slab.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slab.schema.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/slab/slab.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,+EAA+E;AAC/E,yCAAyC;AACzC,+EAA+E;AAE/E,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,MAAM,CAAC;IACN,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iBAAiB,CAAC;IAC1C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;CACzC,CAAC;KACD,QAAQ,CAAC,WAAW,CAAC,CAAC;AAEzB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IAC3C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;CACxC,CAAC;KACD,QAAQ,CAAC,4CAA4C,CAAC,CAAC;AAE1D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,MAAM,CAAC;IACN,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iBAAiB,CAAC;IAC1C,KAAK,EAAE,CAAC,CAAC,MA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