@bubblelab/bubble-core 0.1.82 → 0.1.84

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.
Files changed (108) hide show
  1. package/dist/bubble-bundle.d.ts +138 -94
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +52 -52
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +36 -36
  4. package/dist/bubbles/service-bubble/airtable.d.ts +98 -98
  5. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  6. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +20 -20
  7. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +30 -30
  8. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
  9. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +56 -56
  10. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +16 -16
  11. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +31 -31
  12. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  13. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +153 -153
  14. package/dist/bubbles/service-bubble/apify/apify.d.ts +22 -22
  15. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +58 -58
  16. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +22 -22
  17. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +86 -86
  18. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
  19. package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
  20. package/dist/bubbles/service-bubble/firecrawl.d.ts +274 -274
  21. package/dist/bubbles/service-bubble/followupboss.d.ts +124 -124
  22. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +12 -12
  23. package/dist/bubbles/service-bubble/github.d.ts +64 -64
  24. package/dist/bubbles/service-bubble/gmail.d.ts +168 -168
  25. package/dist/bubbles/service-bubble/google-calendar.d.ts +24 -24
  26. package/dist/bubbles/service-bubble/google-drive.d.ts +80 -80
  27. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
  28. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  29. package/dist/bubbles/service-bubble/http.d.ts +8 -8
  30. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  31. package/dist/bubbles/service-bubble/jira/jira.d.ts +32 -32
  32. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +14 -14
  33. package/dist/bubbles/service-bubble/notion/notion.d.ts +132 -132
  34. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +36 -36
  35. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  36. package/dist/bubbles/service-bubble/resend.d.ts +8 -8
  37. package/dist/bubbles/service-bubble/slack/slack.d.ts +209 -209
  38. package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
  39. package/dist/bubbles/service-bubble/slack/slack.js +0 -133
  40. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
  41. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  42. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +47 -47
  43. package/dist/bubbles/service-bubble/telegram.d.ts +52 -52
  44. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +14 -14
  45. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  46. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  47. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  48. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +4 -4
  49. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +8 -8
  50. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts.map +1 -1
  52. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.js +3 -0
  53. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.js.map +1 -1
  54. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  55. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  56. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
  57. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +290 -290
  58. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +102 -0
  59. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts.map +1 -0
  60. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.js +96 -0
  61. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.js.map +1 -0
  62. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +186 -0
  63. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts.map +1 -0
  64. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.js +124 -0
  65. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.js.map +1 -0
  66. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  67. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +4 -4
  68. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +4 -4
  69. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  71. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +64 -64
  72. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  73. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +110 -110
  74. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  75. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  76. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  77. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +4 -4
  78. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
  79. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  80. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  81. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  82. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +24 -24
  83. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  84. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  85. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +12 -12
  86. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  87. package/dist/bubbles.json +1 -1
  88. package/dist/index.d.ts +2 -0
  89. package/dist/index.d.ts.map +1 -1
  90. package/dist/index.js +2 -0
  91. package/dist/index.js.map +1 -1
  92. package/package.json +2 -2
  93. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts +0 -31
  94. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts.map +0 -1
  95. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js +0 -184
  96. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js.map +0 -1
  97. package/dist/bubbles/service-bubble/google-sheets.d.ts +0 -1811
  98. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +0 -1
  99. package/dist/bubbles/service-bubble/google-sheets.js +0 -904
  100. package/dist/bubbles/service-bubble/google-sheets.js.map +0 -1
  101. package/dist/bubbles/service-bubble/slack.d.ts +0 -5869
  102. package/dist/bubbles/service-bubble/slack.d.ts.map +0 -1
  103. package/dist/bubbles/service-bubble/slack.js +0 -1536
  104. package/dist/bubbles/service-bubble/slack.js.map +0 -1
  105. package/dist/recording/types.d.ts +0 -68
  106. package/dist/recording/types.d.ts.map +0 -1
  107. package/dist/recording/types.js +0 -13
  108. package/dist/recording/types.js.map +0 -1
