@bubblelab/bubble-core 0.1.154 → 0.1.156
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 +139 -138
- package/dist/bubbles/service-bubble/agi-inc.d.ts +88 -88
- package/dist/bubbles/service-bubble/ai-agent.d.ts +72 -72
- package/dist/bubbles/service-bubble/airtable.d.ts +114 -114
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +20 -20
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +28 -28
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +24 -24
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +58 -58
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +112 -112
- package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +20 -20
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +20 -20
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +33 -33
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +33 -33
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +16 -16
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +20 -20
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
- package/dist/bubbles/service-bubble/firecrawl.d.ts +360 -360
- package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +16 -16
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +16 -16
- package/dist/bubbles/service-bubble/github.d.ts +148 -148
- package/dist/bubbles/service-bubble/gmail.d.ts +328 -328
- package/dist/bubbles/service-bubble/google-calendar.d.ts +34 -34
- package/dist/bubbles/service-bubble/google-drive.d.ts +102 -102
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +16 -16
- package/dist/bubbles/service-bubble/insforge-db.d.ts +18 -18
- package/dist/bubbles/service-bubble/jira/jira.d.ts +92 -92
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/notion/notion.d.ts +651 -651
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +28 -28
- package/dist/bubbles/service-bubble/postgresql.d.ts +18 -18
- package/dist/bubbles/service-bubble/resend.d.ts +32 -32
- package/dist/bubbles/service-bubble/slack/slack.d.ts +436 -436
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +72 -72
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +76 -76
- package/dist/bubbles/service-bubble/telegram.d.ts +66 -66
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +20 -20
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
- 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 +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
- 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 +2 -2
- 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 +12 -12
- 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 +14 -14
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +8 -8
- 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-tool.d.ts +334 -334
- 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 +38 -38
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +66 -66
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +112 -112
- 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 +8 -8
- 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 +6 -6
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +38 -38
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +40 -40
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +50 -50
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +100 -100
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +24 -24
- package/dist/bubbles.json +1 -1
- package/package.json +2 -2
|
@@ -51,13 +51,13 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
51
51
|
maxTokens: z.ZodDefault<z.ZodNumber>;
|
|
52
52
|
jsonMode: z.ZodDefault<z.ZodBoolean>;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
temperature: number;
|
|
55
54
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
55
|
+
temperature: number;
|
|
56
56
|
maxTokens: number;
|
|
57
57
|
jsonMode: boolean;
|
|
58
58
|
}, {
|
|
59
|
-
temperature?: number | undefined;
|
|
60
59
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
60
|
+
temperature?: number | undefined;
|
|
61
61
|
maxTokens?: number | undefined;
|
|
62
62
|
jsonMode?: boolean | undefined;
|
|
63
63
|
}>>;
|
|
@@ -75,8 +75,8 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
75
75
|
pages?: number[] | undefined;
|
|
76
76
|
};
|
|
77
77
|
aiOptions: {
|
|
78
|
-
temperature: number;
|
|
79
78
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
79
|
+
temperature: number;
|
|
80
80
|
maxTokens: number;
|
|
81
81
|
jsonMode: boolean;
|
|
82
82
|
};
|
|
@@ -95,8 +95,8 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
95
95
|
dpi?: number | undefined;
|
|
96
96
|
} | undefined;
|
|
97
97
|
aiOptions?: {
|
|
98
|
-
temperature?: number | undefined;
|
|
99
98
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
99
|
+
temperature?: number | undefined;
|
|
100
100
|
maxTokens?: number | undefined;
|
|
101
101
|
jsonMode?: boolean | undefined;
|
|
102
102
|
} | undefined;
|
|
@@ -133,13 +133,13 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
133
133
|
maxTokens: z.ZodDefault<z.ZodNumber>;
|
|
134
134
|
jsonMode: z.ZodDefault<z.ZodBoolean>;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
temperature: number;
|
|
137
136
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
137
|
+
temperature: number;
|
|
138
138
|
maxTokens: number;
|
|
139
139
|
jsonMode: boolean;
|
|
140
140
|
}, {
|
|
141
|
-
temperature?: number | undefined;
|
|
142
141
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
142
|
+
temperature?: number | undefined;
|
|
143
143
|
maxTokens?: number | undefined;
|
|
144
144
|
jsonMode?: boolean | undefined;
|
|
145
145
|
}>>;
|
|
@@ -157,8 +157,8 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
157
157
|
pages?: number[] | undefined;
|
|
158
158
|
};
|
|
159
159
|
aiOptions: {
|
|
160
|
-
temperature: number;
|
|
161
160
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
161
|
+
temperature: number;
|
|
162
162
|
maxTokens: number;
|
|
163
163
|
jsonMode: boolean;
|
|
164
164
|
};
|
|
@@ -179,8 +179,8 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
179
179
|
dpi?: number | undefined;
|
|
180
180
|
} | undefined;
|
|
181
181
|
aiOptions?: {
|
|
182
|
-
temperature?: number | undefined;
|
|
183
182
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
183
|
+
temperature?: number | undefined;
|
|
184
184
|
maxTokens?: number | undefined;
|
|
185
185
|
jsonMode?: boolean | undefined;
|
|
186
186
|
} | undefined;
|
|
@@ -195,12 +195,12 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
195
195
|
fieldName: z.ZodString;
|
|
196
196
|
confidence: z.ZodNumber;
|
|
197
197
|
}, "strip", z.ZodTypeAny, {
|
|
198
|
-
id: number;
|
|
199
198
|
fieldName: string;
|
|
199
|
+
id: number;
|
|
200
200
|
confidence: number;
|
|
201
201
|
}, {
|
|
202
|
-
id: number;
|
|
203
202
|
fieldName: string;
|
|
203
|
+
id: number;
|
|
204
204
|
confidence: number;
|
|
205
205
|
}>, "many">;
|
|
206
206
|
discoveryData: z.ZodObject<{
|
|
@@ -248,8 +248,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
248
248
|
success: z.ZodBoolean;
|
|
249
249
|
error: z.ZodString;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
success: boolean;
|
|
252
251
|
error: string;
|
|
252
|
+
success: boolean;
|
|
253
253
|
mode: "identify";
|
|
254
254
|
imageData: {
|
|
255
255
|
format: string;
|
|
@@ -258,8 +258,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
258
258
|
convertedPages: number;
|
|
259
259
|
};
|
|
260
260
|
extractedFields: {
|
|
261
|
-
id: number;
|
|
262
261
|
fieldName: string;
|
|
262
|
+
id: number;
|
|
263
263
|
confidence: number;
|
|
264
264
|
}[];
|
|
265
265
|
discoveryData: {
|
|
@@ -273,8 +273,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
273
273
|
processingTime?: number | undefined;
|
|
274
274
|
};
|
|
275
275
|
}, {
|
|
276
|
-
success: boolean;
|
|
277
276
|
error: string;
|
|
277
|
+
success: boolean;
|
|
278
278
|
mode: "identify";
|
|
279
279
|
imageData: {
|
|
280
280
|
format: string;
|
|
@@ -283,8 +283,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
283
283
|
convertedPages: number;
|
|
284
284
|
};
|
|
285
285
|
extractedFields: {
|
|
286
|
-
id: number;
|
|
287
286
|
fieldName: string;
|
|
287
|
+
id: number;
|
|
288
288
|
confidence: number;
|
|
289
289
|
}[];
|
|
290
290
|
discoveryData: {
|
|
@@ -307,14 +307,14 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
307
307
|
confidence: z.ZodNumber;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
309
|
value: string;
|
|
310
|
-
id: number;
|
|
311
310
|
fieldName: string;
|
|
311
|
+
id: number;
|
|
312
312
|
confidence: number;
|
|
313
313
|
originalFieldName?: string | undefined;
|
|
314
314
|
}, {
|
|
315
315
|
value: string;
|
|
316
|
-
id: number;
|
|
317
316
|
fieldName: string;
|
|
317
|
+
id: number;
|
|
318
318
|
confidence: number;
|
|
319
319
|
originalFieldName?: string | undefined;
|
|
320
320
|
}>, "many">;
|
|
@@ -374,8 +374,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
374
374
|
success: z.ZodBoolean;
|
|
375
375
|
error: z.ZodString;
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
-
success: boolean;
|
|
378
377
|
error: string;
|
|
378
|
+
success: boolean;
|
|
379
379
|
mode: "autofill";
|
|
380
380
|
filledPdfData: string;
|
|
381
381
|
imageData: {
|
|
@@ -386,8 +386,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
386
386
|
};
|
|
387
387
|
extractedFields: {
|
|
388
388
|
value: string;
|
|
389
|
-
id: number;
|
|
390
389
|
fieldName: string;
|
|
390
|
+
id: number;
|
|
391
391
|
confidence: number;
|
|
392
392
|
originalFieldName?: string | undefined;
|
|
393
393
|
}[];
|
|
@@ -406,8 +406,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
406
406
|
successfullyFilled: number;
|
|
407
407
|
};
|
|
408
408
|
}, {
|
|
409
|
-
success: boolean;
|
|
410
409
|
error: string;
|
|
410
|
+
success: boolean;
|
|
411
411
|
mode: "autofill";
|
|
412
412
|
filledPdfData: string;
|
|
413
413
|
imageData: {
|
|
@@ -418,8 +418,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
418
418
|
};
|
|
419
419
|
extractedFields: {
|
|
420
420
|
value: string;
|
|
421
|
-
id: number;
|
|
422
421
|
fieldName: string;
|
|
422
|
+
id: number;
|
|
423
423
|
confidence: number;
|
|
424
424
|
originalFieldName?: string | undefined;
|
|
425
425
|
}[];
|
|
@@ -487,13 +487,13 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
487
487
|
maxTokens: z.ZodDefault<z.ZodNumber>;
|
|
488
488
|
jsonMode: z.ZodDefault<z.ZodBoolean>;
|
|
489
489
|
}, "strip", z.ZodTypeAny, {
|
|
490
|
-
temperature: number;
|
|
491
490
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
491
|
+
temperature: number;
|
|
492
492
|
maxTokens: number;
|
|
493
493
|
jsonMode: boolean;
|
|
494
494
|
}, {
|
|
495
|
-
temperature?: number | undefined;
|
|
496
495
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
496
|
+
temperature?: number | undefined;
|
|
497
497
|
maxTokens?: number | undefined;
|
|
498
498
|
jsonMode?: boolean | undefined;
|
|
499
499
|
}>>;
|
|
@@ -511,8 +511,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
511
511
|
pages?: number[] | undefined;
|
|
512
512
|
};
|
|
513
513
|
aiOptions: {
|
|
514
|
-
temperature: number;
|
|
515
514
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
515
|
+
temperature: number;
|
|
516
516
|
maxTokens: number;
|
|
517
517
|
jsonMode: boolean;
|
|
518
518
|
};
|
|
@@ -531,8 +531,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
531
531
|
dpi?: number | undefined;
|
|
532
532
|
} | undefined;
|
|
533
533
|
aiOptions?: {
|
|
534
|
-
temperature?: number | undefined;
|
|
535
534
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
535
|
+
temperature?: number | undefined;
|
|
536
536
|
maxTokens?: number | undefined;
|
|
537
537
|
jsonMode?: boolean | undefined;
|
|
538
538
|
} | undefined;
|
|
@@ -569,13 +569,13 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
569
569
|
maxTokens: z.ZodDefault<z.ZodNumber>;
|
|
570
570
|
jsonMode: z.ZodDefault<z.ZodBoolean>;
|
|
571
571
|
}, "strip", z.ZodTypeAny, {
|
|
572
|
-
temperature: number;
|
|
573
572
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
573
|
+
temperature: number;
|
|
574
574
|
maxTokens: number;
|
|
575
575
|
jsonMode: boolean;
|
|
576
576
|
}, {
|
|
577
|
-
temperature?: number | undefined;
|
|
578
577
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
578
|
+
temperature?: number | undefined;
|
|
579
579
|
maxTokens?: number | undefined;
|
|
580
580
|
jsonMode?: boolean | undefined;
|
|
581
581
|
}>>;
|
|
@@ -593,8 +593,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
593
593
|
pages?: number[] | undefined;
|
|
594
594
|
};
|
|
595
595
|
aiOptions: {
|
|
596
|
-
temperature: number;
|
|
597
596
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
597
|
+
temperature: number;
|
|
598
598
|
maxTokens: number;
|
|
599
599
|
jsonMode: boolean;
|
|
600
600
|
};
|
|
@@ -615,8 +615,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
615
615
|
dpi?: number | undefined;
|
|
616
616
|
} | undefined;
|
|
617
617
|
aiOptions?: {
|
|
618
|
-
temperature?: number | undefined;
|
|
619
618
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
619
|
+
temperature?: number | undefined;
|
|
620
620
|
maxTokens?: number | undefined;
|
|
621
621
|
jsonMode?: boolean | undefined;
|
|
622
622
|
} | undefined;
|
|
@@ -628,12 +628,12 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
628
628
|
fieldName: z.ZodString;
|
|
629
629
|
confidence: z.ZodNumber;
|
|
630
630
|
}, "strip", z.ZodTypeAny, {
|
|
631
|
-
id: number;
|
|
632
631
|
fieldName: string;
|
|
632
|
+
id: number;
|
|
633
633
|
confidence: number;
|
|
634
634
|
}, {
|
|
635
|
-
id: number;
|
|
636
635
|
fieldName: string;
|
|
636
|
+
id: number;
|
|
637
637
|
confidence: number;
|
|
638
638
|
}>, "many">;
|
|
639
639
|
discoveryData: z.ZodObject<{
|
|
@@ -681,8 +681,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
681
681
|
success: z.ZodBoolean;
|
|
682
682
|
error: z.ZodString;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
|
-
success: boolean;
|
|
685
684
|
error: string;
|
|
685
|
+
success: boolean;
|
|
686
686
|
mode: "identify";
|
|
687
687
|
imageData: {
|
|
688
688
|
format: string;
|
|
@@ -691,8 +691,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
691
691
|
convertedPages: number;
|
|
692
692
|
};
|
|
693
693
|
extractedFields: {
|
|
694
|
-
id: number;
|
|
695
694
|
fieldName: string;
|
|
695
|
+
id: number;
|
|
696
696
|
confidence: number;
|
|
697
697
|
}[];
|
|
698
698
|
discoveryData: {
|
|
@@ -706,8 +706,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
706
706
|
processingTime?: number | undefined;
|
|
707
707
|
};
|
|
708
708
|
}, {
|
|
709
|
-
success: boolean;
|
|
710
709
|
error: string;
|
|
710
|
+
success: boolean;
|
|
711
711
|
mode: "identify";
|
|
712
712
|
imageData: {
|
|
713
713
|
format: string;
|
|
@@ -716,8 +716,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
716
716
|
convertedPages: number;
|
|
717
717
|
};
|
|
718
718
|
extractedFields: {
|
|
719
|
-
id: number;
|
|
720
719
|
fieldName: string;
|
|
720
|
+
id: number;
|
|
721
721
|
confidence: number;
|
|
722
722
|
}[];
|
|
723
723
|
discoveryData: {
|
|
@@ -740,14 +740,14 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
740
740
|
confidence: z.ZodNumber;
|
|
741
741
|
}, "strip", z.ZodTypeAny, {
|
|
742
742
|
value: string;
|
|
743
|
-
id: number;
|
|
744
743
|
fieldName: string;
|
|
744
|
+
id: number;
|
|
745
745
|
confidence: number;
|
|
746
746
|
originalFieldName?: string | undefined;
|
|
747
747
|
}, {
|
|
748
748
|
value: string;
|
|
749
|
-
id: number;
|
|
750
749
|
fieldName: string;
|
|
750
|
+
id: number;
|
|
751
751
|
confidence: number;
|
|
752
752
|
originalFieldName?: string | undefined;
|
|
753
753
|
}>, "many">;
|
|
@@ -807,8 +807,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
807
807
|
success: z.ZodBoolean;
|
|
808
808
|
error: z.ZodString;
|
|
809
809
|
}, "strip", z.ZodTypeAny, {
|
|
810
|
-
success: boolean;
|
|
811
810
|
error: string;
|
|
811
|
+
success: boolean;
|
|
812
812
|
mode: "autofill";
|
|
813
813
|
filledPdfData: string;
|
|
814
814
|
imageData: {
|
|
@@ -819,8 +819,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
819
819
|
};
|
|
820
820
|
extractedFields: {
|
|
821
821
|
value: string;
|
|
822
|
-
id: number;
|
|
823
822
|
fieldName: string;
|
|
823
|
+
id: number;
|
|
824
824
|
confidence: number;
|
|
825
825
|
originalFieldName?: string | undefined;
|
|
826
826
|
}[];
|
|
@@ -839,8 +839,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
839
839
|
successfullyFilled: number;
|
|
840
840
|
};
|
|
841
841
|
}, {
|
|
842
|
-
success: boolean;
|
|
843
842
|
error: string;
|
|
843
|
+
success: boolean;
|
|
844
844
|
mode: "autofill";
|
|
845
845
|
filledPdfData: string;
|
|
846
846
|
imageData: {
|
|
@@ -851,8 +851,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
851
851
|
};
|
|
852
852
|
extractedFields: {
|
|
853
853
|
value: string;
|
|
854
|
-
id: number;
|
|
855
854
|
fieldName: string;
|
|
855
|
+
id: number;
|
|
856
856
|
confidence: number;
|
|
857
857
|
originalFieldName?: string | undefined;
|
|
858
858
|
}[];
|
|
@@ -35,49 +35,49 @@ declare const SlackDataAssistantParamsSchema: z.ZodObject<{
|
|
|
35
35
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
name: string;
|
|
38
|
-
slackChannel: string;
|
|
39
|
-
userQuestion: string;
|
|
40
|
-
dataSourceType: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql";
|
|
41
|
-
ignoreSSLErrors: boolean;
|
|
42
|
-
aiModel: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
43
38
|
temperature: number;
|
|
44
39
|
verbosity: "1" | "2" | "3" | "4" | "5";
|
|
45
40
|
technicality: "1" | "2" | "3" | "4" | "5";
|
|
46
41
|
includeQuery: boolean;
|
|
47
42
|
includeExplanation: boolean;
|
|
43
|
+
dataSourceType: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb";
|
|
44
|
+
ignoreSSLErrors: boolean;
|
|
45
|
+
aiModel: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
46
|
+
slackChannel: string;
|
|
47
|
+
userQuestion: string;
|
|
48
48
|
maxQueries: number;
|
|
49
49
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
50
|
-
|
|
50
|
+
additionalContext?: string | undefined;
|
|
51
51
|
userName?: string | undefined;
|
|
52
|
-
databaseUrl?: string | undefined;
|
|
53
52
|
injectedMetadata?: {
|
|
54
53
|
tables?: Record<string, Record<string, string>> | undefined;
|
|
55
54
|
tableNotes?: Record<string, string> | undefined;
|
|
56
55
|
rules?: string[] | undefined;
|
|
57
56
|
} | undefined;
|
|
58
|
-
|
|
57
|
+
slackThreadTs?: string | undefined;
|
|
58
|
+
databaseUrl?: string | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
slackChannel: string;
|
|
61
61
|
userQuestion: string;
|
|
62
62
|
name?: string | undefined;
|
|
63
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
64
|
-
slackThreadTs?: string | undefined;
|
|
65
|
-
userName?: string | undefined;
|
|
66
|
-
dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql" | undefined;
|
|
67
|
-
databaseUrl?: string | undefined;
|
|
68
|
-
ignoreSSLErrors?: boolean | undefined;
|
|
69
|
-
aiModel?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
70
63
|
temperature?: number | undefined;
|
|
64
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
71
65
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
72
66
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
73
67
|
includeQuery?: boolean | undefined;
|
|
74
68
|
includeExplanation?: boolean | undefined;
|
|
69
|
+
additionalContext?: string | undefined;
|
|
70
|
+
userName?: string | undefined;
|
|
71
|
+
dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb" | undefined;
|
|
72
|
+
ignoreSSLErrors?: boolean | undefined;
|
|
75
73
|
injectedMetadata?: {
|
|
76
74
|
tables?: Record<string, Record<string, string>> | undefined;
|
|
77
75
|
tableNotes?: Record<string, string> | undefined;
|
|
78
76
|
rules?: string[] | undefined;
|
|
79
77
|
} | undefined;
|
|
80
|
-
|
|
78
|
+
aiModel?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
79
|
+
slackThreadTs?: string | undefined;
|
|
80
|
+
databaseUrl?: string | undefined;
|
|
81
81
|
maxQueries?: number | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
declare const SlackDataAssistantResultSchema: z.ZodObject<{
|
|
@@ -104,8 +104,13 @@ declare const SlackDataAssistantResultSchema: z.ZodObject<{
|
|
|
104
104
|
wordCount?: number | undefined;
|
|
105
105
|
}>>;
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
success: boolean;
|
|
108
107
|
error: string;
|
|
108
|
+
success: boolean;
|
|
109
|
+
metadata?: {
|
|
110
|
+
executionTime: number;
|
|
111
|
+
rowCount?: number | undefined;
|
|
112
|
+
wordCount?: number | undefined;
|
|
113
|
+
} | undefined;
|
|
109
114
|
query?: string | undefined;
|
|
110
115
|
queryExplanation?: string | undefined;
|
|
111
116
|
queryResults?: Record<string, unknown>[] | undefined;
|
|
@@ -113,14 +118,14 @@ declare const SlackDataAssistantResultSchema: z.ZodObject<{
|
|
|
113
118
|
slackBlocks?: unknown[] | undefined;
|
|
114
119
|
slackMessageTs?: string | undefined;
|
|
115
120
|
isDataQuestion?: boolean | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
error: string;
|
|
123
|
+
success: boolean;
|
|
116
124
|
metadata?: {
|
|
117
125
|
executionTime: number;
|
|
118
126
|
rowCount?: number | undefined;
|
|
119
127
|
wordCount?: number | undefined;
|
|
120
128
|
} | undefined;
|
|
121
|
-
}, {
|
|
122
|
-
success: boolean;
|
|
123
|
-
error: string;
|
|
124
129
|
query?: string | undefined;
|
|
125
130
|
queryExplanation?: string | undefined;
|
|
126
131
|
queryResults?: Record<string, unknown>[] | undefined;
|
|
@@ -128,11 +133,6 @@ declare const SlackDataAssistantResultSchema: z.ZodObject<{
|
|
|
128
133
|
slackBlocks?: unknown[] | undefined;
|
|
129
134
|
slackMessageTs?: string | undefined;
|
|
130
135
|
isDataQuestion?: boolean | undefined;
|
|
131
|
-
metadata?: {
|
|
132
|
-
executionTime: number;
|
|
133
|
-
rowCount?: number | undefined;
|
|
134
|
-
wordCount?: number | undefined;
|
|
135
|
-
} | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
type SlackDataAssistantParams = z.input<typeof SlackDataAssistantParamsSchema>;
|
|
138
138
|
type SlackDataAssistantResult = z.output<typeof SlackDataAssistantResultSchema>;
|
|
@@ -173,49 +173,49 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
|
|
|
173
173
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
175
|
name: string;
|
|
176
|
-
slackChannel: string;
|
|
177
|
-
userQuestion: string;
|
|
178
|
-
dataSourceType: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql";
|
|
179
|
-
ignoreSSLErrors: boolean;
|
|
180
|
-
aiModel: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
181
176
|
temperature: number;
|
|
182
177
|
verbosity: "1" | "2" | "3" | "4" | "5";
|
|
183
178
|
technicality: "1" | "2" | "3" | "4" | "5";
|
|
184
179
|
includeQuery: boolean;
|
|
185
180
|
includeExplanation: boolean;
|
|
181
|
+
dataSourceType: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb";
|
|
182
|
+
ignoreSSLErrors: boolean;
|
|
183
|
+
aiModel: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
184
|
+
slackChannel: string;
|
|
185
|
+
userQuestion: string;
|
|
186
186
|
maxQueries: number;
|
|
187
187
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
188
|
-
|
|
188
|
+
additionalContext?: string | undefined;
|
|
189
189
|
userName?: string | undefined;
|
|
190
|
-
databaseUrl?: string | undefined;
|
|
191
190
|
injectedMetadata?: {
|
|
192
191
|
tables?: Record<string, Record<string, string>> | undefined;
|
|
193
192
|
tableNotes?: Record<string, string> | undefined;
|
|
194
193
|
rules?: string[] | undefined;
|
|
195
194
|
} | undefined;
|
|
196
|
-
|
|
195
|
+
slackThreadTs?: string | undefined;
|
|
196
|
+
databaseUrl?: string | undefined;
|
|
197
197
|
}, {
|
|
198
198
|
slackChannel: string;
|
|
199
199
|
userQuestion: string;
|
|
200
200
|
name?: string | undefined;
|
|
201
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
202
|
-
slackThreadTs?: string | undefined;
|
|
203
|
-
userName?: string | undefined;
|
|
204
|
-
dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql" | undefined;
|
|
205
|
-
databaseUrl?: string | undefined;
|
|
206
|
-
ignoreSSLErrors?: boolean | undefined;
|
|
207
|
-
aiModel?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
208
201
|
temperature?: number | undefined;
|
|
202
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
209
203
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
210
204
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
211
205
|
includeQuery?: boolean | undefined;
|
|
212
206
|
includeExplanation?: boolean | undefined;
|
|
207
|
+
additionalContext?: string | undefined;
|
|
208
|
+
userName?: string | undefined;
|
|
209
|
+
dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb" | undefined;
|
|
210
|
+
ignoreSSLErrors?: boolean | undefined;
|
|
213
211
|
injectedMetadata?: {
|
|
214
212
|
tables?: Record<string, Record<string, string>> | undefined;
|
|
215
213
|
tableNotes?: Record<string, string> | undefined;
|
|
216
214
|
rules?: string[] | undefined;
|
|
217
215
|
} | undefined;
|
|
218
|
-
|
|
216
|
+
aiModel?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
217
|
+
slackThreadTs?: string | undefined;
|
|
218
|
+
databaseUrl?: string | undefined;
|
|
219
219
|
maxQueries?: number | undefined;
|
|
220
220
|
}>;
|
|
221
221
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -242,8 +242,13 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
|
|
|
242
242
|
wordCount?: number | undefined;
|
|
243
243
|
}>>;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
success: boolean;
|
|
246
245
|
error: string;
|
|
246
|
+
success: boolean;
|
|
247
|
+
metadata?: {
|
|
248
|
+
executionTime: number;
|
|
249
|
+
rowCount?: number | undefined;
|
|
250
|
+
wordCount?: number | undefined;
|
|
251
|
+
} | undefined;
|
|
247
252
|
query?: string | undefined;
|
|
248
253
|
queryExplanation?: string | undefined;
|
|
249
254
|
queryResults?: Record<string, unknown>[] | undefined;
|
|
@@ -251,14 +256,14 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
|
|
|
251
256
|
slackBlocks?: unknown[] | undefined;
|
|
252
257
|
slackMessageTs?: string | undefined;
|
|
253
258
|
isDataQuestion?: boolean | undefined;
|
|
259
|
+
}, {
|
|
260
|
+
error: string;
|
|
261
|
+
success: boolean;
|
|
254
262
|
metadata?: {
|
|
255
263
|
executionTime: number;
|
|
256
264
|
rowCount?: number | undefined;
|
|
257
265
|
wordCount?: number | undefined;
|
|
258
266
|
} | undefined;
|
|
259
|
-
}, {
|
|
260
|
-
success: boolean;
|
|
261
|
-
error: string;
|
|
262
267
|
query?: string | undefined;
|
|
263
268
|
queryExplanation?: string | undefined;
|
|
264
269
|
queryResults?: Record<string, unknown>[] | undefined;
|
|
@@ -266,11 +271,6 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
|
|
|
266
271
|
slackBlocks?: unknown[] | undefined;
|
|
267
272
|
slackMessageTs?: string | undefined;
|
|
268
273
|
isDataQuestion?: boolean | undefined;
|
|
269
|
-
metadata?: {
|
|
270
|
-
executionTime: number;
|
|
271
|
-
rowCount?: number | undefined;
|
|
272
|
-
wordCount?: number | undefined;
|
|
273
|
-
} | undefined;
|
|
274
274
|
}>;
|
|
275
275
|
static readonly shortDescription = "AI-powered Slack bot that answers data questions by querying databases";
|
|
276
276
|
static readonly longDescription = "\n A comprehensive workflow that creates an intelligent Slack bot capable of:\n - Receiving questions from Slack mentions\n - Analyzing database schema\n - Generating appropriate SQL queries using AI\n - Executing queries safely (read-only)\n - Formatting results in a user-friendly way\n - Responding in Slack with rich block formatting\n \n Perfect for:\n - Business intelligence chat-bots\n - Data analytics assistants\n - Database query automation\n - Self-service data access\n ";
|