@bubblelab/bubble-core 0.1.9 → 0.1.11

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 (355) hide show
  1. package/dist/bubble-bundle.d.ts +633 -1658
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +165 -43
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubble-flow/bubble-flow-class.d.ts +22 -1
  6. package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
  7. package/dist/bubble-flow/bubble-flow-class.js +36 -0
  8. package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
  9. package/dist/bubble-flow/sample/data-analyst-flow.d.ts +1 -1
  10. package/dist/bubble-flow/sample/data-analyst-flow.d.ts.map +1 -1
  11. package/dist/bubble-flow/sample/error-ts.d.ts +1 -1
  12. package/dist/bubble-flow/sample/error-ts.d.ts.map +1 -1
  13. package/dist/bubble-flow/sample/sanitytest.d.ts +1 -1
  14. package/dist/bubble-flow/sample/sanitytest.d.ts.map +1 -1
  15. package/dist/bubble-flow/sample/simple-webhook-2.d.ts +1 -1
  16. package/dist/bubble-flow/sample/simple-webhook-2.d.ts.map +1 -1
  17. package/dist/bubble-flow/sample/simple-webhook.d.ts +1 -1
  18. package/dist/bubble-flow/sample/simple-webhook.d.ts.map +1 -1
  19. package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts +1 -1
  20. package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts.map +1 -1
  21. package/dist/bubble-flow/sample/simplified-data-analysis.flow.js +6 -3
  22. package/dist/bubble-flow/sample/simplified-data-analysis.flow.js.map +1 -1
  23. package/dist/bubble-flow/sample/slack-v0.1.d.ts +1 -1
  24. package/dist/bubble-flow/sample/slack-v0.1.d.ts.map +1 -1
  25. package/dist/bubble-flow/sample/slackagenttest.d.ts +1 -1
  26. package/dist/bubble-flow/sample/slackagenttest.d.ts.map +1 -1
  27. package/dist/bubbles/service-bubble/agi-inc.d.ts +1121 -0
  28. package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -0
  29. package/dist/bubbles/service-bubble/agi-inc.js +730 -0
  30. package/dist/bubbles/service-bubble/agi-inc.js.map +1 -0
  31. package/dist/bubbles/service-bubble/ai-agent.d.ts +297 -85
  32. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  33. package/dist/bubbles/service-bubble/ai-agent.js +535 -399
  34. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  35. package/dist/bubbles/service-bubble/airtable.d.ts +1753 -0
  36. package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -0
  37. package/dist/bubbles/service-bubble/airtable.js +1173 -0
  38. package/dist/bubbles/service-bubble/airtable.js.map +1 -0
  39. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +240 -0
  40. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts.map +1 -0
  41. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js +119 -0
  42. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js.map +1 -0
  43. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +38 -38
  44. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +56 -56
  45. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +137 -0
  46. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts.map +1 -0
  47. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js +81 -0
  48. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js.map +1 -0
  49. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +27 -27
  50. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +38 -38
  51. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +488 -0
  52. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts.map +1 -0
  53. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js +463 -0
  54. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js.map +1 -0
  55. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +262 -0
  56. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts.map +1 -0
  57. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js +291 -0
  58. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js.map +1 -0
  59. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +184 -0
  60. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts.map +1 -0
  61. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.js +145 -0
  62. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.js.map +1 -0
  63. package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.d.ts +52 -0
  64. package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.d.ts.map +1 -0
  65. package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.js +29 -0
  66. package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.js.map +1 -0
  67. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +1483 -123
  68. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
  69. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +48 -0
  70. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
  71. package/dist/bubbles/service-bubble/apify/apify.d.ts +156 -11
  72. package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
  73. package/dist/bubbles/service-bubble/apify/apify.js +205 -32
  74. package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
  75. package/dist/bubbles/service-bubble/apify/index.d.ts +2 -0
  76. package/dist/bubbles/service-bubble/apify/index.d.ts.map +1 -1
  77. package/dist/bubbles/service-bubble/apify/index.js +3 -0
  78. package/dist/bubbles/service-bubble/apify/index.js.map +1 -1
  79. package/dist/bubbles/service-bubble/apify/types.js +1 -2
  80. package/dist/bubbles/service-bubble/apify/types.js.map +1 -1
  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 +2399 -0
  94. package/dist/bubbles/service-bubble/github.d.ts.map +1 -0
  95. package/dist/bubbles/service-bubble/github.js +1052 -0
  96. package/dist/bubbles/service-bubble/github.js.map +1 -0
  97. package/dist/bubbles/service-bubble/gmail.d.ts +726 -232
  98. package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
  99. package/dist/bubbles/service-bubble/gmail.js +435 -7
  100. package/dist/bubbles/service-bubble/gmail.js.map +1 -1
  101. package/dist/bubbles/service-bubble/google-calendar.d.ts +8 -8
  102. package/dist/bubbles/service-bubble/google-drive.d.ts +270 -40
  103. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  104. package/dist/bubbles/service-bubble/google-drive.js +100 -78
  105. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  106. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +943 -0
  107. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -0
  108. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts +31 -0
  109. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts.map +1 -0
  110. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js +184 -0
  111. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js.map +1 -0
  112. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js +401 -0
  113. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -0
  114. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +1024 -0
  115. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts.map +1 -0
  116. package/dist/bubbles/service-bubble/{google-sheets.js → google-sheets/google-sheets.schema.js} +45 -409
  117. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js.map +1 -0
  118. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts +38 -0
  119. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts.map +1 -0
  120. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js +183 -0
  121. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js.map +1 -0
  122. package/dist/bubbles/service-bubble/google-sheets/index.d.ts +4 -0
  123. package/dist/bubbles/service-bubble/google-sheets/index.d.ts.map +1 -0
  124. package/dist/bubbles/service-bubble/google-sheets/index.js +4 -0
  125. package/dist/bubbles/service-bubble/google-sheets/index.js.map +1 -0
  126. package/dist/bubbles/service-bubble/hello-world.js +2 -2
  127. package/dist/bubbles/service-bubble/hello-world.js.map +1 -1
  128. package/dist/bubbles/service-bubble/http.d.ts +6 -6
  129. package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
  130. package/dist/bubbles/service-bubble/http.js +7 -1
  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 +8 -8
  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 +525 -525
  154. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -1
  155. package/dist/bubbles/service-bubble/slack.js +2 -2
  156. package/dist/bubbles/service-bubble/slack.js.map +1 -1
  157. package/dist/bubbles/service-bubble/storage.d.ts +21 -17
  158. package/dist/bubbles/service-bubble/storage.d.ts.map +1 -1
  159. package/dist/bubbles/service-bubble/storage.js +59 -7
  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/bubbleflow-validation-tool.d.ts +60 -4
  166. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts.map +1 -1
  167. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js +12 -0
  168. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js.map +1 -1
  169. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  170. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +188 -0
  171. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts.map +1 -0
  172. package/dist/bubbles/tool-bubble/code-edit-tool.js +321 -0
  173. package/dist/bubbles/tool-bubble/code-edit-tool.js.map +1 -0
  174. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +8 -4
  175. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts.map +1 -1
  176. package/dist/bubbles/tool-bubble/get-bubble-details-tool.js +132 -19
  177. package/dist/bubbles/tool-bubble/get-bubble-details-tool.js.map +1 -1
  178. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +455 -0
  179. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts.map +1 -0
  180. package/dist/bubbles/tool-bubble/google-maps-tool.js +205 -0
  181. package/dist/bubbles/tool-bubble/google-maps-tool.js.map +1 -0
  182. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +90 -90
  183. package/dist/bubbles/tool-bubble/instagram-tool.d.ts.map +1 -1
  184. package/dist/bubbles/tool-bubble/instagram-tool.js +2 -2
  185. package/dist/bubbles/tool-bubble/instagram-tool.js.map +1 -1
  186. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +808 -431
  187. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
  188. package/dist/bubbles/tool-bubble/linkedin-tool.js +232 -12
  189. package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -1
  190. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  191. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +21 -16
  192. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts.map +1 -1
  193. package/dist/bubbles/tool-bubble/reddit-scrape-tool.js +97 -22
  194. package/dist/bubbles/tool-bubble/reddit-scrape-tool.js.map +1 -1
  195. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +17 -16
  196. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts.map +1 -1
  197. package/dist/bubbles/tool-bubble/research-agent-tool.js +27 -17
  198. package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
  199. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  200. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +485 -0
  201. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts.map +1 -0
  202. package/dist/bubbles/tool-bubble/tiktok-tool.js +226 -0
  203. package/dist/bubbles/tool-bubble/tiktok-tool.js.map +1 -0
  204. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +947 -0
  205. package/dist/bubbles/tool-bubble/twitter-tool.d.ts.map +1 -0
  206. package/dist/bubbles/tool-bubble/twitter-tool.js +494 -0
  207. package/dist/bubbles/tool-bubble/twitter-tool.js.map +1 -0
  208. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +32 -26
  209. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts.map +1 -1
  210. package/dist/bubbles/tool-bubble/web-crawl-tool.js +58 -59
  211. package/dist/bubbles/tool-bubble/web-crawl-tool.js.map +1 -1
  212. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  213. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts.map +1 -1
  214. package/dist/bubbles/tool-bubble/web-extract-tool.js +17 -17
  215. package/dist/bubbles/tool-bubble/web-extract-tool.js.map +1 -1
  216. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +23 -115
  217. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts.map +1 -1
  218. package/dist/bubbles/tool-bubble/web-scrape-tool.js +51 -72
  219. package/dist/bubbles/tool-bubble/web-scrape-tool.js.map +1 -1
  220. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +18 -6
  221. package/dist/bubbles/tool-bubble/web-search-tool.d.ts.map +1 -1
  222. package/dist/bubbles/tool-bubble/web-search-tool.js +46 -32
  223. package/dist/bubbles/tool-bubble/web-search-tool.js.map +1 -1
  224. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +394 -0
  225. package/dist/bubbles/tool-bubble/youtube-tool.d.ts.map +1 -0
  226. package/dist/bubbles/tool-bubble/youtube-tool.js +352 -0
  227. package/dist/bubbles/tool-bubble/youtube-tool.js.map +1 -0
  228. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +78 -78
  229. package/dist/bubbles/workflow-bubble/generate-document.workflow.js +1 -1
  230. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +62 -62
  231. package/dist/bubbles/workflow-bubble/parse-document.workflow.js +1 -1
  232. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +80 -80
  233. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts.map +1 -1
  234. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js +4 -4
  235. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js.map +1 -1
  236. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +52 -52
  237. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts.map +1 -1
  238. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js +2 -2
  239. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js.map +1 -1
  240. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
  241. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts.map +1 -1
  242. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js +6 -6
  243. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js.map +1 -1
  244. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +46 -46
  245. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts.map +1 -1
  246. package/dist/bubbles/workflow-bubble/slack-formatter-agent.js +24 -4
  247. package/dist/bubbles/workflow-bubble/slack-formatter-agent.js.map +1 -1
  248. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +27 -27
  249. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts.map +1 -1
  250. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js +8 -8
  251. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js.map +1 -1
  252. package/dist/bubbles.json +251 -88
  253. package/dist/index.d.ts +27 -6
  254. package/dist/index.d.ts.map +1 -1
  255. package/dist/index.js +18 -4
  256. package/dist/index.js.map +1 -1
  257. package/dist/logging/BubbleLogger.d.ts +45 -16
  258. package/dist/logging/BubbleLogger.d.ts.map +1 -1
  259. package/dist/logging/BubbleLogger.js +197 -89
  260. package/dist/logging/BubbleLogger.js.map +1 -1
  261. package/dist/logging/StreamingBubbleLogger.d.ts +13 -1
  262. package/dist/logging/StreamingBubbleLogger.d.ts.map +1 -1
  263. package/dist/logging/StreamingBubbleLogger.js +56 -13
  264. package/dist/logging/StreamingBubbleLogger.js.map +1 -1
  265. package/dist/logging/WebhookStreamLogger.d.ts +66 -0
  266. package/dist/logging/WebhookStreamLogger.d.ts.map +1 -0
  267. package/dist/logging/WebhookStreamLogger.js +291 -0
  268. package/dist/logging/WebhookStreamLogger.js.map +1 -0
  269. package/dist/types/available-tools.d.ts +1 -1
  270. package/dist/types/available-tools.d.ts.map +1 -1
  271. package/dist/types/available-tools.js +1 -0
  272. package/dist/types/available-tools.js.map +1 -1
  273. package/dist/types/base-bubble-class.d.ts +7 -5
  274. package/dist/types/base-bubble-class.d.ts.map +1 -1
  275. package/dist/types/base-bubble-class.js +63 -40
  276. package/dist/types/base-bubble-class.js.map +1 -1
  277. package/dist/types/bubble.d.ts +3 -10
  278. package/dist/types/bubble.d.ts.map +1 -1
  279. package/dist/types/bubble.js +1 -1
  280. package/dist/types/bubble.js.map +1 -1
  281. package/dist/types/service-bubble-class.d.ts +2 -2
  282. package/dist/types/service-bubble-class.d.ts.map +1 -1
  283. package/dist/types/service-bubble-class.js +2 -2
  284. package/dist/types/service-bubble-class.js.map +1 -1
  285. package/dist/types/tool-bubble-class.d.ts +2 -2
  286. package/dist/types/tool-bubble-class.d.ts.map +1 -1
  287. package/dist/types/tool-bubble-class.js +2 -4
  288. package/dist/types/tool-bubble-class.js.map +1 -1
  289. package/dist/types/workflow-bubble-class.d.ts +2 -2
  290. package/dist/types/workflow-bubble-class.d.ts.map +1 -1
  291. package/dist/types/workflow-bubble-class.js +2 -2
  292. package/dist/types/workflow-bubble-class.js.map +1 -1
  293. package/dist/utils/agent-formatter.d.ts +14 -2
  294. package/dist/utils/agent-formatter.d.ts.map +1 -1
  295. package/dist/utils/agent-formatter.js +176 -28
  296. package/dist/utils/agent-formatter.js.map +1 -1
  297. package/dist/utils/bubbleflow-validation.d.ts +7 -0
  298. package/dist/utils/bubbleflow-validation.d.ts.map +1 -1
  299. package/dist/utils/bubbleflow-validation.js +257 -35
  300. package/dist/utils/bubbleflow-validation.js.map +1 -1
  301. package/dist/utils/error-sanitizer.d.ts +12 -0
  302. package/dist/utils/error-sanitizer.d.ts.map +1 -0
  303. package/dist/utils/error-sanitizer.js +77 -0
  304. package/dist/utils/error-sanitizer.js.map +1 -0
  305. package/dist/utils/json-parsing.d.ts.map +1 -1
  306. package/dist/utils/json-parsing.js +146 -0
  307. package/dist/utils/json-parsing.js.map +1 -1
  308. package/dist/utils/safe-gemini-chat.d.ts +31 -0
  309. package/dist/utils/safe-gemini-chat.d.ts.map +1 -0
  310. package/dist/utils/safe-gemini-chat.js +93 -0
  311. package/dist/utils/safe-gemini-chat.js.map +1 -0
  312. package/dist/utils/schema-comparison.d.ts +92 -0
  313. package/dist/utils/schema-comparison.d.ts.map +1 -0
  314. package/dist/utils/schema-comparison.js +716 -0
  315. package/dist/utils/schema-comparison.js.map +1 -0
  316. package/dist/utils/zod-schema.d.ts +24 -0
  317. package/dist/utils/zod-schema.d.ts.map +1 -0
  318. package/dist/utils/zod-schema.js +56 -0
  319. package/dist/utils/zod-schema.js.map +1 -0
  320. package/package.json +7 -6
  321. package/dist/bubble-trigger/index.d.ts +0 -2
  322. package/dist/bubble-trigger/index.d.ts.map +0 -1
  323. package/dist/bubble-trigger/index.js +0 -2
  324. package/dist/bubble-trigger/index.js.map +0 -1
  325. package/dist/bubble-trigger/types.d.ts +0 -87
  326. package/dist/bubble-trigger/types.d.ts.map +0 -1
  327. package/dist/bubble-trigger/types.js +0 -14
  328. package/dist/bubble-trigger/types.js.map +0 -1
  329. package/dist/bubbles/service-bubble/apify/api-scraper.schema.d.ts +0 -370
  330. package/dist/bubbles/service-bubble/apify/api-scraper.schema.d.ts.map +0 -1
  331. package/dist/bubbles/service-bubble/apify/api-scraper.schema.js +0 -14
  332. package/dist/bubbles/service-bubble/apify/api-scraper.schema.js.map +0 -1
  333. package/dist/bubbles/service-bubble/apify.d.ts +0 -136
  334. package/dist/bubbles/service-bubble/apify.d.ts.map +0 -1
  335. package/dist/bubbles/service-bubble/apify.js +0 -282
  336. package/dist/bubbles/service-bubble/apify.js.map +0 -1
  337. package/dist/bubbles/service-bubble/google-sheets.d.ts +0 -1811
  338. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +0 -1
  339. package/dist/bubbles/service-bubble/google-sheets.js.map +0 -1
  340. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +0 -114
  341. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +0 -1
  342. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +0 -782
  343. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +0 -1
  344. package/dist/types/ai-models.d.ts +0 -4
  345. package/dist/types/ai-models.d.ts.map +0 -1
  346. package/dist/types/ai-models.js +0 -20
  347. package/dist/types/ai-models.js.map +0 -1
  348. package/dist/types/api-scraper.schema.d.ts +0 -453
  349. package/dist/types/api-scraper.schema.d.ts.map +0 -1
  350. package/dist/types/api-scraper.schema.js +0 -160
  351. package/dist/types/api-scraper.schema.js.map +0 -1
  352. package/dist/utils/param-helper.d.ts +0 -2
  353. package/dist/utils/param-helper.d.ts.map +0 -1
  354. package/dist/utils/param-helper.js +0 -5
  355. package/dist/utils/param-helper.js.map +0 -1