@@ -0,0 +1,102 @@
1
+ import { z } from 'zod';
2
+ import { ToolBubble } from '../../types/tool-bubble-class.js';
3
+ import type { BubbleContext } from '../../types/bubble.js';
4
+ import { CredentialType } from '@bubblelab/shared-schemas';
5
+ declare const ListAirtableBasesToolParamsSchema: z.ZodObject<{
6
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
9
+ }, {
10
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
11
+ }>;
12
+ type ListAirtableBasesToolParamsInput = z.input<typeof ListAirtableBasesToolParamsSchema>;
13
+ type ListAirtableBasesToolParams = z.output<typeof ListAirtableBasesToolParamsSchema>;
14
+ declare const ListAirtableBasesToolResultSchema: z.ZodObject<{
15
+ bases: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ id: z.ZodString;
17
+ name: z.ZodString;
18
+ permissionLevel: z.ZodString;
19
+ }, "strip", z.ZodTypeAny, {
20
+ name: string;
21
+ id: string;
22
+ permissionLevel: string;
23
+ }, {
24
+ name: string;
25
+ id: string;
26
+ permissionLevel: string;
27
+ }>, "many">>;
28
+ success: z.ZodBoolean;
29
+ error: z.ZodString;
30
+ }, "strip", z.ZodTypeAny, {
31
+ success: boolean;
32
+ error: string;
33
+ bases?: {
34
+ name: string;
35
+ id: string;
36
+ permissionLevel: string;
37
+ }[] | undefined;
38
+ }, {
39
+ success: boolean;
40
+ error: string;
41
+ bases?: {
42
+ name: string;
43
+ id: string;
44
+ permissionLevel: string;
45
+ }[] | undefined;
46
+ }>;
47
+ type ListAirtableBasesToolResult = z.output<typeof ListAirtableBasesToolResultSchema>;
48
+ /**
49
+ * Tool to list Airtable bases accessible by the user.
50
+ * Used by AI to help users configure Airtable triggers.
51
+ */
52
+ export declare class ListAirtableBasesTool extends ToolBubble<ListAirtableBasesToolParams, ListAirtableBasesToolResult> {
53
+ static readonly type: "tool";
54
+ static readonly bubbleName = "list-airtable-bases-tool";
55
+ static readonly schema: z.ZodObject<{
56
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
59
+ }, {
60
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
61
+ }>;
62
+ static readonly resultSchema: z.ZodObject<{
63
+ bases: z.ZodOptional<z.ZodArray<z.ZodObject<{
64
+ id: z.ZodString;
65
+ name: z.ZodString;
66
+ permissionLevel: z.ZodString;
67
+ }, "strip", z.ZodTypeAny, {
68
+ name: string;
69
+ id: string;
70
+ permissionLevel: string;
71
+ }, {
72
+ name: string;
73
+ id: string;
74
+ permissionLevel: string;
75
+ }>, "many">>;
76
+ success: z.ZodBoolean;
77
+ error: z.ZodString;
78
+ }, "strip", z.ZodTypeAny, {
79
+ success: boolean;
80
+ error: string;
81
+ bases?: {
82
+ name: string;
83
+ id: string;
84
+ permissionLevel: string;
85
+ }[] | undefined;
86
+ }, {
87
+ success: boolean;
88
+ error: string;
89
+ bases?: {
90
+ name: string;
91
+ id: string;
92
+ permissionLevel: string;
93
+ }[] | undefined;
94
+ }>;
95
+ static readonly shortDescription = "Lists Airtable bases accessible by the user for trigger configuration";
96
+ static readonly longDescription = "\n A tool that retrieves all Airtable bases the user has access to.\n\n Use this tool when:\n - User wants to set up an Airtable trigger (record created/updated/deleted)\n - You need to find which base contains a specific table\n - User mentions an Airtable base by name and you need to find its ID\n\n Returns:\n - List of bases with their IDs, names, and permission levels\n\n Requires: AIRTABLE_OAUTH credential to be connected.\n ";
97
+ static readonly alias = "airtable-bases";
98
+ constructor(params: ListAirtableBasesToolParamsInput, context?: BubbleContext);
99
+ performAction(context?: BubbleContext): Promise<ListAirtableBasesToolResult>;
100
+ }
101
+ export {};
102
+ //# sourceMappingURL=list-airtable-bases-tool.d.ts.map
@@ -0,0 +1 @@
1
+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AAO,CAAC,2BAA2B,CAAC;CAuDxC"}
@@ -0,0 +1,96 @@
1
+ import { z } from 'zod';
2
+ import { ToolBubble } from '../../types/tool-bubble-class.js';
3
+ import { CredentialType } from '@bubblelab/shared-schemas';
4
+ // Define the parameters schema
5
+ const ListAirtableBasesToolParamsSchema = z.object({
6
+ credentials: z
7
+ .record(z.nativeEnum(CredentialType), z.string())
8
+ .optional()
9
+ .describe('Object mapping credential types to values (injected at runtime). Requires AIRTABLE_OAUTH credential.'),
10
+ });
11
+ // Result schema
12
+ const ListAirtableBasesToolResultSchema = z.object({
13
+ bases: z
14
+ .array(z.object({
15
+ id: z.string().describe('The Airtable base ID (e.g., appXXXXXXXX)'),
16
+ name: z.string().describe('The name of the base'),
17
+ permissionLevel: z
18
+ .string()
19
+ .describe('User permission level (none, read, comment, edit, create)'),
20
+ }))
21
+ .optional()
22
+ .describe('List of Airtable bases the user has access to'),
23
+ success: z.boolean().describe('Whether the operation was successful'),
24
+ error: z.string().describe('Error message if operation failed'),
25
+ });
26
+ /**
27
+ * Tool to list Airtable bases accessible by the user.
28
+ * Used by AI to help users configure Airtable triggers.
29
+ */
30
+ export class ListAirtableBasesTool extends ToolBubble {
31
+ static type = 'tool';
32
+ static bubbleName = 'list-airtable-bases-tool';
33
+ static schema = ListAirtableBasesToolParamsSchema;
34
+ static resultSchema = ListAirtableBasesToolResultSchema;
35
+ static shortDescription = 'Lists Airtable bases accessible by the user for trigger configuration';
36
+ static longDescription = `
37
+ A tool that retrieves all Airtable bases the user has access to.
38
+
39
+ Use this tool when:
40
+ - User wants to set up an Airtable trigger (record created/updated/deleted)
41
+ - You need to find which base contains a specific table
42
+ - User mentions an Airtable base by name and you need to find its ID
43
+
44
+ Returns:
45
+ - List of bases with their IDs, names, and permission levels
46
+
47
+ Requires: AIRTABLE_OAUTH credential to be connected.
48
+ `;
49
+ static alias = 'airtable-bases';
50
+ constructor(params, context) {
51
+ super(params, context);
52
+ }
53
+ async performAction(context) {
54
+ void context;
55
+ const { credentials } = this.params;
56
+ // Get Airtable OAuth token
57
+ const airtableToken = credentials?.[CredentialType.AIRTABLE_OAUTH];
58
+ if (!airtableToken) {
59
+ return {
60
+ success: false,
61
+ error: 'Airtable OAuth credential not found. Please connect your Airtable account first.',
62
+ };
63
+ }
64
+ try {
65
+ const response = await fetch('https://api.airtable.com/v0/meta/bases', {
66
+ headers: {
67
+ Authorization: `Bearer ${airtableToken}`,
68
+ },
69
+ });
70
+ if (!response.ok) {
71
+ const errorText = await response.text();
72
+ return {
73
+ success: false,
74
+ error: `Failed to fetch Airtable bases: ${response.status} - ${errorText}`,
75
+ };
76
+ }
77
+ const data = (await response.json());
78
+ return {
79
+ bases: data.bases.map((base) => ({
80
+ id: base.id,
81
+ name: base.name,
82
+ permissionLevel: base.permissionLevel,
83
+ })),
84
+ success: true,
85
+ error: '',
86
+ };
87
+ }
88
+ catch (error) {
89
+ return {
90
+ success: false,
91
+ error: `Error fetching Airtable bases: ${error instanceof Error ? error.message : 'Unknown error'}`,
92
+ };
93
+ }
94
+ }
95
+ }
96
+ //# sourceMappingURL=list-airtable-bases-tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-airtable-bases-tool.js","sourceRoot":"","sources":["../../../src/bubbles/tool-bubble/list-airtable-bases-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,+BAA+B;AAC/B,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,WAAW,EAAE,CAAC;SACX,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAChD,QAAQ,EAAE;SACV,QAAQ,CACP,sGAAsG,CACvG;CACJ,CAAC,CAAC;AAUH,gBAAgB;AAChB,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AAC,cAAc,CAAC,CAAC;QAEnE,IAAI,CAAC,aAAa,EAAE,CAAC;YACnB,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EACH,kFAAkF;aACrF,CAAC;QACJ,CAAC;QAED,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,wCAAwC,EAAE;gBACrE,OAAO,EAAE;oBACP,aAAa,EAAE,UAAU,aAAa,EAAE;iBACzC;aACF,CAAC,CAAC;YAEH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;gBACjB,MAAM,SAAS,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;gBACxC,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,KAAK,EAAE,mCAAmC,QAAQ,CAAC,MAAM,MAAM,SAAS,EAAE;iBAC3E,CAAC;YACJ,CAAC;YAED,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAMlC,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;oBAC/B,EAAE,EAAE,IAAI,CAAC,EAAE;oBACX,IAAI,EAAE,IAAI,CAAC,IAAI;oBACf,eAAe,EAAE,IAAI,CAAC,eAAe;iBACtC,CAAC,CAAC;gBACH,OAAO,EAAE,IAAI;gBACb,KAAK,EAAE,EAAE;aACV,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,kCAAkC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,EAAE;aACpG,CAAC;QACJ,CAAC;IACH,CAAC"}
@@ -0,0 +1,186 @@
1
+ import { z } from 'zod';
2
+ import { ToolBubble } from '../../types/tool-bubble-class.js';
3
+ import type { BubbleContext } from '../../types/bubble.js';
4
+ import { CredentialType } from '@bubblelab/shared-schemas';
5
+ declare const ListAirtableTablesToolParamsSchema: z.ZodObject<{
6
+ baseId: z.ZodString;
7
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ baseId: string;
10
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
11
+ }, {
12
+ baseId: string;
13
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
14
+ }>;
15
+ type ListAirtableTablesToolParamsInput = z.input<typeof ListAirtableTablesToolParamsSchema>;
16
+ type ListAirtableTablesToolParams = z.output<typeof ListAirtableTablesToolParamsSchema>;
17
+ declare const ListAirtableTablesToolResultSchema: z.ZodObject<{
18
+ baseId: z.ZodOptional<z.ZodString>;
19
+ baseName: z.ZodOptional<z.ZodString>;
20
+ tables: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
+ id: z.ZodString;
22
+ name: z.ZodString;
23
+ description: z.ZodOptional<z.ZodString>;
24
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
25
+ id: z.ZodString;
26
+ name: z.ZodString;
27
+ type: z.ZodString;
28
+ }, "strip", z.ZodTypeAny, {
29
+ type: string;
30
+ name: string;
31
+ id: string;
32
+ }, {
33
+ type: string;
34
+ name: string;
35
+ id: string;
36
+ }>, "many">>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ name: string;
39
+ id: string;
40
+ description?: string | undefined;
41
+ fields?: {
42
+ type: string;
43
+ name: string;
44
+ id: string;
45
+ }[] | undefined;
46
+ }, {
47
+ name: string;
48
+ id: string;
49
+ description?: string | undefined;
50
+ fields?: {
51
+ type: string;
52
+ name: string;
53
+ id: string;
54
+ }[] | undefined;
55
+ }>, "many">>;
56
+ success: z.ZodBoolean;
57
+ error: z.ZodString;
58
+ }, "strip", z.ZodTypeAny, {
59
+ success: boolean;
60
+ error: string;
61
+ tables?: {
62
+ name: string;
63
+ id: string;
64
+ description?: string | undefined;
65
+ fields?: {
66
+ type: string;
67
+ name: string;
68
+ id: string;
69
+ }[] | undefined;
70
+ }[] | undefined;
71
+ baseId?: string | undefined;
72
+ baseName?: string | undefined;
73
+ }, {
74
+ success: boolean;
75
+ error: string;
76
+ tables?: {
77
+ name: string;
78
+ id: string;
79
+ description?: string | undefined;
80
+ fields?: {
81
+ type: string;
82
+ name: string;
83
+ id: string;
84
+ }[] | undefined;
85
+ }[] | undefined;
86
+ baseId?: string | undefined;
87
+ baseName?: string | undefined;
88
+ }>;
89
+ type ListAirtableTablesToolResult = z.output<typeof ListAirtableTablesToolResultSchema>;
90
+ /**
91
+ * Tool to list tables in an Airtable base.
92
+ * Used by AI to help users configure Airtable triggers for specific tables.
93
+ */
94
+ export declare class ListAirtableTablesTool extends ToolBubble<ListAirtableTablesToolParams, ListAirtableTablesToolResult> {
95
+ static readonly type: "tool";
96
+ static readonly bubbleName = "list-airtable-tables-tool";
97
+ static readonly schema: z.ZodObject<{
98
+ baseId: z.ZodString;
99
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
100
+ }, "strip", z.ZodTypeAny, {
101
+ baseId: string;
102
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
103
+ }, {
104
+ baseId: string;
105
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
106
+ }>;
107
+ static readonly resultSchema: z.ZodObject<{
108
+ baseId: z.ZodOptional<z.ZodString>;
109
+ baseName: z.ZodOptional<z.ZodString>;
110
+ tables: z.ZodOptional<z.ZodArray<z.ZodObject<{
111
+ id: z.ZodString;
112
+ name: z.ZodString;
113
+ description: z.ZodOptional<z.ZodString>;
114
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
115
+ id: z.ZodString;
116
+ name: z.ZodString;
117
+ type: z.ZodString;
118
+ }, "strip", z.ZodTypeAny, {
119
+ type: string;
120
+ name: string;
121
+ id: string;
122
+ }, {
123
+ type: string;
124
+ name: string;
125
+ id: string;
126
+ }>, "many">>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ name: string;
129
+ id: string;
130
+ description?: string | undefined;
131
+ fields?: {
132
+ type: string;
133
+ name: string;
134
+ id: string;
135
+ }[] | undefined;
136
+ }, {
137
+ name: string;
138
+ id: string;
139
+ description?: string | undefined;
140
+ fields?: {
141
+ type: string;
142
+ name: string;
143
+ id: string;
144
+ }[] | undefined;
145
+ }>, "many">>;
146
+ success: z.ZodBoolean;
147
+ error: z.ZodString;
148
+ }, "strip", z.ZodTypeAny, {
149
+ success: boolean;
150
+ error: string;
151
+ tables?: {
152
+ name: string;
153
+ id: string;
154
+ description?: string | undefined;
155
+ fields?: {
156
+ type: string;
157
+ name: string;
158
+ id: string;
159
+ }[] | undefined;
160
+ }[] | undefined;
161
+ baseId?: string | undefined;
162
+ baseName?: string | undefined;
163
+ }, {
164
+ success: boolean;
165
+ error: string;
166
+ tables?: {
167
+ name: string;
168
+ id: string;
169
+ description?: string | undefined;
170
+ fields?: {
171
+ type: string;
172
+ name: string;
173
+ id: string;
174
+ }[] | undefined;
175
+ }[] | undefined;
176
+ baseId?: string | undefined;
177
+ baseName?: string | undefined;
178
+ }>;
179
+ static readonly shortDescription = "Lists tables in an Airtable base for trigger configuration";
180
+ static readonly longDescription = "\n A tool that retrieves all tables in a specific Airtable base.\n\n Use this tool when:\n - User wants to set up an Airtable trigger for a specific table\n - User mentions a table name and you need to find its ID\n - You need to show the user what tables are available in their base\n\n Returns:\n - List of tables with their IDs, names, descriptions, and field information\n\n Requires:\n - AIRTABLE_OAUTH credential to be connected\n - A valid baseId (use list-airtable-bases-tool first)\n ";
181
+ static readonly alias = "airtable-tables";
182
+ constructor(params: ListAirtableTablesToolParamsInput, context?: BubbleContext);
183
+ performAction(context?: BubbleContext): Promise<ListAirtableTablesToolResult>;
184
+ }
185
+ export {};
186
+ //# sourceMappingURL=list-airtable-tables-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-airtable-tables-tool.d.ts","s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OAAO,CAAC,EAAE,aAAa;IAKnB,aAAa,CACjB,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,4BAA4B,CAAC;CA+EzC"}
@@ -0,0 +1,124 @@
1
+ import { z } from 'zod';
2
+ import { ToolBubble } from '../../types/tool-bubble-class.js';
3
+ import { CredentialType } from '@bubblelab/shared-schemas';
4
+ // Define the parameters schema
5
+ const ListAirtableTablesToolParamsSchema = z.object({
6
+ baseId: z
7
+ .string()
8
+ .describe('The Airtable base ID to list tables from (e.g., appXXXXXXXX). Use list-airtable-bases-tool to find available bases.'),
9
+ credentials: z
10
+ .record(z.nativeEnum(CredentialType), z.string())
11
+ .optional()
12
+ .describe('Object mapping credential types to values (injected at runtime). Requires AIRTABLE_OAUTH credential.'),
13
+ });
14
+ // Result schema
15
+ const ListAirtableTablesToolResultSchema = z.object({
16
+ baseId: z.string().optional().describe('The base ID that was queried'),
17
+ baseName: z.string().optional().describe('The name of the base'),
18
+ tables: z
19
+ .array(z.object({
20
+ id: z.string().describe('The Airtable table ID (e.g., tblXXXXXXXX)'),
21
+ name: z.string().describe('The name of the table'),
22
+ description: z
23
+ .string()
24
+ .optional()
25
+ .describe('The description of the table'),
26
+ fields: z
27
+ .array(z.object({
28
+ id: z.string(),
29
+ name: z.string(),
30
+ type: z.string(),
31
+ }))
32
+ .optional()
33
+ .describe('List of fields in the table'),
34
+ }))
35
+ .optional()
36
+ .describe('List of tables in the Airtable base'),
37
+ success: z.boolean().describe('Whether the operation was successful'),
38
+ error: z.string().describe('Error message if operation failed'),
39
+ });
40
+ /**
41
+ * Tool to list tables in an Airtable base.
42
+ * Used by AI to help users configure Airtable triggers for specific tables.
43
+ */
44
+ export class ListAirtableTablesTool extends ToolBubble {
45
+ static type = 'tool';
46
+ static bubbleName = 'list-airtable-tables-tool';
47
+ static schema = ListAirtableTablesToolParamsSchema;
48
+ static resultSchema = ListAirtableTablesToolResultSchema;
49
+ static shortDescription = 'Lists tables in an Airtable base for trigger configuration';
50
+ static longDescription = `
51
+ A tool that retrieves all tables in a specific Airtable base.
52
+
53
+ Use this tool when:
54
+ - User wants to set up an Airtable trigger for a specific table
55
+ - User mentions a table name and you need to find its ID
56
+ - You need to show the user what tables are available in their base
57
+
58
+ Returns:
59
+ - List of tables with their IDs, names, descriptions, and field information
60
+
61
+ Requires:
62
+ - AIRTABLE_OAUTH credential to be connected
63
+ - A valid baseId (use list-airtable-bases-tool first)
64
+ `;
65
+ static alias = 'airtable-tables';
66
+ constructor(params, context) {
67
+ super(params, context);
68
+ }
69
+ async performAction(context) {
70
+ void context;
71
+ const { baseId, credentials } = this.params;
72
+ if (!baseId) {
73
+ return {
74
+ success: false,
75
+ error: 'baseId is required. Use list-airtable-bases-tool to find available bases.',
76
+ };
77
+ }
78
+ // Get Airtable OAuth token
79
+ const airtableToken = credentials?.[CredentialType.AIRTABLE_OAUTH];
80
+ if (!airtableToken) {
81
+ return {
82
+ success: false,
83
+ error: 'Airtable OAuth credential not found. Please connect your Airtable account first.',
84
+ };
85
+ }
86
+ try {
87
+ const response = await fetch(`https://api.airtable.com/v0/meta/bases/${baseId}/tables`, {
88
+ headers: {
89
+ Authorization: `Bearer ${airtableToken}`,
90
+ },
91
+ });
92
+ if (!response.ok) {
93
+ const errorText = await response.text();
94
+ return {
95
+ success: false,
96
+ error: `Failed to fetch Airtable tables: ${response.status} - ${errorText}`,
97
+ };
98
+ }
99
+ const data = (await response.json());
100
+ return {
101
+ baseId,
102
+ tables: data.tables.map((table) => ({
103
+ id: table.id,
104
+ name: table.name,
105
+ description: table.description,
106
+ fields: table.fields.map((field) => ({
107
+ id: field.id,
108
+ name: field.name,
109
+ type: field.type,
110
+ })),
111
+ })),
112
+ success: true,
113
+ error: '',
114
+ };
115
+ }
116
+ catch (error) {
117
+ return {
118
+ success: false,
119
+ error: `Error fetching Airtable tables: ${error instanceof Error ? error.message : 'Unknown error'}`,
120
+ };
121
+ }
122
+ }
123
+ }
124
+ //# sourceMappingURL=list-airtable-tables-tool.js.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mC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,EAAE;aACrG,CAAC;QACJ,CAAC;IACH,CAAC"}
@@ -29,8 +29,8 @@ declare const ListBubblesToolResultSchema: z.ZodObject<{
29
29
  success: z.ZodBoolean;
30
30
  error: z.ZodString;
31
31
  }, "strip", z.ZodTypeAny, {
32
- error: string;
33
32
  success: boolean;
33
+ error: string;
34
34
  bubbles: {
35
35
  type: string;
36
36
  name: string;
@@ -40,8 +40,8 @@ declare const ListBubblesToolResultSchema: z.ZodObject<{
40
40
  }[];
41
41
  totalCount: number;
42
42
  }, {
43
- error: string;
44
43
  success: boolean;
44
+ error: string;
45
45
  bubbles: {
46
46
  type: string;
47
47
  name: string;
@@ -78,8 +78,8 @@ export declare class ListBubblesTool extends ToolBubble<ListBubblesToolParams, L
78
78
  success: z.ZodBoolean;
79
79
  error: z.ZodString;
80
80
  }, "strip", z.ZodTypeAny, {
81
- error: string;
82
81
  success: boolean;
82
+ error: string;
83
83
  bubbles: {
84
84
  type: string;
85
85
  name: string;
@@ -89,8 +89,8 @@ export declare class ListBubblesTool extends ToolBubble<ListBubblesToolParams, L
89
89
  }[];
90
90
  totalCount: number;
91
91
  }, {
92
- error: string;
93
92
  success: boolean;
93
+ error: string;
94
94
  bubbles: {
95
95
  type: string;
96
96
  name: string;
@@ -535,8 +535,8 @@ declare const PeopleSearchToolResultSchema: z.ZodObject<{
535
535
  success: z.ZodBoolean;
536
536
  error: z.ZodString;
537
537
  }, "strip", z.ZodTypeAny, {
538
- error: string;
539
538
  success: boolean;
539
+ error: string;
540
540
  people: {
541
541
  title: string | null;
542
542
  name: string | null;
@@ -593,8 +593,8 @@ declare const PeopleSearchToolResultSchema: z.ZodObject<{
593
593
  totalCount: number;
594
594
  nextCursor?: string | undefined;
595
595
  }, {
596
- error: string;
597
596
  success: boolean;
597
+ error: string;
598
598
  people: {
599
599
  title: string | null;
600
600
  name: string | null;
@@ -1004,8 +1004,8 @@ export declare class PeopleSearchTool extends ToolBubble<PeopleSearchToolParams,
1004
1004
  success: z.ZodBoolean;
1005
1005
  error: z.ZodString;
1006
1006
  }, "strip", z.ZodTypeAny, {
1007
- error: string;
1008
1007
  success: boolean;
1008
+ error: string;
1009
1009
  people: {
1010
1010
  title: string | null;
1011
1011
  name: string | null;
@@ -1062,8 +1062,8 @@ export declare class PeopleSearchTool extends ToolBubble<PeopleSearchToolParams,
1062
1062
  totalCount: number;
1063
1063
  nextCursor?: string | undefined;
1064
1064
  }, {
1065
- error: string;
1066
1065
  success: boolean;
1066
+ error: string;
1067
1067
  people: {
1068
1068
  title: string | null;
1069
1069
  name: string | null;
@@ -154,8 +154,8 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
154
154
  success: z.ZodBoolean;
155
155
  error: z.ZodString;
156
156
  }, "strip", z.ZodTypeAny, {
157
- error: string;
158
157
  success: boolean;
158
+ error: string;
159
159
  metadata: {
160
160
  sort: string;
161
161
  scrapedAt: string;
@@ -183,8 +183,8 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
183
183
  flair?: string | undefined;
184
184
  }[];
185
185
  }, {
186
- error: string;
187
186
  success: boolean;
187
+ error: string;
188
188
  metadata: {
189
189
  sort: string;
190
190
  scrapedAt: string;
@@ -324,8 +324,8 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
324
324
  success: z.ZodBoolean;
325
325
  error: z.ZodString;
326
326
  }, "strip", z.ZodTypeAny, {
327
- error: string;
328
327
  success: boolean;
328
+ error: string;
329
329
  metadata: {
330
330
  sort: string;
331
331
  scrapedAt: string;
@@ -353,8 +353,8 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
353
353
  flair?: string | undefined;
354
354
  }[];
355
355
  }, {
356
- error: string;
357
356
  success: boolean;
357
+ error: string;
358
358
  metadata: {
359
359
  sort: string;
360
360
  scrapedAt: string;