@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.
- package/dist/bubble-bundle.d.ts +633 -1658
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +165 -43
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.d.ts +22 -1
- package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.js +36 -0
- package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
- package/dist/bubble-flow/sample/data-analyst-flow.d.ts +1 -1
- package/dist/bubble-flow/sample/data-analyst-flow.d.ts.map +1 -1
- package/dist/bubble-flow/sample/error-ts.d.ts +1 -1
- package/dist/bubble-flow/sample/error-ts.d.ts.map +1 -1
- package/dist/bubble-flow/sample/sanitytest.d.ts +1 -1
- package/dist/bubble-flow/sample/sanitytest.d.ts.map +1 -1
- package/dist/bubble-flow/sample/simple-webhook-2.d.ts +1 -1
- package/dist/bubble-flow/sample/simple-webhook-2.d.ts.map +1 -1
- package/dist/bubble-flow/sample/simple-webhook.d.ts +1 -1
- package/dist/bubble-flow/sample/simple-webhook.d.ts.map +1 -1
- package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts +1 -1
- package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts.map +1 -1
- package/dist/bubble-flow/sample/simplified-data-analysis.flow.js +6 -3
- package/dist/bubble-flow/sample/simplified-data-analysis.flow.js.map +1 -1
- package/dist/bubble-flow/sample/slack-v0.1.d.ts +1 -1
- package/dist/bubble-flow/sample/slack-v0.1.d.ts.map +1 -1
- package/dist/bubble-flow/sample/slackagenttest.d.ts +1 -1
- package/dist/bubble-flow/sample/slackagenttest.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +1121 -0
- package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/agi-inc.js +730 -0
- package/dist/bubbles/service-bubble/agi-inc.js.map +1 -0
- package/dist/bubbles/service-bubble/ai-agent.d.ts +297 -85
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +535 -399
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +1753 -0
- package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/airtable.js +1173 -0
- package/dist/bubbles/service-bubble/airtable.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +240 -0
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js +119 -0
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +56 -56
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +137 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js +81 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +27 -27
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +488 -0
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js +463 -0
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +262 -0
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js +291 -0
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +184 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.js +145 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.d.ts +52 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.js +29 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +1483 -123
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +48 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.d.ts +156 -11
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.js +205 -32
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/index.d.ts +2 -0
- package/dist/bubbles/service-bubble/apify/index.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/index.js +3 -0
- package/dist/bubbles/service-bubble/apify/index.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/types.js +1 -2
- package/dist/bubbles/service-bubble/apify/types.js.map +1 -1
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +421 -0
- package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/eleven-labs.js +479 -0
- package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -0
- package/dist/bubbles/service-bubble/firecrawl.d.ts +37748 -0
- package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/firecrawl.js +1489 -0
- package/dist/bubbles/service-bubble/firecrawl.js.map +1 -0
- package/dist/bubbles/service-bubble/followupboss.d.ts +6822 -0
- package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/followupboss.js +1394 -0
- package/dist/bubbles/service-bubble/followupboss.js.map +1 -0
- package/dist/bubbles/service-bubble/github.d.ts +2399 -0
- package/dist/bubbles/service-bubble/github.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/github.js +1052 -0
- package/dist/bubbles/service-bubble/github.js.map +1 -0
- package/dist/bubbles/service-bubble/gmail.d.ts +726 -232
- package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/gmail.js +435 -7
- package/dist/bubbles/service-bubble/gmail.js.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.d.ts +8 -8
- package/dist/bubbles/service-bubble/google-drive.d.ts +270 -40
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +100 -78
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +943 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts +31 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js +184 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js +401 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +1024 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/{google-sheets.js → google-sheets/google-sheets.schema.js} +45 -409
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts +38 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js +183 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/google-sheets/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/index.js +4 -0
- package/dist/bubbles/service-bubble/google-sheets/index.js.map +1 -0
- package/dist/bubbles/service-bubble/hello-world.js +2 -2
- package/dist/bubbles/service-bubble/hello-world.js.map +1 -1
- package/dist/bubbles/service-bubble/http.d.ts +6 -6
- package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/http.js +7 -1
- package/dist/bubbles/service-bubble/http.js.map +1 -1
- package/dist/bubbles/service-bubble/insforge-db.d.ts +140 -0
- package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/insforge-db.js +260 -0
- package/dist/bubbles/service-bubble/insforge-db.js.map +1 -0
- package/dist/bubbles/service-bubble/notion/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/notion/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/notion/index.js +3 -0
- package/dist/bubbles/service-bubble/notion/index.js.map +1 -0
- package/dist/bubbles/service-bubble/notion/notion.d.ts +35405 -0
- package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/notion/notion.js +1492 -0
- package/dist/bubbles/service-bubble/notion/notion.js.map +1 -0
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +1148 -0
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/notion/property-schemas.js +341 -0
- package/dist/bubbles/service-bubble/notion/property-schemas.js.map +1 -0
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/resend.d.ts +30 -9
- package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/resend.js +133 -2
- package/dist/bubbles/service-bubble/resend.js.map +1 -1
- package/dist/bubbles/service-bubble/slack.d.ts +525 -525
- package/dist/bubbles/service-bubble/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack.js +2 -2
- package/dist/bubbles/service-bubble/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +21 -17
- package/dist/bubbles/service-bubble/storage.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/storage.js +59 -7
- package/dist/bubbles/service-bubble/storage.js.map +1 -1
- package/dist/bubbles/service-bubble/telegram.d.ts +7742 -0
- package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/telegram.js +1132 -0
- package/dist/bubbles/service-bubble/telegram.js.map +1 -0
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +60 -4
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js +12 -0
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +188 -0
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/code-edit-tool.js +321 -0
- package/dist/bubbles/tool-bubble/code-edit-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +8 -4
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.js +132 -19
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +455 -0
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/google-maps-tool.js +205 -0
- package/dist/bubbles/tool-bubble/google-maps-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +90 -90
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/instagram-tool.js +2 -2
- package/dist/bubbles/tool-bubble/instagram-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +808 -431
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.js +232 -12
- package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +21 -16
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.js +97 -22
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +17 -16
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/research-agent-tool.js +27 -17
- package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +485 -0
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/tiktok-tool.js +226 -0
- package/dist/bubbles/tool-bubble/tiktok-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +947 -0
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/twitter-tool.js +494 -0
- package/dist/bubbles/tool-bubble/twitter-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +32 -26
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-crawl-tool.js +58 -59
- package/dist/bubbles/tool-bubble/web-crawl-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-extract-tool.js +17 -17
- package/dist/bubbles/tool-bubble/web-extract-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +23 -115
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.js +51 -72
- package/dist/bubbles/tool-bubble/web-scrape-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +18 -6
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-search-tool.js +46 -32
- package/dist/bubbles/tool-bubble/web-search-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +394 -0
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/youtube-tool.js +352 -0
- package/dist/bubbles/tool-bubble/youtube-tool.js.map +1 -0
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +78 -78
- package/dist/bubbles/workflow-bubble/generate-document.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +62 -62
- package/dist/bubbles/workflow-bubble/parse-document.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +80 -80
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +52 -52
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js +2 -2
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js +6 -6
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +46 -46
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.js +24 -4
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.js.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +27 -27
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js +8 -8
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js.map +1 -1
- package/dist/bubbles.json +251 -88
- package/dist/index.d.ts +27 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -4
- package/dist/index.js.map +1 -1
- package/dist/logging/BubbleLogger.d.ts +45 -16
- package/dist/logging/BubbleLogger.d.ts.map +1 -1
- package/dist/logging/BubbleLogger.js +197 -89
- package/dist/logging/BubbleLogger.js.map +1 -1
- package/dist/logging/StreamingBubbleLogger.d.ts +13 -1
- package/dist/logging/StreamingBubbleLogger.d.ts.map +1 -1
- package/dist/logging/StreamingBubbleLogger.js +56 -13
- package/dist/logging/StreamingBubbleLogger.js.map +1 -1
- package/dist/logging/WebhookStreamLogger.d.ts +66 -0
- package/dist/logging/WebhookStreamLogger.d.ts.map +1 -0
- package/dist/logging/WebhookStreamLogger.js +291 -0
- package/dist/logging/WebhookStreamLogger.js.map +1 -0
- package/dist/types/available-tools.d.ts +1 -1
- package/dist/types/available-tools.d.ts.map +1 -1
- package/dist/types/available-tools.js +1 -0
- package/dist/types/available-tools.js.map +1 -1
- package/dist/types/base-bubble-class.d.ts +7 -5
- package/dist/types/base-bubble-class.d.ts.map +1 -1
- package/dist/types/base-bubble-class.js +63 -40
- package/dist/types/base-bubble-class.js.map +1 -1
- package/dist/types/bubble.d.ts +3 -10
- package/dist/types/bubble.d.ts.map +1 -1
- package/dist/types/bubble.js +1 -1
- package/dist/types/bubble.js.map +1 -1
- package/dist/types/service-bubble-class.d.ts +2 -2
- package/dist/types/service-bubble-class.d.ts.map +1 -1
- package/dist/types/service-bubble-class.js +2 -2
- package/dist/types/service-bubble-class.js.map +1 -1
- package/dist/types/tool-bubble-class.d.ts +2 -2
- package/dist/types/tool-bubble-class.d.ts.map +1 -1
- package/dist/types/tool-bubble-class.js +2 -4
- package/dist/types/tool-bubble-class.js.map +1 -1
- package/dist/types/workflow-bubble-class.d.ts +2 -2
- package/dist/types/workflow-bubble-class.d.ts.map +1 -1
- package/dist/types/workflow-bubble-class.js +2 -2
- package/dist/types/workflow-bubble-class.js.map +1 -1
- package/dist/utils/agent-formatter.d.ts +14 -2
- package/dist/utils/agent-formatter.d.ts.map +1 -1
- package/dist/utils/agent-formatter.js +176 -28
- package/dist/utils/agent-formatter.js.map +1 -1
- package/dist/utils/bubbleflow-validation.d.ts +7 -0
- package/dist/utils/bubbleflow-validation.d.ts.map +1 -1
- package/dist/utils/bubbleflow-validation.js +257 -35
- package/dist/utils/bubbleflow-validation.js.map +1 -1
- package/dist/utils/error-sanitizer.d.ts +12 -0
- package/dist/utils/error-sanitizer.d.ts.map +1 -0
- package/dist/utils/error-sanitizer.js +77 -0
- package/dist/utils/error-sanitizer.js.map +1 -0
- package/dist/utils/json-parsing.d.ts.map +1 -1
- package/dist/utils/json-parsing.js +146 -0
- package/dist/utils/json-parsing.js.map +1 -1
- package/dist/utils/safe-gemini-chat.d.ts +31 -0
- package/dist/utils/safe-gemini-chat.d.ts.map +1 -0
- package/dist/utils/safe-gemini-chat.js +93 -0
- package/dist/utils/safe-gemini-chat.js.map +1 -0
- package/dist/utils/schema-comparison.d.ts +92 -0
- package/dist/utils/schema-comparison.d.ts.map +1 -0
- package/dist/utils/schema-comparison.js +716 -0
- package/dist/utils/schema-comparison.js.map +1 -0
- package/dist/utils/zod-schema.d.ts +24 -0
- package/dist/utils/zod-schema.d.ts.map +1 -0
- package/dist/utils/zod-schema.js +56 -0
- package/dist/utils/zod-schema.js.map +1 -0
- package/package.json +7 -6
- package/dist/bubble-trigger/index.d.ts +0 -2
- package/dist/bubble-trigger/index.d.ts.map +0 -1
- package/dist/bubble-trigger/index.js +0 -2
- package/dist/bubble-trigger/index.js.map +0 -1
- package/dist/bubble-trigger/types.d.ts +0 -87
- package/dist/bubble-trigger/types.d.ts.map +0 -1
- package/dist/bubble-trigger/types.js +0 -14
- package/dist/bubble-trigger/types.js.map +0 -1
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.d.ts +0 -370
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.js +0 -14
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.js.map +0 -1
- package/dist/bubbles/service-bubble/apify.d.ts +0 -136
- package/dist/bubbles/service-bubble/apify.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/apify.js +0 -282
- package/dist/bubbles/service-bubble/apify.js.map +0 -1
- package/dist/bubbles/service-bubble/google-sheets.d.ts +0 -1811
- package/dist/bubbles/service-bubble/google-sheets.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/google-sheets.js.map +0 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +0 -114
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +0 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +0 -782
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +0 -1
- package/dist/types/ai-models.d.ts +0 -4
- package/dist/types/ai-models.d.ts.map +0 -1
- package/dist/types/ai-models.js +0 -20
- package/dist/types/ai-models.js.map +0 -1
- package/dist/types/api-scraper.schema.d.ts +0 -453
- package/dist/types/api-scraper.schema.d.ts.map +0 -1
- package/dist/types/api-scraper.schema.js +0 -160
- package/dist/types/api-scraper.schema.js.map +0 -1
- package/dist/utils/param-helper.d.ts +0 -2
- package/dist/utils/param-helper.d.ts.map +0 -1
- package/dist/utils/param-helper.js +0 -5
- package/dist/utils/param-helper.js.map +0 -1
|
@@ -0,0 +1,455 @@
|
|
|
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 GoogleMapsToolParamsSchema: z.ZodObject<{
|
|
6
|
+
operation: z.ZodEnum<["search"]>;
|
|
7
|
+
queries: z.ZodArray<z.ZodString, "many">;
|
|
8
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
10
|
+
language: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
operation: "search";
|
|
14
|
+
queries: string[];
|
|
15
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
16
|
+
limit?: number | undefined;
|
|
17
|
+
location?: string | undefined;
|
|
18
|
+
language?: string | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
operation: "search";
|
|
21
|
+
queries: string[];
|
|
22
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
23
|
+
limit?: number | undefined;
|
|
24
|
+
location?: string | undefined;
|
|
25
|
+
language?: string | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
declare const GoogleMapsToolResultSchema: z.ZodObject<{
|
|
28
|
+
operation: z.ZodEnum<["search"]>;
|
|
29
|
+
places: z.ZodArray<z.ZodObject<{
|
|
30
|
+
title: z.ZodNullable<z.ZodString>;
|
|
31
|
+
placeId: z.ZodNullable<z.ZodString>;
|
|
32
|
+
url: z.ZodNullable<z.ZodString>;
|
|
33
|
+
address: z.ZodNullable<z.ZodString>;
|
|
34
|
+
category: z.ZodNullable<z.ZodString>;
|
|
35
|
+
website: z.ZodNullable<z.ZodString>;
|
|
36
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
37
|
+
rating: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
reviewsCount: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
priceLevel: z.ZodNullable<z.ZodString>;
|
|
40
|
+
isAdvertisement: z.ZodNullable<z.ZodBoolean>;
|
|
41
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
42
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
lng: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
lat: number | null;
|
|
46
|
+
lng: number | null;
|
|
47
|
+
}, {
|
|
48
|
+
lat: number | null;
|
|
49
|
+
lng: number | null;
|
|
50
|
+
}>>;
|
|
51
|
+
openingHours: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
52
|
+
day: z.ZodNullable<z.ZodString>;
|
|
53
|
+
hours: z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodArray<z.ZodString, "many">>]>;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
day: string | null;
|
|
56
|
+
hours: string | string[] | null;
|
|
57
|
+
}, {
|
|
58
|
+
day: string | null;
|
|
59
|
+
hours: string | string[] | null;
|
|
60
|
+
}>, "many">>;
|
|
61
|
+
reviews: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
62
|
+
name: z.ZodNullable<z.ZodString>;
|
|
63
|
+
rating: z.ZodNullable<z.ZodNumber>;
|
|
64
|
+
text: z.ZodNullable<z.ZodString>;
|
|
65
|
+
publishedAtDate: z.ZodNullable<z.ZodString>;
|
|
66
|
+
likesCount: z.ZodNullable<z.ZodNumber>;
|
|
67
|
+
responseFromOwnerText: z.ZodNullable<z.ZodString>;
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
|
+
name: string | null;
|
|
70
|
+
text: string | null;
|
|
71
|
+
likesCount: number | null;
|
|
72
|
+
rating: number | null;
|
|
73
|
+
publishedAtDate: string | null;
|
|
74
|
+
responseFromOwnerText: string | null;
|
|
75
|
+
}, {
|
|
76
|
+
name: string | null;
|
|
77
|
+
text: string | null;
|
|
78
|
+
likesCount: number | null;
|
|
79
|
+
rating: number | null;
|
|
80
|
+
publishedAtDate: string | null;
|
|
81
|
+
responseFromOwnerText: string | null;
|
|
82
|
+
}>, "many">>;
|
|
83
|
+
imageUrls: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
84
|
+
additionalInfo: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
title: string | null;
|
|
87
|
+
url: string | null;
|
|
88
|
+
phone: string | null;
|
|
89
|
+
location: {
|
|
90
|
+
lat: number | null;
|
|
91
|
+
lng: number | null;
|
|
92
|
+
} | null;
|
|
93
|
+
rating: number | null;
|
|
94
|
+
category: string | null;
|
|
95
|
+
address: string | null;
|
|
96
|
+
website: string | null;
|
|
97
|
+
placeId: string | null;
|
|
98
|
+
reviewsCount: number | null;
|
|
99
|
+
openingHours: {
|
|
100
|
+
day: string | null;
|
|
101
|
+
hours: string | string[] | null;
|
|
102
|
+
}[] | null;
|
|
103
|
+
additionalInfo: Record<string, string[]> | null;
|
|
104
|
+
isAdvertisement: boolean | null;
|
|
105
|
+
priceLevel: string | null;
|
|
106
|
+
reviews: {
|
|
107
|
+
name: string | null;
|
|
108
|
+
text: string | null;
|
|
109
|
+
likesCount: number | null;
|
|
110
|
+
rating: number | null;
|
|
111
|
+
publishedAtDate: string | null;
|
|
112
|
+
responseFromOwnerText: string | null;
|
|
113
|
+
}[] | null;
|
|
114
|
+
imageUrls: string[] | null;
|
|
115
|
+
}, {
|
|
116
|
+
title: string | null;
|
|
117
|
+
url: string | null;
|
|
118
|
+
phone: string | null;
|
|
119
|
+
location: {
|
|
120
|
+
lat: number | null;
|
|
121
|
+
lng: number | null;
|
|
122
|
+
} | null;
|
|
123
|
+
rating: number | null;
|
|
124
|
+
category: string | null;
|
|
125
|
+
address: string | null;
|
|
126
|
+
website: string | null;
|
|
127
|
+
placeId: string | null;
|
|
128
|
+
reviewsCount: number | null;
|
|
129
|
+
openingHours: {
|
|
130
|
+
day: string | null;
|
|
131
|
+
hours: string | string[] | null;
|
|
132
|
+
}[] | null;
|
|
133
|
+
additionalInfo: Record<string, string[]> | null;
|
|
134
|
+
isAdvertisement: boolean | null;
|
|
135
|
+
priceLevel: string | null;
|
|
136
|
+
reviews: {
|
|
137
|
+
name: string | null;
|
|
138
|
+
text: string | null;
|
|
139
|
+
likesCount: number | null;
|
|
140
|
+
rating: number | null;
|
|
141
|
+
publishedAtDate: string | null;
|
|
142
|
+
responseFromOwnerText: string | null;
|
|
143
|
+
}[] | null;
|
|
144
|
+
imageUrls: string[] | null;
|
|
145
|
+
}>, "many">;
|
|
146
|
+
totalPlaces: z.ZodNumber;
|
|
147
|
+
success: z.ZodBoolean;
|
|
148
|
+
error: z.ZodString;
|
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
|
150
|
+
error: string;
|
|
151
|
+
success: boolean;
|
|
152
|
+
operation: "search";
|
|
153
|
+
places: {
|
|
154
|
+
title: string | null;
|
|
155
|
+
url: string | null;
|
|
156
|
+
phone: string | null;
|
|
157
|
+
location: {
|
|
158
|
+
lat: number | null;
|
|
159
|
+
lng: number | null;
|
|
160
|
+
} | null;
|
|
161
|
+
rating: number | null;
|
|
162
|
+
category: string | null;
|
|
163
|
+
address: string | null;
|
|
164
|
+
website: string | null;
|
|
165
|
+
placeId: string | null;
|
|
166
|
+
reviewsCount: number | null;
|
|
167
|
+
openingHours: {
|
|
168
|
+
day: string | null;
|
|
169
|
+
hours: string | string[] | null;
|
|
170
|
+
}[] | null;
|
|
171
|
+
additionalInfo: Record<string, string[]> | null;
|
|
172
|
+
isAdvertisement: boolean | null;
|
|
173
|
+
priceLevel: string | null;
|
|
174
|
+
reviews: {
|
|
175
|
+
name: string | null;
|
|
176
|
+
text: string | null;
|
|
177
|
+
likesCount: number | null;
|
|
178
|
+
rating: number | null;
|
|
179
|
+
publishedAtDate: string | null;
|
|
180
|
+
responseFromOwnerText: string | null;
|
|
181
|
+
}[] | null;
|
|
182
|
+
imageUrls: string[] | null;
|
|
183
|
+
}[];
|
|
184
|
+
totalPlaces: number;
|
|
185
|
+
}, {
|
|
186
|
+
error: string;
|
|
187
|
+
success: boolean;
|
|
188
|
+
operation: "search";
|
|
189
|
+
places: {
|
|
190
|
+
title: string | null;
|
|
191
|
+
url: string | null;
|
|
192
|
+
phone: string | null;
|
|
193
|
+
location: {
|
|
194
|
+
lat: number | null;
|
|
195
|
+
lng: number | null;
|
|
196
|
+
} | null;
|
|
197
|
+
rating: number | null;
|
|
198
|
+
category: string | null;
|
|
199
|
+
address: string | null;
|
|
200
|
+
website: string | null;
|
|
201
|
+
placeId: string | null;
|
|
202
|
+
reviewsCount: number | null;
|
|
203
|
+
openingHours: {
|
|
204
|
+
day: string | null;
|
|
205
|
+
hours: string | string[] | null;
|
|
206
|
+
}[] | null;
|
|
207
|
+
additionalInfo: Record<string, string[]> | null;
|
|
208
|
+
isAdvertisement: boolean | null;
|
|
209
|
+
priceLevel: string | null;
|
|
210
|
+
reviews: {
|
|
211
|
+
name: string | null;
|
|
212
|
+
text: string | null;
|
|
213
|
+
likesCount: number | null;
|
|
214
|
+
rating: number | null;
|
|
215
|
+
publishedAtDate: string | null;
|
|
216
|
+
responseFromOwnerText: string | null;
|
|
217
|
+
}[] | null;
|
|
218
|
+
imageUrls: string[] | null;
|
|
219
|
+
}[];
|
|
220
|
+
totalPlaces: number;
|
|
221
|
+
}>;
|
|
222
|
+
type GoogleMapsToolParams = z.output<typeof GoogleMapsToolParamsSchema>;
|
|
223
|
+
type GoogleMapsToolResult = z.output<typeof GoogleMapsToolResultSchema>;
|
|
224
|
+
type GoogleMapsToolParamsInput = z.input<typeof GoogleMapsToolParamsSchema>;
|
|
225
|
+
export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, GoogleMapsToolResult> {
|
|
226
|
+
static readonly bubbleName: BubbleName;
|
|
227
|
+
static readonly schema: z.ZodObject<{
|
|
228
|
+
operation: z.ZodEnum<["search"]>;
|
|
229
|
+
queries: z.ZodArray<z.ZodString, "many">;
|
|
230
|
+
location: z.ZodOptional<z.ZodString>;
|
|
231
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
232
|
+
language: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
233
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
234
|
+
}, "strip", z.ZodTypeAny, {
|
|
235
|
+
operation: "search";
|
|
236
|
+
queries: string[];
|
|
237
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
238
|
+
limit?: number | undefined;
|
|
239
|
+
location?: string | undefined;
|
|
240
|
+
language?: string | undefined;
|
|
241
|
+
}, {
|
|
242
|
+
operation: "search";
|
|
243
|
+
queries: string[];
|
|
244
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
245
|
+
limit?: number | undefined;
|
|
246
|
+
location?: string | undefined;
|
|
247
|
+
language?: string | undefined;
|
|
248
|
+
}>;
|
|
249
|
+
static readonly resultSchema: z.ZodObject<{
|
|
250
|
+
operation: z.ZodEnum<["search"]>;
|
|
251
|
+
places: z.ZodArray<z.ZodObject<{
|
|
252
|
+
title: z.ZodNullable<z.ZodString>;
|
|
253
|
+
placeId: z.ZodNullable<z.ZodString>;
|
|
254
|
+
url: z.ZodNullable<z.ZodString>;
|
|
255
|
+
address: z.ZodNullable<z.ZodString>;
|
|
256
|
+
category: z.ZodNullable<z.ZodString>;
|
|
257
|
+
website: z.ZodNullable<z.ZodString>;
|
|
258
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
259
|
+
rating: z.ZodNullable<z.ZodNumber>;
|
|
260
|
+
reviewsCount: z.ZodNullable<z.ZodNumber>;
|
|
261
|
+
priceLevel: z.ZodNullable<z.ZodString>;
|
|
262
|
+
isAdvertisement: z.ZodNullable<z.ZodBoolean>;
|
|
263
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
264
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
265
|
+
lng: z.ZodNullable<z.ZodNumber>;
|
|
266
|
+
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
lat: number | null;
|
|
268
|
+
lng: number | null;
|
|
269
|
+
}, {
|
|
270
|
+
lat: number | null;
|
|
271
|
+
lng: number | null;
|
|
272
|
+
}>>;
|
|
273
|
+
openingHours: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
274
|
+
day: z.ZodNullable<z.ZodString>;
|
|
275
|
+
hours: z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodArray<z.ZodString, "many">>]>;
|
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
|
+
day: string | null;
|
|
278
|
+
hours: string | string[] | null;
|
|
279
|
+
}, {
|
|
280
|
+
day: string | null;
|
|
281
|
+
hours: string | string[] | null;
|
|
282
|
+
}>, "many">>;
|
|
283
|
+
reviews: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
284
|
+
name: z.ZodNullable<z.ZodString>;
|
|
285
|
+
rating: z.ZodNullable<z.ZodNumber>;
|
|
286
|
+
text: z.ZodNullable<z.ZodString>;
|
|
287
|
+
publishedAtDate: z.ZodNullable<z.ZodString>;
|
|
288
|
+
likesCount: z.ZodNullable<z.ZodNumber>;
|
|
289
|
+
responseFromOwnerText: z.ZodNullable<z.ZodString>;
|
|
290
|
+
}, "strip", z.ZodTypeAny, {
|
|
291
|
+
name: string | null;
|
|
292
|
+
text: string | null;
|
|
293
|
+
likesCount: number | null;
|
|
294
|
+
rating: number | null;
|
|
295
|
+
publishedAtDate: string | null;
|
|
296
|
+
responseFromOwnerText: string | null;
|
|
297
|
+
}, {
|
|
298
|
+
name: string | null;
|
|
299
|
+
text: string | null;
|
|
300
|
+
likesCount: number | null;
|
|
301
|
+
rating: number | null;
|
|
302
|
+
publishedAtDate: string | null;
|
|
303
|
+
responseFromOwnerText: string | null;
|
|
304
|
+
}>, "many">>;
|
|
305
|
+
imageUrls: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
306
|
+
additionalInfo: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
title: string | null;
|
|
309
|
+
url: string | null;
|
|
310
|
+
phone: string | null;
|
|
311
|
+
location: {
|
|
312
|
+
lat: number | null;
|
|
313
|
+
lng: number | null;
|
|
314
|
+
} | null;
|
|
315
|
+
rating: number | null;
|
|
316
|
+
category: string | null;
|
|
317
|
+
address: string | null;
|
|
318
|
+
website: string | null;
|
|
319
|
+
placeId: string | null;
|
|
320
|
+
reviewsCount: number | null;
|
|
321
|
+
openingHours: {
|
|
322
|
+
day: string | null;
|
|
323
|
+
hours: string | string[] | null;
|
|
324
|
+
}[] | null;
|
|
325
|
+
additionalInfo: Record<string, string[]> | null;
|
|
326
|
+
isAdvertisement: boolean | null;
|
|
327
|
+
priceLevel: string | null;
|
|
328
|
+
reviews: {
|
|
329
|
+
name: string | null;
|
|
330
|
+
text: string | null;
|
|
331
|
+
likesCount: number | null;
|
|
332
|
+
rating: number | null;
|
|
333
|
+
publishedAtDate: string | null;
|
|
334
|
+
responseFromOwnerText: string | null;
|
|
335
|
+
}[] | null;
|
|
336
|
+
imageUrls: string[] | null;
|
|
337
|
+
}, {
|
|
338
|
+
title: string | null;
|
|
339
|
+
url: string | null;
|
|
340
|
+
phone: string | null;
|
|
341
|
+
location: {
|
|
342
|
+
lat: number | null;
|
|
343
|
+
lng: number | null;
|
|
344
|
+
} | null;
|
|
345
|
+
rating: number | null;
|
|
346
|
+
category: string | null;
|
|
347
|
+
address: string | null;
|
|
348
|
+
website: string | null;
|
|
349
|
+
placeId: string | null;
|
|
350
|
+
reviewsCount: number | null;
|
|
351
|
+
openingHours: {
|
|
352
|
+
day: string | null;
|
|
353
|
+
hours: string | string[] | null;
|
|
354
|
+
}[] | null;
|
|
355
|
+
additionalInfo: Record<string, string[]> | null;
|
|
356
|
+
isAdvertisement: boolean | null;
|
|
357
|
+
priceLevel: string | null;
|
|
358
|
+
reviews: {
|
|
359
|
+
name: string | null;
|
|
360
|
+
text: string | null;
|
|
361
|
+
likesCount: number | null;
|
|
362
|
+
rating: number | null;
|
|
363
|
+
publishedAtDate: string | null;
|
|
364
|
+
responseFromOwnerText: string | null;
|
|
365
|
+
}[] | null;
|
|
366
|
+
imageUrls: string[] | null;
|
|
367
|
+
}>, "many">;
|
|
368
|
+
totalPlaces: z.ZodNumber;
|
|
369
|
+
success: z.ZodBoolean;
|
|
370
|
+
error: z.ZodString;
|
|
371
|
+
}, "strip", z.ZodTypeAny, {
|
|
372
|
+
error: string;
|
|
373
|
+
success: boolean;
|
|
374
|
+
operation: "search";
|
|
375
|
+
places: {
|
|
376
|
+
title: string | null;
|
|
377
|
+
url: string | null;
|
|
378
|
+
phone: string | null;
|
|
379
|
+
location: {
|
|
380
|
+
lat: number | null;
|
|
381
|
+
lng: number | null;
|
|
382
|
+
} | null;
|
|
383
|
+
rating: number | null;
|
|
384
|
+
category: string | null;
|
|
385
|
+
address: string | null;
|
|
386
|
+
website: string | null;
|
|
387
|
+
placeId: string | null;
|
|
388
|
+
reviewsCount: number | null;
|
|
389
|
+
openingHours: {
|
|
390
|
+
day: string | null;
|
|
391
|
+
hours: string | string[] | null;
|
|
392
|
+
}[] | null;
|
|
393
|
+
additionalInfo: Record<string, string[]> | null;
|
|
394
|
+
isAdvertisement: boolean | null;
|
|
395
|
+
priceLevel: string | null;
|
|
396
|
+
reviews: {
|
|
397
|
+
name: string | null;
|
|
398
|
+
text: string | null;
|
|
399
|
+
likesCount: number | null;
|
|
400
|
+
rating: number | null;
|
|
401
|
+
publishedAtDate: string | null;
|
|
402
|
+
responseFromOwnerText: string | null;
|
|
403
|
+
}[] | null;
|
|
404
|
+
imageUrls: string[] | null;
|
|
405
|
+
}[];
|
|
406
|
+
totalPlaces: number;
|
|
407
|
+
}, {
|
|
408
|
+
error: string;
|
|
409
|
+
success: boolean;
|
|
410
|
+
operation: "search";
|
|
411
|
+
places: {
|
|
412
|
+
title: string | null;
|
|
413
|
+
url: string | null;
|
|
414
|
+
phone: string | null;
|
|
415
|
+
location: {
|
|
416
|
+
lat: number | null;
|
|
417
|
+
lng: number | null;
|
|
418
|
+
} | null;
|
|
419
|
+
rating: number | null;
|
|
420
|
+
category: string | null;
|
|
421
|
+
address: string | null;
|
|
422
|
+
website: string | null;
|
|
423
|
+
placeId: string | null;
|
|
424
|
+
reviewsCount: number | null;
|
|
425
|
+
openingHours: {
|
|
426
|
+
day: string | null;
|
|
427
|
+
hours: string | string[] | null;
|
|
428
|
+
}[] | null;
|
|
429
|
+
additionalInfo: Record<string, string[]> | null;
|
|
430
|
+
isAdvertisement: boolean | null;
|
|
431
|
+
priceLevel: string | null;
|
|
432
|
+
reviews: {
|
|
433
|
+
name: string | null;
|
|
434
|
+
text: string | null;
|
|
435
|
+
likesCount: number | null;
|
|
436
|
+
rating: number | null;
|
|
437
|
+
publishedAtDate: string | null;
|
|
438
|
+
responseFromOwnerText: string | null;
|
|
439
|
+
}[] | null;
|
|
440
|
+
imageUrls: string[] | null;
|
|
441
|
+
}[];
|
|
442
|
+
totalPlaces: number;
|
|
443
|
+
}>;
|
|
444
|
+
static readonly shortDescription = "Scrape Google Maps business listings, reviews, and place data.";
|
|
445
|
+
static readonly longDescription = "\n Universal Google Maps scraping tool.\n \n Operations:\n - search: Find businesses and places by keyword and location\n \n Uses Apify's compass/crawler-google-places.\n ";
|
|
446
|
+
static readonly alias = "maps";
|
|
447
|
+
static readonly type = "tool";
|
|
448
|
+
constructor(params?: GoogleMapsToolParamsInput, context?: BubbleContext);
|
|
449
|
+
performAction(): Promise<GoogleMapsToolResult>;
|
|
450
|
+
private createErrorResult;
|
|
451
|
+
private runScraper;
|
|
452
|
+
private transformPlaces;
|
|
453
|
+
}
|
|
454
|
+
export {};
|
|
455
|
+
//# sourceMappingURL=google-maps-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-maps-tool.d.ts","sourceRoot":"","sources":["../../../src/bubbles/tool-bubble/google-maps-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAsD5E,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EA2B9B,C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AAI,OAAO,CAAC,oBAAoB,CAAC;IAyBpD,OAAO,CAAC,iBAAiB;YAUX,UAAU;IAgDxB,OAAO,CAAC,eAAe;CA+CxB"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ToolBubble } from '../../types/tool-bubble-class.js';
|
|
3
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
4
|
+
import { ApifyBubble } from '../service-bubble/apify/apify.js';
|
|
5
|
+
// Unified Google Maps data types
|
|
6
|
+
const GoogleMapsReviewSchema = z.object({
|
|
7
|
+
name: z.string().nullable().describe('Reviewer name'),
|
|
8
|
+
rating: z.number().nullable().describe('Rating (1-5)'),
|
|
9
|
+
text: z.string().nullable().describe('Review text'),
|
|
10
|
+
publishedAtDate: z.string().nullable().describe('Publish date'),
|
|
11
|
+
likesCount: z.number().nullable().describe('Number of likes'),
|
|
12
|
+
responseFromOwnerText: z.string().nullable().describe('Owner response'),
|
|
13
|
+
});
|
|
14
|
+
const GoogleMapsPlaceSchema = z.object({
|
|
15
|
+
title: z.string().nullable().describe('Place name'),
|
|
16
|
+
placeId: z.string().nullable().describe('Place ID'),
|
|
17
|
+
url: z.string().nullable().describe('Place URL'),
|
|
18
|
+
address: z.string().nullable().describe('Full address'),
|
|
19
|
+
category: z.string().nullable().describe('Primary category'),
|
|
20
|
+
website: z.string().nullable().describe('Website URL'),
|
|
21
|
+
phone: z.string().nullable().describe('Phone number'),
|
|
22
|
+
rating: z.number().nullable().describe('Average rating'),
|
|
23
|
+
reviewsCount: z.number().nullable().describe('Total reviews'),
|
|
24
|
+
priceLevel: z.string().nullable().describe('Price level'),
|
|
25
|
+
isAdvertisement: z.boolean().nullable().describe('Is sponsored'),
|
|
26
|
+
location: z
|
|
27
|
+
.object({
|
|
28
|
+
lat: z.number().nullable(),
|
|
29
|
+
lng: z.number().nullable(),
|
|
30
|
+
})
|
|
31
|
+
.nullable()
|
|
32
|
+
.describe('Coordinates'),
|
|
33
|
+
openingHours: z
|
|
34
|
+
.array(z.object({
|
|
35
|
+
day: z.string().nullable(),
|
|
36
|
+
hours: z.string().nullable().or(z.array(z.string()).nullable()),
|
|
37
|
+
}))
|
|
38
|
+
.nullable()
|
|
39
|
+
.describe('Opening hours'),
|
|
40
|
+
reviews: z
|
|
41
|
+
.array(GoogleMapsReviewSchema)
|
|
42
|
+
.nullable()
|
|
43
|
+
.describe('Recent reviews'),
|
|
44
|
+
imageUrls: z.array(z.string()).nullable().describe('Image URLs'),
|
|
45
|
+
additionalInfo: z
|
|
46
|
+
.record(z.array(z.string()))
|
|
47
|
+
.nullable()
|
|
48
|
+
.describe('Additional attributes (accessibility, amenities, etc.)'),
|
|
49
|
+
});
|
|
50
|
+
const GoogleMapsToolParamsSchema = z.object({
|
|
51
|
+
operation: z.enum(['search']).describe('Operation (only search supported)'),
|
|
52
|
+
queries: z
|
|
53
|
+
.array(z.string())
|
|
54
|
+
.min(1)
|
|
55
|
+
.describe('Search queries (e.g. "restaurants in NYC")'),
|
|
56
|
+
location: z
|
|
57
|
+
.string()
|
|
58
|
+
.optional()
|
|
59
|
+
.describe('Location to focus search (e.g. "New York, USA")'),
|
|
60
|
+
limit: z
|
|
61
|
+
.number()
|
|
62
|
+
.min(1)
|
|
63
|
+
.max(500)
|
|
64
|
+
.default(20)
|
|
65
|
+
.optional()
|
|
66
|
+
.describe('Maximum number of places to scrape per query'),
|
|
67
|
+
language: z.string().default('en').optional().describe('Result language'),
|
|
68
|
+
credentials: z
|
|
69
|
+
.record(z.nativeEnum(CredentialType), z.string())
|
|
70
|
+
.optional()
|
|
71
|
+
.describe('Required credentials (auto-injected)'),
|
|
72
|
+
});
|
|
73
|
+
const GoogleMapsToolResultSchema = z.object({
|
|
74
|
+
operation: z.enum(['search']).describe('Operation performed'),
|
|
75
|
+
places: z.array(GoogleMapsPlaceSchema).describe('Found places'),
|
|
76
|
+
totalPlaces: z.number().describe('Total places found'),
|
|
77
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
78
|
+
error: z.string().describe('Error message if operation failed'),
|
|
79
|
+
});
|
|
80
|
+
export class GoogleMapsTool extends ToolBubble {
|
|
81
|
+
static bubbleName = 'google-maps-tool';
|
|
82
|
+
static schema = GoogleMapsToolParamsSchema;
|
|
83
|
+
static resultSchema = GoogleMapsToolResultSchema;
|
|
84
|
+
static shortDescription = 'Scrape Google Maps business listings, reviews, and place data.';
|
|
85
|
+
static longDescription = `
|
|
86
|
+
Universal Google Maps scraping tool.
|
|
87
|
+
|
|
88
|
+
Operations:
|
|
89
|
+
- search: Find businesses and places by keyword and location
|
|
90
|
+
|
|
91
|
+
Uses Apify's compass/crawler-google-places.
|
|
92
|
+
`;
|
|
93
|
+
static alias = 'maps';
|
|
94
|
+
static type = 'tool';
|
|
95
|
+
constructor(params = {
|
|
96
|
+
operation: 'search',
|
|
97
|
+
queries: ['restaurants in SF'],
|
|
98
|
+
limit: 20,
|
|
99
|
+
}, context) {
|
|
100
|
+
super(params, context);
|
|
101
|
+
}
|
|
102
|
+
async performAction() {
|
|
103
|
+
const credentials = this.params.credentials;
|
|
104
|
+
if (!credentials || !credentials[CredentialType.APIFY_CRED]) {
|
|
105
|
+
return this.createErrorResult('Google Maps scraping requires authentication. Please configure APIFY_CRED.');
|
|
106
|
+
}
|
|
107
|
+
try {
|
|
108
|
+
const result = await this.runScraper();
|
|
109
|
+
return {
|
|
110
|
+
operation: 'search',
|
|
111
|
+
places: result.places,
|
|
112
|
+
totalPlaces: result.places.length,
|
|
113
|
+
success: result.success,
|
|
114
|
+
error: result.error,
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
catch (error) {
|
|
118
|
+
return this.createErrorResult(error instanceof Error ? error.message : 'Unknown error occurred');
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
createErrorResult(errorMessage) {
|
|
122
|
+
return {
|
|
123
|
+
operation: 'search',
|
|
124
|
+
places: [],
|
|
125
|
+
totalPlaces: 0,
|
|
126
|
+
success: false,
|
|
127
|
+
error: errorMessage,
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
async runScraper() {
|
|
131
|
+
const { queries, location, limit, language } = this.params;
|
|
132
|
+
const input = {
|
|
133
|
+
searchStringsArray: queries,
|
|
134
|
+
locationQuery: location,
|
|
135
|
+
maxCrawledPlacesPerSearch: limit,
|
|
136
|
+
language,
|
|
137
|
+
// Default safer settings
|
|
138
|
+
onlyDataFromSearchPage: false,
|
|
139
|
+
};
|
|
140
|
+
const scraper = new ApifyBubble({
|
|
141
|
+
actorId: 'compass/crawler-google-places',
|
|
142
|
+
input,
|
|
143
|
+
waitForFinish: true,
|
|
144
|
+
timeout: 240000, // 4 minutes, maps can be slow
|
|
145
|
+
credentials: this.params.credentials,
|
|
146
|
+
}, this.context, 'googleMapsScraper');
|
|
147
|
+
const apifyResult = await scraper.action();
|
|
148
|
+
if (!apifyResult.data.success) {
|
|
149
|
+
return {
|
|
150
|
+
places: [],
|
|
151
|
+
success: false,
|
|
152
|
+
error: apifyResult.data.error || 'Failed to scrape Google Maps',
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
const items = apifyResult.data.items || [];
|
|
156
|
+
const places = this.transformPlaces(items);
|
|
157
|
+
return {
|
|
158
|
+
places,
|
|
159
|
+
success: true,
|
|
160
|
+
error: '',
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
transformPlaces(items) {
|
|
164
|
+
return items.map((item) => ({
|
|
165
|
+
title: item.title || null,
|
|
166
|
+
placeId: item.placeId || null,
|
|
167
|
+
url: item.url || null,
|
|
168
|
+
address: item.address || null,
|
|
169
|
+
category: item.categoryName || item.categories?.[0] || null,
|
|
170
|
+
website: item.website || null,
|
|
171
|
+
phone: item.phone || item.phoneUnformatted || null,
|
|
172
|
+
rating: item.totalScore || null,
|
|
173
|
+
reviewsCount: item.reviewsCount || null,
|
|
174
|
+
priceLevel: item.price || null,
|
|
175
|
+
isAdvertisement: item.isAdvertisement || null,
|
|
176
|
+
location: item.location
|
|
177
|
+
? {
|
|
178
|
+
lat: item.location.lat || null,
|
|
179
|
+
lng: item.location.lng || null,
|
|
180
|
+
}
|
|
181
|
+
: null,
|
|
182
|
+
openingHours: item.openingHours
|
|
183
|
+
? item.openingHours.map((h) => ({
|
|
184
|
+
day: h.day || null,
|
|
185
|
+
hours: h.hours || null, // Can be string or array per schema
|
|
186
|
+
}))
|
|
187
|
+
: null,
|
|
188
|
+
reviews: null, // Reviews are not available in the current schema
|
|
189
|
+
imageUrls: item.imageUrl ? [item.imageUrl] : null,
|
|
190
|
+
additionalInfo: item.additionalInfo
|
|
191
|
+
? Object.fromEntries(Object.entries(item.additionalInfo).map(([key, value]) => [
|
|
192
|
+
key,
|
|
193
|
+
Array.isArray(value)
|
|
194
|
+
? value
|
|
195
|
+
.flatMap((v) => typeof v === 'object' && v !== null
|
|
196
|
+
? Object.keys(v).filter((k) => v[k] === true)
|
|
197
|
+
: [])
|
|
198
|
+
.filter((v) => v)
|
|
199
|
+
: [],
|
|
200
|
+
]))
|
|
201
|
+
: null,
|
|
202
|
+
}));
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
//# sourceMappingURL=google-maps-tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-maps-tool.js","sourceRoot":"","sources":["../../../src/bubbles/tool-bubble/google-maps-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAmB,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,iCAAiC;AACjC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC;IACrD,MAAM,EA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