@@ -15,15 +15,15 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
15
15
  content: string;
16
16
  operation: "upload_file";
17
17
  convert_to_google_docs: boolean;
18
- mimeType?: string | undefined;
19
18
  credentials?: Partial<Record<CredentialType, string>> | undefined;
19
+ mimeType?: string | undefined;
20
20
  parent_folder_id?: string | undefined;
21
21
  }, {
22
22
  name: string;
23
23
  content: string;
24
24
  operation: "upload_file";
25
- mimeType?: string | undefined;
26
25
  credentials?: Partial<Record<CredentialType, string>> | undefined;
26
+ mimeType?: string | undefined;
27
27
  parent_folder_id?: string | undefined;
28
28
  convert_to_google_docs?: boolean | undefined;
29
29
  }>, z.ZodObject<{
@@ -122,7 +122,7 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
122
122
  type: "user" | "group" | "domain" | "anyone";
123
123
  operation: "share_file";
124
124
  file_id: string;
125
- role: "reader" | "writer" | "commenter" | "owner";
125
+ role: "writer" | "reader" | "commenter" | "owner";
126
126
  send_notification: boolean;
127
127
  credentials?: Partial<Record<CredentialType, string>> | undefined;
128
128
  email_address?: string | undefined;
@@ -132,8 +132,26 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
132
132
  type?: "user" | "group" | "domain" | "anyone" | undefined;
133
133
  credentials?: Partial<Record<CredentialType, string>> | undefined;
134
134
  email_address?: string | undefined;
135
- role?: "reader" | "writer" | "commenter" | "owner" | undefined;
135
+ role?: "writer" | "reader" | "commenter" | "owner" | undefined;
136
136
  send_notification?: boolean | undefined;
137
+ }>, z.ZodObject<{
138
+ operation: z.ZodLiteral<"move_file">;
139
+ file_id: z.ZodString;
140
+ new_parent_folder_id: z.ZodOptional<z.ZodString>;
141
+ remove_parent_folder_id: z.ZodOptional<z.ZodString>;
142
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ operation: "move_file";
145
+ file_id: string;
146
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
147
+ new_parent_folder_id?: string | undefined;
148
+ remove_parent_folder_id?: string | undefined;
149
+ }, {
150
+ operation: "move_file";
151
+ file_id: string;
152
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
153
+ new_parent_folder_id?: string | undefined;
154
+ remove_parent_folder_id?: string | undefined;
137
155
  }>]>;
