@bubblelab/bubble-core 0.1.263 → 0.1.266

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 (160) hide show
  1. package/dist/bubble-bundle.d.ts +128 -128
  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 +20 -20
  11. package/dist/bubbles/service-bubble/ai-agent.d.ts +92 -92
  12. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  13. package/dist/bubbles/service-bubble/ai-agent.js +9 -6
  14. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  15. package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
  16. package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +6 -6
  17. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  18. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  19. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  20. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  21. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  22. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  23. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  24. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  25. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  26. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +132 -132
  27. package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
  28. package/dist/bubbles/service-bubble/asana/asana.d.ts +1 -1
  29. package/dist/bubbles/service-bubble/asana/asana.schema.d.ts +1 -1
  30. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +16 -16
  31. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +22 -22
  32. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
  33. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
  34. package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
  35. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
  36. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
  37. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
  38. package/dist/bubbles/service-bubble/capability-pipeline.d.ts.map +1 -1
  39. package/dist/bubbles/service-bubble/capability-pipeline.js +25 -18
  40. package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
  41. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
  42. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
  43. package/dist/bubbles/service-bubble/discord/discord.d.ts +12 -12
  44. package/dist/bubbles/service-bubble/discord/discord.schema.d.ts +12 -12
  45. package/dist/bubbles/service-bubble/docusign/docusign.d.ts +1101 -0
  46. package/dist/bubbles/service-bubble/docusign/docusign.d.ts.map +1 -0
  47. package/dist/bubbles/service-bubble/docusign/docusign.js +730 -0
  48. package/dist/bubbles/service-bubble/docusign/docusign.js.map +1 -0
  49. package/dist/bubbles/service-bubble/docusign/docusign.schema.d.ts +1035 -0
  50. package/dist/bubbles/service-bubble/docusign/docusign.schema.d.ts.map +1 -0
  51. package/dist/bubbles/service-bubble/docusign/docusign.schema.js +304 -0
  52. package/dist/bubbles/service-bubble/docusign/docusign.schema.js.map +1 -0
  53. package/dist/bubbles/service-bubble/docusign/index.d.ts +4 -0
  54. package/dist/bubbles/service-bubble/docusign/index.d.ts.map +1 -0
  55. package/dist/bubbles/service-bubble/docusign/index.js +3 -0
  56. package/dist/bubbles/service-bubble/docusign/index.js.map +1 -0
  57. package/dist/bubbles/service-bubble/firecrawl.d.ts +330 -330
  58. package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
  59. package/dist/bubbles/service-bubble/github.d.ts +60 -60
  60. package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
  61. package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
  62. package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
  63. package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
  64. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
  65. package/dist/bubbles/service-bubble/google-sheets.js +904 -0
  66. package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
  67. package/dist/bubbles/service-bubble/http.d.ts +6 -6
  68. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +2 -2
  69. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +2 -2
  70. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  71. package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
  72. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
  73. package/dist/bubbles/service-bubble/looker/index.d.ts +3 -0
  74. package/dist/bubbles/service-bubble/looker/index.d.ts.map +1 -0
  75. package/dist/bubbles/service-bubble/looker/index.js +3 -0
  76. package/dist/bubbles/service-bubble/looker/index.js.map +1 -0
  77. package/dist/bubbles/service-bubble/looker/looker.d.ts +768 -0
  78. package/dist/bubbles/service-bubble/looker/looker.d.ts.map +1 -0
  79. package/dist/bubbles/service-bubble/looker/looker.js +319 -0
  80. package/dist/bubbles/service-bubble/looker/looker.js.map +1 -0
  81. package/dist/bubbles/service-bubble/looker/looker.schema.d.ts +735 -0
  82. package/dist/bubbles/service-bubble/looker/looker.schema.d.ts.map +1 -0
  83. package/dist/bubbles/service-bubble/looker/looker.schema.js +264 -0
  84. package/dist/bubbles/service-bubble/looker/looker.schema.js.map +1 -0
  85. package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
  86. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
  87. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  88. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
  89. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
  90. package/dist/bubbles/service-bubble/pylon/index.d.ts +3 -0
  91. package/dist/bubbles/service-bubble/pylon/index.d.ts.map +1 -0
  92. package/dist/bubbles/service-bubble/pylon/index.js +3 -0
  93. package/dist/bubbles/service-bubble/pylon/index.js.map +1 -0
  94. package/dist/bubbles/service-bubble/pylon/pylon.d.ts +435 -0
  95. package/dist/bubbles/service-bubble/pylon/pylon.d.ts.map +1 -0
  96. package/dist/bubbles/service-bubble/pylon/pylon.js +375 -0
  97. package/dist/bubbles/service-bubble/pylon/pylon.js.map +1 -0
  98. package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts +408 -0
  99. package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts.map +1 -0
  100. package/dist/bubbles/service-bubble/pylon/pylon.schema.js +249 -0
  101. package/dist/bubbles/service-bubble/pylon/pylon.schema.js.map +1 -0
  102. package/dist/bubbles/service-bubble/resend.d.ts +4 -4
  103. package/dist/bubbles/service-bubble/slack/slack.d.ts +392 -392
  104. package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
  105. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
  106. package/dist/bubbles/service-bubble/slack.js +1536 -0
  107. package/dist/bubbles/service-bubble/slack.js.map +1 -0
  108. package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts +4 -4
  109. package/dist/bubbles/service-bubble/snowflake/snowflake.schema.d.ts +4 -4
  110. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
  111. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
  112. package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
  113. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
  114. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +20 -20
  115. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +20 -20
  116. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
  117. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
  118. package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +8 -8
  119. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  120. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  121. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +20 -20
  122. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  123. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  124. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  125. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  126. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +160 -0
  127. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  128. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +706 -0
  129. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  130. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  131. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  132. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +50 -0
  133. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  134. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +384 -384
  135. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
  136. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  137. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  138. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  139. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  140. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
  141. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  142. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
  143. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
  144. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
  145. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
  146. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
  147. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  148. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
  149. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
  150. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +34 -34
  151. package/dist/bubbles.json +3 -3
  152. package/dist/types/ai-models.d.ts +4 -0
  153. package/dist/types/ai-models.d.ts.map +1 -0
  154. package/dist/types/ai-models.js +16 -0
  155. package/dist/types/ai-models.js.map +1 -0
  156. package/dist/utils/param-helper.d.ts +2 -0
  157. package/dist/utils/param-helper.d.ts.map +1 -0
  158. package/dist/utils/param-helper.js +5 -0
  159. package/dist/utils/param-helper.js.map +1 -0
  160. package/package.json +2 -2
