@bubblelab/bubble-core 0.1.141 → 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 (154) hide show
  1. package/dist/bubble-bundle.d.ts +181 -118
  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/bubble-flow/bubble-flow-class.d.ts +4 -0
  6. package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
  7. package/dist/bubble-flow/bubble-flow-class.js +1 -0
  8. package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
  9. package/dist/bubbles/service-bubble/agi-inc.d.ts +140 -140
  10. package/dist/bubbles/service-bubble/ai-agent.d.ts +4 -4
  11. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  12. package/dist/bubbles/service-bubble/ai-agent.js +7 -0
  13. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  14. package/dist/bubbles/service-bubble/airtable.d.ts +158 -158
  15. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +6 -6
  16. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +806 -0
  17. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts.map +1 -0
  18. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.js +256 -0
  19. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.js.map +1 -0
  20. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +813 -6
  21. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
  22. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +8 -0
  23. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
  24. package/dist/bubbles/service-bubble/apify/apify.d.ts +13 -13
  25. package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
  26. package/dist/bubbles/service-bubble/apify/apify.js +1 -0
  27. package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
  28. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +64 -64
  29. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +6 -6
  30. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +44 -37
  31. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
  32. package/dist/bubbles/service-bubble/browserbase/browserbase.js +66 -3
  33. package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
  34. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +59 -16
  35. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -1
  36. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +19 -0
  37. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -1
  38. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
  39. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +96 -96
  40. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +24 -24
  41. package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
  42. package/dist/bubbles/service-bubble/firecrawl.d.ts +244 -244
  43. package/dist/bubbles/service-bubble/followupboss.d.ts +152 -152
  44. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
  45. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +62 -62
  46. package/dist/bubbles/service-bubble/github.d.ts +148 -148
  47. package/dist/bubbles/service-bubble/gmail.d.ts +556 -556
  48. package/dist/bubbles/service-bubble/google-calendar.d.ts +34 -34
  49. package/dist/bubbles/service-bubble/google-drive.d.ts +102 -102
  50. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
  51. package/dist/bubbles/service-bubble/http.d.ts +20 -20
  52. package/dist/bubbles/service-bubble/jira/jira.d.ts +92 -92
  53. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +2 -2
  54. package/dist/bubbles/service-bubble/notion/notion.d.ts +647 -647
  55. package/dist/bubbles/service-bubble/resend.d.ts +32 -32
  56. package/dist/bubbles/service-bubble/slack/slack.d.ts +496 -496
  57. package/dist/bubbles/service-bubble/slack/slack.js +2 -2
  58. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
  59. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  60. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +87 -87
  61. package/dist/bubbles/service-bubble/telegram.d.ts +108 -108
  62. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +18 -18
  63. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +126 -0
  64. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts.map +1 -0
  65. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js +34 -0
  66. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js.map +1 -0
  67. package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts +22 -0
  68. package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts.map +1 -0
  69. package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js +57 -0
  70. package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js.map +1 -0
  71. package/dist/bubbles/tool-bubble/browser-tools/index.d.ts +5 -0
  72. package/dist/bubbles/tool-bubble/browser-tools/index.d.ts.map +1 -0
  73. package/dist/bubbles/tool-bubble/browser-tools/index.js +5 -0
  74. package/dist/bubbles/tool-bubble/browser-tools/index.js.map +1 -0
  75. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.d.ts +3 -0
  76. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.d.ts.map +1 -0
  77. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.js +3 -0
  78. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.js.map +1 -0
  79. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +158 -0
  80. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts.map +1 -0
  81. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js +33 -0
  82. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js.map +1 -0
  83. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +161 -0
  84. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts.map +1 -0
  85. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js +310 -0
  86. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js.map +1 -0
  87. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts +3 -0
  88. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts.map +1 -0
  89. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js +3 -0
  90. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js.map +1 -0
  91. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +165 -0
  92. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts.map +1 -0
  93. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js +45 -0
  94. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js.map +1 -0
  95. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +171 -0
  96. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts.map +1 -0
  97. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js +364 -0
  98. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js.map +1 -0
  99. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.d.ts +3 -0
  100. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.d.ts.map +1 -0
  101. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.js +3 -0
  102. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.js.map +1 -0
  103. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +160 -0
  104. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts.map +1 -0
  105. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js +24 -0
  106. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js.map +1 -0
  107. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +160 -0
  108. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts.map +1 -0
  109. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js +334 -0
  110. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js.map +1 -0
  111. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.d.ts +3 -0
  112. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.d.ts.map +1 -0
  113. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.js +3 -0
  114. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.js.map +1 -0
  115. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +152 -0
  116. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts.map +1 -0
  117. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js +23 -0
  118. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js.map +1 -0
  119. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +155 -0
  120. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts.map +1 -0
  121. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js +233 -0
  122. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js.map +1 -0
  123. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  124. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +64 -64
  125. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
  126. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  127. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
  128. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +1634 -196
  129. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
  130. package/dist/bubbles/tool-bubble/linkedin-tool.js +300 -56
  131. package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -1
  132. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
  133. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +108 -108
  134. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  135. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  136. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  137. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +24 -24
  138. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +14 -14
  139. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  140. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  141. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  142. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +2 -2
  143. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +32 -32
  144. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
  145. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +58 -58
  146. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  147. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
  148. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +46 -46
  149. package/dist/bubbles.json +1148 -75
  150. package/dist/index.d.ts +4 -1
  151. package/dist/index.d.ts.map +1 -1
  152. package/dist/index.js +4 -1
  153. package/dist/index.js.map +1 -1
  154. package/package.json +2 -2
