@bubblelab/bubble-core 0.1.200 → 0.1.202
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 +189 -168
- 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 +110 -110
- package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.js +4 -6
- package/dist/bubbles/service-bubble/agi-inc.js.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +12 -4
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
- package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/airtable.js +8 -13
- package/dist/bubbles/service-bubble/airtable.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +20 -20
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +20 -20
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +90 -90
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +30 -30
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +35 -35
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +14 -14
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +223 -223
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +68 -68
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js +8 -10
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +44 -44
- package/dist/bubbles/service-bubble/attio/attio.d.ts +42 -42
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +76 -76
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +37 -37
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +53 -53
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +33 -33
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +44 -44
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +61 -61
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.js +16 -17
- package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +80 -80
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +36 -36
- package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/eleven-labs.js +12 -14
- package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -1
- package/dist/bubbles/service-bubble/firecrawl.d.ts +824 -824
- package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/firecrawl.js +3 -12
- package/dist/bubbles/service-bubble/firecrawl.js.map +1 -1
- package/dist/bubbles/service-bubble/followupboss.d.ts +428 -428
- package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/followupboss.js +12 -13
- package/dist/bubbles/service-bubble/followupboss.js.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +300 -300
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.js +11 -12
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.js.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +268 -268
- package/dist/bubbles/service-bubble/github.d.ts +204 -204
- package/dist/bubbles/service-bubble/gmail.d.ts +158 -158
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-calendar.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.js +10 -11
- package/dist/bubbles/service-bubble/google-calendar.js.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.d.ts +110 -104
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +8 -1
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +78 -78
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +39 -39
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +20 -20
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/insforge-db.js +24 -26
- package/dist/bubbles/service-bubble/insforge-db.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.d.ts +61 -61
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +70 -70
- package/dist/bubbles/service-bubble/linear/linear.d.ts +41 -41
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +59 -59
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1637 -1637
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +31 -31
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +56 -56
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/resend.js +8 -13
- package/dist/bubbles/service-bubble/resend.js.map +1 -1
- package/dist/bubbles/service-bubble/s3/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/s3/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/index.js +4 -0
- package/dist/bubbles/service-bubble/s3/index.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.d.ts +301 -0
- package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.js +320 -0
- package/dist/bubbles/service-bubble/s3/s3.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +262 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.js +212 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.d.ts +17 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.js +46 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +12 -12
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/slack/slack.d.ts +609 -609
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +186 -186
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.js +5 -7
- package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +143 -143
- package/dist/bubbles/service-bubble/telegram.d.ts +1832 -1832
- package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/telegram.js +3 -3
- package/dist/bubbles/service-bubble/telegram.js.map +1 -1
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +23 -23
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +39 -39
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +5 -5
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/code-edit-tool.js +3 -1
- package/dist/bubbles/tool-bubble/code-edit-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +84 -84
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +622 -622
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +124 -124
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +82 -82
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +66 -66
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +52 -52
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +489 -3
- 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
|
@@ -37,14 +37,14 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
37
37
|
properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
38
38
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
39
39
|
}, "strip", import("zod").ZodTypeAny, {
|
|
40
|
-
properties: Record<string, string>;
|
|
41
40
|
operation: "create_record";
|
|
42
|
-
|
|
41
|
+
properties: Record<string, string>;
|
|
42
|
+
object_type: "contacts" | "deals" | "companies" | "tickets";
|
|
43
43
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
44
44
|
}, {
|
|
45
|
-
properties: Record<string, string>;
|
|
46
45
|
operation: "create_record";
|
|
47
|
-
|
|
46
|
+
properties: Record<string, string>;
|
|
47
|
+
object_type: "contacts" | "deals" | "companies" | "tickets";
|
|
48
48
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
49
49
|
}>, import("zod").ZodObject<{
|
|
50
50
|
operation: import("zod").ZodLiteral<"get_record">;
|
|
@@ -55,13 +55,13 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
55
55
|
}, "strip", import("zod").ZodTypeAny, {
|
|
56
56
|
operation: "get_record";
|
|
57
57
|
record_id: string;
|
|
58
|
-
object_type: "
|
|
58
|
+
object_type: "contacts" | "deals" | "companies" | "tickets";
|
|
59
59
|
properties?: string[] | undefined;
|
|
60
60
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
operation: "get_record";
|
|
63
63
|
record_id: string;
|
|
64
|
-
object_type: "
|
|
64
|
+
object_type: "contacts" | "deals" | "companies" | "tickets";
|
|
65
65
|
properties?: string[] | undefined;
|
|
66
66
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
67
67
|
}>, import("zod").ZodObject<{
|
|
@@ -71,16 +71,16 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
71
71
|
properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
72
72
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
73
73
|
}, "strip", import("zod").ZodTypeAny, {
|
|
74
|
-
properties: Record<string, string>;
|
|
75
74
|
operation: "update_record";
|
|
75
|
+
properties: Record<string, string>;
|
|
76
76
|
record_id: string;
|
|
77
|
-
object_type: "
|
|
77
|
+
object_type: "contacts" | "deals" | "companies" | "tickets";
|
|
78
78
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
79
79
|
}, {
|
|
80
|
-
properties: Record<string, string>;
|
|
81
80
|
operation: "update_record";
|
|
81
|
+
properties: Record<string, string>;
|
|
82
82
|
record_id: string;
|
|
83
|
-
object_type: "
|
|
83
|
+
object_type: "contacts" | "deals" | "companies" | "tickets";
|
|
84
84
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
85
85
|
}>, import("zod").ZodObject<{
|
|
86
86
|
operation: import("zod").ZodLiteral<"search_records">;
|
|
@@ -129,7 +129,7 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
129
129
|
}, "strip", import("zod").ZodTypeAny, {
|
|
130
130
|
operation: "search_records";
|
|
131
131
|
limit: number;
|
|
132
|
-
object_type: "
|
|
132
|
+
object_type: "contacts" | "deals" | "companies" | "tickets";
|
|
133
133
|
filter_groups: {
|
|
134
134
|
filters: {
|
|
135
135
|
propertyName: string;
|
|
@@ -144,7 +144,7 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
144
144
|
after?: string | undefined;
|
|
145
145
|
}, {
|
|
146
146
|
operation: "search_records";
|
|
147
|
-
object_type: "
|
|
147
|
+
object_type: "contacts" | "deals" | "companies" | "tickets";
|
|
148
148
|
filter_groups: {
|
|
149
149
|
filters: {
|
|
150
150
|
propertyName: string;
|
|
@@ -155,8 +155,8 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
155
155
|
}[];
|
|
156
156
|
}[];
|
|
157
157
|
properties?: string[] | undefined;
|
|
158
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
159
158
|
limit?: number | undefined;
|
|
159
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
160
160
|
after?: string | undefined;
|
|
161
161
|
}>]>;
|
|
162
162
|
static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
@@ -172,37 +172,37 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
172
172
|
properties: Record<string, unknown>;
|
|
173
173
|
id: string;
|
|
174
174
|
createdAt?: string | undefined;
|
|
175
|
-
archived?: boolean | undefined;
|
|
176
175
|
updatedAt?: string | undefined;
|
|
176
|
+
archived?: boolean | undefined;
|
|
177
177
|
}, {
|
|
178
178
|
properties: Record<string, unknown>;
|
|
179
179
|
id: string;
|
|
180
180
|
createdAt?: string | undefined;
|
|
181
|
-
archived?: boolean | undefined;
|
|
182
181
|
updatedAt?: string | undefined;
|
|
182
|
+
archived?: boolean | undefined;
|
|
183
183
|
}>>;
|
|
184
184
|
error: import("zod").ZodString;
|
|
185
185
|
}, "strip", import("zod").ZodTypeAny, {
|
|
186
|
+
operation: "create_record";
|
|
186
187
|
success: boolean;
|
|
187
188
|
error: string;
|
|
188
|
-
operation: "create_record";
|
|
189
189
|
record?: {
|
|
190
190
|
properties: Record<string, unknown>;
|
|
191
191
|
id: string;
|
|
192
192
|
createdAt?: string | undefined;
|
|
193
|
-
archived?: boolean | undefined;
|
|
194
193
|
updatedAt?: string | undefined;
|
|
194
|
+
archived?: boolean | undefined;
|
|
195
195
|
} | undefined;
|
|
196
196
|
}, {
|
|
197
|
+
operation: "create_record";
|
|
197
198
|
success: boolean;
|
|
198
199
|
error: string;
|
|
199
|
-
operation: "create_record";
|
|
200
200
|
record?: {
|
|
201
201
|
properties: Record<string, unknown>;
|
|
202
202
|
id: string;
|
|
203
203
|
createdAt?: string | undefined;
|
|
204
|
-
archived?: boolean | undefined;
|
|
205
204
|
updatedAt?: string | undefined;
|
|
205
|
+
archived?: boolean | undefined;
|
|
206
206
|
} | undefined;
|
|
207
207
|
}>, import("zod").ZodObject<{
|
|
208
208
|
operation: import("zod").ZodLiteral<"get_record">;
|
|
@@ -217,37 +217,37 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
217
217
|
properties: Record<string, unknown>;
|
|
218
218
|
id: string;
|
|
219
219
|
createdAt?: string | undefined;
|
|
220
|
-
archived?: boolean | undefined;
|
|
221
220
|
updatedAt?: string | undefined;
|
|
221
|
+
archived?: boolean | undefined;
|
|
222
222
|
}, {
|
|
223
223
|
properties: Record<string, unknown>;
|
|
224
224
|
id: string;
|
|
225
225
|
createdAt?: string | undefined;
|
|
226
|
-
archived?: boolean | undefined;
|
|
227
226
|
updatedAt?: string | undefined;
|
|
227
|
+
archived?: boolean | undefined;
|
|
228
228
|
}>>;
|
|
229
229
|
error: import("zod").ZodString;
|
|
230
230
|
}, "strip", import("zod").ZodTypeAny, {
|
|
231
|
+
operation: "get_record";
|
|
231
232
|
success: boolean;
|
|
232
233
|
error: string;
|
|
233
|
-
operation: "get_record";
|
|
234
234
|
record?: {
|
|
235
235
|
properties: Record<string, unknown>;
|
|
236
236
|
id: string;
|
|
237
237
|
createdAt?: string | undefined;
|
|
238
|
-
archived?: boolean | undefined;
|
|
239
238
|
updatedAt?: string | undefined;
|
|
239
|
+
archived?: boolean | undefined;
|
|
240
240
|
} | undefined;
|
|
241
241
|
}, {
|
|
242
|
+
operation: "get_record";
|
|
242
243
|
success: boolean;
|
|
243
244
|
error: string;
|
|
244
|
-
operation: "get_record";
|
|
245
245
|
record?: {
|
|
246
246
|
properties: Record<string, unknown>;
|
|
247
247
|
id: string;
|
|
248
248
|
createdAt?: string | undefined;
|
|
249
|
-
archived?: boolean | undefined;
|
|
250
249
|
updatedAt?: string | undefined;
|
|
250
|
+
archived?: boolean | undefined;
|
|
251
251
|
} | undefined;
|
|
252
252
|
}>, import("zod").ZodObject<{
|
|
253
253
|
operation: import("zod").ZodLiteral<"update_record">;
|
|
@@ -262,37 +262,37 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
262
262
|
properties: Record<string, unknown>;
|
|
263
263
|
id: string;
|
|
264
264
|
createdAt?: string | undefined;
|
|
265
|
-
archived?: boolean | undefined;
|
|
266
265
|
updatedAt?: string | undefined;
|
|
266
|
+
archived?: boolean | undefined;
|
|
267
267
|
}, {
|
|
268
268
|
properties: Record<string, unknown>;
|
|
269
269
|
id: string;
|
|
270
270
|
createdAt?: string | undefined;
|
|
271
|
-
archived?: boolean | undefined;
|
|
272
271
|
updatedAt?: string | undefined;
|
|
272
|
+
archived?: boolean | undefined;
|
|
273
273
|
}>>;
|
|
274
274
|
error: import("zod").ZodString;
|
|
275
275
|
}, "strip", import("zod").ZodTypeAny, {
|
|
276
|
+
operation: "update_record";
|
|
276
277
|
success: boolean;
|
|
277
278
|
error: string;
|
|
278
|
-
operation: "update_record";
|
|
279
279
|
record?: {
|
|
280
280
|
properties: Record<string, unknown>;
|
|
281
281
|
id: string;
|
|
282
282
|
createdAt?: string | undefined;
|
|
283
|
-
archived?: boolean | undefined;
|
|
284
283
|
updatedAt?: string | undefined;
|
|
284
|
+
archived?: boolean | undefined;
|
|
285
285
|
} | undefined;
|
|
286
286
|
}, {
|
|
287
|
+
operation: "update_record";
|
|
287
288
|
success: boolean;
|
|
288
289
|
error: string;
|
|
289
|
-
operation: "update_record";
|
|
290
290
|
record?: {
|
|
291
291
|
properties: Record<string, unknown>;
|
|
292
292
|
id: string;
|
|
293
293
|
createdAt?: string | undefined;
|
|
294
|
-
archived?: boolean | undefined;
|
|
295
294
|
updatedAt?: string | undefined;
|
|
295
|
+
archived?: boolean | undefined;
|
|
296
296
|
} | undefined;
|
|
297
297
|
}>, import("zod").ZodObject<{
|
|
298
298
|
operation: import("zod").ZodLiteral<"search_records">;
|
|
@@ -307,14 +307,14 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
307
307
|
properties: Record<string, unknown>;
|
|
308
308
|
id: string;
|
|
309
309
|
createdAt?: string | undefined;
|
|
310
|
-
archived?: boolean | undefined;
|
|
311
310
|
updatedAt?: string | undefined;
|
|
311
|
+
archived?: boolean | undefined;
|
|
312
312
|
}, {
|
|
313
313
|
properties: Record<string, unknown>;
|
|
314
314
|
id: string;
|
|
315
315
|
createdAt?: string | undefined;
|
|
316
|
-
archived?: boolean | undefined;
|
|
317
316
|
updatedAt?: string | undefined;
|
|
317
|
+
archived?: boolean | undefined;
|
|
318
318
|
}>, "many">>;
|
|
319
319
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
320
320
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -336,34 +336,34 @@ export declare class HubSpotBubble<T extends HubSpotParamsInput = HubSpotParamsI
|
|
|
336
336
|
}>>;
|
|
337
337
|
error: import("zod").ZodString;
|
|
338
338
|
}, "strip", import("zod").ZodTypeAny, {
|
|
339
|
+
operation: "search_records";
|
|
339
340
|
success: boolean;
|
|
340
341
|
error: string;
|
|
341
|
-
operation: "search_records";
|
|
342
|
-
total?: number | undefined;
|
|
343
342
|
results?: {
|
|
344
343
|
properties: Record<string, unknown>;
|
|
345
344
|
id: string;
|
|
346
345
|
createdAt?: string | undefined;
|
|
347
|
-
archived?: boolean | undefined;
|
|
348
346
|
updatedAt?: string | undefined;
|
|
347
|
+
archived?: boolean | undefined;
|
|
349
348
|
}[] | undefined;
|
|
349
|
+
total?: number | undefined;
|
|
350
350
|
paging?: {
|
|
351
351
|
next?: {
|
|
352
352
|
after: string;
|
|
353
353
|
} | undefined;
|
|
354
354
|
} | undefined;
|
|
355
355
|
}, {
|
|
356
|
+
operation: "search_records";
|
|
356
357
|
success: boolean;
|
|
357
358
|
error: string;
|
|
358
|
-
operation: "search_records";
|
|
359
|
-
total?: number | undefined;
|
|
360
359
|
results?: {
|
|
361
360
|
properties: Record<string, unknown>;
|
|
362
361
|
id: string;
|
|
363
362
|
createdAt?: string | undefined;
|
|
364
|
-
archived?: boolean | undefined;
|
|
365
363
|
updatedAt?: string | undefined;
|
|
364
|
+
archived?: boolean | undefined;
|
|
366
365
|
}[] | undefined;
|
|
366
|
+
total?: number | undefined;
|
|
367
367
|
paging?: {
|
|
368
368
|
next?: {
|
|
369
369
|
after: string;
|
|
@@ -6,13 +6,13 @@ export declare const HubSpotParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
6
6
|
properties: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7
7
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
properties: Record<string, string>;
|
|
10
9
|
operation: "create_record";
|
|
10
|
+
properties: Record<string, string>;
|
|
11
11
|
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
12
12
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
13
13
|
}, {
|
|
14
|
-
properties: Record<string, string>;
|
|
15
14
|
operation: "create_record";
|
|
15
|
+
properties: Record<string, string>;
|
|
16
16
|
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
17
17
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
18
18
|
}>, z.ZodObject<{
|
|
@@ -40,14 +40,14 @@ export declare const HubSpotParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
40
40
|
properties: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
41
41
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
properties: Record<string, string>;
|
|
44
43
|
operation: "update_record";
|
|
44
|
+
properties: Record<string, string>;
|
|
45
45
|
record_id: string;
|
|
46
46
|
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
47
47
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
properties: Record<string, string>;
|
|
50
49
|
operation: "update_record";
|
|
50
|
+
properties: Record<string, string>;
|
|
51
51
|
record_id: string;
|
|
52
52
|
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
53
53
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -152,9 +152,9 @@ export declare const HubSpotResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
152
152
|
}>>;
|
|
153
153
|
error: z.ZodString;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
success: boolean;
|
|
156
|
-
error: string;
|
|
157
155
|
operation: "create_record";
|
|
156
|
+
error: string;
|
|
157
|
+
success: boolean;
|
|
158
158
|
record?: {
|
|
159
159
|
properties: Record<string, unknown>;
|
|
160
160
|
id: string;
|
|
@@ -163,9 +163,9 @@ export declare const HubSpotResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
163
163
|
updatedAt?: string | undefined;
|
|
164
164
|
} | undefined;
|
|
165
165
|
}, {
|
|
166
|
-
success: boolean;
|
|
167
|
-
error: string;
|
|
168
166
|
operation: "create_record";
|
|
167
|
+
error: string;
|
|
168
|
+
success: boolean;
|
|
169
169
|
record?: {
|
|
170
170
|
properties: Record<string, unknown>;
|
|
171
171
|
id: string;
|
|
@@ -197,9 +197,9 @@ export declare const HubSpotResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
197
197
|
}>>;
|
|
198
198
|
error: z.ZodString;
|
|
199
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
success: boolean;
|
|
201
|
-
error: string;
|
|
202
200
|
operation: "get_record";
|
|
201
|
+
error: string;
|
|
202
|
+
success: boolean;
|
|
203
203
|
record?: {
|
|
204
204
|
properties: Record<string, unknown>;
|
|
205
205
|
id: string;
|
|
@@ -208,9 +208,9 @@ export declare const HubSpotResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
208
208
|
updatedAt?: string | undefined;
|
|
209
209
|
} | undefined;
|
|
210
210
|
}, {
|
|
211
|
-
success: boolean;
|
|
212
|
-
error: string;
|
|
213
211
|
operation: "get_record";
|
|
212
|
+
error: string;
|
|
213
|
+
success: boolean;
|
|
214
214
|
record?: {
|
|
215
215
|
properties: Record<string, unknown>;
|
|
216
216
|
id: string;
|
|
@@ -242,9 +242,9 @@ export declare const HubSpotResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
242
242
|
}>>;
|
|
243
243
|
error: z.ZodString;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
success: boolean;
|
|
246
|
-
error: string;
|
|
247
245
|
operation: "update_record";
|
|
246
|
+
error: string;
|
|
247
|
+
success: boolean;
|
|
248
248
|
record?: {
|
|
249
249
|
properties: Record<string, unknown>;
|
|
250
250
|
id: string;
|
|
@@ -253,9 +253,9 @@ export declare const HubSpotResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
253
253
|
updatedAt?: string | undefined;
|
|
254
254
|
} | undefined;
|
|
255
255
|
}, {
|
|
256
|
-
success: boolean;
|
|
257
|
-
error: string;
|
|
258
256
|
operation: "update_record";
|
|
257
|
+
error: string;
|
|
258
|
+
success: boolean;
|
|
259
259
|
record?: {
|
|
260
260
|
properties: Record<string, unknown>;
|
|
261
261
|
id: string;
|
|
@@ -305,9 +305,9 @@ export declare const HubSpotResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
305
305
|
}>>;
|
|
306
306
|
error: z.ZodString;
|
|
307
307
|
}, "strip", z.ZodTypeAny, {
|
|
308
|
-
success: boolean;
|
|
309
|
-
error: string;
|
|
310
308
|
operation: "search_records";
|
|
309
|
+
error: string;
|
|
310
|
+
success: boolean;
|
|
311
311
|
total?: number | undefined;
|
|
312
312
|
results?: {
|
|
313
313
|
properties: Record<string, unknown>;
|
|
@@ -322,9 +322,9 @@ export declare const HubSpotResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
322
322
|
} | undefined;
|
|
323
323
|
} | undefined;
|
|
324
324
|
}, {
|
|
325
|
-
success: boolean;
|
|
326
|
-
error: string;
|
|
327
325
|
operation: "search_records";
|
|
326
|
+
error: string;
|
|
327
|
+
success: boolean;
|
|
328
328
|
total?: number | undefined;
|
|
329
329
|
results?: {
|
|
330
330
|
properties: Record<string, unknown>;
|
|
@@ -11,18 +11,18 @@ declare const InsForgeDbParamsSchema: z.ZodObject<{
|
|
|
11
11
|
maxRows: z.ZodDefault<z.ZodNumber>;
|
|
12
12
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
timeout: number;
|
|
14
15
|
query: string;
|
|
15
|
-
allowedOperations: ("
|
|
16
|
+
allowedOperations: ("DELETE" | "SELECT" | "INSERT" | "UPDATE" | "WITH" | "EXPLAIN" | "CREATE")[];
|
|
16
17
|
parameters: unknown[];
|
|
17
|
-
timeout: number;
|
|
18
18
|
maxRows: number;
|
|
19
19
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
query: string;
|
|
22
22
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
23
|
-
allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
|
|
24
|
-
parameters?: unknown[] | undefined;
|
|
25
23
|
timeout?: number | undefined;
|
|
24
|
+
allowedOperations?: ("DELETE" | "SELECT" | "INSERT" | "UPDATE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
|
|
25
|
+
parameters?: unknown[] | undefined;
|
|
26
26
|
maxRows?: number | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
type InsForgeDbParamsInput = z.input<typeof InsForgeDbParamsSchema>;
|
|
@@ -85,18 +85,18 @@ export declare class InsForgeDbBubble extends ServiceBubble<InsForgeDbParams, In
|
|
|
85
85
|
maxRows: z.ZodDefault<z.ZodNumber>;
|
|
86
86
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
timeout: number;
|
|
88
89
|
query: string;
|
|
89
|
-
allowedOperations: ("
|
|
90
|
+
allowedOperations: ("DELETE" | "SELECT" | "INSERT" | "UPDATE" | "WITH" | "EXPLAIN" | "CREATE")[];
|
|
90
91
|
parameters: unknown[];
|
|
91
|
-
timeout: number;
|
|
92
92
|
maxRows: number;
|
|
93
93
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
94
94
|
}, {
|
|
95
95
|
query: string;
|
|
96
96
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
97
|
-
allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
|
|
98
|
-
parameters?: unknown[] | undefined;
|
|
99
97
|
timeout?: number | undefined;
|
|
98
|
+
allowedOperations?: ("DELETE" | "SELECT" | "INSERT" | "UPDATE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
|
|
99
|
+
parameters?: unknown[] | undefined;
|
|
100
100
|
maxRows?: number | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"insforge-db.d.ts","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/insforge-db.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,eAAO,MAAM,aAAa,kFAQxB,CAAC;AAIH,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAkC1B,CAAC;AAEH,KAAK,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACpE,KAAK,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAGhE,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;EAa1B,CAAC;AAE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export class InsForgeDbBubble extends ServiceBubble {
|
|
|
105
105
|
async testCredential() {
|
|
106
106
|
const { credentials } = this.params;
|
|
107
107
|
if (!credentials || typeof credentials !== 'object') {
|
|
108
|
-
|
|
108
|
+
throw new Error('No InsForge credentials provided');
|
|
109
109
|
}
|
|
110
110
|
const baseUrl = credentials[CredentialType.INSFORGE_BASE_URL]?.replace(/\/$/, '');
|
|
111
111
|
const apiKey = credentials[CredentialType.INSFORGE_API_KEY];
|
|
112
112
|
// If only base URL provided, check if server is reachable
|
|
113
113
|
if (baseUrl && !apiKey) {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
catch {
|
|
121
|
-
return false;
|
|
114
|
+
const response = await fetch(`${baseUrl}/api/health`, {
|
|
115
|
+
method: 'GET',
|
|
116
|
+
});
|
|
117
|
+
if (!response.ok) {
|
|
118
|
+
const errorText = await response.text();
|
|
119
|
+
throw new Error(`InsForge health check failed: ${response.status} - ${errorText}`);
|
|
122
120
|
}
|
|
121
|
+
return true;
|
|
123
122
|
}
|
|
124
123
|
// If only API key provided, can't validate without URL - return true
|
|
125
124
|
if (apiKey && !baseUrl) {
|
|
@@ -128,25 +127,24 @@ export class InsForgeDbBubble extends ServiceBubble {
|
|
|
128
127
|
}
|
|
129
128
|
// If both provided, do full validation
|
|
130
129
|
if (baseUrl && apiKey) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
catch {
|
|
146
|
-
return false;
|
|
130
|
+
const response = await fetch(`${baseUrl}/api/database/advance/rawsql/unrestricted`, {
|
|
131
|
+
method: 'POST',
|
|
132
|
+
headers: {
|
|
133
|
+
'Content-Type': 'application/json',
|
|
134
|
+
Authorization: `Bearer ${apiKey}`,
|
|
135
|
+
},
|
|
136
|
+
body: JSON.stringify({
|
|
137
|
+
query: 'SELECT 1 as test',
|
|
138
|
+
params: [],
|
|
139
|
+
}),
|
|
140
|
+
});
|
|
141
|
+
if (!response.ok) {
|
|
142
|
+
const errorText = await response.text();
|
|
143
|
+
throw new Error(`InsForge credential validation failed: ${response.status} - ${errorText}`);
|
|
147
144
|
}
|
|
145
|
+
return true;
|
|
148
146
|
}
|
|
149
|
-
|
|
147
|
+
throw new Error('InsForge requires at least a base URL or API key');
|
|
150
148
|
}
|
|
151
149
|
chooseCredential() {
|
|
152
150
|
// InsForge uses multiple credentials, handled in getCredentials()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"insforge-db.js","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/insforge-db.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,uEAAuE;AACvE,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC;IAClC,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,SAAS;CACV,CAAC,CAAC;AAGH,0DAA0D;AAC1D,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,mBAAmB,CAAC;SAC3B,QAAQ,CAAC,oDAAoD,CAAC;IACjE,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,aAAa,CAAC;SACpB,OAAO,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;SAC3B,QAAQ,CACP,gFAAgF,CACjF;IACH,UAAU,EAAE,CAAC;SACV,KAAK,CAAC,CAAC,CAAC,OAAO,E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