@bubblelab/bubble-core 0.1.68 → 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.
Files changed (72) hide show
  1. package/dist/bubble-bundle.d.ts +85 -85
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +72 -72
  4. package/dist/bubbles/service-bubble/airtable.d.ts +156 -156
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +140 -140
  7. package/dist/bubbles/service-bubble/ashby/ashby.js +1 -1
  8. package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +32 -32
  11. package/dist/bubbles/service-bubble/eleven-labs.d.ts +60 -60
  12. package/dist/bubbles/service-bubble/firecrawl.d.ts +396 -396
  13. package/dist/bubbles/service-bubble/followupboss.d.ts +492 -492
  14. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +116 -116
  15. package/dist/bubbles/service-bubble/github.d.ts +152 -152
  16. package/dist/bubbles/service-bubble/gmail.d.ts +576 -576
  17. package/dist/bubbles/service-bubble/google-calendar.d.ts +232 -232
  18. package/dist/bubbles/service-bubble/google-drive.d.ts +422 -156
  19. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  20. package/dist/bubbles/service-bubble/google-drive.js +282 -30
  21. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  22. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +78 -78
  23. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  24. package/dist/bubbles/service-bubble/http.d.ts +20 -20
  25. package/dist/bubbles/service-bubble/insforge-db.d.ts +10 -10
  26. package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
  27. package/dist/bubbles/service-bubble/notion/notion.d.ts +624 -624
  28. package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
  29. package/dist/bubbles/service-bubble/resend.d.ts +20 -20
  30. package/dist/bubbles/service-bubble/slack/slack.d.ts +304 -304
  31. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  32. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +72 -72
  33. package/dist/bubbles/service-bubble/telegram.d.ts +938 -938
  34. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
  35. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  36. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  38. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +24 -24
  39. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  40. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  41. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +28 -28
  42. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  43. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +8 -8
  44. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -1
  45. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +8 -8
  46. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -1
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +31 -25
  48. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -1
  49. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +116 -116
  50. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +38 -38
  52. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  53. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  54. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
  55. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
  56. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +46 -46
  58. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  59. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  60. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
  62. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  63. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  64. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  65. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  66. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +90 -90
  67. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  68. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +10 -10
  69. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +50 -50
  70. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  71. package/dist/bubbles.json +290 -74
  72. package/package.json +2 -2
@@ -13,15 +13,15 @@ declare const GoogleMapsToolParamsSchema: z.ZodObject<{
13
13
  operation: "search";
14
14
  queries: string[];
15
15
  credentials?: Partial<Record<CredentialType, string>> | undefined;
16
- limit?: number | undefined;
17
16
  location?: string | undefined;
17
+ limit?: number | undefined;
18
18
  language?: string | undefined;
19
19
  }, {
20
20
  operation: "search";
21
21
  queries: string[];
22
22
  credentials?: Partial<Record<CredentialType, string>> | undefined;
23
- limit?: number | undefined;
24
23
  location?: string | undefined;
24
+ limit?: number | undefined;
25
25
  language?: string | undefined;
26
26
  }>;