@@ -69,13 +69,13 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
69
69
  max_results: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
70
70
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
71
71
  }, "strip", import("zod").ZodTypeAny, {
72
- query: string;
73
72
  operation: "search";
73
+ query: string;
74
74
  max_results: number;
75
75
  credentials?: Partial<Record<CredentialType, string>> | undefined;
76
76
  }, {
77
- query: string;
78
77
  operation: "search";
78
+ query: string;
79
79
  credentials?: Partial<Record<CredentialType, string>> | undefined;
80
80
  max_results?: number | undefined;
81
81
  }>, import("zod").ZodObject<{
@@ -113,15 +113,15 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
113
113
  cart_count: import("zod").ZodOptional<import("zod").ZodNumber>;
114
114
  error: import("zod").ZodString;
115
115
  }, "strip", import("zod").ZodTypeAny, {
116
+ operation: "add_to_cart";
116
117
  error: string;
117
118
  success: boolean;
118
- operation: "add_to_cart";
119
119
  message?: string | undefined;
120
120
  cart_count?: number | undefined;
121
121
  }, {
122
+ operation: "add_to_cart";
122
123
  error: string;
123
124
  success: boolean;
124
- operation: "add_to_cart";
125
125
  message?: string | undefined;
126
126
  cart_count?: number | undefined;
127
127
  }>, import("zod").ZodObject<{
@@ -139,46 +139,46 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
139
139
  price: string;
140
140
  quantity: number;
141
141
  asin: string;
142
- url?: string | undefined;
143
142
  image?: string | undefined;
143
+ url?: string | undefined;
144
144
  }, {
145
145
  title: string;
146
146
  price: string;
147
147
  quantity: number;
148
148
  asin: string;
149
- url?: string | undefined;
150
149
  image?: string | undefined;
150
+ url?: string | undefined;
151
151
  }>, "many">>;
152
152
  subtotal: import("zod").ZodOptional<import("zod").ZodString>;
153
153
  total_items: import("zod").ZodOptional<import("zod").ZodNumber>;
154
154
  screenshot_url: import("zod").ZodOptional<import("zod").ZodString>;
155
155
  error: import("zod").ZodString;
