@bubblelab/bubble-core 0.1.16 → 0.1.18

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 (115) hide show
  1. package/dist/bubble-bundle.d.ts +84 -79
  2. package/dist/bubble-factory.js +1 -1
  3. package/dist/bubble-factory.js.map +1 -1
  4. package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
  5. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  6. package/dist/bubbles/service-bubble/airtable.d.ts +152 -152
  7. package/dist/bubbles/service-bubble/apify/apify.d.ts +8 -8
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +20 -20
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +8 -8
  10. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  11. package/dist/bubbles/service-bubble/firecrawl.d.ts +140 -140
  12. package/dist/bubbles/service-bubble/followupboss.d.ts +128 -128
  13. package/dist/bubbles/service-bubble/github.d.ts +104 -104
  14. package/dist/bubbles/service-bubble/gmail.d.ts +456 -456
  15. package/dist/bubbles/service-bubble/google-calendar.d.ts +120 -120
  16. package/dist/bubbles/service-bubble/google-drive.d.ts +92 -92
  17. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
  18. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +10 -10
  19. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  20. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  21. package/dist/bubbles/service-bubble/insforge-db.d.ts +10 -10
  22. package/dist/bubbles/service-bubble/notion/notion.d.ts +76 -76
  23. package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
  24. package/dist/bubbles/service-bubble/resend.d.ts +32 -32
  25. package/dist/bubbles/service-bubble/slack/index.d.ts +3 -0
  26. package/dist/bubbles/service-bubble/slack/index.d.ts.map +1 -0
  27. package/dist/bubbles/service-bubble/slack/index.js +6 -0
  28. package/dist/bubbles/service-bubble/slack/index.js.map +1 -0
  29. package/dist/bubbles/service-bubble/slack/slack.d.ts +6812 -0
  30. package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -0
  31. package/dist/bubbles/service-bubble/slack/slack.js +1840 -0
  32. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -0
  33. package/dist/bubbles/service-bubble/slack/slack.schema.d.ts +3980 -0
  34. package/dist/bubbles/service-bubble/slack/slack.schema.d.ts.map +1 -0
  35. package/dist/bubbles/service-bubble/slack/slack.schema.js +1061 -0
  36. package/dist/bubbles/service-bubble/slack/slack.schema.js.map +1 -0
  37. package/dist/bubbles/service-bubble/slack/slack.utils.d.ts +141 -0
  38. package/dist/bubbles/service-bubble/slack/slack.utils.d.ts.map +1 -0
  39. package/dist/bubbles/service-bubble/slack/slack.utils.js +408 -0
  40. package/dist/bubbles/service-bubble/slack/slack.utils.js.map +1 -0
  41. package/dist/bubbles/service-bubble/slack.d.ts +1 -6811
  42. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -1
  43. package/dist/bubbles/service-bubble/slack.js +2 -1829
  44. package/dist/bubbles/service-bubble/slack.js.map +1 -1
  45. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  46. package/dist/bubbles/service-bubble/telegram.d.ts +246 -246
  47. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +16 -16
  48. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +6 -6
  49. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  50. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  52. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  53. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  54. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
  55. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  56. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +34 -34
  57. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  58. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  59. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  60. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  61. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
  62. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  63. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +14 -14
  64. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  65. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  67. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
  68. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
  69. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  70. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  71. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  72. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +32 -32
  73. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  74. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +8 -8
  75. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts.map +1 -1
  76. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js +2 -2
  77. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js.map +1 -1
  78. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +40 -40
  79. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  80. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js +1 -1
  81. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js.map +1 -1
  82. package/dist/bubbles.json +2 -2
  83. package/dist/index.d.ts +1 -1
  84. package/dist/index.d.ts.map +1 -1
  85. package/dist/index.js +1 -1
  86. package/dist/index.js.map +1 -1
  87. package/package.json +2 -2
  88. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.d.ts +0 -37
  89. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.d.ts.map +0 -1
  90. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.js +0 -203
  91. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.js.map +0 -1
  92. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +0 -1358
  93. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +0 -1
  94. package/dist/bubbles/service-bubble/crustdata/crustdata.js +0 -219
  95. package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +0 -1
  96. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +0 -1604
  97. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts.map +0 -1
  98. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js +0 -194
  99. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js.map +0 -1
  100. package/dist/bubbles/service-bubble/crustdata/index.d.ts +0 -3
  101. package/dist/bubbles/service-bubble/crustdata/index.d.ts.map +0 -1
  102. package/dist/bubbles/service-bubble/crustdata/index.js +0 -3
  103. package/dist/bubbles/service-bubble/crustdata/index.js.map +0 -1
  104. package/dist/bubbles/service-bubble/http.integration.flow.d.ts +0 -49
  105. package/dist/bubbles/service-bubble/http.integration.flow.d.ts.map +0 -1
  106. package/dist/bubbles/service-bubble/http.integration.flow.js +0 -425
  107. package/dist/bubbles/service-bubble/http.integration.flow.js.map +0 -1
  108. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.d.ts +0 -31
  109. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.d.ts.map +0 -1
  110. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.js +0 -100
  111. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.js.map +0 -1
  112. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +0 -740
  113. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts.map +0 -1
  114. package/dist/bubbles/tool-bubble/company-enrichment-tool.js +0 -350
  115. package/dist/bubbles/tool-bubble/company-enrichment-tool.js.map +0 -1