27
27
  declare const GoogleMapsToolResultSchema: z.ZodObject<{
@@ -85,15 +85,15 @@ declare const GoogleMapsToolResultSchema: z.ZodObject<{
85
85
  }, "strip", z.ZodTypeAny, {
86
86
  title: string | null;
87
87
  url: string | null;
88
- phone: string | null;
89
88
  location: {
90
89
  lat: number | null;
91
90
  lng: number | null;
92
91
  } | null;
92
+ website: string | null;
93
+ phone: string | null;
93
94
  rating: number | null;
94
95
  category: string | null;
95
96
  address: string | null;
96
- website: string | null;
97
97
  placeId: string | null;
98
98
  reviewsCount: number | null;
99
99
  openingHours: {
@@ -115,15 +115,15 @@ declare const GoogleMapsToolResultSchema: z.ZodObject<{
115
115
  }, {
116
116
  title: string | null;
117
117
  url: string | null;
118
- phone: string | null;
119
118
  location: {
120
119
  lat: number | null;
121
120
  lng: number | null;
122
121
  } | null;
122
+ website: string | null;
123
+ phone: string | null;
123
124
  rating: number | null;
124
125
  category: string | null;
125
126
  address: string | null;
126
- website: string | null;
127
127
  placeId: string | null;
128
128
  reviewsCount: number | null;
129
129
  openingHours: {
@@ -147,21 +147,21 @@ declare const GoogleMapsToolResultSchema: z.ZodObject<{
147
147
  success: z.ZodBoolean;
148
148
  error: z.ZodString;
149
149
  }, "strip", z.ZodTypeAny, {
150
- error: string;
151
- success: boolean;
152
150
  operation: "search";
151
+ success: boolean;
152
+ error: string;
153
153
  places: {
154
154
  title: string | null;
155
155
  url: string | null;
156
- phone: string | null;
157
156
  location: {
158
157
  lat: number | null;
159
158
  lng: number | null;
160
159
  } | null;
160
+ website: string | null;
161
+ phone: string | null;
161
162
  rating: number | null;
162
163
  category: string | null;
163
164
  address: string | null;
164
- website: string | null;
165
165
  placeId: string | null;
166
166
  reviewsCount: number | null;
167
167
  openingHours: {
@@ -183,21 +183,21 @@ declare const GoogleMapsToolResultSchema: z.ZodObject<{
183
183
  }[];
184
184
  totalPlaces: number;
185
185
  }, {
186
- error: string;
187
- success: boolean;
188
186
  operation: "search";
187
+ success: boolean;
188
+ error: string;
189
189
  places: {
190
190
  title: string | null;
191
191
  url: string | null;
192
- phone: string | null;
193
192
  location: {
194
193
  lat: number | null;
195
194
  lng: number | null;
196
195
  } | null;
196
+ website: string | null;
197
+ phone: string | null;
197
198
  rating: number | null;
198
199
  category: string | null;
199
200
  address: string | null;
200
- website: string | null;
201
201
  placeId: string | null;
202
202
  reviewsCount: number | null;
203
203
  openingHours: {
@@ -235,15 +235,15 @@ export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, Goo
235
235
  operation: "search";
236
236
  queries: string[];
237
237
  credentials?: Partial<Record<CredentialType, string>> | undefined;
238
- limit?: number | undefined;
239
238
  location?: string | undefined;
239
+ limit?: number | undefined;
240
240
  language?: string | undefined;
241
241
  }, {
242
242
  operation: "search";
243
243
  queries: string[];
244
244
  credentials?: Partial<Record<CredentialType, string>> | undefined;
245
- limit?: number | undefined;
246
245
  location?: string | undefined;
246
+ limit?: number | undefined;
247
247
  language?: string | undefined;
248
248
  }>;
249
249
  static readonly resultSchema: z.ZodObject<{
@@ -307,15 +307,15 @@ export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, Goo
307
307
  }, "strip", z.ZodTypeAny, {
308
308
  title: string | null;
309
309
  url: string | null;
310
- phone: string | null;
311
310
  location: {
312
311
  lat: number | null;
313
312
  lng: number | null;
314
313
  } | null;
314
+ website: string | null;
315
+ phone: string | null;
315
316
  rating: number | null;
316
317
  category: string | null;
317
318
  address: string | null;
318
- website: string | null;
319
319
  placeId: string | null;
320
320
  reviewsCount: number | null;
321
321
  openingHours: {
@@ -337,15 +337,15 @@ export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, Goo
337
337
  }, {
338
338
  title: string | null;
339
339
  url: string | null;
340
- phone: string | null;
341
340
  location: {
342
341
  lat: number | null;
343
342
  lng: number | null;
344
343
  } | null;
344
+ website: string | null;
345
+ phone: string | null;
345
346
  rating: number | null;
346
347
  category: string | null;
347
348
  address: string | null;
348
- website: string | null;
349
349
  placeId: string | null;
350
350
  reviewsCount: number | null;
351
351
  openingHours: {
@@ -369,21 +369,21 @@ export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, Goo
369
369
  success: z.ZodBoolean;
370
370
  error: z.ZodString;
371
371
  }, "strip", z.ZodTypeAny, {
372
- error: string;
373
- success: boolean;
374
372
  operation: "search";
373
+ success: boolean;
374
+ error: string;
375
375
  places: {
376
376
  title: string | null;
377
377
  url: string | null;
378
- phone: string | null;
379
378
  location: {
380
379
  lat: number | null;
381
380
  lng: number | null;
382
381
  } | null;
382
+ website: string | null;
383
+ phone: string | null;
383
384
  rating: number | null;
384
385
  category: string | null;
385
386
  address: string | null;
386
- website: string | null;
387
387
  placeId: string | null;
388
388
  reviewsCount: number | null;
389
389
  openingHours: {
@@ -405,21 +405,21 @@ export declare class GoogleMapsTool extends ToolBubble<GoogleMapsToolParams, Goo
405
405
  }[];
406
406
  totalPlaces: number;
407
407
  }, {
408
- error: string;
409
- success: boolean;
410
408
  operation: "search";
409
+ success: boolean;
410
+ error: string;
411
411
  places: {
412
412
  title: string | null;
413
413
  url: string | null;
414
- phone: string | null;
415
414
  location: {
416
415
  lat: number | null;
417
416
  lng: number | null;
418
417
  } | null;
418
+ website: string | null;
419
+ phone: string | null;
419
420
  rating: number | null;
420
421
  category: string | null;
421
422
  address: string | null;
422
- website: string | null;
423
423
  placeId: string | null;
424
424
  reviewsCount: number | null;
425
425
  openingHours: {
@@ -147,9 +147,9 @@ declare const InstagramToolResultSchema: z.ZodObject<{
147
147
  success: z.ZodBoolean;
148
148
  error: z.ZodString;
149
149
  }, "strip", z.ZodTypeAny, {
150
- error: string;
151
- success: boolean;
152
150
  operation: "scrapeProfile" | "scrapeHashtag";
151
+ success: boolean;
152
+ error: string;
153
153
  posts: {
154
154
  type: "image" | "video" | "carousel" | null;
155
155
  url: string | null;
@@ -175,9 +175,9 @@ declare const InstagramToolResultSchema: z.ZodObject<{
175
175
  scrapedHashtags?: string[] | undefined;
176
176
  scrapedProfiles?: string[] | undefined;
177
177
  }, {
178
- error: string;
179
- success: boolean;
180
178
  operation: "scrapeProfile" | "scrapeHashtag";
179
+ success: boolean;
180
+ error: string;
181
181
  posts: {
182
182
  type: "image" | "video" | "carousel" | null;
183
183
  url: string | null;
@@ -312,9 +312,9 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
312
312
  success: z.ZodBoolean;
313
313
  error: z.ZodString;
314
314
  }, "strip", z.ZodTypeAny, {
315
- error: string;
316
- success: boolean;
317
315
  operation: "scrapeProfile" | "scrapeHashtag";
316
+ success: boolean;
317
+ error: string;
318
318
  posts: {
319
319
  type: "image" | "video" | "carousel" | null;
320
320
  url: string | null;
@@ -340,9 +340,9 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
340
340
  scrapedHashtags?: string[] | undefined;
341
341
  scrapedProfiles?: string[] | undefined;
342
342
  }, {
343
- error: string;
344
- success: boolean;
345
343
  operation: "scrapeProfile" | "scrapeHashtag";
344
+ success: boolean;
345
+ error: string;
346
346
  posts: {
347
347
  type: "image" | "video" | "carousel" | null;
348
348
  url: string | null;
@@ -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
- error: string;
67
- success: boolean;
68
66
  operation: "send_connection";
67
+ success: boolean;
68
+ error: string;
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
- error: string;
78
- success: boolean;
79
77
  operation: "send_connection";
78
+ success: boolean;
79
+ error: string;
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/lin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B;;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"}
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"}
@@ -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>;
@@ -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;;;;;;;;;;;;;;;EAqB7C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ7C,CAAC;AAGH,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"}
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"}
@@ -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.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
- });
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.object({
38
- operation: z.literal('send_connection'),
39
- success: z.boolean().describe('Whether the connection request was sent'),
40
- message: z.string().optional().describe('Success or status message'),
41
- profile: ProfileInfoSchema.optional().describe('Profile information of the person'),
42
- error: z.string().describe('Error message if operation failed'),
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
@@ -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;IACzD,SAAS,EAAE,CAAC;SACT,OAAO,CAAC,iBAAiB,CAAC;SAC1B,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,mEAAmE,CACpE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,CAAC;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,wFAAwF,CACzF;IACH,WAAW,EAAE,CAAC;SACX,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAChD,QAAQ,EAAE;SACV,QAAQ,CAAC,4DAA4D,CAAC;CAC1E,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;IACvC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACxE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IACpE,OAAO,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,mCAAmC,CACpC;IACD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;CAChE,CAAC,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,CA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