@bubblelab/bubble-core 0.1.222 → 0.1.224

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/bubble-bundle.d.ts +182 -182
  2. package/dist/bubble-trigger/index.d.ts +2 -0
  3. package/dist/bubble-trigger/index.d.ts.map +1 -0
  4. package/dist/bubble-trigger/index.js +2 -0
  5. package/dist/bubble-trigger/index.js.map +1 -0
  6. package/dist/bubble-trigger/types.d.ts +87 -0
  7. package/dist/bubble-trigger/types.d.ts.map +1 -0
  8. package/dist/bubble-trigger/types.js +14 -0
  9. package/dist/bubble-trigger/types.js.map +1 -0
  10. package/dist/bubbles/service-bubble/agi-inc.d.ts +80 -80
  11. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  12. package/dist/bubbles/service-bubble/airtable.d.ts +102 -102
  13. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  14. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +6 -6
  15. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +20 -20
  16. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
  17. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +90 -90
  18. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +70 -70
  19. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +16 -16
  20. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +37 -37
  21. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +16 -16
  22. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +243 -243
  23. package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
  24. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +64 -64
  25. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +86 -86
  26. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +42 -42
  27. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +42 -42
  28. package/dist/bubbles/service-bubble/attio/attio.d.ts +34 -34
  29. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +34 -34
  30. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
  31. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +33 -33
  32. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
  33. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
  34. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
  35. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  36. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  37. package/dist/bubbles/service-bubble/firecrawl.d.ts +834 -834
  38. package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
  39. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
  40. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  41. package/dist/bubbles/service-bubble/github.d.ts +144 -144
  42. package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
  43. package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
  44. package/dist/bubbles/service-bubble/google-drive.d.ts +52 -52
  45. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  46. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
  47. package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
  48. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
  49. package/dist/bubbles/service-bubble/google-sheets.js +904 -0
  50. package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
  51. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  52. package/dist/bubbles/service-bubble/http.d.ts +18 -18
  53. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +8 -8
  54. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +8 -8
  55. package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
  56. package/dist/bubbles/service-bubble/jira/jira.d.ts +60 -60
  57. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +62 -62
  58. package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
  59. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
  60. package/dist/bubbles/service-bubble/notion/notion.d.ts +682 -682
  61. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
  62. package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
  63. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +24 -24
  64. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
  65. package/dist/bubbles/service-bubble/pylon/index.d.ts +3 -0
  66. package/dist/bubbles/service-bubble/pylon/index.d.ts.map +1 -0
  67. package/dist/bubbles/service-bubble/pylon/index.js +3 -0
  68. package/dist/bubbles/service-bubble/pylon/index.js.map +1 -0
  69. package/dist/bubbles/service-bubble/pylon/pylon.d.ts +435 -0
  70. package/dist/bubbles/service-bubble/pylon/pylon.d.ts.map +1 -0
  71. package/dist/bubbles/service-bubble/pylon/pylon.js +375 -0
  72. package/dist/bubbles/service-bubble/pylon/pylon.js.map +1 -0
  73. package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts +408 -0
  74. package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts.map +1 -0
  75. package/dist/bubbles/service-bubble/pylon/pylon.schema.js +249 -0
  76. package/dist/bubbles/service-bubble/pylon/pylon.schema.js.map +1 -0
  77. package/dist/bubbles/service-bubble/ramp/ramp.d.ts +28 -28
  78. package/dist/bubbles/service-bubble/ramp/ramp.schema.d.ts +28 -28
  79. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  80. package/dist/bubbles/service-bubble/s3/s3.d.ts +10 -10
  81. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
  82. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
  83. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
  84. package/dist/bubbles/service-bubble/slab/slab.d.ts +38 -38
  85. package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +44 -44
  86. package/dist/bubbles/service-bubble/slack/slack.d.ts +558 -558
  87. package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
  88. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
  89. package/dist/bubbles/service-bubble/slack.js +1536 -0
  90. package/dist/bubbles/service-bubble/slack.js.map +1 -0
  91. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  92. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +157 -157
  93. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +183 -183
  94. package/dist/bubbles/service-bubble/telegram.d.ts +1561 -1561
  95. package/dist/bubbles/service-bubble/xero/xero.d.ts +30 -30
  96. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +30 -30
  97. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +93 -93
  98. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +93 -93
  99. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +19 -19
  100. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +21 -21
  101. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  102. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  103. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  104. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  105. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  106. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  107. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  108. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  109. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  110. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
  111. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
  112. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  113. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +62 -62
  114. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  115. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  116. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  117. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  118. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  119. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  120. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  121. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  122. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +160 -0
  123. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  124. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +706 -0
  125. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  126. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  127. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  128. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +50 -0
  129. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  130. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +570 -570
  131. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  132. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  133. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  134. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  135. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +58 -58
  136. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +32 -32
  137. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  138. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  139. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +88 -88
  140. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  141. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +188 -188
  142. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
  143. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  144. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  145. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  146. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +26 -26
  147. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
  148. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
  149. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
  150. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
  151. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
  152. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  153. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +40 -40
  154. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  155. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
  156. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  157. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
  158. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +104 -104
  159. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  160. package/dist/bubbles.json +1 -1
  161. package/dist/types/ai-models.d.ts +4 -0
  162. package/dist/types/ai-models.d.ts.map +1 -0
  163. package/dist/types/ai-models.js +16 -0
  164. package/dist/types/ai-models.js.map +1 -0
  165. package/dist/utils/param-helper.d.ts +2 -0
  166. package/dist/utils/param-helper.d.ts.map +1 -0
  167. package/dist/utils/param-helper.js +5 -0
  168. package/dist/utils/param-helper.js.map +1 -0
  169. package/package.json +2 -2