138
156
  declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
139
157
  operation: z.ZodLiteral<"upload_file">;
@@ -160,8 +178,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
160
178
  emailAddress?: string | undefined;
161
179
  }>, "many">>;
162
180
  }, "strip", z.ZodTypeAny, {
163
- mimeType: string;
164
181
  name: string;
182
+ mimeType: string;
165
183
  id: string;
166
184
  size?: string | undefined;
167
185
  createdTime?: string | undefined;
@@ -175,8 +193,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
175
193
  emailAddress?: string | undefined;
176
194
  }[] | undefined;
177
195
  }, {
178
- mimeType: string;
179
196
  name: string;
197
+ mimeType: string;
180
198
  id: string;
181
199
  size?: string | undefined;
182
200
  createdTime?: string | undefined;
@@ -196,8 +214,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
196
214
  success: boolean;
197
215
  operation: "upload_file";
198
216
  file?: {
199
- mimeType: string;
200
217
  name: string;
218
+ mimeType: string;
201
219
  id: string;
202
220
  size?: string | undefined;
203
221
  createdTime?: string | undefined;
@@ -216,8 +234,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
216
234
  success: boolean;
217
235
  operation: "upload_file";
218
236
  file?: {
219
- mimeType: string;
220
237
  name: string;
238
+ mimeType: string;
221
239
  id: string;
222
240
  size?: string | undefined;
223
241
  createdTime?: string | undefined;
@@ -242,15 +260,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
242
260
  error: string;
243
261
  success: boolean;
244
262
  operation: "download_file";
245
- mimeType?: string | undefined;
246
263
  content?: string | undefined;
264
+ mimeType?: string | undefined;
247
265
  filename?: string | undefined;
248
266
  }, {
249
267
  error: string;
250
268
  success: boolean;
251
269
  operation: "download_file";
252
- mimeType?: string | undefined;
253
270
  content?: string | undefined;
271
+ mimeType?: string | undefined;
254
272
  filename?: string | undefined;
255
273
  }>, z.ZodObject<{
256
274
  operation: z.ZodLiteral<"list_files">;
@@ -277,8 +295,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
277
295
  emailAddress?: string | undefined;
278
296
  }>, "many">>;
279
297
  }, "strip", z.ZodTypeAny, {
280
- mimeType: string;
281
298
  name: string;
299
+ mimeType: string;
282
300
  id: string;
283
301
  size?: string | undefined;
284
302
  createdTime?: string | undefined;
@@ -292,8 +310,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
292
310
  emailAddress?: string | undefined;
293
311
  }[] | undefined;
294
312
  }, {
295
- mimeType: string;
296
313
  name: string;
314
+ mimeType: string;
297
315
  id: string;
298
316
  size?: string | undefined;
299
317
  createdTime?: string | undefined;
@@ -314,10 +332,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
314
332
  error: string;
315
333
  success: boolean;
316
334
  operation: "list_files";
317
- total_count?: number | undefined;
318
335
  files?: {
319
- mimeType: string;
320
336
  name: string;
337
+ mimeType: string;
321
338
  id: string;
322
339
  size?: string | undefined;
323
340
  createdTime?: string | undefined;
@@ -331,15 +348,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
331
348
  emailAddress?: string | undefined;
332
349
  }[] | undefined;
333
350
  }[] | undefined;
