@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
@@ -17,28 +17,28 @@ declare const YouTubeVideoSchema: z.ZodObject<{
17
17
  comments: z.ZodNullable<z.ZodNumber>;
18
18
  thumbnail: z.ZodNullable<z.ZodString>;
19
19
  }, "strip", z.ZodTypeAny, {
20
- duration: string | null;
21
20
  description: string | null;
22
21
  title: string | null;
23
22
  date: string | null;
24
- id: string | null;
25
23
  url: string | null;
26
- thumbnail: string | null;
24
+ duration: string | null;
25
+ id: string | null;
27
26
  comments: number | null;
27
+ thumbnail: string | null;
28
28
  viewCount: number | null;
29
29
  likes: number | null;
30
30
  channelName: string | null;
31
31
  channelUrl: string | null;
32
32
  subscribers: number | null;
33
33
  }, {
34
- duration: string | null;
35
34
  description: string | null;
36
35
  title: string | null;
37
36
  date: string | null;
38
- id: string | null;
39
37
  url: string | null;
40
- thumbnail: string | null;
38
+ duration: string | null;
39
+ id: string | null;
41
40
  comments: number | null;
41
+ thumbnail: string | null;
42
42
  viewCount: number | null;
43
43
  likes: number | null;
44
44
  channelName: string | null;
@@ -70,18 +70,18 @@ declare const YouTubeToolParamsSchema: z.ZodObject<{
70
70
  }, "strip", z.ZodTypeAny, {
71
71
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
72
72
  credentials?: Partial<Record<CredentialType, string>> | undefined;
73
- maxResults?: number | undefined;
74
73
  videoUrl?: string | undefined;
75
74
  searchQueries?: string[] | undefined;
75
+ maxResults?: number | undefined;
76
76
  channelUrl?: string | undefined;
77
77
  videoUrls?: string[] | undefined;
78
78
  includeShorts?: boolean | undefined;
79
79
  }, {
80
80
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
81
81
  credentials?: Partial<Record<CredentialType, string>> | undefined;
82
- maxResults?: number | undefined;
83
82
  videoUrl?: string | undefined;
84
83
  searchQueries?: string[] | undefined;
84
+ maxResults?: number | undefined;
85
85
  channelUrl?: string | undefined;
86
86
  videoUrls?: string[] | undefined;
87
87
  includeShorts?: boolean | undefined;
@@ -103,28 +103,28 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
103
103
  comments: z.ZodNullable<z.ZodNumber>;
104
104
  thumbnail: z.ZodNullable<z.ZodString>;
105
105
  }, "strip", z.ZodTypeAny, {
106
- duration: string | null;
107
106
  description: string | null;
108
107
  title: string | null;
109
108
  date: string | null;
110
- id: string | null;
111
109
  url: string | null;
112
- thumbnail: string | null;
110
+ duration: string | null;
111
+ id: string | null;
113
112
  comments: number | null;
113
+ thumbnail: string | null;
114
114
  viewCount: number | null;
115
115
  likes: number | null;
116
116
  channelName: string | null;
117
117
  channelUrl: string | null;
118
118
  subscribers: number | null;
119
119
  }, {
120
- duration: string | null;
121
120
  description: string | null;
122
121
  title: string | null;
123
122
  date: string | null;
124
- id: string | null;
125
123
  url: string | null;
126
- thumbnail: string | null;
124
+ duration: string | null;
125
+ id: string | null;
127
126
  comments: number | null;
127
+ thumbnail: string | null;
128
128
  viewCount: number | null;
129
129
  likes: number | null;
130
130
  channelName: string | null;
@@ -149,19 +149,19 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
149
149
  success: z.ZodBoolean;
150
150
  error: z.ZodString;
151
151
  }, "strip", z.ZodTypeAny, {
152
- error: string;
153
152
  success: boolean;
153
+ error: string;
154
154
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
155
155
  totalResults: number;
156
156
  videos?: {
157
- duration: string | null;
158
157
  description: string | null;
159
158
  title: string | null;
160
159
  date: string | null;
161
- id: string | null;
162
160
  url: string | null;
163
- thumbnail: string | null;
161
+ duration: string | null;
162
+ id: string | null;
164
163
  comments: number | null;
164
+ thumbnail: string | null;
165
165
  viewCount: number | null;
166
166
  likes: number | null;
167
167
  channelName: string | null;
@@ -175,19 +175,19 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
175
175
  }[] | undefined;
176
176
  fullTranscriptText?: string | undefined;
177
177
  }, {
178
- error: string;
179
178
  success: boolean;
179
+ error: string;
180
180
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
181
181
  totalResults: number;
182
182
  videos?: {
183
- duration: string | null;
184
183
  description: string | null;
185
184
  title: string | null;
186
185
  date: string | null;
187
- id: string | null;
188
186
  url: string | null;
189
- thumbnail: string | null;
187
+ duration: string | null;
188
+ id: string | null;
190
189
  comments: number | null;
190
+ thumbnail: string | null;
191
191
  viewCount: number | null;
192
192
  likes: number | null;
193
193
  channelName: string | null;
@@ -228,18 +228,18 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
228
228
  }, "strip", z.ZodTypeAny, {
229
229
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
230
230
  credentials?: Partial<Record<CredentialType, string>> | undefined;
231
- maxResults?: number | undefined;
232
231
  videoUrl?: string | undefined;
233
232
  searchQueries?: string[] | undefined;
233
+ maxResults?: number | undefined;
234
234
  channelUrl?: string | undefined;
235
235
  videoUrls?: string[] | undefined;
236
236
  includeShorts?: boolean | undefined;
237
237
  }, {
238
238
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
239
239
  credentials?: Partial<Record<CredentialType, string>> | undefined;
240
- maxResults?: number | undefined;
241
240
  videoUrl?: string | undefined;
242
241
  searchQueries?: string[] | undefined;
242
+ maxResults?: number | undefined;
243
243
  channelUrl?: string | undefined;
244
244
  videoUrls?: string[] | undefined;
245
245
  includeShorts?: boolean | undefined;
@@ -261,28 +261,28 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
261
261
  comments: z.ZodNullable<z.ZodNumber>;
262
262
  thumbnail: z.ZodNullable<z.ZodString>;
263
263
  }, "strip", z.ZodTypeAny, {
264
- duration: string | null;
265
264
  description: string | null;
266
265
  title: string | null;
267
266
  date: string | null;
268
- id: string | null;
269
267
  url: string | null;
270
- thumbnail: string | null;
268
+ duration: string | null;
269
+ id: string | null;
271
270
  comments: number | null;
271
+ thumbnail: string | null;
272
272
  viewCount: number | null;
273
273
  likes: number | null;
274
274
  channelName: string | null;
275
275
  channelUrl: string | null;
276
276
  subscribers: number | null;
277
277
  }, {
278
- duration: string | null;
279
278
  description: string | null;
280
279
  title: string | null;
281
280
  date: string | null;
282
- id: string | null;
283
281
  url: string | null;
284
- thumbnail: string | null;
282
+ duration: string | null;
283
+ id: string | null;
285
284
  comments: number | null;
285
+ thumbnail: string | null;
286
286
  viewCount: number | null;
287
287
  likes: number | null;
288
288
  channelName: string | null;
@@ -307,19 +307,19 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
307
307
  success: z.ZodBoolean;
308
308
  error: z.ZodString;
309
309
  }, "strip", z.ZodTypeAny, {
310
- error: string;
311
310
  success: boolean;
311
+ error: string;
312
312
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
313
313
  totalResults: number;
314
314
  videos?: {
315
- duration: string | null;
316
315
  description: string | null;
317
316
  title: string | null;
318
317
  date: string | null;
319
- id: string | null;
320
318
  url: string | null;
321
- thumbnail: string | null;
319
+ duration: string | null;
320
+ id: string | null;
322
321
  comments: number | null;
322
+ thumbnail: string | null;
323
323
  viewCount: number | null;
324
324
  likes: number | null;
325
325
  channelName: string | null;
@@ -333,19 +333,19 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
333
333
  }[] | undefined;
334
334
  fullTranscriptText?: string | undefined;
335
335
  }, {
336
- error: string;
337
336
  success: boolean;
337
+ error: string;
338
338
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
339
339
  totalResults: number;
340
340
  videos?: {
341
- duration: string | null;
342
341
  description: string | null;
343
342
  title: string | null;
344
343
  date: string | null;
345
- id: string | null;
346
344
  url: string | null;
347
- thumbnail: string | null;
345
+ duration: string | null;
346
+ id: string | null;
348
347
  comments: number | null;
348
+ thumbnail: string | null;
349
349
  viewCount: number | null;
350
350
  likes: number | null;
351
351
  channelName: string | null;
@@ -0,0 +1,114 @@
1
+ /**
2
+ * SIMPLE BUBBLEFLOW GENERATOR WORKFLOW
3
+ *
4
+ * A simplified BubbleFlow generator that uses AI agent with tools to generate
5
+ * and validate BubbleFlow code from natural language prompts.
6
+ *
7
+ * Much simpler than the complex workflow - just AI + validation tool!
8
+ */
9
+ import { z } from 'zod';
10
+ import { WorkflowBubble } from '../../types/workflow-bubble-class.js';
11
+ import type { BubbleContext } from '../../types/bubble.js';
12
+ import { CredentialType } from '@bubblelab/shared-schemas';
13
+ import { type StreamingCallback } from '../service-bubble/ai-agent.js';
14
+ /**
15
+ * Parameters schema for the simple BubbleFlow generator
16
+ */
17
+ declare const BubbleFlowGeneratorParamsSchema: z.ZodObject<{
18
+ prompt: z.ZodString;
19
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ prompt: string;
22
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
23
+ }, {
24
+ prompt: string;
25
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
26
+ }>;
27
+ /**
28
+ * Result schema
29
+ */
30
+ declare const BubbleFlowGeneratorResultSchema: z.ZodObject<{
31
+ generatedCode: z.ZodString;
32
+ isValid: z.ZodBoolean;
33
+ success: z.ZodBoolean;
34
+ error: z.ZodString;
35
+ toolCalls: z.ZodArray<z.ZodAny, "many">;
36
+ summary: z.ZodDefault<z.ZodString>;
37
+ inputsSchema: z.ZodDefault<z.ZodString>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ success: boolean;
40
+ error: string;
41
+ toolCalls: any[];
42
+ summary: string;
43
+ generatedCode: string;
44
+ isValid: boolean;
45
+ inputsSchema: string;
46
+ }, {
47
+ success: boolean;
48
+ error: string;
49
+ toolCalls: any[];
50
+ generatedCode: string;
51
+ isValid: boolean;
52
+ summary?: string | undefined;
53
+ inputsSchema?: string | undefined;
54
+ }>;
55
+ type BubbleFlowGeneratorParams = z.output<typeof BubbleFlowGeneratorParamsSchema>;
56
+ type BubbleFlowGeneratorResult = z.output<typeof BubbleFlowGeneratorResultSchema>;
57
+ /**
58
+ * Simple BubbleFlow Generator using AI agent with tools
59
+ */
60
+ export declare class BubbleFlowGeneratorWorkflow extends WorkflowBubble<BubbleFlowGeneratorParams, BubbleFlowGeneratorResult> {
61
+ static readonly type: "workflow";
62
+ static readonly bubbleName = "bubbleflow-generator";
63
+ static readonly schema: z.ZodObject<{
64
+ prompt: z.ZodString;
65
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ prompt: string;
68
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
69
+ }, {
70
+ prompt: string;
71
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
72
+ }>;
73
+ static readonly resultSchema: z.ZodObject<{
74
+ generatedCode: z.ZodString;
75
+ isValid: z.ZodBoolean;
76
+ success: z.ZodBoolean;
77
+ error: z.ZodString;
78
+ toolCalls: z.ZodArray<z.ZodAny, "many">;
79
+ summary: z.ZodDefault<z.ZodString>;
80
+ inputsSchema: z.ZodDefault<z.ZodString>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ success: boolean;
83
+ error: string;
84
+ toolCalls: any[];
85
+ summary: string;
86
+ generatedCode: string;
87
+ isValid: boolean;
88
+ inputsSchema: string;
89
+ }, {
90
+ success: boolean;
91
+ error: string;
92
+ toolCalls: any[];
93
+ generatedCode: string;
94
+ isValid: boolean;
95
+ summary?: string | undefined;
96
+ inputsSchema?: string | undefined;
97
+ }>;
98
+ static readonly shortDescription = "Generate BubbleFlow code from natural language";
99
+ static readonly longDescription = "\n Simple BubbleFlow generator that uses AI with validation tools.\n \n Just provide a natural language prompt describing what you want your BubbleFlow to do,\n and it will generate complete TypeScript code with proper validation.\n \n Example prompts:\n - \"Create a flow that queries my database and sends results to Slack\"\n - \"Build a workflow that processes user data with AI and stores it\"\n - \"Make a flow that analyzes text and generates a summary\"\n ";
100
+ static readonly alias = "generate-flow";
101
+ private bubbleFactory;
102
+ constructor(params: z.input<typeof BubbleFlowGeneratorParamsSchema>, context?: BubbleContext);
103
+ private runValidationAgent;
104
+ private runSummarizeAgent;
105
+ private createSystemPrompt;
106
+ private createStreamingSystemPrompt;
107
+ protected performAction(context?: BubbleContext): Promise<BubbleFlowGeneratorResult>;
108
+ /**
109
+ * Execute the workflow with streaming support for real-time code generation feedback
110
+ */
111
+ actionWithStreaming(streamingCallback: StreamingCallback, context?: BubbleContext): Promise<BubbleFlowGeneratorResult>;
112
+ }
113
+ export {};
114
+ //# sourceMappingURL=bubbleflow-generator.workflow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bubbleflow-generator.workflow.d.ts","sourceRoot":"","sources":["../../../src/bubbles/workflow-bubble/bubbleflow-generator.workflow.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,+BAA+B,CAAC;AAiCvC;;GAEG;AACH,QAAA,MAAM,+BAA+B;;;;;;;;;EAUnC,CAAC;AAEH;;GAEG;AACH,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;EAgBnC,CAAC;AAEH,KAAK,yBAAyB,GAAG,CAAC,CAAC,MAAM,CACvC,OAAO,+BAA+B,CACvC,CAAC;AACF,KAAK,yBAAyB,GAAG,CAAC,CAAC,MAAM,CACvC,OAAO,+BAA+B,CACvC,CAAC;AA0DF;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,cAAc,CAC7D,yBAAyB,EACzB,yBAAyB,CAC1B;IACC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAG,UAAU,CAAU;IAC3C,MAAM,CAAC,QAAQ,CAAC,UAAU,0BAA0B;IACpD,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;OAAmC;IACzD,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;OAAmC;IAC/D,MAAM,CAAC,QAAQ,CAAC,gBAAgB,oDACmB;IACnD,MAAM,CAAC,QAAQ,CAAC,eAAe,kfAU7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,mBAAmB;IAExC,OAAO,CAAC,aAAa,CAAgB;gBAGnC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,EACvD,OAAO,CAAC,EAAE,aAAa;YAMX,kBAAkB;YAmHlB,iBAAiB;IAkF/B,OAAO,CAAC,kBAAkB;IAmB1B,OAAO,CAAC,2BAA2B;cAmBnB,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,yBAAyB,CAAC;IAiPrC;;OAEG;IACU,mBAAmB,CAC9B,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,yBAAyB,CAAC;CAiXtC"}