@bubblelab/bubble-core 0.1.142 → 0.1.143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/dist/bubble-bundle.d.ts +174 -111
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +9 -1
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +120 -120
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +70 -70
  7. package/dist/bubbles/service-bubble/airtable.d.ts +170 -170
  8. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  9. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  10. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  11. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  12. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  14. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  15. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  16. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  17. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
  18. package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
  19. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
  20. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
  21. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +39 -32
  22. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
  23. package/dist/bubbles/service-bubble/browserbase/browserbase.js +66 -3
  24. package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
  25. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +44 -1
  26. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -1
  27. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +19 -0
  28. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -1
  29. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
  30. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +90 -90
  31. package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
  32. package/dist/bubbles/service-bubble/firecrawl.d.ts +316 -316
  33. package/dist/bubbles/service-bubble/followupboss.d.ts +148 -148
  34. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +16 -16
  35. package/dist/bubbles/service-bubble/github.d.ts +88 -88
  36. package/dist/bubbles/service-bubble/gmail.d.ts +587 -587
  37. package/dist/bubbles/service-bubble/google-calendar.d.ts +28 -28
  38. package/dist/bubbles/service-bubble/google-drive.d.ts +98 -98
  39. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
  40. package/dist/bubbles/service-bubble/http.d.ts +22 -22
  41. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  42. package/dist/bubbles/service-bubble/jira/jira.d.ts +68 -68
  43. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
  44. package/dist/bubbles/service-bubble/notion/notion.d.ts +348 -348
  45. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  46. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  47. package/dist/bubbles/service-bubble/resend.d.ts +32 -32
  48. package/dist/bubbles/service-bubble/salesforce/index.d.ts +4 -0
  49. package/dist/bubbles/service-bubble/salesforce/index.d.ts.map +1 -0
  50. package/dist/bubbles/service-bubble/salesforce/index.js +4 -0
  51. package/dist/bubbles/service-bubble/salesforce/index.js.map +1 -0
  52. package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts +1331 -0
  53. package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts.map +1 -0
  54. package/dist/bubbles/service-bubble/salesforce/salesforce.js +618 -0
  55. package/dist/bubbles/service-bubble/salesforce/salesforce.js.map +1 -0
  56. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts +1445 -0
  57. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts.map +1 -0
  58. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js +609 -0
  59. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js.map +1 -0
  60. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts +87 -0
  61. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts.map +1 -0
  62. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js +181 -0
  63. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js.map +1 -0
  64. package/dist/bubbles/service-bubble/slack/slack.d.ts +684 -684
  65. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  66. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +111 -111
  67. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
  68. package/dist/bubbles/service-bubble/telegram.d.ts +108 -108
  69. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +16 -16
  70. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
  71. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +126 -0
  72. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts.map +1 -0
  73. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js +34 -0
  74. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js.map +1 -0
  75. package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts +22 -0
  76. package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts.map +1 -0
  77. package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js +57 -0
  78. package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js.map +1 -0
  79. package/dist/bubbles/tool-bubble/browser-tools/index.d.ts +5 -0
  80. package/dist/bubbles/tool-bubble/browser-tools/index.d.ts.map +1 -0
  81. package/dist/bubbles/tool-bubble/browser-tools/index.js +5 -0
  82. package/dist/bubbles/tool-bubble/browser-tools/index.js.map +1 -0
  83. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.d.ts +3 -0
  84. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.d.ts.map +1 -0
  85. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.js +3 -0
  86. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.js.map +1 -0
  87. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +158 -0
  88. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts.map +1 -0
  89. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js +33 -0
  90. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js.map +1 -0
  91. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +161 -0
  92. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts.map +1 -0
  93. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js +310 -0
  94. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js.map +1 -0
  95. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts +3 -0
  96. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts.map +1 -0
  97. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js +3 -0
  98. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js.map +1 -0
  99. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +165 -0
  100. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts.map +1 -0
  101. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js +45 -0
  102. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js.map +1 -0
  103. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +171 -0
  104. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts.map +1 -0
  105. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js +364 -0
  106. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js.map +1 -0
  107. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.d.ts +3 -0
  108. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.d.ts.map +1 -0
  109. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.js +3 -0
  110. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.js.map +1 -0
  111. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +160 -0
  112. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts.map +1 -0
  113. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js +24 -0
  114. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js.map +1 -0
  115. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +160 -0
  116. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts.map +1 -0
  117. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js +334 -0
  118. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js.map +1 -0
  119. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.d.ts +3 -0
  120. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.d.ts.map +1 -0
  121. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.js +3 -0
  122. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.js.map +1 -0
  123. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +152 -0
  124. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts.map +1 -0
  125. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js +23 -0
  126. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js.map +1 -0
  127. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +155 -0
  128. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts.map +1 -0
  129. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js +233 -0
  130. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js.map +1 -0
  131. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
  132. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
  133. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  134. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
  135. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +416 -416
  136. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
  137. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +10 -10
  138. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  139. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +56 -56
  140. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +128 -128
  141. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  142. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  143. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  144. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +2 -2
  145. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  146. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +34 -34
  147. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  148. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +50 -50
  149. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  150. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +60 -60
  151. package/dist/bubbles.json +668 -70
  152. package/dist/index.d.ts +4 -1
  153. package/dist/index.d.ts.map +1 -1
  154. package/dist/index.js +4 -1
  155. package/dist/index.js.map +1 -1
  156. package/package.json +2 -2
