@bubblelab/bubble-core 0.1.142 → 0.1.143
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 +174 -111
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +9 -1
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +120 -120
- package/dist/bubbles/service-bubble/ai-agent.d.ts +70 -70
- package/dist/bubbles/service-bubble/airtable.d.ts +170 -170
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
- package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +39 -32
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +66 -3
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +44 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +19 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +90 -90
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
- package/dist/bubbles/service-bubble/firecrawl.d.ts +316 -316
- package/dist/bubbles/service-bubble/followupboss.d.ts +148 -148
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +16 -16
- package/dist/bubbles/service-bubble/github.d.ts +88 -88
- package/dist/bubbles/service-bubble/gmail.d.ts +587 -587
- package/dist/bubbles/service-bubble/google-calendar.d.ts +28 -28
- package/dist/bubbles/service-bubble/google-drive.d.ts +98 -98
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
- package/dist/bubbles/service-bubble/http.d.ts +22 -22
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +68 -68
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/notion/notion.d.ts +348 -348
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/resend.d.ts +32 -32
- package/dist/bubbles/service-bubble/salesforce/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/salesforce/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/index.js +4 -0
- package/dist/bubbles/service-bubble/salesforce/index.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts +1331 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.js +618 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts +1445 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js +609 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts +87 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js +181 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/slack/slack.d.ts +684 -684
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +111 -111
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/telegram.d.ts +108 -108
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +126 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js +34 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts +22 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js +57 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.d.ts +5 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.js +5 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +158 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js +33 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +161 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js +310 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +165 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js +45 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +171 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js +364 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +160 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js +24 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +160 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js +334 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +152 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js +23 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +155 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js +233 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +416 -416
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +56 -56
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +128 -128
- 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 +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +34 -34
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +50 -50
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +60 -60
- package/dist/bubbles.json +668 -70
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.js","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAEpE,OAAO,EACL,iBAAiB,GAElB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EACL,yCAAyC,EACzC,yCAAyC,GAI1C,MAAM,aAAa,CAAC;AAErB,MAAM,OAAO,6BAGX,SAAQ,UAAkD;IAC1D,MAAM,CAAU,UAAU,GAAG,kCAA2C,CAAC;IACzE,MAAM,CAAU,MAAM,GAAG,yCAAyC,CAAC;IACnE,MAAM,CAAU,YAAY,GAAG,yCAAyC,CAAC;IACzE,MAAM,CAAU,gBAAgB,GAC9B,8CAA8C,CAAC;IACjD,MAAM,CAAU,eAAe,GAC7B,uJAAuJ,CAAC;IAC1J,MAAM,CAAU,KAAK,GAAG,6BAA6B,CAAC;IACtD,MAAM,CAAU,IAAI,GAAG,MAAM,CAAC;IAEtB,SAAS,GAAkB,IAAI,CAAC;IAChC,SAAS,GAAkB,IAAI,CAAC;IAChC,OAAO,GAAuB,IAAI,CAAC;IAE3C,YACE,SAAY,EAAE,SAAS,EAAE,oBAAoB,EAAO,EACpD,OAAuB;QAEvB,KAAK,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzB,CAAC;IAES,gBAAgB;QACxB,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,MAE5B,CAAC;QACF,OAAO,WAAW,EAAE,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;IACrD,CAAC;IAEO,KAAK,CAAC,uBAAu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BACL,SAAS,EAAE,oBAAoB;gBAC/B,OAAO,EAAE,IAAI;gBACb,QAAQ;gBACR,cAAc,EAAE,QAAQ,CAAC,MAAM;gBAC/B,aAAa,EAAE,OAAO;gBACtB,OAAO,EAAE,YAAY,QAAQ,CAAC,MAAM,iBAAiB,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE;gBAChG,KAAK,EAAE,EAAE;aACV,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO;gBACL,SAAS,EAAE,oBAAoB;gBAC/B,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe;aAChE,CAAC;QACJ,CAAC;gBAAS,CAAC;YACT,MAAM,IAAI,CAAC,qBAAqB,EAAE,CAAC;QACrC,CAAC;IACH,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { LinkedInConnectionTool } from './tool.js';
|
|
2
|
+
export { LinkedInConnectionToolParamsSchema, LinkedInConnectionToolResultSchema, ProfileInfoSchema, type LinkedInConnectionToolParams, type LinkedInConnectionToolParamsInput, type LinkedInConnectionToolResult, type ProfileInfo, } from './schema.js';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-connection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EAClC,iBAAiB,EACjB,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,WAAW,GACjB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-connection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EAClC,iBAAiB,GAKlB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
3
|
+
/**
|
|
4
|
+
* Profile information extracted from LinkedIn
|
|
5
|
+
*/
|
|
6
|
+
export declare const ProfileInfoSchema: z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
9
|
+
location: z.ZodOptional<z.ZodString>;
|
|
10
|
+
profile_url: z.ZodString;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
name: string;
|
|
13
|
+
profile_url: string;
|
|
14
|
+
location?: string | undefined;
|
|
15
|
+
headline?: string | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
name: string;
|
|
18
|
+
profile_url: string;
|
|
19
|
+
location?: string | undefined;
|
|
20
|
+
headline?: string | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
export type ProfileInfo = z.infer<typeof ProfileInfoSchema>;
|
|
23
|
+
/**
|
|
24
|
+
* LinkedIn Connection Tool parameters schema
|
|
25
|
+
*/
|
|
26
|
+
export declare const LinkedInConnectionToolParamsSchema: z.ZodObject<{
|
|
27
|
+
operation: z.ZodLiteral<"send_connection">;
|
|
28
|
+
profile_url: z.ZodString;
|
|
29
|
+
message: z.ZodOptional<z.ZodString>;
|
|
30
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
31
|
+
proxy: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
32
|
+
type: z.ZodLiteral<"none">;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
type: "none";
|
|
35
|
+
}, {
|
|
36
|
+
type: "none";
|
|
37
|
+
}>, z.ZodObject<{
|
|
38
|
+
type: z.ZodLiteral<"browserbase">;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
type: "browserbase";
|
|
41
|
+
}, {
|
|
42
|
+
type: "browserbase";
|
|
43
|
+
}>, z.ZodObject<{
|
|
44
|
+
type: z.ZodLiteral<"custom">;
|
|
45
|
+
proxy: z.ZodObject<{
|
|
46
|
+
id: z.ZodString;
|
|
47
|
+
server: z.ZodString;
|
|
48
|
+
username: z.ZodOptional<z.ZodString>;
|
|
49
|
+
password: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
id: string;
|
|
52
|
+
server: string;
|
|
53
|
+
password?: string | undefined;
|
|
54
|
+
username?: string | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
id: string;
|
|
57
|
+
server: string;
|
|
58
|
+
password?: string | undefined;
|
|
59
|
+
username?: string | undefined;
|
|
60
|
+
}>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
type: "custom";
|
|
63
|
+
proxy: {
|
|
64
|
+
id: string;
|
|
65
|
+
server: string;
|
|
66
|
+
password?: string | undefined;
|
|
67
|
+
username?: string | undefined;
|
|
68
|
+
};
|
|
69
|
+
}, {
|
|
70
|
+
type: "custom";
|
|
71
|
+
proxy: {
|
|
72
|
+
id: string;
|
|
73
|
+
server: string;
|
|
74
|
+
password?: string | undefined;
|
|
75
|
+
username?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
}>]>>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
operation: "send_connection";
|
|
80
|
+
profile_url: string;
|
|
81
|
+
message?: string | undefined;
|
|
82
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
83
|
+
proxy?: {
|
|
84
|
+
type: "none";
|
|
85
|
+
} | {
|
|
86
|
+
type: "browserbase";
|
|
87
|
+
} | {
|
|
88
|
+
type: "custom";
|
|
89
|
+
proxy: {
|
|
90
|
+
id: string;
|
|
91
|
+
server: string;
|
|
92
|
+
password?: string | undefined;
|
|
93
|
+
username?: string | undefined;
|
|
94
|
+
};
|
|
95
|
+
} | undefined;
|
|
96
|
+
}, {
|
|
97
|
+
operation: "send_connection";
|
|
98
|
+
profile_url: string;
|
|
99
|
+
message?: string | undefined;
|
|
100
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
101
|
+
proxy?: {
|
|
102
|
+
type: "none";
|
|
103
|
+
} | {
|
|
104
|
+
type: "browserbase";
|
|
105
|
+
} | {
|
|
106
|
+
type: "custom";
|
|
107
|
+
proxy: {
|
|
108
|
+
id: string;
|
|
109
|
+
server: string;
|
|
110
|
+
password?: string | undefined;
|
|
111
|
+
username?: string | undefined;
|
|
112
|
+
};
|
|
113
|
+
} | undefined;
|
|
114
|
+
}>;
|
|
115
|
+
/**
|
|
116
|
+
* LinkedIn Connection Tool result schema
|
|
117
|
+
*/
|
|
118
|
+
export declare const LinkedInConnectionToolResultSchema: z.ZodObject<{
|
|
119
|
+
operation: z.ZodLiteral<"send_connection">;
|
|
120
|
+
success: z.ZodBoolean;
|
|
121
|
+
message: z.ZodOptional<z.ZodString>;
|
|
122
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
123
|
+
name: z.ZodString;
|
|
124
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
125
|
+
location: z.ZodOptional<z.ZodString>;
|
|
126
|
+
profile_url: z.ZodString;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
name: string;
|
|
129
|
+
profile_url: string;
|
|
130
|
+
location?: string | undefined;
|
|
131
|
+
headline?: string | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
name: string;
|
|
134
|
+
profile_url: string;
|
|
135
|
+
location?: string | undefined;
|
|
136
|
+
headline?: string | undefined;
|
|
137
|
+
}>>;
|
|
138
|
+
error: z.ZodString;
|
|
139
|
+
}, "strip", z.ZodTypeAny, {
|
|
140
|
+
error: string;
|
|
141
|
+
success: boolean;
|
|
142
|
+
operation: "send_connection";
|
|
143
|
+
message?: string | undefined;
|
|
144
|
+
profile?: {
|
|
145
|
+
name: string;
|
|
146
|
+
profile_url: string;
|
|
147
|
+
location?: string | undefined;
|
|
148
|
+
headline?: string | undefined;
|
|
149
|
+
} | undefined;
|
|
150
|
+
}, {
|
|
151
|
+
error: string;
|
|
152
|
+
success: boolean;
|
|
153
|
+
operation: "send_connection";
|
|
154
|
+
message?: string | undefined;
|
|
155
|
+
profile?: {
|
|
156
|
+
name: string;
|
|
157
|
+
profile_url: string;
|
|
158
|
+
location?: string | undefined;
|
|
159
|
+
headline?: string | undefined;
|
|
160
|
+
} | undefined;
|
|
161
|
+
}>;
|
|
162
|
+
export type LinkedInConnectionToolParams = z.output<typeof LinkedInConnectionToolParamsSchema>;
|
|
163
|
+
export type LinkedInConnectionToolParamsInput = z.input<typeof LinkedInConnectionToolParamsSchema>;
|
|
164
|
+
export type LinkedInConnectionToolResult = z.output<typeof LinkedInConnectionToolResultSchema>;
|
|
165
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB7C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CACjD,OAAO,kCAAkC,CAC1C,CAAC;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,kCAAkC,CAC1C,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CACjD,OAAO,kCAAkC,CAC1C,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
3
|
+
import { ProxyChoiceSchema } from '../_shared/schema.js';
|
|
4
|
+
/**
|
|
5
|
+
* Profile information extracted from LinkedIn
|
|
6
|
+
*/
|
|
7
|
+
export const ProfileInfoSchema = z.object({
|
|
8
|
+
name: z.string().describe('Full name of the profile owner'),
|
|
9
|
+
headline: z.string().optional().describe('Professional headline'),
|
|
10
|
+
location: z.string().optional().describe('Location information'),
|
|
11
|
+
profile_url: z.string().describe('LinkedIn profile URL'),
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* LinkedIn Connection Tool parameters schema
|
|
15
|
+
*/
|
|
16
|
+
export const LinkedInConnectionToolParamsSchema = z.object({
|
|
17
|
+
operation: z
|
|
18
|
+
.literal('send_connection')
|
|
19
|
+
.describe('Send a connection request to a LinkedIn profile'),
|
|
20
|
+
profile_url: z
|
|
21
|
+
.string()
|
|
22
|
+
.min(1)
|
|
23
|
+
.describe('LinkedIn profile URL (e.g., https://www.linkedin.com/in/username)'),
|
|
24
|
+
message: z
|
|
25
|
+
.string()
|
|
26
|
+
.max(300)
|
|
27
|
+
.optional()
|
|
28
|
+
.describe('Optional personalized note to include with the connection request (max 300 characters)'),
|
|
29
|
+
credentials: z
|
|
30
|
+
.record(z.nativeEnum(CredentialType), z.string())
|
|
31
|
+
.optional()
|
|
32
|
+
.describe('Required: LINKEDIN_CRED for authenticated LinkedIn session'),
|
|
33
|
+
proxy: ProxyChoiceSchema.optional().describe('Proxy configuration: none (direct connection), browserbase (residential), or custom proxy'),
|
|
34
|
+
});
|
|
35
|
+
/**
|
|
36
|
+
* LinkedIn Connection Tool result schema
|
|
37
|
+
*/
|
|
38
|
+
export const LinkedInConnectionToolResultSchema = z.object({
|
|
39
|
+
operation: z.literal('send_connection'),
|
|
40
|
+
success: z.boolean().describe('Whether the connection request was sent'),
|
|
41
|
+
message: z.string().optional().describe('Success or status message'),
|
|
42
|
+
profile: ProfileInfoSchema.optional().describe('Profile information of the person'),
|
|
43
|
+
error: z.string().describe('Error message if operation failed'),
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IAC3D,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;IACjE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;I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+1,171 @@
|
|
|
1
|
+
import { ToolBubble } from '../../../../types/tool-bubble-class.js';
|
|
2
|
+
import type { BubbleContext } from '../../../../types/bubble.js';
|
|
3
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
4
|
+
import { type LinkedInConnectionToolParamsInput, type LinkedInConnectionToolResult } from './schema.js';
|
|
5
|
+
/**
|
|
6
|
+
* Recordable LinkedIn Connection Tool
|
|
7
|
+
*
|
|
8
|
+
* A tool bubble for automating LinkedIn connection requests with step recording.
|
|
9
|
+
* Each major action is decorated with @RecordableStep to capture before/after
|
|
10
|
+
* screenshots, URLs, and timing information.
|
|
11
|
+
*/
|
|
12
|
+
export declare class LinkedInConnectionTool<T extends LinkedInConnectionToolParamsInput = LinkedInConnectionToolParamsInput> extends ToolBubble<T, LinkedInConnectionToolResult> {
|
|
13
|
+
static readonly bubbleName: "linkedin-connection-tool";
|
|
14
|
+
static readonly schema: import("zod").ZodObject<{
|
|
15
|
+
operation: import("zod").ZodLiteral<"send_connection">;
|
|
16
|
+
profile_url: import("zod").ZodString;
|
|
17
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
19
|
+
proxy: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
|
|
20
|
+
type: import("zod").ZodLiteral<"none">;
|
|
21
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
22
|
+
type: "none";
|
|
23
|
+
}, {
|
|
24
|
+
type: "none";
|
|
25
|
+
}>, import("zod").ZodObject<{
|
|
26
|
+
type: import("zod").ZodLiteral<"browserbase">;
|
|
27
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
28
|
+
type: "browserbase";
|
|
29
|
+
}, {
|
|
30
|
+
type: "browserbase";
|
|
31
|
+
}>, import("zod").ZodObject<{
|
|
32
|
+
type: import("zod").ZodLiteral<"custom">;
|
|
33
|
+
proxy: import("zod").ZodObject<{
|
|
34
|
+
id: import("zod").ZodString;
|
|
35
|
+
server: import("zod").ZodString;
|
|
36
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
39
|
+
id: string;
|
|
40
|
+
server: string;
|
|
41
|
+
password?: string | undefined;
|
|
42
|
+
username?: string | undefined;
|
|
43
|
+
}, {
|
|
44
|
+
id: string;
|
|
45
|
+
server: string;
|
|
46
|
+
password?: string | undefined;
|
|
47
|
+
username?: string | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
50
|
+
type: "custom";
|
|
51
|
+
proxy: {
|
|
52
|
+
id: string;
|
|
53
|
+
server: string;
|
|
54
|
+
password?: string | undefined;
|
|
55
|
+
username?: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
}, {
|
|
58
|
+
type: "custom";
|
|
59
|
+
proxy: {
|
|
60
|
+
id: string;
|
|
61
|
+
server: string;
|
|
62
|
+
password?: string | undefined;
|
|
63
|
+
username?: string | undefined;
|
|
64
|
+
};
|
|
65
|
+
}>]>>;
|
|
66
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
67
|
+
operation: "send_connection";
|
|
68
|
+
profile_url: string;
|
|
69
|
+
message?: string | undefined;
|
|
70
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
71
|
+
proxy?: {
|
|
72
|
+
type: "none";
|
|
73
|
+
} | {
|
|
74
|
+
type: "browserbase";
|
|
75
|
+
} | {
|
|
76
|
+
type: "custom";
|
|
77
|
+
proxy: {
|
|
78
|
+
id: string;
|
|
79
|
+
server: string;
|
|
80
|
+
password?: string | undefined;
|
|
81
|
+
username?: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
} | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
operation: "send_connection";
|
|
86
|
+
profile_url: string;
|
|
87
|
+
message?: string | undefined;
|
|
88
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
89
|
+
proxy?: {
|
|
90
|
+
type: "none";
|
|
91
|
+
} | {
|
|
92
|
+
type: "browserbase";
|
|
93
|
+
} | {
|
|
94
|
+
type: "custom";
|
|
95
|
+
proxy: {
|
|
96
|
+
id: string;
|
|
97
|
+
server: string;
|
|
98
|
+
password?: string | undefined;
|
|
99
|
+
username?: string | undefined;
|
|
100
|
+
};
|
|
101
|
+
} | undefined;
|
|
102
|
+
}>;
|
|
103
|
+
static readonly resultSchema: import("zod").ZodObject<{
|
|
104
|
+
operation: import("zod").ZodLiteral<"send_connection">;
|
|
105
|
+
success: import("zod").ZodBoolean;
|
|
106
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
107
|
+
profile: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
108
|
+
name: import("zod").ZodString;
|
|
109
|
+
headline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
110
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
111
|
+
profile_url: import("zod").ZodString;
|
|
112
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
113
|
+
name: string;
|
|
114
|
+
profile_url: string;
|
|
115
|
+
location?: string | undefined;
|
|
116
|
+
headline?: string | undefined;
|
|
117
|
+
}, {
|
|
118
|
+
name: string;
|
|
119
|
+
profile_url: string;
|
|
120
|
+
location?: string | undefined;
|
|
121
|
+
headline?: string | undefined;
|
|
122
|
+
}>>;
|
|
123
|
+
error: import("zod").ZodString;
|
|
124
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
125
|
+
operation: "send_connection";
|
|
126
|
+
error: string;
|
|
127
|
+
success: boolean;
|
|
128
|
+
message?: string | undefined;
|
|
129
|
+
profile?: {
|
|
130
|
+
name: string;
|
|
131
|
+
profile_url: string;
|
|
132
|
+
location?: string | undefined;
|
|
133
|
+
headline?: string | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
}, {
|
|
136
|
+
operation: "send_connection";
|
|
137
|
+
error: string;
|
|
138
|
+
success: boolean;
|
|
139
|
+
message?: string | undefined;
|
|
140
|
+
profile?: {
|
|
141
|
+
name: string;
|
|
142
|
+
profile_url: string;
|
|
143
|
+
location?: string | undefined;
|
|
144
|
+
headline?: string | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
}>;
|
|
147
|
+
static readonly shortDescription = "LinkedIn connection automation with step recording";
|
|
148
|
+
static readonly longDescription = "\n Recordable LinkedIn Connection Tool for automating connection requests.\n Records each step with screenshots and timing information for debugging.\n ";
|
|
149
|
+
static readonly alias = "linkedin-recordable";
|
|
150
|
+
static readonly type = "tool";
|
|
151
|
+
private sessionId;
|
|
152
|
+
private contextId;
|
|
153
|
+
private cookies;
|
|
154
|
+
constructor(params?: T, context?: BubbleContext);
|
|
155
|
+
/** Required by RecordableToolBubble - returns the active browser session ID */
|
|
156
|
+
protected chooseCredential(): string | undefined;
|
|
157
|
+
private parseBrowserSessionData;
|
|
158
|
+
private stepStartBrowserSession;
|
|
159
|
+
private stepNavigateToProfile;
|
|
160
|
+
private stepWaitForProfilePage;
|
|
161
|
+
private stepExtractProfileInfo;
|
|
162
|
+
private stepClickConnect;
|
|
163
|
+
private stepWaitForModal;
|
|
164
|
+
private stepAddNote;
|
|
165
|
+
private stepSendRequest;
|
|
166
|
+
private stepEndBrowserSession;
|
|
167
|
+
private evaluate;
|
|
168
|
+
private detectIPAddress;
|
|
169
|
+
performAction(): Promise<LinkedInConnectionToolResult>;
|
|
170
|
+
}
|
|
171
|
+
//# sourceMappingURL=tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAA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