@bubblelab/bubble-core 0.1.143 → 0.1.146
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 +148 -148
- package/dist/bubbles/service-bubble/agi-inc.d.ts +132 -132
- package/dist/bubbles/service-bubble/ai-agent.d.ts +64 -64
- package/dist/bubbles/service-bubble/airtable.d.ts +154 -154
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +56 -56
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +57 -57
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +1 -4
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +98 -98
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +32 -32
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +51 -51
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +96 -96
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +40 -40
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +374 -374
- package/dist/bubbles/service-bubble/followupboss.d.ts +212 -212
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +56 -56
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +114 -114
- package/dist/bubbles/service-bubble/github.d.ts +140 -140
- package/dist/bubbles/service-bubble/gmail.d.ts +276 -276
- package/dist/bubbles/service-bubble/google-calendar.d.ts +26 -26
- package/dist/bubbles/service-bubble/google-drive.d.ts +56 -56
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +52 -52
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +14 -14
- package/dist/bubbles/service-bubble/insforge-db.d.ts +14 -14
- package/dist/bubbles/service-bubble/jira/jira.d.ts +55 -55
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +112 -112
- package/dist/bubbles/service-bubble/notion/notion.d.ts +94 -82
- package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/notion/notion.js +135 -26
- package/dist/bubbles/service-bubble/notion/notion.js.map +1 -1
- package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
- package/dist/bubbles/service-bubble/resend.d.ts +36 -36
- package/dist/bubbles/service-bubble/slack/slack.d.ts +720 -720
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +85 -85
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +86 -86
- package/dist/bubbles/service-bubble/telegram.d.ts +106 -106
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +26 -26
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/index.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/index.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/index.js +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/index.js.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +17 -17
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js +5 -5
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +16 -16
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +16 -16
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +16 -16
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +14 -14
- 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 +4 -4
- 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 +16 -16
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +377 -377
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +18 -18
- 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 +58 -58
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +94 -94
- 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/yc-scraper-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +60 -60
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +56 -56
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +11 -8
- package/package.json +2 -2
|
@@ -550,8 +550,8 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
550
550
|
allow_duplicate_linkedin: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
551
551
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
552
552
|
}, "strip", z.ZodTypeAny, {
|
|
553
|
-
name: string;
|
|
554
553
|
operation: "create_candidate";
|
|
554
|
+
name: string;
|
|
555
555
|
allow_duplicate_linkedin: boolean;
|
|
556
556
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
557
557
|
website?: string | undefined;
|
|
@@ -566,8 +566,8 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
566
566
|
credited_to_user_id?: string | undefined;
|
|
567
567
|
tag?: string | undefined;
|
|
568
568
|
}, {
|
|
569
|
-
name: string;
|
|
570
569
|
operation: "create_candidate";
|
|
570
|
+
name: string;
|
|
571
571
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
572
572
|
website?: string | undefined;
|
|
573
573
|
emails?: {
|
|
@@ -628,12 +628,12 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
628
628
|
title: z.ZodString;
|
|
629
629
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
630
630
|
}, "strip", z.ZodTypeAny, {
|
|
631
|
-
title: string;
|
|
632
631
|
operation: "create_tag";
|
|
632
|
+
title: string;
|
|
633
633
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
634
634
|
}, {
|
|
635
|
-
title: string;
|
|
636
635
|
operation: "create_tag";
|
|
636
|
+
title: string;
|
|
637
637
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
638
638
|
}>, z.ZodObject<{
|
|
639
639
|
operation: z.ZodLiteral<"list_custom_fields">;
|
|
@@ -897,9 +897,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
897
897
|
sync_token: z.ZodOptional<z.ZodString>;
|
|
898
898
|
error: z.ZodString;
|
|
899
899
|
}, "strip", z.ZodTypeAny, {
|
|
900
|
-
error: string;
|
|
901
|
-
success: boolean;
|
|
902
900
|
operation: "list_candidates";
|
|
901
|
+
success: boolean;
|
|
902
|
+
error: string;
|
|
903
903
|
next_cursor?: string | undefined;
|
|
904
904
|
sync_token?: string | undefined;
|
|
905
905
|
candidates?: {
|
|
@@ -959,9 +959,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
959
959
|
}[] | undefined;
|
|
960
960
|
more_data_available?: boolean | undefined;
|
|
961
961
|
}, {
|
|
962
|
-
error: string;
|
|
963
|
-
success: boolean;
|
|
964
962
|
operation: "list_candidates";
|
|
963
|
+
success: boolean;
|
|
964
|
+
error: string;
|
|
965
965
|
next_cursor?: string | undefined;
|
|
966
966
|
sync_token?: string | undefined;
|
|
967
967
|
candidates?: {
|
|
@@ -1115,9 +1115,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1115
1115
|
}>>;
|
|
1116
1116
|
error: z.ZodString;
|
|
1117
1117
|
}, "strip", z.ZodTypeAny, {
|
|
1118
|
-
error: string;
|
|
1119
|
-
success: boolean;
|
|
1120
1118
|
operation: "get_candidate";
|
|
1119
|
+
success: boolean;
|
|
1120
|
+
error: string;
|
|
1121
1121
|
candidate?: {
|
|
1122
1122
|
name: string;
|
|
1123
1123
|
id: string;
|
|
@@ -1141,9 +1141,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1141
1141
|
}[] | undefined;
|
|
1142
1142
|
} | undefined;
|
|
1143
1143
|
}, {
|
|
1144
|
-
error: string;
|
|
1145
|
-
success: boolean;
|
|
1146
1144
|
operation: "get_candidate";
|
|
1145
|
+
success: boolean;
|
|
1146
|
+
error: string;
|
|
1147
1147
|
candidate?: {
|
|
1148
1148
|
name: string;
|
|
1149
1149
|
id: string;
|
|
@@ -1262,9 +1262,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1262
1262
|
duplicate: z.ZodOptional<z.ZodBoolean>;
|
|
1263
1263
|
error: z.ZodString;
|
|
1264
1264
|
}, "strip", z.ZodTypeAny, {
|
|
1265
|
-
error: string;
|
|
1266
|
-
success: boolean;
|
|
1267
1265
|
operation: "create_candidate";
|
|
1266
|
+
success: boolean;
|
|
1267
|
+
error: string;
|
|
1268
1268
|
candidate?: {
|
|
1269
1269
|
name: string;
|
|
1270
1270
|
id: string;
|
|
@@ -1289,9 +1289,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1289
1289
|
} | undefined;
|
|
1290
1290
|
duplicate?: boolean | undefined;
|
|
1291
1291
|
}, {
|
|
1292
|
-
error: string;
|
|
1293
|
-
success: boolean;
|
|
1294
1292
|
operation: "create_candidate";
|
|
1293
|
+
success: boolean;
|
|
1294
|
+
error: string;
|
|
1295
1295
|
candidate?: {
|
|
1296
1296
|
name: string;
|
|
1297
1297
|
id: string;
|
|
@@ -1410,9 +1410,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1410
1410
|
}>, "many">>;
|
|
1411
1411
|
error: z.ZodString;
|
|
1412
1412
|
}, "strip", z.ZodTypeAny, {
|
|
1413
|
-
error: string;
|
|
1414
|
-
success: boolean;
|
|
1415
1413
|
operation: "search_candidates";
|
|
1414
|
+
success: boolean;
|
|
1415
|
+
error: string;
|
|
1416
1416
|
candidates?: {
|
|
1417
1417
|
name: string;
|
|
1418
1418
|
id: string;
|
|
@@ -1436,9 +1436,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1436
1436
|
}[] | undefined;
|
|
1437
1437
|
}[] | undefined;
|
|
1438
1438
|
}, {
|
|
1439
|
-
error: string;
|
|
1440
|
-
success: boolean;
|
|
1441
1439
|
operation: "search_candidates";
|
|
1440
|
+
success: boolean;
|
|
1441
|
+
error: string;
|
|
1442
1442
|
candidates?: {
|
|
1443
1443
|
name: string;
|
|
1444
1444
|
id: string;
|
|
@@ -1556,9 +1556,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1556
1556
|
}>>;
|
|
1557
1557
|
error: z.ZodString;
|
|
1558
1558
|
}, "strip", z.ZodTypeAny, {
|
|
1559
|
-
error: string;
|
|
1560
|
-
success: boolean;
|
|
1561
1559
|
operation: "add_tag";
|
|
1560
|
+
success: boolean;
|
|
1561
|
+
error: string;
|
|
1562
1562
|
candidate?: {
|
|
1563
1563
|
name: string;
|
|
1564
1564
|
id: string;
|
|
@@ -1582,9 +1582,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1582
1582
|
}[] | undefined;
|
|
1583
1583
|
} | undefined;
|
|
1584
1584
|
}, {
|
|
1585
|
-
error: string;
|
|
1586
|
-
success: boolean;
|
|
1587
1585
|
operation: "add_tag";
|
|
1586
|
+
success: boolean;
|
|
1587
|
+
error: string;
|
|
1588
1588
|
candidate?: {
|
|
1589
1589
|
name: string;
|
|
1590
1590
|
id: string;
|
|
@@ -1625,18 +1625,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1625
1625
|
}>, "many">>;
|
|
1626
1626
|
error: z.ZodString;
|
|
1627
1627
|
}, "strip", z.ZodTypeAny, {
|
|
1628
|
-
error: string;
|
|
1629
|
-
success: boolean;
|
|
1630
1628
|
operation: "list_tags";
|
|
1629
|
+
success: boolean;
|
|
1630
|
+
error: string;
|
|
1631
1631
|
tags?: {
|
|
1632
1632
|
title: string;
|
|
1633
1633
|
id: string;
|
|
1634
1634
|
isArchived?: boolean | undefined;
|
|
1635
1635
|
}[] | undefined;
|
|
1636
1636
|
}, {
|
|
1637
|
-
error: string;
|
|
1638
|
-
success: boolean;
|
|
1639
1637
|
operation: "list_tags";
|
|
1638
|
+
success: boolean;
|
|
1639
|
+
error: string;
|
|
1640
1640
|
tags?: {
|
|
1641
1641
|
title: string;
|
|
1642
1642
|
id: string;
|
|
@@ -1660,18 +1660,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1660
1660
|
}>>;
|
|
1661
1661
|
error: z.ZodString;
|
|
1662
1662
|
}, "strip", z.ZodTypeAny, {
|
|
1663
|
-
error: string;
|
|
1664
|
-
success: boolean;
|
|
1665
1663
|
operation: "create_tag";
|
|
1664
|
+
success: boolean;
|
|
1665
|
+
error: string;
|
|
1666
1666
|
tag?: {
|
|
1667
1667
|
title: string;
|
|
1668
1668
|
id: string;
|
|
1669
1669
|
isArchived?: boolean | undefined;
|
|
1670
1670
|
} | undefined;
|
|
1671
1671
|
}, {
|
|
1672
|
-
error: string;
|
|
1673
|
-
success: boolean;
|
|
1674
1672
|
operation: "create_tag";
|
|
1673
|
+
success: boolean;
|
|
1674
|
+
error: string;
|
|
1675
1675
|
tag?: {
|
|
1676
1676
|
title: string;
|
|
1677
1677
|
id: string;
|
|
@@ -1730,9 +1730,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1730
1730
|
sync_token: z.ZodOptional<z.ZodString>;
|
|
1731
1731
|
error: z.ZodString;
|
|
1732
1732
|
}, "strip", z.ZodTypeAny, {
|
|
1733
|
-
error: string;
|
|
1734
|
-
success: boolean;
|
|
1735
1733
|
operation: "list_custom_fields";
|
|
1734
|
+
success: boolean;
|
|
1735
|
+
error: string;
|
|
1736
1736
|
next_cursor?: string | undefined;
|
|
1737
1737
|
custom_fields?: {
|
|
1738
1738
|
title: string;
|
|
@@ -1750,9 +1750,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1750
1750
|
sync_token?: string | undefined;
|
|
1751
1751
|
more_data_available?: boolean | undefined;
|
|
1752
1752
|
}, {
|
|
1753
|
-
error: string;
|
|
1754
|
-
success: boolean;
|
|
1755
1753
|
operation: "list_custom_fields";
|
|
1754
|
+
success: boolean;
|
|
1755
|
+
error: string;
|
|
1756
1756
|
next_cursor?: string | undefined;
|
|
1757
1757
|
custom_fields?: {
|
|
1758
1758
|
title: string;
|
|
@@ -98,28 +98,28 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
98
98
|
country: import("zod").ZodString;
|
|
99
99
|
}, "strip", import("zod").ZodTypeAny, {
|
|
100
100
|
country: string;
|
|
101
|
-
state?: string | undefined;
|
|
102
101
|
city?: string | undefined;
|
|
102
|
+
state?: string | undefined;
|
|
103
103
|
}, {
|
|
104
104
|
country: string;
|
|
105
|
-
state?: string | undefined;
|
|
106
105
|
city?: string | undefined;
|
|
106
|
+
state?: string | undefined;
|
|
107
107
|
}>>;
|
|
108
108
|
domainPattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
109
109
|
}, "strip", import("zod").ZodTypeAny, {
|
|
110
110
|
type: "browserbase";
|
|
111
111
|
geolocation?: {
|
|
112
112
|
country: string;
|
|
113
|
-
state?: string | undefined;
|
|
114
113
|
city?: string | undefined;
|
|
114
|
+
state?: string | undefined;
|
|
115
115
|
} | undefined;
|
|
116
116
|
domainPattern?: string | undefined;
|
|
117
117
|
}, {
|
|
118
118
|
type: "browserbase";
|
|
119
119
|
geolocation?: {
|
|
120
120
|
country: string;
|
|
121
|
-
state?: string | undefined;
|
|
122
121
|
city?: string | undefined;
|
|
122
|
+
state?: string | undefined;
|
|
123
123
|
} | undefined;
|
|
124
124
|
domainPattern?: string | undefined;
|
|
125
125
|
}>, import("zod").ZodObject<{
|
|
@@ -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
|
operation: "start_session";
|
|
163
163
|
viewport_width: number;
|
|
164
164
|
viewport_height: number;
|
|
165
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
166
|
-
stealth?: {
|
|
167
|
-
advancedStealth: boolean;
|
|
168
|
-
solveCaptchas: boolean;
|
|
169
|
-
captchaImageSelector?: string | undefined;
|
|
170
|
-
captchaInputSelector?: string | undefined;
|
|
171
|
-
} | undefined;
|
|
172
165
|
context_id?: string | undefined;
|
|
173
166
|
cookies?: {
|
|
174
167
|
value: string;
|
|
@@ -179,31 +172,31 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
179
172
|
httpOnly: boolean;
|
|
180
173
|
secure: boolean;
|
|
181
174
|
}[] | undefined;
|
|
175
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
182
176
|
proxies?: true | ({
|
|
183
177
|
type: "browserbase";
|
|
184
178
|
geolocation?: {
|
|
185
179
|
country: string;
|
|
186
|
-
state?: string | undefined;
|
|
187
180
|
city?: string | undefined;
|
|
181
|
+
state?: string | undefined;
|
|
188
182
|
} | undefined;
|
|
189
183
|
domainPattern?: string | undefined;
|
|
190
184
|
} | {
|
|
191
185
|
type: "external";
|
|
192
186
|
server: string;
|
|
193
187
|
password?: string | undefined;
|
|
194
|
-
username?: string | undefined;
|
|
195
188
|
domainPattern?: string | undefined;
|
|
189
|
+
username?: string | undefined;
|
|
196
190
|
})[] | undefined;
|
|
197
|
-
timeout_seconds?: number | undefined;
|
|
198
|
-
}, {
|
|
199
|
-
operation: "start_session";
|
|
200
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
201
191
|
stealth?: {
|
|
202
|
-
advancedStealth
|
|
203
|
-
solveCaptchas
|
|
192
|
+
advancedStealth: boolean;
|
|
193
|
+
solveCaptchas: boolean;
|
|
204
194
|
captchaImageSelector?: string | undefined;
|
|
205
195
|
captchaInputSelector?: string | undefined;
|
|
206
196
|
} | undefined;
|
|
197
|
+
timeout_seconds?: number | undefined;
|
|
198
|
+
}, {
|
|
199
|
+
operation: "start_session";
|
|
207
200
|
context_id?: string | undefined;
|
|
208
201
|
cookies?: {
|
|
209
202
|
value: string;
|
|
@@ -216,21 +209,28 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
216
209
|
}[] | undefined;
|
|
217
210
|
viewport_width?: number | undefined;
|
|
218
211
|
viewport_height?: number | undefined;
|
|
212
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
219
213
|
proxies?: true | ({
|
|
220
214
|
type: "browserbase";
|
|
221
215
|
geolocation?: {
|
|
222
216
|
country: string;
|
|
223
|
-
state?: string | undefined;
|
|
224
217
|
city?: string | undefined;
|
|
218
|
+
state?: string | undefined;
|
|
225
219
|
} | undefined;
|
|
226
220
|
domainPattern?: string | undefined;
|
|
227
221
|
} | {
|
|
228
222
|
type: "external";
|
|
229
223
|
server: string;
|
|
230
224
|
password?: string | undefined;
|
|
231
|
-
username?: string | undefined;
|
|
232
225
|
domainPattern?: string | undefined;
|
|
226
|
+
username?: string | undefined;
|
|
233
227
|
})[] | undefined;
|
|
228
|
+
stealth?: {
|
|
229
|
+
advancedStealth?: boolean | undefined;
|
|
230
|
+
solveCaptchas?: boolean | undefined;
|
|
231
|
+
captchaImageSelector?: string | undefined;
|
|
232
|
+
captchaInputSelector?: string | undefined;
|
|
233
|
+
} | undefined;
|
|
234
234
|
timeout_seconds?: number | undefined;
|
|
235
235
|
}>, import("zod").ZodObject<{
|
|
236
236
|
operation: import("zod").ZodLiteral<"navigate">;
|
|
@@ -242,17 +242,17 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
242
242
|
}, "strip", import("zod").ZodTypeAny, {
|
|
243
243
|
operation: "navigate";
|
|
244
244
|
url: string;
|
|
245
|
-
timeout: number;
|
|
246
245
|
session_id: string;
|
|
247
246
|
wait_until: "load" | "domcontentloaded" | "networkidle0" | "networkidle2";
|
|
247
|
+
timeout: number;
|
|
248
248
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
operation: "navigate";
|
|
251
251
|
url: string;
|
|
252
252
|
session_id: string;
|
|
253
253
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
254
|
-
timeout?: number | undefined;
|
|
255
254
|
wait_until?: "load" | "domcontentloaded" | "networkidle0" | "networkidle2" | undefined;
|
|
255
|
+
timeout?: number | undefined;
|
|
256
256
|
}>, import("zod").ZodObject<{
|
|
257
257
|
operation: import("zod").ZodLiteral<"click">;
|
|
258
258
|
session_id: import("zod").ZodString;
|
|
@@ -262,8 +262,8 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
262
262
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
263
263
|
}, "strip", import("zod").ZodTypeAny, {
|
|
264
264
|
operation: "click";
|
|
265
|
-
timeout: number;
|
|
266
265
|
session_id: string;
|
|
266
|
+
timeout: number;
|
|
267
267
|
selector: string;
|
|
268
268
|
wait_for_navigation: boolean;
|
|
269
269
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -284,20 +284,20 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
284
284
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
285
285
|
}, "strip", import("zod").ZodTypeAny, {
|
|
286
286
|
operation: "type";
|
|
287
|
-
text: string;
|
|
288
287
|
session_id: string;
|
|
289
288
|
selector: string;
|
|
290
|
-
|
|
289
|
+
text: string;
|
|
291
290
|
clear_first: boolean;
|
|
291
|
+
delay: number;
|
|
292
292
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
293
293
|
}, {
|
|
294
294
|
operation: "type";
|
|
295
|
-
text: string;
|
|
296
295
|
session_id: string;
|
|
297
296
|
selector: string;
|
|
297
|
+
text: string;
|
|
298
298
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
299
|
-
delay?: number | undefined;
|
|
300
299
|
clear_first?: boolean | undefined;
|
|
300
|
+
delay?: number | undefined;
|
|
301
301
|
}>, import("zod").ZodObject<{
|
|
302
302
|
operation: import("zod").ZodLiteral<"evaluate">;
|
|
303
303
|
session_id: import("zod").ZodString;
|
|
@@ -305,13 +305,13 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
305
305
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
306
306
|
}, "strip", import("zod").ZodTypeAny, {
|
|
307
307
|
operation: "evaluate";
|
|
308
|
-
script: string;
|
|
309
308
|
session_id: string;
|
|
309
|
+
script: string;
|
|
310
310
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
311
311
|
}, {
|
|
312
312
|
operation: "evaluate";
|
|
313
|
-
script: string;
|
|
314
313
|
session_id: string;
|
|
314
|
+
script: string;
|
|
315
315
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
316
316
|
}>, import("zod").ZodObject<{
|
|
317
317
|
operation: import("zod").ZodLiteral<"get_content">;
|
|
@@ -345,16 +345,16 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
345
345
|
session_id: string;
|
|
346
346
|
full_page: boolean;
|
|
347
347
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
348
|
-
quality?: number | undefined;
|
|
349
348
|
selector?: string | undefined;
|
|
349
|
+
quality?: number | undefined;
|
|
350
350
|
}, {
|
|
351
351
|
operation: "screenshot";
|
|
352
352
|
session_id: string;
|
|
353
353
|
format?: "png" | "jpeg" | "webp" | undefined;
|
|
354
354
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
355
|
-
quality?: number | undefined;
|
|
356
355
|
selector?: string | undefined;
|
|
357
356
|
full_page?: boolean | undefined;
|
|
357
|
+
quality?: number | undefined;
|
|
358
358
|
}>, import("zod").ZodObject<{
|
|
359
359
|
operation: import("zod").ZodLiteral<"wait">;
|
|
360
360
|
session_id: import("zod").ZodString;
|
|
@@ -364,8 +364,8 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
364
364
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
365
365
|
}, "strip", import("zod").ZodTypeAny, {
|
|
366
366
|
operation: "wait";
|
|
367
|
-
timeout: number;
|
|
368
367
|
session_id: string;
|
|
368
|
+
timeout: number;
|
|
369
369
|
wait_type: "timeout" | "selector" | "navigation";
|
|
370
370
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
371
371
|
selector?: string | undefined;
|
|
@@ -413,17 +413,17 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
413
413
|
error: import("zod").ZodString;
|
|
414
414
|
}, "strip", import("zod").ZodTypeAny, {
|
|
415
415
|
operation: "start_session";
|
|
416
|
-
error: string;
|
|
417
416
|
success: boolean;
|
|
418
|
-
|
|
417
|
+
error: string;
|
|
419
418
|
context_id?: string | undefined;
|
|
419
|
+
session_id?: string | undefined;
|
|
420
420
|
debug_url?: string | undefined;
|
|
421
421
|
}, {
|
|
422
422
|
operation: "start_session";
|
|
423
|
-
error: string;
|
|
424
423
|
success: boolean;
|
|
425
|
-
|
|
424
|
+
error: string;
|
|
426
425
|
context_id?: string | undefined;
|
|
426
|
+
session_id?: string | undefined;
|
|
427
427
|
debug_url?: string | undefined;
|
|
428
428
|
}>, import("zod").ZodObject<{
|
|
429
429
|
operation: import("zod").ZodLiteral<"navigate">;
|
|
@@ -432,13 +432,13 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
432
432
|
error: import("zod").ZodString;
|
|
433
433
|
}, "strip", import("zod").ZodTypeAny, {
|
|
434
434
|
operation: "navigate";
|
|
435
|
-
error: string;
|
|
436
435
|
success: boolean;
|
|
436
|
+
error: string;
|
|
437
437
|
url?: string | undefined;
|
|
438
438
|
}, {
|
|
439
439
|
operation: "navigate";
|
|
440
|
-
error: string;
|
|
441
440
|
success: boolean;
|
|
441
|
+
error: string;
|
|
442
442
|
url?: string | undefined;
|
|
443
443
|
}>, import("zod").ZodObject<{
|
|
444
444
|
operation: import("zod").ZodLiteral<"click">;
|
|
@@ -446,24 +446,24 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
446
446
|
error: import("zod").ZodString;
|
|
447
447
|
}, "strip", import("zod").ZodTypeAny, {
|
|
448
448
|
operation: "click";
|
|
449
|
-
error: string;
|
|
450
449
|
success: boolean;
|
|
450
|
+
error: string;
|
|
451
451
|
}, {
|
|
452
452
|
operation: "click";
|
|
453
|
-
error: string;
|
|
454
453
|
success: boolean;
|
|
454
|
+
error: string;
|
|
455
455
|
}>, import("zod").ZodObject<{
|
|
456
456
|
operation: import("zod").ZodLiteral<"type">;
|
|
457
457
|
success: import("zod").ZodBoolean;
|
|
458
458
|
error: import("zod").ZodString;
|
|
459
459
|
}, "strip", import("zod").ZodTypeAny, {
|
|
460
460
|
operation: "type";
|
|
461
|
-
error: string;
|
|
462
461
|
success: boolean;
|
|
462
|
+
error: string;
|
|
463
463
|
}, {
|
|
464
464
|
operation: "type";
|
|
465
|
-
error: string;
|
|
466
465
|
success: boolean;
|
|
466
|
+
error: string;
|
|
467
467
|
}>, import("zod").ZodObject<{
|
|
468
468
|
operation: import("zod").ZodLiteral<"evaluate">;
|
|
469
469
|
success: import("zod").ZodBoolean;
|
|
@@ -471,13 +471,13 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
471
471
|
error: import("zod").ZodString;
|
|
472
472
|
}, "strip", import("zod").ZodTypeAny, {
|
|
473
473
|
operation: "evaluate";
|
|
474
|
-
error: string;
|
|
475
474
|
success: boolean;
|
|
475
|
+
error: string;
|
|
476
476
|
result?: unknown;
|
|
477
477
|
}, {
|
|
478
478
|
operation: "evaluate";
|
|
479
|
-
error: string;
|
|
480
479
|
success: boolean;
|
|
480
|
+
error: string;
|
|
481
481
|
result?: unknown;
|
|
482
482
|
}>, import("zod").ZodObject<{
|
|
483
483
|
operation: import("zod").ZodLiteral<"get_content">;
|
|
@@ -486,13 +486,13 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
486
486
|
error: import("zod").ZodString;
|
|
487
487
|
}, "strip", import("zod").ZodTypeAny, {
|
|
488
488
|
operation: "get_content";
|
|
489
|
-
error: string;
|
|
490
489
|
success: boolean;
|
|
490
|
+
error: string;
|
|
491
491
|
content?: string | undefined;
|
|
492
492
|
}, {
|
|
493
493
|
operation: "get_content";
|
|
494
|
-
error: string;
|
|
495
494
|
success: boolean;
|
|
495
|
+
error: string;
|
|
496
496
|
content?: string | undefined;
|
|
497
497
|
}>, import("zod").ZodObject<{
|
|
498
498
|
operation: import("zod").ZodLiteral<"screenshot">;
|
|
@@ -502,14 +502,14 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
502
502
|
error: import("zod").ZodString;
|
|
503
503
|
}, "strip", import("zod").ZodTypeAny, {
|
|
504
504
|
operation: "screenshot";
|
|
505
|
-
error: string;
|
|
506
505
|
success: boolean;
|
|
506
|
+
error: string;
|
|
507
507
|
format?: string | undefined;
|
|
508
508
|
data?: string | undefined;
|
|
509
509
|
}, {
|
|
510
510
|
operation: "screenshot";
|
|
511
|
-
error: string;
|
|
512
511
|
success: boolean;
|
|
512
|
+
error: string;
|
|
513
513
|
format?: string | undefined;
|
|
514
514
|
data?: string | undefined;
|
|
515
515
|
}>, import("zod").ZodObject<{
|
|
@@ -518,12 +518,12 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
518
518
|
error: import("zod").ZodString;
|
|
519
519
|
}, "strip", import("zod").ZodTypeAny, {
|
|
520
520
|
operation: "wait";
|
|
521
|
-
error: string;
|
|
522
521
|
success: boolean;
|
|
522
|
+
error: string;
|
|
523
523
|
}, {
|
|
524
524
|
operation: "wait";
|
|
525
|
-
error: string;
|
|
526
525
|
success: boolean;
|
|
526
|
+
error: string;
|
|
527
527
|
}>, import("zod").ZodObject<{
|
|
528
528
|
operation: import("zod").ZodLiteral<"get_cookies">;
|
|
529
529
|
success: import("zod").ZodBoolean;
|
|
@@ -555,8 +555,8 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
555
555
|
error: import("zod").ZodString;
|
|
556
556
|
}, "strip", import("zod").ZodTypeAny, {
|
|
557
557
|
operation: "get_cookies";
|
|
558
|
-
error: string;
|
|
559
558
|
success: boolean;
|
|
559
|
+
error: string;
|
|
560
560
|
cookies?: {
|
|
561
561
|
value: string;
|
|
562
562
|
path: string;
|
|
@@ -568,8 +568,8 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
568
568
|
}[] | undefined;
|
|
569
569
|
}, {
|
|
570
570
|
operation: "get_cookies";
|
|
571
|
-
error: string;
|
|
572
571
|
success: boolean;
|
|
572
|
+
error: string;
|
|
573
573
|
cookies?: {
|
|
574
574
|
value: string;
|
|
575
575
|
path: string;
|
|
@@ -585,12 +585,12 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
|
|
|
585
585
|
error: import("zod").ZodString;
|
|
586
586
|
}, "strip", import("zod").ZodTypeAny, {
|
|
587
587
|
operation: "end_session";
|
|
588
|
-
error: string;
|
|
589
588
|
success: boolean;
|
|
589
|
+
error: string;
|
|
590
590
|
}, {
|
|
591
591
|
operation: "end_session";
|
|
592
|
-
error: string;
|
|
593
592
|
success: boolean;
|
|
593
|
+
error: string;
|
|
594
594
|
}>]>;
|
|
595
595
|
static readonly shortDescription = "Browser automation service using BrowserBase cloud browsers";
|
|
596
596
|
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 - Stealth mode for anti-bot avoidance\n - Automatic CAPTCHA solving\n - Built-in and custom proxy support\n\n Stealth Mode Options:\n - Basic Stealth: Automatic browser fingerprint randomization (default)\n - Advanced Stealth: Custom Chromium browser for better anti-bot avoidance (Scale Plan only)\n - CAPTCHA Solving: Automatic detection and solving (enabled by default, can be disabled)\n - Custom CAPTCHA selectors: For non-standard CAPTCHA providers\n\n Proxy Options:\n - Built-in proxies: Set proxies=true for residential proxies with geolocation\n - Geolocation: Specify city, state (US only), and country for proxy location\n - Custom proxies: Use your own HTTP/HTTPS proxies with authentication\n - Routing rules: Route different domains through different proxies using domainPattern\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 ";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserbase.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/browserbase/browserbase.ts"],"names":[],"mappings":"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
|
|
1
|
+
{"version":3,"file":"browserbase.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/browserbase/browserbase.ts"],"names":[],"mappings":"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"}
|
|
@@ -714,12 +714,9 @@ export class BrowserBaseBubble extends ServiceBubble {
|
|
|
714
714
|
const sessionDurationMs = endTime - startTime;
|
|
715
715
|
const sessionDurationMinutes = Math.max(0, sessionDurationMs / (1000 * 60)); // Ensure non-negative
|
|
716
716
|
// Track service usage for browser session duration based on API response
|
|
717
|
-
// Using AMAZON_CRED as service type with subService 'browserbase' to distinguish
|
|
718
|
-
// TODO: Consider adding BROWSERBASE_CRED as a new CredentialType for proper tracking
|
|
719
717
|
if (this.context?.logger && sessionDurationMinutes > 0) {
|
|
720
718
|
this.context.logger.addServiceUsage({
|
|
721
|
-
service: CredentialType.
|
|
722
|
-
subService: 'browserbase',
|
|
719
|
+
service: CredentialType.BROWSERBASE_CRED,
|
|
723
720
|
unit: 'per_minute',
|
|
724
721
|
usage: sessionDurationMinutes,
|
|
725
722
|
}, this.context.variableId);
|