@bubblelab/bubble-core 0.1.4 → 0.1.5

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 (66) hide show
  1. package/dist/bubble-bundle.d.ts +28 -28
  2. package/dist/bubbles/service-bubble/ai-agent.d.ts +24 -24
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  4. package/dist/bubbles/service-bubble/ai-agent.js +16 -2
  5. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  6. package/dist/bubbles/service-bubble/gmail.d.ts +4 -4
  7. package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
  8. package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
  9. package/dist/bubbles/service-bubble/google-sheets.d.ts +20 -20
  10. package/dist/bubbles/service-bubble/http.d.ts +2 -2
  11. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  12. package/dist/bubbles/service-bubble/slack.d.ts +58 -58
  13. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  14. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  15. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  16. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  17. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +14 -14
  18. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  19. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +10 -10
  20. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +8 -8
  21. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +66 -66
  22. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +50 -50
  23. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +92 -92
  24. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +36 -36
  25. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +46 -46
  26. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +60 -60
  27. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +14 -14
  28. package/dist/logging/BubbleLogger.d.ts.map +1 -1
  29. package/dist/logging/BubbleLogger.js +16 -4
  30. package/dist/logging/BubbleLogger.js.map +1 -1
  31. package/dist/types/ai-models.d.ts +1 -1
  32. package/dist/types/ai-models.d.ts.map +1 -1
  33. package/dist/types/ai-models.js +2 -0
  34. package/dist/types/ai-models.js.map +1 -1
  35. package/dist/types/base-bubble-class.d.ts.map +1 -1
  36. package/dist/types/base-bubble-class.js +7 -1
  37. package/dist/types/base-bubble-class.js.map +1 -1
  38. package/package.json +4 -3
  39. package/dist/bubbles/tool-bubble/virtual-file-editor-example.d.ts +0 -8
  40. package/dist/bubbles/tool-bubble/virtual-file-editor-example.d.ts.map +0 -1
  41. package/dist/bubbles/tool-bubble/virtual-file-editor-example.js +0 -65
  42. package/dist/bubbles/tool-bubble/virtual-file-editor-example.js.map +0 -1
  43. package/dist/bubbles/tool-bubble/virtual-file-editor.tool.d.ts +0 -125
  44. package/dist/bubbles/tool-bubble/virtual-file-editor.tool.d.ts.map +0 -1
  45. package/dist/bubbles/tool-bubble/virtual-file-editor.tool.js +0 -169
  46. package/dist/bubbles/tool-bubble/virtual-file-editor.tool.js.map +0 -1
  47. package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.d.ts +0 -97
  48. package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.d.ts.map +0 -1
  49. package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.js +0 -327
  50. package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.js.map +0 -1
  51. package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.d.ts +0 -157
  52. package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.d.ts.map +0 -1
  53. package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.js +0 -310
  54. package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.js.map +0 -1
  55. package/dist/bubbles/workflow-bubble/workflow-template.d.ts +0 -144
  56. package/dist/bubbles/workflow-bubble/workflow-template.d.ts.map +0 -1
  57. package/dist/bubbles/workflow-bubble/workflow-template.js +0 -124
  58. package/dist/bubbles/workflow-bubble/workflow-template.js.map +0 -1
  59. package/dist/types/streaming-events.d.ts +0 -18
  60. package/dist/types/streaming-events.d.ts.map +0 -1
  61. package/dist/types/streaming-events.js +0 -5
  62. package/dist/types/streaming-events.js.map +0 -1
  63. package/dist/utils/mock-data-generator.d.ts +0 -43
  64. package/dist/utils/mock-data-generator.d.ts.map +0 -1
  65. package/dist/utils/mock-data-generator.js +0 -312
  66. package/dist/utils/mock-data-generator.js.map +0 -1
@@ -41,22 +41,22 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
41
41
  pages?: number[] | undefined;
42
42
  }, {
43
43
  format?: "png" | "jpeg" | undefined;
44
- quality?: number | undefined;
45
44
  pages?: number[] | undefined;
45
+ quality?: number | undefined;
46
46
  dpi?: number | undefined;
47
47
  }>>;
48
48
  aiOptions: z.ZodDefault<z.ZodObject<{
49
- model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview"]>>;
49
+ model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "openai/gpt-4o", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "anthropic/claude-sonnet-4-5-20250929"]>>;
50
50
  temperature: z.ZodDefault<z.ZodNumber>;
