@bubblelab/bubble-core 0.1.10 → 0.1.12

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 (350) hide show
  1. package/dist/bubble-bundle.d.ts +803 -351
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +130 -35
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubble-flow/bubble-flow-class.d.ts +5 -0
  6. package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
  7. package/dist/bubble-flow/bubble-flow-class.js +20 -0
  8. package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
  9. package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts.map +1 -1
  10. package/dist/bubble-flow/sample/simplified-data-analysis.flow.js +6 -3
  11. package/dist/bubble-flow/sample/simplified-data-analysis.flow.js.map +1 -1
  12. package/dist/bubbles/service-bubble/agi-inc.d.ts +1121 -0
  13. package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -0
  14. package/dist/bubbles/service-bubble/agi-inc.js +730 -0
  15. package/dist/bubbles/service-bubble/agi-inc.js.map +1 -0
  16. package/dist/bubbles/service-bubble/ai-agent.d.ts +273 -61
  17. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  18. package/dist/bubbles/service-bubble/ai-agent.js +536 -405
  19. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  20. package/dist/bubbles/service-bubble/airtable.d.ts +1753 -0
  21. package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -0
  22. package/dist/bubbles/service-bubble/airtable.js +1173 -0
  23. package/dist/bubbles/service-bubble/airtable.js.map +1 -0
  24. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +240 -0
  25. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts.map +1 -0
  26. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js +119 -0
  27. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js.map +1 -0
  28. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
  29. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +14 -14
  30. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +137 -0
  31. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts.map +1 -0
  32. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js +81 -0
  33. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js.map +1 -0
  34. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +6 -6
  35. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +32 -32
  36. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +488 -0
  37. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts.map +1 -0
  38. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js +463 -0
  39. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js.map +1 -0
  40. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +262 -0
  41. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts.map +1 -0
  42. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js +291 -0
  43. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js.map +1 -0
  44. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  45. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +1301 -170
  46. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
  47. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +32 -0
  48. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
  49. package/dist/bubbles/service-bubble/apify/apify.d.ts +158 -13
  50. package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
  51. package/dist/bubbles/service-bubble/apify/apify.js +222 -37
  52. package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
  53. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +542 -0
  54. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -0
  55. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.d.ts +37 -0
  56. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.d.ts.map +1 -0
  57. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.js +203 -0
  58. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.js.map +1 -0
  59. package/dist/bubbles/service-bubble/browserbase/browserbase.js +593 -0
  60. package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -0
  61. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +518 -0
  62. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -0
  63. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +311 -0
  64. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -0
  65. package/dist/bubbles/service-bubble/browserbase/index.d.ts +3 -0
  66. package/dist/bubbles/service-bubble/browserbase/index.d.ts.map +1 -0
  67. package/dist/bubbles/service-bubble/browserbase/index.js +3 -0
  68. package/dist/bubbles/service-bubble/browserbase/index.js.map +1 -0
  69. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +1358 -0
  70. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -0
  71. package/dist/bubbles/service-bubble/crustdata/crustdata.js +219 -0
  72. package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -0
  73. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +1604 -0
  74. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts.map +1 -0
  75. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js +194 -0
  76. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js.map +1 -0
  77. package/dist/bubbles/service-bubble/crustdata/index.d.ts +3 -0
  78. package/dist/bubbles/service-bubble/crustdata/index.d.ts.map +1 -0
  79. package/dist/bubbles/service-bubble/crustdata/index.js +3 -0
  80. package/dist/bubbles/service-bubble/crustdata/index.js.map +1 -0
  81. package/dist/bubbles/service-bubble/eleven-labs.d.ts +421 -0
  82. package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -0
  83. package/dist/bubbles/service-bubble/eleven-labs.js +479 -0
  84. package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -0
  85. package/dist/bubbles/service-bubble/firecrawl.d.ts +37748 -0
  86. package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -0
  87. package/dist/bubbles/service-bubble/firecrawl.js +1489 -0
  88. package/dist/bubbles/service-bubble/firecrawl.js.map +1 -0
  89. package/dist/bubbles/service-bubble/followupboss.d.ts +6822 -0
  90. package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -0
  91. package/dist/bubbles/service-bubble/followupboss.js +1394 -0
  92. package/dist/bubbles/service-bubble/followupboss.js.map +1 -0
  93. package/dist/bubbles/service-bubble/github.d.ts +2393 -0
  94. package/dist/bubbles/service-bubble/github.d.ts.map +1 -0
  95. package/dist/bubbles/service-bubble/github.js +1046 -0
  96. package/dist/bubbles/service-bubble/github.js.map +1 -0
  97. package/dist/bubbles/service-bubble/gmail.d.ts +180 -180
  98. package/dist/bubbles/service-bubble/google-calendar.d.ts +60 -60
  99. package/dist/bubbles/service-bubble/google-drive.d.ts +69 -68
  100. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  101. package/dist/bubbles/service-bubble/google-drive.js +35 -3
  102. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  103. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +943 -0
  104. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -0
  105. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts +31 -0
  106. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts.map +1 -0
  107. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js +184 -0
  108. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js.map +1 -0
  109. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js +401 -0
  110. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -0
  111. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +1024 -0
  112. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts.map +1 -0
  113. package/dist/bubbles/service-bubble/{google-sheets.js → google-sheets/google-sheets.schema.js} +45 -409
  114. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js.map +1 -0
  115. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts +38 -0
  116. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts.map +1 -0
  117. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js +183 -0
  118. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js.map +1 -0
  119. package/dist/bubbles/service-bubble/google-sheets/index.d.ts +4 -0
  120. package/dist/bubbles/service-bubble/google-sheets/index.d.ts.map +1 -0
  121. package/dist/bubbles/service-bubble/google-sheets/index.js +4 -0
  122. package/dist/bubbles/service-bubble/google-sheets/index.js.map +1 -0
  123. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  124. package/dist/bubbles/service-bubble/http.d.ts +17 -5
  125. package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
  126. package/dist/bubbles/service-bubble/http.integration.flow.d.ts +49 -0
  127. package/dist/bubbles/service-bubble/http.integration.flow.d.ts.map +1 -0
  128. package/dist/bubbles/service-bubble/http.integration.flow.js +425 -0
  129. package/dist/bubbles/service-bubble/http.integration.flow.js.map +1 -0
  130. package/dist/bubbles/service-bubble/http.js +47 -5
  131. package/dist/bubbles/service-bubble/http.js.map +1 -1
  132. package/dist/bubbles/service-bubble/insforge-db.d.ts +140 -0
  133. package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -0
  134. package/dist/bubbles/service-bubble/insforge-db.js +260 -0
  135. package/dist/bubbles/service-bubble/insforge-db.js.map +1 -0
  136. package/dist/bubbles/service-bubble/notion/index.d.ts +3 -0
  137. package/dist/bubbles/service-bubble/notion/index.d.ts.map +1 -0
  138. package/dist/bubbles/service-bubble/notion/index.js +3 -0
  139. package/dist/bubbles/service-bubble/notion/index.js.map +1 -0
  140. package/dist/bubbles/service-bubble/notion/notion.d.ts +35405 -0
  141. package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -0
  142. package/dist/bubbles/service-bubble/notion/notion.js +1492 -0
  143. package/dist/bubbles/service-bubble/notion/notion.js.map +1 -0
  144. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +1148 -0
  145. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts.map +1 -0
  146. package/dist/bubbles/service-bubble/notion/property-schemas.js +341 -0
  147. package/dist/bubbles/service-bubble/notion/property-schemas.js.map +1 -0
  148. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  149. package/dist/bubbles/service-bubble/resend.d.ts +30 -9
  150. package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
  151. package/dist/bubbles/service-bubble/resend.js +133 -2
  152. package/dist/bubbles/service-bubble/resend.js.map +1 -1
  153. package/dist/bubbles/service-bubble/slack.d.ts +1741 -798
  154. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -1
  155. package/dist/bubbles/service-bubble/slack.js +322 -28
  156. package/dist/bubbles/service-bubble/slack.js.map +1 -1
  157. package/dist/bubbles/service-bubble/storage.d.ts +26 -22
  158. package/dist/bubbles/service-bubble/storage.d.ts.map +1 -1
  159. package/dist/bubbles/service-bubble/storage.js +45 -4
  160. package/dist/bubbles/service-bubble/storage.js.map +1 -1
  161. package/dist/bubbles/service-bubble/telegram.d.ts +7742 -0
  162. package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -0
  163. package/dist/bubbles/service-bubble/telegram.js +1132 -0
  164. package/dist/bubbles/service-bubble/telegram.js.map +1 -0
  165. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +494 -0
  166. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts.map +1 -0
  167. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.d.ts +31 -0
  168. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.d.ts.map +1 -0
  169. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.js +100 -0
  170. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.js.map +1 -0
  171. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.js +1301 -0
  172. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.js.map +1 -0
  173. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +473 -0
  174. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts.map +1 -0
  175. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.js +230 -0
  176. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.js.map +1 -0
  177. package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.d.ts +3 -0
  178. package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.d.ts.map +1 -0
  179. package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.js +3 -0
  180. package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.js.map +1 -0
  181. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +76 -20
  182. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts.map +1 -1
  183. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js +12 -0
  184. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js.map +1 -1
  185. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +14 -14
  186. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +188 -0
  187. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts.map +1 -0
  188. package/dist/bubbles/tool-bubble/code-edit-tool.js +321 -0
  189. package/dist/bubbles/tool-bubble/code-edit-tool.js.map +1 -0
  190. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +740 -0
  191. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts.map +1 -0
  192. package/dist/bubbles/tool-bubble/company-enrichment-tool.js +350 -0
  193. package/dist/bubbles/tool-bubble/company-enrichment-tool.js.map +1 -0
  194. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +8 -4
  195. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts.map +1 -1
  196. package/dist/bubbles/tool-bubble/get-bubble-details-tool.js +115 -10
  197. package/dist/bubbles/tool-bubble/get-bubble-details-tool.js.map +1 -1
  198. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +455 -0
  199. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts.map +1 -0
  200. package/dist/bubbles/tool-bubble/google-maps-tool.js +206 -0
  201. package/dist/bubbles/tool-bubble/google-maps-tool.js.map +1 -0
  202. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +36 -36
  203. package/dist/bubbles/tool-bubble/instagram-tool.d.ts.map +1 -1
  204. package/dist/bubbles/tool-bubble/instagram-tool.js +4 -2
  205. package/dist/bubbles/tool-bubble/instagram-tool.js.map +1 -1
  206. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +830 -453
  207. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
  208. package/dist/bubbles/tool-bubble/linkedin-tool.js +236 -14
  209. package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -1
  210. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  211. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +66 -66
  212. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +17 -16
  213. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts.map +1 -1
  214. package/dist/bubbles/tool-bubble/research-agent-tool.js +32 -17
  215. package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
  216. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  217. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +485 -0
  218. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts.map +1 -0
  219. package/dist/bubbles/tool-bubble/tiktok-tool.js +226 -0
  220. package/dist/bubbles/tool-bubble/tiktok-tool.js.map +1 -0
  221. package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
  222. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +947 -0
  223. package/dist/bubbles/tool-bubble/twitter-tool.d.ts.map +1 -0
  224. package/dist/bubbles/tool-bubble/twitter-tool.js +497 -0
  225. package/dist/bubbles/tool-bubble/twitter-tool.js.map +1 -0
  226. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -16
  227. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts.map +1 -1
  228. package/dist/bubbles/tool-bubble/web-crawl-tool.js +58 -59
  229. package/dist/bubbles/tool-bubble/web-crawl-tool.js.map +1 -1
  230. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  231. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts.map +1 -1
  232. package/dist/bubbles/tool-bubble/web-extract-tool.js +17 -17
  233. package/dist/bubbles/tool-bubble/web-extract-tool.js.map +1 -1
  234. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +21 -113
  235. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts.map +1 -1
  236. package/dist/bubbles/tool-bubble/web-scrape-tool.js +55 -73
  237. package/dist/bubbles/tool-bubble/web-scrape-tool.js.map +1 -1
  238. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +20 -9
  239. package/dist/bubbles/tool-bubble/web-search-tool.d.ts.map +1 -1
  240. package/dist/bubbles/tool-bubble/web-search-tool.js +45 -35
  241. package/dist/bubbles/tool-bubble/web-search-tool.js.map +1 -1
  242. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +25 -25
  243. package/dist/bubbles/tool-bubble/youtube-tool.d.ts.map +1 -1
  244. package/dist/bubbles/tool-bubble/youtube-tool.js +8 -5
  245. package/dist/bubbles/tool-bubble/youtube-tool.js.map +1 -1
  246. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  247. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +30 -30
  248. package/dist/bubbles/workflow-bubble/generate-document.workflow.js +1 -1
  249. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +22 -22
  250. package/dist/bubbles/workflow-bubble/parse-document.workflow.js +1 -1
  251. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +70 -70
  252. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts.map +1 -1
  253. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js +4 -4
  254. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js.map +1 -1
  255. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +36 -36
  256. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js +1 -1
  257. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +14 -14
  258. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts.map +1 -1
  259. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js +6 -6
  260. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js.map +1 -1
  261. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +18 -18
  262. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts.map +1 -1
  263. package/dist/bubbles/workflow-bubble/slack-formatter-agent.js +24 -4
  264. package/dist/bubbles/workflow-bubble/slack-formatter-agent.js.map +1 -1
  265. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +19 -19
  266. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts.map +1 -1
  267. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js +8 -8
  268. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js.map +1 -1
  269. package/dist/bubbles.json +260 -77
  270. package/dist/index.d.ts +25 -4
  271. package/dist/index.d.ts.map +1 -1
  272. package/dist/index.js +18 -3
  273. package/dist/index.js.map +1 -1
  274. package/dist/logging/BubbleLogger.d.ts +55 -16
  275. package/dist/logging/BubbleLogger.d.ts.map +1 -1
  276. package/dist/logging/BubbleLogger.js +192 -77
  277. package/dist/logging/BubbleLogger.js.map +1 -1
  278. package/dist/logging/StreamingBubbleLogger.d.ts +21 -1
  279. package/dist/logging/StreamingBubbleLogger.d.ts.map +1 -1
  280. package/dist/logging/StreamingBubbleLogger.js +80 -8
  281. package/dist/logging/StreamingBubbleLogger.js.map +1 -1
  282. package/dist/logging/WebhookStreamLogger.d.ts +66 -0
  283. package/dist/logging/WebhookStreamLogger.d.ts.map +1 -0
  284. package/dist/logging/WebhookStreamLogger.js +291 -0
  285. package/dist/logging/WebhookStreamLogger.js.map +1 -0
  286. package/dist/types/available-tools.d.ts +1 -1
  287. package/dist/types/available-tools.d.ts.map +1 -1
  288. package/dist/types/available-tools.js +7 -0
  289. package/dist/types/available-tools.js.map +1 -1
  290. package/dist/types/base-bubble-class.d.ts +6 -4
  291. package/dist/types/base-bubble-class.d.ts.map +1 -1
  292. package/dist/types/base-bubble-class.js +30 -23
  293. package/dist/types/base-bubble-class.js.map +1 -1
  294. package/dist/types/bubble.d.ts +2 -0
  295. package/dist/types/bubble.d.ts.map +1 -1
  296. package/dist/types/service-bubble-class.d.ts +1 -1
  297. package/dist/types/service-bubble-class.d.ts.map +1 -1
  298. package/dist/types/service-bubble-class.js +2 -2
  299. package/dist/types/service-bubble-class.js.map +1 -1
  300. package/dist/types/tool-bubble-class.d.ts +1 -1
  301. package/dist/types/tool-bubble-class.d.ts.map +1 -1
  302. package/dist/types/tool-bubble-class.js +60 -10
  303. package/dist/types/tool-bubble-class.js.map +1 -1
  304. package/dist/types/workflow-bubble-class.d.ts +1 -1
  305. package/dist/types/workflow-bubble-class.d.ts.map +1 -1
  306. package/dist/types/workflow-bubble-class.js +2 -2
  307. package/dist/types/workflow-bubble-class.js.map +1 -1
  308. package/dist/utils/agent-formatter.d.ts +14 -2
  309. package/dist/utils/agent-formatter.d.ts.map +1 -1
  310. package/dist/utils/agent-formatter.js +174 -26
  311. package/dist/utils/agent-formatter.js.map +1 -1
  312. package/dist/utils/bubbleflow-validation.d.ts +7 -0
  313. package/dist/utils/bubbleflow-validation.d.ts.map +1 -1
  314. package/dist/utils/bubbleflow-validation.js +171 -6
  315. package/dist/utils/bubbleflow-validation.js.map +1 -1
  316. package/dist/utils/json-parsing.d.ts.map +1 -1
  317. package/dist/utils/json-parsing.js +146 -0
  318. package/dist/utils/json-parsing.js.map +1 -1
  319. package/dist/utils/safe-gemini-chat.d.ts +31 -0
  320. package/dist/utils/safe-gemini-chat.d.ts.map +1 -0
  321. package/dist/utils/safe-gemini-chat.js +93 -0
  322. package/dist/utils/safe-gemini-chat.js.map +1 -0
  323. package/dist/utils/schema-comparison.d.ts +92 -0
  324. package/dist/utils/schema-comparison.d.ts.map +1 -0
  325. package/dist/utils/schema-comparison.js +716 -0
  326. package/dist/utils/schema-comparison.js.map +1 -0
  327. package/dist/utils/zod-schema.d.ts +24 -0
  328. package/dist/utils/zod-schema.d.ts.map +1 -0
  329. package/dist/utils/zod-schema.js +56 -0
  330. package/dist/utils/zod-schema.js.map +1 -0
  331. package/package.json +6 -4
  332. package/dist/bubbles/service-bubble/google-sheets.d.ts +0 -1811
  333. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +0 -1
  334. package/dist/bubbles/service-bubble/google-sheets.js.map +0 -1
  335. package/dist/bubbles/service-bubble/x-twitter.d.ts +0 -814
  336. package/dist/bubbles/service-bubble/x-twitter.d.ts.map +0 -1
  337. package/dist/bubbles/service-bubble/x-twitter.js +0 -445
  338. package/dist/bubbles/service-bubble/x-twitter.js.map +0 -1
  339. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +0 -125
  340. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +0 -1
  341. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +0 -808
  342. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +0 -1
  343. package/dist/test-gm.d.ts +0 -10
  344. package/dist/test-gm.d.ts.map +0 -1
  345. package/dist/test-gm.js +0 -95
  346. package/dist/test-gm.js.map +0 -1
  347. package/dist/utils/param-helper.d.ts +0 -2
  348. package/dist/utils/param-helper.d.ts.map +0 -1
  349. package/dist/utils/param-helper.js +0 -5
  350. package/dist/utils/param-helper.js.map +0 -1
