@bubblelab/bubble-core 0.1.40 → 0.1.42

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 (89) hide show
  1. package/dist/bubble-bundle.d.ts +147 -126
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +88 -88
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +40 -40
  7. package/dist/bubbles/service-bubble/airtable.d.ts +130 -130
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +8 -8
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +98 -98
  10. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
  11. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +26 -26
  12. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +23 -23
  13. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +52 -52
  14. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +126 -126
  15. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  16. package/dist/bubbles/service-bubble/firecrawl.d.ts +755 -755
  17. package/dist/bubbles/service-bubble/followupboss.d.ts +140 -140
  18. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +56 -56
  19. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +128 -128
  20. package/dist/bubbles/service-bubble/github.d.ts +160 -160
  21. package/dist/bubbles/service-bubble/gmail.d.ts +140 -140
  22. package/dist/bubbles/service-bubble/google-calendar.d.ts +218 -218
  23. package/dist/bubbles/service-bubble/google-drive.d.ts +84 -84
  24. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
  25. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +18 -18
  26. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  27. package/dist/bubbles/service-bubble/http.d.ts +8 -8
  28. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  29. package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
  30. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +17 -17
  31. package/dist/bubbles/service-bubble/notion/notion.d.ts +1634 -1634
  32. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  33. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  34. package/dist/bubbles/service-bubble/slack/slack.d.ts +332 -332
  35. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  36. package/dist/bubbles/service-bubble/telegram.d.ts +1562 -1562
  37. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +12 -12
  38. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +7 -7
  39. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
  40. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +20 -20
  41. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
  42. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +70 -70
  43. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  45. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  46. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  48. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  49. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  50. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  51. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +143 -0
  52. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  53. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +589 -0
  54. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  55. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  56. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  57. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +44 -0
  58. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  59. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +40 -40
  60. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +124 -112
  62. package/dist/bubbles/tool-bubble/people-search-tool.d.ts.map +1 -1
  63. package/dist/bubbles/tool-bubble/people-search-tool.js +11 -1
  64. package/dist/bubbles/tool-bubble/people-search-tool.js.map +1 -1
  65. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
  66. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +14 -14
  67. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  68. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
  69. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
  71. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
  72. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  73. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  74. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  75. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  76. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  77. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +38 -38
  78. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +18 -18
  79. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +104 -104
  80. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +36 -36
  81. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +38 -38
  82. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +96 -96
  83. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +18 -18
  84. package/dist/bubbles.json +135 -42
  85. package/dist/index.d.ts +1 -0
  86. package/dist/index.d.ts.map +1 -1
  87. package/dist/index.js +1 -0
  88. package/dist/index.js.map +1 -1
  89. package/package.json +2 -2
@@ -0,0 +1,143 @@
1
+ import { ToolBubble } from '../../../types/tool-bubble-class.js';
2
+ import type { BubbleContext } from '../../../types/bubble.js';
3
+ import { CredentialType, type BubbleName } from '@bubblelab/shared-schemas';
4
+ import { type LinkedInConnectionToolParamsInput, type LinkedInConnectionToolResult } from './linkedin-connection-tool.schema.js';
5
+ /**
6
+ * LinkedIn Connection Tool
7
+ *
8
+ * A tool bubble for automating LinkedIn connection requests.
9
+ * Handles both profile types:
10
+ * - Profiles with direct "Connect" button
11
+ * - Profiles where "Connect" is under the "More" dropdown
12
+ *
13
+ * Features:
14
+ * - Send connection requests to LinkedIn profiles
15
+ * - Add optional personalized notes
16
+ * - Handle various profile layouts
17
+ *
18
+ * Required Credentials:
19
+ * - LINKEDIN_CRED: Browser session credential with LinkedIn cookies
20
+ *
21
+ * Security:
22
+ * - Uses BrowserBase cloud browsers (isolated)
23
+ * - Credentials are encrypted at rest
24
+ * - Session data is not persisted beyond operation
25
+ */
26
+ export declare class LinkedInConnectionTool<T extends LinkedInConnectionToolParamsInput = LinkedInConnectionToolParamsInput> extends ToolBubble<T, LinkedInConnectionToolResult> {
27
+ static readonly bubbleName: BubbleName;
28
+ static readonly schema: import("zod").ZodObject<{
29
+ operation: import("zod").ZodLiteral<"send_connection">;
30
+ profile_url: import("zod").ZodString;
31
+ message: import("zod").ZodOptional<import("zod").ZodString>;
32
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
33
+ }, "strip", import("zod").ZodTypeAny, {
34
+ operation: "send_connection";
35
+ profile_url: string;
36
+ message?: string | undefined;
37
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
38
+ }, {
39
+ operation: "send_connection";
40
+ profile_url: string;
41
+ message?: string | undefined;
42
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
43
+ }>;
44
+ static readonly resultSchema: import("zod").ZodObject<{
45
+ operation: import("zod").ZodLiteral<"send_connection">;
46
+ success: import("zod").ZodBoolean;
47
+ message: import("zod").ZodOptional<import("zod").ZodString>;
48
+ profile: import("zod").ZodOptional<import("zod").ZodObject<{
49
+ name: import("zod").ZodString;
50
+ headline: import("zod").ZodOptional<import("zod").ZodString>;
51
+ location: import("zod").ZodOptional<import("zod").ZodString>;
52
+ profile_url: import("zod").ZodString;
53
+ }, "strip", import("zod").ZodTypeAny, {
54
+ 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
+ success: boolean;
67
+ error: string;
68
+ operation: "send_connection";
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
+ success: boolean;
78
+ error: string;
79
+ operation: "send_connection";
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
+ * Save current DOM state to file for debugging
130
+ * Only saves when DEBUG env var is set
131
+ */
132
+ private saveDebugState;
133
+ performAction(): Promise<LinkedInConnectionToolResult>;
134
+ /**
135
+ * Send a connection request to a LinkedIn profile
136
+ */
137
+ private sendConnection;
138
+ /**
139
+ * Extract profile information from the current page
140
+ */
141
+ private extractProfileInfo;
142
+ }
143
+ //# sourceMappingURL=linkedin-connection-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkedin-connection-tool.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE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