51
51
  maxTokens: z.ZodDefault<z.ZodNumber>;
52
52
  jsonMode: z.ZodDefault<z.ZodBoolean>;
53
53
  }, "strip", z.ZodTypeAny, {
54
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview";
54
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
55
55
  temperature: number;
56
56
  maxTokens: number;
57
57
  jsonMode: boolean;
58
58
  }, {
59
- model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
59
+ model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
60
60
  temperature?: number | undefined;
61
61
  maxTokens?: number | undefined;
62
62
  jsonMode?: boolean | undefined;
@@ -75,7 +75,7 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
75
75
  pages?: number[] | undefined;
76
76
  };
77
77
  aiOptions: {
78
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview";
78
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
79
79
  temperature: number;
80
80
  maxTokens: number;
81
81
  jsonMode: boolean;
@@ -90,12 +90,12 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
90
90
  } | undefined;
91
91
  imageOptions?: {
92
92
  format?: "png" | "jpeg" | undefined;
93
- quality?: number | undefined;
94
93
  pages?: number[] | undefined;
94
+ quality?: number | undefined;
95
95
  dpi?: number | undefined;
96
96
  } | undefined;
97
97
  aiOptions?: {
98
- model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
98
+ model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
99
99
  temperature?: number | undefined;
100
100
  maxTokens?: number | undefined;
101
101
  jsonMode?: boolean | undefined;
@@ -123,22 +123,22 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
123
123
  pages?: number[] | undefined;
124
124
  }, {
125
125
  format?: "png" | "jpeg" | undefined;
126
- quality?: number | undefined;
127
126
  pages?: number[] | undefined;
127
+ quality?: number | undefined;
128
128
  dpi?: number | undefined;
129
129
  }>>;
130
130
  aiOptions: z.ZodDefault<z.ZodObject<{
131
- model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview"]>>;
131
+ model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "openai/gpt-4o", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "anthropic/claude-sonnet-4-5-20250929"]>>;
132
132
  temperature: z.ZodDefault<z.ZodNumber>;
133
133
  maxTokens: z.ZodDefault<z.ZodNumber>;
134
134
  jsonMode: z.ZodDefault<z.ZodBoolean>;
135
135
  }, "strip", z.ZodTypeAny, {
136
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview";
136
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
137
137
  temperature: number;
138
138
  maxTokens: number;
139
139
  jsonMode: boolean;
140
140
  }, {
141
- model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
141
+ model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
142
142
  temperature?: number | undefined;
143
143
  maxTokens?: number | undefined;
144
144
  jsonMode?: boolean | undefined;
@@ -157,7 +157,7 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
157
157
  pages?: number[] | undefined;
158
158
  };
159
159
  aiOptions: {
160
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview";
160
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
161
161
  temperature: number;
162
162
  maxTokens: number;
163
163
  jsonMode: boolean;
@@ -174,12 +174,12 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
174
174
  } | undefined;
175
175
  imageOptions?: {
176
176
  format?: "png" | "jpeg" | undefined;
177
- quality?: number | undefined;
178
177
  pages?: number[] | undefined;
178
+ quality?: number | undefined;
179
179
  dpi?: number | undefined;
180
180
  } | undefined;
