@bubblelab/bubble-core 0.1.99 → 0.1.101
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.
- package/dist/bubble-bundle.d.ts +166 -126
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +56 -56
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/airtable.d.ts +98 -98
- package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +68 -68
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +92 -92
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +22 -22
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +155 -155
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +32 -32
- package/dist/bubbles/service-bubble/firecrawl.d.ts +388 -388
- package/dist/bubbles/service-bubble/followupboss.d.ts +376 -376
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +78 -78
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/github.d.ts +140 -140
- package/dist/bubbles/service-bubble/gmail.d.ts +172 -172
- package/dist/bubbles/service-bubble/google-calendar.d.ts +36 -36
- package/dist/bubbles/service-bubble/google-drive.d.ts +84 -84
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +32 -32
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +36 -36
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +70 -70
- package/dist/bubbles/service-bubble/notion/notion.d.ts +126 -126
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +12 -12
- package/dist/bubbles/service-bubble/slack/slack.d.ts +633 -633
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +68 -68
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +141 -141
- package/dist/bubbles/service-bubble/telegram.d.ts +976 -976
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +15 -15
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +40 -40
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +38 -38
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +475 -475
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +166 -166
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +42 -42
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +68 -68
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +194 -194
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +516 -0
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/yc-scraper-tool.js +317 -0
- package/dist/bubbles/tool-bubble/yc-scraper-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +40 -40
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +244 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,516 @@
|
|
|
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 YCFounderSchema: z.ZodObject<{
|
|
6
|
+
name: z.ZodNullable<z.ZodString>;
|
|
7
|
+
title: z.ZodNullable<z.ZodString>;
|
|
8
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
9
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
10
|
+
twitterUrl: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
title: string | null;
|
|
13
|
+
name: string | null;
|
|
14
|
+
linkedinUrl: string | null;
|
|
15
|
+
twitterUrl: string | null;
|
|
16
|
+
bio: string | null;
|
|
17
|
+
}, {
|
|
18
|
+
title: string | null;
|
|
19
|
+
name: string | null;
|
|
20
|
+
linkedinUrl: string | null;
|
|
21
|
+
twitterUrl: string | null;
|
|
22
|
+
bio: string | null;
|
|
23
|
+
}>;
|
|
24
|
+
declare const YCCompanySchema: z.ZodObject<{
|
|
25
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
26
|
+
description: z.ZodNullable<z.ZodString>;
|
|
27
|
+
batch: z.ZodNullable<z.ZodString>;
|
|
28
|
+
website: z.ZodNullable<z.ZodString>;
|
|
29
|
+
ycUrl: z.ZodNullable<z.ZodString>;
|
|
30
|
+
founders: z.ZodArray<z.ZodObject<{
|
|
31
|
+
name: z.ZodNullable<z.ZodString>;
|
|
32
|
+
title: z.ZodNullable<z.ZodString>;
|
|
33
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
34
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
35
|
+
twitterUrl: z.ZodNullable<z.ZodString>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
title: string | null;
|
|
38
|
+
name: string | null;
|
|
39
|
+
linkedinUrl: string | null;
|
|
40
|
+
twitterUrl: string | null;
|
|
41
|
+
bio: string | null;
|
|
42
|
+
}, {
|
|
43
|
+
title: string | null;
|
|
44
|
+
name: string | null;
|
|
45
|
+
linkedinUrl: string | null;
|
|
46
|
+
twitterUrl: string | null;
|
|
47
|
+
bio: string | null;
|
|
48
|
+
}>, "many">;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
batch: string | null;
|
|
51
|
+
description: string | null;
|
|
52
|
+
companyName: string | null;
|
|
53
|
+
website: string | null;
|
|
54
|
+
ycUrl: string | null;
|
|
55
|
+
founders: {
|
|
56
|
+
title: string | null;
|
|
57
|
+
name: string | null;
|
|
58
|
+
linkedinUrl: string | null;
|
|
59
|
+
twitterUrl: string | null;
|
|
60
|
+
bio: string | null;
|
|
61
|
+
}[];
|
|
62
|
+
}, {
|
|
63
|
+
batch: string | null;
|
|
64
|
+
description: string | null;
|
|
65
|
+
companyName: string | null;
|
|
66
|
+
website: string | null;
|
|
67
|
+
ycUrl: string | null;
|
|
68
|
+
founders: {
|
|
69
|
+
title: string | null;
|
|
70
|
+
name: string | null;
|
|
71
|
+
linkedinUrl: string | null;
|
|
72
|
+
twitterUrl: string | null;
|
|
73
|
+
bio: string | null;
|
|
74
|
+
}[];
|
|
75
|
+
}>;
|
|
76
|
+
declare const YCPersonSchema: z.ZodObject<{
|
|
77
|
+
name: z.ZodNullable<z.ZodString>;
|
|
78
|
+
title: z.ZodNullable<z.ZodString>;
|
|
79
|
+
currentEmployers: z.ZodArray<z.ZodObject<{
|
|
80
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
companyName: string | null;
|
|
83
|
+
}, {
|
|
84
|
+
companyName: string | null;
|
|
85
|
+
}>, "many">;
|
|
86
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
87
|
+
twitterUrl: z.ZodNullable<z.ZodString>;
|
|
88
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
89
|
+
emails: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
title: string | null;
|
|
92
|
+
name: string | null;
|
|
93
|
+
currentEmployers: {
|
|
94
|
+
companyName: string | null;
|
|
95
|
+
}[];
|
|
96
|
+
linkedinUrl: string | null;
|
|
97
|
+
twitterUrl: string | null;
|
|
98
|
+
bio: string | null;
|
|
99
|
+
emails: string[] | null;
|
|
100
|
+
}, {
|
|
101
|
+
title: string | null;
|
|
102
|
+
name: string | null;
|
|
103
|
+
currentEmployers: {
|
|
104
|
+
companyName: string | null;
|
|
105
|
+
}[];
|
|
106
|
+
linkedinUrl: string | null;
|
|
107
|
+
twitterUrl: string | null;
|
|
108
|
+
bio: string | null;
|
|
109
|
+
emails: string[] | null;
|
|
110
|
+
}>;
|
|
111
|
+
declare const YCScraperToolParamsSchema: z.ZodObject<{
|
|
112
|
+
batch: z.ZodOptional<z.ZodString>;
|
|
113
|
+
url: z.ZodOptional<z.ZodString>;
|
|
114
|
+
maxCompanies: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
115
|
+
includeFounders: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
116
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
batch?: string | undefined;
|
|
119
|
+
url?: string | undefined;
|
|
120
|
+
maxCompanies?: number | undefined;
|
|
121
|
+
includeFounders?: boolean | undefined;
|
|
122
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
batch?: string | undefined;
|
|
125
|
+
url?: string | undefined;
|
|
126
|
+
maxCompanies?: number | undefined;
|
|
127
|
+
includeFounders?: boolean | undefined;
|
|
128
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
129
|
+
}>;
|
|
130
|
+
declare const YCScraperToolResultSchema: z.ZodObject<{
|
|
131
|
+
people: z.ZodArray<z.ZodObject<{
|
|
132
|
+
name: z.ZodNullable<z.ZodString>;
|
|
133
|
+
title: z.ZodNullable<z.ZodString>;
|
|
134
|
+
currentEmployers: z.ZodArray<z.ZodObject<{
|
|
135
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
companyName: string | null;
|
|
138
|
+
}, {
|
|
139
|
+
companyName: string | null;
|
|
140
|
+
}>, "many">;
|
|
141
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
142
|
+
twitterUrl: z.ZodNullable<z.ZodString>;
|
|
143
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
144
|
+
emails: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
title: string | null;
|
|
147
|
+
name: string | null;
|
|
148
|
+
currentEmployers: {
|
|
149
|
+
companyName: string | null;
|
|
150
|
+
}[];
|
|
151
|
+
linkedinUrl: string | null;
|
|
152
|
+
twitterUrl: string | null;
|
|
153
|
+
bio: string | null;
|
|
154
|
+
emails: string[] | null;
|
|
155
|
+
}, {
|
|
156
|
+
title: string | null;
|
|
157
|
+
name: string | null;
|
|
158
|
+
currentEmployers: {
|
|
159
|
+
companyName: string | null;
|
|
160
|
+
}[];
|
|
161
|
+
linkedinUrl: string | null;
|
|
162
|
+
twitterUrl: string | null;
|
|
163
|
+
bio: string | null;
|
|
164
|
+
emails: string[] | null;
|
|
165
|
+
}>, "many">;
|
|
166
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
167
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
168
|
+
description: z.ZodNullable<z.ZodString>;
|
|
169
|
+
batch: z.ZodNullable<z.ZodString>;
|
|
170
|
+
website: z.ZodNullable<z.ZodString>;
|
|
171
|
+
ycUrl: z.ZodNullable<z.ZodString>;
|
|
172
|
+
founders: z.ZodArray<z.ZodObject<{
|
|
173
|
+
name: z.ZodNullable<z.ZodString>;
|
|
174
|
+
title: z.ZodNullable<z.ZodString>;
|
|
175
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
176
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
177
|
+
twitterUrl: z.ZodNullable<z.ZodString>;
|
|
178
|
+
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
title: string | null;
|
|
180
|
+
name: string | null;
|
|
181
|
+
linkedinUrl: string | null;
|
|
182
|
+
twitterUrl: string | null;
|
|
183
|
+
bio: string | null;
|
|
184
|
+
}, {
|
|
185
|
+
title: string | null;
|
|
186
|
+
name: string | null;
|
|
187
|
+
linkedinUrl: string | null;
|
|
188
|
+
twitterUrl: string | null;
|
|
189
|
+
bio: string | null;
|
|
190
|
+
}>, "many">;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
batch: string | null;
|
|
193
|
+
description: string | null;
|
|
194
|
+
companyName: string | null;
|
|
195
|
+
website: string | null;
|
|
196
|
+
ycUrl: string | null;
|
|
197
|
+
founders: {
|
|
198
|
+
title: string | null;
|
|
199
|
+
name: string | null;
|
|
200
|
+
linkedinUrl: string | null;
|
|
201
|
+
twitterUrl: string | null;
|
|
202
|
+
bio: string | null;
|
|
203
|
+
}[];
|
|
204
|
+
}, {
|
|
205
|
+
batch: string | null;
|
|
206
|
+
description: string | null;
|
|
207
|
+
companyName: string | null;
|
|
208
|
+
website: string | null;
|
|
209
|
+
ycUrl: string | null;
|
|
210
|
+
founders: {
|
|
211
|
+
title: string | null;
|
|
212
|
+
name: string | null;
|
|
213
|
+
linkedinUrl: string | null;
|
|
214
|
+
twitterUrl: string | null;
|
|
215
|
+
bio: string | null;
|
|
216
|
+
}[];
|
|
217
|
+
}>, "many">;
|
|
218
|
+
totalPeople: z.ZodNumber;
|
|
219
|
+
totalCompanies: z.ZodNumber;
|
|
220
|
+
batch: z.ZodNullable<z.ZodString>;
|
|
221
|
+
url: z.ZodNullable<z.ZodString>;
|
|
222
|
+
success: z.ZodBoolean;
|
|
223
|
+
error: z.ZodString;
|
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
|
225
|
+
batch: string | null;
|
|
226
|
+
url: string | null;
|
|
227
|
+
people: {
|
|
228
|
+
title: string | null;
|
|
229
|
+
name: string | null;
|
|
230
|
+
currentEmployers: {
|
|
231
|
+
companyName: string | null;
|
|
232
|
+
}[];
|
|
233
|
+
linkedinUrl: string | null;
|
|
234
|
+
twitterUrl: string | null;
|
|
235
|
+
bio: string | null;
|
|
236
|
+
emails: string[] | null;
|
|
237
|
+
}[];
|
|
238
|
+
companies: {
|
|
239
|
+
batch: string | null;
|
|
240
|
+
description: string | null;
|
|
241
|
+
companyName: string | null;
|
|
242
|
+
website: string | null;
|
|
243
|
+
ycUrl: string | null;
|
|
244
|
+
founders: {
|
|
245
|
+
title: string | null;
|
|
246
|
+
name: string | null;
|
|
247
|
+
linkedinUrl: string | null;
|
|
248
|
+
twitterUrl: string | null;
|
|
249
|
+
bio: string | null;
|
|
250
|
+
}[];
|
|
251
|
+
}[];
|
|
252
|
+
totalPeople: number;
|
|
253
|
+
totalCompanies: number;
|
|
254
|
+
success: boolean;
|
|
255
|
+
error: string;
|
|
256
|
+
}, {
|
|
257
|
+
batch: string | null;
|
|
258
|
+
url: string | null;
|
|
259
|
+
people: {
|
|
260
|
+
title: string | null;
|
|
261
|
+
name: string | null;
|
|
262
|
+
currentEmployers: {
|
|
263
|
+
companyName: string | null;
|
|
264
|
+
}[];
|
|
265
|
+
linkedinUrl: string | null;
|
|
266
|
+
twitterUrl: string | null;
|
|
267
|
+
bio: string | null;
|
|
268
|
+
emails: string[] | null;
|
|
269
|
+
}[];
|
|
270
|
+
companies: {
|
|
271
|
+
batch: string | null;
|
|
272
|
+
description: string | null;
|
|
273
|
+
companyName: string | null;
|
|
274
|
+
website: string | null;
|
|
275
|
+
ycUrl: string | null;
|
|
276
|
+
founders: {
|
|
277
|
+
title: string | null;
|
|
278
|
+
name: string | null;
|
|
279
|
+
linkedinUrl: string | null;
|
|
280
|
+
twitterUrl: string | null;
|
|
281
|
+
bio: string | null;
|
|
282
|
+
}[];
|
|
283
|
+
}[];
|
|
284
|
+
totalPeople: number;
|
|
285
|
+
totalCompanies: number;
|
|
286
|
+
success: boolean;
|
|
287
|
+
error: string;
|
|
288
|
+
}>;
|
|
289
|
+
type YCScraperToolParams = z.output<typeof YCScraperToolParamsSchema>;
|
|
290
|
+
type YCScraperToolResult = z.output<typeof YCScraperToolResultSchema>;
|
|
291
|
+
type YCScraperToolParamsInput = z.input<typeof YCScraperToolParamsSchema>;
|
|
292
|
+
export type YCPerson = z.output<typeof YCPersonSchema>;
|
|
293
|
+
export type YCCompany = z.output<typeof YCCompanySchema>;
|
|
294
|
+
export type YCFounder = z.output<typeof YCFounderSchema>;
|
|
295
|
+
/**
|
|
296
|
+
* Y Combinator Scraper Tool
|
|
297
|
+
*
|
|
298
|
+
* Scrapes Y Combinator company directory to extract company and founder data.
|
|
299
|
+
* Perfect for:
|
|
300
|
+
* - Finding YC founders for networking/outreach
|
|
301
|
+
* - Researching YC companies by batch
|
|
302
|
+
* - Building databases of startup founders
|
|
303
|
+
* - Lead generation targeting YC alumni
|
|
304
|
+
*
|
|
305
|
+
* Uses the Apify Y Combinator scraper actor behind the scenes.
|
|
306
|
+
*/
|
|
307
|
+
export declare class YCScraperTool extends ToolBubble<YCScraperToolParams, YCScraperToolResult> {
|
|
308
|
+
static readonly bubbleName: BubbleName;
|
|
309
|
+
static readonly schema: z.ZodObject<{
|
|
310
|
+
batch: z.ZodOptional<z.ZodString>;
|
|
311
|
+
url: z.ZodOptional<z.ZodString>;
|
|
312
|
+
maxCompanies: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
313
|
+
includeFounders: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
314
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
315
|
+
}, "strip", z.ZodTypeAny, {
|
|
316
|
+
batch?: string | undefined;
|
|
317
|
+
url?: string | undefined;
|
|
318
|
+
maxCompanies?: number | undefined;
|
|
319
|
+
includeFounders?: boolean | undefined;
|
|
320
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
321
|
+
}, {
|
|
322
|
+
batch?: string | undefined;
|
|
323
|
+
url?: string | undefined;
|
|
324
|
+
maxCompanies?: number | undefined;
|
|
325
|
+
includeFounders?: boolean | undefined;
|
|
326
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
327
|
+
}>;
|
|
328
|
+
static readonly resultSchema: z.ZodObject<{
|
|
329
|
+
people: z.ZodArray<z.ZodObject<{
|
|
330
|
+
name: z.ZodNullable<z.ZodString>;
|
|
331
|
+
title: z.ZodNullable<z.ZodString>;
|
|
332
|
+
currentEmployers: z.ZodArray<z.ZodObject<{
|
|
333
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
companyName: string | null;
|
|
336
|
+
}, {
|
|
337
|
+
companyName: string | null;
|
|
338
|
+
}>, "many">;
|
|
339
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
340
|
+
twitterUrl: z.ZodNullable<z.ZodString>;
|
|
341
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
342
|
+
emails: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
343
|
+
}, "strip", z.ZodTypeAny, {
|
|
344
|
+
title: string | null;
|
|
345
|
+
name: string | null;
|
|
346
|
+
currentEmployers: {
|
|
347
|
+
companyName: string | null;
|
|
348
|
+
}[];
|
|
349
|
+
linkedinUrl: string | null;
|
|
350
|
+
twitterUrl: string | null;
|
|
351
|
+
bio: string | null;
|
|
352
|
+
emails: string[] | null;
|
|
353
|
+
}, {
|
|
354
|
+
title: string | null;
|
|
355
|
+
name: string | null;
|
|
356
|
+
currentEmployers: {
|
|
357
|
+
companyName: string | null;
|
|
358
|
+
}[];
|
|
359
|
+
linkedinUrl: string | null;
|
|
360
|
+
twitterUrl: string | null;
|
|
361
|
+
bio: string | null;
|
|
362
|
+
emails: string[] | null;
|
|
363
|
+
}>, "many">;
|
|
364
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
365
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
366
|
+
description: z.ZodNullable<z.ZodString>;
|
|
367
|
+
batch: z.ZodNullable<z.ZodString>;
|
|
368
|
+
website: z.ZodNullable<z.ZodString>;
|
|
369
|
+
ycUrl: z.ZodNullable<z.ZodString>;
|
|
370
|
+
founders: z.ZodArray<z.ZodObject<{
|
|
371
|
+
name: z.ZodNullable<z.ZodString>;
|
|
372
|
+
title: z.ZodNullable<z.ZodString>;
|
|
373
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
374
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
375
|
+
twitterUrl: z.ZodNullable<z.ZodString>;
|
|
376
|
+
}, "strip", z.ZodTypeAny, {
|
|
377
|
+
title: string | null;
|
|
378
|
+
name: string | null;
|
|
379
|
+
linkedinUrl: string | null;
|
|
380
|
+
twitterUrl: string | null;
|
|
381
|
+
bio: string | null;
|
|
382
|
+
}, {
|
|
383
|
+
title: string | null;
|
|
384
|
+
name: string | null;
|
|
385
|
+
linkedinUrl: string | null;
|
|
386
|
+
twitterUrl: string | null;
|
|
387
|
+
bio: string | null;
|
|
388
|
+
}>, "many">;
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
390
|
+
batch: string | null;
|
|
391
|
+
description: string | null;
|
|
392
|
+
companyName: string | null;
|
|
393
|
+
website: string | null;
|
|
394
|
+
ycUrl: string | null;
|
|
395
|
+
founders: {
|
|
396
|
+
title: string | null;
|
|
397
|
+
name: string | null;
|
|
398
|
+
linkedinUrl: string | null;
|
|
399
|
+
twitterUrl: string | null;
|
|
400
|
+
bio: string | null;
|
|
401
|
+
}[];
|
|
402
|
+
}, {
|
|
403
|
+
batch: string | null;
|
|
404
|
+
description: string | null;
|
|
405
|
+
companyName: string | null;
|
|
406
|
+
website: string | null;
|
|
407
|
+
ycUrl: string | null;
|
|
408
|
+
founders: {
|
|
409
|
+
title: string | null;
|
|
410
|
+
name: string | null;
|
|
411
|
+
linkedinUrl: string | null;
|
|
412
|
+
twitterUrl: string | null;
|
|
413
|
+
bio: string | null;
|
|
414
|
+
}[];
|
|
415
|
+
}>, "many">;
|
|
416
|
+
totalPeople: z.ZodNumber;
|
|
417
|
+
totalCompanies: z.ZodNumber;
|
|
418
|
+
batch: z.ZodNullable<z.ZodString>;
|
|
419
|
+
url: z.ZodNullable<z.ZodString>;
|
|
420
|
+
success: z.ZodBoolean;
|
|
421
|
+
error: z.ZodString;
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
|
+
batch: string | null;
|
|
424
|
+
url: string | null;
|
|
425
|
+
people: {
|
|
426
|
+
title: string | null;
|
|
427
|
+
name: string | null;
|
|
428
|
+
currentEmployers: {
|
|
429
|
+
companyName: string | null;
|
|
430
|
+
}[];
|
|
431
|
+
linkedinUrl: string | null;
|
|
432
|
+
twitterUrl: string | null;
|
|
433
|
+
bio: string | null;
|
|
434
|
+
emails: string[] | null;
|
|
435
|
+
}[];
|
|
436
|
+
companies: {
|
|
437
|
+
batch: string | null;
|
|
438
|
+
description: string | null;
|
|
439
|
+
companyName: string | null;
|
|
440
|
+
website: string | null;
|
|
441
|
+
ycUrl: string | null;
|
|
442
|
+
founders: {
|
|
443
|
+
title: string | null;
|
|
444
|
+
name: string | null;
|
|
445
|
+
linkedinUrl: string | null;
|
|
446
|
+
twitterUrl: string | null;
|
|
447
|
+
bio: string | null;
|
|
448
|
+
}[];
|
|
449
|
+
}[];
|
|
450
|
+
totalPeople: number;
|
|
451
|
+
totalCompanies: number;
|
|
452
|
+
success: boolean;
|
|
453
|
+
error: string;
|
|
454
|
+
}, {
|
|
455
|
+
batch: string | null;
|
|
456
|
+
url: string | null;
|
|
457
|
+
people: {
|
|
458
|
+
title: string | null;
|
|
459
|
+
name: string | null;
|
|
460
|
+
currentEmployers: {
|
|
461
|
+
companyName: string | null;
|
|
462
|
+
}[];
|
|
463
|
+
linkedinUrl: string | null;
|
|
464
|
+
twitterUrl: string | null;
|
|
465
|
+
bio: string | null;
|
|
466
|
+
emails: string[] | null;
|
|
467
|
+
}[];
|
|
468
|
+
companies: {
|
|
469
|
+
batch: string | null;
|
|
470
|
+
description: string | null;
|
|
471
|
+
companyName: string | null;
|
|
472
|
+
website: string | null;
|
|
473
|
+
ycUrl: string | null;
|
|
474
|
+
founders: {
|
|
475
|
+
title: string | null;
|
|
476
|
+
name: string | null;
|
|
477
|
+
linkedinUrl: string | null;
|
|
478
|
+
twitterUrl: string | null;
|
|
479
|
+
bio: string | null;
|
|
480
|
+
}[];
|
|
481
|
+
}[];
|
|
482
|
+
totalPeople: number;
|
|
483
|
+
totalCompanies: number;
|
|
484
|
+
success: boolean;
|
|
485
|
+
error: string;
|
|
486
|
+
}>;
|
|
487
|
+
static readonly shortDescription = "Scrape Y Combinator directory for company and founder data. Find founders by batch (W24, S23, etc.) with LinkedIn profiles.";
|
|
488
|
+
static readonly longDescription = "\n Y Combinator directory scraper for extracting company and founder data.\n\n **OPERATIONS:**\n - Scrape companies and founders by YC batch (e.g., W24, S23, W22)\n - Extract founder details including LinkedIn profiles, titles, and bios\n - Get company information including descriptions and websites\n\n **WHEN TO USE THIS TOOL:**\n - **YC founder outreach** - find founders from specific batches for networking\n - **Lead generation** - build lists of YC founders for sales/recruiting\n - **Research** - analyze YC companies by batch, industry, or founder background\n - **Competitive analysis** - research YC companies in specific sectors\n\n **BATCH FORMAT:**\n - W = Winter batch (January start)\n - S = Summer batch (June start)\n - Examples: W24 (Winter 2024), S23 (Summer 2023), W22 (Winter 2022)\n\n **OUTPUT:**\n - People array: Flattened list of founders with company context\n - Companies array: Company-level data with nested founders\n - LinkedIn URLs for direct founder outreach\n\n **TIPS:**\n - Start with smaller maxCompanies (20-50) for faster results\n - Use the batch parameter for easier filtering\n - Use url parameter for advanced filtering (industry, location, etc.)\n\n The tool uses Apify's Y Combinator scraper for reliable data extraction.\n ";
|
|
489
|
+
static readonly alias = "yc";
|
|
490
|
+
static readonly type = "tool";
|
|
491
|
+
constructor(params?: YCScraperToolParamsInput, context?: BubbleContext);
|
|
492
|
+
performAction(): Promise<YCScraperToolResult>;
|
|
493
|
+
/**
|
|
494
|
+
* Convert batch to full format for URL
|
|
495
|
+
* Handles multiple input formats:
|
|
496
|
+
* - "W24", "S23", "F22", "Sp24" -> "Winter 2024", "Summer 2023", "Fall 2022", "Spring 2024"
|
|
497
|
+
* - "W2024", "S2023", "F2022", "Sp2024" -> full year variants
|
|
498
|
+
* - "Winter 2024", "Summer 2023", "Fall 2022", "Spring 2024" -> pass through
|
|
499
|
+
* - "winter2024", "Winter24", "fall24", "spring24" -> normalized format
|
|
500
|
+
*/
|
|
501
|
+
private formatBatchForUrl;
|
|
502
|
+
/**
|
|
503
|
+
* Create an error result
|
|
504
|
+
*/
|
|
505
|
+
private createErrorResult;
|
|
506
|
+
/**
|
|
507
|
+
* Transform Apify companies to our format
|
|
508
|
+
*/
|
|
509
|
+
private transformCompanies;
|
|
510
|
+
/**
|
|
511
|
+
* Extract and flatten founders into people array
|
|
512
|
+
*/
|
|
513
|
+
private extractPeople;
|
|
514
|
+
}
|
|
515
|
+
export {};
|
|
516
|
+
//# sourceMappingURL=yc-scraper-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"yc-scraper-tool.d.ts","sourceRoot":"","sources":["../../../src/bubbles/tool-bubble/yc-scraper-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAO5E,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;EAMnB,CAAC;AAGH,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnB,CAAC;AAGH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBlB,CAAC;AAGH,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAiC7B,CAAC;AAGH,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB7B,CAAC;AAGH,KAAK,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACtE,KAAK,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACtE,KAAK,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC1E,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AACvD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC;AACzD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC;AAqBzD;;;;;;;;;;;GAWG;AACH,qBAAa,aAAc,SAAQ,UAAU,CAC3C,mBAAmB,EACnB,mBAAmB,CACpB;IACC,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAqB;IAC3D,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;OAA6B;IACnD,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA6B;IACzD,MAAM,CAAC,QAAQ,CAAC,gBAAgB,iIACgG;IAChI,MAAM,CAAC,QAAQ,CAAC,eAAe,m0CA8B7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,QAAQ;IAC7B,MAAM,CAAC,QAAQ,CAAC,IAAI,UAAU;gBAG5B,MAAM,GAAE,wBAIP,EACD,OAAO,CAAC,EAAE,aAAa;IAKnB,aAAa,IAAI,OAAO,CAAC,mBAAmB,CAAC;IA8EnD;;;;;;;OAOG;IACH,OAAO,CAAC,iBAAiB;IAmEzB;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAazB;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAkB1B;;OAEG;IACH,OAAO,CAAC,aAAa;CAoBtB"}
|