351
+ total_count?: number | undefined;
334
352
  next_page_token?: string | undefined;
335
353
  }, {
336
354
  error: string;
337
355
  success: boolean;
338
356
  operation: "list_files";
339
- total_count?: number | undefined;
340
357
  files?: {
341
- mimeType: string;
342
358
  name: string;
359
+ mimeType: string;
343
360
  id: string;
344
361
  size?: string | undefined;
345
362
  createdTime?: string | undefined;
@@ -353,6 +370,7 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
353
370
  emailAddress?: string | undefined;
354
371
  }[] | undefined;
355
372
  }[] | undefined;
373
+ total_count?: number | undefined;
356
374
  next_page_token?: string | undefined;
357
375
  }>, z.ZodObject<{
358
376
  operation: z.ZodLiteral<"create_folder">;
@@ -434,8 +452,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
434
452
  emailAddress?: string | undefined;
435
453
  }>, "many">>;
436
454
  }, "strip", z.ZodTypeAny, {
437
- mimeType: string;
438
455
  name: string;
456
+ mimeType: string;
439
457
  id: string;
440
458
  size?: string | undefined;
441
459
  createdTime?: string | undefined;
@@ -449,8 +467,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
449
467
  emailAddress?: string | undefined;
450
468
  }[] | undefined;
