@bubblelab/bubble-core 0.1.67 → 0.1.69
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 +95 -95
- package/dist/bubbles/service-bubble/agi-inc.d.ts +96 -96
- package/dist/bubbles/service-bubble/ai-agent.d.ts +56 -56
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +4 -3
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +138 -138
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
- package/dist/bubbles/service-bubble/ashby/ashby.js +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +27 -27
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +65 -65
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +36 -36
- package/dist/bubbles/service-bubble/firecrawl.d.ts +716 -716
- package/dist/bubbles/service-bubble/followupboss.d.ts +393 -393
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +120 -120
- package/dist/bubbles/service-bubble/github.d.ts +216 -216
- package/dist/bubbles/service-bubble/gmail.d.ts +584 -584
- package/dist/bubbles/service-bubble/google-calendar.d.ts +38 -38
- package/dist/bubbles/service-bubble/google-drive.d.ts +342 -76
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +282 -30
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +56 -56
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +20 -20
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +42 -42
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1298 -1298
- package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/slack/slack.d.ts +484 -484
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +98 -98
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +4 -4
- package/dist/bubbles/service-bubble/telegram.d.ts +1290 -1290
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +15 -15
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +78 -78
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +31 -25
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +148 -148
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +142 -142
- package/dist/bubbles/tool-bubble/reddit-scrape-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 +24 -24
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +92 -92
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +36 -36
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +66 -66
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +76 -76
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +290 -74
- package/package.json +2 -2
|
@@ -49,8 +49,8 @@ declare const InstagramProfileSchema: z.ZodObject<{
|
|
|
49
49
|
postsCount: number | null;
|
|
50
50
|
profilePicUrl: string | null;
|
|
51
51
|
isVerified: boolean | null;
|
|
52
|
-
bio: string | null;
|
|
53
52
|
followingCount: number | null;
|
|
53
|
+
bio: string | null;
|
|
54
54
|
}, {
|
|
55
55
|
username: string;
|
|
56
56
|
fullName: string | null;
|
|
@@ -58,8 +58,8 @@ declare const InstagramProfileSchema: z.ZodObject<{
|
|
|
58
58
|
postsCount: number | null;
|
|
59
59
|
profilePicUrl: string | null;
|
|
60
60
|
isVerified: boolean | null;
|
|
61
|
-
bio: string | null;
|
|
62
61
|
followingCount: number | null;
|
|
62
|
+
bio: string | null;
|
|
63
63
|
}>;
|
|
64
64
|
declare const InstagramToolParamsSchema: z.ZodObject<{
|
|
65
65
|
operation: z.ZodEnum<["scrapeProfile", "scrapeHashtag"]>;
|
|
@@ -129,8 +129,8 @@ declare const InstagramToolResultSchema: z.ZodObject<{
|
|
|
129
129
|
postsCount: number | null;
|
|
130
130
|
profilePicUrl: string | null;
|
|
131
131
|
isVerified: boolean | null;
|
|
132
|
-
bio: string | null;
|
|
133
132
|
followingCount: number | null;
|
|
133
|
+
bio: string | null;
|
|
134
134
|
}, {
|
|
135
135
|
username: string;
|
|
136
136
|
fullName: string | null;
|
|
@@ -138,8 +138,8 @@ declare const InstagramToolResultSchema: z.ZodObject<{
|
|
|
138
138
|
postsCount: number | null;
|
|
139
139
|
profilePicUrl: string | null;
|
|
140
140
|
isVerified: boolean | null;
|
|
141
|
-
bio: string | null;
|
|
142
141
|
followingCount: number | null;
|
|
142
|
+
bio: string | null;
|
|
143
143
|
}>, "many">>;
|
|
144
144
|
scrapedHashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
145
145
|
scrapedProfiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -147,9 +147,9 @@ declare const InstagramToolResultSchema: z.ZodObject<{
|
|
|
147
147
|
success: z.ZodBoolean;
|
|
148
148
|
error: z.ZodString;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
|
+
operation: "scrapeProfile" | "scrapeHashtag";
|
|
150
151
|
success: boolean;
|
|
151
152
|
error: string;
|
|
152
|
-
operation: "scrapeProfile" | "scrapeHashtag";
|
|
153
153
|
posts: {
|
|
154
154
|
type: "image" | "video" | "carousel" | null;
|
|
155
155
|
url: string | null;
|
|
@@ -169,15 +169,15 @@ declare const InstagramToolResultSchema: z.ZodObject<{
|
|
|
169
169
|
postsCount: number | null;
|
|
170
170
|
profilePicUrl: string | null;
|
|
171
171
|
isVerified: boolean | null;
|
|
172
|
-
bio: string | null;
|
|
173
172
|
followingCount: number | null;
|
|
173
|
+
bio: string | null;
|
|
174
174
|
}[] | undefined;
|
|
175
175
|
scrapedHashtags?: string[] | undefined;
|
|
176
176
|
scrapedProfiles?: string[] | undefined;
|
|
177
177
|
}, {
|
|
178
|
+
operation: "scrapeProfile" | "scrapeHashtag";
|
|
178
179
|
success: boolean;
|
|
179
180
|
error: string;
|
|
180
|
-
operation: "scrapeProfile" | "scrapeHashtag";
|
|
181
181
|
posts: {
|
|
182
182
|
type: "image" | "video" | "carousel" | null;
|
|
183
183
|
url: string | null;
|
|
@@ -197,8 +197,8 @@ declare const InstagramToolResultSchema: z.ZodObject<{
|
|
|
197
197
|
postsCount: number | null;
|
|
198
198
|
profilePicUrl: string | null;
|
|
199
199
|
isVerified: boolean | null;
|
|
200
|
-
bio: string | null;
|
|
201
200
|
followingCount: number | null;
|
|
201
|
+
bio: string | null;
|
|
202
202
|
}[] | undefined;
|
|
203
203
|
scrapedHashtags?: string[] | undefined;
|
|
204
204
|
scrapedProfiles?: string[] | undefined;
|
|
@@ -294,8 +294,8 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
|
|
|
294
294
|
postsCount: number | null;
|
|
295
295
|
profilePicUrl: string | null;
|
|
296
296
|
isVerified: boolean | null;
|
|
297
|
-
bio: string | null;
|
|
298
297
|
followingCount: number | null;
|
|
298
|
+
bio: string | null;
|
|
299
299
|
}, {
|
|
300
300
|
username: string;
|
|
301
301
|
fullName: string | null;
|
|
@@ -303,8 +303,8 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
|
|
|
303
303
|
postsCount: number | null;
|
|
304
304
|
profilePicUrl: string | null;
|
|
305
305
|
isVerified: boolean | null;
|
|
306
|
-
bio: string | null;
|
|
307
306
|
followingCount: number | null;
|
|
307
|
+
bio: string | null;
|
|
308
308
|
}>, "many">>;
|
|
309
309
|
scrapedHashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
310
310
|
scrapedProfiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -312,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
|
+
operation: "scrapeProfile" | "scrapeHashtag";
|
|
315
316
|
success: boolean;
|
|
316
317
|
error: string;
|
|
317
|
-
operation: "scrapeProfile" | "scrapeHashtag";
|
|
318
318
|
posts: {
|
|
319
319
|
type: "image" | "video" | "carousel" | null;
|
|
320
320
|
url: string | null;
|
|
@@ -334,15 +334,15 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
|
|
|
334
334
|
postsCount: number | null;
|
|
335
335
|
profilePicUrl: string | null;
|
|
336
336
|
isVerified: boolean | null;
|
|
337
|
-
bio: string | null;
|
|
338
337
|
followingCount: number | null;
|
|
338
|
+
bio: string | null;
|
|
339
339
|
}[] | undefined;
|
|
340
340
|
scrapedHashtags?: string[] | undefined;
|
|
341
341
|
scrapedProfiles?: string[] | undefined;
|
|
342
342
|
}, {
|
|
343
|
+
operation: "scrapeProfile" | "scrapeHashtag";
|
|
343
344
|
success: boolean;
|
|
344
345
|
error: string;
|
|
345
|
-
operation: "scrapeProfile" | "scrapeHashtag";
|
|
346
346
|
posts: {
|
|
347
347
|
type: "image" | "video" | "carousel" | null;
|
|
348
348
|
url: string | null;
|
|
@@ -362,8 +362,8 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
|
|
|
362
362
|
postsCount: number | null;
|
|
363
363
|
profilePicUrl: string | null;
|
|
364
364
|
isVerified: boolean | null;
|
|
365
|
-
bio: string | null;
|
|
366
365
|
followingCount: number | null;
|
|
366
|
+
bio: string | null;
|
|
367
367
|
}[] | undefined;
|
|
368
368
|
scrapedHashtags?: string[] | undefined;
|
|
369
369
|
scrapedProfiles?: string[] | undefined;
|
|
@@ -25,7 +25,7 @@ import { type LinkedInConnectionToolParamsInput, type LinkedInConnectionToolResu
|
|
|
25
25
|
*/
|
|
26
26
|
export declare class LinkedInConnectionTool<T extends LinkedInConnectionToolParamsInput = LinkedInConnectionToolParamsInput> extends ToolBubble<T, LinkedInConnectionToolResult> {
|
|
27
27
|
static readonly bubbleName: BubbleName;
|
|
28
|
-
static readonly schema: import("zod").ZodObject<{
|
|
28
|
+
static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
29
29
|
operation: import("zod").ZodLiteral<"send_connection">;
|
|
30
30
|
profile_url: import("zod").ZodString;
|
|
31
31
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -40,8 +40,8 @@ export declare class LinkedInConnectionTool<T extends LinkedInConnectionToolPara
|
|
|
40
40
|
profile_url: string;
|
|
41
41
|
message?: string | undefined;
|
|
42
42
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
43
|
-
}>;
|
|
44
|
-
static readonly resultSchema: import("zod").ZodObject<{
|
|
43
|
+
}>]>;
|
|
44
|
+
static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
45
45
|
operation: import("zod").ZodLiteral<"send_connection">;
|
|
46
46
|
success: import("zod").ZodBoolean;
|
|
47
47
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -63,9 +63,9 @@ export declare class LinkedInConnectionTool<T extends LinkedInConnectionToolPara
|
|
|
63
63
|
}>>;
|
|
64
64
|
error: import("zod").ZodString;
|
|
65
65
|
}, "strip", import("zod").ZodTypeAny, {
|
|
66
|
+
operation: "send_connection";
|
|
66
67
|
success: boolean;
|
|
67
68
|
error: string;
|
|
68
|
-
operation: "send_connection";
|
|
69
69
|
message?: string | undefined;
|
|
70
70
|
profile?: {
|
|
71
71
|
name: string;
|
|
@@ -74,9 +74,9 @@ export declare class LinkedInConnectionTool<T extends LinkedInConnectionToolPara
|
|
|
74
74
|
headline?: string | undefined;
|
|
75
75
|
} | undefined;
|
|
76
76
|
}, {
|
|
77
|
+
operation: "send_connection";
|
|
77
78
|
success: boolean;
|
|
78
79
|
error: string;
|
|
79
|
-
operation: "send_connection";
|
|
80
80
|
message?: string | undefined;
|
|
81
81
|
profile?: {
|
|
82
82
|
name: string;
|
|
@@ -84,7 +84,7 @@ export declare class LinkedInConnectionTool<T extends LinkedInConnectionToolPara
|
|
|
84
84
|
location?: string | undefined;
|
|
85
85
|
headline?: string | undefined;
|
|
86
86
|
} | undefined;
|
|
87
|
-
}>;
|
|
87
|
+
}>]>;
|
|
88
88
|
static readonly shortDescription = "LinkedIn connection automation - send connection requests with optional notes";
|
|
89
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
90
|
static readonly alias = "linkedin";
|
|
@@ -1 +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;;;;;;;;;;;;;;;
|
|
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"}
|
package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export type ProfileInfo = z.infer<typeof ProfileInfoSchema>;
|
|
|
24
24
|
* LinkedIn Connection Tool parameters schema
|
|
25
25
|
* Tool for sending connection requests on LinkedIn
|
|
26
26
|
*/
|
|
27
|
-
export declare const LinkedInConnectionToolParamsSchema: z.ZodObject<{
|
|
27
|
+
export declare const LinkedInConnectionToolParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
28
28
|
operation: z.ZodLiteral<"send_connection">;
|
|
29
29
|
profile_url: z.ZodString;
|
|
30
30
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -39,11 +39,11 @@ export declare const LinkedInConnectionToolParamsSchema: z.ZodObject<{
|
|
|
39
39
|
profile_url: string;
|
|
40
40
|
message?: string | undefined;
|
|
41
41
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
42
|
-
}>;
|
|
42
|
+
}>]>;
|
|
43
43
|
/**
|
|
44
44
|
* LinkedIn Connection Tool result schema
|
|
45
45
|
*/
|
|
46
|
-
export declare const LinkedInConnectionToolResultSchema: z.ZodObject<{
|
|
46
|
+
export declare const LinkedInConnectionToolResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
47
47
|
operation: z.ZodLiteral<"send_connection">;
|
|
48
48
|
success: z.ZodBoolean;
|
|
49
49
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -65,9 +65,9 @@ export declare const LinkedInConnectionToolResultSchema: z.ZodObject<{
|
|
|
65
65
|
}>>;
|
|
66
66
|
error: z.ZodString;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
error: string;
|
|
69
|
-
success: boolean;
|
|
70
68
|
operation: "send_connection";
|
|
69
|
+
success: boolean;
|
|
70
|
+
error: string;
|
|
71
71
|
message?: string | undefined;
|
|
72
72
|
profile?: {
|
|
73
73
|
name: string;
|
|
@@ -76,9 +76,9 @@ export declare const LinkedInConnectionToolResultSchema: z.ZodObject<{
|
|
|
76
76
|
headline?: string | undefined;
|
|
77
77
|
} | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
error: string;
|
|
80
|
-
success: boolean;
|
|
81
79
|
operation: "send_connection";
|
|
80
|
+
success: boolean;
|
|
81
|
+
error: string;
|
|
82
82
|
message?: string | undefined;
|
|
83
83
|
profile?: {
|
|
84
84
|
name: string;
|
|
@@ -86,7 +86,7 @@ export declare const LinkedInConnectionToolResultSchema: z.ZodObject<{
|
|
|
86
86
|
location?: string | undefined;
|
|
87
87
|
headline?: string | undefined;
|
|
88
88
|
} | undefined;
|
|
89
|
-
}>;
|
|
89
|
+
}>]>;
|
|
90
90
|
export type LinkedInConnectionToolParams = z.output<typeof LinkedInConnectionToolParamsSchema>;
|
|
91
91
|
export type LinkedInConnectionToolParamsInput = z.input<typeof LinkedInConnectionToolParamsSchema>;
|
|
92
92
|
export type LinkedInConnectionToolResult = z.output<typeof LinkedInConnectionToolResultSchema>;
|
package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkedin-connection-tool.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"linkedin-connection-tool.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;IA2B9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAc9C,CAAC;AAGF,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"}
|
package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js
CHANGED
|
@@ -13,32 +13,38 @@ export const ProfileInfoSchema = z.object({
|
|
|
13
13
|
* LinkedIn Connection Tool parameters schema
|
|
14
14
|
* Tool for sending connection requests on LinkedIn
|
|
15
15
|
*/
|
|
16
|
-
export const LinkedInConnectionToolParamsSchema = z.
|
|
17
|
-
operation
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
16
|
+
export const LinkedInConnectionToolParamsSchema = z.discriminatedUnion('operation', [
|
|
17
|
+
// Send connection request operation
|
|
18
|
+
z.object({
|
|
19
|
+
operation: z
|
|
20
|
+
.literal('send_connection')
|
|
21
|
+
.describe('Send a connection request to a LinkedIn profile'),
|
|
22
|
+
profile_url: z
|
|
23
|
+
.string()
|
|
24
|
+
.min(1)
|
|
25
|
+
.describe('LinkedIn profile URL (e.g., https://www.linkedin.com/in/username)'),
|
|
26
|
+
message: z
|
|
27
|
+
.string()
|
|
28
|
+
.max(300)
|
|
29
|
+
.optional()
|
|
30
|
+
.describe('Optional personalized note to include with the connection request (max 300 characters)'),
|
|
31
|
+
credentials: z
|
|
32
|
+
.record(z.nativeEnum(CredentialType), z.string())
|
|
33
|
+
.optional()
|
|
34
|
+
.describe('Required: LINKEDIN_CRED for authenticated LinkedIn session'),
|
|
35
|
+
}),
|
|
36
|
+
]);
|
|
34
37
|
/**
|
|
35
38
|
* LinkedIn Connection Tool result schema
|
|
36
39
|
*/
|
|
37
|
-
export const LinkedInConnectionToolResultSchema = z.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
export const LinkedInConnectionToolResultSchema = z.discriminatedUnion('operation', [
|
|
41
|
+
// Send connection result
|
|
42
|
+
z.object({
|
|
43
|
+
operation: z.literal('send_connection'),
|
|
44
|
+
success: z.boolean().describe('Whether the connection request was sent'),
|
|
45
|
+
message: z.string().optional().describe('Success or status message'),
|
|
46
|
+
profile: ProfileInfoSchema.optional().describe('Profile information of the person'),
|
|
47
|
+
error: z.string().describe('Error message if operation failed'),
|
|
48
|
+
}),
|
|
49
|
+
]);
|
|
44
50
|
//# sourceMappingURL=linkedin-connection-tool.schema.js.map
|
package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkedin-connection-tool.schema.js","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D;;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;IAChE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CACzD,CAAC,CAAC;AAIH;;;GAGG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"linkedin-connection-tool.schema.js","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D;;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;IAChE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CACzD,CAAC,CAAC;AAIH;;;GAGG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,kBAAkB,CACpE,WAAW,EACX;IACE,oCAAoC;IACpC,CAAC,CAAC,MAAM,CAAC;QACP,SAAS,EAAE,CAAC;aACT,OAAO,CAAC,iBAAiB,CAAC;aAC1B,QAAQ,CAAC,iDAAiD,CAAC;QAC9D,WAAW,EAAE,CAAC;aACX,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CACP,mEAAmE,CACpE;QACH,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,GAAG,CAAC,GAAG,CAAC;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,wFAAwF,CACzF;QACH,WAAW,EAAE,CAAC;aACX,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;aAChD,QAAQ,EAAE;aACV,QAAQ,CAAC,4DAA4D,CAAC;KAC1E,CAAC;CACH,CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,kBAAkB,CACpE,WAAW,EACX;IACE,yBAAyB;IACzB,CAAC,CAAC,MAAM,CAAC;QACP,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;QACvC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;QACxE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;QACpE,OAAO,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,mCAAmC,CACpC;QACD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;KAChE,CAAC;CACH,CACF,CAAC"}
|