@bubblelab/bubble-core 0.1.70 → 0.1.71
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 +71 -71
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +24 -24
- package/dist/bubbles/service-bubble/airtable.d.ts +24 -24
- package/dist/bubbles/service-bubble/apify/apify.d.ts +10 -10
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +40 -40
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +38 -38
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +78 -78
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +80 -80
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +42 -42
- package/dist/bubbles/service-bubble/firecrawl.d.ts +274 -274
- package/dist/bubbles/service-bubble/followupboss.d.ts +84 -84
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +58 -58
- package/dist/bubbles/service-bubble/github.d.ts +36 -36
- package/dist/bubbles/service-bubble/gmail.d.ts +88 -88
- package/dist/bubbles/service-bubble/google-drive.d.ts +2 -2
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +20 -7
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +74 -74
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +62 -62
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/slack/slack.d.ts +216 -216
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +11 -11
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +78 -78
- package/dist/bubbles/service-bubble/telegram.d.ts +2 -2
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +28 -28
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +234 -234
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +56 -56
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +80 -80
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +24 -24
- package/dist/bubbles.json +3 -3
- package/package.json +2 -2
|
@@ -132,14 +132,14 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
132
132
|
type: "external";
|
|
133
133
|
server: string;
|
|
134
134
|
password?: string | undefined;
|
|
135
|
-
username?: string | undefined;
|
|
136
135
|
domainPattern?: string | undefined;
|
|
136
|
+
username?: string | undefined;
|
|
137
137
|
}, {
|
|
138
138
|
type: "external";
|
|
139
139
|
server: string;
|
|
140
140
|
password?: string | undefined;
|
|
141
|
-
username?: string | undefined;
|
|
142
141
|
domainPattern?: string | undefined;
|
|
142
|
+
username?: string | undefined;
|
|
143
143
|
}>]>, "many">]>>;
|
|
144
144
|
stealth: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
145
145
|
advancedStealth: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
@@ -162,13 +162,6 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
162
162
|
viewport_width: number;
|
|
163
163
|
viewport_height: number;
|
|
164
164
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
165
|
-
stealth?: {
|
|
166
|
-
advancedStealth: boolean;
|
|
167
|
-
solveCaptchas: boolean;
|
|
168
|
-
captchaImageSelector?: string | undefined;
|
|
169
|
-
captchaInputSelector?: string | undefined;
|
|
170
|
-
} | undefined;
|
|
171
|
-
context_id?: string | undefined;
|
|
172
165
|
cookies?: {
|
|
173
166
|
value: string;
|
|
174
167
|
path: string;
|
|
@@ -178,6 +171,7 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
178
171
|
httpOnly: boolean;
|
|
179
172
|
secure: boolean;
|
|
180
173
|
}[] | undefined;
|
|
174
|
+
context_id?: string | undefined;
|
|
181
175
|
proxies?: true | ({
|
|
182
176
|
type: "browserbase";
|
|
183
177
|
geolocation?: {
|
|
@@ -190,19 +184,18 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
190
184
|
type: "external";
|
|
191
185
|
server: string;
|
|
192
186
|
password?: string | undefined;
|
|
193
|
-
username?: string | undefined;
|
|
194
187
|
domainPattern?: string | undefined;
|
|
188
|
+
username?: string | undefined;
|
|
195
189
|
})[] | undefined;
|
|
196
|
-
}, {
|
|
197
|
-
operation: "start_session";
|
|
198
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
199
190
|
stealth?: {
|
|
200
|
-
advancedStealth
|
|
201
|
-
solveCaptchas
|
|
191
|
+
advancedStealth: boolean;
|
|
192
|
+
solveCaptchas: boolean;
|
|
202
193
|
captchaImageSelector?: string | undefined;
|
|
203
194
|
captchaInputSelector?: string | undefined;
|
|
204
195
|
} | undefined;
|
|
205
|
-
|
|
196
|
+
}, {
|
|
197
|
+
operation: "start_session";
|
|
198
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
206
199
|
cookies?: {
|
|
207
200
|
value: string;
|
|
208
201
|
path: string;
|
|
@@ -212,6 +205,7 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
212
205
|
httpOnly: boolean;
|
|
213
206
|
secure: boolean;
|
|
214
207
|
}[] | undefined;
|
|
208
|
+
context_id?: string | undefined;
|
|
215
209
|
viewport_width?: number | undefined;
|
|
216
210
|
viewport_height?: number | undefined;
|
|
217
211
|
proxies?: true | ({
|
|
@@ -226,9 +220,15 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
226
220
|
type: "external";
|
|
227
221
|
server: string;
|
|
228
222
|
password?: string | undefined;
|
|
229
|
-
username?: string | undefined;
|
|
230
223
|
domainPattern?: string | undefined;
|
|
224
|
+
username?: string | undefined;
|
|
231
225
|
})[] | undefined;
|
|
226
|
+
stealth?: {
|
|
227
|
+
advancedStealth?: boolean | undefined;
|
|
228
|
+
solveCaptchas?: boolean | undefined;
|
|
229
|
+
captchaImageSelector?: string | undefined;
|
|
230
|
+
captchaInputSelector?: string | undefined;
|
|
231
|
+
} | undefined;
|
|
232
232
|
}>, import("zod").ZodObject<{
|
|
233
233
|
operation: import("zod").ZodLiteral<"navigate">;
|
|
234
234
|
session_id: import("zod").ZodString;
|
|
@@ -239,17 +239,17 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
239
239
|
}, "strip", import("zod").ZodTypeAny, {
|
|
240
240
|
operation: "navigate";
|
|
241
241
|
url: string;
|
|
242
|
-
timeout: number;
|
|
243
242
|
session_id: string;
|
|
244
243
|
wait_until: "load" | "domcontentloaded" | "networkidle0" | "networkidle2";
|
|
244
|
+
timeout: number;
|
|
245
245
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
246
246
|
}, {
|
|
247
247
|
operation: "navigate";
|
|
248
248
|
url: string;
|
|
249
249
|
session_id: string;
|
|
250
250
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
251
|
-
timeout?: number | undefined;
|
|
252
251
|
wait_until?: "load" | "domcontentloaded" | "networkidle0" | "networkidle2" | undefined;
|
|
252
|
+
timeout?: number | undefined;
|
|
253
253
|
}>, import("zod").ZodObject<{
|
|
254
254
|
operation: import("zod").ZodLiteral<"click">;
|
|
255
255
|
session_id: import("zod").ZodString;
|
|
@@ -259,8 +259,8 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
259
259
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
260
260
|
}, "strip", import("zod").ZodTypeAny, {
|
|
261
261
|
operation: "click";
|
|
262
|
-
timeout: number;
|
|
263
262
|
session_id: string;
|
|
263
|
+
timeout: number;
|
|
264
264
|
selector: string;
|
|
265
265
|
wait_for_navigation: boolean;
|
|
266
266
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -284,8 +284,8 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
284
284
|
text: string;
|
|
285
285
|
session_id: string;
|
|
286
286
|
selector: string;
|
|
287
|
-
delay: number;
|
|
288
287
|
clear_first: boolean;
|
|
288
|
+
delay: number;
|
|
289
289
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
290
290
|
}, {
|
|
291
291
|
operation: "type";
|
|
@@ -293,8 +293,8 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
293
293
|
session_id: string;
|
|
294
294
|
selector: string;
|
|
295
295
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
296
|
-
delay?: number | undefined;
|
|
297
296
|
clear_first?: boolean | undefined;
|
|
297
|
+
delay?: number | undefined;
|
|
298
298
|
}>, import("zod").ZodObject<{
|
|
299
299
|
operation: import("zod").ZodLiteral<"evaluate">;
|
|
300
300
|
session_id: import("zod").ZodString;
|
|
@@ -302,13 +302,13 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
302
302
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
303
303
|
}, "strip", import("zod").ZodTypeAny, {
|
|
304
304
|
operation: "evaluate";
|
|
305
|
-
script: string;
|
|
306
305
|
session_id: string;
|
|
306
|
+
script: string;
|
|
307
307
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
308
308
|
}, {
|
|
309
309
|
operation: "evaluate";
|
|
310
|
-
script: string;
|
|
311
310
|
session_id: string;
|
|
311
|
+
script: string;
|
|
312
312
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
313
313
|
}>, import("zod").ZodObject<{
|
|
314
314
|
operation: import("zod").ZodLiteral<"get_content">;
|
|
@@ -318,16 +318,16 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
318
318
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
319
319
|
}, "strip", import("zod").ZodTypeAny, {
|
|
320
320
|
operation: "get_content";
|
|
321
|
-
content_type: "text" | "html" | "outer_html";
|
|
322
321
|
session_id: string;
|
|
322
|
+
content_type: "text" | "html" | "outer_html";
|
|
323
323
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
324
324
|
selector?: string | undefined;
|
|
325
325
|
}, {
|
|
326
326
|
operation: "get_content";
|
|
327
327
|
session_id: string;
|
|
328
328
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
329
|
-
content_type?: "text" | "html" | "outer_html" | undefined;
|
|
330
329
|
selector?: string | undefined;
|
|
330
|
+
content_type?: "text" | "html" | "outer_html" | undefined;
|
|
331
331
|
}>, import("zod").ZodObject<{
|
|
332
332
|
operation: import("zod").ZodLiteral<"screenshot">;
|
|
333
333
|
session_id: import("zod").ZodString;
|
|
@@ -342,16 +342,16 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
342
342
|
session_id: string;
|
|
343
343
|
full_page: boolean;
|
|
344
344
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
345
|
-
quality?: number | undefined;
|
|
346
345
|
selector?: string | undefined;
|
|
346
|
+
quality?: number | undefined;
|
|
347
347
|
}, {
|
|
348
348
|
operation: "screenshot";
|
|
349
349
|
session_id: string;
|
|
350
350
|
format?: "png" | "jpeg" | "webp" | undefined;
|
|
351
351
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
352
|
-
quality?: number | undefined;
|
|
353
352
|
selector?: string | undefined;
|
|
354
353
|
full_page?: boolean | undefined;
|
|
354
|
+
quality?: number | undefined;
|
|
355
355
|
}>, import("zod").ZodObject<{
|
|
356
356
|
operation: import("zod").ZodLiteral<"wait">;
|
|
357
357
|
session_id: import("zod").ZodString;
|
|
@@ -361,8 +361,8 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
361
361
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
362
362
|
}, "strip", import("zod").ZodTypeAny, {
|
|
363
363
|
operation: "wait";
|
|
364
|
-
timeout: number;
|
|
365
364
|
session_id: string;
|
|
365
|
+
timeout: number;
|
|
366
366
|
wait_type: "timeout" | "selector" | "navigation";
|
|
367
367
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
368
368
|
selector?: string | undefined;
|
|
@@ -412,15 +412,15 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
412
412
|
operation: "start_session";
|
|
413
413
|
success: boolean;
|
|
414
414
|
error: string;
|
|
415
|
-
session_id?: string | undefined;
|
|
416
415
|
context_id?: string | undefined;
|
|
416
|
+
session_id?: string | undefined;
|
|
417
417
|
debug_url?: string | undefined;
|
|
418
418
|
}, {
|
|
419
419
|
operation: "start_session";
|
|
420
420
|
success: boolean;
|
|
421
421
|
error: string;
|
|
422
|
-
session_id?: string | undefined;
|
|
423
422
|
context_id?: string | undefined;
|
|
423
|
+
session_id?: string | undefined;
|
|
424
424
|
debug_url?: string | undefined;
|
|
425
425
|
}>, import("zod").ZodObject<{
|
|
426
426
|
operation: import("zod").ZodLiteral<"navigate">;
|
|
@@ -151,14 +151,14 @@ export declare const ExternalProxySchema: z.ZodObject<{
|
|
|
151
151
|
type: "external";
|
|
152
152
|
server: string;
|
|
153
153
|
password?: string | undefined;
|
|
154
|
-
username?: string | undefined;
|
|
155
154
|
domainPattern?: string | undefined;
|
|
155
|
+
username?: string | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
type: "external";
|
|
158
158
|
server: string;
|
|
159
159
|
password?: string | undefined;
|
|
160
|
-
username?: string | undefined;
|
|
161
160
|
domainPattern?: string | undefined;
|
|
161
|
+
username?: string | undefined;
|
|
162
162
|
}>;
|
|
163
163
|
export type ExternalProxy = z.infer<typeof ExternalProxySchema>;
|
|
164
164
|
/**
|
|
@@ -206,14 +206,14 @@ export declare const ProxyConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
206
206
|
type: "external";
|
|
207
207
|
server: string;
|
|
208
208
|
password?: string | undefined;
|
|
209
|
-
username?: string | undefined;
|
|
210
209
|
domainPattern?: string | undefined;
|
|
210
|
+
username?: string | undefined;
|
|
211
211
|
}, {
|
|
212
212
|
type: "external";
|
|
213
213
|
server: string;
|
|
214
214
|
password?: string | undefined;
|
|
215
|
-
username?: string | undefined;
|
|
216
215
|
domainPattern?: string | undefined;
|
|
216
|
+
username?: string | undefined;
|
|
217
217
|
}>]>;
|
|
218
218
|
export type ProxyConfig = z.infer<typeof ProxyConfigSchema>;
|
|
219
219
|
/**
|
|
@@ -313,14 +313,14 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
313
313
|
type: "external";
|
|
314
314
|
server: string;
|
|
315
315
|
password?: string | undefined;
|
|
316
|
-
username?: string | undefined;
|
|
317
316
|
domainPattern?: string | undefined;
|
|
317
|
+
username?: string | undefined;
|
|
318
318
|
}, {
|
|
319
319
|
type: "external";
|
|
320
320
|
server: string;
|
|
321
321
|
password?: string | undefined;
|
|
322
|
-
username?: string | undefined;
|
|
323
322
|
domainPattern?: string | undefined;
|
|
323
|
+
username?: string | undefined;
|
|
324
324
|
}>]>, "many">]>>;
|
|
325
325
|
stealth: z.ZodOptional<z.ZodObject<{
|
|
326
326
|
advancedStealth: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -343,12 +343,6 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
343
343
|
viewport_width: number;
|
|
344
344
|
viewport_height: number;
|
|
345
345
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
346
|
-
stealth?: {
|
|
347
|
-
advancedStealth: boolean;
|
|
348
|
-
solveCaptchas: boolean;
|
|
349
|
-
captchaImageSelector?: string | undefined;
|
|
350
|
-
captchaInputSelector?: string | undefined;
|
|
351
|
-
} | undefined;
|
|
352
346
|
cookies?: {
|
|
353
347
|
value: string;
|
|
354
348
|
path: string;
|
|
@@ -371,18 +365,18 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
371
365
|
type: "external";
|
|
372
366
|
server: string;
|
|
373
367
|
password?: string | undefined;
|
|
374
|
-
username?: string | undefined;
|
|
375
368
|
domainPattern?: string | undefined;
|
|
369
|
+
username?: string | undefined;
|
|
376
370
|
})[] | undefined;
|
|
377
|
-
}, {
|
|
378
|
-
operation: "start_session";
|
|
379
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
380
371
|
stealth?: {
|
|
381
|
-
advancedStealth
|
|
382
|
-
solveCaptchas
|
|
372
|
+
advancedStealth: boolean;
|
|
373
|
+
solveCaptchas: boolean;
|
|
383
374
|
captchaImageSelector?: string | undefined;
|
|
384
375
|
captchaInputSelector?: string | undefined;
|
|
385
376
|
} | undefined;
|
|
377
|
+
}, {
|
|
378
|
+
operation: "start_session";
|
|
379
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
386
380
|
cookies?: {
|
|
387
381
|
value: string;
|
|
388
382
|
path: string;
|
|
@@ -407,9 +401,15 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
407
401
|
type: "external";
|
|
408
402
|
server: string;
|
|
409
403
|
password?: string | undefined;
|
|
410
|
-
username?: string | undefined;
|
|
411
404
|
domainPattern?: string | undefined;
|
|
405
|
+
username?: string | undefined;
|
|
412
406
|
})[] | undefined;
|
|
407
|
+
stealth?: {
|
|
408
|
+
advancedStealth?: boolean | undefined;
|
|
409
|
+
solveCaptchas?: boolean | undefined;
|
|
410
|
+
captchaImageSelector?: string | undefined;
|
|
411
|
+
captchaInputSelector?: string | undefined;
|
|
412
|
+
} | undefined;
|
|
413
413
|
}>, z.ZodObject<{
|
|
414
414
|
operation: z.ZodLiteral<"navigate">;
|
|
415
415
|
session_id: z.ZodString;
|
|
@@ -418,19 +418,19 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
418
418
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
419
419
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
420
420
|
}, "strip", z.ZodTypeAny, {
|
|
421
|
-
url: string;
|
|
422
|
-
timeout: number;
|
|
423
421
|
operation: "navigate";
|
|
422
|
+
url: string;
|
|
424
423
|
session_id: string;
|
|
425
424
|
wait_until: "load" | "domcontentloaded" | "networkidle0" | "networkidle2";
|
|
425
|
+
timeout: number;
|
|
426
426
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
427
427
|
}, {
|
|
428
|
-
url: string;
|
|
429
428
|
operation: "navigate";
|
|
429
|
+
url: string;
|
|
430
430
|
session_id: string;
|
|
431
431
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
432
|
-
timeout?: number | undefined;
|
|
433
432
|
wait_until?: "load" | "domcontentloaded" | "networkidle0" | "networkidle2" | undefined;
|
|
433
|
+
timeout?: number | undefined;
|
|
434
434
|
}>, z.ZodObject<{
|
|
435
435
|
operation: z.ZodLiteral<"click">;
|
|
436
436
|
session_id: z.ZodString;
|
|
@@ -439,9 +439,9 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
439
439
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
440
440
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
441
441
|
}, "strip", z.ZodTypeAny, {
|
|
442
|
-
timeout: number;
|
|
443
442
|
operation: "click";
|
|
444
443
|
session_id: string;
|
|
444
|
+
timeout: number;
|
|
445
445
|
selector: string;
|
|
446
446
|
wait_for_navigation: boolean;
|
|
447
447
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -461,35 +461,35 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
461
461
|
delay: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
462
462
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
463
463
|
}, "strip", z.ZodTypeAny, {
|
|
464
|
-
text: string;
|
|
465
464
|
operation: "type";
|
|
465
|
+
text: string;
|
|
466
466
|
session_id: string;
|
|
467
467
|
selector: string;
|
|
468
|
-
delay: number;
|
|
469
468
|
clear_first: boolean;
|
|
469
|
+
delay: number;
|
|
470
470
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
471
471
|
}, {
|
|
472
|
-
text: string;
|
|
473
472
|
operation: "type";
|
|
473
|
+
text: string;
|
|
474
474
|
session_id: string;
|
|
475
475
|
selector: string;
|
|
476
476
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
477
|
-
delay?: number | undefined;
|
|
478
477
|
clear_first?: boolean | undefined;
|
|
478
|
+
delay?: number | undefined;
|
|
479
479
|
}>, z.ZodObject<{
|
|
480
480
|
operation: z.ZodLiteral<"evaluate">;
|
|
481
481
|
session_id: z.ZodString;
|
|
482
482
|
script: z.ZodString;
|
|
483
483
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
484
484
|
}, "strip", z.ZodTypeAny, {
|
|
485
|
-
script: string;
|
|
486
485
|
operation: "evaluate";
|
|
487
486
|
session_id: string;
|
|
487
|
+
script: string;
|
|
488
488
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
489
489
|
}, {
|
|
490
|
-
script: string;
|
|
491
490
|
operation: "evaluate";
|
|
492
491
|
session_id: string;
|
|
492
|
+
script: string;
|
|
493
493
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
494
494
|
}>, z.ZodObject<{
|
|
495
495
|
operation: z.ZodLiteral<"get_content">;
|
|
@@ -499,16 +499,16 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
499
499
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
500
500
|
}, "strip", z.ZodTypeAny, {
|
|
501
501
|
operation: "get_content";
|
|
502
|
-
content_type: "text" | "html" | "outer_html";
|
|
503
502
|
session_id: string;
|
|
503
|
+
content_type: "text" | "html" | "outer_html";
|
|
504
504
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
505
505
|
selector?: string | undefined;
|
|
506
506
|
}, {
|
|
507
507
|
operation: "get_content";
|
|
508
508
|
session_id: string;
|
|
509
509
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
510
|
-
content_type?: "text" | "html" | "outer_html" | undefined;
|
|
511
510
|
selector?: string | undefined;
|
|
511
|
+
content_type?: "text" | "html" | "outer_html" | undefined;
|
|
512
512
|
}>, z.ZodObject<{
|
|
513
513
|
operation: z.ZodLiteral<"screenshot">;
|
|
514
514
|
session_id: z.ZodString;
|
|
@@ -518,21 +518,21 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
518
518
|
quality: z.ZodOptional<z.ZodNumber>;
|
|
519
519
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
520
520
|
}, "strip", z.ZodTypeAny, {
|
|
521
|
-
format: "png" | "jpeg" | "webp";
|
|
522
521
|
operation: "screenshot";
|
|
522
|
+
format: "png" | "jpeg" | "webp";
|
|
523
523
|
session_id: string;
|
|
524
524
|
full_page: boolean;
|
|
525
525
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
526
|
-
quality?: number | undefined;
|
|
527
526
|
selector?: string | undefined;
|
|
527
|
+
quality?: number | undefined;
|
|
528
528
|
}, {
|
|
529
529
|
operation: "screenshot";
|
|
530
530
|
session_id: string;
|
|
531
531
|
format?: "png" | "jpeg" | "webp" | undefined;
|
|
532
532
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
533
|
-
quality?: number | undefined;
|
|
534
533
|
selector?: string | undefined;
|
|
535
534
|
full_page?: boolean | undefined;
|
|
535
|
+
quality?: number | undefined;
|
|
536
536
|
}>, z.ZodObject<{
|
|
537
537
|
operation: z.ZodLiteral<"wait">;
|
|
538
538
|
session_id: z.ZodString;
|
|
@@ -541,9 +541,9 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
541
541
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
542
542
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
543
543
|
}, "strip", z.ZodTypeAny, {
|
|
544
|
-
timeout: number;
|
|
545
544
|
operation: "wait";
|
|
546
545
|
session_id: string;
|
|
546
|
+
timeout: number;
|
|
547
547
|
wait_type: "timeout" | "selector" | "navigation";
|
|
548
548
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
549
549
|
selector?: string | undefined;
|
|
@@ -593,18 +593,18 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
593
593
|
debug_url: z.ZodOptional<z.ZodString>;
|
|
594
594
|
error: z.ZodString;
|
|
595
595
|
}, "strip", z.ZodTypeAny, {
|
|
596
|
-
error: string;
|
|
597
|
-
success: boolean;
|
|
598
596
|
operation: "start_session";
|
|
599
|
-
|
|
597
|
+
success: boolean;
|
|
598
|
+
error: string;
|
|
600
599
|
context_id?: string | undefined;
|
|
600
|
+
session_id?: string | undefined;
|
|
601
601
|
debug_url?: string | undefined;
|
|
602
602
|
}, {
|
|
603
|
-
error: string;
|
|
604
|
-
success: boolean;
|
|
605
603
|
operation: "start_session";
|
|
606
|
-
|
|
604
|
+
success: boolean;
|
|
605
|
+
error: string;
|
|
607
606
|
context_id?: string | undefined;
|
|
607
|
+
session_id?: string | undefined;
|
|
608
608
|
debug_url?: string | undefined;
|
|
609
609
|
}>, z.ZodObject<{
|
|
610
610
|
operation: z.ZodLiteral<"navigate">;
|
|
@@ -612,53 +612,53 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
612
612
|
url: z.ZodOptional<z.ZodString>;
|
|
613
613
|
error: z.ZodString;
|
|
614
614
|
}, "strip", z.ZodTypeAny, {
|
|
615
|
-
error: string;
|
|
616
|
-
success: boolean;
|
|
617
615
|
operation: "navigate";
|
|
616
|
+
success: boolean;
|
|
617
|
+
error: string;
|
|
618
618
|
url?: string | undefined;
|
|
619
619
|
}, {
|
|
620
|
-
error: string;
|
|
621
|
-
success: boolean;
|
|
622
620
|
operation: "navigate";
|
|
621
|
+
success: boolean;
|
|
622
|
+
error: string;
|
|
623
623
|
url?: string | undefined;
|
|
624
624
|
}>, z.ZodObject<{
|
|
625
625
|
operation: z.ZodLiteral<"click">;
|
|
626
626
|
success: z.ZodBoolean;
|
|
627
627
|
error: z.ZodString;
|
|
628
628
|
}, "strip", z.ZodTypeAny, {
|
|
629
|
-
error: string;
|
|
630
|
-
success: boolean;
|
|
631
629
|
operation: "click";
|
|
632
|
-
}, {
|
|
633
|
-
error: string;
|
|
634
630
|
success: boolean;
|
|
631
|
+
error: string;
|
|
632
|
+
}, {
|
|
635
633
|
operation: "click";
|
|
634
|
+
success: boolean;
|
|
635
|
+
error: string;
|
|
636
636
|
}>, z.ZodObject<{
|
|
637
637
|
operation: z.ZodLiteral<"type">;
|
|
638
638
|
success: z.ZodBoolean;
|
|
639
639
|
error: z.ZodString;
|
|
640
640
|
}, "strip", z.ZodTypeAny, {
|
|
641
|
-
error: string;
|
|
642
|
-
success: boolean;
|
|
643
641
|
operation: "type";
|
|
644
|
-
}, {
|
|
645
|
-
error: string;
|
|
646
642
|
success: boolean;
|
|
643
|
+
error: string;
|
|
644
|
+
}, {
|
|
647
645
|
operation: "type";
|
|
646
|
+
success: boolean;
|
|
647
|
+
error: string;
|
|
648
648
|
}>, z.ZodObject<{
|
|
649
649
|
operation: z.ZodLiteral<"evaluate">;
|
|
650
650
|
success: z.ZodBoolean;
|
|
651
651
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
652
652
|
error: z.ZodString;
|
|
653
653
|
}, "strip", z.ZodTypeAny, {
|
|
654
|
-
error: string;
|
|
655
|
-
success: boolean;
|
|
656
654
|
operation: "evaluate";
|
|
655
|
+
success: boolean;
|
|
656
|
+
error: string;
|
|
657
657
|
result?: unknown;
|
|
658
658
|
}, {
|
|
659
|
-
error: string;
|
|
660
|
-
success: boolean;
|
|
661
659
|
operation: "evaluate";
|
|
660
|
+
success: boolean;
|
|
661
|
+
error: string;
|
|
662
662
|
result?: unknown;
|
|
663
663
|
}>, z.ZodObject<{
|
|
664
664
|
operation: z.ZodLiteral<"get_content">;
|
|
@@ -666,14 +666,14 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
666
666
|
content: z.ZodOptional<z.ZodString>;
|
|
667
667
|
error: z.ZodString;
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
|
-
error: string;
|
|
670
|
-
success: boolean;
|
|
671
669
|
operation: "get_content";
|
|
670
|
+
success: boolean;
|
|
671
|
+
error: string;
|
|
672
672
|
content?: string | undefined;
|
|
673
673
|
}, {
|
|
674
|
-
error: string;
|
|
675
|
-
success: boolean;
|
|
676
674
|
operation: "get_content";
|
|
675
|
+
success: boolean;
|
|
676
|
+
error: string;
|
|
677
677
|
content?: string | undefined;
|
|
678
678
|
}>, z.ZodObject<{
|
|
679
679
|
operation: z.ZodLiteral<"screenshot">;
|
|
@@ -682,15 +682,15 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
682
682
|
format: z.ZodOptional<z.ZodString>;
|
|
683
683
|
error: z.ZodString;
|
|
684
684
|
}, "strip", z.ZodTypeAny, {
|
|
685
|
-
error: string;
|
|
686
|
-
success: boolean;
|
|
687
685
|
operation: "screenshot";
|
|
686
|
+
success: boolean;
|
|
687
|
+
error: string;
|
|
688
688
|
format?: string | undefined;
|
|
689
689
|
data?: string | undefined;
|
|
690
690
|
}, {
|
|
691
|
-
error: string;
|
|
692
|
-
success: boolean;
|
|
693
691
|
operation: "screenshot";
|
|
692
|
+
success: boolean;
|
|
693
|
+
error: string;
|
|
694
694
|
format?: string | undefined;
|
|
695
695
|
data?: string | undefined;
|
|
696
696
|
}>, z.ZodObject<{
|
|
@@ -698,13 +698,13 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
698
698
|
success: z.ZodBoolean;
|
|
699
699
|
error: z.ZodString;
|
|
700
700
|
}, "strip", z.ZodTypeAny, {
|
|
701
|
-
error: string;
|
|
702
|
-
success: boolean;
|
|
703
701
|
operation: "wait";
|
|
704
|
-
}, {
|
|
705
|
-
error: string;
|
|
706
702
|
success: boolean;
|
|
703
|
+
error: string;
|
|
704
|
+
}, {
|
|
707
705
|
operation: "wait";
|
|
706
|
+
success: boolean;
|
|
707
|
+
error: string;
|
|
708
708
|
}>, z.ZodObject<{
|
|
709
709
|
operation: z.ZodLiteral<"get_cookies">;
|
|
710
710
|
success: z.ZodBoolean;
|
|
@@ -735,9 +735,9 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
735
735
|
}>, "many">>;
|
|
736
736
|
error: z.ZodString;
|
|
737
737
|
}, "strip", z.ZodTypeAny, {
|
|
738
|
-
error: string;
|
|
739
|
-
success: boolean;
|
|
740
738
|
operation: "get_cookies";
|
|
739
|
+
success: boolean;
|
|
740
|
+
error: string;
|
|
741
741
|
cookies?: {
|
|
742
742
|
value: string;
|
|
743
743
|
path: string;
|
|
@@ -748,9 +748,9 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
748
748
|
secure: boolean;
|
|
749
749
|
}[] | undefined;
|
|
750
750
|
}, {
|
|
751
|
-
error: string;
|
|
752
|
-
success: boolean;
|
|
753
751
|
operation: "get_cookies";
|
|
752
|
+
success: boolean;
|
|
753
|
+
error: string;
|
|
754
754
|
cookies?: {
|
|
755
755
|
value: string;
|
|
756
756
|
path: string;
|
|
@@ -765,13 +765,13 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
765
765
|
success: z.ZodBoolean;
|
|
766
766
|
error: z.ZodString;
|
|
767
767
|
}, "strip", z.ZodTypeAny, {
|
|
768
|
-
error: string;
|
|
769
|
-
success: boolean;
|
|
770
768
|
operation: "end_session";
|
|
771
|
-
}, {
|
|
772
|
-
error: string;
|
|
773
769
|
success: boolean;
|
|
770
|
+
error: string;
|
|
771
|
+
}, {
|
|
774
772
|
operation: "end_session";
|
|
773
|
+
success: boolean;
|
|
774
|
+
error: string;
|
|
775
775
|
}>]>;
|
|
776
776
|
export type BrowserBaseParams = z.output<typeof BrowserBaseParamsSchema>;
|
|
777
777
|
export type BrowserBaseParamsInput = z.input<typeof BrowserBaseParamsSchema>;
|