451
469
  }, {
452
- mimeType: string;
453
470
  name: string;
471
+ mimeType: string;
454
472
  id: string;
455
473
  size?: string | undefined;
456
474
  createdTime?: string | undefined;
@@ -489,8 +507,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
489
507
  success: boolean;
490
508
  operation: "get_file_info";
491
509
  file?: {
492
- mimeType: string;
493
510
  name: string;
511
+ mimeType: string;
494
512
  id: string;
495
513
  size?: string | undefined;
496
514
  createdTime?: string | undefined;
@@ -516,8 +534,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
516
534
  success: boolean;
517
535
  operation: "get_file_info";
518
536
  file?: {
519
- mimeType: string;
520
537
  name: string;
538
+ mimeType: string;
521
539
  id: string;
522
540
  size?: string | undefined;
523
541
  createdTime?: string | undefined;
@@ -556,6 +574,102 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
556
574
  operation: "share_file";
557
575
  permission_id?: string | undefined;
558
576
  share_link?: string | undefined;
577
+ }>, z.ZodObject<{
578
+ operation: z.ZodLiteral<"move_file">;
579
+ success: z.ZodBoolean;
580
+ file: z.ZodOptional<z.ZodObject<{
581
+ id: z.ZodString;
582
+ name: z.ZodString;
583
+ mimeType: z.ZodString;
584
+ size: z.ZodOptional<z.ZodString>;
585
+ createdTime: z.ZodOptional<z.ZodString>;
586
+ modifiedTime: z.ZodOptional<z.ZodString>;
587
+ webViewLink: z.ZodOptional<z.ZodString>;
588
+ webContentLink: z.ZodOptional<z.ZodString>;
589
+ parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
590
+ shared: z.ZodOptional<z.ZodBoolean>;
591
+ owners: z.ZodOptional<z.ZodArray<z.ZodObject<{
592
+ displayName: z.ZodOptional<z.ZodString>;
593
+ emailAddress: z.ZodOptional<z.ZodString>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ displayName?: string | undefined;
596
+ emailAddress?: string | undefined;
597
+ }, {
598
+ displayName?: string | undefined;
599
+ emailAddress?: string | undefined;
600
+ }>, "many">>;
601
+ }, "strip", z.ZodTypeAny, {
602
+ name: string;
603
+ mimeType: string;
604
+ id: string;
605
+ size?: string | undefined;
606
+ createdTime?: string | undefined;
607
+ modifiedTime?: string | undefined;
608
+ webViewLink?: string | undefined;
609
+ webContentLink?: string | undefined;
610
+ parents?: string[] | undefined;
611
+ shared?: boolean | undefined;
612
+ owners?: {
613
+ displayName?: string | undefined;
614
+ emailAddress?: string | undefined;
615
+ }[] | undefined;
616
+ }, {
617
+ name: string;
618
+ mimeType: string;
619
+ id: string;
620
+ size?: string | undefined;
621
+ createdTime?: string | undefined;
622
+ modifiedTime?: string | undefined;
623
+ webViewLink?: string | undefined;
624
+ webContentLink?: string | undefined;
625
+ parents?: string[] | undefined;
626
+ shared?: boolean | undefined;
627
+ owners?: {
628
+ displayName?: string | undefined;
629
+ emailAddress?: string | undefined;
630
+ }[] | undefined;
631
+ }>>;
632
+ error: z.ZodString;
633
+ }, "strip", z.ZodTypeAny, {
634
+ error: string;
635
+ success: boolean;
636
+ operation: "move_file";
637
+ file?: {
638
+ name: string;
639
+ mimeType: string;
640
+ id: string;
641
+ size?: string | undefined;
642
+ createdTime?: string | undefined;
643
+ modifiedTime?: string | undefined;
644
+ webViewLink?: string | undefined;
645
+ webContentLink?: string | undefined;
646
+ parents?: string[] | undefined;
647
+ shared?: boolean | undefined;
648
+ owners?: {
649
+ displayName?: string | undefined;
650
+ emailAddress?: string | undefined;
651
+ }[] | undefined;
652
+ } | undefined;
653
+ }, {
654
+ error: string;
655
+ success: boolean;
656
+ operation: "move_file";
657
+ file?: {
658
+ name: string;
659
+ mimeType: string;
660
+ id: string;
661
+ size?: string | undefined;
662
+ createdTime?: string | undefined;
663
+ modifiedTime?: string | undefined;
664
+ webViewLink?: string | undefined;
665
+ webContentLink?: string | undefined;
666
+ parents?: string[] | undefined;
667
+ shared?: boolean | undefined;
668
+ owners?: {
669
+ displayName?: string | undefined;
670
+ emailAddress?: string | undefined;
671
+ }[] | undefined;
672
+ } | undefined;
559
673
  }>]>;
560
674
  type GoogleDriveResult = z.output<typeof GoogleDriveResultSchema>;
561
675
  type GoogleDriveParams = z.input<typeof GoogleDriveParamsSchema>;
@@ -583,15 +697,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
583
697
  content: string;
584
698
  operation: "upload_file";
585
699
  convert_to_google_docs: boolean;
586
- mimeType?: string | undefined;
587
700
  credentials?: Partial<Record<CredentialType, string>> | undefined;
701
+ mimeType?: string | undefined;
588
702
  parent_folder_id?: string | undefined;
589
703
  }, {
590
704
  name: string;
591
705
  content: string;
592
706
  operation: "upload_file";
593
- mimeType?: string | undefined;
594
707
  credentials?: Partial<Record<CredentialType, string>> | undefined;
708
+ mimeType?: string | undefined;
595
709
  parent_folder_id?: string | undefined;
596
710
  convert_to_google_docs?: boolean | undefined;
597
711
  }>, z.ZodObject<{
@@ -690,7 +804,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
690
804
  type: "user" | "group" | "domain" | "anyone";
691
805
  operation: "share_file";
692
806
  file_id: string;
693
- role: "reader" | "writer" | "commenter" | "owner";
807
+ role: "writer" | "reader" | "commenter" | "owner";
694
808
  send_notification: boolean;
695
809
  credentials?: Partial<Record<CredentialType, string>> | undefined;
696
810
  email_address?: string | undefined;
@@ -700,8 +814,26 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
700
814
  type?: "user" | "group" | "domain" | "anyone" | undefined;
701
815
  credentials?: Partial<Record<CredentialType, string>> | undefined;
702
816
  email_address?: string | undefined;
703
- role?: "reader" | "writer" | "commenter" | "owner" | undefined;
817
+ role?: "writer" | "reader" | "commenter" | "owner" | undefined;
704
818
  send_notification?: boolean | undefined;
819
+ }>, z.ZodObject<{
820
+ operation: z.ZodLiteral<"move_file">;
821
+ file_id: z.ZodString;
822
+ new_parent_folder_id: z.ZodOptional<z.ZodString>;
823
+ remove_parent_folder_id: z.ZodOptional<z.ZodString>;
824
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
825
+ }, "strip", z.ZodTypeAny, {
826
+ operation: "move_file";
827
+ file_id: string;
828
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
829
+ new_parent_folder_id?: string | undefined;
830
+ remove_parent_folder_id?: string | undefined;
831
+ }, {
832
+ operation: "move_file";
833
+ file_id: string;
834
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
835
+ new_parent_folder_id?: string | undefined;
836
+ remove_parent_folder_id?: string | undefined;
705
837
  }>]>;
