@bubblelab/bubble-core 0.1.13 → 0.1.14

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 (57) hide show
  1. package/dist/bubble-bundle.d.ts +70 -70
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +40 -40
  4. package/dist/bubbles/service-bubble/airtable.d.ts +152 -152
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +26 -26
  6. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
  7. package/dist/bubbles/service-bubble/eleven-labs.d.ts +52 -52
  8. package/dist/bubbles/service-bubble/firecrawl.d.ts +202 -202
  9. package/dist/bubbles/service-bubble/followupboss.d.ts +260 -260
  10. package/dist/bubbles/service-bubble/github.d.ts +168 -168
  11. package/dist/bubbles/service-bubble/gmail.d.ts +352 -352
  12. package/dist/bubbles/service-bubble/google-calendar.d.ts +148 -148
  13. package/dist/bubbles/service-bubble/google-drive.d.ts +130 -130
  14. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  15. package/dist/bubbles/service-bubble/google-drive.js +55 -17
  16. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  17. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +62 -62
  18. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  19. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  20. package/dist/bubbles/service-bubble/insforge-db.d.ts +18 -18
  21. package/dist/bubbles/service-bubble/notion/notion.d.ts +152 -152
  22. package/dist/bubbles/service-bubble/postgresql.d.ts +18 -18
  23. package/dist/bubbles/service-bubble/resend.d.ts +20 -20
  24. package/dist/bubbles/service-bubble/slack.d.ts +318 -318
  25. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  26. package/dist/bubbles/service-bubble/telegram.d.ts +256 -256
  27. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +33 -33
  28. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  29. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  30. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  31. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  32. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  33. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
  34. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  35. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +294 -294
  36. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  38. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  39. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +16 -16
  40. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  41. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  42. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +104 -104
  43. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  44. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  45. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  46. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  47. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  48. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  49. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
  50. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  51. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +50 -50
  52. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  53. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +8 -8
  54. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +36 -36
  55. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  56. package/dist/bubbles.json +1 -1
  57. 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;
21
20
  description: string | null;
22
21
  title: string | null;
23
22
  date: string | null;
24
23
  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;
35
34
  description: string | null;
36
35
  title: string | null;
37
36
  date: string | null;
38
37
  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;
107
106
  description: string | null;
108
107
  title: string | null;
109
108
  date: string | null;
110
109
  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;
121
120
  description: string | null;
122
121
  title: string | null;
123
122
  date: string | null;
124
123
  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
- error: string;
153
- success: boolean;
154
152
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
153
+ success: boolean;
154
+ error: string;
155
155
  totalResults: number;
