@bubblelab/bubble-core 0.1.98 → 0.1.100
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 +127 -87
- 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/ai-agent.d.ts +84 -84
- package/dist/bubbles/service-bubble/airtable.d.ts +100 -100
- package/dist/bubbles/service-bubble/apify/apify.d.ts +14 -14
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +74 -74
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +4 -4
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +4 -4
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +272 -272
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +40 -40
- package/dist/bubbles/service-bubble/gmail.d.ts +104 -104
- package/dist/bubbles/service-bubble/google-calendar.d.ts +80 -80
- package/dist/bubbles/service-bubble/google-drive.d.ts +40 -40
- package/dist/bubbles/service-bubble/http.d.ts +4 -4
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/notion/notion.d.ts +68 -68
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/resend.d.ts +24 -24
- package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/resend.js +9 -7
- package/dist/bubbles/service-bubble/resend.js.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.d.ts +68 -68
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +211 -4
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.js +87 -2
- package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +243 -4
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js +118 -0
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +52 -52
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +46 -46
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- 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 +10 -10
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +44 -44
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +26 -26
- package/dist/bubbles.json +549 -15
- 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 +4 -4
|
@@ -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
|
+
bio: string | null;
|
|
16
|
+
twitterUrl: string | null;
|
|
17
|
+
}, {
|
|
18
|
+
title: string | null;
|
|
19
|
+
name: string | null;
|
|
20
|
+
linkedinUrl: string | null;
|
|
21
|
+
bio: string | null;
|
|
22
|
+
twitterUrl: 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
|
+
bio: string | null;
|
|
41
|
+
twitterUrl: string | null;
|
|
42
|
+
}, {
|
|
43
|
+
title: string | null;
|
|
44
|
+
name: string | null;
|
|
45
|
+
linkedinUrl: string | null;
|
|
46
|
+
bio: string | null;
|
|
47
|
+
twitterUrl: string | null;
|
|
48
|
+
}>, "many">;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
description: string | null;
|
|
51
|
+
batch: string | null;
|
|
52
|
+
companyName: string | null;
|
|
53
|
+
website: string | null;
|
|
54
|
+
founders: {
|
|
55
|
+
title: string | null;
|
|
56
|
+
name: string | null;
|
|
57
|
+
linkedinUrl: string | null;
|
|
58
|
+
bio: string | null;
|
|
59
|
+
twitterUrl: string | null;
|
|
60
|
+
}[];
|
|
61
|
+
ycUrl: string | null;
|
|
62
|
+
}, {
|
|
63
|
+
description: string | null;
|
|
64
|
+
batch: string | null;
|
|
65
|
+
companyName: string | null;
|
|
66
|
+
website: string | null;
|
|
67
|
+
founders: {
|
|
68
|
+
title: string | null;
|
|
69
|
+
name: string | null;
|
|
70
|
+
linkedinUrl: string | null;
|
|
71
|
+
bio: string | null;
|
|
72
|
+
twitterUrl: string | null;
|
|
73
|
+
}[];
|
|
74
|
+
ycUrl: string | null;
|
|
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
|
+
emails: string[] | null;
|
|
94
|
+
linkedinUrl: string | null;
|
|
95
|
+
bio: string | null;
|
|
96
|
+
currentEmployers: {
|
|
97
|
+
companyName: string | null;
|
|
98
|
+
}[];
|
|
99
|
+
twitterUrl: string | null;
|
|
100
|
+
}, {
|
|
101
|
+
title: string | null;
|
|
102
|
+
name: string | null;
|
|
103
|
+
emails: string[] | null;
|
|
104
|
+
linkedinUrl: string | null;
|
|
105
|
+
bio: string | null;
|
|
106
|
+
currentEmployers: {
|
|
107
|
+
companyName: string | null;
|
|
108
|
+
}[];
|
|
109
|
+
twitterUrl: 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
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
119
|
+
url?: string | undefined;
|
|
120
|
+
batch?: string | undefined;
|
|
121
|
+
maxCompanies?: number | undefined;
|
|
122
|
+
includeFounders?: boolean | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
125
|
+
url?: string | undefined;
|
|
126
|
+
batch?: string | undefined;
|
|
127
|
+
maxCompanies?: number | undefined;
|
|
128
|
+
includeFounders?: boolean | 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
|
+
emails: string[] | null;
|
|
149
|
+
linkedinUrl: string | null;
|
|
150
|
+
bio: string | null;
|
|
151
|
+
currentEmployers: {
|
|
152
|
+
companyName: string | null;
|
|
153
|
+
}[];
|
|
154
|
+
twitterUrl: string | null;
|
|
155
|
+
}, {
|
|
156
|
+
title: string | null;
|
|
157
|
+
name: string | null;
|
|
158
|
+
emails: string[] | null;
|
|
159
|
+
linkedinUrl: string | null;
|
|
160
|
+
bio: string | null;
|
|
161
|
+
currentEmployers: {
|
|
162
|
+
companyName: string | null;
|
|
163
|
+
}[];
|
|
164
|
+
twitterUrl: 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
|
+
bio: string | null;
|
|
183
|
+
twitterUrl: string | null;
|
|
184
|
+
}, {
|
|
185
|
+
title: string | null;
|
|
186
|
+
name: string | null;
|
|
187
|
+
linkedinUrl: string | null;
|
|
188
|
+
bio: string | null;
|
|
189
|
+
twitterUrl: string | null;
|
|
190
|
+
}>, "many">;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
description: string | null;
|
|
193
|
+
batch: string | null;
|
|
194
|
+
companyName: string | null;
|
|
195
|
+
website: string | null;
|
|
196
|
+
founders: {
|
|
197
|
+
title: string | null;
|
|
198
|
+
name: string | null;
|
|
199
|
+
linkedinUrl: string | null;
|
|
200
|
+
bio: string | null;
|
|
201
|
+
twitterUrl: string | null;
|
|
202
|
+
}[];
|
|
203
|
+
ycUrl: string | null;
|
|
204
|
+
}, {
|
|
205
|
+
description: string | null;
|
|
206
|
+
batch: string | null;
|
|
207
|
+
companyName: string | null;
|
|
208
|
+
website: string | null;
|
|
209
|
+
founders: {
|
|
210
|
+
title: string | null;
|
|
211
|
+
name: string | null;
|
|
212
|
+
linkedinUrl: string | null;
|
|
213
|
+
bio: string | null;
|
|
214
|
+
twitterUrl: string | null;
|
|
215
|
+
}[];
|
|
216
|
+
ycUrl: string | null;
|
|
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
|
+
error: string;
|
|
226
|
+
success: boolean;
|
|
227
|
+
url: string | null;
|
|
228
|
+
batch: string | null;
|
|
229
|
+
people: {
|
|
230
|
+
title: string | null;
|
|
231
|
+
name: string | null;
|
|
232
|
+
emails: string[] | null;
|
|
233
|
+
linkedinUrl: string | null;
|
|
234
|
+
bio: string | null;
|
|
235
|
+
currentEmployers: {
|
|
236
|
+
companyName: string | null;
|
|
237
|
+
}[];
|
|
238
|
+
twitterUrl: string | null;
|
|
239
|
+
}[];
|
|
240
|
+
companies: {
|
|
241
|
+
description: string | null;
|
|
242
|
+
batch: string | null;
|
|
243
|
+
companyName: string | null;
|
|
244
|
+
website: string | null;
|
|
245
|
+
founders: {
|
|
246
|
+
title: string | null;
|
|
247
|
+
name: string | null;
|
|
248
|
+
linkedinUrl: string | null;
|
|
249
|
+
bio: string | null;
|
|
250
|
+
twitterUrl: string | null;
|
|
251
|
+
}[];
|
|
252
|
+
ycUrl: string | null;
|
|
253
|
+
}[];
|
|
254
|
+
totalPeople: number;
|
|
255
|
+
totalCompanies: number;
|
|
256
|
+
}, {
|
|
257
|
+
error: string;
|
|
258
|
+
success: boolean;
|
|
259
|
+
url: string | null;
|
|
260
|
+
batch: string | null;
|
|
261
|
+
people: {
|
|
262
|
+
title: string | null;
|
|
263
|
+
name: string | null;
|
|
264
|
+
emails: string[] | null;
|
|
265
|
+
linkedinUrl: string | null;
|
|
266
|
+
bio: string | null;
|
|
267
|
+
currentEmployers: {
|
|
268
|
+
companyName: string | null;
|
|
269
|
+
}[];
|
|
270
|
+
twitterUrl: string | null;
|
|
271
|
+
}[];
|
|
272
|
+
companies: {
|
|
273
|
+
description: string | null;
|
|
274
|
+
batch: string | null;
|
|
275
|
+
companyName: string | null;
|
|
276
|
+
website: string | null;
|
|
277
|
+
founders: {
|
|
278
|
+
title: string | null;
|
|
279
|
+
name: string | null;
|
|
280
|
+
linkedinUrl: string | null;
|
|
281
|
+
bio: string | null;
|
|
282
|
+
twitterUrl: string | null;
|
|
283
|
+
}[];
|
|
284
|
+
ycUrl: string | null;
|
|
285
|
+
}[];
|
|
286
|
+
totalPeople: number;
|
|
287
|
+
totalCompanies: number;
|
|
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
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
317
|
+
url?: string | undefined;
|
|
318
|
+
batch?: string | undefined;
|
|
319
|
+
maxCompanies?: number | undefined;
|
|
320
|
+
includeFounders?: boolean | undefined;
|
|
321
|
+
}, {
|
|
322
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
323
|
+
url?: string | undefined;
|
|
324
|
+
batch?: string | undefined;
|
|
325
|
+
maxCompanies?: number | undefined;
|
|
326
|
+
includeFounders?: boolean | 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
|
+
emails: string[] | null;
|
|
347
|
+
linkedinUrl: string | null;
|
|
348
|
+
bio: string | null;
|
|
349
|
+
currentEmployers: {
|
|
350
|
+
companyName: string | null;
|
|
351
|
+
}[];
|
|
352
|
+
twitterUrl: string | null;
|
|
353
|
+
}, {
|
|
354
|
+
title: string | null;
|
|
355
|
+
name: string | null;
|
|
356
|
+
emails: string[] | null;
|
|
357
|
+
linkedinUrl: string | null;
|
|
358
|
+
bio: string | null;
|
|
359
|
+
currentEmployers: {
|
|
360
|
+
companyName: string | null;
|
|
361
|
+
}[];
|
|
362
|
+
twitterUrl: 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
|
+
bio: string | null;
|
|
381
|
+
twitterUrl: string | null;
|
|
382
|
+
}, {
|
|
383
|
+
title: string | null;
|
|
384
|
+
name: string | null;
|
|
385
|
+
linkedinUrl: string | null;
|
|
386
|
+
bio: string | null;
|
|
387
|
+
twitterUrl: string | null;
|
|
388
|
+
}>, "many">;
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
390
|
+
description: string | null;
|
|
391
|
+
batch: string | null;
|
|
392
|
+
companyName: string | null;
|
|
393
|
+
website: string | null;
|
|
394
|
+
founders: {
|
|
395
|
+
title: string | null;
|
|
396
|
+
name: string | null;
|
|
397
|
+
linkedinUrl: string | null;
|
|
398
|
+
bio: string | null;
|
|
399
|
+
twitterUrl: string | null;
|
|
400
|
+
}[];
|
|
401
|
+
ycUrl: string | null;
|
|
402
|
+
}, {
|
|
403
|
+
description: string | null;
|
|
404
|
+
batch: string | null;
|
|
405
|
+
companyName: string | null;
|
|
406
|
+
website: string | null;
|
|
407
|
+
founders: {
|
|
408
|
+
title: string | null;
|
|
409
|
+
name: string | null;
|
|
410
|
+
linkedinUrl: string | null;
|
|
411
|
+
bio: string | null;
|
|
412
|
+
twitterUrl: string | null;
|
|
413
|
+
}[];
|
|
414
|
+
ycUrl: string | null;
|
|
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
|
+
error: string;
|
|
424
|
+
success: boolean;
|
|
425
|
+
url: string | null;
|
|
426
|
+
batch: string | null;
|
|
427
|
+
people: {
|
|
428
|
+
title: string | null;
|
|
429
|
+
name: string | null;
|
|
430
|
+
emails: string[] | null;
|
|
431
|
+
linkedinUrl: string | null;
|
|
432
|
+
bio: string | null;
|
|
433
|
+
currentEmployers: {
|
|
434
|
+
companyName: string | null;
|
|
435
|
+
}[];
|
|
436
|
+
twitterUrl: string | null;
|
|
437
|
+
}[];
|
|
438
|
+
companies: {
|
|
439
|
+
description: string | null;
|
|
440
|
+
batch: string | null;
|
|
441
|
+
companyName: string | null;
|
|
442
|
+
website: string | null;
|
|
443
|
+
founders: {
|
|
444
|
+
title: string | null;
|
|
445
|
+
name: string | null;
|
|
446
|
+
linkedinUrl: string | null;
|
|
447
|
+
bio: string | null;
|
|
448
|
+
twitterUrl: string | null;
|
|
449
|
+
}[];
|
|
450
|
+
ycUrl: string | null;
|
|
451
|
+
}[];
|
|
452
|
+
totalPeople: number;
|
|
453
|
+
totalCompanies: number;
|
|
454
|
+
}, {
|
|
455
|
+
error: string;
|
|
456
|
+
success: boolean;
|
|
457
|
+
url: string | null;
|
|
458
|
+
batch: string | null;
|
|
459
|
+
people: {
|
|
460
|
+
title: string | null;
|
|
461
|
+
name: string | null;
|
|
462
|
+
emails: string[] | null;
|
|
463
|
+
linkedinUrl: string | null;
|
|
464
|
+
bio: string | null;
|
|
465
|
+
currentEmployers: {
|
|
466
|
+
companyName: string | null;
|
|
467
|
+
}[];
|
|
468
|
+
twitterUrl: string | null;
|
|
469
|
+
}[];
|
|
470
|
+
companies: {
|
|
471
|
+
description: string | null;
|
|
472
|
+
batch: string | null;
|
|
473
|
+
companyName: string | null;
|
|
474
|
+
website: string | null;
|
|
475
|
+
founders: {
|
|
476
|
+
title: string | null;
|
|
477
|
+
name: string | null;
|
|
478
|
+
linkedinUrl: string | null;
|
|
479
|
+
bio: string | null;
|
|
480
|
+
twitterUrl: string | null;
|
|
481
|
+
}[];
|
|
482
|
+
ycUrl: string | null;
|
|
483
|
+
}[];
|
|
484
|
+
totalPeople: number;
|
|
485
|
+
totalCompanies: number;
|
|
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":["../../../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