181
181
  aiOptions?: {
182
- model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
182
+ model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
183
183
  temperature?: number | undefined;
184
184
  maxTokens?: number | undefined;
185
185
  jsonMode?: boolean | undefined;
@@ -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;
@@ -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;
@@ -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: {
@@ -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: {
@@ -477,22 +477,22 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
477
477
  pages?: number[] | undefined;
478
478
  }, {
479
479
  format?: "png" | "jpeg" | undefined;
480
- quality?: number | undefined;
481
480
  pages?: number[] | undefined;
481
+ quality?: number | undefined;
482
482
  dpi?: number | undefined;
483
483
  }>>;
484
484
  aiOptions: z.ZodDefault<z.ZodObject<{
485
- model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview"]>>;
485
+ model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "openai/gpt-4o", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "anthropic/claude-sonnet-4-5-20250929"]>>;
486
486
  temperature: z.ZodDefault<z.ZodNumber>;
487
487
  maxTokens: z.ZodDefault<z.ZodNumber>;
488
488
  jsonMode: z.ZodDefault<z.ZodBoolean>;
489
489
  }, "strip", z.ZodTypeAny, {
490
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview";
490
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
491
491
  temperature: number;
492
492
  maxTokens: number;
493
493
  jsonMode: boolean;
494
494
  }, {
495
- model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
495
+ model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
496
496
  temperature?: number | undefined;
497
497
  maxTokens?: number | undefined;
498
498
  jsonMode?: boolean | undefined;
@@ -511,7 +511,7 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
511
511
  pages?: number[] | undefined;
512
512
  };
513
513
  aiOptions: {
514
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview";
514
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
515
515
  temperature: number;
516
516
  maxTokens: number;
517
517
  jsonMode: boolean;
@@ -526,12 +526,12 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
526
526
  } | undefined;
527
527
  imageOptions?: {
528
528
  format?: "png" | "jpeg" | undefined;
529
- quality?: number | undefined;
530
529
  pages?: number[] | undefined;
530
+ quality?: number | undefined;
531
531
  dpi?: number | undefined;
532
532
  } | undefined;
533
533
  aiOptions?: {
534
- model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
534
+ model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
535
535
  temperature?: number | undefined;
536
536
  maxTokens?: number | undefined;
537
537
  jsonMode?: boolean | undefined;
@@ -559,22 +559,22 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
559
559
  pages?: number[] | undefined;
560
560
  }, {
561
561
  format?: "png" | "jpeg" | undefined;
562
- quality?: number | undefined;
563
562
  pages?: number[] | undefined;
563
+ quality?: number | undefined;
564
564
  dpi?: number | undefined;
565
565
  }>>;
566
566
  aiOptions: z.ZodDefault<z.ZodObject<{
567
- model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview"]>>;
567
+ model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "openai/gpt-4o", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "anthropic/claude-sonnet-4-5-20250929"]>>;
568
568
  temperature: z.ZodDefault<z.ZodNumber>;
569
569
  maxTokens: z.ZodDefault<z.ZodNumber>;
570
570
  jsonMode: z.ZodDefault<z.ZodBoolean>;
571
571
  }, "strip", z.ZodTypeAny, {
572
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview";
572
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
573
573
  temperature: number;
574
574
  maxTokens: number;
575
575
  jsonMode: boolean;
576
576
  }, {
577
- model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
577
+ model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
578
578
  temperature?: number | undefined;
579
579
  maxTokens?: number | undefined;
580
580
  jsonMode?: boolean | undefined;
@@ -593,7 +593,7 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
593
593
  pages?: number[] | undefined;
594
594
  };
595
595
  aiOptions: {
596
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview";
596
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
597
597
  temperature: number;
598
598
  maxTokens: number;
599
599
  jsonMode: boolean;
@@ -610,12 +610,12 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
610
610
  } | undefined;
611
611
  imageOptions?: {
612
612
  format?: "png" | "jpeg" | undefined;
613
- quality?: number | undefined;
614
613
  pages?: number[] | undefined;
614
+ quality?: number | undefined;
615
615
  dpi?: number | undefined;
616
616
  } | undefined;
