@bubblelab/bubble-core 0.1.10 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +803 -351
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +130 -35
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.d.ts +5 -0
- package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.js +20 -0
- package/dist/bubble-flow/bubble-flow-class.js.map +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/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 +273 -61
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +536 -405
- 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 +4 -4
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +14 -14
- 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 +6 -6
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +32 -32
- 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 +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +1301 -170
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +32 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.d.ts +158 -13
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.js +222 -37
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +542 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.d.ts +37 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.js +203 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.js.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +593 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +518 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +311 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/browserbase/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/index.js +3 -0
- package/dist/bubbles/service-bubble/browserbase/index.js.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +1358 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.js +219 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +1604 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js +194 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/crustdata/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/index.js +3 -0
- package/dist/bubbles/service-bubble/crustdata/index.js.map +1 -0
- 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 +2393 -0
- package/dist/bubbles/service-bubble/github.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/github.js +1046 -0
- package/dist/bubbles/service-bubble/github.js.map +1 -0
- package/dist/bubbles/service-bubble/gmail.d.ts +180 -180
- package/dist/bubbles/service-bubble/google-calendar.d.ts +60 -60
- package/dist/bubbles/service-bubble/google-drive.d.ts +69 -68
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +35 -3
- 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.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +17 -5
- package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/http.integration.flow.d.ts +49 -0
- package/dist/bubbles/service-bubble/http.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/http.integration.flow.js +425 -0
- package/dist/bubbles/service-bubble/http.integration.flow.js.map +1 -0
- package/dist/bubbles/service-bubble/http.js +47 -5
- 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 +12 -12
- 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 +1741 -798
- package/dist/bubbles/service-bubble/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack.js +322 -28
- package/dist/bubbles/service-bubble/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +26 -22
- package/dist/bubbles/service-bubble/storage.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/storage.js +45 -4
- 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/amazon-shopping-tool/amazon-shopping-tool.d.ts +494 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.d.ts +31 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.js +100 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.js.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.js +1301 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +473 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.js +230 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.js +3 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +76 -20
- 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 +14 -14
- 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/company-enrichment-tool.d.ts +740 -0
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/company-enrichment-tool.js +350 -0
- package/dist/bubbles/tool-bubble/company-enrichment-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 +115 -10
- 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 +206 -0
- package/dist/bubbles/tool-bubble/google-maps-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/instagram-tool.js +4 -2
- package/dist/bubbles/tool-bubble/instagram-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +830 -453
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.js +236 -14
- 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 +66 -66
- 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 +32 -17
- package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- 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/tool-template.d.ts +8 -8
- 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 +497 -0
- package/dist/bubbles/tool-bubble/twitter-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -16
- 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 +8 -8
- 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 +21 -113
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.js +55 -73
- package/dist/bubbles/tool-bubble/web-scrape-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +20 -9
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-search-tool.js +45 -35
- package/dist/bubbles/tool-bubble/web-search-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +25 -25
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/youtube-tool.js +8 -5
- package/dist/bubbles/tool-bubble/youtube-tool.js.map +1 -1
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +30 -30
- package/dist/bubbles/workflow-bubble/generate-document.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +22 -22
- package/dist/bubbles/workflow-bubble/parse-document.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +70 -70
- 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 +36 -36
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +14 -14
- 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 +18 -18
- 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 +19 -19
- 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 +260 -77
- package/dist/index.d.ts +25 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -3
- package/dist/index.js.map +1 -1
- package/dist/logging/BubbleLogger.d.ts +55 -16
- package/dist/logging/BubbleLogger.d.ts.map +1 -1
- package/dist/logging/BubbleLogger.js +192 -77
- package/dist/logging/BubbleLogger.js.map +1 -1
- package/dist/logging/StreamingBubbleLogger.d.ts +21 -1
- package/dist/logging/StreamingBubbleLogger.d.ts.map +1 -1
- package/dist/logging/StreamingBubbleLogger.js +80 -8
- 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 +7 -0
- package/dist/types/available-tools.js.map +1 -1
- package/dist/types/base-bubble-class.d.ts +6 -4
- package/dist/types/base-bubble-class.d.ts.map +1 -1
- package/dist/types/base-bubble-class.js +30 -23
- package/dist/types/base-bubble-class.js.map +1 -1
- package/dist/types/bubble.d.ts +2 -0
- package/dist/types/bubble.d.ts.map +1 -1
- package/dist/types/service-bubble-class.d.ts +1 -1
- 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 +1 -1
- package/dist/types/tool-bubble-class.d.ts.map +1 -1
- package/dist/types/tool-bubble-class.js +60 -10
- package/dist/types/tool-bubble-class.js.map +1 -1
- package/dist/types/workflow-bubble-class.d.ts +1 -1
- 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 +174 -26
- 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 +171 -6
- package/dist/utils/bubbleflow-validation.js.map +1 -1
- 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 +6 -4
- 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/service-bubble/x-twitter.d.ts +0 -814
- package/dist/bubbles/service-bubble/x-twitter.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/x-twitter.js +0 -445
- package/dist/bubbles/service-bubble/x-twitter.js.map +0 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +0 -125
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +0 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +0 -808
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +0 -1
- package/dist/test-gm.d.ts +0 -10
- package/dist/test-gm.d.ts.map +0 -1
- package/dist/test-gm.js +0 -95
- package/dist/test-gm.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 @@
|
|
|
1
|
+
{"version":3,"file":"crustdata.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/crustdata/crustdata.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2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,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
3
|
+
// Person profile schema for decision makers, CXOs, and founders
|
|
4
|
+
export const PersonProfileSchema = z
|
|
5
|
+
.object({
|
|
6
|
+
linkedin_profile_url: z.string().nullable().optional(),
|
|
7
|
+
linkedin_flagship_url: z.string().nullable().optional(),
|
|
8
|
+
name: z.string().nullable().optional(),
|
|
9
|
+
first_name: z.string().nullable().optional(),
|
|
10
|
+
last_name: z.string().nullable().optional(),
|
|
11
|
+
headline: z.string().nullable().optional(),
|
|
12
|
+
location: z.string().nullable().optional(),
|
|
13
|
+
profile_picture_url: z.string().nullable().optional(),
|
|
14
|
+
title: z.string().nullable().optional(),
|
|
15
|
+
email: z.string().nullable().optional(),
|
|
16
|
+
twitter_handle: z.string().nullable().optional(),
|
|
17
|
+
github_profile_id: z.string().nullable().optional(),
|
|
18
|
+
skills: z.array(z.string()).nullable().optional(),
|
|
19
|
+
languages: z.array(z.string()).nullable().optional(),
|
|
20
|
+
summary: z.string().nullable().optional(),
|
|
21
|
+
// Employment history
|
|
22
|
+
current_positions: z
|
|
23
|
+
.array(z.object({
|
|
24
|
+
title: z.string().nullable().optional(),
|
|
25
|
+
company_name: z.string().nullable().optional(),
|
|
26
|
+
company_linkedin_url: z.string().nullable().optional(),
|
|
27
|
+
start_date: z.string().nullable().optional(),
|
|
28
|
+
description: z.string().nullable().optional(),
|
|
29
|
+
}))
|
|
30
|
+
.nullable()
|
|
31
|
+
.optional(),
|
|
32
|
+
past_positions: z
|
|
33
|
+
.array(z.object({
|
|
34
|
+
title: z.string().nullable().optional(),
|
|
35
|
+
company_name: z.string().nullable().optional(),
|
|
36
|
+
start_date: z.string().nullable().optional(),
|
|
37
|
+
end_date: z.string().nullable().optional(),
|
|
38
|
+
}))
|
|
39
|
+
.nullable()
|
|
40
|
+
.optional(),
|
|
41
|
+
// Education
|
|
42
|
+
education: z
|
|
43
|
+
.array(z.object({
|
|
44
|
+
institute_name: z.string().nullable().optional(),
|
|
45
|
+
degree_name: z.string().nullable().optional(),
|
|
46
|
+
field_of_study: z.string().nullable().optional(),
|
|
47
|
+
}))
|
|
48
|
+
.nullable()
|
|
49
|
+
.optional(),
|
|
50
|
+
})
|
|
51
|
+
.passthrough()
|
|
52
|
+
.describe('Person profile from Crustdata');
|
|
53
|
+
// Company info schema for enriched company data
|
|
54
|
+
export const CompanyInfoSchema = z
|
|
55
|
+
.object({
|
|
56
|
+
name: z.string().nullable().optional(),
|
|
57
|
+
linkedin_id: z.string().nullable().optional(), // API returns string
|
|
58
|
+
linkedin_profile_url: z.string().nullable().optional(),
|
|
59
|
+
company_website_domain: z.string().nullable().optional(),
|
|
60
|
+
company_website: z.string().nullable().optional(),
|
|
61
|
+
hq_country: z.string().nullable().optional(),
|
|
62
|
+
hq_city: z.string().nullable().optional(),
|
|
63
|
+
year_founded: z.string().nullable().optional(), // API returns string
|
|
64
|
+
headcount: z.number().nullable().optional(),
|
|
65
|
+
linkedin_headcount: z.number().nullable().optional(),
|
|
66
|
+
linkedin_followers: z.number().nullable().optional(),
|
|
67
|
+
industry: z.string().nullable().optional(),
|
|
68
|
+
description: z.string().nullable().optional(),
|
|
69
|
+
all_industries: z.array(z.string()).nullable().optional(),
|
|
70
|
+
estimated_revenue: z.string().nullable().optional(),
|
|
71
|
+
funding_stage: z.string().nullable().optional(),
|
|
72
|
+
total_funding: z.string().nullable().optional(),
|
|
73
|
+
last_funding_round_date: z.string().nullable().optional(),
|
|
74
|
+
last_funding_round_type: z.string().nullable().optional(),
|
|
75
|
+
})
|
|
76
|
+
.passthrough()
|
|
77
|
+
.describe('Company information from Crustdata');
|
|
78
|
+
// Define the parameters schema for Crustdata operations
|
|
79
|
+
export const CrustdataParamsSchema = z.discriminatedUnion('operation', [
|
|
80
|
+
// Identify operation - resolve company identifier to company_id (FREE)
|
|
81
|
+
z.object({
|
|
82
|
+
operation: z
|
|
83
|
+
.literal('identify')
|
|
84
|
+
.describe('Identify a company and get its Crustdata ID (FREE)'),
|
|
85
|
+
query_company_name: z
|
|
86
|
+
.string()
|
|
87
|
+
.optional()
|
|
88
|
+
.describe('Company name to search for'),
|
|
89
|
+
query_company_website: z
|
|
90
|
+
.string()
|
|
91
|
+
.optional()
|
|
92
|
+
.describe('Company website domain (e.g., "stripe.com")'),
|
|
93
|
+
query_company_linkedin_url: z
|
|
94
|
+
.string()
|
|
95
|
+
.optional()
|
|
96
|
+
.describe('Company LinkedIn URL'),
|
|
97
|
+
count: z
|
|
98
|
+
.number()
|
|
99
|
+
.max(25)
|
|
100
|
+
.default(1)
|
|
101
|
+
.optional()
|
|
102
|
+
.describe('Maximum number of results to return (default: 1, max: 25)'),
|
|
103
|
+
credentials: z
|
|
104
|
+
.record(z.nativeEnum(CredentialType), z.string())
|
|
105
|
+
.optional()
|
|
106
|
+
.describe('Object mapping credential types to values (injected at runtime)'),
|
|
107
|
+
}),
|
|
108
|
+
// Enrich operation - get company data with specified fields (1 credit)
|
|
109
|
+
z.object({
|
|
110
|
+
operation: z
|
|
111
|
+
.literal('enrich')
|
|
112
|
+
.describe('Enrich company data with contacts (1 credit)'),
|
|
113
|
+
company_domain: z
|
|
114
|
+
.string()
|
|
115
|
+
.optional()
|
|
116
|
+
.describe('Company website domain (e.g., "stripe.com")'),
|
|
117
|
+
company_linkedin_url: z
|
|
118
|
+
.string()
|
|
119
|
+
.optional()
|
|
120
|
+
.describe('Company LinkedIn URL'),
|
|
121
|
+
company_id: z
|
|
122
|
+
.number()
|
|
123
|
+
.optional()
|
|
124
|
+
.describe('Crustdata company ID (from identify operation)'),
|
|
125
|
+
fields: z
|
|
126
|
+
.string()
|
|
127
|
+
.default('decision_makers,cxos,founders.profiles')
|
|
128
|
+
.optional()
|
|
129
|
+
.describe('Comma-separated fields to retrieve (default: "decision_makers,cxos,founders.profiles")'),
|
|
130
|
+
enrich_realtime: z
|
|
131
|
+
.boolean()
|
|
132
|
+
.default(false)
|
|
133
|
+
.optional()
|
|
134
|
+
.describe('If true, fetch fresh data from LinkedIn (slower but more accurate)'),
|
|
135
|
+
credentials: z
|
|
136
|
+
.record(z.nativeEnum(CredentialType), z.string())
|
|
137
|
+
.optional()
|
|
138
|
+
.describe('Object mapping credential types to values (injected at runtime)'),
|
|
139
|
+
}),
|
|
140
|
+
]);
|
|
141
|
+
// Identify result - single company match
|
|
142
|
+
export const IdentifyResultItemSchema = z
|
|
143
|
+
.object({
|
|
144
|
+
company_id: z.number().nullable().optional(),
|
|
145
|
+
company_name: z.string().nullable().optional(),
|
|
146
|
+
linkedin_profile_url: z.string().nullable().optional(),
|
|
147
|
+
company_website_domain: z.string().nullable().optional(),
|
|
148
|
+
linkedin_headcount: z.number().nullable().optional(),
|
|
149
|
+
score: z.number().nullable().optional(),
|
|
150
|
+
})
|
|
151
|
+
.passthrough()
|
|
152
|
+
.describe('Company identification result');
|
|
153
|
+
// Define result schemas for different operations
|
|
154
|
+
export const CrustdataResultSchema = z.discriminatedUnion('operation', [
|
|
155
|
+
// Identify operation result
|
|
156
|
+
z.object({
|
|
157
|
+
operation: z
|
|
158
|
+
.literal('identify')
|
|
159
|
+
.describe('Company identification operation'),
|
|
160
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
161
|
+
results: z
|
|
162
|
+
.array(IdentifyResultItemSchema)
|
|
163
|
+
.optional()
|
|
164
|
+
.describe('Array of matching companies'),
|
|
165
|
+
error: z.string().describe('Error message if operation failed'),
|
|
166
|
+
}),
|
|
167
|
+
// Enrich operation result
|
|
168
|
+
z.object({
|
|
169
|
+
operation: z.literal('enrich').describe('Company enrichment operation'),
|
|
170
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
171
|
+
company: CompanyInfoSchema.nullable()
|
|
172
|
+
.optional()
|
|
173
|
+
.describe('Enriched company information'),
|
|
174
|
+
decision_makers: z
|
|
175
|
+
.array(PersonProfileSchema)
|
|
176
|
+
.nullable()
|
|
177
|
+
.optional()
|
|
178
|
+
.describe('Decision makers at the company'),
|
|
179
|
+
cxos: z
|
|
180
|
+
.array(PersonProfileSchema)
|
|
181
|
+
.nullable()
|
|
182
|
+
.optional()
|
|
183
|
+
.describe('C-level executives at the company'),
|
|
184
|
+
founders: z
|
|
185
|
+
.object({
|
|
186
|
+
profiles: z.array(PersonProfileSchema).nullable().optional(),
|
|
187
|
+
})
|
|
188
|
+
.nullable()
|
|
189
|
+
.optional()
|
|
190
|
+
.describe('Founders of the company'),
|
|
191
|
+
error: z.string().describe('Error message if operation failed'),
|
|
192
|
+
}),
|
|
193
|
+
]);
|
|
194
|
+
//# sourceMappingURL=crustdata.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crustdata.schema.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/crustdata/crustdata.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,gEAAgE;AAChE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtD,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACvD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5C,SAAS,EAAE,CAAC,CAAC,MAAM,EAA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C,mBAAmB,CAAC;aAC1B,QAAQ,EAAE;aACV,QAAQ,EAAE;aACV,QAAQ,CAAC,mCAAmC,CAAC;QAChD,QAAQ,EAAE,CAAC;aACR,MAAM,CAAC;YACN,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SAC7D,CAAC;aACD,QAAQ,EAAE;aACV,QAAQ,EAAE;aACV,QAAQ,CAAC,yBAAyB,CAAC;QACtC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;KAChE,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { CrustdataBubble } from './crustdata.js';
|
|
2
|
+
export { CrustdataParamsSchema, CrustdataResultSchema, PersonProfileSchema, CompanyInfoSchema, IdentifyResultItemSchema, type CrustdataParams, type CrustdataParamsInput, type CrustdataResult, type PersonProfile, type CompanyInfo, type IdentifyResultItem, } from './crustdata.schema.js';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/crustdata/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,kBAAkB,GACxB,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/crustdata/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,GAOzB,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ServiceBubble } from '../../types/service-bubble-class.js';
|
|
3
|
+
import type { BubbleContext } from '../../types/bubble.js';
|
|
4
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
5
|
+
export declare const ElevenLabsParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
6
|
+
operation: z.ZodLiteral<"get_signed_url">;
|
|
7
|
+
agentId: z.ZodString;
|
|
8
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
operation: "get_signed_url";
|
|
11
|
+
agentId: string;
|
|
12
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
operation: "get_signed_url";
|
|
15
|
+
agentId: string;
|
|
16
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
17
|
+
}>, z.ZodObject<{
|
|
18
|
+
operation: z.ZodLiteral<"trigger_outbound_call">;
|
|
19
|
+
agentId: z.ZodString;
|
|
20
|
+
toPhoneNumber: z.ZodString;
|
|
21
|
+
phoneNumberId: z.ZodOptional<z.ZodString>;
|
|
22
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
23
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
operation: "trigger_outbound_call";
|
|
26
|
+
agentId: string;
|
|
27
|
+
toPhoneNumber: string;
|
|
28
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
29
|
+
phoneNumberId?: string | undefined;
|
|
30
|
+
variables?: Record<string, string> | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
operation: "trigger_outbound_call";
|
|
33
|
+
agentId: string;
|
|
34
|
+
toPhoneNumber: string;
|
|
35
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
36
|
+
phoneNumberId?: string | undefined;
|
|
37
|
+
variables?: Record<string, string> | undefined;
|
|
38
|
+
}>, z.ZodObject<{
|
|
39
|
+
operation: z.ZodLiteral<"get_agent">;
|
|
40
|
+
agentId: z.ZodString;
|
|
41
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
operation: "get_agent";
|
|
44
|
+
agentId: string;
|
|
45
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
operation: "get_agent";
|
|
48
|
+
agentId: string;
|
|
49
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
50
|
+
}>, z.ZodObject<{
|
|
51
|
+
operation: z.ZodLiteral<"validate_webhook_signature">;
|
|
52
|
+
signature: z.ZodString;
|
|
53
|
+
timestamp: z.ZodString;
|
|
54
|
+
body: z.ZodString;
|
|
55
|
+
webhookSecret: z.ZodString;
|
|
56
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
operation: "validate_webhook_signature";
|
|
59
|
+
timestamp: string;
|
|
60
|
+
body: string;
|
|
61
|
+
signature: string;
|
|
62
|
+
webhookSecret: string;
|
|
63
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
operation: "validate_webhook_signature";
|
|
66
|
+
timestamp: string;
|
|
67
|
+
body: string;
|
|
68
|
+
signature: string;
|
|
69
|
+
webhookSecret: string;
|
|
70
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
71
|
+
}>, z.ZodObject<{
|
|
72
|
+
operation: z.ZodLiteral<"get_conversation">;
|
|
73
|
+
conversationId: z.ZodString;
|
|
74
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
operation: "get_conversation";
|
|
77
|
+
conversationId: string;
|
|
78
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
79
|
+
}, {
|
|
80
|
+
operation: "get_conversation";
|
|
81
|
+
conversationId: string;
|
|
82
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
83
|
+
}>, z.ZodObject<{
|
|
84
|
+
operation: z.ZodLiteral<"get_conversations">;
|
|
85
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
86
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
88
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
operation: "get_conversations";
|
|
91
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
92
|
+
cursor?: string | undefined;
|
|
93
|
+
pageSize?: number | undefined;
|
|
94
|
+
agentId?: string | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
operation: "get_conversations";
|
|
97
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
98
|
+
cursor?: string | undefined;
|
|
99
|
+
pageSize?: number | undefined;
|
|
100
|
+
agentId?: string | undefined;
|
|
101
|
+
}>]>;
|
|
102
|
+
export type ElevenLabsParamsInput = z.input<typeof ElevenLabsParamsSchema>;
|
|
103
|
+
export type ElevenLabsParamsParsed = z.output<typeof ElevenLabsParamsSchema>;
|
|
104
|
+
export declare const ElevenLabsResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
105
|
+
operation: z.ZodLiteral<"get_signed_url">;
|
|
106
|
+
signedUrl: z.ZodOptional<z.ZodString>;
|
|
107
|
+
success: z.ZodBoolean;
|
|
108
|
+
error: z.ZodString;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
error: string;
|
|
111
|
+
success: boolean;
|
|
112
|
+
operation: "get_signed_url";
|
|
113
|
+
signedUrl?: string | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
error: string;
|
|
116
|
+
success: boolean;
|
|
117
|
+
operation: "get_signed_url";
|
|
118
|
+
signedUrl?: string | undefined;
|
|
119
|
+
}>, z.ZodObject<{
|
|
120
|
+
operation: z.ZodLiteral<"trigger_outbound_call">;
|
|
121
|
+
callSid: z.ZodOptional<z.ZodString>;
|
|
122
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
123
|
+
success: z.ZodBoolean;
|
|
124
|
+
error: z.ZodString;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
error: string;
|
|
127
|
+
success: boolean;
|
|
128
|
+
operation: "trigger_outbound_call";
|
|
129
|
+
conversationId?: string | undefined;
|
|
130
|
+
callSid?: string | undefined;
|
|
131
|
+
}, {
|
|
132
|
+
error: string;
|
|
133
|
+
success: boolean;
|
|
134
|
+
operation: "trigger_outbound_call";
|
|
135
|
+
conversationId?: string | undefined;
|
|
136
|
+
callSid?: string | undefined;
|
|
137
|
+
}>, z.ZodObject<{
|
|
138
|
+
operation: z.ZodLiteral<"get_agent">;
|
|
139
|
+
agent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
140
|
+
success: z.ZodBoolean;
|
|
141
|
+
error: z.ZodString;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
error: string;
|
|
144
|
+
success: boolean;
|
|
145
|
+
operation: "get_agent";
|
|
146
|
+
agent?: Record<string, unknown> | undefined;
|
|
147
|
+
}, {
|
|
148
|
+
error: string;
|
|
149
|
+
success: boolean;
|
|
150
|
+
operation: "get_agent";
|
|
151
|
+
agent?: Record<string, unknown> | undefined;
|
|
152
|
+
}>, z.ZodObject<{
|
|
153
|
+
operation: z.ZodLiteral<"validate_webhook_signature">;
|
|
154
|
+
isValid: z.ZodBoolean;
|
|
155
|
+
success: z.ZodBoolean;
|
|
156
|
+
error: z.ZodString;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
error: string;
|
|
159
|
+
success: boolean;
|
|
160
|
+
operation: "validate_webhook_signature";
|
|
161
|
+
isValid: boolean;
|
|
162
|
+
}, {
|
|
163
|
+
error: string;
|
|
164
|
+
success: boolean;
|
|
165
|
+
operation: "validate_webhook_signature";
|
|
166
|
+
isValid: boolean;
|
|
167
|
+
}>, z.ZodObject<{
|
|
168
|
+
operation: z.ZodLiteral<"get_conversation">;
|
|
169
|
+
conversation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
170
|
+
success: z.ZodBoolean;
|
|
171
|
+
error: z.ZodString;
|
|
172
|
+
}, "strip", z.ZodTypeAny, {
|
|
173
|
+
error: string;
|
|
174
|
+
success: boolean;
|
|
175
|
+
operation: "get_conversation";
|
|
176
|
+
conversation?: Record<string, unknown> | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
error: string;
|
|
179
|
+
success: boolean;
|
|
180
|
+
operation: "get_conversation";
|
|
181
|
+
conversation?: Record<string, unknown> | undefined;
|
|
182
|
+
}>, z.ZodObject<{
|
|
183
|
+
operation: z.ZodLiteral<"get_conversations">;
|
|
184
|
+
conversations: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
185
|
+
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
187
|
+
success: z.ZodBoolean;
|
|
188
|
+
error: z.ZodString;
|
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
|
190
|
+
error: string;
|
|
191
|
+
success: boolean;
|
|
192
|
+
operation: "get_conversations";
|
|
193
|
+
conversations?: Record<string, unknown>[] | undefined;
|
|
194
|
+
hasMore?: boolean | undefined;
|
|
195
|
+
nextCursor?: string | undefined;
|
|
196
|
+
}, {
|
|
197
|
+
error: string;
|
|
198
|
+
success: boolean;
|
|
199
|
+
operation: "get_conversations";
|
|
200
|
+
conversations?: Record<string, unknown>[] | undefined;
|
|
201
|
+
hasMore?: boolean | undefined;
|
|
202
|
+
nextCursor?: string | undefined;
|
|
203
|
+
}>]>;
|
|
204
|
+
export type ElevenLabsResult = z.output<typeof ElevenLabsResultSchema>;
|
|
205
|
+
export declare class ElevenLabsBubble extends ServiceBubble<ElevenLabsParamsParsed, ElevenLabsResult> {
|
|
206
|
+
static readonly type: "service";
|
|
207
|
+
static readonly service = "eleven-labs";
|
|
208
|
+
static readonly authType: "apikey";
|
|
209
|
+
static readonly bubbleName = "eleven-labs";
|
|
210
|
+
static readonly schema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
211
|
+
operation: z.ZodLiteral<"get_signed_url">;
|
|
212
|
+
agentId: z.ZodString;
|
|
213
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
214
|
+
}, "strip", z.ZodTypeAny, {
|
|
215
|
+
operation: "get_signed_url";
|
|
216
|
+
agentId: string;
|
|
217
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
218
|
+
}, {
|
|
219
|
+
operation: "get_signed_url";
|
|
220
|
+
agentId: string;
|
|
221
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
222
|
+
}>, z.ZodObject<{
|
|
223
|
+
operation: z.ZodLiteral<"trigger_outbound_call">;
|
|
224
|
+
agentId: z.ZodString;
|
|
225
|
+
toPhoneNumber: z.ZodString;
|
|
226
|
+
phoneNumberId: z.ZodOptional<z.ZodString>;
|
|
227
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
228
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
operation: "trigger_outbound_call";
|
|
231
|
+
agentId: string;
|
|
232
|
+
toPhoneNumber: string;
|
|
233
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
234
|
+
phoneNumberId?: string | undefined;
|
|
235
|
+
variables?: Record<string, string> | undefined;
|
|
236
|
+
}, {
|
|
237
|
+
operation: "trigger_outbound_call";
|
|
238
|
+
agentId: string;
|
|
239
|
+
toPhoneNumber: string;
|
|
240
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
241
|
+
phoneNumberId?: string | undefined;
|
|
242
|
+
variables?: Record<string, string> | undefined;
|
|
243
|
+
}>, z.ZodObject<{
|
|
244
|
+
operation: z.ZodLiteral<"get_agent">;
|
|
245
|
+
agentId: z.ZodString;
|
|
246
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
247
|
+
}, "strip", z.ZodTypeAny, {
|
|
248
|
+
operation: "get_agent";
|
|
249
|
+
agentId: string;
|
|
250
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
251
|
+
}, {
|
|
252
|
+
operation: "get_agent";
|
|
253
|
+
agentId: string;
|
|
254
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
255
|
+
}>, z.ZodObject<{
|
|
256
|
+
operation: z.ZodLiteral<"validate_webhook_signature">;
|
|
257
|
+
signature: z.ZodString;
|
|
258
|
+
timestamp: z.ZodString;
|
|
259
|
+
body: z.ZodString;
|
|
260
|
+
webhookSecret: z.ZodString;
|
|
261
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
262
|
+
}, "strip", z.ZodTypeAny, {
|
|
263
|
+
operation: "validate_webhook_signature";
|
|
264
|
+
timestamp: string;
|
|
265
|
+
body: string;
|
|
266
|
+
signature: string;
|
|
267
|
+
webhookSecret: string;
|
|
268
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
269
|
+
}, {
|
|
270
|
+
operation: "validate_webhook_signature";
|
|
271
|
+
timestamp: string;
|
|
272
|
+
body: string;
|
|
273
|
+
signature: string;
|
|
274
|
+
webhookSecret: string;
|
|
275
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
276
|
+
}>, z.ZodObject<{
|
|
277
|
+
operation: z.ZodLiteral<"get_conversation">;
|
|
278
|
+
conversationId: z.ZodString;
|
|
279
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
|
281
|
+
operation: "get_conversation";
|
|
282
|
+
conversationId: string;
|
|
283
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
operation: "get_conversation";
|
|
286
|
+
conversationId: string;
|
|
287
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
288
|
+
}>, z.ZodObject<{
|
|
289
|
+
operation: z.ZodLiteral<"get_conversations">;
|
|
290
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
291
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
292
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
293
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
294
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
operation: "get_conversations";
|
|
296
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
297
|
+
cursor?: string | undefined;
|
|
298
|
+
pageSize?: number | undefined;
|
|
299
|
+
agentId?: string | undefined;
|
|
300
|
+
}, {
|
|
301
|
+
operation: "get_conversations";
|
|
302
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
303
|
+
cursor?: string | undefined;
|
|
304
|
+
pageSize?: number | undefined;
|
|
305
|
+
agentId?: string | undefined;
|
|
306
|
+
}>]>;
|
|
307
|
+
static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
308
|
+
operation: z.ZodLiteral<"get_signed_url">;
|
|
309
|
+
signedUrl: z.ZodOptional<z.ZodString>;
|
|
310
|
+
success: z.ZodBoolean;
|
|
311
|
+
error: z.ZodString;
|
|
312
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
error: string;
|
|
314
|
+
success: boolean;
|
|
315
|
+
operation: "get_signed_url";
|
|
316
|
+
signedUrl?: string | undefined;
|
|
317
|
+
}, {
|
|
318
|
+
error: string;
|
|
319
|
+
success: boolean;
|
|
320
|
+
operation: "get_signed_url";
|
|
321
|
+
signedUrl?: string | undefined;
|
|
322
|
+
}>, z.ZodObject<{
|
|
323
|
+
operation: z.ZodLiteral<"trigger_outbound_call">;
|
|
324
|
+
callSid: z.ZodOptional<z.ZodString>;
|
|
325
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
326
|
+
success: z.ZodBoolean;
|
|
327
|
+
error: z.ZodString;
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
329
|
+
error: string;
|
|
330
|
+
success: boolean;
|
|
331
|
+
operation: "trigger_outbound_call";
|
|
332
|
+
conversationId?: string | undefined;
|
|
333
|
+
callSid?: string | undefined;
|
|
334
|
+
}, {
|
|
335
|
+
error: string;
|
|
336
|
+
success: boolean;
|
|
337
|
+
operation: "trigger_outbound_call";
|
|
338
|
+
conversationId?: string | undefined;
|
|
339
|
+
callSid?: string | undefined;
|
|
340
|
+
}>, z.ZodObject<{
|
|
341
|
+
operation: z.ZodLiteral<"get_agent">;
|
|
342
|
+
agent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
343
|
+
success: z.ZodBoolean;
|
|
344
|
+
error: z.ZodString;
|
|
345
|
+
}, "strip", z.ZodTypeAny, {
|
|
346
|
+
error: string;
|
|
347
|
+
success: boolean;
|
|
348
|
+
operation: "get_agent";
|
|
349
|
+
agent?: Record<string, unknown> | undefined;
|
|
350
|
+
}, {
|
|
351
|
+
error: string;
|
|
352
|
+
success: boolean;
|
|
353
|
+
operation: "get_agent";
|
|
354
|
+
agent?: Record<string, unknown> | undefined;
|
|
355
|
+
}>, z.ZodObject<{
|
|
356
|
+
operation: z.ZodLiteral<"validate_webhook_signature">;
|
|
357
|
+
isValid: z.ZodBoolean;
|
|
358
|
+
success: z.ZodBoolean;
|
|
359
|
+
error: z.ZodString;
|
|
360
|
+
}, "strip", z.ZodTypeAny, {
|
|
361
|
+
error: string;
|
|
362
|
+
success: boolean;
|
|
363
|
+
operation: "validate_webhook_signature";
|
|
364
|
+
isValid: boolean;
|
|
365
|
+
}, {
|
|
366
|
+
error: string;
|
|
367
|
+
success: boolean;
|
|
368
|
+
operation: "validate_webhook_signature";
|
|
369
|
+
isValid: boolean;
|
|
370
|
+
}>, z.ZodObject<{
|
|
371
|
+
operation: z.ZodLiteral<"get_conversation">;
|
|
372
|
+
conversation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
373
|
+
success: z.ZodBoolean;
|
|
374
|
+
error: z.ZodString;
|
|
375
|
+
}, "strip", z.ZodTypeAny, {
|
|
376
|
+
error: string;
|
|
377
|
+
success: boolean;
|
|
378
|
+
operation: "get_conversation";
|
|
379
|
+
conversation?: Record<string, unknown> | undefined;
|
|
380
|
+
}, {
|
|
381
|
+
error: string;
|
|
382
|
+
success: boolean;
|
|
383
|
+
operation: "get_conversation";
|
|
384
|
+
conversation?: Record<string, unknown> | undefined;
|
|
385
|
+
}>, z.ZodObject<{
|
|
386
|
+
operation: z.ZodLiteral<"get_conversations">;
|
|
387
|
+
conversations: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
388
|
+
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
389
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
390
|
+
success: z.ZodBoolean;
|
|
391
|
+
error: z.ZodString;
|
|
392
|
+
}, "strip", z.ZodTypeAny, {
|
|
393
|
+
error: string;
|
|
394
|
+
success: boolean;
|
|
395
|
+
operation: "get_conversations";
|
|
396
|
+
conversations?: Record<string, unknown>[] | undefined;
|
|
397
|
+
hasMore?: boolean | undefined;
|
|
398
|
+
nextCursor?: string | undefined;
|
|
399
|
+
}, {
|
|
400
|
+
error: string;
|
|
401
|
+
success: boolean;
|
|
402
|
+
operation: "get_conversations";
|
|
403
|
+
conversations?: Record<string, unknown>[] | undefined;
|
|
404
|
+
hasMore?: boolean | undefined;
|
|
405
|
+
nextCursor?: string | undefined;
|
|
406
|
+
}>]>;
|
|
407
|
+
static readonly shortDescription = "Eleven Labs integration for Conversational AI";
|
|
408
|
+
static readonly longDescription = "\n Integrate with Eleven Labs Conversational AI agents.\n Use cases:\n - Generate signed URLs for secure WebSocket connections to agents\n - Trigger outbound calls\n - Get agent details\n - Validate webhook signatures\n - Get conversation history\n ";
|
|
409
|
+
static readonly alias = "elevenlabs";
|
|
410
|
+
constructor(params: ElevenLabsParamsInput, context?: BubbleContext);
|
|
411
|
+
protected chooseCredential(): string | undefined;
|
|
412
|
+
performAction(context?: BubbleContext): Promise<ElevenLabsResult>;
|
|
413
|
+
testCredential(): Promise<boolean>;
|
|
414
|
+
private getSignedUrl;
|
|
415
|
+
private triggerOutboundCall;
|
|
416
|
+
private getAgent;
|
|
417
|
+
private validateWebhookSignature;
|
|
418
|
+
private getConversation;
|
|
419
|
+
private getConversations;
|
|
420
|
+
}
|
|
421
|
+
//# sourceMappingURL=eleven-labs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eleven-labs.d.ts","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/eleven-labs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CA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