@bubblelab/bubble-core 0.1.278 → 0.1.280
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 +178 -157
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +3 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubble-trigger/index.d.ts +2 -0
- package/dist/bubble-trigger/index.d.ts.map +1 -0
- package/dist/bubble-trigger/index.js +2 -0
- package/dist/bubble-trigger/index.js.map +1 -0
- package/dist/bubble-trigger/types.d.ts +87 -0
- package/dist/bubble-trigger/types.d.ts.map +1 -0
- package/dist/bubble-trigger/types.js +14 -0
- package/dist/bubble-trigger/types.js.map +1 -0
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
- package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +6 -6
- 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 +132 -132
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/asana/asana.d.ts +1 -1
- package/dist/bubbles/service-bubble/asana/asana.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +20 -20
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +8 -8
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +10 -10
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/discord/discord.d.ts +12 -12
- package/dist/bubbles/service-bubble/discord/discord.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/firecrawl.d.ts +330 -330
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +60 -60
- package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
- package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
- package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
- package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
- package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets.js +904 -0
- package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
- package/dist/bubbles/service-bubble/http.d.ts +6 -6
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +2 -2
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/looker/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/looker/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/looker/index.js +3 -0
- package/dist/bubbles/service-bubble/looker/index.js.map +1 -0
- package/dist/bubbles/service-bubble/looker/looker.d.ts +768 -0
- package/dist/bubbles/service-bubble/looker/looker.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/looker/looker.js +319 -0
- package/dist/bubbles/service-bubble/looker/looker.js.map +1 -0
- package/dist/bubbles/service-bubble/looker/looker.schema.d.ts +735 -0
- package/dist/bubbles/service-bubble/looker/looker.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/looker/looker.schema.js +264 -0
- package/dist/bubbles/service-bubble/looker/looker.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/metabase/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/metabase/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/metabase/index.js +4 -0
- package/dist/bubbles/service-bubble/metabase/index.js.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.d.ts +746 -0
- package/dist/bubbles/service-bubble/metabase/metabase.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.js +221 -0
- package/dist/bubbles/service-bubble/metabase/metabase.js.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.schema.d.ts +1125 -0
- package/dist/bubbles/service-bubble/metabase/metabase.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.schema.js +222 -0
- package/dist/bubbles/service-bubble/metabase/metabase.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.utils.d.ts +15 -0
- package/dist/bubbles/service-bubble/metabase/metabase.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.utils.js +32 -0
- package/dist/bubbles/service-bubble/metabase/metabase.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/pylon/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/pylon/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/pylon/index.js +3 -0
- package/dist/bubbles/service-bubble/pylon/index.js.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.d.ts +435 -0
- package/dist/bubbles/service-bubble/pylon/pylon.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.js +375 -0
- package/dist/bubbles/service-bubble/pylon/pylon.js.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts +408 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.js +249 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/resend.d.ts +12 -12
- package/dist/bubbles/service-bubble/slack/slack.d.ts +392 -392
- package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
- package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slack.js +1536 -0
- package/dist/bubbles/service-bubble/slack.js.map +1 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts +4 -4
- package/dist/bubbles/service-bubble/snowflake/snowflake.schema.d.ts +4 -4
- package/dist/bubbles/service-bubble/sortly/sortly.d.ts +36 -36
- package/dist/bubbles/service-bubble/sortly/sortly.schema.d.ts +40 -40
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +20 -20
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +20 -20
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +8 -8
- 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/company-enrichment-tool.d.ts +20 -20
- 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 +160 -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 +706 -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 +50 -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 +384 -384
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +34 -34
- package/dist/bubbles.json +510 -2
- 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/dist/types/ai-models.d.ts +4 -0
- package/dist/types/ai-models.d.ts.map +1 -0
- package/dist/types/ai-models.js +16 -0
- package/dist/types/ai-models.js.map +1 -0
- package/dist/utils/param-helper.d.ts +2 -0
- package/dist/utils/param-helper.d.ts.map +1 -0
- package/dist/utils/param-helper.js +5 -0
- package/dist/utils/param-helper.js.map +1 -0
- package/package.json +2 -2
|
@@ -98,12 +98,12 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
98
98
|
}, "strip", import("zod").ZodTypeAny, {
|
|
99
99
|
operation: "screenshot";
|
|
100
100
|
full_page: boolean;
|
|
101
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
102
101
|
url?: string | undefined;
|
|
102
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
103
103
|
}, {
|
|
104
104
|
operation: "screenshot";
|
|
105
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
106
105
|
url?: string | undefined;
|
|
106
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
107
107
|
full_page?: boolean | undefined;
|
|
108
108
|
}>]>;
|
|
109
109
|
static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
@@ -139,15 +139,15 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
139
139
|
price: string;
|
|
140
140
|
quantity: number;
|
|
141
141
|
asin: string;
|
|
142
|
-
image?: string | undefined;
|
|
143
142
|
url?: string | undefined;
|
|
143
|
+
image?: string | undefined;
|
|
144
144
|
}, {
|
|
145
145
|
title: string;
|
|
146
146
|
price: string;
|
|
147
147
|
quantity: number;
|
|
148
148
|
asin: string;
|
|
149
|
-
image?: string | undefined;
|
|
150
149
|
url?: string | undefined;
|
|
150
|
+
image?: string | undefined;
|
|
151
151
|
}>, "many">>;
|
|
152
152
|
subtotal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
153
153
|
total_items: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -162,8 +162,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
162
162
|
price: string;
|
|
163
163
|
quantity: number;
|
|
164
164
|
asin: string;
|
|
165
|
-
image?: string | undefined;
|
|
166
165
|
url?: string | undefined;
|
|
166
|
+
image?: string | undefined;
|
|
167
167
|
}[] | undefined;
|
|
168
168
|
subtotal?: string | undefined;
|
|
169
169
|
total_items?: number | undefined;
|
|
@@ -177,8 +177,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
177
177
|
price: string;
|
|
178
178
|
quantity: number;
|
|
179
179
|
asin: string;
|
|
180
|
-
image?: string | undefined;
|
|
181
180
|
url?: string | undefined;
|
|
181
|
+
image?: string | undefined;
|
|
182
182
|
}[] | undefined;
|
|
183
183
|
subtotal?: string | undefined;
|
|
184
184
|
total_items?: number | undefined;
|
|
@@ -15,15 +15,15 @@ export declare const CartItemSchema: z.ZodObject<{
|
|
|
15
15
|
price: string;
|
|
16
16
|
quantity: number;
|
|
17
17
|
asin: string;
|
|
18
|
-
image?: string | undefined;
|
|
19
18
|
url?: string | undefined;
|
|
19
|
+
image?: string | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
title: string;
|
|
22
22
|
price: string;
|
|
23
23
|
quantity: number;
|
|
24
24
|
asin: string;
|
|
25
|
-
image?: string | undefined;
|
|
26
25
|
url?: string | undefined;
|
|
26
|
+
image?: string | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
export type CartItem = z.infer<typeof CartItemSchema>;
|
|
29
29
|
/**
|
|
@@ -98,12 +98,12 @@ export declare const AmazonShoppingToolParamsSchema: z.ZodDiscriminatedUnion<"op
|
|
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
99
|
operation: "screenshot";
|
|
100
100
|
full_page: boolean;
|
|
101
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
102
101
|
url?: string | undefined;
|
|
102
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
103
103
|
}, {
|
|
104
104
|
operation: "screenshot";
|
|
105
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
106
105
|
url?: string | undefined;
|
|
106
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
107
107
|
full_page?: boolean | undefined;
|
|
108
108
|
}>]>;
|
|
109
109
|
/**
|
|
@@ -212,15 +212,15 @@ export declare const AmazonShoppingToolResultSchema: z.ZodDiscriminatedUnion<"op
|
|
|
212
212
|
price: string;
|
|
213
213
|
quantity: number;
|
|
214
214
|
asin: string;
|
|
215
|
-
image?: string | undefined;
|
|
216
215
|
url?: string | undefined;
|
|
216
|
+
image?: string | undefined;
|
|
217
217
|
}, {
|
|
218
218
|
title: string;
|
|
219
219
|
price: string;
|
|
220
220
|
quantity: number;
|
|
221
221
|
asin: string;
|
|
222
|
-
image?: string | undefined;
|
|
223
222
|
url?: string | undefined;
|
|
223
|
+
image?: string | undefined;
|
|
224
224
|
}>, "many">>;
|
|
225
225
|
subtotal: z.ZodOptional<z.ZodString>;
|
|
226
226
|
total_items: z.ZodOptional<z.ZodNumber>;
|
|
@@ -235,8 +235,8 @@ export declare const AmazonShoppingToolResultSchema: z.ZodDiscriminatedUnion<"op
|
|
|
235
235
|
price: string;
|
|
236
236
|
quantity: number;
|
|
237
237
|
asin: string;
|
|
238
|
-
image?: string | undefined;
|
|
239
238
|
url?: string | undefined;
|
|
239
|
+
image?: string | undefined;
|
|
240
240
|
}[] | undefined;
|
|
241
241
|
subtotal?: string | undefined;
|
|
242
242
|
total_items?: number | undefined;
|
|
@@ -250,8 +250,8 @@ export declare const AmazonShoppingToolResultSchema: z.ZodDiscriminatedUnion<"op
|
|
|
250
250
|
price: string;
|
|
251
251
|
quantity: number;
|
|
252
252
|
asin: string;
|
|
253
|
-
image?: string | undefined;
|
|
254
253
|
url?: string | undefined;
|
|
254
|
+
image?: string | undefined;
|
|
255
255
|
}[] | undefined;
|
|
256
256
|
subtotal?: string | undefined;
|
|
257
257
|
total_items?: number | undefined;
|
|
@@ -50,8 +50,8 @@ declare const AppRankingsToolResultSchema: z.ZodObject<{
|
|
|
50
50
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
51
51
|
scrapedAt: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
developer: string | null;
|
|
54
53
|
store: "google" | "apple";
|
|
54
|
+
developer: string | null;
|
|
55
55
|
country: string;
|
|
56
56
|
rating: string | number | null;
|
|
57
57
|
category: string;
|
|
@@ -67,8 +67,8 @@ declare const AppRankingsToolResultSchema: z.ZodObject<{
|
|
|
67
67
|
genres: string | null;
|
|
68
68
|
releaseDate: string | null;
|
|
69
69
|
}, {
|
|
70
|
-
developer: string | null;
|
|
71
70
|
store: "google" | "apple";
|
|
71
|
+
developer: string | null;
|
|
72
72
|
country: string;
|
|
73
73
|
rating: string | number | null;
|
|
74
74
|
category: string;
|
|
@@ -92,8 +92,8 @@ declare const AppRankingsToolResultSchema: z.ZodObject<{
|
|
|
92
92
|
success: boolean;
|
|
93
93
|
operation: "rankings";
|
|
94
94
|
rankings: {
|
|
95
|
-
developer: string | null;
|
|
96
95
|
store: "google" | "apple";
|
|
96
|
+
developer: string | null;
|
|
97
97
|
country: string;
|
|
98
98
|
rating: string | number | null;
|
|
99
99
|
category: string;
|
|
@@ -115,8 +115,8 @@ declare const AppRankingsToolResultSchema: z.ZodObject<{
|
|
|
115
115
|
success: boolean;
|
|
116
116
|
operation: "rankings";
|
|
117
117
|
rankings: {
|
|
118
|
-
developer: string | null;
|
|
119
118
|
store: "google" | "apple";
|
|
119
|
+
developer: string | null;
|
|
120
120
|
country: string;
|
|
121
121
|
rating: string | number | null;
|
|
122
122
|
category: string;
|
|
@@ -187,8 +187,8 @@ export declare class AppRankingsTool extends ToolBubble<AppRankingsToolParams, A
|
|
|
187
187
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
188
188
|
scrapedAt: z.ZodString;
|
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
|
190
|
-
developer: string | null;
|
|
191
190
|
store: "google" | "apple";
|
|
191
|
+
developer: string | null;
|
|
192
192
|
country: string;
|
|
193
193
|
rating: string | number | null;
|
|
194
194
|
category: string;
|
|
@@ -204,8 +204,8 @@ export declare class AppRankingsTool extends ToolBubble<AppRankingsToolParams, A
|
|
|
204
204
|
genres: string | null;
|
|
205
205
|
releaseDate: string | null;
|
|
206
206
|
}, {
|
|
207
|
-
developer: string | null;
|
|
208
207
|
store: "google" | "apple";
|
|
208
|
+
developer: string | null;
|
|
209
209
|
country: string;
|
|
210
210
|
rating: string | number | null;
|
|
211
211
|
category: string;
|
|
@@ -229,8 +229,8 @@ export declare class AppRankingsTool extends ToolBubble<AppRankingsToolParams, A
|
|
|
229
229
|
success: boolean;
|
|
230
230
|
operation: "rankings";
|
|
231
231
|
rankings: {
|
|
232
|
-
developer: string | null;
|
|
233
232
|
store: "google" | "apple";
|
|
233
|
+
developer: string | null;
|
|
234
234
|
country: string;
|
|
235
235
|
rating: string | number | null;
|
|
236
236
|
category: string;
|
|
@@ -252,8 +252,8 @@ export declare class AppRankingsTool extends ToolBubble<AppRankingsToolParams, A
|
|
|
252
252
|
success: boolean;
|
|
253
253
|
operation: "rankings";
|
|
254
254
|
rankings: {
|
|
255
|
-
developer: string | null;
|
|
256
255
|
store: "google" | "apple";
|
|
256
|
+
developer: string | null;
|
|
257
257
|
country: string;
|
|
258
258
|
rating: string | number | null;
|
|
259
259
|
category: string;
|
|
@@ -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,12 +67,12 @@ declare const ContactSchema: z.ZodObject<{
|
|
|
67
67
|
title: string | null;
|
|
68
68
|
name: string | null;
|
|
69
69
|
summary: string | null;
|
|
70
|
-
role: "
|
|
70
|
+
role: "cxo" | "decision_maker" | "founder";
|
|
71
71
|
emails: string[] | null;
|
|
72
72
|
location: string | null;
|
|
73
73
|
headline: string | null;
|
|
74
|
-
skills: string[] | null;
|
|
75
74
|
linkedinUrl: string | null;
|
|
75
|
+
skills: string[] | null;
|
|
76
76
|
education: {
|
|
77
77
|
fieldOfStudy: string | null;
|
|
78
78
|
instituteName: string | null;
|
|
@@ -98,12 +98,12 @@ declare const ContactSchema: z.ZodObject<{
|
|
|
98
98
|
title: string | null;
|
|
99
99
|
name: string | null;
|
|
100
100
|
summary: string | null;
|
|
101
|
-
role: "
|
|
101
|
+
role: "cxo" | "decision_maker" | "founder";
|
|
102
102
|
emails: string[] | null;
|
|
103
103
|
location: string | null;
|
|
104
104
|
headline: string | null;
|
|
105
|
-
skills: string[] | null;
|
|
106
105
|
linkedinUrl: string | null;
|
|
106
|
+
skills: string[] | null;
|
|
107
107
|
education: {
|
|
108
108
|
fieldOfStudy: string | null;
|
|
109
109
|
instituteName: string | null;
|
|
@@ -205,12 +205,12 @@ declare const CompanyEnrichmentToolResultSchema: z.ZodObject<{
|
|
|
205
205
|
title: string | null;
|
|
206
206
|
name: string | null;
|
|
207
207
|
summary: string | null;
|
|
208
|
-
role: "
|
|
208
|
+
role: "cxo" | "decision_maker" | "founder";
|
|
209
209
|
emails: string[] | null;
|
|
210
210
|
location: string | null;
|
|
211
211
|
headline: string | null;
|
|
212
|
-
skills: string[] | null;
|
|
213
212
|
linkedinUrl: string | null;
|
|
213
|
+
skills: string[] | null;
|
|
214
214
|
education: {
|
|
215
215
|
fieldOfStudy: string | null;
|
|
216
216
|
instituteName: string | null;
|
|
@@ -236,12 +236,12 @@ declare const CompanyEnrichmentToolResultSchema: z.ZodObject<{
|
|
|
236
236
|
title: string | null;
|
|
237
237
|
name: string | null;
|
|
238
238
|
summary: string | null;
|
|
239
|
-
role: "
|
|
239
|
+
role: "cxo" | "decision_maker" | "founder";
|
|
240
240
|
emails: string[] | null;
|
|
241
241
|
location: string | null;
|
|
242
242
|
headline: string | null;
|
|
243
|
-
skills: string[] | null;
|
|
244
243
|
linkedinUrl: string | null;
|
|
244
|
+
skills: string[] | null;
|
|
245
245
|
education: {
|
|
246
246
|
fieldOfStudy: string | null;
|
|
247
247
|
instituteName: string | null;
|
|
@@ -311,12 +311,12 @@ declare const CompanyEnrichmentToolResultSchema: z.ZodObject<{
|
|
|
311
311
|
title: string | null;
|
|
312
312
|
name: string | null;
|
|
313
313
|
summary: string | null;
|
|
314
|
-
role: "
|
|
314
|
+
role: "cxo" | "decision_maker" | "founder";
|
|
315
315
|
emails: string[] | null;
|
|
316
316
|
location: string | null;
|
|
317
317
|
headline: string | null;
|
|
318
|
-
skills: string[] | null;
|
|
319
318
|
linkedinUrl: string | null;
|
|
319
|
+
skills: string[] | null;
|
|
320
320
|
education: {
|
|
321
321
|
fieldOfStudy: string | null;
|
|
322
322
|
instituteName: string | null;
|
|
@@ -360,12 +360,12 @@ declare const CompanyEnrichmentToolResultSchema: z.ZodObject<{
|
|
|
360
360
|
title: string | null;
|
|
361
361
|
name: string | null;
|
|
362
362
|
summary: string | null;
|
|
363
|
-
role: "
|
|
363
|
+
role: "cxo" | "decision_maker" | "founder";
|
|
364
364
|
emails: string[] | null;
|
|
365
365
|
location: string | null;
|
|
366
366
|
headline: string | null;
|
|
367
|
-
skills: string[] | null;
|
|
368
367
|
linkedinUrl: string | null;
|
|
368
|
+
skills: string[] | null;
|
|
369
369
|
education: {
|
|
370
370
|
fieldOfStudy: string | null;
|
|
371
371
|
instituteName: string | null;
|
|
@@ -506,12 +506,12 @@ export declare class CompanyEnrichmentTool extends ToolBubble<CompanyEnrichmentT
|
|
|
506
506
|
title: string | null;
|
|
507
507
|
name: string | null;
|
|
508
508
|
summary: string | null;
|
|
509
|
-
role: "
|
|
509
|
+
role: "cxo" | "decision_maker" | "founder";
|
|
510
510
|
emails: string[] | null;
|
|
511
511
|
location: string | null;
|
|
512
512
|
headline: string | null;
|
|
513
|
-
skills: string[] | null;
|
|
514
513
|
linkedinUrl: string | null;
|
|
514
|
+
skills: string[] | null;
|
|
515
515
|
education: {
|
|
516
516
|
fieldOfStudy: string | null;
|
|
517
517
|
instituteName: string | null;
|
|
@@ -537,12 +537,12 @@ export declare class CompanyEnrichmentTool extends ToolBubble<CompanyEnrichmentT
|
|
|
537
537
|
title: string | null;
|
|
538
538
|
name: string | null;
|
|
539
539
|
summary: string | null;
|
|
540
|
-
role: "
|
|
540
|
+
role: "cxo" | "decision_maker" | "founder";
|
|
541
541
|
emails: string[] | null;
|
|
542
542
|
location: string | null;
|
|
543
543
|
headline: string | null;
|
|
544
|
-
skills: string[] | null;
|
|
545
544
|
linkedinUrl: string | null;
|
|
545
|
+
skills: string[] | null;
|
|
546
546
|
education: {
|
|
547
547
|
fieldOfStudy: string | null;
|
|
548
548
|
instituteName: string | null;
|
|
@@ -612,12 +612,12 @@ export declare class CompanyEnrichmentTool extends ToolBubble<CompanyEnrichmentT
|
|
|
612
612
|
title: string | null;
|
|
613
613
|
name: string | null;
|
|
614
614
|
summary: string | null;
|
|
615
|
-
role: "
|
|
615
|
+
role: "cxo" | "decision_maker" | "founder";
|
|
616
616
|
emails: string[] | null;
|
|
617
617
|
location: string | null;
|
|
618
618
|
headline: string | null;
|
|
619
|
-
skills: string[] | null;
|
|
620
619
|
linkedinUrl: string | null;
|
|
620
|
+
skills: string[] | null;
|
|
621
621
|
education: {
|
|
622
622
|
fieldOfStudy: string | null;
|
|
623
623
|
instituteName: string | null;
|
|
@@ -661,12 +661,12 @@ export declare class CompanyEnrichmentTool extends ToolBubble<CompanyEnrichmentT
|
|
|
661
661
|
title: string | null;
|
|
662
662
|
name: string | null;
|
|
663
663
|
summary: string | null;
|
|
664
|
-
role: "
|
|
664
|
+
role: "cxo" | "decision_maker" | "founder";
|
|
665
665
|
emails: string[] | null;
|
|
666
666
|
location: string | null;
|
|
667
667
|
headline: string | null;
|
|
668
|
-
skills: string[] | null;
|
|
669
668
|
linkedinUrl: string | null;
|
|
669
|
+
skills: string[] | null;
|
|
670
670
|
education: {
|
|
671
671
|
fieldOfStudy: string | null;
|
|
672
672
|
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 @@
|
|
|
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"}
|