@bubblelab/bubble-core 0.1.45 → 0.1.47

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 (72) hide show
  1. package/dist/bubble-bundle.d.ts +107 -107
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +116 -116
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +12 -12
  4. package/dist/bubbles/service-bubble/airtable.d.ts +150 -150
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +46 -46
  7. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +48 -48
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +50 -49
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
  10. package/dist/bubbles/service-bubble/browserbase/browserbase.js +29 -8
  11. package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
  12. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +49 -49
  13. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +88 -88
  14. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +104 -104
  15. package/dist/bubbles/service-bubble/eleven-labs.d.ts +48 -48
  16. package/dist/bubbles/service-bubble/firecrawl.d.ts +236 -236
  17. package/dist/bubbles/service-bubble/followupboss.d.ts +432 -432
  18. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +267 -267
  19. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +365 -365
  20. package/dist/bubbles/service-bubble/github.d.ts +84 -84
  21. package/dist/bubbles/service-bubble/gmail.d.ts +138 -138
  22. package/dist/bubbles/service-bubble/google-calendar.d.ts +56 -56
  23. package/dist/bubbles/service-bubble/google-drive.d.ts +96 -96
  24. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  25. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +52 -52
  26. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  27. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  28. package/dist/bubbles/service-bubble/insforge-db.d.ts +10 -10
  29. package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
  30. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +54 -54
  31. package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
  32. package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
  33. package/dist/bubbles/service-bubble/resend.d.ts +16 -16
  34. package/dist/bubbles/service-bubble/slack/slack.d.ts +170 -170
  35. package/dist/bubbles/service-bubble/storage.d.ts +60 -60
  36. package/dist/bubbles/service-bubble/telegram.d.ts +116 -116
  37. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +28 -28
  38. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +28 -28
  39. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  40. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  41. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  42. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +72 -72
  43. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  45. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
  46. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +8 -8
  48. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +10 -10
  49. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +128 -128
  50. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +46 -46
  52. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  53. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  54. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  55. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
  56. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +44 -44
  58. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  59. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  60. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  61. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
  62. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  63. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  64. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
  65. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  66. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +50 -50
  67. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  68. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  69. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +4 -4
  70. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  71. package/dist/bubbles.json +1 -1
  72. package/package.json +2 -2
