@bubblelab/bubble-core 0.1.60 → 0.1.62
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 +85 -85
- package/dist/bubbles/service-bubble/agi-inc.d.ts +148 -148
- package/dist/bubbles/service-bubble/ai-agent.d.ts +80 -80
- package/dist/bubbles/service-bubble/airtable.d.ts +214 -214
- package/dist/bubbles/service-bubble/apify/apify.d.ts +24 -24
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +84 -84
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +204 -77
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +103 -7
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +349 -88
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +79 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +138 -138
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +52 -52
- package/dist/bubbles/service-bubble/firecrawl.d.ts +862 -862
- package/dist/bubbles/service-bubble/followupboss.d.ts +270 -270
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +88 -88
- package/dist/bubbles/service-bubble/github.d.ts +268 -268
- package/dist/bubbles/service-bubble/gmail.d.ts +416 -416
- package/dist/bubbles/service-bubble/google-calendar.d.ts +162 -162
- package/dist/bubbles/service-bubble/google-drive.d.ts +128 -128
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +54 -54
- package/dist/bubbles/service-bubble/hello-world.d.ts +6 -6
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +74 -74
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1923 -1923
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +44 -44
- package/dist/bubbles/service-bubble/slack/slack.d.ts +464 -464
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +141 -141
- package/dist/bubbles/service-bubble/telegram.d.ts +1600 -1600
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +29 -29
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +88 -88
- 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 +8 -8
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +334 -334
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +130 -130
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +80 -80
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +182 -182
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +44 -44
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +114 -114
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +56 -56
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +120 -2
- package/package.json +2 -2
|
@@ -12,18 +12,18 @@ export declare const CDPCookieSchema: z.ZodObject<{
|
|
|
12
12
|
httpOnly: z.ZodBoolean;
|
|
13
13
|
secure: z.ZodBoolean;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
value: string;
|
|
16
|
-
path: string;
|
|
17
15
|
name: string;
|
|
16
|
+
value: string;
|
|
18
17
|
domain: string;
|
|
18
|
+
path: string;
|
|
19
19
|
expires: number;
|
|
20
20
|
httpOnly: boolean;
|
|
21
21
|
secure: boolean;
|
|
22
22
|
}, {
|
|
23
|
-
value: string;
|
|
24
|
-
path: string;
|
|
25
23
|
name: string;
|
|
24
|
+
value: string;
|
|
26
25
|
domain: string;
|
|
26
|
+
path: string;
|
|
27
27
|
expires: number;
|
|
28
28
|
httpOnly: boolean;
|
|
29
29
|
secure: boolean;
|
|
@@ -44,18 +44,18 @@ export declare const BrowserSessionDataSchema: z.ZodObject<{
|
|
|
44
44
|
httpOnly: z.ZodBoolean;
|
|
45
45
|
secure: z.ZodBoolean;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
value: string;
|
|
48
|
-
path: string;
|
|
49
47
|
name: string;
|
|
48
|
+
value: string;
|
|
50
49
|
domain: string;
|
|
50
|
+
path: string;
|
|
51
51
|
expires: number;
|
|
52
52
|
httpOnly: boolean;
|
|
53
53
|
secure: boolean;
|
|
54
54
|
}, {
|
|
55
|
-
value: string;
|
|
56
|
-
path: string;
|
|
57
55
|
name: string;
|
|
56
|
+
value: string;
|
|
58
57
|
domain: string;
|
|
58
|
+
path: string;
|
|
59
59
|
expires: number;
|
|
60
60
|
httpOnly: boolean;
|
|
61
61
|
secure: boolean;
|
|
@@ -63,10 +63,10 @@ export declare const BrowserSessionDataSchema: z.ZodObject<{
|
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
contextId: string;
|
|
65
65
|
cookies: {
|
|
66
|
-
value: string;
|
|
67
|
-
path: string;
|
|
68
66
|
name: string;
|
|
67
|
+
value: string;
|
|
69
68
|
domain: string;
|
|
69
|
+
path: string;
|
|
70
70
|
expires: number;
|
|
71
71
|
httpOnly: boolean;
|
|
72
72
|
secure: boolean;
|
|
@@ -74,16 +74,168 @@ export declare const BrowserSessionDataSchema: z.ZodObject<{
|
|
|
74
74
|
}, {
|
|
75
75
|
contextId: string;
|
|
76
76
|
cookies: {
|
|
77
|
-
value: string;
|
|
78
|
-
path: string;
|
|
79
77
|
name: string;
|
|
78
|
+
value: string;
|
|
80
79
|
domain: string;
|
|
80
|
+
path: string;
|
|
81
81
|
expires: number;
|
|
82
82
|
httpOnly: boolean;
|
|
83
83
|
secure: boolean;
|
|
84
84
|
}[];
|
|
85
85
|
}>;
|
|
86
86
|
export type BrowserSessionData = z.infer<typeof BrowserSessionDataSchema>;
|
|
87
|
+
/**
|
|
88
|
+
* Geolocation configuration for BrowserBase proxies
|
|
89
|
+
*/
|
|
90
|
+
export declare const ProxyGeolocationSchema: z.ZodObject<{
|
|
91
|
+
city: z.ZodOptional<z.ZodString>;
|
|
92
|
+
state: z.ZodOptional<z.ZodString>;
|
|
93
|
+
country: z.ZodString;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
country: string;
|
|
96
|
+
city?: string | undefined;
|
|
97
|
+
state?: string | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
country: string;
|
|
100
|
+
city?: string | undefined;
|
|
101
|
+
state?: string | undefined;
|
|
102
|
+
}>;
|
|
103
|
+
export type ProxyGeolocation = z.infer<typeof ProxyGeolocationSchema>;
|
|
104
|
+
/**
|
|
105
|
+
* BrowserBase built-in proxy configuration
|
|
106
|
+
*/
|
|
107
|
+
export declare const BrowserbaseProxySchema: z.ZodObject<{
|
|
108
|
+
type: z.ZodLiteral<"browserbase">;
|
|
109
|
+
geolocation: z.ZodOptional<z.ZodObject<{
|
|
110
|
+
city: z.ZodOptional<z.ZodString>;
|
|
111
|
+
state: z.ZodOptional<z.ZodString>;
|
|
112
|
+
country: z.ZodString;
|
|
113
|
+
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
country: string;
|
|
115
|
+
city?: string | undefined;
|
|
116
|
+
state?: string | undefined;
|
|
117
|
+
}, {
|
|
118
|
+
country: string;
|
|
119
|
+
city?: string | undefined;
|
|
120
|
+
state?: string | undefined;
|
|
121
|
+
}>>;
|
|
122
|
+
domainPattern: z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
type: "browserbase";
|
|
125
|
+
geolocation?: {
|
|
126
|
+
country: string;
|
|
127
|
+
city?: string | undefined;
|
|
128
|
+
state?: string | undefined;
|
|
129
|
+
} | undefined;
|
|
130
|
+
domainPattern?: string | undefined;
|
|
131
|
+
}, {
|
|
132
|
+
type: "browserbase";
|
|
133
|
+
geolocation?: {
|
|
134
|
+
country: string;
|
|
135
|
+
city?: string | undefined;
|
|
136
|
+
state?: string | undefined;
|
|
137
|
+
} | undefined;
|
|
138
|
+
domainPattern?: string | undefined;
|
|
139
|
+
}>;
|
|
140
|
+
export type BrowserbaseProxy = z.infer<typeof BrowserbaseProxySchema>;
|
|
141
|
+
/**
|
|
142
|
+
* External/custom proxy configuration
|
|
143
|
+
*/
|
|
144
|
+
export declare const ExternalProxySchema: z.ZodObject<{
|
|
145
|
+
type: z.ZodLiteral<"external">;
|
|
146
|
+
server: z.ZodString;
|
|
147
|
+
username: z.ZodOptional<z.ZodString>;
|
|
148
|
+
password: z.ZodOptional<z.ZodString>;
|
|
149
|
+
domainPattern: z.ZodOptional<z.ZodString>;
|
|
150
|
+
}, "strip", z.ZodTypeAny, {
|
|
151
|
+
type: "external";
|
|
152
|
+
server: string;
|
|
153
|
+
password?: string | undefined;
|
|
154
|
+
domainPattern?: string | undefined;
|
|
155
|
+
username?: string | undefined;
|
|
156
|
+
}, {
|
|
157
|
+
type: "external";
|
|
158
|
+
server: string;
|
|
159
|
+
password?: string | undefined;
|
|
160
|
+
domainPattern?: string | undefined;
|
|
161
|
+
username?: string | undefined;
|
|
162
|
+
}>;
|
|
163
|
+
export type ExternalProxy = z.infer<typeof ExternalProxySchema>;
|
|
164
|
+
/**
|
|
165
|
+
* Union type for proxy configurations
|
|
166
|
+
*/
|
|
167
|
+
export declare const ProxyConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
168
|
+
type: z.ZodLiteral<"browserbase">;
|
|
169
|
+
geolocation: z.ZodOptional<z.ZodObject<{
|
|
170
|
+
city: z.ZodOptional<z.ZodString>;
|
|
171
|
+
state: z.ZodOptional<z.ZodString>;
|
|
172
|
+
country: z.ZodString;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
country: string;
|
|
175
|
+
city?: string | undefined;
|
|
176
|
+
state?: string | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
country: string;
|
|
179
|
+
city?: string | undefined;
|
|
180
|
+
state?: string | undefined;
|
|
181
|
+
}>>;
|
|
182
|
+
domainPattern: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
type: "browserbase";
|
|
185
|
+
geolocation?: {
|
|
186
|
+
country: string;
|
|
187
|
+
city?: string | undefined;
|
|
188
|
+
state?: string | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
domainPattern?: string | undefined;
|
|
191
|
+
}, {
|
|
192
|
+
type: "browserbase";
|
|
193
|
+
geolocation?: {
|
|
194
|
+
country: string;
|
|
195
|
+
city?: string | undefined;
|
|
196
|
+
state?: string | undefined;
|
|
197
|
+
} | undefined;
|
|
198
|
+
domainPattern?: string | undefined;
|
|
199
|
+
}>, z.ZodObject<{
|
|
200
|
+
type: z.ZodLiteral<"external">;
|
|
201
|
+
server: z.ZodString;
|
|
202
|
+
username: z.ZodOptional<z.ZodString>;
|
|
203
|
+
password: z.ZodOptional<z.ZodString>;
|
|
204
|
+
domainPattern: z.ZodOptional<z.ZodString>;
|
|
205
|
+
}, "strip", z.ZodTypeAny, {
|
|
206
|
+
type: "external";
|
|
207
|
+
server: string;
|
|
208
|
+
password?: string | undefined;
|
|
209
|
+
domainPattern?: string | undefined;
|
|
210
|
+
username?: string | undefined;
|
|
211
|
+
}, {
|
|
212
|
+
type: "external";
|
|
213
|
+
server: string;
|
|
214
|
+
password?: string | undefined;
|
|
215
|
+
domainPattern?: string | undefined;
|
|
216
|
+
username?: string | undefined;
|
|
217
|
+
}>]>;
|
|
218
|
+
export type ProxyConfig = z.infer<typeof ProxyConfigSchema>;
|
|
219
|
+
/**
|
|
220
|
+
* Stealth mode configuration for BrowserBase sessions
|
|
221
|
+
*/
|
|
222
|
+
export declare const StealthConfigSchema: z.ZodObject<{
|
|
223
|
+
advancedStealth: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
224
|
+
solveCaptchas: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
225
|
+
captchaImageSelector: z.ZodOptional<z.ZodString>;
|
|
226
|
+
captchaInputSelector: z.ZodOptional<z.ZodString>;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
advancedStealth: boolean;
|
|
229
|
+
solveCaptchas: boolean;
|
|
230
|
+
captchaImageSelector?: string | undefined;
|
|
231
|
+
captchaInputSelector?: string | undefined;
|
|
232
|
+
}, {
|
|
233
|
+
advancedStealth?: boolean | undefined;
|
|
234
|
+
solveCaptchas?: boolean | undefined;
|
|
235
|
+
captchaImageSelector?: string | undefined;
|
|
236
|
+
captchaInputSelector?: string | undefined;
|
|
237
|
+
}>;
|
|
238
|
+
export type StealthConfig = z.infer<typeof StealthConfigSchema>;
|
|
87
239
|
/**
|
|
88
240
|
* BrowserBase service bubble parameters schema
|
|
89
241
|
* Multi-operation service for browser automation
|
|
@@ -100,18 +252,18 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
100
252
|
httpOnly: z.ZodBoolean;
|
|
101
253
|
secure: z.ZodBoolean;
|
|
102
254
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
value: string;
|
|
104
|
-
path: string;
|
|
105
255
|
name: string;
|
|
256
|
+
value: string;
|
|
106
257
|
domain: string;
|
|
258
|
+
path: string;
|
|
107
259
|
expires: number;
|
|
108
260
|
httpOnly: boolean;
|
|
109
261
|
secure: boolean;
|
|
110
262
|
}, {
|
|
111
|
-
value: string;
|
|
112
|
-
path: string;
|
|
113
263
|
name: string;
|
|
264
|
+
value: string;
|
|
114
265
|
domain: string;
|
|
266
|
+
path: string;
|
|
115
267
|
expires: number;
|
|
116
268
|
httpOnly: boolean;
|
|
117
269
|
secure: boolean;
|
|
@@ -119,29 +271,116 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
119
271
|
viewport_width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
120
272
|
viewport_height: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
121
273
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
274
|
+
proxies: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
275
|
+
type: z.ZodLiteral<"browserbase">;
|
|
276
|
+
geolocation: z.ZodOptional<z.ZodObject<{
|
|
277
|
+
city: z.ZodOptional<z.ZodString>;
|
|
278
|
+
state: z.ZodOptional<z.ZodString>;
|
|
279
|
+
country: z.ZodString;
|
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
|
281
|
+
country: string;
|
|
282
|
+
city?: string | undefined;
|
|
283
|
+
state?: string | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
country: string;
|
|
286
|
+
city?: string | undefined;
|
|
287
|
+
state?: string | undefined;
|
|
288
|
+
}>>;
|
|
289
|
+
domainPattern: z.ZodOptional<z.ZodString>;
|
|
290
|
+
}, "strip", z.ZodTypeAny, {
|
|
291
|
+
type: "browserbase";
|
|
292
|
+
geolocation?: {
|
|
293
|
+
country: string;
|
|
294
|
+
city?: string | undefined;
|
|
295
|
+
state?: string | undefined;
|
|
296
|
+
} | undefined;
|
|
297
|
+
domainPattern?: string | undefined;
|
|
298
|
+
}, {
|
|
299
|
+
type: "browserbase";
|
|
300
|
+
geolocation?: {
|
|
301
|
+
country: string;
|
|
302
|
+
city?: string | undefined;
|
|
303
|
+
state?: string | undefined;
|
|
304
|
+
} | undefined;
|
|
305
|
+
domainPattern?: string | undefined;
|
|
306
|
+
}>, z.ZodObject<{
|
|
307
|
+
type: z.ZodLiteral<"external">;
|
|
308
|
+
server: z.ZodString;
|
|
309
|
+
username: z.ZodOptional<z.ZodString>;
|
|
310
|
+
password: z.ZodOptional<z.ZodString>;
|
|
311
|
+
domainPattern: z.ZodOptional<z.ZodString>;
|
|
312
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
type: "external";
|
|
314
|
+
server: string;
|
|
315
|
+
password?: string | undefined;
|
|
316
|
+
domainPattern?: string | undefined;
|
|
317
|
+
username?: string | undefined;
|
|
318
|
+
}, {
|
|
319
|
+
type: "external";
|
|
320
|
+
server: string;
|
|
321
|
+
password?: string | undefined;
|
|
322
|
+
domainPattern?: string | undefined;
|
|
323
|
+
username?: string | undefined;
|
|
324
|
+
}>]>, "many">]>>;
|
|
325
|
+
stealth: z.ZodOptional<z.ZodObject<{
|
|
326
|
+
advancedStealth: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
327
|
+
solveCaptchas: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
328
|
+
captchaImageSelector: z.ZodOptional<z.ZodString>;
|
|
329
|
+
captchaInputSelector: z.ZodOptional<z.ZodString>;
|
|
330
|
+
}, "strip", z.ZodTypeAny, {
|
|
331
|
+
advancedStealth: boolean;
|
|
332
|
+
solveCaptchas: boolean;
|
|
333
|
+
captchaImageSelector?: string | undefined;
|
|
334
|
+
captchaInputSelector?: string | undefined;
|
|
335
|
+
}, {
|
|
336
|
+
advancedStealth?: boolean | undefined;
|
|
337
|
+
solveCaptchas?: boolean | undefined;
|
|
338
|
+
captchaImageSelector?: string | undefined;
|
|
339
|
+
captchaInputSelector?: string | undefined;
|
|
340
|
+
}>>;
|
|
122
341
|
}, "strip", z.ZodTypeAny, {
|
|
123
342
|
operation: "start_session";
|
|
124
343
|
viewport_width: number;
|
|
125
344
|
viewport_height: number;
|
|
126
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
127
345
|
cookies?: {
|
|
128
|
-
value: string;
|
|
129
|
-
path: string;
|
|
130
346
|
name: string;
|
|
347
|
+
value: string;
|
|
131
348
|
domain: string;
|
|
349
|
+
path: string;
|
|
132
350
|
expires: number;
|
|
133
351
|
httpOnly: boolean;
|
|
134
352
|
secure: boolean;
|
|
135
353
|
}[] | undefined;
|
|
136
354
|
context_id?: string | undefined;
|
|
355
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
356
|
+
proxies?: true | ({
|
|
357
|
+
type: "browserbase";
|
|
358
|
+
geolocation?: {
|
|
359
|
+
country: string;
|
|
360
|
+
city?: string | undefined;
|
|
361
|
+
state?: string | undefined;
|
|
362
|
+
} | undefined;
|
|
363
|
+
domainPattern?: string | undefined;
|
|
364
|
+
} | {
|
|
365
|
+
type: "external";
|
|
366
|
+
server: string;
|
|
367
|
+
password?: string | undefined;
|
|
368
|
+
domainPattern?: string | undefined;
|
|
369
|
+
username?: string | undefined;
|
|
370
|
+
})[] | undefined;
|
|
371
|
+
stealth?: {
|
|
372
|
+
advancedStealth: boolean;
|
|
373
|
+
solveCaptchas: boolean;
|
|
374
|
+
captchaImageSelector?: string | undefined;
|
|
375
|
+
captchaInputSelector?: string | undefined;
|
|
376
|
+
} | undefined;
|
|
137
377
|
}, {
|
|
138
378
|
operation: "start_session";
|
|
139
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
140
379
|
cookies?: {
|
|
141
|
-
value: string;
|
|
142
|
-
path: string;
|
|
143
380
|
name: string;
|
|
381
|
+
value: string;
|
|
144
382
|
domain: string;
|
|
383
|
+
path: string;
|
|
145
384
|
expires: number;
|
|
146
385
|
httpOnly: boolean;
|
|
147
386
|
secure: boolean;
|
|
@@ -149,6 +388,28 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
149
388
|
context_id?: string | undefined;
|
|
150
389
|
viewport_width?: number | undefined;
|
|
151
390
|
viewport_height?: number | undefined;
|
|
391
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
392
|
+
proxies?: true | ({
|
|
393
|
+
type: "browserbase";
|
|
394
|
+
geolocation?: {
|
|
395
|
+
country: string;
|
|
396
|
+
city?: string | undefined;
|
|
397
|
+
state?: string | undefined;
|
|
398
|
+
} | undefined;
|
|
399
|
+
domainPattern?: string | undefined;
|
|
400
|
+
} | {
|
|
401
|
+
type: "external";
|
|
402
|
+
server: string;
|
|
403
|
+
password?: string | undefined;
|
|
404
|
+
domainPattern?: string | undefined;
|
|
405
|
+
username?: string | undefined;
|
|
406
|
+
})[] | undefined;
|
|
407
|
+
stealth?: {
|
|
408
|
+
advancedStealth?: boolean | undefined;
|
|
409
|
+
solveCaptchas?: boolean | undefined;
|
|
410
|
+
captchaImageSelector?: string | undefined;
|
|
411
|
+
captchaInputSelector?: string | undefined;
|
|
412
|
+
} | undefined;
|
|
152
413
|
}>, z.ZodObject<{
|
|
153
414
|
operation: z.ZodLiteral<"navigate">;
|
|
154
415
|
session_id: z.ZodString;
|
|
@@ -157,19 +418,19 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
157
418
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
158
419
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
159
420
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
url: string;
|
|
161
|
-
timeout: number;
|
|
162
421
|
operation: "navigate";
|
|
422
|
+
url: string;
|
|
163
423
|
session_id: string;
|
|
164
424
|
wait_until: "load" | "domcontentloaded" | "networkidle0" | "networkidle2";
|
|
425
|
+
timeout: number;
|
|
165
426
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
166
427
|
}, {
|
|
167
|
-
url: string;
|
|
168
428
|
operation: "navigate";
|
|
429
|
+
url: string;
|
|
169
430
|
session_id: string;
|
|
170
431
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
171
|
-
timeout?: number | undefined;
|
|
172
432
|
wait_until?: "load" | "domcontentloaded" | "networkidle0" | "networkidle2" | undefined;
|
|
433
|
+
timeout?: number | undefined;
|
|
173
434
|
}>, z.ZodObject<{
|
|
174
435
|
operation: z.ZodLiteral<"click">;
|
|
175
436
|
session_id: z.ZodString;
|
|
@@ -178,9 +439,9 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
178
439
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
179
440
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
180
441
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
-
timeout: number;
|
|
182
442
|
operation: "click";
|
|
183
443
|
session_id: string;
|
|
444
|
+
timeout: number;
|
|
184
445
|
selector: string;
|
|
185
446
|
wait_for_navigation: boolean;
|
|
186
447
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -200,35 +461,35 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
200
461
|
delay: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
201
462
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
202
463
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
text: string;
|
|
204
464
|
operation: "type";
|
|
205
465
|
session_id: string;
|
|
206
466
|
selector: string;
|
|
207
|
-
|
|
467
|
+
text: string;
|
|
208
468
|
clear_first: boolean;
|
|
469
|
+
delay: number;
|
|
209
470
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
210
471
|
}, {
|
|
211
|
-
text: string;
|
|
212
472
|
operation: "type";
|
|
213
473
|
session_id: string;
|
|
214
474
|
selector: string;
|
|
475
|
+
text: string;
|
|
215
476
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
216
|
-
delay?: number | undefined;
|
|
217
477
|
clear_first?: boolean | undefined;
|
|
478
|
+
delay?: number | undefined;
|
|
218
479
|
}>, z.ZodObject<{
|
|
219
480
|
operation: z.ZodLiteral<"evaluate">;
|
|
220
481
|
session_id: z.ZodString;
|
|
221
482
|
script: z.ZodString;
|
|
222
483
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
223
484
|
}, "strip", z.ZodTypeAny, {
|
|
224
|
-
script: string;
|
|
225
485
|
operation: "evaluate";
|
|
226
486
|
session_id: string;
|
|
487
|
+
script: string;
|
|
227
488
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
228
489
|
}, {
|
|
229
|
-
script: string;
|
|
230
490
|
operation: "evaluate";
|
|
231
491
|
session_id: string;
|
|
492
|
+
script: string;
|
|
232
493
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
233
494
|
}>, z.ZodObject<{
|
|
234
495
|
operation: z.ZodLiteral<"get_content">;
|
|
@@ -238,16 +499,16 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
238
499
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
239
500
|
}, "strip", z.ZodTypeAny, {
|
|
240
501
|
operation: "get_content";
|
|
241
|
-
content_type: "text" | "html" | "outer_html";
|
|
242
502
|
session_id: string;
|
|
503
|
+
content_type: "text" | "html" | "outer_html";
|
|
243
504
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
244
505
|
selector?: string | undefined;
|
|
245
506
|
}, {
|
|
246
507
|
operation: "get_content";
|
|
247
508
|
session_id: string;
|
|
248
509
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
249
|
-
content_type?: "text" | "html" | "outer_html" | undefined;
|
|
250
510
|
selector?: string | undefined;
|
|
511
|
+
content_type?: "text" | "html" | "outer_html" | undefined;
|
|
251
512
|
}>, z.ZodObject<{
|
|
252
513
|
operation: z.ZodLiteral<"screenshot">;
|
|
253
514
|
session_id: z.ZodString;
|
|
@@ -262,16 +523,16 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
262
523
|
session_id: string;
|
|
263
524
|
full_page: boolean;
|
|
264
525
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
265
|
-
quality?: number | undefined;
|
|
266
526
|
selector?: string | undefined;
|
|
527
|
+
quality?: number | undefined;
|
|
267
528
|
}, {
|
|
268
529
|
operation: "screenshot";
|
|
269
530
|
session_id: string;
|
|
270
531
|
format?: "png" | "jpeg" | "webp" | undefined;
|
|
271
532
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
272
|
-
quality?: number | undefined;
|
|
273
533
|
selector?: string | undefined;
|
|
274
534
|
full_page?: boolean | undefined;
|
|
535
|
+
quality?: number | undefined;
|
|
275
536
|
}>, z.ZodObject<{
|
|
276
537
|
operation: z.ZodLiteral<"wait">;
|
|
277
538
|
session_id: z.ZodString;
|
|
@@ -280,9 +541,9 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
280
541
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
281
542
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
282
543
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
timeout: number;
|
|
284
544
|
operation: "wait";
|
|
285
545
|
session_id: string;
|
|
546
|
+
timeout: number;
|
|
286
547
|
wait_type: "timeout" | "selector" | "navigation";
|
|
287
548
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
288
549
|
selector?: string | undefined;
|
|
@@ -332,18 +593,18 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
332
593
|
debug_url: z.ZodOptional<z.ZodString>;
|
|
333
594
|
error: z.ZodString;
|
|
334
595
|
}, "strip", z.ZodTypeAny, {
|
|
335
|
-
error: string;
|
|
336
|
-
success: boolean;
|
|
337
596
|
operation: "start_session";
|
|
338
|
-
|
|
597
|
+
success: boolean;
|
|
598
|
+
error: string;
|
|
339
599
|
context_id?: string | undefined;
|
|
600
|
+
session_id?: string | undefined;
|
|
340
601
|
debug_url?: string | undefined;
|
|
341
602
|
}, {
|
|
342
|
-
error: string;
|
|
343
|
-
success: boolean;
|
|
344
603
|
operation: "start_session";
|
|
345
|
-
|
|
604
|
+
success: boolean;
|
|
605
|
+
error: string;
|
|
346
606
|
context_id?: string | undefined;
|
|
607
|
+
session_id?: string | undefined;
|
|
347
608
|
debug_url?: string | undefined;
|
|
348
609
|
}>, z.ZodObject<{
|
|
349
610
|
operation: z.ZodLiteral<"navigate">;
|
|
@@ -351,53 +612,53 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
351
612
|
url: z.ZodOptional<z.ZodString>;
|
|
352
613
|
error: z.ZodString;
|
|
353
614
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
error: string;
|
|
355
|
-
success: boolean;
|
|
356
615
|
operation: "navigate";
|
|
616
|
+
success: boolean;
|
|
617
|
+
error: string;
|
|
357
618
|
url?: string | undefined;
|
|
358
619
|
}, {
|
|
359
|
-
error: string;
|
|
360
|
-
success: boolean;
|
|
361
620
|
operation: "navigate";
|
|
621
|
+
success: boolean;
|
|
622
|
+
error: string;
|
|
362
623
|
url?: string | undefined;
|
|
363
624
|
}>, z.ZodObject<{
|
|
364
625
|
operation: z.ZodLiteral<"click">;
|
|
365
626
|
success: z.ZodBoolean;
|
|
366
627
|
error: z.ZodString;
|
|
367
628
|
}, "strip", z.ZodTypeAny, {
|
|
368
|
-
error: string;
|
|
369
|
-
success: boolean;
|
|
370
629
|
operation: "click";
|
|
371
|
-
}, {
|
|
372
|
-
error: string;
|
|
373
630
|
success: boolean;
|
|
631
|
+
error: string;
|
|
632
|
+
}, {
|
|
374
633
|
operation: "click";
|
|
634
|
+
success: boolean;
|
|
635
|
+
error: string;
|
|
375
636
|
}>, z.ZodObject<{
|
|
376
637
|
operation: z.ZodLiteral<"type">;
|
|
377
638
|
success: z.ZodBoolean;
|
|
378
639
|
error: z.ZodString;
|
|
379
640
|
}, "strip", z.ZodTypeAny, {
|
|
380
|
-
error: string;
|
|
381
|
-
success: boolean;
|
|
382
641
|
operation: "type";
|
|
383
|
-
}, {
|
|
384
|
-
error: string;
|
|
385
642
|
success: boolean;
|
|
643
|
+
error: string;
|
|
644
|
+
}, {
|
|
386
645
|
operation: "type";
|
|
646
|
+
success: boolean;
|
|
647
|
+
error: string;
|
|
387
648
|
}>, z.ZodObject<{
|
|
388
649
|
operation: z.ZodLiteral<"evaluate">;
|
|
389
650
|
success: z.ZodBoolean;
|
|
390
651
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
391
652
|
error: z.ZodString;
|
|
392
653
|
}, "strip", z.ZodTypeAny, {
|
|
393
|
-
error: string;
|
|
394
|
-
success: boolean;
|
|
395
654
|
operation: "evaluate";
|
|
655
|
+
success: boolean;
|
|
656
|
+
error: string;
|
|
396
657
|
result?: unknown;
|
|
397
658
|
}, {
|
|
398
|
-
error: string;
|
|
399
|
-
success: boolean;
|
|
400
659
|
operation: "evaluate";
|
|
660
|
+
success: boolean;
|
|
661
|
+
error: string;
|
|
401
662
|
result?: unknown;
|
|
402
663
|
}>, z.ZodObject<{
|
|
403
664
|
operation: z.ZodLiteral<"get_content">;
|
|
@@ -405,14 +666,14 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
405
666
|
content: z.ZodOptional<z.ZodString>;
|
|
406
667
|
error: z.ZodString;
|
|
407
668
|
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
error: string;
|
|
409
|
-
success: boolean;
|
|
410
669
|
operation: "get_content";
|
|
670
|
+
success: boolean;
|
|
671
|
+
error: string;
|
|
411
672
|
content?: string | undefined;
|
|
412
673
|
}, {
|
|
413
|
-
error: string;
|
|
414
|
-
success: boolean;
|
|
415
674
|
operation: "get_content";
|
|
675
|
+
success: boolean;
|
|
676
|
+
error: string;
|
|
416
677
|
content?: string | undefined;
|
|
417
678
|
}>, z.ZodObject<{
|
|
418
679
|
operation: z.ZodLiteral<"screenshot">;
|
|
@@ -421,15 +682,15 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
421
682
|
format: z.ZodOptional<z.ZodString>;
|
|
422
683
|
error: z.ZodString;
|
|
423
684
|
}, "strip", z.ZodTypeAny, {
|
|
424
|
-
error: string;
|
|
425
|
-
success: boolean;
|
|
426
685
|
operation: "screenshot";
|
|
686
|
+
success: boolean;
|
|
687
|
+
error: string;
|
|
427
688
|
format?: string | undefined;
|
|
428
689
|
data?: string | undefined;
|
|
429
690
|
}, {
|
|
430
|
-
error: string;
|
|
431
|
-
success: boolean;
|
|
432
691
|
operation: "screenshot";
|
|
692
|
+
success: boolean;
|
|
693
|
+
error: string;
|
|
433
694
|
format?: string | undefined;
|
|
434
695
|
data?: string | undefined;
|
|
435
696
|
}>, z.ZodObject<{
|
|
@@ -437,13 +698,13 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
437
698
|
success: z.ZodBoolean;
|
|
438
699
|
error: z.ZodString;
|
|
439
700
|
}, "strip", z.ZodTypeAny, {
|
|
440
|
-
error: string;
|
|
441
|
-
success: boolean;
|
|
442
701
|
operation: "wait";
|
|
443
|
-
}, {
|
|
444
|
-
error: string;
|
|
445
702
|
success: boolean;
|
|
703
|
+
error: string;
|
|
704
|
+
}, {
|
|
446
705
|
operation: "wait";
|
|
706
|
+
success: boolean;
|
|
707
|
+
error: string;
|
|
447
708
|
}>, z.ZodObject<{
|
|
448
709
|
operation: z.ZodLiteral<"get_cookies">;
|
|
449
710
|
success: z.ZodBoolean;
|
|
@@ -456,45 +717,45 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
456
717
|
httpOnly: z.ZodBoolean;
|
|
457
718
|
secure: z.ZodBoolean;
|
|
458
719
|
}, "strip", z.ZodTypeAny, {
|
|
459
|
-
value: string;
|
|
460
|
-
path: string;
|
|
461
720
|
name: string;
|
|
721
|
+
value: string;
|
|
462
722
|
domain: string;
|
|
723
|
+
path: string;
|
|
463
724
|
expires: number;
|
|
464
725
|
httpOnly: boolean;
|
|
465
726
|
secure: boolean;
|
|
466
727
|
}, {
|
|
467
|
-
value: string;
|
|
468
|
-
path: string;
|
|
469
728
|
name: string;
|
|
729
|
+
value: string;
|
|
470
730
|
domain: string;
|
|
731
|
+
path: string;
|
|
471
732
|
expires: number;
|
|
472
733
|
httpOnly: boolean;
|
|
473
734
|
secure: boolean;
|
|
474
735
|
}>, "many">>;
|
|
475
736
|
error: z.ZodString;
|
|
476
737
|
}, "strip", z.ZodTypeAny, {
|
|
477
|
-
error: string;
|
|
478
|
-
success: boolean;
|
|
479
738
|
operation: "get_cookies";
|
|
739
|
+
success: boolean;
|
|
740
|
+
error: string;
|
|
480
741
|
cookies?: {
|
|
481
|
-
value: string;
|
|
482
|
-
path: string;
|
|
483
742
|
name: string;
|
|
743
|
+
value: string;
|
|
484
744
|
domain: string;
|
|
745
|
+
path: string;
|
|
485
746
|
expires: number;
|
|
486
747
|
httpOnly: boolean;
|
|
487
748
|
secure: boolean;
|
|
488
749
|
}[] | undefined;
|
|
489
750
|
}, {
|
|
490
|
-
error: string;
|
|
491
|
-
success: boolean;
|
|
492
751
|
operation: "get_cookies";
|
|
752
|
+
success: boolean;
|
|
753
|
+
error: string;
|
|
493
754
|
cookies?: {
|
|
494
|
-
value: string;
|
|
495
|
-
path: string;
|
|
496
755
|
name: string;
|
|
756
|
+
value: string;
|
|
497
757
|
domain: string;
|
|
758
|
+
path: string;
|
|
498
759
|
expires: number;
|
|
499
760
|
httpOnly: boolean;
|
|
500
761
|
secure: boolean;
|
|
@@ -504,13 +765,13 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
504
765
|
success: z.ZodBoolean;
|
|
505
766
|
error: z.ZodString;
|
|
506
767
|
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
error: string;
|
|
508
|
-
success: boolean;
|
|
509
768
|
operation: "end_session";
|
|
510
|
-
}, {
|
|
511
|
-
error: string;
|
|
512
769
|
success: boolean;
|
|
770
|
+
error: string;
|
|
771
|
+
}, {
|
|
513
772
|
operation: "end_session";
|
|
773
|
+
success: boolean;
|
|
774
|
+
error: string;
|
|
514
775
|
}>]>;
|
|
515
776
|
export type BrowserBaseParams = z.output<typeof BrowserBaseParamsSchema>;
|
|
516
777
|
export type BrowserBaseParamsInput = z.input<typeof BrowserBaseParamsSchema>;
|