706
838
  static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
707
839
  operation: z.ZodLiteral<"upload_file">;
@@ -728,8 +860,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
728
860
  emailAddress?: string | undefined;
729
861
  }>, "many">>;
730
862
  }, "strip", z.ZodTypeAny, {
731
- mimeType: string;
732
863
  name: string;
864
+ mimeType: string;
733
865
  id: string;
734
866
  size?: string | undefined;
735
867
  createdTime?: string | undefined;
@@ -743,8 +875,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
743
875
  emailAddress?: string | undefined;
744
876
  }[] | undefined;
745
877
  }, {
746
- mimeType: string;
747
878
  name: string;
879
+ mimeType: string;
748
880
  id: string;
749
881
  size?: string | undefined;
750
882
  createdTime?: string | undefined;
@@ -764,8 +896,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
764
896
  success: boolean;
765
897
  operation: "upload_file";
766
898
  file?: {
767
- mimeType: string;
768
899
  name: string;
900
+ mimeType: string;
769
901
  id: string;
770
902
  size?: string | undefined;
771
903
  createdTime?: string | undefined;
@@ -784,8 +916,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
784
916
  success: boolean;
785
917
  operation: "upload_file";
786
918
  file?: {
787
- mimeType: string;
788
919
  name: string;
920
+ mimeType: string;
789
921
  id: string;
790
922
  size?: string | undefined;
791
923
  createdTime?: string | undefined;
@@ -810,15 +942,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
810
942
  error: string;
811
943
  success: boolean;
812
944
  operation: "download_file";
813
- mimeType?: string | undefined;
814
945
  content?: string | undefined;
946
+ mimeType?: string | undefined;
815
947
  filename?: string | undefined;
816
948
  }, {
817
949
  error: string;
818
950
  success: boolean;
819
951
  operation: "download_file";
820
- mimeType?: string | undefined;
821
952
  content?: string | undefined;
953
+ mimeType?: string | undefined;
822
954
  filename?: string | undefined;
823
955
  }>, z.ZodObject<{
824
956
  operation: z.ZodLiteral<"list_files">;
@@ -845,8 +977,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
845
977
  emailAddress?: string | undefined;
846
978
  }>, "many">>;
847
979
  }, "strip", z.ZodTypeAny, {
848
- mimeType: string;
849
980
  name: string;
981
+ mimeType: string;
850
982
  id: string;
851
983
  size?: string | undefined;
852
984
  createdTime?: string | undefined;
@@ -860,8 +992,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
860
992
  emailAddress?: string | undefined;
861
993
  }[] | undefined;
862
994
  }, {
863
- mimeType: string;
864
995
  name: string;
996
+ mimeType: string;
865
997
  id: string;
866
998
  size?: string | undefined;
867
999
  createdTime?: string | undefined;
@@ -882,10 +1014,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
882
1014
  error: string;
883
1015
  success: boolean;
884
1016
  operation: "list_files";
885
- total_count?: number | undefined;
886
1017
  files?: {
887
- mimeType: string;
888
1018
  name: string;
1019
+ mimeType: string;
889
1020
  id: string;
890
1021
  size?: string | undefined;
891
1022
  createdTime?: string | undefined;
@@ -899,15 +1030,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
899
1030
  emailAddress?: string | undefined;
900
1031
  }[] | undefined;
901
1032
  }[] | undefined;
