@bubblelab/bubble-core 0.1.155 → 0.1.157

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 (156) hide show
  1. package/dist/bubble-bundle.d.ts +198 -158
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
  6. package/dist/bubble-trigger/index.d.ts +2 -0
  7. package/dist/bubble-trigger/index.d.ts.map +1 -0
  8. package/dist/bubble-trigger/index.js +2 -0
  9. package/dist/bubble-trigger/index.js.map +1 -0
  10. package/dist/bubble-trigger/types.d.ts +87 -0
  11. package/dist/bubble-trigger/types.d.ts.map +1 -0
  12. package/dist/bubble-trigger/types.js +14 -0
  13. package/dist/bubble-trigger/types.js.map +1 -0
  14. package/dist/bubbles/service-bubble/agi-inc.d.ts +60 -60
  15. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  16. package/dist/bubbles/service-bubble/airtable.d.ts +50 -50
  17. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  18. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
  19. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +12 -12
  20. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  21. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +8 -8
  22. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
  23. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
  24. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
  25. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
  26. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  27. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +131 -131
  28. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  29. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
  30. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
  31. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +28 -28
  32. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +30 -30
  33. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
  34. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
  35. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
  36. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  37. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  38. package/dist/bubbles/service-bubble/firecrawl.d.ts +628 -628
  39. package/dist/bubbles/service-bubble/followupboss.d.ts +140 -140
  40. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
  41. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  42. package/dist/bubbles/service-bubble/github.d.ts +76 -76
  43. package/dist/bubbles/service-bubble/gmail.d.ts +80 -80
  44. package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
  45. package/dist/bubbles/service-bubble/google-drive.d.ts +60 -60
  46. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  47. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
  48. package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
  49. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
  50. package/dist/bubbles/service-bubble/google-sheets.js +904 -0
  51. package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
  52. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  53. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  54. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  55. package/dist/bubbles/service-bubble/jira/jira.d.ts +86 -86
  56. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +94 -94
  57. package/dist/bubbles/service-bubble/notion/notion.d.ts +522 -522
  58. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  59. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  60. package/dist/bubbles/service-bubble/posthog/index.d.ts +3 -0
  61. package/dist/bubbles/service-bubble/posthog/index.d.ts.map +1 -0
  62. package/dist/bubbles/service-bubble/posthog/index.js +3 -0
  63. package/dist/bubbles/service-bubble/posthog/index.js.map +1 -0
  64. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +387 -0
  65. package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -0
  66. package/dist/bubbles/service-bubble/posthog/posthog.js +291 -0
  67. package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -0
  68. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +432 -0
  69. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts.map +1 -0
  70. package/dist/bubbles/service-bubble/posthog/posthog.schema.js +298 -0
  71. package/dist/bubbles/service-bubble/posthog/posthog.schema.js.map +1 -0
  72. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  73. package/dist/bubbles/service-bubble/slack/slack.d.ts +312 -312
  74. package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
  75. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
  76. package/dist/bubbles/service-bubble/slack.js +1536 -0
  77. package/dist/bubbles/service-bubble/slack.js.map +1 -0
  78. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  79. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +125 -125
  80. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +143 -143
  81. package/dist/bubbles/service-bubble/telegram.d.ts +1537 -1537
  82. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +13 -13
  83. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +13 -13
  84. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  85. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  86. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  87. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  88. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  89. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  90. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  91. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  92. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  93. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
  94. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
  95. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
  96. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +22 -22
  97. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  98. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  99. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  100. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  101. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  102. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  103. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  104. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  105. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +160 -0
  106. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  107. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +706 -0
  108. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  109. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  110. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  111. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +50 -0
  112. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  113. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +186 -186
  114. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  115. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  116. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  117. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  118. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +14 -14
  119. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
  120. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  121. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  122. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +28 -28
  123. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  124. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
  125. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
  126. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  127. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  128. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  129. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +22 -22
  130. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  131. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
  132. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
  133. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
  134. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
  135. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  136. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +28 -28
  137. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  138. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
  139. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  140. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +34 -34
  141. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +98 -98
  142. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  143. package/dist/bubbles.json +494 -2
  144. package/dist/index.d.ts +2 -0
  145. package/dist/index.d.ts.map +1 -1
  146. package/dist/index.js +1 -0
  147. package/dist/index.js.map +1 -1
  148. package/dist/types/ai-models.d.ts +4 -0
  149. package/dist/types/ai-models.d.ts.map +1 -0
  150. package/dist/types/ai-models.js +16 -0
  151. package/dist/types/ai-models.js.map +1 -0
  152. package/dist/utils/param-helper.d.ts +2 -0
  153. package/dist/utils/param-helper.d.ts.map +1 -0
  154. package/dist/utils/param-helper.js +5 -0
  155. package/dist/utils/param-helper.js.map +1 -0
  156. package/package.json +2 -2