@@ -0,0 +1,740 @@
1
+ import { z } from 'zod';
2
+ import { ToolBubble } from '../../types/tool-bubble-class.js';
3
+ import type { BubbleContext } from '../../types/bubble.js';
4
+ import { CredentialType, type BubbleName } from '@bubblelab/shared-schemas';
5
+ declare const ContactSchema: z.ZodObject<{
6
+ name: z.ZodNullable<z.ZodString>;
7
+ title: z.ZodNullable<z.ZodString>;
8
+ headline: z.ZodNullable<z.ZodString>;
9
+ linkedinUrl: z.ZodNullable<z.ZodString>;
10
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
11
+ email: z.ZodNullable<z.ZodString>;
12
+ twitterHandle: z.ZodNullable<z.ZodString>;
13
+ role: z.ZodEnum<["cxo", "decision_maker", "founder"]>;
14
+ location: z.ZodNullable<z.ZodString>;
15
+ skills: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
16
+ languages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
17
+ summary: z.ZodNullable<z.ZodString>;
18
+ currentEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
19
+ title: z.ZodNullable<z.ZodString>;
20
+ companyName: z.ZodNullable<z.ZodString>;
21
+ companyLinkedinUrl: z.ZodNullable<z.ZodString>;
22
+ startDate: z.ZodNullable<z.ZodString>;
23
+ description: z.ZodNullable<z.ZodString>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ description: string | null;
26
+ title: string | null;
27
+ companyName: string | null;
28
+ companyLinkedinUrl: string | null;
29
+ startDate: string | null;
30
+ }, {
31
+ description: string | null;
32
+ title: string | null;
33
+ companyName: string | null;
34
+ companyLinkedinUrl: string | null;
35
+ startDate: string | null;
36
+ }>, "many">>;
37
+ pastEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
38
+ title: z.ZodNullable<z.ZodString>;
39
+ companyName: z.ZodNullable<z.ZodString>;
40
+ startDate: z.ZodNullable<z.ZodString>;
41
+ endDate: z.ZodNullable<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ title: string | null;
44
+ companyName: string | null;
45
+ startDate: string | null;
46
+ endDate: string | null;
47
+ }, {
48
+ title: string | null;
49
+ companyName: string | null;
50
+ startDate: string | null;
51
+ endDate: string | null;
52
+ }>, "many">>;
53
+ education: z.ZodNullable<z.ZodArray<z.ZodObject<{
54
+ instituteName: z.ZodNullable<z.ZodString>;
55
+ degreeName: z.ZodNullable<z.ZodString>;
56
+ fieldOfStudy: z.ZodNullable<z.ZodString>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ instituteName: string | null;
59
+ degreeName: string | null;
60
+ fieldOfStudy: string | null;
61
+ }, {
62
+ instituteName: string | null;
63
+ degreeName: string | null;
64
+ fieldOfStudy: string | null;
65
+ }>, "many">>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ title: string | null;
68
+ name: string | null;
69
+ email: string | null;
70
+ location: string | null;
71
+ headline: string | null;
72
+ skills: string[] | null;
73
+ languages: string[] | null;
74
+ summary: string | null;
75
+ education: {
76
+ instituteName: string | null;
77
+ degreeName: string | null;
78
+ fieldOfStudy: string | null;
79
+ }[] | null;
80
+ linkedinUrl: string | null;
81
+ profilePictureUrl: string | null;
82
+ twitterHandle: string | null;
83
+ role: "cxo" | "decision_maker" | "founder";
84
+ currentEmployment: {
85
+ description: string | null;
86
+ title: string | null;
87
+ companyName: string | null;
88
+ companyLinkedinUrl: string | null;
89
+ startDate: string | null;
90
+ }[] | null;
91
+ pastEmployment: {
92
+ title: string | null;
93
+ companyName: string | null;
94
+ startDate: string | null;
95
+ endDate: string | null;
96
+ }[] | null;
97
+ }, {
98
+ title: string | null;
99
+ name: string | null;
100
+ email: string | null;
101
+ location: string | null;
102
+ headline: string | null;
103
+ skills: string[] | null;
104
+ languages: string[] | null;
105
+ summary: string | null;
106
+ education: {
107
+ instituteName: string | null;
108
+ degreeName: string | null;
109
+ fieldOfStudy: string | null;
110
+ }[] | null;
111
+ linkedinUrl: string | null;
112
+ profilePictureUrl: string | null;
113
+ twitterHandle: string | null;
114
+ role: "cxo" | "decision_maker" | "founder";
115
+ currentEmployment: {
116
+ description: string | null;
117
+ title: string | null;
118
+ companyName: string | null;
119
+ companyLinkedinUrl: string | null;
120
+ startDate: string | null;
121
+ }[] | null;
122
+ pastEmployment: {
123
+ title: string | null;
124
+ companyName: string | null;
125
+ startDate: string | null;
126
+ endDate: string | null;
127
+ }[] | null;
128
+ }>;
129
+ declare const CompanyEnrichmentToolParamsSchema: z.ZodObject<{
130
+ companyIdentifier: z.ZodString;
131
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
132
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ companyIdentifier: string;
135
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
136
+ limit?: number | undefined;
137
+ }, {
138
+ companyIdentifier: string;
139
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
140
+ limit?: number | undefined;
141
+ }>;
142
+ declare const CompanyEnrichmentToolResultSchema: z.ZodObject<{
143
+ contacts: z.ZodArray<z.ZodObject<{
144
+ name: z.ZodNullable<z.ZodString>;
145
+ title: z.ZodNullable<z.ZodString>;
146
+ headline: z.ZodNullable<z.ZodString>;
147
+ linkedinUrl: z.ZodNullable<z.ZodString>;
148
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
149
+ email: z.ZodNullable<z.ZodString>;
150
+ twitterHandle: z.ZodNullable<z.ZodString>;
151
+ role: z.ZodEnum<["cxo", "decision_maker", "founder"]>;
152
+ location: z.ZodNullable<z.ZodString>;
153
+ skills: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
154
+ languages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
155
+ summary: z.ZodNullable<z.ZodString>;
156
+ currentEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
157
+ title: z.ZodNullable<z.ZodString>;
158
+ companyName: z.ZodNullable<z.ZodString>;
159
+ companyLinkedinUrl: z.ZodNullable<z.ZodString>;
160
+ startDate: z.ZodNullable<z.ZodString>;
161
+ description: z.ZodNullable<z.ZodString>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ description: string | null;
164
+ title: string | null;
165
+ companyName: string | null;
166
+ companyLinkedinUrl: string | null;
167
+ startDate: string | null;
168
+ }, {
169
+ description: string | null;
170
+ title: string | null;
171
+ companyName: string | null;
172
+ companyLinkedinUrl: string | null;
173
+ startDate: string | null;
174
+ }>, "many">>;
175
+ pastEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
176
+ title: z.ZodNullable<z.ZodString>;
177
+ companyName: z.ZodNullable<z.ZodString>;
178
+ startDate: z.ZodNullable<z.ZodString>;
179
+ endDate: z.ZodNullable<z.ZodString>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ title: string | null;
182
+ companyName: string | null;
183
+ startDate: string | null;
184
+ endDate: string | null;
185
+ }, {
186
+ title: string | null;
187
+ companyName: string | null;
188
+ startDate: string | null;
189
+ endDate: string | null;
190
+ }>, "many">>;
191
+ education: z.ZodNullable<z.ZodArray<z.ZodObject<{
192
+ instituteName: z.ZodNullable<z.ZodString>;
193
+ degreeName: z.ZodNullable<z.ZodString>;
194
+ fieldOfStudy: z.ZodNullable<z.ZodString>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ instituteName: string | null;
197
+ degreeName: string | null;
198
+ fieldOfStudy: string | null;
199
+ }, {
200
+ instituteName: string | null;
201
+ degreeName: string | null;
202
+ fieldOfStudy: string | null;
203
+ }>, "many">>;
204
+ }, "strip", z.ZodTypeAny, {
205
+ title: string | null;
206
+ name: string | null;
207
+ email: string | null;
208
+ location: string | null;
209
+ headline: string | null;
210
+ skills: string[] | null;
211
+ languages: string[] | null;
212
+ summary: string | null;
213
+ education: {
214
+ instituteName: string | null;
215
+ degreeName: string | null;
216
+ fieldOfStudy: string | null;
217
+ }[] | null;
218
+ linkedinUrl: string | null;
219
+ profilePictureUrl: string | null;
220
+ twitterHandle: string | null;
221
+ role: "cxo" | "decision_maker" | "founder";
222
+ currentEmployment: {
223
+ description: string | null;
224
+ title: string | null;
225
+ companyName: string | null;
226
+ companyLinkedinUrl: string | null;
227
+ startDate: string | null;
228
+ }[] | null;
229
+ pastEmployment: {
230
+ title: string | null;
231
+ companyName: string | null;
232
+ startDate: string | null;
233
+ endDate: string | null;
234
+ }[] | null;
235
+ }, {
236
+ title: string | null;
237
+ name: string | null;
238
+ email: string | null;
239
+ location: string | null;
240
+ headline: string | null;
241
+ skills: string[] | null;
242
+ languages: string[] | null;
243
+ summary: string | null;
244
+ education: {
245
+ instituteName: string | null;
246
+ degreeName: string | null;
247
+ fieldOfStudy: string | null;
248
+ }[] | null;
249
+ linkedinUrl: string | null;
250
+ profilePictureUrl: string | null;
251
+ twitterHandle: string | null;
252
+ role: "cxo" | "decision_maker" | "founder";
253
+ currentEmployment: {
254
+ description: string | null;
255
+ title: string | null;
256
+ companyName: string | null;
257
+ companyLinkedinUrl: string | null;
258
+ startDate: string | null;
259
+ }[] | null;
260
+ pastEmployment: {
261
+ title: string | null;
262
+ companyName: string | null;
263
+ startDate: string | null;
264
+ endDate: string | null;
265
+ }[] | null;
266
+ }>, "many">;
267
+ company: z.ZodNullable<z.ZodObject<{
268
+ name: z.ZodNullable<z.ZodString>;
269
+ linkedinUrl: z.ZodNullable<z.ZodString>;
270
+ website: z.ZodNullable<z.ZodString>;
271
+ industry: z.ZodNullable<z.ZodString>;
272
+ description: z.ZodNullable<z.ZodString>;
273
+ headcount: z.ZodNullable<z.ZodNumber>;
274
+ hqCity: z.ZodNullable<z.ZodString>;
275
+ hqCountry: z.ZodNullable<z.ZodString>;
276
+ yearFounded: z.ZodNullable<z.ZodNumber>;
277
+ fundingStage: z.ZodNullable<z.ZodString>;
278
+ totalFunding: z.ZodNullable<z.ZodString>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ description: string | null;
281
+ name: string | null;
282
+ website: string | null;
283
+ headcount: number | null;
284
+ industry: string | null;
285
+ linkedinUrl: string | null;
286
+ hqCity: string | null;
287
+ hqCountry: string | null;
288
+ yearFounded: number | null;
289
+ fundingStage: string | null;
290
+ totalFunding: string | null;
291
+ }, {
292
+ description: string | null;
293
+ name: string | null;
294
+ website: string | null;
295
+ headcount: number | null;
296
+ industry: string | null;
297
+ linkedinUrl: string | null;
298
+ hqCity: string | null;
299
+ hqCountry: string | null;
300
+ yearFounded: number | null;
301
+ fundingStage: string | null;
302
+ totalFunding: string | null;
303
+ }>>;
304
+ totalContacts: z.ZodNumber;
305
+ success: z.ZodBoolean;
306
+ error: z.ZodString;
307
+ }, "strip", z.ZodTypeAny, {
308
+ success: boolean;
309
+ error: string;
310
+ company: {
311
+ description: string | null;
312
+ name: string | null;
313
+ website: string | null;
314
+ headcount: number | null;
315
+ industry: string | null;
316
+ linkedinUrl: string | null;
317
+ hqCity: string | null;
318
+ hqCountry: string | null;
319
+ yearFounded: number | null;
320
+ fundingStage: string | null;
321
+ totalFunding: string | null;
322
+ } | null;
323
+ contacts: {
324
+ title: string | null;
325
+ name: string | null;
326
+ email: string | null;
327
+ location: string | null;
328
+ headline: string | null;
329
+ skills: string[] | null;
330
+ languages: string[] | null;
331
+ summary: string | null;
332
+ education: {
333
+ instituteName: string | null;
334
+ degreeName: string | null;
335
+ fieldOfStudy: string | null;
336
+ }[] | null;
337
+ linkedinUrl: string | null;
338
+ profilePictureUrl: string | null;
339
+ twitterHandle: string | null;
340
+ role: "cxo" | "decision_maker" | "founder";
341
+ currentEmployment: {
342
+ description: string | null;
343
+ title: string | null;
344
+ companyName: string | null;
345
+ companyLinkedinUrl: string | null;
346
+ startDate: string | null;
347
+ }[] | null;
348
+ pastEmployment: {
349
+ title: string | null;
350
+ companyName: string | null;
351
+ startDate: string | null;
352
+ endDate: string | null;
353
+ }[] | null;
354
+ }[];
355
+ totalContacts: number;
356
+ }, {
357
+ success: boolean;
358
+ error: string;
359
+ company: {
360
+ description: string | null;
361
+ name: string | null;
362
+ website: string | null;
363
+ headcount: number | null;
364
+ industry: string | null;
365
+ linkedinUrl: string | null;
366
+ hqCity: string | null;
367
+ hqCountry: string | null;
368
+ yearFounded: number | null;
369
+ fundingStage: string | null;
370
+ totalFunding: string | null;
371
+ } | null;
372
+ contacts: {
373
+ title: string | null;
374
+ name: string | null;
375
+ email: string | null;
376
+ location: string | null;
377
+ headline: string | null;
378
+ skills: string[] | null;
379
+ languages: string[] | null;
380
+ summary: string | null;
381
+ education: {
382
+ instituteName: string | null;
383
+ degreeName: string | null;
384
+ fieldOfStudy: string | null;
385
+ }[] | null;
386
+ linkedinUrl: string | null;
387
+ profilePictureUrl: string | null;
388
+ twitterHandle: string | null;
389
+ role: "cxo" | "decision_maker" | "founder";
390
+ currentEmployment: {
391
+ description: string | null;
392
+ title: string | null;
393
+ companyName: string | null;
394
+ companyLinkedinUrl: string | null;
395
+ startDate: string | null;
396
+ }[] | null;
397
+ pastEmployment: {
398
+ title: string | null;
399
+ companyName: string | null;
400
+ startDate: string | null;
401
+ endDate: string | null;
402
+ }[] | null;
403
+ }[];
404
+ totalContacts: number;
405
+ }>;
406
+ type CompanyEnrichmentToolParams = z.output<typeof CompanyEnrichmentToolParamsSchema>;
407
+ type CompanyEnrichmentToolResult = z.output<typeof CompanyEnrichmentToolResultSchema>;
408
+ type CompanyEnrichmentToolParamsInput = z.input<typeof CompanyEnrichmentToolParamsSchema>;
409
+ export type Contact = z.output<typeof ContactSchema>;
410
+ export type CompanyEnrichmentResult = CompanyEnrichmentToolResult;
411
+ /**
412
+ * Company Enrichment Tool
413
+ *
414
+ * Agent-friendly tool for company enrichment and lead generation.
415
+ * Takes a simple company identifier (name, domain, or LinkedIn URL)
416
+ * and returns key contacts with full profiles.
417
+ *
418
+ * Features:
419
+ * - Auto-detects identifier type (name, domain, LinkedIn URL)
420
+ * - Returns CXOs, decision makers, and founders
421
+ * - Full contact profiles with work history and education
422
+ * - Prioritized results (CXOs first, then decision makers, then founders)
423
+ *
424
+ * Uses CrustdataBubble under the hood with a two-step process:
425
+ * 1. Identify company (FREE) to get company_id
426
+ * 2. Enrich company (1 credit) to get contacts
427
+ */
428
+ export declare class CompanyEnrichmentTool extends ToolBubble<CompanyEnrichmentToolParams, CompanyEnrichmentToolResult> {
429
+ static readonly bubbleName: BubbleName;
430
+ static readonly schema: z.ZodObject<{
431
+ companyIdentifier: z.ZodString;
432
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
433
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
434
+ }, "strip", z.ZodTypeAny, {
435
+ companyIdentifier: string;
436
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
437
+ limit?: number | undefined;
438
+ }, {
439
+ companyIdentifier: string;
440
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
441
+ limit?: number | undefined;
442
+ }>;
443
+ static readonly resultSchema: z.ZodObject<{
444
+ contacts: z.ZodArray<z.ZodObject<{
445
+ name: z.ZodNullable<z.ZodString>;
446
+ title: z.ZodNullable<z.ZodString>;
447
+ headline: z.ZodNullable<z.ZodString>;
448
+ linkedinUrl: z.ZodNullable<z.ZodString>;
449
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
450
+ email: z.ZodNullable<z.ZodString>;
451
+ twitterHandle: z.ZodNullable<z.ZodString>;
452
+ role: z.ZodEnum<["cxo", "decision_maker", "founder"]>;
453
+ location: z.ZodNullable<z.ZodString>;
454
+ skills: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
455
+ languages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
456
+ summary: z.ZodNullable<z.ZodString>;
457
+ currentEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
458
+ title: z.ZodNullable<z.ZodString>;
459
+ companyName: z.ZodNullable<z.ZodString>;
460
+ companyLinkedinUrl: z.ZodNullable<z.ZodString>;
461
+ startDate: z.ZodNullable<z.ZodString>;
462
+ description: z.ZodNullable<z.ZodString>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ description: string | null;
465
+ title: string | null;
466
+ companyName: string | null;
467
+ companyLinkedinUrl: string | null;
468
+ startDate: string | null;
469
+ }, {
470
+ description: string | null;
471
+ title: string | null;
472
+ companyName: string | null;
473
+ companyLinkedinUrl: string | null;
474
+ startDate: string | null;
475
+ }>, "many">>;
476
+ pastEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
477
+ title: z.ZodNullable<z.ZodString>;
478
+ companyName: z.ZodNullable<z.ZodString>;
479
+ startDate: z.ZodNullable<z.ZodString>;
480
+ endDate: z.ZodNullable<z.ZodString>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ title: string | null;
483
+ companyName: string | null;
484
+ startDate: string | null;
485
+ endDate: string | null;
486
+ }, {
487
+ title: string | null;
488
+ companyName: string | null;
489
+ startDate: string | null;
490
+ endDate: string | null;
491
+ }>, "many">>;
492
+ education: z.ZodNullable<z.ZodArray<z.ZodObject<{
493
+ instituteName: z.ZodNullable<z.ZodString>;
494
+ degreeName: z.ZodNullable<z.ZodString>;
495
+ fieldOfStudy: z.ZodNullable<z.ZodString>;
496
+ }, "strip", z.ZodTypeAny, {
497
+ instituteName: string | null;
498
+ degreeName: string | null;
499
+ fieldOfStudy: string | null;
500
+ }, {
501
+ instituteName: string | null;
502
+ degreeName: string | null;
503
+ fieldOfStudy: string | null;
504
+ }>, "many">>;
505
+ }, "strip", z.ZodTypeAny, {
506
+ title: string | null;
507
+ name: string | null;
508
+ email: string | null;
509
+ location: string | null;
510
+ headline: string | null;
511
+ skills: string[] | null;
512
+ languages: string[] | null;
513
+ summary: string | null;
514
+ education: {
515
+ instituteName: string | null;
516
+ degreeName: string | null;
517
+ fieldOfStudy: string | null;
518
+ }[] | null;
519
+ linkedinUrl: string | null;
520
+ profilePictureUrl: string | null;
521
+ twitterHandle: string | null;
522
+ role: "cxo" | "decision_maker" | "founder";
523
+ currentEmployment: {
524
+ description: string | null;
525
+ title: string | null;
526
+ companyName: string | null;
527
+ companyLinkedinUrl: string | null;
528
+ startDate: string | null;
529
+ }[] | null;
530
+ pastEmployment: {
531
+ title: string | null;
532
+ companyName: string | null;
533
+ startDate: string | null;
534
+ endDate: string | null;
535
+ }[] | null;
536
+ }, {
537
+ title: string | null;
538
+ name: string | null;
539
+ email: string | null;
540
+ location: string | null;
541
+ headline: string | null;
542
+ skills: string[] | null;
543
+ languages: string[] | null;
544
+ summary: string | null;
545
+ education: {
546
+ instituteName: string | null;
547
+ degreeName: string | null;
548
+ fieldOfStudy: string | null;
549
+ }[] | null;
550
+ linkedinUrl: string | null;
551
+ profilePictureUrl: string | null;
552
+ twitterHandle: string | null;
553
+ role: "cxo" | "decision_maker" | "founder";
554
+ currentEmployment: {
555
+ description: string | null;
556
+ title: string | null;
557
+ companyName: string | null;
558
+ companyLinkedinUrl: string | null;
559
+ startDate: string | null;
560
+ }[] | null;
561
+ pastEmployment: {
562
+ title: string | null;
563
+ companyName: string | null;
564
+ startDate: string | null;
565
+ endDate: string | null;
566
+ }[] | null;
567
+ }>, "many">;
568
+ company: z.ZodNullable<z.ZodObject<{
569
+ name: z.ZodNullable<z.ZodString>;
570
+ linkedinUrl: z.ZodNullable<z.ZodString>;
571
+ website: z.ZodNullable<z.ZodString>;
572
+ industry: z.ZodNullable<z.ZodString>;
573
+ description: z.ZodNullable<z.ZodString>;
574
+ headcount: z.ZodNullable<z.ZodNumber>;
575
+ hqCity: z.ZodNullable<z.ZodString>;
576
+ hqCountry: z.ZodNullable<z.ZodString>;
577
+ yearFounded: z.ZodNullable<z.ZodNumber>;
578
+ fundingStage: z.ZodNullable<z.ZodString>;
579
+ totalFunding: z.ZodNullable<z.ZodString>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ description: string | null;
582
+ name: string | null;
583
+ website: string | null;
584
+ headcount: number | null;
585
+ industry: string | null;
586
+ linkedinUrl: string | null;
587
+ hqCity: string | null;
588
+ hqCountry: string | null;
589
+ yearFounded: number | null;
590
+ fundingStage: string | null;
591
+ totalFunding: string | null;
592
+ }, {
593
+ description: string | null;
594
+ name: string | null;
595
+ website: string | null;
596
+ headcount: number | null;
597
+ industry: string | null;
598
+ linkedinUrl: string | null;
599
+ hqCity: string | null;
600
+ hqCountry: string | null;
601
+ yearFounded: number | null;
602
+ fundingStage: string | null;
603
+ totalFunding: string | null;
604
+ }>>;
605
+ totalContacts: z.ZodNumber;
606
+ success: z.ZodBoolean;
607
+ error: z.ZodString;
608
+ }, "strip", z.ZodTypeAny, {
609
+ success: boolean;
610
+ error: string;
611
+ company: {
612
+ description: string | null;
613
+ name: string | null;
614
+ website: string | null;
615
+ headcount: number | null;
616
+ industry: string | null;
617
+ linkedinUrl: string | null;
618
+ hqCity: string | null;
619
+ hqCountry: string | null;
620
+ yearFounded: number | null;
621
+ fundingStage: string | null;
622
+ totalFunding: string | null;
623
+ } | null;
624
+ contacts: {
625
+ title: string | null;
626
+ name: string | null;
627
+ email: string | null;
628
+ location: string | null;
629
+ headline: string | null;
630
+ skills: string[] | null;
631
+ languages: string[] | null;
632
+ summary: string | null;
633
+ education: {
634
+ instituteName: string | null;
635
+ degreeName: string | null;
636
+ fieldOfStudy: string | null;
637
+ }[] | null;
638
+ linkedinUrl: string | null;
639
+ profilePictureUrl: string | null;
640
+ twitterHandle: string | null;
641
+ role: "cxo" | "decision_maker" | "founder";
642
+ currentEmployment: {
643
+ description: string | null;
644
+ title: string | null;
645
+ companyName: string | null;
646
+ companyLinkedinUrl: string | null;
647
+ startDate: string | null;
648
+ }[] | null;
649
+ pastEmployment: {
650
+ title: string | null;
651
+ companyName: string | null;
652
+ startDate: string | null;
653
+ endDate: string | null;
654
+ }[] | null;
655
+ }[];
656
+ totalContacts: number;
657
+ }, {
658
+ success: boolean;
659
+ error: string;
660
+ company: {
661
+ description: string | null;
662
+ name: string | null;
663
+ website: string | null;
664
+ headcount: number | null;
665
+ industry: string | null;
666
+ linkedinUrl: string | null;
667
+ hqCity: string | null;
668
+ hqCountry: string | null;
669
+ yearFounded: number | null;
670
+ fundingStage: string | null;
671
+ totalFunding: string | null;
672
+ } | null;
673
+ contacts: {
674
+ title: string | null;
675
+ name: string | null;
676
+ email: string | null;
677
+ location: string | null;
678
+ headline: string | null;
679
+ skills: string[] | null;
680
+ languages: string[] | null;
681
+ summary: string | null;
682
+ education: {
683
+ instituteName: string | null;
684
+ degreeName: string | null;
685
+ fieldOfStudy: string | null;
686
+ }[] | null;
687
+ linkedinUrl: string | null;
688
+ profilePictureUrl: string | null;
689
+ twitterHandle: string | null;
690
+ role: "cxo" | "decision_maker" | "founder";
691
+ currentEmployment: {
692
+ description: string | null;
693
+ title: string | null;
694
+ companyName: string | null;
695
+ companyLinkedinUrl: string | null;
696
+ startDate: string | null;
697
+ }[] | null;
698
+ pastEmployment: {
699
+ title: string | null;
700
+ companyName: string | null;
701
+ startDate: string | null;
702
+ endDate: string | null;
703
+ }[] | null;
704
+ }[];
705
+ totalContacts: number;
706
+ }>;
707
+ static readonly shortDescription = "Get key contacts (executives, decision makers) from any company for lead generation";
708
+ static readonly longDescription = "\n Company enrichment tool for lead generation and sales prospecting.\n\n **SIMPLE INTERFACE:**\n Just provide a company name, domain, or LinkedIn URL to get key contacts.\n The tool automatically:\n - Detects the identifier type\n - Identifies the company\n - Enriches with contact data\n - Returns prioritized contacts (CXOs first)\n\n **WHAT YOU GET:**\n - Contact names and titles\n - LinkedIn profiles and email addresses\n - Work history and education\n - Skills and professional summary\n\n **CONTACT TYPES (prioritized):**\n 1. CXOs - C-level executives (CEO, CTO, CFO, etc.)\n 2. Decision makers - VP, Director, Head of, etc.\n 3. Founders - Company founders\n\n **USE CASES:**\n - Sales prospecting - find decision makers to reach out to\n - Lead generation - build contact lists for outreach\n - Company research - understand company leadership\n - Competitive intelligence - track competitor executives\n - Partnership opportunities - find the right contacts\n\n **EXAMPLES:**\n - \"stripe.com\" - get contacts from Stripe\n - \"Anthropic\" - search by company name\n - \"https://www.linkedin.com/company/openai\" - use LinkedIn URL\n\n **CREDITS:**\n - Identify operation: FREE\n - Enrich operation: 1 credit per company\n ";
709
+ static readonly alias = "enrich";
710
+ static readonly type = "tool";
711
+ constructor(params?: CompanyEnrichmentToolParamsInput, context?: BubbleContext);
712
+ performAction(): Promise<CompanyEnrichmentToolResult>;
713
+ /**
714
+ * Detect identifier type from the input string
715
+ */
716
+ private detectIdentifierType;
717
+ /**
718
+ * Build identify params based on identifier type
719
+ */
720
+ private buildIdentifyParams;
721
+ /**
722
+ * Transform and merge contacts from different sources
723
+ * Priority: CXOs > Decision Makers > Founders
724
+ */
725
+ private transformContacts;
726
+ /**
727
+ * Transform a single profile to Contact format
728
+ */
729
+ private transformProfile;
730
+ /**
731
+ * Transform company info to output format
732
+ */
733
+ private transformCompanyInfo;
734
+ /**
735
+ * Create an error result
736
+ */
737
+ private createErrorResult;
738
+ }
739
+ export {};
740
+ //# sourceMappingURL=company-enrichment-tool.d.ts.map