@bubblelab/bubble-core 0.1.40 → 0.1.41
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 +146 -125
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +132 -132
- package/dist/bubbles/service-bubble/ai-agent.d.ts +98 -98
- package/dist/bubbles/service-bubble/airtable.d.ts +122 -122
- package/dist/bubbles/service-bubble/apify/apify.d.ts +16 -16
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +148 -148
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +63 -63
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +23 -23
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +94 -94
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +126 -126
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +48 -48
- package/dist/bubbles/service-bubble/firecrawl.d.ts +480 -480
- package/dist/bubbles/service-bubble/followupboss.d.ts +256 -256
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +128 -128
- package/dist/bubbles/service-bubble/github.d.ts +124 -124
- package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
- package/dist/bubbles/service-bubble/google-calendar.d.ts +136 -136
- package/dist/bubbles/service-bubble/google-drive.d.ts +136 -136
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +62 -62
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +18 -18
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +4 -4
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +17 -17
- package/dist/bubbles/service-bubble/notion/notion.d.ts +220 -220
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +24 -24
- package/dist/bubbles/service-bubble/slack/slack.d.ts +322 -322
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/telegram.d.ts +116 -116
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +31 -31
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +7 -7
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +24 -24
- 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 +20 -20
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +143 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +589 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +44 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +300 -300
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +62 -62
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +88 -88
- 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 +4 -4
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +82 -82
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +14 -14
- package/dist/bubbles.json +125 -40
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -81,7 +81,6 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
81
81
|
viewport_width: number;
|
|
82
82
|
viewport_height: number;
|
|
83
83
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
84
|
-
context_id?: string | undefined;
|
|
85
84
|
cookies?: {
|
|
86
85
|
value: string;
|
|
87
86
|
path: string;
|
|
@@ -91,10 +90,10 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
91
90
|
httpOnly: boolean;
|
|
92
91
|
secure: boolean;
|
|
93
92
|
}[] | undefined;
|
|
93
|
+
context_id?: string | undefined;
|
|
94
94
|
}, {
|
|
95
95
|
operation: "start_session";
|
|
96
96
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
97
|
-
context_id?: string | undefined;
|
|
98
97
|
cookies?: {
|
|
99
98
|
value: string;
|
|
100
99
|
path: string;
|
|
@@ -104,6 +103,7 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
104
103
|
httpOnly: boolean;
|
|
105
104
|
secure: boolean;
|
|
106
105
|
}[] | undefined;
|
|
106
|
+
context_id?: string | undefined;
|
|
107
107
|
viewport_width?: number | undefined;
|
|
108
108
|
viewport_height?: number | undefined;
|
|
109
109
|
}>, import("zod").ZodObject<{
|
|
@@ -114,19 +114,19 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
114
114
|
timeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
115
115
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
116
116
|
}, "strip", import("zod").ZodTypeAny, {
|
|
117
|
-
url: string;
|
|
118
|
-
timeout: number;
|
|
119
117
|
operation: "navigate";
|
|
118
|
+
url: string;
|
|
120
119
|
session_id: string;
|
|
121
120
|
wait_until: "load" | "domcontentloaded" | "networkidle0" | "networkidle2";
|
|
121
|
+
timeout: number;
|
|
122
122
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
123
123
|
}, {
|
|
124
|
-
url: string;
|
|
125
124
|
operation: "navigate";
|
|
125
|
+
url: string;
|
|
126
126
|
session_id: string;
|
|
127
127
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
128
|
-
timeout?: number | undefined;
|
|
129
128
|
wait_until?: "load" | "domcontentloaded" | "networkidle0" | "networkidle2" | undefined;
|
|
129
|
+
timeout?: number | undefined;
|
|
130
130
|
}>, import("zod").ZodObject<{
|
|
131
131
|
operation: import("zod").ZodLiteral<"click">;
|
|
132
132
|
session_id: import("zod").ZodString;
|
|
@@ -135,9 +135,9 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
135
135
|
timeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
136
136
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
137
137
|
}, "strip", import("zod").ZodTypeAny, {
|
|
138
|
-
timeout: number;
|
|
139
138
|
operation: "click";
|
|
140
139
|
session_id: string;
|
|
140
|
+
timeout: number;
|
|
141
141
|
selector: string;
|
|
142
142
|
wait_for_navigation: boolean;
|
|
143
143
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -157,35 +157,35 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
157
157
|
delay: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
158
158
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
159
159
|
}, "strip", import("zod").ZodTypeAny, {
|
|
160
|
-
text: string;
|
|
161
160
|
operation: "type";
|
|
162
161
|
session_id: string;
|
|
163
162
|
selector: string;
|
|
164
|
-
|
|
163
|
+
text: string;
|
|
165
164
|
clear_first: boolean;
|
|
165
|
+
delay: number;
|
|
166
166
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
167
167
|
}, {
|
|
168
|
-
text: string;
|
|
169
168
|
operation: "type";
|
|
170
169
|
session_id: string;
|
|
171
170
|
selector: string;
|
|
171
|
+
text: string;
|
|
172
172
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
173
|
-
delay?: number | undefined;
|
|
174
173
|
clear_first?: boolean | undefined;
|
|
174
|
+
delay?: number | undefined;
|
|
175
175
|
}>, import("zod").ZodObject<{
|
|
176
176
|
operation: import("zod").ZodLiteral<"evaluate">;
|
|
177
177
|
session_id: import("zod").ZodString;
|
|
178
178
|
script: import("zod").ZodString;
|
|
179
179
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
180
180
|
}, "strip", import("zod").ZodTypeAny, {
|
|
181
|
-
script: string;
|
|
182
181
|
operation: "evaluate";
|
|
183
182
|
session_id: string;
|
|
183
|
+
script: string;
|
|
184
184
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
185
185
|
}, {
|
|
186
|
-
script: string;
|
|
187
186
|
operation: "evaluate";
|
|
188
187
|
session_id: string;
|
|
188
|
+
script: string;
|
|
189
189
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
190
190
|
}>, import("zod").ZodObject<{
|
|
191
191
|
operation: import("zod").ZodLiteral<"get_content">;
|
|
@@ -195,16 +195,16 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
195
195
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
196
196
|
}, "strip", import("zod").ZodTypeAny, {
|
|
197
197
|
operation: "get_content";
|
|
198
|
-
content_type: "text" | "html" | "outer_html";
|
|
199
198
|
session_id: string;
|
|
199
|
+
content_type: "text" | "html" | "outer_html";
|
|
200
200
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
201
201
|
selector?: string | undefined;
|
|
202
202
|
}, {
|
|
203
203
|
operation: "get_content";
|
|
204
204
|
session_id: string;
|
|
205
205
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
206
|
-
content_type?: "text" | "html" | "outer_html" | undefined;
|
|
207
206
|
selector?: string | undefined;
|
|
207
|
+
content_type?: "text" | "html" | "outer_html" | undefined;
|
|
208
208
|
}>, import("zod").ZodObject<{
|
|
209
209
|
operation: import("zod").ZodLiteral<"screenshot">;
|
|
210
210
|
session_id: import("zod").ZodString;
|
|
@@ -214,21 +214,21 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
214
214
|
quality: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
215
215
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
216
216
|
}, "strip", import("zod").ZodTypeAny, {
|
|
217
|
-
format: "png" | "jpeg" | "webp";
|
|
218
217
|
operation: "screenshot";
|
|
218
|
+
format: "png" | "jpeg" | "webp";
|
|
219
219
|
session_id: string;
|
|
220
220
|
full_page: boolean;
|
|
221
221
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
222
|
-
quality?: number | undefined;
|
|
223
222
|
selector?: string | undefined;
|
|
223
|
+
quality?: number | undefined;
|
|
224
224
|
}, {
|
|
225
225
|
operation: "screenshot";
|
|
226
226
|
session_id: string;
|
|
227
227
|
format?: "png" | "jpeg" | "webp" | undefined;
|
|
228
228
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
229
|
-
quality?: number | undefined;
|
|
230
229
|
selector?: string | undefined;
|
|
231
230
|
full_page?: boolean | undefined;
|
|
231
|
+
quality?: number | undefined;
|
|
232
232
|
}>, import("zod").ZodObject<{
|
|
233
233
|
operation: import("zod").ZodLiteral<"wait">;
|
|
234
234
|
session_id: import("zod").ZodString;
|
|
@@ -237,9 +237,9 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
237
237
|
timeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
238
238
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
239
239
|
}, "strip", import("zod").ZodTypeAny, {
|
|
240
|
-
timeout: number;
|
|
241
240
|
operation: "wait";
|
|
242
241
|
session_id: string;
|
|
242
|
+
timeout: number;
|
|
243
243
|
wait_type: "timeout" | "selector" | "navigation";
|
|
244
244
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
245
245
|
selector?: string | undefined;
|
|
@@ -286,18 +286,18 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
286
286
|
debug_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
287
287
|
error: import("zod").ZodString;
|
|
288
288
|
}, "strip", import("zod").ZodTypeAny, {
|
|
289
|
-
error: string;
|
|
290
|
-
success: boolean;
|
|
291
289
|
operation: "start_session";
|
|
292
|
-
|
|
290
|
+
success: boolean;
|
|
291
|
+
error: string;
|
|
293
292
|
context_id?: string | undefined;
|
|
293
|
+
session_id?: string | undefined;
|
|
294
294
|
debug_url?: string | undefined;
|
|
295
295
|
}, {
|
|
296
|
-
error: string;
|
|
297
|
-
success: boolean;
|
|
298
296
|
operation: "start_session";
|
|
299
|
-
|
|
297
|
+
success: boolean;
|
|
298
|
+
error: string;
|
|
300
299
|
context_id?: string | undefined;
|
|
300
|
+
session_id?: string | undefined;
|
|
301
301
|
debug_url?: string | undefined;
|
|
302
302
|
}>, import("zod").ZodObject<{
|
|
303
303
|
operation: import("zod").ZodLiteral<"navigate">;
|
|
@@ -305,53 +305,53 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
305
305
|
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
306
306
|
error: import("zod").ZodString;
|
|
307
307
|
}, "strip", import("zod").ZodTypeAny, {
|
|
308
|
-
error: string;
|
|
309
|
-
success: boolean;
|
|
310
308
|
operation: "navigate";
|
|
309
|
+
success: boolean;
|
|
310
|
+
error: string;
|
|
311
311
|
url?: string | undefined;
|
|
312
312
|
}, {
|
|
313
|
-
error: string;
|
|
314
|
-
success: boolean;
|
|
315
313
|
operation: "navigate";
|
|
314
|
+
success: boolean;
|
|
315
|
+
error: string;
|
|
316
316
|
url?: string | undefined;
|
|
317
317
|
}>, import("zod").ZodObject<{
|
|
318
318
|
operation: import("zod").ZodLiteral<"click">;
|
|
319
319
|
success: import("zod").ZodBoolean;
|
|
320
320
|
error: import("zod").ZodString;
|
|
321
321
|
}, "strip", import("zod").ZodTypeAny, {
|
|
322
|
-
error: string;
|
|
323
|
-
success: boolean;
|
|
324
322
|
operation: "click";
|
|
325
|
-
}, {
|
|
326
|
-
error: string;
|
|
327
323
|
success: boolean;
|
|
324
|
+
error: string;
|
|
325
|
+
}, {
|
|
328
326
|
operation: "click";
|
|
327
|
+
success: boolean;
|
|
328
|
+
error: string;
|
|
329
329
|
}>, import("zod").ZodObject<{
|
|
330
330
|
operation: import("zod").ZodLiteral<"type">;
|
|
331
331
|
success: import("zod").ZodBoolean;
|
|
332
332
|
error: import("zod").ZodString;
|
|
333
333
|
}, "strip", import("zod").ZodTypeAny, {
|
|
334
|
-
error: string;
|
|
335
|
-
success: boolean;
|
|
336
334
|
operation: "type";
|
|
337
|
-
}, {
|
|
338
|
-
error: string;
|
|
339
335
|
success: boolean;
|
|
336
|
+
error: string;
|
|
337
|
+
}, {
|
|
340
338
|
operation: "type";
|
|
339
|
+
success: boolean;
|
|
340
|
+
error: string;
|
|
341
341
|
}>, import("zod").ZodObject<{
|
|
342
342
|
operation: import("zod").ZodLiteral<"evaluate">;
|
|
343
343
|
success: import("zod").ZodBoolean;
|
|
344
344
|
result: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
345
345
|
error: import("zod").ZodString;
|
|
346
346
|
}, "strip", import("zod").ZodTypeAny, {
|
|
347
|
-
error: string;
|
|
348
|
-
success: boolean;
|
|
349
347
|
operation: "evaluate";
|
|
348
|
+
success: boolean;
|
|
349
|
+
error: string;
|
|
350
350
|
result?: unknown;
|
|
351
351
|
}, {
|
|
352
|
-
error: string;
|
|
353
|
-
success: boolean;
|
|
354
352
|
operation: "evaluate";
|
|
353
|
+
success: boolean;
|
|
354
|
+
error: string;
|
|
355
355
|
result?: unknown;
|
|
356
356
|
}>, import("zod").ZodObject<{
|
|
357
357
|
operation: import("zod").ZodLiteral<"get_content">;
|
|
@@ -359,14 +359,14 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
359
359
|
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
360
360
|
error: import("zod").ZodString;
|
|
361
361
|
}, "strip", import("zod").ZodTypeAny, {
|
|
362
|
-
error: string;
|
|
363
|
-
success: boolean;
|
|
364
362
|
operation: "get_content";
|
|
363
|
+
success: boolean;
|
|
364
|
+
error: string;
|
|
365
365
|
content?: string | undefined;
|
|
366
366
|
}, {
|
|
367
|
-
error: string;
|
|
368
|
-
success: boolean;
|
|
369
367
|
operation: "get_content";
|
|
368
|
+
success: boolean;
|
|
369
|
+
error: string;
|
|
370
370
|
content?: string | undefined;
|
|
371
371
|
}>, import("zod").ZodObject<{
|
|
372
372
|
operation: import("zod").ZodLiteral<"screenshot">;
|
|
@@ -375,29 +375,29 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
375
375
|
format: import("zod").ZodOptional<import("zod").ZodString>;
|
|
376
376
|
error: import("zod").ZodString;
|
|
377
377
|
}, "strip", import("zod").ZodTypeAny, {
|
|
378
|
-
error: string;
|
|
379
|
-
success: boolean;
|
|
380
378
|
operation: "screenshot";
|
|
381
|
-
|
|
379
|
+
success: boolean;
|
|
380
|
+
error: string;
|
|
382
381
|
format?: string | undefined;
|
|
382
|
+
data?: string | undefined;
|
|
383
383
|
}, {
|
|
384
|
-
error: string;
|
|
385
|
-
success: boolean;
|
|
386
384
|
operation: "screenshot";
|
|
387
|
-
|
|
385
|
+
success: boolean;
|
|
386
|
+
error: string;
|
|
388
387
|
format?: string | undefined;
|
|
388
|
+
data?: string | undefined;
|
|
389
389
|
}>, import("zod").ZodObject<{
|
|
390
390
|
operation: import("zod").ZodLiteral<"wait">;
|
|
391
391
|
success: import("zod").ZodBoolean;
|
|
392
392
|
error: import("zod").ZodString;
|
|
393
393
|
}, "strip", import("zod").ZodTypeAny, {
|
|
394
|
-
error: string;
|
|
395
|
-
success: boolean;
|
|
396
394
|
operation: "wait";
|
|
397
|
-
}, {
|
|
398
|
-
error: string;
|
|
399
395
|
success: boolean;
|
|
396
|
+
error: string;
|
|
397
|
+
}, {
|
|
400
398
|
operation: "wait";
|
|
399
|
+
success: boolean;
|
|
400
|
+
error: string;
|
|
401
401
|
}>, import("zod").ZodObject<{
|
|
402
402
|
operation: import("zod").ZodLiteral<"get_cookies">;
|
|
403
403
|
success: import("zod").ZodBoolean;
|
|
@@ -428,9 +428,9 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
428
428
|
}>, "many">>;
|
|
429
429
|
error: import("zod").ZodString;
|
|
430
430
|
}, "strip", import("zod").ZodTypeAny, {
|
|
431
|
-
error: string;
|
|
432
|
-
success: boolean;
|
|
433
431
|
operation: "get_cookies";
|
|
432
|
+
success: boolean;
|
|
433
|
+
error: string;
|
|
434
434
|
cookies?: {
|
|
435
435
|
value: string;
|
|
436
436
|
path: string;
|
|
@@ -441,9 +441,9 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
441
441
|
secure: boolean;
|
|
442
442
|
}[] | undefined;
|
|
443
443
|
}, {
|
|
444
|
-
error: string;
|
|
445
|
-
success: boolean;
|
|
446
444
|
operation: "get_cookies";
|
|
445
|
+
success: boolean;
|
|
446
|
+
error: string;
|
|
447
447
|
cookies?: {
|
|
448
448
|
value: string;
|
|
449
449
|
path: string;
|
|
@@ -458,13 +458,13 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
458
458
|
success: import("zod").ZodBoolean;
|
|
459
459
|
error: import("zod").ZodString;
|
|
460
460
|
}, "strip", import("zod").ZodTypeAny, {
|
|
461
|
-
error: string;
|
|
462
|
-
success: boolean;
|
|
463
461
|
operation: "end_session";
|
|
464
|
-
}, {
|
|
465
|
-
error: string;
|
|
466
462
|
success: boolean;
|
|
463
|
+
error: string;
|
|
464
|
+
}, {
|
|
467
465
|
operation: "end_session";
|
|
466
|
+
success: boolean;
|
|
467
|
+
error: string;
|
|
468
468
|
}>]>;
|
|
469
469
|
static readonly shortDescription = "Browser automation service using BrowserBase cloud browsers";
|
|
470
470
|
static readonly longDescription = "\n BrowserBase service integration for cloud-based browser automation.\n\n Features:\n - Cloud-based browser sessions\n - Session persistence via context IDs\n - Cookie injection for authenticated sessions\n - Full page automation (click, type, evaluate)\n - Screenshot and content extraction\n - Cross-browser support\n\n Use cases:\n - Automated shopping workflows (Amazon, etc.)\n - Web scraping with authentication\n - Form automation and submission\n - Browser-based testing\n\n Security Features:\n - Sessions are isolated in BrowserBase cloud\n - Credentials are handled securely\n - Sessions are properly closed and cleaned up\n ";
|
|
@@ -61,6 +61,7 @@ export declare const BrowserSessionDataSchema: z.ZodObject<{
|
|
|
61
61
|
secure: boolean;
|
|
62
62
|
}>, "many">;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
contextId: string;
|
|
64
65
|
cookies: {
|
|
65
66
|
value: string;
|
|
66
67
|
path: string;
|
|
@@ -70,8 +71,8 @@ export declare const BrowserSessionDataSchema: z.ZodObject<{
|
|
|
70
71
|
httpOnly: boolean;
|
|
71
72
|
secure: boolean;
|
|
72
73
|
}[];
|
|
73
|
-
contextId: string;
|
|
74
74
|
}, {
|
|
75
|
+
contextId: string;
|
|
75
76
|
cookies: {
|
|
76
77
|
value: string;
|
|
77
78
|
path: string;
|
|
@@ -81,7 +82,6 @@ export declare const BrowserSessionDataSchema: z.ZodObject<{
|
|
|
81
82
|
httpOnly: boolean;
|
|
82
83
|
secure: boolean;
|
|
83
84
|
}[];
|
|
84
|
-
contextId: string;
|
|
85
85
|
}>;
|
|
86
86
|
export type BrowserSessionData = z.infer<typeof BrowserSessionDataSchema>;
|
|
87
87
|
/**
|
|
@@ -124,7 +124,6 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
124
124
|
viewport_width: number;
|
|
125
125
|
viewport_height: number;
|
|
126
126
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
127
|
-
context_id?: string | undefined;
|
|
128
127
|
cookies?: {
|
|
129
128
|
value: string;
|
|
130
129
|
path: string;
|
|
@@ -134,10 +133,10 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
134
133
|
httpOnly: boolean;
|
|
135
134
|
secure: boolean;
|
|
136
135
|
}[] | undefined;
|
|
136
|
+
context_id?: string | undefined;
|
|
137
137
|
}, {
|
|
138
138
|
operation: "start_session";
|
|
139
139
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
140
|
-
context_id?: string | undefined;
|
|
141
140
|
cookies?: {
|
|
142
141
|
value: string;
|
|
143
142
|
path: string;
|
|
@@ -147,6 +146,7 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
147
146
|
httpOnly: boolean;
|
|
148
147
|
secure: boolean;
|
|
149
148
|
}[] | undefined;
|
|
149
|
+
context_id?: string | undefined;
|
|
150
150
|
viewport_width?: number | undefined;
|
|
151
151
|
viewport_height?: number | undefined;
|
|
152
152
|
}>, z.ZodObject<{
|
|
@@ -157,19 +157,19 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
157
157
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
158
158
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
url: string;
|
|
161
160
|
operation: "navigate";
|
|
162
|
-
|
|
161
|
+
url: string;
|
|
163
162
|
session_id: string;
|
|
164
163
|
wait_until: "load" | "domcontentloaded" | "networkidle0" | "networkidle2";
|
|
164
|
+
timeout: number;
|
|
165
165
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
166
166
|
}, {
|
|
167
|
-
url: string;
|
|
168
167
|
operation: "navigate";
|
|
168
|
+
url: string;
|
|
169
169
|
session_id: string;
|
|
170
170
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
171
|
-
timeout?: number | undefined;
|
|
172
171
|
wait_until?: "load" | "domcontentloaded" | "networkidle0" | "networkidle2" | undefined;
|
|
172
|
+
timeout?: number | undefined;
|
|
173
173
|
}>, z.ZodObject<{
|
|
174
174
|
operation: z.ZodLiteral<"click">;
|
|
175
175
|
session_id: z.ZodString;
|
|
@@ -179,8 +179,8 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
179
179
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
181
|
operation: "click";
|
|
182
|
-
timeout: number;
|
|
183
182
|
session_id: string;
|
|
183
|
+
timeout: number;
|
|
184
184
|
selector: string;
|
|
185
185
|
wait_for_navigation: boolean;
|
|
186
186
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -201,20 +201,20 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
201
201
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
203
|
operation: "type";
|
|
204
|
-
text: string;
|
|
205
204
|
session_id: string;
|
|
206
205
|
selector: string;
|
|
207
|
-
|
|
206
|
+
text: string;
|
|
208
207
|
clear_first: boolean;
|
|
208
|
+
delay: number;
|
|
209
209
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
210
210
|
}, {
|
|
211
211
|
operation: "type";
|
|
212
|
-
text: string;
|
|
213
212
|
session_id: string;
|
|
214
213
|
selector: string;
|
|
214
|
+
text: string;
|
|
215
215
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
216
|
-
delay?: number | undefined;
|
|
217
216
|
clear_first?: boolean | undefined;
|
|
217
|
+
delay?: number | undefined;
|
|
218
218
|
}>, z.ZodObject<{
|
|
219
219
|
operation: z.ZodLiteral<"evaluate">;
|
|
220
220
|
session_id: z.ZodString;
|
|
@@ -222,13 +222,13 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
222
222
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
223
223
|
}, "strip", z.ZodTypeAny, {
|
|
224
224
|
operation: "evaluate";
|
|
225
|
-
script: string;
|
|
226
225
|
session_id: string;
|
|
226
|
+
script: string;
|
|
227
227
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
228
228
|
}, {
|
|
229
229
|
operation: "evaluate";
|
|
230
|
-
script: string;
|
|
231
230
|
session_id: string;
|
|
231
|
+
script: string;
|
|
232
232
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
233
233
|
}>, z.ZodObject<{
|
|
234
234
|
operation: z.ZodLiteral<"get_content">;
|
|
@@ -238,16 +238,16 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
238
238
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
240
|
operation: "get_content";
|
|
241
|
-
content_type: "text" | "html" | "outer_html";
|
|
242
241
|
session_id: string;
|
|
242
|
+
content_type: "text" | "html" | "outer_html";
|
|
243
243
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
244
244
|
selector?: string | undefined;
|
|
245
245
|
}, {
|
|
246
246
|
operation: "get_content";
|
|
247
247
|
session_id: string;
|
|
248
248
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
249
|
-
content_type?: "text" | "html" | "outer_html" | undefined;
|
|
250
249
|
selector?: string | undefined;
|
|
250
|
+
content_type?: "text" | "html" | "outer_html" | undefined;
|
|
251
251
|
}>, z.ZodObject<{
|
|
252
252
|
operation: z.ZodLiteral<"screenshot">;
|
|
253
253
|
session_id: z.ZodString;
|
|
@@ -257,21 +257,21 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
257
257
|
quality: z.ZodOptional<z.ZodNumber>;
|
|
258
258
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
format: "png" | "jpeg" | "webp";
|
|
261
260
|
operation: "screenshot";
|
|
261
|
+
format: "png" | "jpeg" | "webp";
|
|
262
262
|
session_id: string;
|
|
263
263
|
full_page: boolean;
|
|
264
264
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
265
|
-
quality?: number | undefined;
|
|
266
265
|
selector?: string | undefined;
|
|
266
|
+
quality?: number | undefined;
|
|
267
267
|
}, {
|
|
268
268
|
operation: "screenshot";
|
|
269
269
|
session_id: string;
|
|
270
270
|
format?: "png" | "jpeg" | "webp" | undefined;
|
|
271
271
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
272
|
-
quality?: number | undefined;
|
|
273
272
|
selector?: string | undefined;
|
|
274
273
|
full_page?: boolean | undefined;
|
|
274
|
+
quality?: number | undefined;
|
|
275
275
|
}>, z.ZodObject<{
|
|
276
276
|
operation: z.ZodLiteral<"wait">;
|
|
277
277
|
session_id: z.ZodString;
|
|
@@ -281,8 +281,8 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
281
281
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
283
|
operation: "wait";
|
|
284
|
-
timeout: number;
|
|
285
284
|
session_id: string;
|
|
285
|
+
timeout: number;
|
|
286
286
|
wait_type: "timeout" | "selector" | "navigation";
|
|
287
287
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
288
288
|
selector?: string | undefined;
|
|
@@ -335,15 +335,15 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
|
|
|
335
335
|
operation: "start_session";
|
|
336
336
|
success: boolean;
|
|
337
337
|
error: string;
|
|
338
|
-
session_id?: string | undefined;
|
|
339
338
|
context_id?: string | undefined;
|
|
339
|
+
session_id?: string | undefined;
|
|
340
340
|
debug_url?: string | undefined;
|
|
341
341
|
}, {
|
|
342
342
|
operation: "start_session";
|
|
343
343
|
success: boolean;
|
|
344
344
|
error: string;
|
|
345
|
-
session_id?: string | undefined;
|
|
346
345
|
context_id?: string | undefined;
|
|
346
|
+
session_id?: string | undefined;
|
|
347
347
|
debug_url?: string | undefined;
|
|
348
348
|
}>, z.ZodObject<{
|
|
349
349
|
operation: z.ZodLiteral<"navigate">;
|