@bubblelab/bubble-core 0.1.40 → 0.1.41
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 +146 -125
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +132 -132
- package/dist/bubbles/service-bubble/ai-agent.d.ts +98 -98
- package/dist/bubbles/service-bubble/airtable.d.ts +122 -122
- package/dist/bubbles/service-bubble/apify/apify.d.ts +16 -16
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +148 -148
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +63 -63
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +23 -23
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +94 -94
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +126 -126
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +48 -48
- package/dist/bubbles/service-bubble/firecrawl.d.ts +480 -480
- package/dist/bubbles/service-bubble/followupboss.d.ts +256 -256
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +128 -128
- package/dist/bubbles/service-bubble/github.d.ts +124 -124
- package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
- package/dist/bubbles/service-bubble/google-calendar.d.ts +136 -136
- package/dist/bubbles/service-bubble/google-drive.d.ts +136 -136
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +62 -62
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +18 -18
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +4 -4
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +17 -17
- package/dist/bubbles/service-bubble/notion/notion.d.ts +220 -220
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +24 -24
- package/dist/bubbles/service-bubble/slack/slack.d.ts +322 -322
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/telegram.d.ts +116 -116
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +31 -31
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +7 -7
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +143 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +589 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +44 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +300 -300
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +62 -62
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +88 -88
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +82 -82
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +14 -14
- package/dist/bubbles.json +125 -40
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -13,15 +13,15 @@ declare const GoogleMapsToolParamsSchema: z.ZodObject<{
|
|
|
13
13
|
operation: "search";
|
|
14
14
|
queries: string[];
|
|
15
15
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
16
|
-
limit?: number | undefined;
|
|
17
16
|
location?: string | undefined;
|
|
17
|
+
limit?: number | undefined;
|
|
18
18
|
language?: string | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
operation: "search";
|
|
21
21
|
queries: string[];
|
|
22
22
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
23
|
-
limit?: number | undefined;
|
|
24
23
|
location?: string | undefined;
|
|
24
|
+
limit?: number | undefined;
|
|
25
25
|
language?: string | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
declare const GoogleMapsToolResultSchema: z.ZodObject<{
|
|
@@ -85,11 +85,11 @@ declare const GoogleMapsToolResultSchema: z.ZodObject<{
|
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
title: string | null;
|
|
87
87
|
url: string | null;
|
|
88
|
-
phone: string | null;
|
|
89
88
|
location: {
|
|
90
89
|
lat: number | null;
|
|
91
90
|
lng: number | null;
|
|
92
91
|
} | null;
|
|
92
|
+
phone: string | null;
|
|
93
93
|
rating: number | null;
|
|
94
94
|
category: string | null;
|
|
95
95
|
address: string | null;
|
|
@@ -115,11 +115,11 @@ declare const GoogleMapsToolResultSchema: z.ZodObject<{
|
|
|
115
115
|
}, {
|
|
116
116
|
title: string | null;
|
|
117
117
|
url: string | null;
|
|
118
|
-
phone: string | null;
|
|
119
118
|
location: {
|
|
120
119
|
lat: number | null;
|
|
121
120
|
lng: number | null;
|
|
122
121
|
} | null;
|
|
122
|
+
phone: string | null;
|
|
123
123
|
rating: number | null;
|
|
124
124
|
category: string | null;
|
|
125
125
|
address: string | null;
|
|
@@ -147,17 +147,17 @@ declare const GoogleMapsToolResultSchema: z.ZodObject<{
|
|
|
147
147
|
success: z.ZodBoolean;
|
|
148
148
|
error: z.ZodString;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
|
-
error: string;
|
|
151
|
-
success: boolean;
|
|
152
150
|
operation: "search";
|
|
151
|
+
success: boolean;
|
|
152
|
+
error: string;
|
|
153
153
|
places: {
|
|
154
154
|
title: string | null;
|
|
155
155
|
url: string | null;
|
|
156
|
-
phone: string | null;
|
|
157
156
|
location: {
|
|
158
157
|
lat: number | null;
|
|
159
158
|
lng: number | null;
|
|
160
159
|
} | null;
|
|
160
|
+
phone: string | null;
|
|
161
161
|
rating: number | null;
|
|
162
162
|
category: string | null;
|
|
163
163
|
address: string | null;
|
|
@@ -183,17 +183,17 @@ declare const GoogleMapsToolResultSchema: z.ZodObject<{
|
|
|
183
183
|
}[];
|
|
184
184
|
totalPlaces: number;
|
|
185
185
|
}, {
|
|
186
|
-
error: string;
|
|
187
|
-
success: boolean;
|
|
188
186
|
operation: "search";
|
|
187
|
+
success: boolean;
|
|
188
|
+
error: string;
|
|
189
189
|
places: {
|
|
190
190
|
title: string | null;
|
|
191
191
|
url: string | null;
|
|
192
|
-
phone: string | null;
|
|
193
192
|
location: {
|
|
194
193
|
lat: number | null;
|
|
195
194
|
lng: number | null;
|
|
196
195
|
} | null;
|
|
196
|
+
phone: string | null;
|
|
197
197
|
rating: number | null;
|
|
198
198
|
category: string | null;
|
|
199
199
|
address: string | null;
|
|
@@ -235,15 +235,15 @@ export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, Goo
|
|
|
235
235
|
operation: "search";
|
|
236
236
|
queries: string[];
|
|
237
237
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
238
|
-
limit?: number | undefined;
|
|
239
238
|
location?: string | undefined;
|
|
239
|
+
limit?: number | undefined;
|
|
240
240
|
language?: string | undefined;
|
|
241
241
|
}, {
|
|
242
242
|
operation: "search";
|
|
243
243
|
queries: string[];
|
|
244
244
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
245
|
-
limit?: number | undefined;
|
|
246
245
|
location?: string | undefined;
|
|
246
|
+
limit?: number | undefined;
|
|
247
247
|
language?: string | undefined;
|
|
248
248
|
}>;
|
|
249
249
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -307,11 +307,11 @@ export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, Goo
|
|
|
307
307
|
}, "strip", z.ZodTypeAny, {
|
|
308
308
|
title: string | null;
|
|
309
309
|
url: string | null;
|
|
310
|
-
phone: string | null;
|
|
311
310
|
location: {
|
|
312
311
|
lat: number | null;
|
|
313
312
|
lng: number | null;
|
|
314
313
|
} | null;
|
|
314
|
+
phone: string | null;
|
|
315
315
|
rating: number | null;
|
|
316
316
|
category: string | null;
|
|
317
317
|
address: string | null;
|
|
@@ -337,11 +337,11 @@ export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, Goo
|
|
|
337
337
|
}, {
|
|
338
338
|
title: string | null;
|
|
339
339
|
url: string | null;
|
|
340
|
-
phone: string | null;
|
|
341
340
|
location: {
|
|
342
341
|
lat: number | null;
|
|
343
342
|
lng: number | null;
|
|
344
343
|
} | null;
|
|
344
|
+
phone: string | null;
|
|
345
345
|
rating: number | null;
|
|
346
346
|
category: string | null;
|
|
347
347
|
address: string | null;
|
|
@@ -369,17 +369,17 @@ export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, Goo
|
|
|
369
369
|
success: z.ZodBoolean;
|
|
370
370
|
error: z.ZodString;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
error: string;
|
|
373
|
-
success: boolean;
|
|
374
372
|
operation: "search";
|
|
373
|
+
success: boolean;
|
|
374
|
+
error: string;
|
|
375
375
|
places: {
|
|
376
376
|
title: string | null;
|
|
377
377
|
url: string | null;
|
|
378
|
-
phone: string | null;
|
|
379
378
|
location: {
|
|
380
379
|
lat: number | null;
|
|
381
380
|
lng: number | null;
|
|
382
381
|
} | null;
|
|
382
|
+
phone: string | null;
|
|
383
383
|
rating: number | null;
|
|
384
384
|
category: string | null;
|
|
385
385
|
address: string | null;
|
|
@@ -405,17 +405,17 @@ export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, Goo
|
|
|
405
405
|
}[];
|
|
406
406
|
totalPlaces: number;
|
|
407
407
|
}, {
|
|
408
|
-
error: string;
|
|
409
|
-
success: boolean;
|
|
410
408
|
operation: "search";
|
|
409
|
+
success: boolean;
|
|
410
|
+
error: string;
|
|
411
411
|
places: {
|
|
412
412
|
title: string | null;
|
|
413
413
|
url: string | null;
|
|
414
|
-
phone: string | null;
|
|
415
414
|
location: {
|
|
416
415
|
lat: number | null;
|
|
417
416
|
lng: number | null;
|
|
418
417
|
} | null;
|
|
418
|
+
phone: string | null;
|
|
419
419
|
rating: number | null;
|
|
420
420
|
category: string | null;
|
|
421
421
|
address: string | null;
|
|
@@ -147,9 +147,9 @@ declare const InstagramToolResultSchema: z.ZodObject<{
|
|
|
147
147
|
success: z.ZodBoolean;
|
|
148
148
|
error: z.ZodString;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
|
-
error: string;
|
|
151
|
-
success: boolean;
|
|
152
150
|
operation: "scrapeProfile" | "scrapeHashtag";
|
|
151
|
+
success: boolean;
|
|
152
|
+
error: string;
|
|
153
153
|
posts: {
|
|
154
154
|
type: "image" | "video" | "carousel" | null;
|
|
155
155
|
url: string | null;
|
|
@@ -175,9 +175,9 @@ declare const InstagramToolResultSchema: z.ZodObject<{
|
|
|
175
175
|
scrapedHashtags?: string[] | undefined;
|
|
176
176
|
scrapedProfiles?: string[] | undefined;
|
|
177
177
|
}, {
|
|
178
|
-
error: string;
|
|
179
|
-
success: boolean;
|
|
180
178
|
operation: "scrapeProfile" | "scrapeHashtag";
|
|
179
|
+
success: boolean;
|
|
180
|
+
error: string;
|
|
181
181
|
posts: {
|
|
182
182
|
type: "image" | "video" | "carousel" | null;
|
|
183
183
|
url: string | null;
|
|
@@ -312,9 +312,9 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
|
|
|
312
312
|
success: z.ZodBoolean;
|
|
313
313
|
error: z.ZodString;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
error: string;
|
|
316
|
-
success: boolean;
|
|
317
315
|
operation: "scrapeProfile" | "scrapeHashtag";
|
|
316
|
+
success: boolean;
|
|
317
|
+
error: string;
|
|
318
318
|
posts: {
|
|
319
319
|
type: "image" | "video" | "carousel" | null;
|
|
320
320
|
url: string | null;
|
|
@@ -340,9 +340,9 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
|
|
|
340
340
|
scrapedHashtags?: string[] | undefined;
|
|
341
341
|
scrapedProfiles?: string[] | undefined;
|
|
342
342
|
}, {
|
|
343
|
-
error: string;
|
|
344
|
-
success: boolean;
|
|
345
343
|
operation: "scrapeProfile" | "scrapeHashtag";
|
|
344
|
+
success: boolean;
|
|
345
|
+
error: string;
|
|
346
346
|
posts: {
|
|
347
347
|
type: "image" | "video" | "carousel" | null;
|
|
348
348
|
url: 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 @@
|
|
|
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,143 @@
|
|
|
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").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").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
|
+
profile_url: string;
|
|
55
|
+
name: string;
|
|
56
|
+
headline?: string | undefined;
|
|
57
|
+
location?: string | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
profile_url: string;
|
|
60
|
+
name: string;
|
|
61
|
+
headline?: string | undefined;
|
|
62
|
+
location?: string | undefined;
|
|
63
|
+
}>>;
|
|
64
|
+
error: import("zod").ZodString;
|
|
65
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
66
|
+
operation: "send_connection";
|
|
67
|
+
success: boolean;
|
|
68
|
+
error: string;
|
|
69
|
+
message?: string | undefined;
|
|
70
|
+
profile?: {
|
|
71
|
+
profile_url: string;
|
|
72
|
+
name: string;
|
|
73
|
+
headline?: string | undefined;
|
|
74
|
+
location?: string | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
operation: "send_connection";
|
|
78
|
+
success: boolean;
|
|
79
|
+
error: string;
|
|
80
|
+
message?: string | undefined;
|
|
81
|
+
profile?: {
|
|
82
|
+
profile_url: string;
|
|
83
|
+
name: string;
|
|
84
|
+
headline?: string | undefined;
|
|
85
|
+
location?: 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
|
+
* Save current DOM state to file for debugging
|
|
130
|
+
* Only saves when DEBUG env var is set
|
|
131
|
+
*/
|
|
132
|
+
private saveDebugState;
|
|
133
|
+
performAction(): Promise<LinkedInConnectionToolResult>;
|
|
134
|
+
/**
|
|
135
|
+
* Send a connection request to a LinkedIn profile
|
|
136
|
+
*/
|
|
137
|
+
private sendConnection;
|
|
138
|
+
/**
|
|
139
|
+
* Extract profile information from the current page
|
|
140
|
+
*/
|
|
141
|
+
private extractProfileInfo;
|
|
142
|
+
}
|
|
143
|
+
//# 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;;;;;;;;;;;;;;;OAAsC;IAC5D,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAsC;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;IAyBtB,aAAa,IAAI,OAAO,CAAC,4BAA4B,CAAC;IAiB5D;;OAEG;YACW,cAAc;IA6R5B;;OAEG;YACW,kBAAkB;CA4FjC"}
|