@@ -49,8 +49,8 @@ declare const InstagramProfileSchema: z.ZodObject<{
49
49
  postsCount: number | null;
50
50
  profilePicUrl: string | null;
51
51
  isVerified: boolean | null;
52
- bio: string | null;
53
52
  followingCount: number | null;
53
+ bio: string | null;
54
54
  }, {
55
55
  username: string;
56
56
  fullName: string | null;
@@ -58,8 +58,8 @@ declare const InstagramProfileSchema: z.ZodObject<{
58
58
  postsCount: number | null;
59
59
  profilePicUrl: string | null;
60
60
  isVerified: boolean | null;
61
- bio: string | null;
62
61
  followingCount: number | null;
62
+ bio: string | null;
63
63
  }>;
64
64
  declare const InstagramToolParamsSchema: z.ZodObject<{
65
65
  operation: z.ZodEnum<["scrapeProfile", "scrapeHashtag"]>;
@@ -129,8 +129,8 @@ declare const InstagramToolResultSchema: z.ZodObject<{
129
129
  postsCount: number | null;
130
130
  profilePicUrl: string | null;
131
131
  isVerified: boolean | null;
132
- bio: string | null;
133
132
  followingCount: number | null;
133
+ bio: string | null;
134
134
  }, {
135
135
  username: string;
136
136
  fullName: string | null;
@@ -138,8 +138,8 @@ declare const InstagramToolResultSchema: z.ZodObject<{
138
138
  postsCount: number | null;
139
139
  profilePicUrl: string | null;
140
140
  isVerified: boolean | null;
141
- bio: string | null;
142
141
  followingCount: number | null;
142
+ bio: string | null;
143
143
  }>, "many">>;
144
144
  scrapedHashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
145
145
  scrapedProfiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -147,8 +147,8 @@ declare const InstagramToolResultSchema: z.ZodObject<{
147
147
  success: z.ZodBoolean;
148
148
  error: z.ZodString;
149
149
  }, "strip", z.ZodTypeAny, {
150
- success: boolean;
151
150
  error: string;
151
+ success: boolean;
152
152
  operation: "scrapeProfile" | "scrapeHashtag";
153
153
  posts: {
154
154
  type: "image" | "video" | "carousel" | null;
@@ -169,14 +169,14 @@ declare const InstagramToolResultSchema: z.ZodObject<{
169
169
  postsCount: number | null;
170
170
  profilePicUrl: string | null;
171
171
  isVerified: boolean | null;
172
- bio: string | null;
173
172
  followingCount: number | null;
173
+ bio: string | null;
174
174
  }[] | undefined;
175
175
  scrapedHashtags?: string[] | undefined;
176
176
  scrapedProfiles?: string[] | undefined;
177
177
  }, {
178
- success: boolean;
179
178
  error: string;
179
+ success: boolean;
180
180
  operation: "scrapeProfile" | "scrapeHashtag";
181
181
  posts: {
182
182
  type: "image" | "video" | "carousel" | null;
@@ -197,8 +197,8 @@ declare const InstagramToolResultSchema: z.ZodObject<{
197
197
  postsCount: number | null;
198
198
  profilePicUrl: string | null;
199
199
  isVerified: boolean | null;
200
- bio: string | null;
201
200
  followingCount: number | null;
201
+ bio: string | null;
202
202
  }[] | undefined;
203
203
  scrapedHashtags?: string[] | undefined;
204
204
  scrapedProfiles?: string[] | undefined;
@@ -294,8 +294,8 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
294
294
  postsCount: number | null;
295
295
  profilePicUrl: string | null;
296
296
  isVerified: boolean | null;
297
- bio: string | null;
298
297
  followingCount: number | null;
298
+ bio: string | null;
299
299
  }, {
300
300
  username: string;
301
301
  fullName: string | null;
@@ -303,8 +303,8 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
303
303
  postsCount: number | null;
304
304
  profilePicUrl: string | null;
305
305
  isVerified: boolean | null;
306
- bio: string | null;
307
306
  followingCount: number | null;
307
+ bio: string | null;
308
308
  }>, "many">>;
309
309
  scrapedHashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
310
310
  scrapedProfiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -312,8 +312,8 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
312
312
  success: z.ZodBoolean;
313
313
  error: z.ZodString;
314
314
  }, "strip", z.ZodTypeAny, {
315
- success: boolean;
316
315
  error: string;
316
+ success: boolean;
317
317
  operation: "scrapeProfile" | "scrapeHashtag";
318
318
  posts: {
319
319
  type: "image" | "video" | "carousel" | null;
@@ -334,14 +334,14 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
334
334
  postsCount: number | null;
335
335
  profilePicUrl: string | null;
336
336
  isVerified: boolean | null;
337
- bio: string | null;
338
337
  followingCount: number | null;
338
+ bio: string | null;
339
339
  }[] | undefined;
340
340
  scrapedHashtags?: string[] | undefined;
341
341
  scrapedProfiles?: string[] | undefined;
342
342
  }, {
343
- success: boolean;
344
343
  error: string;
344
+ success: boolean;
345
345
  operation: "scrapeProfile" | "scrapeHashtag";
346
346
  posts: {
347
347
  type: "image" | "video" | "carousel" | null;
@@ -362,8 +362,8 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
362
362
  postsCount: number | null;
363
363
  profilePicUrl: string | null;
364
364
  isVerified: boolean | null;
365
- bio: string | null;
366
365
  followingCount: number | null;
366
+ bio: string | null;
367
367
  }[] | undefined;
368
368
  scrapedHashtags?: string[] | undefined;
369
369
  scrapedProfiles?: string[] | undefined;
@@ -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"}