156
156
  videos?: {
157
- duration: string | null;
158
157
  description: string | null;
159
158
  title: string | null;
160
159
  date: string | null;
161
160
  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
- error: string;
179
- success: boolean;
180
178
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
179
+ success: boolean;
180
+ error: string;
181
181
  totalResults: number;
182
182
  videos?: {
183
- duration: string | null;
184
183
  description: string | null;
185
184
  title: string | null;
186
185
  date: string | null;
187
186
  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;
265
264
  description: string | null;
266
265
  title: string | null;
267
266
  date: string | null;
268
267
  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;
279
278
  description: string | null;
280
279
  title: string | null;
281
280
  date: string | null;
282
281
  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
- error: string;
311
- success: boolean;
312
310
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
311
+ success: boolean;
312
+ error: string;
313
313
  totalResults: number;
314
314
  videos?: {
315
- duration: string | null;
316
315
  description: string | null;
317
316
  title: string | null;
318
317
  date: string | null;
319
318
  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
- error: string;
337
- success: boolean;
338
336
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
337
+ success: boolean;
338
+ error: string;
339
339
  totalResults: number;
340
340
  videos?: {
341
- duration: string | null;
342
341
  description: string | null;
343
342
  title: string | null;
344
343
  date: string | null;
345
344
  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
- error: string;
111
110
  success: boolean;
111
+ error: string;
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
- error: string;
125
124
  success: boolean;
125
+ error: string;
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
- error: string;
265
264
  success: boolean;
265
+ error: string;
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
- error: string;
279
278
  success: boolean;
279
+ error: string;
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
- error: string;
217
216
  success: boolean;
217
+ error: string;
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
- error: string;
243
242
  success: boolean;
243
+ error: string;
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
- error: string;
469
468
  success: boolean;
469
+ error: string;
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
- error: string;
495
494
  success: boolean;
495
+ error: string;
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
- error: string;
273
272
  success: boolean;
273
+ error: string;
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
- error: string;
309
308
  success: boolean;
309
+ error: string;
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
- error: string;
601
600
  success: boolean;
601
+ error: string;
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
- error: string;
637
636
  success: boolean;
637
+ error: string;
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
- format: "png" | "jpeg";
84
83
  operation: "convert-to-images";
84
+ format: "png" | "jpeg";
85
85
  quality: number;
86
86
  pdfData: string;
87
87
  dpi: number;
@@ -172,8 +172,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
172
172
  success: z.ZodBoolean;
173
173
  error: z.ZodString;
174
174
  }, "strip", z.ZodTypeAny, {
175
- error: string;
175
+ operation: "discover";
176
176
  success: boolean;
177
+ error: string;
177
178
  fields: {
178
179
  type: string;
179
180
  name: string;
@@ -191,11 +192,11 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
191
192
  field_flags: number;
192
193
  potential_labels: string[];
193
194
  }[];
194
- operation: "discover";
195
195
  totalFields: number;
196
196
  }, {
197
- error: string;
197
+ operation: "discover";
198
198
  success: boolean;
199
+ error: string;
199
200
  fields: {
200
201
  type: string;
201
202
  name: string;
@@ -213,7 +214,6 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
213
214
  field_flags: number;
214
215
  potential_labels: string[];
215
216
  }[];
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
- error: string;
239
- success: boolean;
240
238
  operation: "fill";
239
+ success: boolean;
240
+ error: string;
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
- error: string;
250
- success: boolean;
251
249
  operation: "fill";
250
+ success: boolean;
251
+ error: string;
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
- error: string;
282
- success: boolean;
283
281
  operation: "analyze-checkboxes";
282
+ success: boolean;
283
+ error: string;
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
- error: string;
293
- success: boolean;
294
292
  operation: "analyze-checkboxes";
293
+ success: boolean;
294
+ error: string;
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
- error: string;
323
+ operation: "validate";
324
324
  success: boolean;
325
+ error: string;
325
326
  fields: Record<string, {
326
327
  value: string;
327
328
  type: string;
328
329
  page: number;
329
330
  }>;
330
- operation: "validate";
331
331
  totalFields: number;
332
332
  filledFields: number;
333
333
  emptyFields: number;
334
334
  }, {
335
- error: string;
335
+ operation: "validate";
336
336
  success: boolean;
337
+ error: string;
337
338
  fields: Record<string, {
338
339
  value: string;
339
340
  type: string;
340
341
  page: number;
341
342
  }>;
342
- operation: "validate";
343
343
  totalFields: number;
344
344
  filledFields: number;
345
345
  emptyFields: number;
@@ -369,8 +369,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
369
369
  success: z.ZodBoolean;
370
370
  error: z.ZodString;
371
371
  }, "strip", z.ZodTypeAny, {
372
- error: string;
372
+ operation: "convert-to-images";
373
373
  success: boolean;
374
+ error: string;
374
375
  images: {
375
376
  format: string;
376
377
  width: number;
@@ -378,12 +379,12 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
378
379
  pageNumber: number;
379
380
  imageData: string;
380
381
  }[];
381
- operation: "convert-to-images";
382
382
  totalPages: number;
383
383
  convertedPages: number;
384
384
  }, {
385
- error: string;
385
+ operation: "convert-to-images";
386
386
  success: boolean;
387
+ error: string;
387
388
  images: {
388
389
  format: string;
389
390
  width: number;
@@ -391,7 +392,6 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
391
392
  pageNumber: number;
392
393
  imageData: string;
393
394
  }[];
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
- error: string;
454
- success: boolean;
455
453
  operation: "convert-to-markdown";
454
+ success: boolean;
455
+ error: string;
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
- error: string;
473
- success: boolean;
474
472
  operation: "convert-to-markdown";
473
+ success: boolean;
474
+ error: string;
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
- format: "png" | "jpeg";
566
565
  operation: "convert-to-images";
566
+ format: "png" | "jpeg";
567
567
  quality: number;
568
568
  pdfData: string;
569
569
  dpi: number;
@@ -651,8 +651,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
651
651
  success: z.ZodBoolean;
652
652
  error: z.ZodString;
653
653
  }, "strip", z.ZodTypeAny, {
654
- error: string;
654
+ operation: "discover";
655
655
  success: boolean;
656
+ error: string;
656
657
  fields: {
657
658
  type: string;
658
659
  name: string;
@@ -670,11 +671,11 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
670
671
  field_flags: number;
671
672
  potential_labels: string[];
672
673
  }[];
673
- operation: "discover";
674
674
  totalFields: number;
675
675
  }, {
676
- error: string;
676
+ operation: "discover";
677
677
  success: boolean;
678
+ error: string;
678
679
  fields: {
679
680
  type: string;
680
681
  name: string;
@@ -692,7 +693,6 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
692
693
  field_flags: number;
693
694
  potential_labels: string[];
694
695
  }[];
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
- error: string;
718
- success: boolean;
719
717
  operation: "fill";
718
+ success: boolean;
719
+ error: string;
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
- error: string;
729
- success: boolean;
730
728
  operation: "fill";
729
+ success: boolean;
730
+ error: string;
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
- error: string;
761
- success: boolean;
762
760
  operation: "analyze-checkboxes";
761
+ success: boolean;
762
+ error: string;
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
- error: string;
772
- success: boolean;
773
771
  operation: "analyze-checkboxes";
772
+ success: boolean;
773
+ error: string;
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
- error: string;
802
+ operation: "validate";
803
803
  success: boolean;
804
+ error: string;
804
805
  fields: Record<string, {
805
806
  value: string;
806
807
  type: string;
807
808
  page: number;
808
809
  }>;
809
- operation: "validate";
810
810
  totalFields: number;
811
811
  filledFields: number;
812
812
  emptyFields: number;
813
813
  }, {
814
- error: string;
814
+ operation: "validate";
815
815
  success: boolean;
816
+ error: string;
816
817
  fields: Record<string, {
817
818
  value: string;
818
819
  type: string;
819
820
  page: number;
820
821
  }>;
821
- operation: "validate";
822
822
  totalFields: number;
823
823
  filledFields: number;
824
824
  emptyFields: number;
@@ -848,8 +848,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
848
848
  success: z.ZodBoolean;
849
849
  error: z.ZodString;
850
850
  }, "strip", z.ZodTypeAny, {
851
- error: string;
851
+ operation: "convert-to-images";
852
852
  success: boolean;
853
+ error: string;
853
854
  images: {
854
855
  format: string;
855
856
  width: number;
@@ -857,12 +858,12 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
857
858
  pageNumber: number;
858
859
  imageData: string;
859
860
  }[];
860
- operation: "convert-to-images";
861
861
  totalPages: number;
862
862
  convertedPages: number;
863
863
  }, {
864
- error: string;
864
+ operation: "convert-to-images";
865
865
  success: boolean;
866
+ error: string;
866
867
  images: {
867
868
  format: string;
868
869
  width: number;
@@ -870,7 +871,6 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
870
871
  pageNumber: number;
871
872
  imageData: string;
872
873
  }[];
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
- error: string;
933
- success: boolean;
934
932
  operation: "convert-to-markdown";
933
+ success: boolean;
934
+ error: string;
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
- error: string;
952
- success: boolean;
953
951
  operation: "convert-to-markdown";
952
+ success: boolean;
953
+ error: string;
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
- error: string;
252
251
  success: boolean;
252
+ error: string;
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
- error: string;
277
276
  success: boolean;
277
+ error: string;
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
- error: string;
378
377
  success: boolean;
378
+ error: string;
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
- error: string;
410
409
  success: boolean;
410
+ error: string;
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
- error: string;
685
684
  success: boolean;
685
+ error: string;
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
- error: string;
710
709
  success: boolean;
710
+ error: string;
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
- error: string;
811
810
  success: boolean;
811
+ error: string;
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
- error: string;
843
842
  success: boolean;
843
+ error: string;
844
844
  mode: "autofill";
845
845
  filledPdfData: string;
846
846
  imageData: {