@@ -1,740 +0,0 @@
1
- import { z } from 'zod';
2
- import { ToolBubble } from '../../types/tool-bubble-class.js';
3
- import type { BubbleContext } from '../../types/bubble.js';
4
- import { CredentialType, type BubbleName } from '@bubblelab/shared-schemas';
5
- declare const ContactSchema: z.ZodObject<{
6
- name: z.ZodNullable<z.ZodString>;
7
- title: z.ZodNullable<z.ZodString>;
8
- headline: z.ZodNullable<z.ZodString>;
9
- linkedinUrl: z.ZodNullable<z.ZodString>;
10
- profilePictureUrl: z.ZodNullable<z.ZodString>;
11
- email: z.ZodNullable<z.ZodString>;
12
- twitterHandle: z.ZodNullable<z.ZodString>;
13
- role: z.ZodEnum<["cxo", "decision_maker", "founder"]>;
14
- location: z.ZodNullable<z.ZodString>;
15
- skills: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
16
- languages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
17
- summary: z.ZodNullable<z.ZodString>;
18
- currentEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
19
- title: z.ZodNullable<z.ZodString>;
20
- companyName: z.ZodNullable<z.ZodString>;
21
- companyLinkedinUrl: z.ZodNullable<z.ZodString>;
22
- startDate: z.ZodNullable<z.ZodString>;
23
- description: z.ZodNullable<z.ZodString>;
24
- }, "strip", z.ZodTypeAny, {
25
- description: string | null;
26
- title: string | null;
27
- companyName: string | null;
28
- companyLinkedinUrl: string | null;
29
- startDate: string | null;
30
- }, {
31
- description: string | null;
32
- title: string | null;
33
- companyName: string | null;
34
- companyLinkedinUrl: string | null;
35
- startDate: string | null;
36
- }>, "many">>;
37
- pastEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
38
- title: z.ZodNullable<z.ZodString>;
39
- companyName: z.ZodNullable<z.ZodString>;
40
- startDate: z.ZodNullable<z.ZodString>;
41
- endDate: z.ZodNullable<z.ZodString>;
42
- }, "strip", z.ZodTypeAny, {
43
- title: string | null;
44
- companyName: string | null;
45
- startDate: string | null;
46
- endDate: string | null;
47
- }, {
48
- title: string | null;
49
- companyName: string | null;
50
- startDate: string | null;
51
- endDate: string | null;
52
- }>, "many">>;
53
- education: z.ZodNullable<z.ZodArray<z.ZodObject<{
54
- instituteName: z.ZodNullable<z.ZodString>;
55
- degreeName: z.ZodNullable<z.ZodString>;
56
- fieldOfStudy: z.ZodNullable<z.ZodString>;
57
- }, "strip", z.ZodTypeAny, {
58
- instituteName: string | null;
59
- degreeName: string | null;
60
- fieldOfStudy: string | null;
61
- }, {
62
- instituteName: string | null;
63
- degreeName: string | null;
64
- fieldOfStudy: string | null;
65
- }>, "many">>;
66
- }, "strip", z.ZodTypeAny, {
67
- title: string | null;
68
- name: string | null;
69
- email: string | null;
70
- location: string | null;
71
- headline: string | null;
72
- skills: string[] | null;
73
- languages: string[] | null;
74
- summary: string | null;
75
- education: {
76
- instituteName: string | null;
77
- degreeName: string | null;
78
- fieldOfStudy: string | null;
79
- }[] | null;
80
- linkedinUrl: string | null;
81
- profilePictureUrl: string | null;
82
- twitterHandle: string | null;
83
- role: "cxo" | "decision_maker" | "founder";
84
- currentEmployment: {
85
- description: string | null;
86
- title: string | null;
87
- companyName: string | null;
88
- companyLinkedinUrl: string | null;
89
- startDate: string | null;
90
- }[] | null;
91
- pastEmployment: {
92
- title: string | null;
93
- companyName: string | null;
94
- startDate: string | null;
95
- endDate: string | null;
96
- }[] | null;
97
- }, {
98
- title: string | null;
99
- name: string | null;
100
- email: string | null;
101
- location: string | null;
102
- headline: string | null;
103
- skills: string[] | null;
104
- languages: string[] | null;
105
- summary: string | null;
106
- education: {
107
- instituteName: string | null;
108
- degreeName: string | null;
109
- fieldOfStudy: string | null;
110
- }[] | null;
111
- linkedinUrl: string | null;
112
- profilePictureUrl: string | null;
113
- twitterHandle: string | null;
114
- role: "cxo" | "decision_maker" | "founder";
115
- currentEmployment: {
116
- description: string | null;
117
- title: string | null;
118
- companyName: string | null;
119
- companyLinkedinUrl: string | null;
120
- startDate: string | null;
121
- }[] | null;
122
- pastEmployment: {
123
- title: string | null;
124
- companyName: string | null;
125
- startDate: string | null;
126
- endDate: string | null;
127
- }[] | null;
128
- }>;
129
- declare const CompanyEnrichmentToolParamsSchema: z.ZodObject<{
130
- companyIdentifier: z.ZodString;
131
- limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
132
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
133
- }, "strip", z.ZodTypeAny, {
134
- companyIdentifier: string;
135
- credentials?: Partial<Record<CredentialType, string>> | undefined;
136
- limit?: number | undefined;
137
- }, {
138
- companyIdentifier: string;
139
- credentials?: Partial<Record<CredentialType, string>> | undefined;
140
- limit?: number | undefined;
141
- }>;
142
- declare const CompanyEnrichmentToolResultSchema: z.ZodObject<{
143
- contacts: z.ZodArray<z.ZodObject<{
144
- name: z.ZodNullable<z.ZodString>;
145
- title: z.ZodNullable<z.ZodString>;
146
- headline: z.ZodNullable<z.ZodString>;
147
- linkedinUrl: z.ZodNullable<z.ZodString>;
148
- profilePictureUrl: z.ZodNullable<z.ZodString>;
149
- email: z.ZodNullable<z.ZodString>;
150
- twitterHandle: z.ZodNullable<z.ZodString>;
151
- role: z.ZodEnum<["cxo", "decision_maker", "founder"]>;
152
- location: z.ZodNullable<z.ZodString>;
153
- skills: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
154
- languages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
155
- summary: z.ZodNullable<z.ZodString>;
156
- currentEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
157
- title: z.ZodNullable<z.ZodString>;
158
- companyName: z.ZodNullable<z.ZodString>;
159
- companyLinkedinUrl: z.ZodNullable<z.ZodString>;
160
- startDate: z.ZodNullable<z.ZodString>;
161
- description: z.ZodNullable<z.ZodString>;
162
- }, "strip", z.ZodTypeAny, {
163
- description: string | null;
164
- title: string | null;
165
- companyName: string | null;
166
- companyLinkedinUrl: string | null;
167
- startDate: string | null;
168
- }, {
169
- description: string | null;
170
- title: string | null;
171
- companyName: string | null;
172
- companyLinkedinUrl: string | null;
173
- startDate: string | null;
174
- }>, "many">>;
175
- pastEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
176
- title: z.ZodNullable<z.ZodString>;
177
- companyName: z.ZodNullable<z.ZodString>;
178
- startDate: z.ZodNullable<z.ZodString>;
179
- endDate: z.ZodNullable<z.ZodString>;
180
- }, "strip", z.ZodTypeAny, {
181
- title: string | null;
182
- companyName: string | null;
183
- startDate: string | null;
184
- endDate: string | null;
185
- }, {
186
- title: string | null;
187
- companyName: string | null;
188
- startDate: string | null;
189
- endDate: string | null;
190
- }>, "many">>;
191
- education: z.ZodNullable<z.ZodArray<z.ZodObject<{
192
- instituteName: z.ZodNullable<z.ZodString>;
193
- degreeName: z.ZodNullable<z.ZodString>;
194
- fieldOfStudy: z.ZodNullable<z.ZodString>;
195
- }, "strip", z.ZodTypeAny, {
196
- instituteName: string | null;
197
- degreeName: string | null;
198
- fieldOfStudy: string | null;
199
- }, {
200
- instituteName: string | null;
201
- degreeName: string | null;
202
- fieldOfStudy: string | null;
203
- }>, "many">>;
204
- }, "strip", z.ZodTypeAny, {
205
- title: string | null;
206
- name: string | null;
207
- email: string | null;
208
- location: string | null;
209
- headline: string | null;
210
- skills: string[] | null;
211
- languages: string[] | null;
212
- summary: string | null;
213
- education: {
214
- instituteName: string | null;
215
- degreeName: string | null;
216
- fieldOfStudy: string | null;
217
- }[] | null;
218
- linkedinUrl: string | null;
219
- profilePictureUrl: string | null;
220
- twitterHandle: string | null;
221
- role: "cxo" | "decision_maker" | "founder";
222
- currentEmployment: {
223
- description: string | null;
224
- title: string | null;
225
- companyName: string | null;
226
- companyLinkedinUrl: string | null;
227
- startDate: string | null;
228
- }[] | null;
229
- pastEmployment: {
230
- title: string | null;
231
- companyName: string | null;
232
- startDate: string | null;
233
- endDate: string | null;
234
- }[] | null;
235
- }, {
236
- title: string | null;
237
- name: string | null;
238
- email: string | null;
239
- location: string | null;
240
- headline: string | null;
241
- skills: string[] | null;
242
- languages: string[] | null;
243
- summary: string | null;
244
- education: {
245
- instituteName: string | null;
246
- degreeName: string | null;
247
- fieldOfStudy: string | null;
248
- }[] | null;
249
- linkedinUrl: string | null;
250
- profilePictureUrl: string | null;
251
- twitterHandle: string | null;
252
- role: "cxo" | "decision_maker" | "founder";
253
- currentEmployment: {
254
- description: string | null;
255
- title: string | null;
256
- companyName: string | null;
257
- companyLinkedinUrl: string | null;
258
- startDate: string | null;
259
- }[] | null;
260
- pastEmployment: {
261
- title: string | null;
262
- companyName: string | null;
263
- startDate: string | null;
264
- endDate: string | null;
265
- }[] | null;
266
- }>, "many">;
267
- company: z.ZodNullable<z.ZodObject<{
268
- name: z.ZodNullable<z.ZodString>;
269
- linkedinUrl: z.ZodNullable<z.ZodString>;
270
- website: z.ZodNullable<z.ZodString>;
271
- industry: z.ZodNullable<z.ZodString>;
272
- description: z.ZodNullable<z.ZodString>;
273
- headcount: z.ZodNullable<z.ZodNumber>;
274
- hqCity: z.ZodNullable<z.ZodString>;
275
- hqCountry: z.ZodNullable<z.ZodString>;
276
- yearFounded: z.ZodNullable<z.ZodNumber>;
277
- fundingStage: z.ZodNullable<z.ZodString>;
278
- totalFunding: z.ZodNullable<z.ZodString>;
279
- }, "strip", z.ZodTypeAny, {
280
- description: string | null;
281
- name: string | null;
282
- website: string | null;
283
- headcount: number | null;
284
- industry: string | null;
285
- linkedinUrl: string | null;
286
- hqCity: string | null;
287
- hqCountry: string | null;
288
- yearFounded: number | null;
289
- fundingStage: string | null;
290
- totalFunding: string | null;
291
- }, {
292
- description: string | null;
293
- name: string | null;
294
- website: string | null;
295
- headcount: number | null;
296
- industry: string | null;
297
- linkedinUrl: string | null;
298
- hqCity: string | null;
299
- hqCountry: string | null;
300
- yearFounded: number | null;
301
- fundingStage: string | null;
302
- totalFunding: string | null;
303
- }>>;
304
- totalContacts: z.ZodNumber;
305
- success: z.ZodBoolean;
306
- error: z.ZodString;
307
- }, "strip", z.ZodTypeAny, {
308
- success: boolean;
309
- error: string;
310
- company: {
311
- description: string | null;
312
- name: string | null;
313
- website: string | null;
314
- headcount: number | null;
315
- industry: string | null;
316
- linkedinUrl: string | null;
317
- hqCity: string | null;
318
- hqCountry: string | null;
319
- yearFounded: number | null;
320
- fundingStage: string | null;
321
- totalFunding: string | null;
322
- } | null;
323
- contacts: {
324
- title: string | null;
325
- name: string | null;
326
- email: string | null;
327
- location: string | null;
328
- headline: string | null;
329
- skills: string[] | null;
330
- languages: string[] | null;
331
- summary: string | null;
332
- education: {
333
- instituteName: string | null;
334
- degreeName: string | null;
335
- fieldOfStudy: string | null;
336
- }[] | null;
337
- linkedinUrl: string | null;
338
- profilePictureUrl: string | null;
339
- twitterHandle: string | null;
340
- role: "cxo" | "decision_maker" | "founder";
341
- currentEmployment: {
342
- description: string | null;
343
- title: string | null;
344
- companyName: string | null;
345
- companyLinkedinUrl: string | null;
346
- startDate: string | null;
347
- }[] | null;
348
- pastEmployment: {
349
- title: string | null;
350
- companyName: string | null;
351
- startDate: string | null;
352
- endDate: string | null;
353
- }[] | null;
354
- }[];
355
- totalContacts: number;
356
- }, {
357
- success: boolean;
358
- error: string;
359
- company: {
360
- description: string | null;
361
- name: string | null;
362
- website: string | null;
363
- headcount: number | null;
364
- industry: string | null;
365
- linkedinUrl: string | null;
366
- hqCity: string | null;
367
- hqCountry: string | null;
368
- yearFounded: number | null;
369
- fundingStage: string | null;
370
- totalFunding: string | null;
371
- } | null;
372
- contacts: {
373
- title: string | null;
374
- name: string | null;
375
- email: string | null;
376
- location: string | null;
377
- headline: string | null;
378
- skills: string[] | null;
379
- languages: string[] | null;
380
- summary: string | null;
381
- education: {
382
- instituteName: string | null;
383
- degreeName: string | null;
384
- fieldOfStudy: string | null;
385
- }[] | null;
386
- linkedinUrl: string | null;
387
- profilePictureUrl: string | null;
388
- twitterHandle: string | null;
389
- role: "cxo" | "decision_maker" | "founder";
390
- currentEmployment: {
391
- description: string | null;
392
- title: string | null;
393
- companyName: string | null;
394
- companyLinkedinUrl: string | null;
395
- startDate: string | null;
396
- }[] | null;
397
- pastEmployment: {
398
- title: string | null;
399
- companyName: string | null;
400
- startDate: string | null;
401
- endDate: string | null;
402
- }[] | null;
403
- }[];
404
- totalContacts: number;
405
- }>;
406
- type CompanyEnrichmentToolParams = z.output<typeof CompanyEnrichmentToolParamsSchema>;
407
- type CompanyEnrichmentToolResult = z.output<typeof CompanyEnrichmentToolResultSchema>;
408
- type CompanyEnrichmentToolParamsInput = z.input<typeof CompanyEnrichmentToolParamsSchema>;
409
- export type Contact = z.output<typeof ContactSchema>;
410
- export type CompanyEnrichmentResult = CompanyEnrichmentToolResult;
411
- /**
412
- * Company Enrichment Tool
413
- *
414
- * Agent-friendly tool for company enrichment and lead generation.
415
- * Takes a simple company identifier (name, domain, or LinkedIn URL)
416
- * and returns key contacts with full profiles.
417
- *
418
- * Features:
419
- * - Auto-detects identifier type (name, domain, LinkedIn URL)
420
- * - Returns CXOs, decision makers, and founders
421
- * - Full contact profiles with work history and education
422
- * - Prioritized results (CXOs first, then decision makers, then founders)
423
- *
424
- * Uses CrustdataBubble under the hood with a two-step process:
425
- * 1. Identify company (FREE) to get company_id
426
- * 2. Enrich company (1 credit) to get contacts
427
- */
428
- export declare class CompanyEnrichmentTool extends ToolBubble<CompanyEnrichmentToolParams, CompanyEnrichmentToolResult> {
429
- static readonly bubbleName: BubbleName;
430
- static readonly schema: z.ZodObject<{
431
- companyIdentifier: z.ZodString;
432
- limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
433
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
434
- }, "strip", z.ZodTypeAny, {
435
- companyIdentifier: string;
436
- credentials?: Partial<Record<CredentialType, string>> | undefined;
437
- limit?: number | undefined;
438
- }, {
439
- companyIdentifier: string;
440
- credentials?: Partial<Record<CredentialType, string>> | undefined;
441
- limit?: number | undefined;
442
- }>;
443
- static readonly resultSchema: z.ZodObject<{
444
- contacts: z.ZodArray<z.ZodObject<{
445
- name: z.ZodNullable<z.ZodString>;
446
- title: z.ZodNullable<z.ZodString>;
447
- headline: z.ZodNullable<z.ZodString>;
448
- linkedinUrl: z.ZodNullable<z.ZodString>;
449
- profilePictureUrl: z.ZodNullable<z.ZodString>;
450
- email: z.ZodNullable<z.ZodString>;
451
- twitterHandle: z.ZodNullable<z.ZodString>;
452
- role: z.ZodEnum<["cxo", "decision_maker", "founder"]>;
453
- location: z.ZodNullable<z.ZodString>;
454
- skills: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
455
- languages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
456
- summary: z.ZodNullable<z.ZodString>;
457
- currentEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
458
- title: z.ZodNullable<z.ZodString>;
459
- companyName: z.ZodNullable<z.ZodString>;
460
- companyLinkedinUrl: z.ZodNullable<z.ZodString>;
461
- startDate: z.ZodNullable<z.ZodString>;
462
- description: z.ZodNullable<z.ZodString>;
463
- }, "strip", z.ZodTypeAny, {
464
- description: string | null;
465
- title: string | null;
466
- companyName: string | null;
467
- companyLinkedinUrl: string | null;
468
- startDate: string | null;
469
- }, {
470
- description: string | null;
471
- title: string | null;
472
- companyName: string | null;
473
- companyLinkedinUrl: string | null;
474
- startDate: string | null;
475
- }>, "many">>;
476
- pastEmployment: z.ZodNullable<z.ZodArray<z.ZodObject<{
477
- title: z.ZodNullable<z.ZodString>;
478
- companyName: z.ZodNullable<z.ZodString>;
479
- startDate: z.ZodNullable<z.ZodString>;
480
- endDate: z.ZodNullable<z.ZodString>;
481
- }, "strip", z.ZodTypeAny, {
482
- title: string | null;
483
- companyName: string | null;
484
- startDate: string | null;
485
- endDate: string | null;
486
- }, {
487
- title: string | null;
488
- companyName: string | null;
489
- startDate: string | null;
490
- endDate: string | null;
491
- }>, "many">>;
492
- education: z.ZodNullable<z.ZodArray<z.ZodObject<{
493
- instituteName: z.ZodNullable<z.ZodString>;
494
- degreeName: z.ZodNullable<z.ZodString>;
495
- fieldOfStudy: z.ZodNullable<z.ZodString>;
496
- }, "strip", z.ZodTypeAny, {
497
- instituteName: string | null;
498
- degreeName: string | null;
499
- fieldOfStudy: string | null;
500
- }, {
501
- instituteName: string | null;
502
- degreeName: string | null;
503
- fieldOfStudy: string | null;
504
- }>, "many">>;
505
- }, "strip", z.ZodTypeAny, {
506
- title: string | null;
507
- name: string | null;
508
- email: string | null;
509
- location: string | null;
510
- headline: string | null;
511
- skills: string[] | null;
512
- languages: string[] | null;
513
- summary: string | null;
514
- education: {
515
- instituteName: string | null;
516
- degreeName: string | null;
517
- fieldOfStudy: string | null;
518
- }[] | null;
519
- linkedinUrl: string | null;
520
- profilePictureUrl: string | null;
521
- twitterHandle: string | null;
522
- role: "cxo" | "decision_maker" | "founder";
523
- currentEmployment: {
524
- description: string | null;
525
- title: string | null;
526
- companyName: string | null;
527
- companyLinkedinUrl: string | null;
528
- startDate: string | null;
529
- }[] | null;
530
- pastEmployment: {
531
- title: string | null;
532
- companyName: string | null;
533
- startDate: string | null;
534
- endDate: string | null;
535
- }[] | null;
536
- }, {
537
- title: string | null;
538
- name: string | null;
539
- email: string | null;
540
- location: string | null;
541
- headline: string | null;
542
- skills: string[] | null;
543
- languages: string[] | null;
544
- summary: string | null;
545
- education: {
546
- instituteName: string | null;
547
- degreeName: string | null;
548
- fieldOfStudy: string | null;
549
- }[] | null;
550
- linkedinUrl: string | null;
551
- profilePictureUrl: string | null;
552
- twitterHandle: string | null;
553
- role: "cxo" | "decision_maker" | "founder";
554
- currentEmployment: {
555
- description: string | null;
556
- title: string | null;
557
- companyName: string | null;
558
- companyLinkedinUrl: string | null;
559
- startDate: string | null;
560
- }[] | null;
561
- pastEmployment: {
562
- title: string | null;
563
- companyName: string | null;
564
- startDate: string | null;
565
- endDate: string | null;
566
- }[] | null;
567
- }>, "many">;
568
- company: z.ZodNullable<z.ZodObject<{
569
- name: z.ZodNullable<z.ZodString>;
570
- linkedinUrl: z.ZodNullable<z.ZodString>;
571
- website: z.ZodNullable<z.ZodString>;
572
- industry: z.ZodNullable<z.ZodString>;
573
- description: z.ZodNullable<z.ZodString>;
574
- headcount: z.ZodNullable<z.ZodNumber>;
575
- hqCity: z.ZodNullable<z.ZodString>;
576
- hqCountry: z.ZodNullable<z.ZodString>;
577
- yearFounded: z.ZodNullable<z.ZodNumber>;
578
- fundingStage: z.ZodNullable<z.ZodString>;
579
- totalFunding: z.ZodNullable<z.ZodString>;
580
- }, "strip", z.ZodTypeAny, {
581
- description: string | null;
582
- name: string | null;
583
- website: string | null;
584
- headcount: number | null;
585
- industry: string | null;
586
- linkedinUrl: string | null;
587
- hqCity: string | null;
588
- hqCountry: string | null;
589
- yearFounded: number | null;
590
- fundingStage: string | null;
591
- totalFunding: string | null;
592
- }, {
593
- description: string | null;
594
- name: string | null;
595
- website: string | null;
596
- headcount: number | null;
597
- industry: string | null;
598
- linkedinUrl: string | null;
599
- hqCity: string | null;
600
- hqCountry: string | null;
601
- yearFounded: number | null;
602
- fundingStage: string | null;
603
- totalFunding: string | null;
604
- }>>;
605
- totalContacts: z.ZodNumber;
606
- success: z.ZodBoolean;
607
- error: z.ZodString;
608
- }, "strip", z.ZodTypeAny, {
609
- success: boolean;
610
- error: string;
611
- company: {
612
- description: string | null;
613
- name: string | null;
614
- website: string | null;
615
- headcount: number | null;
616
- industry: string | null;
617
- linkedinUrl: string | null;
618
- hqCity: string | null;
619
- hqCountry: string | null;
620
- yearFounded: number | null;
621
- fundingStage: string | null;
622
- totalFunding: string | null;
623
- } | null;
624
- contacts: {
625
- title: string | null;
626
- name: string | null;
627
- email: string | null;
628
- location: string | null;
629
- headline: string | null;
630
- skills: string[] | null;
631
- languages: string[] | null;
632
- summary: string | null;
633
- education: {
634
- instituteName: string | null;
635
- degreeName: string | null;
636
- fieldOfStudy: string | null;
637
- }[] | null;
638
- linkedinUrl: string | null;
639
- profilePictureUrl: string | null;
640
- twitterHandle: string | null;
641
- role: "cxo" | "decision_maker" | "founder";
642
- currentEmployment: {
643
- description: string | null;
644
- title: string | null;
645
- companyName: string | null;
646
- companyLinkedinUrl: string | null;
647
- startDate: string | null;
648
- }[] | null;
649
- pastEmployment: {
650
- title: string | null;
651
- companyName: string | null;
652
- startDate: string | null;
653
- endDate: string | null;
654
- }[] | null;
655
- }[];
656
- totalContacts: number;
657
- }, {
658
- success: boolean;
659
- error: string;
660
- company: {
661
- description: string | null;
662
- name: string | null;
663
- website: string | null;
664
- headcount: number | null;
665
- industry: string | null;
666
- linkedinUrl: string | null;
667
- hqCity: string | null;
668
- hqCountry: string | null;
669
- yearFounded: number | null;
670
- fundingStage: string | null;
671
- totalFunding: string | null;
672
- } | null;
673
- contacts: {
674
- title: string | null;
675
- name: string | null;
676
- email: string | null;
677
- location: string | null;
678
- headline: string | null;
679
- skills: string[] | null;
680
- languages: string[] | null;
681
- summary: string | null;
682
- education: {
683
- instituteName: string | null;
684
- degreeName: string | null;
685
- fieldOfStudy: string | null;
686
- }[] | null;
687
- linkedinUrl: string | null;
688
- profilePictureUrl: string | null;
689
- twitterHandle: string | null;
690
- role: "cxo" | "decision_maker" | "founder";
691
- currentEmployment: {
692
- description: string | null;
693
- title: string | null;
694
- companyName: string | null;
695
- companyLinkedinUrl: string | null;
696
- startDate: string | null;
697
- }[] | null;
698
- pastEmployment: {
699
- title: string | null;
700
- companyName: string | null;
701
- startDate: string | null;
702
- endDate: string | null;
703
- }[] | null;
704
- }[];
705
- totalContacts: number;
706
- }>;
707
- static readonly shortDescription = "Get key contacts (executives, decision makers) from any company for lead generation";
708
- static readonly longDescription = "\n Company enrichment tool for lead generation and sales prospecting.\n\n **SIMPLE INTERFACE:**\n Just provide a company name, domain, or LinkedIn URL to get key contacts.\n The tool automatically:\n - Detects the identifier type\n - Identifies the company\n - Enriches with contact data\n - Returns prioritized contacts (CXOs first)\n\n **WHAT YOU GET:**\n - Contact names and titles\n - LinkedIn profiles and email addresses\n - Work history and education\n - Skills and professional summary\n\n **CONTACT TYPES (prioritized):**\n 1. CXOs - C-level executives (CEO, CTO, CFO, etc.)\n 2. Decision makers - VP, Director, Head of, etc.\n 3. Founders - Company founders\n\n **USE CASES:**\n - Sales prospecting - find decision makers to reach out to\n - Lead generation - build contact lists for outreach\n - Company research - understand company leadership\n - Competitive intelligence - track competitor executives\n - Partnership opportunities - find the right contacts\n\n **EXAMPLES:**\n - \"stripe.com\" - get contacts from Stripe\n - \"Anthropic\" - search by company name\n - \"https://www.linkedin.com/company/openai\" - use LinkedIn URL\n\n **CREDITS:**\n - Identify operation: FREE\n - Enrich operation: 1 credit per company\n ";
709
- static readonly alias = "enrich";
710
- static readonly type = "tool";
711
- constructor(params?: CompanyEnrichmentToolParamsInput, context?: BubbleContext);
712
- performAction(): Promise<CompanyEnrichmentToolResult>;
713
- /**
714
- * Detect identifier type from the input string
715
- */
716
- private detectIdentifierType;
717
- /**
718
- * Build identify params based on identifier type
719
- */
720
- private buildIdentifyParams;
721
- /**
722
- * Transform and merge contacts from different sources
723
- * Priority: CXOs > Decision Makers > Founders
724
- */
725
- private transformContacts;
726
- /**
727
- * Transform a single profile to Contact format
728
- */
729
- private transformProfile;
730
- /**
731
- * Transform company info to output format
732
- */
733
- private transformCompanyInfo;
734
- /**
735
- * Create an error result
736
- */
737
- private createErrorResult;
738
- }
739
- export {};
740
- //# sourceMappingURL=company-enrichment-tool.d.ts.map