@@ -0,0 +1,152 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ export declare const SentInvitationInfoSchema: z.ZodObject<{
4
+ name: z.ZodString;
5
+ headline: z.ZodOptional<z.ZodString>;
6
+ sent_date: z.ZodString;
7
+ profile_url: z.ZodOptional<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ name: string;
10
+ sent_date: string;
11
+ headline?: string | undefined;
12
+ profile_url?: string | undefined;
13
+ }, {
14
+ name: string;
15
+ sent_date: string;
16
+ headline?: string | undefined;
17
+ profile_url?: string | undefined;
18
+ }>;
19
+ export type SentInvitationInfo = z.infer<typeof SentInvitationInfoSchema>;
20
+ export declare const LinkedInSentInvitationsToolParamsSchema: z.ZodObject<{
21
+ operation: z.ZodLiteral<"get_sent_invitations">;
22
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
23
+ proxy: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
24
+ type: z.ZodLiteral<"none">;
25
+ }, "strip", z.ZodTypeAny, {
26
+ type: "none";
27
+ }, {
28
+ type: "none";
29
+ }>, z.ZodObject<{
30
+ type: z.ZodLiteral<"browserbase">;
31
+ }, "strip", z.ZodTypeAny, {
32
+ type: "browserbase";
33
+ }, {
34
+ type: "browserbase";
35
+ }>, z.ZodObject<{
36
+ type: z.ZodLiteral<"custom">;
37
+ proxy: z.ZodObject<{
38
+ id: z.ZodString;
39
+ server: z.ZodString;
40
+ username: z.ZodOptional<z.ZodString>;
41
+ password: z.ZodOptional<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ id: string;
44
+ server: string;
45
+ password?: string | undefined;
46
+ username?: string | undefined;
47
+ }, {
48
+ id: string;
49
+ server: string;
50
+ password?: string | undefined;
51
+ username?: string | undefined;
52
+ }>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ type: "custom";
55
+ proxy: {
56
+ id: string;
57
+ server: string;
58
+ password?: string | undefined;
59
+ username?: string | undefined;
60
+ };
61
+ }, {
62
+ type: "custom";
63
+ proxy: {
64
+ id: string;
65
+ server: string;
66
+ password?: string | undefined;
67
+ username?: string | undefined;
68
+ };
69
+ }>]>>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ operation: "get_sent_invitations";
72
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
73
+ proxy?: {
74
+ type: "none";
75
+ } | {
76
+ type: "browserbase";
77
+ } | {
78
+ type: "custom";
79
+ proxy: {
80
+ id: string;
81
+ server: string;
82
+ password?: string | undefined;
83
+ username?: string | undefined;
84
+ };
85
+ } | undefined;
86
+ }, {
87
+ operation: "get_sent_invitations";
88
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
89
+ proxy?: {
90
+ type: "none";
91
+ } | {
92
+ type: "browserbase";
93
+ } | {
94
+ type: "custom";
95
+ proxy: {
96
+ id: string;
97
+ server: string;
98
+ password?: string | undefined;
99
+ username?: string | undefined;
100
+ };
101
+ } | undefined;
102
+ }>;
103
+ export declare const LinkedInSentInvitationsToolResultSchema: z.ZodObject<{
104
+ operation: z.ZodLiteral<"get_sent_invitations">;
105
+ success: z.ZodBoolean;
106
+ invitations: z.ZodOptional<z.ZodArray<z.ZodObject<{
107
+ name: z.ZodString;
108
+ headline: z.ZodOptional<z.ZodString>;
109
+ sent_date: z.ZodString;
110
+ profile_url: z.ZodOptional<z.ZodString>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ name: string;
113
+ sent_date: string;
114
+ headline?: string | undefined;
115
+ profile_url?: string | undefined;
116
+ }, {
117
+ name: string;
118
+ sent_date: string;
119
+ headline?: string | undefined;
120
+ profile_url?: string | undefined;
121
+ }>, "many">>;
122
+ total_count: z.ZodOptional<z.ZodNumber>;
123
+ message: z.ZodOptional<z.ZodString>;
124
+ error: z.ZodString;
125
+ }, "strip", z.ZodTypeAny, {
126
+ error: string;
127
+ success: boolean;
128
+ operation: "get_sent_invitations";
129
+ message?: string | undefined;
130
+ total_count?: number | undefined;
131
+ invitations?: {
132
+ name: string;
133
+ sent_date: string;
134
+ headline?: string | undefined;
135
+ profile_url?: string | undefined;
136
+ }[] | undefined;
137
+ }, {
138
+ error: string;
139
+ success: boolean;
140
+ operation: "get_sent_invitations";
141
+ message?: string | undefined;
142
+ total_count?: number | undefined;
143
+ invitations?: {
144
+ name: string;
145
+ sent_date: string;
146
+ headline?: string | undefined;
147
+ profile_url?: string | undefined;
148
+ }[] | undefined;
149
+ }>;
150
+ export type LinkedInSentInvitationsToolParamsInput = z.input<typeof LinkedInSentInvitationsToolParamsSchema>;
151
+ export type LinkedInSentInvitationsToolResult = z.output<typeof LinkedInSentInvitationsToolResultSchema>;
152
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlD,CAAC;AAEH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOlD,CAAC;AAEH,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,uCAAuC,CAC/C,CAAC;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CACtD,OAAO,uCAAuC,CAC/C,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ import { ProxyChoiceSchema } from '../_shared/schema.js';
4
+ export const SentInvitationInfoSchema = z.object({
5
+ name: z.string().describe('Full name of the person'),
6
+ headline: z.string().optional().describe('Professional headline/tagline'),
7
+ sent_date: z.string().describe('When the invitation was sent'),
8
+ profile_url: z.string().optional().describe('LinkedIn profile URL'),
9
+ });
10
+ export const LinkedInSentInvitationsToolParamsSchema = z.object({
11
+ operation: z.literal('get_sent_invitations'),
12
+ credentials: z.record(z.nativeEnum(CredentialType), z.string()).optional(),
13
+ proxy: ProxyChoiceSchema.optional(),
14
+ });
15
+ export const LinkedInSentInvitationsToolResultSchema = z.object({
16
+ operation: z.literal('get_sent_invitations'),
17
+ success: z.boolean(),
18
+ invitations: z.array(SentInvitationInfoSchema).optional(),
19
+ total_count: z.number().optional(),
20
+ message: z.string().optional(),
21
+ error: z.string(),
22
+ });
23
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC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,EAAE;IAC9B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,155 @@
1
+ import { ToolBubble } from '../../../../types/tool-bubble-class.js';
2
+ import type { BubbleContext } from '../../../../types/bubble.js';
3
+ import { CredentialType } from '@bubblelab/shared-schemas';
4
+ import { type LinkedInSentInvitationsToolParamsInput, type LinkedInSentInvitationsToolResult } from './schema.js';
5
+ export declare class LinkedInSentInvitationsTool<T extends LinkedInSentInvitationsToolParamsInput = LinkedInSentInvitationsToolParamsInput> extends ToolBubble<T, LinkedInSentInvitationsToolResult> {
6
+ static readonly bubbleName: "linkedin-sent-invitations-tool";
7
+ static readonly schema: import("zod").ZodObject<{
8
+ operation: import("zod").ZodLiteral<"get_sent_invitations">;
9
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
10
+ proxy: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
11
+ type: import("zod").ZodLiteral<"none">;
12
+ }, "strip", import("zod").ZodTypeAny, {
13
+ type: "none";
14
+ }, {
15
+ type: "none";
16
+ }>, import("zod").ZodObject<{
17
+ type: import("zod").ZodLiteral<"browserbase">;
18
+ }, "strip", import("zod").ZodTypeAny, {
19
+ type: "browserbase";
20
+ }, {
21
+ type: "browserbase";
22
+ }>, import("zod").ZodObject<{
23
+ type: import("zod").ZodLiteral<"custom">;
24
+ proxy: import("zod").ZodObject<{
25
+ id: import("zod").ZodString;
26
+ server: import("zod").ZodString;
27
+ username: import("zod").ZodOptional<import("zod").ZodString>;
28
+ password: import("zod").ZodOptional<import("zod").ZodString>;
29
+ }, "strip", import("zod").ZodTypeAny, {
30
+ id: string;
31
+ server: string;
32
+ password?: string | undefined;
33
+ username?: string | undefined;
34
+ }, {
35
+ id: string;
36
+ server: string;
37
+ password?: string | undefined;
38
+ username?: string | undefined;
39
+ }>;
40
+ }, "strip", import("zod").ZodTypeAny, {
41
+ type: "custom";
42
+ proxy: {
43
+ id: string;
44
+ server: string;
45
+ password?: string | undefined;
46
+ username?: string | undefined;
47
+ };
48
+ }, {
49
+ type: "custom";
50
+ proxy: {
51
+ id: string;
52
+ server: string;
53
+ password?: string | undefined;
54
+ username?: string | undefined;
55
+ };
56
+ }>]>>;
57
+ }, "strip", import("zod").ZodTypeAny, {
58
+ operation: "get_sent_invitations";
59
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
60
+ proxy?: {
61
+ type: "none";
62
+ } | {
63
+ type: "browserbase";
64
+ } | {
65
+ type: "custom";
66
+ proxy: {
67
+ id: string;
68
+ server: string;
69
+ password?: string | undefined;
70
+ username?: string | undefined;
71
+ };
72
+ } | undefined;
73
+ }, {
74
+ operation: "get_sent_invitations";
75
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
76
+ proxy?: {
77
+ type: "none";
78
+ } | {
79
+ type: "browserbase";
80
+ } | {
81
+ type: "custom";
82
+ proxy: {
83
+ id: string;
84
+ server: string;
85
+ password?: string | undefined;
86
+ username?: string | undefined;
87
+ };
88
+ } | undefined;
89
+ }>;
90
+ static readonly resultSchema: import("zod").ZodObject<{
91
+ operation: import("zod").ZodLiteral<"get_sent_invitations">;
92
+ success: import("zod").ZodBoolean;
93
+ invitations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
94
+ name: import("zod").ZodString;
95
+ headline: import("zod").ZodOptional<import("zod").ZodString>;
96
+ sent_date: import("zod").ZodString;
97
+ profile_url: import("zod").ZodOptional<import("zod").ZodString>;
98
+ }, "strip", import("zod").ZodTypeAny, {
99
+ name: string;
100
+ sent_date: string;
101
+ headline?: string | undefined;
102
+ profile_url?: string | undefined;
103
+ }, {
104
+ name: string;
105
+ sent_date: string;
106
+ headline?: string | undefined;
107
+ profile_url?: string | undefined;
108
+ }>, "many">>;
109
+ total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
110
+ message: import("zod").ZodOptional<import("zod").ZodString>;
111
+ error: import("zod").ZodString;
112
+ }, "strip", import("zod").ZodTypeAny, {
113
+ operation: "get_sent_invitations";
114
+ error: string;
115
+ success: boolean;
116
+ message?: string | undefined;
117
+ total_count?: number | undefined;
118
+ invitations?: {
119
+ name: string;
120
+ sent_date: string;
121
+ headline?: string | undefined;
122
+ profile_url?: string | undefined;
123
+ }[] | undefined;
124
+ }, {
125
+ operation: "get_sent_invitations";
126
+ error: string;
127
+ success: boolean;
128
+ message?: string | undefined;
129
+ total_count?: number | undefined;
130
+ invitations?: {
131
+ name: string;
132
+ sent_date: string;
133
+ headline?: string | undefined;
134
+ profile_url?: string | undefined;
135
+ }[] | undefined;
136
+ }>;
137
+ static readonly shortDescription = "Extract sent LinkedIn connection invitations";
138
+ static readonly longDescription = "Recordable LinkedIn Sent Invitations Tool for extracting pending sent connection requests.";
139
+ static readonly alias = "linkedin-sent-invitations";
140
+ static readonly type = "tool";
141
+ private sessionId;
142
+ private contextId;
143
+ private cookies;
144
+ constructor(params?: T, context?: BubbleContext);
145
+ protected chooseCredential(): string | undefined;
146
+ private stepStartBrowserSession;
147
+ private stepNavigateToSentInvitations;
148
+ private stepWaitForInvitationsPage;
149
+ private stepExtractInvitations;
150
+ private stepEndBrowserSession;
151
+ private evaluate;
152
+ private detectIPAddress;
153
+ performAction(): Promise<LinkedInSentInvitationsToolResult>;
154
+ }
155
+ //# sourceMappingURL=tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAKjE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAGL,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EAEvC,MAAM,aAAa,CAAC;AAErB,qBAAa,2BAA2B,CACtC,CAAC,SACC,sCAAsC,GAAG,sCAAsC,CACjF,SAAQ,UAAU,CAAC,CAAC,EAAE,iCAAiC,CAAC;IACxD,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAG,gCAAgC,CAAU;IACvE,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA2C;IACjE,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA2C;IACvE,MAAM,CAAC,QAAQ,CAAC,gBAAgB,kDACiB;IACjD,MAAM,CAAC,QAAQ,CAAC,eAAe,gGACgE;IAC/F,MAAM,CAAC,QAAQ,CAAC,KAAK,+BAA+B;IACpD,MAAM,CAAC,QAAQ,CAAC,IAAI,UAAU;IAE9B,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,OAAO,CAA4B;gBAGzC,MAAM,GAAE,CAA8C,EACtD,OAAO,CAAC,EAAE,aAAa;IAKzB,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;YAOlC,uBAAuB;YAiCvB,6BAA6B;YAkB7B,0BAA0B;YAoB1B,sBAAsB;YAsFtB,qBAAqB;YAYrB,QAAQ;YAaR,eAAe;IAiBvB,aAAa,IAAI,OAAO,CAAC,iCAAiC,CAAC;CA4BlE"}
@@ -0,0 +1,233 @@
1
+ import { ToolBubble } from '../../../../types/tool-bubble-class.js';
2
+ import { BrowserBaseBubble, } from '../../../service-bubble/browserbase/index.js';
3
+ import { CredentialType } from '@bubblelab/shared-schemas';
4
+ import { parseBrowserSessionData, buildProxyConfig } from '../_shared/utils.js';
5
+ import { LinkedInSentInvitationsToolParamsSchema, LinkedInSentInvitationsToolResultSchema, } from './schema.js';
6
+ export class LinkedInSentInvitationsTool extends ToolBubble {
7
+ static bubbleName = 'linkedin-sent-invitations-tool';
8
+ static schema = LinkedInSentInvitationsToolParamsSchema;
9
+ static resultSchema = LinkedInSentInvitationsToolResultSchema;
10
+ static shortDescription = 'Extract sent LinkedIn connection invitations';
11
+ static longDescription = 'Recordable LinkedIn Sent Invitations Tool for extracting pending sent connection requests.';
12
+ static alias = 'linkedin-sent-invitations';
13
+ static type = 'tool';
14
+ sessionId = null;
15
+ contextId = null;
16
+ cookies = null;
17
+ constructor(params = { operation: 'get_sent_invitations' }, context) {
18
+ super(params, context);
19
+ }
20
+ chooseCredential() {
21
+ const { credentials } = this.params;
22
+ return credentials?.[CredentialType.LINKEDIN_CRED];
23
+ }
24
+ async stepStartBrowserSession() {
25
+ if (this.sessionId)
26
+ return;
27
+ const sessionData = parseBrowserSessionData(this.chooseCredential());
28
+ if (sessionData) {
29
+ this.contextId = sessionData.contextId;
30
+ this.cookies = sessionData.cookies;
31
+ }
32
+ const proxyConfig = buildProxyConfig(this.params.proxy);
33
+ const browserbase = new BrowserBaseBubble({
34
+ operation: 'start_session',
35
+ context_id: this.contextId || undefined,
36
+ cookies: this.cookies || undefined,
37
+ credentials: this.params.credentials,
38
+ stealth: { solveCaptchas: true },
39
+ ...proxyConfig,
40
+ }, this.context, 'startsession');
41
+ const result = await browserbase.action();
42
+ if (!result.data.success || !result.data.session_id) {
43
+ throw new Error(result.data.error || 'Failed to start browser session');
44
+ }
45
+ this.sessionId = result.data.session_id;
46
+ if (result.data.context_id)
47
+ this.contextId = result.data.context_id;
48
+ console.log(`[RecordableSentInvitations] Session started: ${this.sessionId}`);
49
+ const ip = await this.detectIPAddress();
50
+ if (ip)
51
+ console.log(`[RecordableSentInvitations] Browser IP: ${ip}`);
52
+ }
53
+ async stepNavigateToSentInvitations() {
54
+ if (!this.sessionId)
55
+ throw new Error('No active session');
56
+ const browserbase = new BrowserBaseBubble({
57
+ operation: 'navigate',
58
+ session_id: this.sessionId,
59
+ url: 'https://www.linkedin.com/mynetwork/invitation-manager/sent/',
60
+ wait_until: 'domcontentloaded',
61
+ timeout: 30000,
62
+ }, this.context, 'navigate');
63
+ const result = await browserbase.action();
64
+ if (!result.data.success)
65
+ throw new Error(result.data.error || 'Navigation failed');
66
+ }
67
+ async stepWaitForInvitationsPage() {
68
+ const checkScript = `(() => {
69
+ const buttons = document.querySelectorAll('button');
70
+ let sentTabFound = false, hasInvitations = false;
71
+ for (const btn of buttons) {
72
+ const text = (btn.innerText || btn.textContent || '').trim().toLowerCase();
73
+ if (text === 'sent') sentTabFound = true;
74
+ if (text === 'withdraw') hasInvitations = true;
75
+ }
76
+ const peopleLabel = document.body.innerText.match(/People\\s*\\(\\d+\\)/i);
77
+ return sentTabFound && (hasInvitations || peopleLabel);
78
+ })()`;
79
+ for (let attempt = 1; attempt <= 15; attempt++) {
80
+ const found = await this.evaluate(checkScript);
81
+ if (found)
82
+ return true;
83
+ await new Promise((r) => setTimeout(r, 1000));
84
+ }
85
+ return false;
86
+ }
87
+ async stepExtractInvitations() {
88
+ const result = (await this.evaluate(`
89
+ (() => {
90
+ const invitations = [];
91
+ const withdrawButtons = Array.from(document.querySelectorAll('button')).filter(btn =>
92
+ (btn.innerText || btn.textContent || '').trim().toLowerCase() === 'withdraw'
93
+ );
94
+ for (const withdrawBtn of withdrawButtons) {
95
+ let container = withdrawBtn.parentElement;
96
+ for (let i = 0; i < 10 && container; i++) {
97
+ const text = container.innerText || '';
98
+ if (text.includes('Sent') && container.querySelector('a[href*="/in/"]')) break;
99
+ container = container.parentElement;
100
+ }
101
+ if (!container) continue;
102
+ let name = '';
103
+ const links = container.querySelectorAll('a[href*="/in/"]');
104
+ for (const link of links) {
105
+ const linkText = (link.innerText || link.textContent || '').trim();
106
+ if (linkText && linkText.length > 1 && linkText.length < 100 && !linkText.includes('Sent')) {
107
+ name = linkText;
108
+ break;
109
+ }
110
+ }
111
+ if (!name) {
112
+ const spans = container.querySelectorAll('span');
113
+ for (const span of spans) {
114
+ const spanText = (span.innerText || span.textContent || '').trim();
115
+ if (spanText && spanText.length > 2 && spanText.length < 50 &&
116
+ !spanText.includes('Sent') && !spanText.includes('Withdraw') &&
117
+ !spanText.includes('|') && !spanText.includes('-')) {
118
+ name = spanText;
119
+ break;
120
+ }
121
+ }
122
+ }
123
+ const containerText = container.innerText || '';
124
+ const lines = containerText.split('\\n').map(l => l.trim()).filter(l => l);
125
+ let headline = '';
126
+ let nameLineIdx = -1, sentLineIdx = -1;
127
+ for (let i = 0; i < lines.length; i++) {
128
+ if (lines[i] === name) nameLineIdx = i;
129
+ if (lines[i].match(/^Sent\\s+\\d+/i)) sentLineIdx = i;
130
+ }
131
+ if (nameLineIdx >= 0 && sentLineIdx > nameLineIdx + 1) {
132
+ headline = lines.slice(nameLineIdx + 1, sentLineIdx)
133
+ .filter(l => l.toLowerCase() !== 'withdraw' && l.length > 5)
134
+ .join(' ').trim();
135
+ }
136
+ if (!headline) {
137
+ for (const line of lines) {
138
+ if (line === name || line.toLowerCase() === 'withdraw' ||
139
+ line.match(/^Sent\\s+\\d+/i) || line.match(/^People\\s*\\(/i)) continue;
140
+ if (line.length > 10 && line.length < 300) { headline = line; break; }
141
+ }
142
+ }
143
+ const sentMatch = containerText.match(/Sent\\s+\\d+\\s+\\w+\\s+ago/i);
144
+ let profile_url = '';
145
+ for (const link of links) {
146
+ const href = link.getAttribute('href') || '';
147
+ if (href.includes('/in/')) {
148
+ profile_url = href.startsWith('http') ? href : 'https://www.linkedin.com' + href;
149
+ break;
150
+ }
151
+ }
152
+ if (name) {
153
+ invitations.push({
154
+ name,
155
+ headline: headline || undefined,
156
+ sent_date: sentMatch ? sentMatch[0] : 'Unknown',
157
+ profile_url: profile_url || undefined,
158
+ });
159
+ }
160
+ }
161
+ let total = invitations.length;
162
+ const peopleMatch = document.body.innerText.match(/People\\s*\\((\\d+)\\)/i);
163
+ if (peopleMatch) total = parseInt(peopleMatch[1], 10);
164
+ return { invitations, total };
165
+ })()
166
+ `));
167
+ return result;
168
+ }
169
+ async stepEndBrowserSession() {
170
+ if (!this.sessionId)
171
+ return;
172
+ const browserbase = new BrowserBaseBubble({ operation: 'end_session', session_id: this.sessionId }, this.context, 'endsession');
173
+ await browserbase.action();
174
+ console.log(`[RecordableSentInvitations] Session ended: ${this.sessionId}`);
175
+ this.sessionId = null;
176
+ }
177
+ async evaluate(script) {
178
+ if (!this.sessionId)
179
+ throw new Error('No active session');
180
+ const browserbase = new BrowserBaseBubble({ operation: 'evaluate', session_id: this.sessionId, script }, this.context, 'evaluate');
181
+ const result = await browserbase.action();
182
+ if (!result.data.success)
183
+ throw new Error(result.data.error || 'Evaluation failed');
184
+ return result.data.result;
185
+ }
186
+ async detectIPAddress() {
187
+ if (!this.sessionId)
188
+ return null;
189
+ try {
190
+ return (await this.evaluate(`
191
+ (async () => {
192
+ try {
193
+ const r = await fetch('https://api.ipify.org?format=json');
194
+ const d = await r.json();
195
+ return d.ip;
196
+ } catch { return null; }
197
+ })()
198
+ `));
199
+ }
200
+ catch {
201
+ return null;
202
+ }
203
+ }
204
+ async performAction() {
205
+ try {
206
+ await this.stepStartBrowserSession();
207
+ await this.stepNavigateToSentInvitations();
208
+ const pageReady = await this.stepWaitForInvitationsPage();
209
+ if (!pageReady)
210
+ console.log('[RecordableSentInvitations] Page slow to load, continuing');
211
+ const { invitations, total } = await this.stepExtractInvitations();
212
+ return {
213
+ operation: 'get_sent_invitations',
214
+ success: true,
215
+ invitations,
216
+ total_count: total,
217
+ message: `Found ${invitations.length} sent invitations`,
218
+ error: '',
219
+ };
220
+ }
221
+ catch (error) {
222
+ return {
223
+ operation: 'get_sent_invitations',
224
+ success: false,
225
+ error: error instanceof Error ? error.message : 'Unknown error',
226
+ };
227
+ }
228
+ finally {
229
+ await this.stepEndBrowserSession();
230
+ }
231
+ }
232
+ }
233
+ //# sourceMappingURL=tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.js","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/brow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