1033
+ total_count?: number | undefined;
902
1034
  next_page_token?: string | undefined;
903
1035
  }, {
904
1036
  error: string;
905
1037
  success: boolean;
906
1038
  operation: "list_files";
907
- total_count?: number | undefined;
908
1039
  files?: {
909
- mimeType: string;
910
1040
  name: string;
1041
+ mimeType: string;
911
1042
  id: string;
912
1043
  size?: string | undefined;
913
1044
  createdTime?: string | undefined;
@@ -921,6 +1052,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
921
1052
  emailAddress?: string | undefined;
922
1053
  }[] | undefined;
923
1054
  }[] | undefined;
1055
+ total_count?: number | undefined;
924
1056
  next_page_token?: string | undefined;
925
1057
  }>, z.ZodObject<{
926
1058
  operation: z.ZodLiteral<"create_folder">;
@@ -1002,8 +1134,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1002
1134
  emailAddress?: string | undefined;
1003
1135
  }>, "many">>;
1004
1136
  }, "strip", z.ZodTypeAny, {
1005
- mimeType: string;
1006
1137
  name: string;
1138
+ mimeType: string;
1007
1139
  id: string;
1008
1140
  size?: string | undefined;
1009
1141
  createdTime?: string | undefined;
@@ -1017,8 +1149,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1017
1149
  emailAddress?: string | undefined;
1018
1150
  }[] | undefined;