617
617
  aiOptions?: {
618
- model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
618
+ model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
619
619
  temperature?: number | undefined;
620
620
  maxTokens?: number | undefined;
621
621
  jsonMode?: boolean | undefined;
@@ -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;
@@ -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;
@@ -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: {
@@ -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: {
@@ -11,7 +11,7 @@ declare const SlackDataAssistantParamsSchema: z.ZodObject<{
11
11
  dataSourceType: z.ZodDefault<z.ZodEnum<["postgresql", "mysql", "sqlite", "mariadb", "mssql"]>>;
12
12
  databaseUrl: z.ZodOptional<z.ZodString>;
13
13
  ignoreSSLErrors: z.ZodDefault<z.ZodBoolean>;
14
- aiModel: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview"]>>;
14
+ aiModel: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "openai/gpt-4o", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "anthropic/claude-sonnet-4-5-20250929"]>>;
15
15
  temperature: z.ZodDefault<z.ZodNumber>;
16
16
  verbosity: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>;
17
17
  technicality: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>;
@@ -37,47 +37,47 @@ declare const SlackDataAssistantParamsSchema: z.ZodObject<{
37
37
  name: string;
38
38
  temperature: number;
39
39
  verbosity: "1" | "2" | "3" | "4" | "5";
40
- dataSourceType: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb";
41
- ignoreSSLErrors: boolean;
42
- aiModel: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview";
40
+ aiModel: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
43
41
  technicality: "1" | "2" | "3" | "4" | "5";
44
42
  includeQuery: boolean;
45
43
  includeExplanation: boolean;
46
44
  slackChannel: string;
47
45
  userQuestion: string;
46
+ dataSourceType: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql";
47
+ ignoreSSLErrors: boolean;
48
48
  maxQueries: number;
49
49
  credentials?: Partial<Record<CredentialType, string>> | undefined;
50
+ additionalContext?: string | undefined;
51
+ slackThreadTs?: string | undefined;
52
+ userName?: string | undefined;
53
+ databaseUrl?: string | undefined;
50
54
  injectedMetadata?: {
51
55
  tables?: Record<string, Record<string, string>> | undefined;
52
56
  tableNotes?: Record<string, string> | undefined;
53
57
  rules?: string[] | undefined;
54
58
  } | undefined;
55
- additionalContext?: string | undefined;
56
- slackThreadTs?: string | undefined;
57
- userName?: 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
63
  temperature?: number | undefined;
64
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
65
65
  verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
66
- dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb" | undefined;
67
- ignoreSSLErrors?: boolean | undefined;
68
- injectedMetadata?: {
69
- tables?: Record<string, Record<string, string>> | undefined;
70
- tableNotes?: Record<string, string> | undefined;
71
- rules?: string[] | undefined;
72
- } | undefined;
73
- aiModel?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
66
+ aiModel?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
74
67
  technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
75
68
  includeQuery?: boolean | undefined;
76
69
  includeExplanation?: boolean | undefined;
77
70
  additionalContext?: string | undefined;
78
71
  slackThreadTs?: string | undefined;
79
72
  userName?: string | undefined;
73
+ dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql" | undefined;
80
74
  databaseUrl?: string | undefined;
75
+ ignoreSSLErrors?: boolean | undefined;
76
+ injectedMetadata?: {
77
+ tables?: Record<string, Record<string, string>> | undefined;
78
+ tableNotes?: Record<string, string> | undefined;
79
+ rules?: string[] | undefined;
80
+ } | undefined;
81
81
  maxQueries?: number | undefined;
82
82
  }>;
83
83
  declare const SlackDataAssistantResultSchema: z.ZodObject<{
@@ -96,20 +96,20 @@ declare const SlackDataAssistantResultSchema: z.ZodObject<{
96
96
  wordCount: z.ZodOptional<z.ZodNumber>;
97
97
  }, "strip", z.ZodTypeAny, {
98
98
  executionTime: number;
99
- rowCount?: number | undefined;
100
99
  wordCount?: number | undefined;
100
+ rowCount?: number | undefined;
101
101
  }, {
102
102
  executionTime: number;
103
- rowCount?: number | undefined;
104
103
  wordCount?: number | undefined;
104
+ rowCount?: number | undefined;
105
105
  }>>;
106
106
  }, "strip", z.ZodTypeAny, {
107
- success: boolean;
108
107
  error: string;
108
+ success: boolean;
109
109
  metadata?: {
110
110
  executionTime: number;
111
- rowCount?: number | undefined;
112
111
  wordCount?: number | undefined;
112
+ rowCount?: number | undefined;
113
113
  } | undefined;
114
114
  query?: string | undefined;
115
115
  queryExplanation?: string | undefined;
@@ -119,12 +119,12 @@ declare const SlackDataAssistantResultSchema: z.ZodObject<{
119
119
  slackMessageTs?: string | undefined;
120
120
  isDataQuestion?: boolean | undefined;
121
121
  }, {
122
- success: boolean;
123
122
  error: string;
123
+ success: boolean;
124
124
  metadata?: {
125
125
  executionTime: number;
126
- rowCount?: number | undefined;
127
126
  wordCount?: number | undefined;
127
+ rowCount?: number | undefined;
128
128
  } | undefined;
129
129
  query?: string | undefined;
130
130
  queryExplanation?: string | undefined;
@@ -149,7 +149,7 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
149
149
  dataSourceType: z.ZodDefault<z.ZodEnum<["postgresql", "mysql", "sqlite", "mariadb", "mssql"]>>;
150
150
  databaseUrl: z.ZodOptional<z.ZodString>;
151
151
  ignoreSSLErrors: z.ZodDefault<z.ZodBoolean>;
152
- aiModel: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview"]>>;
152
+ aiModel: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "openai/gpt-4o", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "anthropic/claude-sonnet-4-5-20250929"]>>;
153
153
  temperature: z.ZodDefault<z.ZodNumber>;
154
154
  verbosity: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>;
155
155
  technicality: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>;
@@ -175,47 +175,47 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
175
175
  name: string;
176
176
  temperature: number;
177
177
  verbosity: "1" | "2" | "3" | "4" | "5";
178
- dataSourceType: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb";
179
- ignoreSSLErrors: boolean;
180
- aiModel: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview";
178
+ aiModel: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
181
179
  technicality: "1" | "2" | "3" | "4" | "5";
182
180
  includeQuery: boolean;
183
181
  includeExplanation: boolean;
184
182
  slackChannel: string;
185
183
  userQuestion: string;
184
+ dataSourceType: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql";
185
+ ignoreSSLErrors: boolean;
186
186
  maxQueries: number;
187
187
  credentials?: Partial<Record<CredentialType, string>> | undefined;
188
+ additionalContext?: string | undefined;
189
+ slackThreadTs?: string | undefined;
190
+ userName?: string | undefined;
191
+ databaseUrl?: string | undefined;
188
192
  injectedMetadata?: {
189
193
  tables?: Record<string, Record<string, string>> | undefined;
190
194
  tableNotes?: Record<string, string> | undefined;
191
195
  rules?: string[] | undefined;
192
196
  } | undefined;
193
- additionalContext?: string | undefined;
194
- slackThreadTs?: string | undefined;
195
- userName?: 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
201
  temperature?: number | undefined;
202
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
203
203
  verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
204
- dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb" | undefined;
205
- ignoreSSLErrors?: boolean | undefined;
206
- injectedMetadata?: {
207
- tables?: Record<string, Record<string, string>> | undefined;
208
- tableNotes?: Record<string, string> | undefined;
209
- rules?: string[] | undefined;
210
- } | undefined;
211
- aiModel?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
204
+ aiModel?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
212
205
  technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
213
206
  includeQuery?: boolean | undefined;
214
207
  includeExplanation?: boolean | undefined;
215
208
  additionalContext?: string | undefined;
216
209
  slackThreadTs?: string | undefined;
217
210
  userName?: string | undefined;
211
+ dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql" | undefined;
218
212
  databaseUrl?: string | undefined;
213
+ ignoreSSLErrors?: boolean | undefined;
214
+ injectedMetadata?: {
215
+ tables?: Record<string, Record<string, string>> | undefined;
216
+ tableNotes?: Record<string, string> | undefined;
217
+ rules?: string[] | undefined;
218
+ } | undefined;
219
219
  maxQueries?: number | undefined;
220
220
  }>;
221
221
  static readonly resultSchema: z.ZodObject<{
@@ -234,20 +234,20 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
234
234
  wordCount: z.ZodOptional<z.ZodNumber>;
235
235
  }, "strip", z.ZodTypeAny, {
236
236
  executionTime: number;
237
- rowCount?: number | undefined;
238
237
  wordCount?: number | undefined;
238
+ rowCount?: number | undefined;
239
239
  }, {
240
240
  executionTime: number;
241
- rowCount?: number | undefined;
242
241
  wordCount?: number | undefined;
242
+ rowCount?: number | undefined;
243
243
  }>>;
244
244
  }, "strip", z.ZodTypeAny, {
245
- success: boolean;
246
245
  error: string;
246
+ success: boolean;
247
247
  metadata?: {
248
248
  executionTime: number;
249
- rowCount?: number | undefined;
250
249
  wordCount?: number | undefined;
250
+ rowCount?: number | undefined;
251
251
  } | undefined;
252
252
  query?: string | undefined;
253
253
  queryExplanation?: string | undefined;
@@ -257,12 +257,12 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
257
257
  slackMessageTs?: string | undefined;
258
258
  isDataQuestion?: boolean | undefined;
259
259
  }, {
260
- success: boolean;
261
260
  error: string;
261
+ success: boolean;
262
262
  metadata?: {
263
263
  executionTime: number;
264
- rowCount?: number | undefined;
265
264
  wordCount?: number | undefined;
265
+ rowCount?: number | undefined;
266
266
  } | undefined;
267
267
  query?: string | undefined;
268
268
  queryExplanation?: string | undefined;