156
156
  }, "strip", import("zod").ZodTypeAny, {
157
+ operation: "get_cart";
157
158
  error: string;
158
159
  success: boolean;
159
- operation: "get_cart";
160
160
  items?: {
161
161
  title: string;
162
162
  price: string;
163
163
  quantity: number;
164
164
  asin: string;
165
- url?: string | undefined;
166
165
  image?: string | undefined;
166
+ url?: string | undefined;
167
167
  }[] | undefined;
168
168
  subtotal?: string | undefined;
169
169
  total_items?: number | undefined;
170
170
  screenshot_url?: string | undefined;
171
171
  }, {
172
+ operation: "get_cart";
172
173
  error: string;
173
174
  success: boolean;
174
- operation: "get_cart";
175
175
  items?: {
176
176
  title: string;
177
177
  price: string;
178
178
  quantity: number;
179
179
  asin: string;
180
- url?: string | undefined;
181
180
  image?: string | undefined;
181
+ url?: string | undefined;
182
182
  }[] | undefined;
183
183
  subtotal?: string | undefined;
184
184
  total_items?: number | undefined;
@@ -210,9 +210,9 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
210
210
  screenshot_url: import("zod").ZodOptional<import("zod").ZodString>;
211
211
  error: import("zod").ZodString;
212
212
  }, "strip", import("zod").ZodTypeAny, {
213
+ operation: "checkout";
213
214
  error: string;
214
215
  success: boolean;
215
- operation: "checkout";
216
216
  items?: {
217
217
  title: string;
218
218
  price?: string | undefined;
@@ -228,9 +228,9 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
228
228
  shipping_address?: string | undefined;
229
229
  payment_method?: string | undefined;
230
230
  }, {
231
+ operation: "checkout";
231
232
  error: string;
232
233
  success: boolean;
233
- operation: "checkout";
234
234
  items?: {
235
235
  title: string;
236
236
  price?: string | undefined;
@@ -279,9 +279,9 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
279
279
  total_results: import("zod").ZodOptional<import("zod").ZodNumber>;
280
280
  error: import("zod").ZodString;
281
281
  }, "strip", import("zod").ZodTypeAny, {
282
+ operation: "search";
282
283
  error: string;
283
284
  success: boolean;
284
- operation: "search";
285
285
  results?: {
286
286
  title: string;
287
287
  url: string;
@@ -294,9 +294,9 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
294
294
  }[] | undefined;
295
295
  total_results?: number | undefined;
296
296
  }, {
297
+ operation: "search";
297
298
  error: string;
298
299
  success: boolean;
299
- operation: "search";
300
300
  results?: {
301
301
  title: string;
302
302
  url: string;
@@ -347,9 +347,9 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
347
347
  }>>;
348
348
  error: import("zod").ZodString;
349
349
  }, "strip", import("zod").ZodTypeAny, {
350
+ operation: "get_product";
350
351
  error: string;
351
352
  success: boolean;
352
- operation: "get_product";
353
353
  product?: {
354
354
  title: string;
355
355
  url: string;
@@ -363,9 +363,9 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
363
363
  availability?: string | undefined;
364
364
  } | undefined;
365
365
  }, {
366
+ operation: "get_product";
366
367
  error: string;
367
368
  success: boolean;
368
- operation: "get_product";
369
369
  product?: {
370
370
  title: string;
371
371
  url: string;
@@ -384,14 +384,14 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
384
384
  screenshot_url: import("zod").ZodOptional<import("zod").ZodString>;
385
385
  error: import("zod").ZodString;
386
386
  }, "strip", import("zod").ZodTypeAny, {
387
+ operation: "screenshot";
387
388
  error: string;
388
389
  success: boolean;
389
- operation: "screenshot";
390
390
  screenshot_url?: string | undefined;
391
391
  }, {
392
+ operation: "screenshot";
392
393
  error: string;
393
394
  success: boolean;
394
- operation: "screenshot";
395
395
  screenshot_url?: string | undefined;
396
396
  }>]>;
397
397
  static readonly shortDescription = "Amazon shopping automation - add to cart, view cart, checkout, search products";
@@ -0,0 +1,126 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Schema for parsing browser session data from credentials (LINKEDIN_CRED, etc.)
4
+ */
5
+ export declare const BrowserSessionDataSchema: z.ZodObject<{
6
+ contextId: z.ZodString;
7
+ cookies: z.ZodArray<z.ZodObject<{
8
+ name: z.ZodString;
9
+ value: z.ZodString;
10
+ domain: z.ZodString;
11
+ path: z.ZodOptional<z.ZodString>;
12
+ expires: z.ZodOptional<z.ZodNumber>;
13
+ httpOnly: z.ZodOptional<z.ZodBoolean>;
14
+ secure: z.ZodOptional<z.ZodBoolean>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ value: string;
17
+ name: string;
18
+ domain: string;
19
+ path?: string | undefined;
20
+ expires?: number | undefined;
21
+ httpOnly?: boolean | undefined;
22
+ secure?: boolean | undefined;
23
+ }, {
24
+ value: string;
25
+ name: string;
26
+ domain: string;
27
+ path?: string | undefined;
28
+ expires?: number | undefined;
29
+ httpOnly?: boolean | undefined;
30
+ secure?: boolean | undefined;
31
+ }>, "many">;
32
+ }, "strip", z.ZodTypeAny, {
33
+ contextId: string;
34
+ cookies: {
35
+ value: string;
36
+ name: string;
37
+ domain: string;
38
+ path?: string | undefined;
39
+ expires?: number | undefined;
40
+ httpOnly?: boolean | undefined;
41
+ secure?: boolean | undefined;
42
+ }[];
43
+ }, {
44
+ contextId: string;
45
+ cookies: {
46
+ value: string;
47
+ name: string;
48
+ domain: string;
49
+ path?: string | undefined;
50
+ expires?: number | undefined;
51
+ httpOnly?: boolean | undefined;
52
+ secure?: boolean | undefined;
53
+ }[];
54
+ }>;
55
+ /**
56
+ * Custom proxy configuration
57
+ */
58
+ export declare const CustomProxySchema: z.ZodObject<{
59
+ id: z.ZodString;
60
+ server: z.ZodString;
61
+ username: z.ZodOptional<z.ZodString>;
62
+ password: z.ZodOptional<z.ZodString>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ id: string;
65
+ server: string;
66
+ password?: string | undefined;
67
+ username?: string | undefined;
68
+ }, {
69
+ id: string;
70
+ server: string;
71
+ password?: string | undefined;
72
+ username?: string | undefined;
73
+ }>;
74
+ /**
75
+ * Proxy choice - none, browserbase, or custom proxy
76
+ */
77
+ export declare const ProxyChoiceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
78
+ type: z.ZodLiteral<"none">;
79
+ }, "strip", z.ZodTypeAny, {
80
+ type: "none";
81
+ }, {
82
+ type: "none";
83
+ }>, z.ZodObject<{
84
+ type: z.ZodLiteral<"browserbase">;
85
+ }, "strip", z.ZodTypeAny, {
86
+ type: "browserbase";
87
+ }, {
88
+ type: "browserbase";
89
+ }>, z.ZodObject<{
90
+ type: z.ZodLiteral<"custom">;
91
+ proxy: z.ZodObject<{
92
+ id: z.ZodString;
93
+ server: z.ZodString;
94
+ username: z.ZodOptional<z.ZodString>;
95
+ password: z.ZodOptional<z.ZodString>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ id: string;
98
+ server: string;
99
+ password?: string | undefined;
100
+ username?: string | undefined;
101
+ }, {
102
+ id: string;
103
+ server: string;
104
+ password?: string | undefined;
105
+ username?: string | undefined;
106
+ }>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ type: "custom";
109
+ proxy: {
110
+ id: string;
111
+ server: string;
112
+ password?: string | undefined;
113
+ username?: string | undefined;
114
+ };
115
+ }, {
116
+ type: "custom";
117
+ proxy: {
118
+ id: string;
119
+ server: string;
120
+ password?: string | undefined;
121
+ username?: string | undefined;
122
+ };
123
+ }>]>;
124
+ export type CustomProxy = z.infer<typeof CustomProxySchema>;
125
+ export type ProxyChoice = z.infer<typeof ProxyChoiceSchema>;
126
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/_shared/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAanC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAI5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Schema for parsing browser session data from credentials (LINKEDIN_CRED, etc.)
4
+ */
5
+ export const BrowserSessionDataSchema = z.object({
6
+ contextId: z.string(),
7
+ cookies: z.array(z.object({
8
+ name: z.string(),
9
+ value: z.string(),
10
+ domain: z.string(),
11
+ path: z.string().optional(),
12
+ expires: z.number().optional(),
13
+ httpOnly: z.boolean().optional(),
14
+ secure: z.boolean().optional(),
15
+ })),
16
+ });
17
+ /**
18
+ * Custom proxy configuration
19
+ */
20
+ export const CustomProxySchema = z.object({
21
+ id: z.string().describe('User-provided identifier for the proxy'),
22
+ server: z.string().describe('Proxy server URL'),
23
+ username: z.string().optional().describe('Proxy authentication username'),
24
+ password: z.string().optional().describe('Proxy authentication password'),
25
+ });
26
+ /**
27
+ * Proxy choice - none, browserbase, or custom proxy
28
+ */
29
+ export const ProxyChoiceSchema = z.discriminatedUnion('type', [
30
+ z.object({ type: z.literal('none') }),
31
+ z.object({ type: z.literal('browserbase') }),
32
+ z.object({ type: z.literal('custom'), proxy: CustomProxySchema }),
33
+ ]);
34
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/_shared/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;QACjB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;QAClB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAChC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KAC/B,CAAC,CACH;CACF,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IACjE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IAC/C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IACzE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;CAC1E,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC5D,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;IACrC,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC;IAC5C,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAClE,CAAC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { CDPCookie } from '../../../service-bubble/browserbase/index.js';
2
+ import type { ProxyChoice } from './schema.js';
3
+ export interface BrowserSessionData {
4
+ contextId: string;
5
+ cookies: CDPCookie[];
6
+ }
7
+ /**
8
+ * Parse browser session credential (base64 JSON) to contextId + cookies
9
+ */
10
+ export declare function parseBrowserSessionData(credential: string | undefined): BrowserSessionData | null;
11
+ /**
12
+ * Build proxy configuration for BrowserBase from ProxyChoice
13
+ */
14
+ export declare function buildProxyConfig(proxy: ProxyChoice | undefined): {
15
+ proxies?: true | Array<{
16
+ type: 'external';
17
+ server: string;
18
+ username?: string;
19
+ password?: string;
20
+ }>;
21
+ };
22
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/_shared/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAE9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,SAAS,EAAE,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GAAG,SAAS,GAC7B,kBAAkB,GAAG,IAAI,CA0B3B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,GAAG;IAChE,OAAO,CAAC,EACJ,IAAI,GACJ,KAAK,CAAC;QACJ,IAAI,EAAE,UAAU,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;CACR,CAoBA"}
@@ -0,0 +1,57 @@
1
+ import { BrowserSessionDataSchema } from './schema.js';
2
+ /**
3
+ * Parse browser session credential (base64 JSON) to contextId + cookies
4
+ */
5
+ export function parseBrowserSessionData(credential) {
6
+ if (!credential)
7
+ return null;
8
+ try {
9
+ const jsonString = Buffer.from(credential, 'base64').toString('utf-8');
10
+ const parsed = JSON.parse(jsonString);
11
+ const validated = BrowserSessionDataSchema.safeParse(parsed);
12
+ if (validated.success) {
13
+ const cookies = validated.data.cookies.map((c) => ({
14
+ name: c.name,
15
+ value: c.value,
16
+ domain: c.domain,
17
+ path: c.path || '/',
18
+ expires: c.expires ?? -1,
19
+ httpOnly: c.httpOnly ?? false,
20
+ secure: c.secure ?? false,
21
+ }));
22
+ return {
23
+ contextId: validated.data.contextId,
24
+ cookies,
25
+ };
26
+ }
27
+ return null;
28
+ }
29
+ catch {
30
+ return null;
31
+ }
32
+ }
33
+ /**
34
+ * Build proxy configuration for BrowserBase from ProxyChoice
35
+ */
36
+ export function buildProxyConfig(proxy) {
37
+ if (!proxy || proxy.type === 'none') {
38
+ return {};
39
+ }
40
+ if (proxy.type === 'browserbase') {
41
+ return { proxies: true };
42
+ }
43
+ if (proxy.type === 'custom') {
44
+ return {
45
+ proxies: [
46
+ {
47
+ type: 'external',
48
+ server: proxy.proxy.server,
49
+ ...(proxy.proxy.username && { username: proxy.proxy.username }),
50
+ ...(proxy.proxy.password && { password: proxy.proxy.password }),
51
+ },
52
+ ],
53
+ };
54
+ }
55
+ return {};
56
+ }
57
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/_shared/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAQvD;;GAEG;AACH,MAAM,UAAU,uBAAuB,CACrC,UAA8B;IAE9B,IAAI,CAAC,UAAU;QAAE,OAAO,IAAI,CAAC;IAE7B,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,SAAS,GAAG,wBAAwB,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC7D,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,MAAM,OAAO,GAAgB,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;gBAC9D,IAAI,EAAE,CAAC,CAAC,IAAI;gBACZ,KAAK,EAAE,CAAC,CAAC,KAAK;gBACd,MAAM,EAAE,CAAC,CAAC,MAAM;gBAChB,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,GAAG;gBACnB,OAAO,EAAE,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC;gBACxB,QAAQ,EAAE,CAAC,CAAC,QAAQ,IAAI,KAAK;gBAC7B,MAAM,EAAE,CAAC,CAAC,MAAM,IAAI,KAAK;aAC1B,CAAC,CAAC,CAAC;YACJ,OAAO;gBACL,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC,SAAS;gBACnC,OAAO;aACR,CAAC;QACJ,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAA8B;IAU7D,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;QACpC,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,IAAI,KAAK,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;QACjC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3B,CAAC;IACD,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,UAAmB;oBACzB,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM;oBAC1B,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,IAAI,EAAE,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;oBAC/D,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,IAAI,EAAE,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;iBAChE;aACF;SACF,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,CAAC;AACZ,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { LinkedInConnectionTool } from './linkedin-connection/tool.js';
2
+ export { LinkedInSentInvitationsTool } from './linkedin-sent-invitations/tool.js';
3
+ export { LinkedInReceivedInvitationsTool } from './linkedin-received-invitations/tool.js';
4
+ export { LinkedInAcceptInvitationsTool } from './linkedin-accept-invitations/tool.js';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/browser-tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { LinkedInConnectionTool } from './linkedin-connection/tool.js';
2
+ export { LinkedInSentInvitationsTool } from './linkedin-sent-invitations/tool.js';
3
+ export { LinkedInReceivedInvitationsTool } from './linkedin-received-invitations/tool.js';
4
+ export { LinkedInAcceptInvitationsTool } from './linkedin-accept-invitations/tool.js';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/browser-tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { LinkedInAcceptInvitationsTool } from './tool.js';
2
+ export { LinkedInAcceptInvitationsToolParamsSchema, LinkedInAcceptInvitationsToolResultSchema, AcceptedInvitationInfoSchema, type LinkedInAcceptInvitationsToolParamsInput, type LinkedInAcceptInvitationsToolResult, type AcceptedInvitationInfo, } from './schema.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EACL,yCAAyC,EACzC,yCAAyC,EACzC,4BAA4B,EAC5B,KAAK,wCAAwC,EAC7C,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,GAC5B,MAAM,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { LinkedInAcceptInvitationsTool } from './tool.js';
2
+ export { LinkedInAcceptInvitationsToolParamsSchema, LinkedInAcceptInvitationsToolResultSchema, AcceptedInvitationInfoSchema, } from './schema.js';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EACL,yCAAyC,EACzC,yCAAyC,EACzC,4BAA4B,GAI7B,MAAM,aAAa,CAAC"}
@@ -0,0 +1,158 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ export declare const AcceptedInvitationInfoSchema: z.ZodObject<{
4
+ name: z.ZodString;
5
+ headline: z.ZodOptional<z.ZodString>;
6
+ mutual_connections: z.ZodOptional<z.ZodString>;
7
+ profile_url: z.ZodOptional<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ name: string;
10
+ headline?: string | undefined;
11
+ profile_url?: string | undefined;
12
+ mutual_connections?: string | undefined;
13
+ }, {
14
+ name: string;
15
+ headline?: string | undefined;
16
+ profile_url?: string | undefined;
17
+ mutual_connections?: string | undefined;
18
+ }>;
19
+ export type AcceptedInvitationInfo = z.infer<typeof AcceptedInvitationInfoSchema>;
20
+ export declare const LinkedInAcceptInvitationsToolParamsSchema: z.ZodObject<{
21
+ operation: z.ZodLiteral<"accept_invitations">;
22
+ count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
23
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
24
+ proxy: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
25
+ type: z.ZodLiteral<"none">;
26
+ }, "strip", z.ZodTypeAny, {
27
+ type: "none";
28
+ }, {
29
+ type: "none";
30
+ }>, z.ZodObject<{
31
+ type: z.ZodLiteral<"browserbase">;
32
+ }, "strip", z.ZodTypeAny, {
33
+ type: "browserbase";
34
+ }, {
35
+ type: "browserbase";
36
+ }>, z.ZodObject<{
37
+ type: z.ZodLiteral<"custom">;
38
+ proxy: z.ZodObject<{
39
+ id: z.ZodString;
40
+ server: z.ZodString;
41
+ username: z.ZodOptional<z.ZodString>;
42
+ password: z.ZodOptional<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ id: string;
45
+ server: string;
46
+ password?: string | undefined;
47
+ username?: string | undefined;
48
+ }, {
49
+ id: string;
50
+ server: string;
51
+ password?: string | undefined;
52
+ username?: string | undefined;
53
+ }>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ type: "custom";
56
+ proxy: {
57
+ id: string;
58
+ server: string;
59
+ password?: string | undefined;
60
+ username?: string | undefined;
61
+ };
62
+ }, {
63
+ type: "custom";
64
+ proxy: {
65
+ id: string;
66
+ server: string;
67
+ password?: string | undefined;
68
+ username?: string | undefined;
69
+ };
70
+ }>]>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ operation: "accept_invitations";
73
+ count: number;
74
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
75
+ proxy?: {
76
+ type: "none";
77
+ } | {
78
+ type: "browserbase";
79
+ } | {
80
+ type: "custom";
81
+ proxy: {
82
+ id: string;
83
+ server: string;
84
+ password?: string | undefined;
85
+ username?: string | undefined;
86
+ };
87
+ } | undefined;
88
+ }, {
89
+ operation: "accept_invitations";
90
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
91
+ count?: number | undefined;
92
+ proxy?: {
93
+ type: "none";
94
+ } | {
95
+ type: "browserbase";
96
+ } | {
97
+ type: "custom";
98
+ proxy: {
99
+ id: string;
100
+ server: string;
101
+ password?: string | undefined;
102
+ username?: string | undefined;
103
+ };
104
+ } | undefined;
105
+ }>;
106
+ export declare const LinkedInAcceptInvitationsToolResultSchema: z.ZodObject<{
107
+ operation: z.ZodLiteral<"accept_invitations">;
108
+ success: z.ZodBoolean;
109
+ accepted: z.ZodOptional<z.ZodArray<z.ZodObject<{
110
+ name: z.ZodString;
111
+ headline: z.ZodOptional<z.ZodString>;
112
+ mutual_connections: z.ZodOptional<z.ZodString>;
113
+ profile_url: z.ZodOptional<z.ZodString>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ name: string;
116
+ headline?: string | undefined;
117
+ profile_url?: string | undefined;
118
+ mutual_connections?: string | undefined;
119
+ }, {
120
+ name: string;
121
+ headline?: string | undefined;
122
+ profile_url?: string | undefined;
123
+ mutual_connections?: string | undefined;
124
+ }>, "many">>;
125
+ accepted_count: z.ZodOptional<z.ZodNumber>;
126
+ skipped_count: z.ZodOptional<z.ZodNumber>;
127
+ message: z.ZodOptional<z.ZodString>;
128
+ error: z.ZodString;
129
+ }, "strip", z.ZodTypeAny, {
130
+ error: string;
131
+ success: boolean;
132
+ operation: "accept_invitations";
133
+ message?: string | undefined;
134
+ accepted?: {
135
+ name: string;
136
+ headline?: string | undefined;
137
+ profile_url?: string | undefined;
138
+ mutual_connections?: string | undefined;
139
+ }[] | undefined;
140
+ accepted_count?: number | undefined;
141
+ skipped_count?: number | undefined;
142
+ }, {
143
+ error: string;
144
+ success: boolean;
145
+ operation: "accept_invitations";
146
+ message?: string | undefined;
147
+ accepted?: {
148
+ name: string;
149
+ headline?: string | undefined;
150
+ profile_url?: string | undefined;
151
+ mutual_connections?: string | undefined;
152
+ }[] | undefined;
153
+ accepted_count?: number | undefined;
154
+ skipped_count?: number | undefined;
155
+ }>;
156
+ export type LinkedInAcceptInvitationsToolParamsInput = z.input<typeof LinkedInAcceptInvitationsToolParamsSchema>;
157
+ export type LinkedInAcceptInvitationsToolResult = z.output<typeof LinkedInAcceptInvitationsToolResultSchema>;
158
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;EAOvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWpD,CAAC;AAEH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQpD,CAAC;AAEH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,yCAAyC,CACjD,CAAC;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,MAAM,CACxD,OAAO,yCAAyC,CACjD,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ import { ProxyChoiceSchema } from '../_shared/schema.js';
4
+ export const AcceptedInvitationInfoSchema = z.object({
5
+ name: z
6
+ .string()
7
+ .describe('Full name of the person whose invitation was accepted'),
8
+ headline: z.string().optional().describe('Professional headline/tagline'),
9
+ mutual_connections: z.string().optional().describe('Mutual connections info'),
10
+ profile_url: z.string().optional().describe('LinkedIn profile URL'),
11
+ });
12
+ export const LinkedInAcceptInvitationsToolParamsSchema = z.object({
13
+ operation: z.literal('accept_invitations'),
14
+ count: z
15
+ .number()
16
+ .min(1)
17
+ .max(100)
18
+ .optional()
19
+ .default(5)
20
+ .describe('Number of invitations to accept (default: 5, max: 100)'),
21
+ credentials: z.record(z.nativeEnum(CredentialType), z.string()).optional(),
22
+ proxy: ProxyChoiceSchema.optional(),
23
+ });
24
+ export const LinkedInAcceptInvitationsToolResultSchema = z.object({
25
+ operation: z.literal('accept_invitations'),
26
+ success: z.boolean(),
27
+ accepted: z.array(AcceptedInvitationInfoSchema).optional(),
28
+ accepted_count: z.number().optional(),
29
+ skipped_count: z.number().optional(),
30
+ message: z.string().optional(),
31
+ error: z.string(),
32
+ });
33
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../src/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CAAC,uDAAuD,CAAC;IACpE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IACzE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IAC7E,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CACpE,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChE,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;IAC1C,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,GAAG,CAAC;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,CAAC,CAAC;SACV,QAAQ,CAAC,wDAAwD,CAAC;IACrE,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1E,KAAK,EAAE,iBAAiB,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChE,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;IAC1C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC,QAAQ,EAAE;IAC1D,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC"}