@@ -135,13 +135,13 @@ declare const BubbleFlowValidationToolResultSchema: z.ZodObject<{
135
135
  hasActionCall: boolean;
136
136
  parameterCount: number;
137
137
  }[] | undefined;
138
+ bubbleCount?: number | undefined;
138
139
  variableTypes?: {
139
140
  type: string;
140
141
  name: string;
141
142
  column: number;
142
143
  line: number;
143
144
  }[] | undefined;
144
- bubbleCount?: number | undefined;
145
145
  }, {
146
146
  valid: boolean;
147
147
  error: string;
@@ -160,13 +160,13 @@ declare const BubbleFlowValidationToolResultSchema: z.ZodObject<{
160
160
  hasActionCall: boolean;
161
161
  parameterCount: number;
162
162
  }[] | undefined;
163
+ bubbleCount?: number | undefined;
163
164
  variableTypes?: {
164
165
  type: string;
165
166
  name: string;
166
167
  column: number;
167
168
  line: number;
168
169
  }[] | undefined;
169
- bubbleCount?: number | undefined;
170
170
  }>;
171
171
  /**
172
172
  * BubbleFlow Validation Tool
@@ -284,13 +284,13 @@ export declare class BubbleFlowValidationTool extends ToolBubble<BubbleFlowValid
284
284
  hasActionCall: boolean;
285
285
  parameterCount: number;
286
286
  }[] | undefined;
287
+ bubbleCount?: number | undefined;
287
288
  variableTypes?: {
288
289
  type: string;
289
290
  name: string;
290
291
  column: number;
291
292
  line: number;
292
293
  }[] | undefined;
293
- bubbleCount?: number | undefined;
294
294
  }, {
295
295
  valid: boolean;
296
296
  error: string;
@@ -309,13 +309,13 @@ export declare class BubbleFlowValidationTool extends ToolBubble<BubbleFlowValid
309
309
  hasActionCall: boolean;
310
310
  parameterCount: number;
311
311
  }[] | undefined;
312
+ bubbleCount?: number | undefined;
312
313
  variableTypes?: {
313
314
  type: string;
314
315
  name: string;
315
316
  column: number;
316
317
  line: number;
317
318
  }[] | undefined;
318
- bubbleCount?: number | undefined;
319
319
  }>;
320
320
  static readonly shortDescription = "Validates BubbleFlow TypeScript code for syntax and structure";
321
321
  static readonly longDescription = "\n A comprehensive validation tool for BubbleFlow TypeScript code.\n \n What it does:\n - Validates TypeScript syntax and compilation\n - Checks BubbleFlow class structure and requirements\n - Parses and analyzes bubble instantiations\n - Provides detailed error reporting with line numbers\n - Returns metadata about detected bubbles\n \n How it works:\n - Uses TypeScript compiler API for syntax validation\n - Validates that code extends BubbleFlow and has handle method\n - Parses bubble instantiations using AST analysis\n - Maps bubble class names to registered bubble types\n \n Use cases:\n - When an AI agent needs to validate user-provided BubbleFlow code\n - When checking code before execution or deployment\n - When providing feedback on BubbleFlow implementation\n - When analyzing bubble usage patterns in code\n ";
@@ -49,8 +49,8 @@ declare const ChartJSToolParamsSchema: z.ZodObject<{
49
49
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
50
50
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
51
51
  }, "strip", z.ZodTypeAny, {
52
- reasoning: string;
53
52
  data: Record<string, unknown>[];
53
+ reasoning: string;
54
54
  width: number;
55
55
  height: number;
56
56
  chartType: "table" | "line" | "bar" | "pie" | "doughnut" | "radar" | "scatter" | "bubble" | "polarArea";
@@ -75,8 +75,8 @@ declare const ChartJSToolParamsSchema: z.ZodObject<{
75
75
  advancedConfig?: Record<string, unknown> | undefined;
76
76
  filePath?: string | undefined;
77
77
  }, {
78
- reasoning: string;
79
78
  data: Record<string, unknown>[];
79
+ reasoning: string;
80
80
  chartType: "table" | "line" | "bar" | "pie" | "doughnut" | "radar" | "scatter" | "bubble" | "polarArea";
81
81
  options?: {
82
82
  title?: string | undefined;
@@ -263,8 +263,8 @@ export declare class ChartJSTool extends ToolBubble<ChartJSToolParams, ChartJSTo
263
263
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
264
264
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
265
265
  }, "strip", z.ZodTypeAny, {
266
- reasoning: string;
267
266
  data: Record<string, unknown>[];
267
+ reasoning: string;
268
268
  width: number;
269
269
  height: number;
270
270
  chartType: "table" | "line" | "bar" | "pie" | "doughnut" | "radar" | "scatter" | "bubble" | "polarArea";
@@ -289,8 +289,8 @@ export declare class ChartJSTool extends ToolBubble<ChartJSToolParams, ChartJSTo
289
289
  advancedConfig?: Record<string, unknown> | undefined;
290
290
  filePath?: string | undefined;
291
291
  }, {
292
- reasoning: string;
293
292
  data: Record<string, unknown>[];
293
+ reasoning: string;
294
294
  chartType: "table" | "line" | "bar" | "pie" | "doughnut" | "radar" | "scatter" | "bubble" | "polarArea";
295
295
  options?: {
296
296
  title?: string | undefined;
@@ -67,11 +67,11 @@ declare const ContactSchema: z.ZodObject<{
67
67
  title: string | null;
68
68
  name: string | null;
69
69
  summary: string | null;
70
- role: "founder" | "cxo" | "decision_maker";
70
+ role: "cxo" | "decision_maker" | "founder";
71
71
  location: string | null;
72
72
  headline: string | null;
73
- skills: string[] | null;
74
73
  linkedinUrl: string | null;
74
+ skills: string[] | null;
75
75
  education: {
76
76
  fieldOfStudy: string | null;
77
77
  instituteName: string | null;
@@ -98,11 +98,11 @@ declare const ContactSchema: z.ZodObject<{
98
98
  title: string | null;
99
99
  name: string | null;
100
100
  summary: string | null;
101
- role: "founder" | "cxo" | "decision_maker";
101
+ role: "cxo" | "decision_maker" | "founder";
102
102
  location: string | null;
103
103
  headline: string | null;
104
- skills: string[] | null;
105
104
  linkedinUrl: string | null;
105
+ skills: string[] | null;
106
106
  education: {
107
107
  fieldOfStudy: string | null;
108
108
  instituteName: string | null;
@@ -205,11 +205,11 @@ declare const CompanyEnrichmentToolResultSchema: z.ZodObject<{
205
205
  title: string | null;
206
206
  name: string | null;
207
207
  summary: string | null;
208
- role: "founder" | "cxo" | "decision_maker";
208
+ role: "cxo" | "decision_maker" | "founder";
209
209
  location: string | null;
210
210
  headline: string | null;
211
- skills: string[] | null;
212
211
  linkedinUrl: string | null;
212
+ skills: string[] | null;
213
213
  education: {
214
214
  fieldOfStudy: string | null;
215
215
  instituteName: string | null;
@@ -236,11 +236,11 @@ declare const CompanyEnrichmentToolResultSchema: z.ZodObject<{
236
236
  title: string | null;
237
237
  name: string | null;
238
238
  summary: string | null;
239
- role: "founder" | "cxo" | "decision_maker";
239
+ role: "cxo" | "decision_maker" | "founder";
240
240
  location: string | null;
241
241
  headline: string | null;
242
- skills: string[] | null;
243
242
  linkedinUrl: string | null;
243
+ skills: string[] | null;
244
244
  education: {
245
245
  fieldOfStudy: string | null;
246
246
  instituteName: string | null;
@@ -311,11 +311,11 @@ declare const CompanyEnrichmentToolResultSchema: z.ZodObject<{
311
311
  title: string | null;
312
312
  name: string | null;
313
313
  summary: string | null;
314
- role: "founder" | "cxo" | "decision_maker";
314
+ role: "cxo" | "decision_maker" | "founder";
315
315
  location: string | null;
316
316
  headline: string | null;
317
- skills: string[] | null;
318
317
  linkedinUrl: string | null;
318
+ skills: string[] | null;
319
319
  education: {
320
320
  fieldOfStudy: string | null;
321
321
  instituteName: string | null;
@@ -360,11 +360,11 @@ declare const CompanyEnrichmentToolResultSchema: z.ZodObject<{
360
360
  title: string | null;
361
361
  name: string | null;
362
362
  summary: string | null;
363
- role: "founder" | "cxo" | "decision_maker";
363
+ role: "cxo" | "decision_maker" | "founder";
364
364
  location: string | null;
365
365
  headline: string | null;
366
- skills: string[] | null;
367
366
  linkedinUrl: string | null;
367
+ skills: string[] | null;
368
368
  education: {
369
369
  fieldOfStudy: string | null;
370
370
  instituteName: string | null;
@@ -506,11 +506,11 @@ export declare class CompanyEnrichmentTool extends ToolBubble<CompanyEnrichmentT
506
506
  title: string | null;
507
507
  name: string | null;
508
508
  summary: string | null;
509
- role: "founder" | "cxo" | "decision_maker";
509
+ role: "cxo" | "decision_maker" | "founder";
510
510
  location: string | null;
511
511
  headline: string | null;
512
- skills: string[] | null;
513
512
  linkedinUrl: string | null;
513
+ skills: string[] | null;
514
514
  education: {
515
515
  fieldOfStudy: string | null;
516
516
  instituteName: string | null;
@@ -537,11 +537,11 @@ export declare class CompanyEnrichmentTool extends ToolBubble<CompanyEnrichmentT
537
537
  title: string | null;
538
538
  name: string | null;
539
539
  summary: string | null;
540
- role: "founder" | "cxo" | "decision_maker";
540
+ role: "cxo" | "decision_maker" | "founder";
541
541
  location: string | null;
542
542
  headline: string | null;
543
- skills: string[] | null;
544
543
  linkedinUrl: string | null;
544
+ skills: string[] | null;
545
545
  education: {
546
546
  fieldOfStudy: string | null;
547
547
  instituteName: string | null;
@@ -612,11 +612,11 @@ export declare class CompanyEnrichmentTool extends ToolBubble<CompanyEnrichmentT
612
612
  title: string | null;
613
613
  name: string | null;
614
614
  summary: string | null;
615
- role: "founder" | "cxo" | "decision_maker";
615
+ role: "cxo" | "decision_maker" | "founder";
616
616
  location: string | null;
617
617
  headline: string | null;
618
- skills: string[] | null;
619
618
  linkedinUrl: string | null;
619
+ skills: string[] | null;
620
620
  education: {
621
621
  fieldOfStudy: string | null;
622
622
  instituteName: string | null;
@@ -661,11 +661,11 @@ export declare class CompanyEnrichmentTool extends ToolBubble<CompanyEnrichmentT
661
661
  title: string | null;
662
662
  name: string | null;
663
663
  summary: string | null;
664
- role: "founder" | "cxo" | "decision_maker";
664
+ role: "cxo" | "decision_maker" | "founder";
665
665
  location: string | null;
666
666
  headline: string | null;
667
- skills: string[] | null;
668
667
  linkedinUrl: string | null;
668
+ skills: string[] | null;
669
669
  education: {
670
670
  fieldOfStudy: string | null;
671
671
  instituteName: string | null;
@@ -0,0 +1,3 @@
1
+ export { LinkedInConnectionTool } from './linkedin-connection-tool.js';
2
+ export { LinkedInConnectionToolParamsSchema, LinkedInConnectionToolResultSchema, ProfileInfoSchema, type LinkedInConnectionToolParams, type LinkedInConnectionToolParamsInput, type LinkedInConnectionToolResult, type ProfileInfo, } from './linkedin-connection-tool.schema.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EAClC,iBAAiB,EACjB,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,WAAW,GACjB,MAAM,sCAAsC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { LinkedInConnectionTool } from './linkedin-connection-tool.js';
2
+ export { LinkedInConnectionToolParamsSchema, LinkedInConnectionToolResultSchema, ProfileInfoSchema, } from './linkedin-connection-tool.schema.js';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EAClC,iBAAiB,GAKlB,MAAM,sCAAsC,CAAC"}
@@ -0,0 +1,160 @@
1
+ import { ToolBubble } from '../../../types/tool-bubble-class.js';
2
+ import type { BubbleContext } from '../../../types/bubble.js';
3
+ import { CredentialType, type BubbleName } from '@bubblelab/shared-schemas';
4
+ import { type LinkedInConnectionToolParamsInput, type LinkedInConnectionToolResult } from './linkedin-connection-tool.schema.js';
5
+ /**
6
+ * LinkedIn Connection Tool
7
+ *
8
+ * A tool bubble for automating LinkedIn connection requests.
9
+ * Handles both profile types:
10
+ * - Profiles with direct "Connect" button
11
+ * - Profiles where "Connect" is under the "More" dropdown
12
+ *
13
+ * Features:
14
+ * - Send connection requests to LinkedIn profiles
15
+ * - Add optional personalized notes
16
+ * - Handle various profile layouts
17
+ *
18
+ * Required Credentials:
19
+ * - LINKEDIN_CRED: Browser session credential with LinkedIn cookies
20
+ *
21
+ * Security:
22
+ * - Uses BrowserBase cloud browsers (isolated)
23
+ * - Credentials are encrypted at rest
24
+ * - Session data is not persisted beyond operation
25
+ */
26
+ export declare class LinkedInConnectionTool<T extends LinkedInConnectionToolParamsInput = LinkedInConnectionToolParamsInput> extends ToolBubble<T, LinkedInConnectionToolResult> {
27
+ static readonly bubbleName: BubbleName;
28
+ static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
29
+ operation: import("zod").ZodLiteral<"send_connection">;
30
+ profile_url: import("zod").ZodString;
31
+ message: import("zod").ZodOptional<import("zod").ZodString>;
32
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
33
+ }, "strip", import("zod").ZodTypeAny, {
34
+ operation: "send_connection";
35
+ profile_url: string;
36
+ message?: string | undefined;
37
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
38
+ }, {
39
+ operation: "send_connection";
40
+ profile_url: string;
41
+ message?: string | undefined;
42
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
43
+ }>]>;
44
+ static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
45
+ operation: import("zod").ZodLiteral<"send_connection">;
46
+ success: import("zod").ZodBoolean;
47
+ message: import("zod").ZodOptional<import("zod").ZodString>;
48
+ profile: import("zod").ZodOptional<import("zod").ZodObject<{
49
+ name: import("zod").ZodString;
50
+ headline: import("zod").ZodOptional<import("zod").ZodString>;
51
+ location: import("zod").ZodOptional<import("zod").ZodString>;
52
+ profile_url: import("zod").ZodString;
53
+ }, "strip", import("zod").ZodTypeAny, {
54
+ name: string;
55
+ profile_url: string;
56
+ location?: string | undefined;
57
+ headline?: string | undefined;
58
+ }, {
59
+ name: string;
60
+ profile_url: string;
61
+ location?: string | undefined;
62
+ headline?: string | undefined;
63
+ }>>;
64
+ error: import("zod").ZodString;
65
+ }, "strip", import("zod").ZodTypeAny, {
66
+ operation: "send_connection";
67
+ error: string;
68
+ success: boolean;
69
+ message?: string | undefined;
70
+ profile?: {
71
+ name: string;
72
+ profile_url: string;
73
+ location?: string | undefined;
74
+ headline?: string | undefined;
75
+ } | undefined;
76
+ }, {
77
+ operation: "send_connection";
78
+ error: string;
79
+ success: boolean;
80
+ message?: string | undefined;
81
+ profile?: {
82
+ name: string;
83
+ profile_url: string;
84
+ location?: string | undefined;
85
+ headline?: string | undefined;
86
+ } | undefined;
87
+ }>]>;
88
+ static readonly shortDescription = "LinkedIn connection automation - send connection requests with optional notes";
89
+ static readonly longDescription = "\n LinkedIn Connection Tool for automating connection requests.\n\n Features:\n - Send connection requests to LinkedIn profiles\n - Add optional personalized notes (up to 300 characters)\n - Handles profiles with direct Connect button\n - Handles profiles where Connect is under \"More\" dropdown\n\n Required Credentials:\n - LINKEDIN_CRED: Browser session credential (authenticate via browser session)\n\n Note: The tool operates using authenticated browser sessions to ensure security.\n ";
90
+ static readonly alias = "linkedin";
91
+ static readonly type = "tool";
92
+ private sessionId;
93
+ private contextId;
94
+ private cookies;
95
+ constructor(params?: T, context?: BubbleContext);
96
+ /**
97
+ * Choose the credential to use for LinkedIn operations
98
+ */
99
+ protected chooseCredential(): string | undefined;
100
+ /**
101
+ * Parse the LINKEDIN_CRED to extract contextId and cookies
102
+ */
103
+ private parseBrowserSessionData;
104
+ /**
105
+ * Start a browser session using BrowserBase
106
+ */
107
+ private startBrowserSession;
108
+ /**
109
+ * End the browser session
110
+ */
111
+ private endBrowserSession;
112
+ /**
113
+ * Navigate to a URL
114
+ */
115
+ private navigateTo;
116
+ /**
117
+ * Evaluate JavaScript in page
118
+ */
119
+ private evaluate;
120
+ /**
121
+ * Type text into an input field
122
+ */
123
+ private typeText;
124
+ /**
125
+ * Get current page URL
126
+ */
127
+ private getCurrentUrl;
128
+ /**
129
+ * Poll for an element using evaluate with retries
130
+ * More flexible than waitForSelector as it can use custom JS logic
131
+ */
132
+ private pollForElement;
133
+ /**
134
+ * Wait for page to be ready by checking for key LinkedIn profile elements
135
+ */
136
+ private waitForProfilePageReady;
137
+ /**
138
+ * Wait for modal/dialog to appear after clicking Connect
139
+ */
140
+ private waitForConnectionModal;
141
+ /**
142
+ * Wait for dropdown menu to appear after clicking "More"
143
+ */
144
+ private waitForDropdownMenu;
145
+ /**
146
+ * Save current DOM state to file for debugging
147
+ * Only saves when DEBUG env var is set
148
+ */
149
+ private saveDebugState;
150
+ performAction(): Promise<LinkedInConnectionToolResult>;
151
+ /**
152
+ * Send a connection request to a LinkedIn profile
153
+ */
154
+ private sendConnection;
155
+ /**
156
+ * Extract profile information from the current page
157
+ */
158
+ private extractProfileInfo;
159
+ }
160
+ //# sourceMappingURL=linkedin-connection-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkedin-connection-tool.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAM5E,OAAO,EAGL,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EAElC,MAAM,sCAAsC,CAAC;AAU9C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,sBAAsB,CACjC,CAAC,SACC,iCAAiC,GAAG,iCAAiC,CACvE,SAAQ,UAAU,CAAC,CAAC,EAAE,4BAA4B,CAAC;IACnD,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAA8B;IACpE,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;SAAsC;IAC5D,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAsC;IAClE,MAAM,CAAC,QAAQ,CAAC,gBAAgB,mFACkD;IAClF,MAAM,CAAC,QAAQ,CAAC,eAAe,6gBAa7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,cAAc;IACnC,MAAM,CAAC,QAAQ,CAAC,IAAI,UAAU;IAE9B,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,OAAO,CAA4B;gBAGzC,MAAM,GAAE,CAA0D,EAClE,OAAO,CAAC,EAAE,aAAa;IAKzB;;OAEG;IACH,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IAYhD;;OAEG;IACH,OAAO,CAAC,uBAAuB;IA8B/B;;OAEG;YACW,mBAAmB;IAuDjC;;OAEG;YACW,iBAAiB;IAgC/B;;OAEG;YACW,UAAU;IAuBxB;;OAEG;YACW,QAAQ;IAuBtB;;OAEG;YACW,QAAQ;IAqBtB;;OAEG;YACW,aAAa;IAK3B;;;OAGG;YACW,cAAc;IAkC5B;;OAEG;YACW,uBAAuB;IA4BrC;;OAEG;YACW,sBAAsB;IAoBpC;;OAEG;YACW,mBAAmB;IAgBjC;;;OAGG;YACW,cAAc;IAyBtB,aAAa,IAAI,OAAO,CAAC,4BAA4B,CAAC;IAiB5D;;OAEG;YACW,cAAc;IA4U5B;;OAEG;YACW,kBAAkB;CA4FjC"}