@@ -17,11 +17,11 @@ declare const YouTubeVideoSchema: z.ZodObject<{
17
17
  comments: z.ZodNullable<z.ZodNumber>;
18
18
  thumbnail: z.ZodNullable<z.ZodString>;
19
19
  }, "strip", z.ZodTypeAny, {
20
+ duration: string | null;
20
21
  description: string | null;
21
22
  title: string | null;
22
23
  date: string | null;
23
24
  url: string | null;
24
- duration: string | null;
25
25
  id: string | null;
26
26
  thumbnail: string | null;
27
27
  comments: number | null;
@@ -31,11 +31,11 @@ declare const YouTubeVideoSchema: z.ZodObject<{
31
31
  channelUrl: string | null;
32
32
  subscribers: number | null;
33
33
  }, {
34
+ duration: string | null;
34
35
  description: string | null;
35
36
  title: string | null;
36
37
  date: string | null;
37
38
  url: string | null;
38
- duration: string | null;
39
39
  id: string | null;
40
40
  thumbnail: string | null;
41
41
  comments: number | null;
@@ -103,11 +103,11 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
103
103
  comments: z.ZodNullable<z.ZodNumber>;
104
104
  thumbnail: z.ZodNullable<z.ZodString>;
105
105
  }, "strip", z.ZodTypeAny, {
106
+ duration: string | null;
106
107
  description: string | null;
107
108
  title: string | null;
108
109
  date: string | null;
109
110
  url: string | null;
110
- duration: string | null;
111
111
  id: string | null;
112
112
  thumbnail: string | null;
113
113
  comments: number | null;
@@ -117,11 +117,11 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
117
117
  channelUrl: string | null;
118
118
  subscribers: number | null;
119
119
  }, {
120
+ duration: string | null;
120
121
  description: string | null;
121
122
  title: string | null;
122
123
  date: string | null;
123
124
  url: string | null;
124
- duration: string | null;
125
125
  id: string | null;
126
126
  thumbnail: string | null;
127
127
  comments: number | null;
@@ -149,16 +149,16 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
149
149
  success: z.ZodBoolean;
150
150
  error: z.ZodString;
151
151
  }, "strip", z.ZodTypeAny, {
152
- operation: "searchVideos" | "getTranscript" | "scrapeChannel";
153
- success: boolean;
154
152
  error: string;
153
+ success: boolean;
154
+ operation: "searchVideos" | "getTranscript" | "scrapeChannel";
155
155
  totalResults: number;
156
156
  videos?: {
157
+ duration: string | null;
157
158
  description: string | null;
158
159
  title: string | null;
159
160
  date: string | null;
160
161
  url: string | null;
161
- duration: string | null;
162
162
  id: string | null;
163
163
  thumbnail: string | null;
164
164
  comments: number | null;
@@ -175,16 +175,16 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
175
175
  }[] | undefined;
176
176
  fullTranscriptText?: string | undefined;
177
177
  }, {
178
- operation: "searchVideos" | "getTranscript" | "scrapeChannel";
179
- success: boolean;
180
178
  error: string;
179
+ success: boolean;
180
+ operation: "searchVideos" | "getTranscript" | "scrapeChannel";
181
181
  totalResults: number;
182
182
  videos?: {
183
+ duration: string | null;
183
184
  description: string | null;
184
185
  title: string | null;
185
186
  date: string | null;
186
187
  url: string | null;
187
- duration: string | null;
188
188
  id: string | null;
189
189
  thumbnail: string | null;
190
190
  comments: number | null;
@@ -261,11 +261,11 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
261
261
  comments: z.ZodNullable<z.ZodNumber>;
262
262
  thumbnail: z.ZodNullable<z.ZodString>;
263
263
  }, "strip", z.ZodTypeAny, {
264
+ duration: string | null;
264
265
  description: string | null;
265
266
  title: string | null;
266
267
  date: string | null;
267
268
  url: string | null;
268
- duration: string | null;
269
269
  id: string | null;
270
270
  thumbnail: string | null;
271
271
  comments: number | null;
@@ -275,11 +275,11 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
275
275
  channelUrl: string | null;
276
276
  subscribers: number | null;
277
277
  }, {
278
+ duration: string | null;
278
279
  description: string | null;
279
280
  title: string | null;
280
281
  date: string | null;
281
282
  url: string | null;
282
- duration: string | null;
283
283
  id: string | null;
284
284
  thumbnail: string | null;
285
285
  comments: number | null;
@@ -307,16 +307,16 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
307
307
  success: z.ZodBoolean;
308
308
  error: z.ZodString;
309
309
  }, "strip", z.ZodTypeAny, {
310
- operation: "searchVideos" | "getTranscript" | "scrapeChannel";
311
- success: boolean;
312
310
  error: string;
311
+ success: boolean;
312
+ operation: "searchVideos" | "getTranscript" | "scrapeChannel";
313
313
  totalResults: number;
314
314
  videos?: {
315
+ duration: string | null;
315
316
  description: string | null;
316
317
  title: string | null;
317
318
  date: string | null;
318
319
  url: string | null;
319
- duration: string | null;
320
320
  id: string | null;
321
321
  thumbnail: string | null;
322
322
  comments: number | null;
@@ -333,16 +333,16 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
333
333
  }[] | undefined;
334
334
  fullTranscriptText?: string | undefined;
335
335
  }, {
336
- operation: "searchVideos" | "getTranscript" | "scrapeChannel";
337
- success: boolean;
338
336
  error: string;
337
+ success: boolean;
338
+ operation: "searchVideos" | "getTranscript" | "scrapeChannel";
339
339
  totalResults: number;
340
340
  videos?: {
341
+ duration: string | null;
341
342
  description: string | null;
342
343
  title: string | null;
343
344
  date: string | null;
344
345
  url: string | null;
345
- duration: string | null;
346
346
  id: string | null;
347
347
  thumbnail: string | null;
348
348
  comments: number | null;
@@ -107,8 +107,8 @@ declare const DatabaseAnalyzerResultSchema: z.ZodObject<{
107
107
  analysisTimestamp: Date;
108
108
  }>>;
109
109
  }, "strip", z.ZodTypeAny, {
110
- success: boolean;
111
110
  error: string;
111
+ success: boolean;
112
112
  databaseSchema?: {
113
113
  rawData?: Record<string, unknown>[] | undefined;
114
114
  cleanedJSON?: string | undefined;
@@ -121,8 +121,8 @@ declare const DatabaseAnalyzerResultSchema: z.ZodObject<{
121
121
  analysisTimestamp: Date;
122
122
  } | undefined;
123
123
  }, {
124
- success: boolean;
125
124
  error: string;
125
+ success: boolean;
126
126
  databaseSchema?: {
127
127
  rawData?: Record<string, unknown>[] | undefined;
128
128
  cleanedJSON?: string | undefined;
@@ -261,8 +261,8 @@ export declare class DatabaseAnalyzerWorkflowBubble extends WorkflowBubble<Datab
261
261
  analysisTimestamp: Date;
262
262
  }>>;
263
263
  }, "strip", z.ZodTypeAny, {
264
- success: boolean;
265
264
  error: string;
265
+ success: boolean;
266
266
  databaseSchema?: {
267
267
  rawData?: Record<string, unknown>[] | undefined;
268
268
  cleanedJSON?: string | undefined;
@@ -275,8 +275,8 @@ export declare class DatabaseAnalyzerWorkflowBubble extends WorkflowBubble<Datab
275
275
  analysisTimestamp: Date;
276
276
  } | undefined;
277
277
  }, {
278
- success: boolean;
279
278
  error: string;
279
+ success: boolean;
280
280
  databaseSchema?: {
281
281
  rawData?: Record<string, unknown>[] | undefined;
282
282
  cleanedJSON?: string | undefined;
@@ -213,8 +213,8 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
213
213
  success: z.ZodBoolean;
214
214
  error: z.ZodString;
215
215
  }, "strip", z.ZodTypeAny, {
216
- success: boolean;
217
216
  error: string;
217
+ success: boolean;
218
218
  metadata: {
219
219
  processingTime: number;
220
220
  totalDocuments: number;
@@ -239,8 +239,8 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
239
239
  html?: string | undefined;
240
240
  };
241
241
  }, {
242
- success: boolean;
243
242
  error: string;
243
+ success: boolean;
244
244
  metadata: {
245
245
  processingTime: number;
246
246
  totalDocuments: number;
@@ -465,8 +465,8 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
465
465
  success: z.ZodBoolean;
466
466
  error: z.ZodString;
467
467
  }, "strip", z.ZodTypeAny, {
468
- success: boolean;
469
468
  error: string;
469
+ success: boolean;
470
470
  metadata: {
471
471
  processingTime: number;
472
472
  totalDocuments: number;
@@ -491,8 +491,8 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
491
491
  html?: string | undefined;
492
492
  };
493
493
  }, {
494
- success: boolean;
495
494
  error: string;
495
+ success: boolean;
496
496
  metadata: {
497
497
  processingTime: number;
498
498
  totalDocuments: number;
@@ -269,8 +269,8 @@ declare const ParseDocumentWorkflowResultSchema: z.ZodObject<{
269
269
  success: z.ZodBoolean;
270
270
  error: z.ZodString;
271
271
  }, "strip", z.ZodTypeAny, {
272
- success: boolean;
273
272
  error: string;
273
+ success: boolean;
274
274
  metadata: {
275
275
  totalPages: number;
276
276
  processingTime: number;
@@ -305,8 +305,8 @@ declare const ParseDocumentWorkflowResultSchema: z.ZodObject<{
305
305
  fileUrl?: string | undefined;
306
306
  }[] | undefined;
307
307
  }, {
308
- success: boolean;
309
308
  error: string;
309
+ success: boolean;
310
310
  metadata: {
311
311
  totalPages: number;
312
312
  processingTime: number;
@@ -597,8 +597,8 @@ export declare class ParseDocumentWorkflow extends WorkflowBubble<ParseDocumentW
597
597
  success: z.ZodBoolean;
598
598
  error: z.ZodString;
599
599
  }, "strip", z.ZodTypeAny, {
600
- success: boolean;
601
600
  error: string;
601
+ success: boolean;
602
602
  metadata: {
603
603
  totalPages: number;
604
604
  processingTime: number;
@@ -633,8 +633,8 @@ export declare class ParseDocumentWorkflow extends WorkflowBubble<ParseDocumentW
633
633
  fileUrl?: string | undefined;
634
634
  }[] | undefined;
635
635
  }, {
636
- success: boolean;
637
636
  error: string;
637
+ success: boolean;
638
638
  metadata: {
639
639
  totalPages: number;
640
640
  processingTime: number;
@@ -80,8 +80,8 @@ declare const PDFFormOperationsParamsSchema: z.ZodDiscriminatedUnion<"operation"
80
80
  pages: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
81
81
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
82
82
  }, "strip", z.ZodTypeAny, {
83
- operation: "convert-to-images";
84
83
  format: "png" | "jpeg";
84
+ operation: "convert-to-images";
85
85
  quality: number;
86
86
  pdfData: string;
87
87
  dpi: number;
@@ -172,9 +172,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
172
172
  success: z.ZodBoolean;
173
173
  error: z.ZodString;
174
174
  }, "strip", z.ZodTypeAny, {
175
- operation: "discover";
176
- success: boolean;
177
175
  error: string;
176
+ success: boolean;
178
177
  fields: {
179
178
  type: string;
180
179
  name: string;
@@ -192,11 +191,11 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
192
191
  field_flags: number;
193
192
  potential_labels: string[];
194
193
  }[];
194
+ operation: "discover";
195
195
  totalFields: number;
196
196
  }, {
197
- operation: "discover";
198
- success: boolean;
199
197
  error: string;
198
+ success: boolean;
200
199
  fields: {
201
200
  type: string;
202
201
  name: string;
@@ -214,6 +213,7 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
214
213
  field_flags: number;
215
214
  potential_labels: string[];
216
215
  }[];
216
+ operation: "discover";
217
217
  totalFields: number;
218
218
  }>, z.ZodObject<{
219
219
  operation: z.ZodLiteral<"fill">;
@@ -235,9 +235,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
235
235
  success: z.ZodBoolean;
236
236
  error: z.ZodString;
237
237
  }, "strip", z.ZodTypeAny, {
238
- operation: "fill";
239
- success: boolean;
240
238
  error: string;
239
+ success: boolean;
240
+ operation: "fill";
241
241
  filledPdfData: string;
242
242
  filledFields: number;
243
243
  verification: Record<string, {
@@ -246,9 +246,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
246
246
  page: number;
247
247
  }>;
248
248
  }, {
249
- operation: "fill";
250
- success: boolean;
251
249
  error: string;
250
+ success: boolean;
251
+ operation: "fill";
252
252
  filledPdfData: string;
253
253
  filledFields: number;
254
254
  verification: Record<string, {
@@ -278,9 +278,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
278
278
  success: z.ZodBoolean;
279
279
  error: z.ZodString;
280
280
  }, "strip", z.ZodTypeAny, {
281
- operation: "analyze-checkboxes";
282
- success: boolean;
283
281
  error: string;
282
+ success: boolean;
283
+ operation: "analyze-checkboxes";
284
284
  checkboxes: Record<string, {
285
285
  page: number;
286
286
  current_value: string;
@@ -289,9 +289,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
289
289
  }>;
290
290
  totalCheckboxes: number;
291
291
  }, {
292
- operation: "analyze-checkboxes";
293
- success: boolean;
294
292
  error: string;
293
+ success: boolean;
294
+ operation: "analyze-checkboxes";
295
295
  checkboxes: Record<string, {
296
296
  page: number;
297
297
  current_value: string;
@@ -320,26 +320,26 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
320
320
  success: z.ZodBoolean;
321
321
  error: z.ZodString;
322
322
  }, "strip", z.ZodTypeAny, {
323
- operation: "validate";
324
- success: boolean;
325
323
  error: string;
324
+ success: boolean;
326
325
  fields: Record<string, {
327
326
  value: string;
328
327
  type: string;
329
328
  page: number;
330
329
  }>;
330
+ operation: "validate";
331
331
  totalFields: number;
332
332
  filledFields: number;
333
333
  emptyFields: number;
334
334
  }, {
335
- operation: "validate";
336
- success: boolean;
337
335
  error: string;
336
+ success: boolean;
338
337
  fields: Record<string, {
339
338
  value: string;
340
339
  type: string;
341
340
  page: number;
342
341
  }>;
342
+ operation: "validate";
343
343
  totalFields: number;
344
344
  filledFields: number;
345
345
  emptyFields: number;
@@ -369,9 +369,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
369
369
  success: z.ZodBoolean;
370
370
  error: z.ZodString;
371
371
  }, "strip", z.ZodTypeAny, {
372
- operation: "convert-to-images";
373
- success: boolean;
374
372
  error: string;
373
+ success: boolean;
375
374
  images: {
376
375
  format: string;
377
376
  width: number;
@@ -379,12 +378,12 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
379
378
  pageNumber: number;
380
379
  imageData: string;
381
380
  }[];
381
+ operation: "convert-to-images";
382
382
  totalPages: number;
383
383
  convertedPages: number;
384
384
  }, {
385
- operation: "convert-to-images";
386
- success: boolean;
387
385
  error: string;
386
+ success: boolean;
388
387
  images: {
389
388
  format: string;
390
389
  width: number;
@@ -392,6 +391,7 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
392
391
  pageNumber: number;
393
392
  imageData: string;
394
393
  }[];
394
+ operation: "convert-to-images";
395
395
  totalPages: number;
396
396
  convertedPages: number;
397
397
  }>, z.ZodObject<{
@@ -450,9 +450,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
450
450
  success: z.ZodBoolean;
451
451
  error: z.ZodString;
452
452
  }, "strip", z.ZodTypeAny, {
453
- operation: "convert-to-markdown";
454
- success: boolean;
455
453
  error: string;
454
+ success: boolean;
455
+ operation: "convert-to-markdown";
456
456
  pages: {
457
457
  pageNumber: number;
458
458
  markdown: string;
@@ -469,9 +469,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
469
469
  totalPages: number;
470
470
  convertedPages: number;
471
471
  }, {
472
- operation: "convert-to-markdown";
473
- success: boolean;
474
472
  error: string;
473
+ success: boolean;
474
+ operation: "convert-to-markdown";
475
475
  pages: {
476
476
  pageNumber: number;
477
477
  markdown: string;
@@ -562,8 +562,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
562
562
  pages: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
563
563
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
564
564
  }, "strip", z.ZodTypeAny, {
565
- operation: "convert-to-images";
566
565
  format: "png" | "jpeg";
566
+ operation: "convert-to-images";
567
567
  quality: number;
568
568
  pdfData: string;
569
569
  dpi: number;
@@ -651,9 +651,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
651
651
  success: z.ZodBoolean;
652
652
  error: z.ZodString;
653
653
  }, "strip", z.ZodTypeAny, {
654
- operation: "discover";
655
- success: boolean;
656
654
  error: string;
655
+ success: boolean;
657
656
  fields: {
658
657
  type: string;
659
658
  name: string;
@@ -671,11 +670,11 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
671
670
  field_flags: number;
672
671
  potential_labels: string[];
673
672
  }[];
673
+ operation: "discover";
674
674
  totalFields: number;
675
675
  }, {
676
- operation: "discover";
677
- success: boolean;
678
676
  error: string;
677
+ success: boolean;
679
678
  fields: {
680
679
  type: string;
681
680
  name: string;
@@ -693,6 +692,7 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
693
692
  field_flags: number;
694
693
  potential_labels: string[];
695
694
  }[];
695
+ operation: "discover";
696
696
  totalFields: number;
697
697
  }>, z.ZodObject<{
698
698
  operation: z.ZodLiteral<"fill">;
@@ -714,9 +714,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
714
714
  success: z.ZodBoolean;
715
715
  error: z.ZodString;
716
716
  }, "strip", z.ZodTypeAny, {
717
- operation: "fill";
718
- success: boolean;
719
717
  error: string;
718
+ success: boolean;
719
+ operation: "fill";
720
720
  filledPdfData: string;
721
721
  filledFields: number;
722
722
  verification: Record<string, {
@@ -725,9 +725,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
725
725
  page: number;
726
726
  }>;
727
727
  }, {
728
- operation: "fill";
729
- success: boolean;
730
728
  error: string;
729
+ success: boolean;
730
+ operation: "fill";
731
731
  filledPdfData: string;
732
732
  filledFields: number;
733
733
  verification: Record<string, {
@@ -757,9 +757,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
757
757
  success: z.ZodBoolean;
758
758
  error: z.ZodString;
759
759
  }, "strip", z.ZodTypeAny, {
760
- operation: "analyze-checkboxes";
761
- success: boolean;
762
760
  error: string;
761
+ success: boolean;
762
+ operation: "analyze-checkboxes";
763
763
  checkboxes: Record<string, {
764
764
  page: number;
765
765
  current_value: string;
@@ -768,9 +768,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
768
768
  }>;
769
769
  totalCheckboxes: number;
770
770
  }, {
771
- operation: "analyze-checkboxes";
772
- success: boolean;
773
771
  error: string;
772
+ success: boolean;
773
+ operation: "analyze-checkboxes";
774
774
  checkboxes: Record<string, {
775
775
  page: number;
776
776
  current_value: string;
@@ -799,26 +799,26 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
799
799
  success: z.ZodBoolean;
800
800
  error: z.ZodString;
801
801
  }, "strip", z.ZodTypeAny, {
802
- operation: "validate";
803
- success: boolean;
804
802
  error: string;
803
+ success: boolean;
805
804
  fields: Record<string, {
806
805
  value: string;
807
806
  type: string;
808
807
  page: number;
809
808
  }>;
809
+ operation: "validate";
810
810
  totalFields: number;
811
811
  filledFields: number;
812
812
  emptyFields: number;
813
813
  }, {
814
- operation: "validate";
815
- success: boolean;
816
814
  error: string;
815
+ success: boolean;
817
816
  fields: Record<string, {
818
817
  value: string;
819
818
  type: string;
820
819
  page: number;
821
820
  }>;
821
+ operation: "validate";
822
822
  totalFields: number;
823
823
  filledFields: number;
824
824
  emptyFields: number;
@@ -848,9 +848,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
848
848
  success: z.ZodBoolean;
849
849
  error: z.ZodString;
850
850
  }, "strip", z.ZodTypeAny, {
851
- operation: "convert-to-images";
852
- success: boolean;
853
851
  error: string;
852
+ success: boolean;
854
853
  images: {
855
854
  format: string;
856
855
  width: number;
@@ -858,12 +857,12 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
858
857
  pageNumber: number;
859
858
  imageData: string;
860
859
  }[];
860
+ operation: "convert-to-images";
861
861
  totalPages: number;
862
862
  convertedPages: number;
863
863
  }, {
864
- operation: "convert-to-images";
865
- success: boolean;
866
864
  error: string;
865
+ success: boolean;
867
866
  images: {
868
867
  format: string;
869
868
  width: number;
@@ -871,6 +870,7 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
871
870
  pageNumber: number;
872
871
  imageData: string;
873
872
  }[];
873
+ operation: "convert-to-images";
874
874
  totalPages: number;
875
875
  convertedPages: number;
876
876
  }>, z.ZodObject<{
@@ -929,9 +929,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
929
929
  success: z.ZodBoolean;
930
930
  error: z.ZodString;
931
931
  }, "strip", z.ZodTypeAny, {
932
- operation: "convert-to-markdown";
933
- success: boolean;
934
932
  error: string;
933
+ success: boolean;
934
+ operation: "convert-to-markdown";
935
935
  pages: {
936
936
  pageNumber: number;
937
937
  markdown: string;
@@ -948,9 +948,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
948
948
  totalPages: number;
949
949
  convertedPages: number;
950
950
  }, {
951
- operation: "convert-to-markdown";
952
- success: boolean;
953
951
  error: string;
952
+ success: boolean;
953
+ operation: "convert-to-markdown";
954
954
  pages: {
955
955
  pageNumber: number;
956
956
  markdown: string;
@@ -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: {
@@ -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: {