1019
1151
  }, {
1020
- mimeType: string;
1021
1152
  name: string;
1153
+ mimeType: string;
1022
1154
  id: string;
1023
1155
  size?: string | undefined;
1024
1156
  createdTime?: string | undefined;
@@ -1057,8 +1189,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1057
1189
  success: boolean;
1058
1190
  operation: "get_file_info";
1059
1191
  file?: {
1060
- mimeType: string;
1061
1192
  name: string;
1193
+ mimeType: string;
1062
1194
  id: string;
1063
1195
  size?: string | undefined;
1064
1196
  createdTime?: string | undefined;
@@ -1084,8 +1216,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1084
1216
  success: boolean;
1085
1217
  operation: "get_file_info";
1086
1218
  file?: {
1087
- mimeType: string;
1088
1219
  name: string;
1220
+ mimeType: string;
1089
1221
  id: string;
1090
1222
  size?: string | undefined;
1091
1223
  createdTime?: string | undefined;
@@ -1124,6 +1256,102 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1124
1256
  operation: "share_file";
1125
1257
  permission_id?: string | undefined;
1126
1258
  share_link?: string | undefined;
1259
+ }>, z.ZodObject<{
1260
+ operation: z.ZodLiteral<"move_file">;
1261
+ success: z.ZodBoolean;
1262
+ file: z.ZodOptional<z.ZodObject<{
1263
+ id: z.ZodString;
1264
+ name: z.ZodString;
1265
+ mimeType: z.ZodString;
1266
+ size: z.ZodOptional<z.ZodString>;
1267
+ createdTime: z.ZodOptional<z.ZodString>;
1268
+ modifiedTime: z.ZodOptional<z.ZodString>;
1269
+ webViewLink: z.ZodOptional<z.ZodString>;
1270
+ webContentLink: z.ZodOptional<z.ZodString>;
1271
+ parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1272
+ shared: z.ZodOptional<z.ZodBoolean>;
1273
+ owners: z.ZodOptional<z.ZodArray<z.ZodObject<{
1274
+ displayName: z.ZodOptional<z.ZodString>;
1275
+ emailAddress: z.ZodOptional<z.ZodString>;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ displayName?: string | undefined;
1278
+ emailAddress?: string | undefined;
1279
+ }, {
1280
+ displayName?: string | undefined;
1281
+ emailAddress?: string | undefined;
1282
+ }>, "many">>;
1283
+ }, "strip", z.ZodTypeAny, {
1284
+ name: string;
1285
+ mimeType: string;
1286
+ id: string;
1287
+ size?: string | undefined;
1288
+ createdTime?: string | undefined;
1289
+ modifiedTime?: string | undefined;
1290
+ webViewLink?: string | undefined;
1291
+ webContentLink?: string | undefined;
1292
+ parents?: string[] | undefined;
1293
+ shared?: boolean | undefined;
1294
+ owners?: {
1295
+ displayName?: string | undefined;
1296
+ emailAddress?: string | undefined;
1297
+ }[] | undefined;
1298
+ }, {
1299
+ name: string;
1300
+ mimeType: string;
1301
+ id: string;
1302
+ size?: string | undefined;
1303
+ createdTime?: string | undefined;
1304
+ modifiedTime?: string | undefined;
1305
+ webViewLink?: string | undefined;
1306
+ webContentLink?: string | undefined;
1307
+ parents?: string[] | undefined;
1308
+ shared?: boolean | undefined;
1309
+ owners?: {
1310
+ displayName?: string | undefined;
1311
+ emailAddress?: string | undefined;
1312
+ }[] | undefined;
1313
+ }>>;
1314
+ error: z.ZodString;
1315
+ }, "strip", z.ZodTypeAny, {
1316
+ error: string;
1317
+ success: boolean;
1318
+ operation: "move_file";
1319
+ file?: {
1320
+ name: string;
1321
+ mimeType: string;
1322
+ id: string;
1323
+ size?: string | undefined;
1324
+ createdTime?: string | undefined;
1325
+ modifiedTime?: string | undefined;
1326
+ webViewLink?: string | undefined;
1327
+ webContentLink?: string | undefined;
1328
+ parents?: string[] | undefined;
1329
+ shared?: boolean | undefined;
1330
+ owners?: {
1331
+ displayName?: string | undefined;
1332
+ emailAddress?: string | undefined;
1333
+ }[] | undefined;
1334
+ } | undefined;
1335
+ }, {
1336
+ error: string;
1337
+ success: boolean;
1338
+ operation: "move_file";
1339
+ file?: {
1340
+ name: string;
1341
+ mimeType: string;
1342
+ id: string;
1343
+ size?: string | undefined;
1344
+ createdTime?: string | undefined;
1345
+ modifiedTime?: string | undefined;
1346
+ webViewLink?: string | undefined;
1347
+ webContentLink?: string | undefined;
1348
+ parents?: string[] | undefined;
1349
+ shared?: boolean | undefined;
1350
+ owners?: {
1351
+ displayName?: string | undefined;
1352
+ emailAddress?: string | undefined;
1353
+ }[] | undefined;
1354
+ } | undefined;
1127
1355
  }>]>;
1128
1356
  static readonly shortDescription = "Google Drive integration for file management";
1129
1357
  static readonly longDescription = "\n Google Drive service integration for comprehensive file and folder management.\n Use cases:\n - Upload files and documents to Google Drive\n - Download files with format conversion support\n - List and search files with advanced filtering\n - Create and organize folders\n - Share files and manage permissions\n - Get detailed file metadata and information\n \n Security Features:\n - OAuth 2.0 authentication with Google\n - Scoped access permissions\n - Secure file handling and validation\n - User-controlled sharing and permissions\n ";
@@ -1135,12 +1363,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1135
1363
  operation: T['operation'];
1136
1364
  }>>;
1137
1365
  private uploadFile;
1366
+ private isTextMimeType;
1138
1367
  private downloadFile;
1139
1368
  private listFiles;
1140
1369
  private createFolder;
1141
1370
  private deleteFile;
1142
1371
  private getFileInfo;
1143
1372
  private shareFile;
1373
+ private moveFile;
1144
1374
  private isBase64;
1145
1375
  private extractBase64Content;
1146
1376
  private findAndExtractBase64;
@@ -1 +1 @@
1
- {"version":3,"file":"google-drive.d.ts","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/google-drive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAkD3D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwM3B,CAAC;AAGH,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6G3B,CAAC;AAEH,KAAK,iBAAiB,GAAG,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