@@ -0,0 +1,2 @@
1
+ export * from './types.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bubble-trigger/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './types.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/bubble-trigger/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -0,0 +1,87 @@
1
+ export interface BubbleTriggerEventRegistry {
2
+ 'slack/bot_mentioned': SlackMentionEvent;
3
+ 'slack/message_received': SlackMessageReceivedEvent;
4
+ 'gmail/email_received': GmailEmailEvent;
5
+ 'schedule/cron/daily': CronEvent;
6
+ 'webhook/http': WebhookEvent;
7
+ }
8
+ export declare const BUBBLE_TRIGGER_EVENTS: {
9
+ readonly 'slack/bot_mentioned': true;
10
+ readonly 'slack/message_received': true;
11
+ readonly 'gmail/email_received': true;
12
+ readonly 'schedule/cron/daily': true;
13
+ readonly 'webhook/http': true;
14
+ };
15
+ export declare function isValidBubbleTriggerEvent(eventType: string): eventType is keyof BubbleTriggerEventRegistry;
16
+ export interface BubbleTriggerEvent {
17
+ type: keyof BubbleTriggerEventRegistry;
18
+ timestamp: string;
19
+ path: string;
20
+ [key: string]: unknown;
21
+ }
22
+ export interface SlackEventWrapper {
23
+ token: string;
24
+ team_id: string;
25
+ api_app_id: string;
26
+ event: SlackAppMentionEvent | SlackMessageEvent;
27
+ type: 'event_callback';
28
+ authorizations: Array<{
29
+ enterprise_id?: string;
30
+ team_id: string;
31
+ user_id: string;
32
+ is_bot: boolean;
33
+ }>;
34
+ event_context: string;
35
+ event_id: string;
36
+ event_time: number;
37
+ }
38
+ export interface SlackAppMentionEvent {
39
+ type: 'app_mention';
40
+ user: string;
41
+ text: string;
42
+ ts: string;
43
+ channel: string;
44
+ event_ts: string;
45
+ thread_ts?: string;
46
+ }
47
+ export interface SlackMessageEvent {
48
+ type: 'message';
49
+ user: string;
50
+ text: string;
51
+ ts: string;
52
+ channel: string;
53
+ event_ts: string;
54
+ channel_type: 'channel' | 'group' | 'im' | 'mpim';
55
+ subtype?: string;
56
+ }
57
+ export interface SlackMentionEvent extends BubbleTriggerEvent {
58
+ slack_event: SlackEventWrapper;
59
+ channel: string;
60
+ user: string;
61
+ text: string;
62
+ thread_ts?: string;
63
+ }
64
+ export interface SlackMessageReceivedEvent extends BubbleTriggerEvent {
65
+ slack_event: SlackEventWrapper;
66
+ channel: string;
67
+ user: string;
68
+ text: string;
69
+ channel_type: 'channel' | 'group' | 'im' | 'mpim';
70
+ subtype?: string;
71
+ }
72
+ export interface GmailEmailEvent extends BubbleTriggerEvent {
73
+ email: string;
74
+ }
75
+ export interface CronEvent extends BubbleTriggerEvent {
76
+ cron: string;
77
+ }
78
+ export interface WebhookEvent extends BubbleTriggerEvent {
79
+ body?: Record<string, unknown>;
80
+ }
81
+ export interface BubbleTriggerOptions {
82
+ name?: string;
83
+ description?: string;
84
+ timeout?: number;
85
+ retries?: number;
86
+ }
87
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/bubble-trigger/types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,14 @@
1
+ // Runtime object that mirrors the interface keys
2
+ // This allows us to validate event types at runtime
3
+ export const BUBBLE_TRIGGER_EVENTS = {
4
+ 'slack/bot_mentioned': true,
5
+ 'slack/message_received': true,
6
+ 'gmail/email_received': true,
7
+ 'schedule/cron/daily': true,
8
+ 'webhook/http': true,
9
+ };
10
+ // Helper function to check if an event type is valid
11
+ export function isValidBubbleTriggerEvent(eventType) {
12
+ return eventType in BUBBLE_TRIGGER_EVENTS;
13
+ }
14
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/bubble-trigger/types.ts"],"names":[],"mappings":"AAQA,iDAAiD;AACjD,oDAAoD;AACpD,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,qBAAqB,EAAE,IAAI;IAC3B,wBAAwB,EAAE,IAAI;IAC9B,sBAAsB,EAAE,IAAI;IAC5B,qBAAqB,EAAE,IAAI;IAC3B,cAAc,EAAE,IAAI;CAC6C,CAAC;AAEpE,qDAAqD;AACrD,MAAM,UAAU,yBAAyB,CACvC,SAAiB;IAEjB,OAAO,SAAS,IAAI,qBAAqB,CAAC;AAC5C,CAAC"}