@bubblelab/bubble-core 0.1.79 → 0.1.80

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 (60) hide show
  1. package/dist/bubble-bundle.d.ts +107 -107
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +120 -120
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +32 -32
  4. package/dist/bubbles/service-bubble/airtable.d.ts +170 -170
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +26 -26
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
  7. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +30 -30
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +23 -23
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +90 -90
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +302 -302
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +148 -148
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +16 -16
  16. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +40 -40
  17. package/dist/bubbles/service-bubble/github.d.ts +88 -88
  18. package/dist/bubbles/service-bubble/gmail.d.ts +587 -587
  19. package/dist/bubbles/service-bubble/google-calendar.d.ts +28 -28
  20. package/dist/bubbles/service-bubble/google-drive.d.ts +66 -66
  21. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
  22. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +22 -22
  23. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  24. package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
  25. package/dist/bubbles/service-bubble/http.js +8 -1
  26. package/dist/bubbles/service-bubble/http.js.map +1 -1
  27. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  28. package/dist/bubbles/service-bubble/jira/jira.d.ts +46 -46
  29. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +22 -22
  30. package/dist/bubbles/service-bubble/notion/notion.d.ts +92 -92
  31. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  32. package/dist/bubbles/service-bubble/resend.d.ts +32 -32
  33. package/dist/bubbles/service-bubble/slack/slack.d.ts +954 -648
  34. package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
  35. package/dist/bubbles/service-bubble/slack/slack.js +215 -0
  36. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
  37. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  38. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +75 -75
  39. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +38 -38
  40. package/dist/bubbles/service-bubble/telegram.d.ts +108 -108
  41. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +20 -20
  42. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +26 -26
  43. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
  44. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  45. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
  46. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
  47. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +305 -305
  48. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  49. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +64 -64
  50. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +110 -110
  51. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  52. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  53. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  54. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +2 -2
  55. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +24 -24
  56. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  57. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +42 -42
  58. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +52 -52
  59. package/dist/bubbles.json +215 -5
  60. 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;
@@ -50,12 +50,12 @@ declare const YouTubeTranscriptSegmentSchema: z.ZodObject<{
50
50
  duration: z.ZodNullable<z.ZodString>;
51
51
  text: z.ZodNullable<z.ZodString>;
52
52
  }, "strip", z.ZodTypeAny, {
53
- duration: string | null;
54
53
  text: string | null;
54
+ duration: string | null;
55
55
  start: string | null;
56
56
  }, {
57
- duration: string | null;
58
57
  text: string | null;
58
+ duration: string | null;
59
59
  start: string | null;
60
60
  }>;
61
61
  declare const YouTubeToolParamsSchema: z.ZodObject<{
@@ -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;
@@ -136,12 +136,12 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
136
136
  duration: z.ZodNullable<z.ZodString>;
137
137
  text: z.ZodNullable<z.ZodString>;
138
138
  }, "strip", z.ZodTypeAny, {
139
- duration: string | null;
140
139
  text: string | null;
140
+ duration: string | null;
141
141
  start: string | null;
142
142
  }, {
143
- duration: string | null;
144
143
  text: string | null;
144
+ duration: string | null;
145
145
  start: string | null;
146
146
  }>, "many">>;
147
147
  fullTranscriptText: z.ZodOptional<z.ZodString>;
@@ -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";
152
153
  error: string;
153
154
  success: boolean;
154
- operation: "searchVideos" | "getTranscript" | "scrapeChannel";
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;
@@ -169,22 +169,22 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
169
169
  subscribers: number | null;
170
170
  }[] | undefined;
171
171
  transcript?: {
172
- duration: string | null;
173
172
  text: string | null;
173
+ duration: string | null;
174
174
  start: string | null;
175
175
  }[] | undefined;
176
176
  fullTranscriptText?: string | undefined;
177
177
  }, {
178
+ operation: "searchVideos" | "getTranscript" | "scrapeChannel";
178
179
  error: string;
179
180
  success: boolean;
180
- operation: "searchVideos" | "getTranscript" | "scrapeChannel";
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;
@@ -195,8 +195,8 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
195
195
  subscribers: number | null;
196
196
  }[] | undefined;
197
197
  transcript?: {
198
- duration: string | null;
199
198
  text: string | null;
199
+ duration: string | null;
200
200
  start: string | null;
201
201
  }[] | undefined;
202
202
  fullTranscriptText?: string | undefined;
@@ -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;
@@ -294,12 +294,12 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
294
294
  duration: z.ZodNullable<z.ZodString>;
295
295
  text: z.ZodNullable<z.ZodString>;
296
296
  }, "strip", z.ZodTypeAny, {
297
- duration: string | null;
298
297
  text: string | null;
298
+ duration: string | null;
299
299
  start: string | null;
300
300
  }, {
301
- duration: string | null;
302
301
  text: string | null;
302
+ duration: string | null;
303
303
  start: string | null;
304
304
  }>, "many">>;
305
305
  fullTranscriptText: z.ZodOptional<z.ZodString>;
@@ -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";
310
311
  error: string;
311
312
  success: boolean;
312
- operation: "searchVideos" | "getTranscript" | "scrapeChannel";
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;
@@ -327,22 +327,22 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
327
327
  subscribers: number | null;
328
328
  }[] | undefined;
329
329
  transcript?: {
330
- duration: string | null;
331
330
  text: string | null;
331
+ duration: string | null;
332
332
  start: string | null;
333
333
  }[] | undefined;
334
334
  fullTranscriptText?: string | undefined;
335
335
  }, {
336
+ operation: "searchVideos" | "getTranscript" | "scrapeChannel";
336
337
  error: string;
337
338
  success: boolean;
338
- operation: "searchVideos" | "getTranscript" | "scrapeChannel";
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;
@@ -353,8 +353,8 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
353
353
  subscribers: number | null;
354
354
  }[] | undefined;
355
355
  transcript?: {
356
- duration: string | null;
357
356
  text: string | null;
357
+ duration: string | null;
358
358
  start: string | null;
359
359
  }[] | undefined;
360
360
  fullTranscriptText?: string | undefined;
@@ -121,7 +121,7 @@ declare const GenerateDocumentWorkflowParamsSchema: z.ZodObject<{
121
121
  } | undefined;
122
122
  }[];
123
123
  outputDescription: string;
124
- outputFormat: "json" | "csv" | "html";
124
+ outputFormat: "html" | "json" | "csv";
125
125
  credentials?: Partial<Record<CredentialType, string>> | undefined;
126
126
  }, {
127
127
  documents: {
@@ -145,7 +145,7 @@ declare const GenerateDocumentWorkflowParamsSchema: z.ZodObject<{
145
145
  maxTokens?: number | undefined;
146
146
  jsonMode?: boolean | undefined;
147
147
  } | undefined;
148
- outputFormat?: "json" | "csv" | "html" | undefined;
148
+ outputFormat?: "html" | "json" | "csv" | undefined;
149
149
  }>;
150
150
  /**
151
151
  * Result schema for Generate Document workflow
@@ -189,13 +189,13 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
189
189
  csv: z.ZodOptional<z.ZodString>;
190
190
  json: z.ZodOptional<z.ZodString>;
191
191
  }, "strip", z.ZodTypeAny, {
192
+ html?: string | undefined;
192
193
  json?: string | undefined;
193
194
  csv?: string | undefined;
194
- html?: string | undefined;
195
195
  }, {
196
+ html?: string | undefined;
196
197
  json?: string | undefined;
197
198
  csv?: string | undefined;
198
- html?: string | undefined;
199
199
  }>;
200
200
  aiAnalysis: z.ZodObject<{
201
201
  model: z.ZodString;
@@ -234,9 +234,9 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
234
234
  processingTime?: number | undefined;
235
235
  };
236
236
  generatedFiles: {
237
+ html?: string | undefined;
237
238
  json?: string | undefined;
238
239
  csv?: string | undefined;
239
- html?: string | undefined;
240
240
  };
241
241
  }, {
242
242
  error: string;
@@ -260,9 +260,9 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
260
260
  processingTime?: number | undefined;
261
261
  };
262
262
  generatedFiles: {
263
+ html?: string | undefined;
263
264
  json?: string | undefined;
264
265
  csv?: string | undefined;
265
- html?: string | undefined;
266
266
  };
267
267
  }>;
268
268
  type GenerateDocumentWorkflowParams = z.input<typeof GenerateDocumentWorkflowParamsSchema>;
@@ -376,7 +376,7 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
376
376
  } | undefined;
377
377
  }[];
378
378
  outputDescription: string;
379
- outputFormat: "json" | "csv" | "html";
379
+ outputFormat: "html" | "json" | "csv";
380
380
  credentials?: Partial<Record<CredentialType, string>> | undefined;
381
381
  }, {
382
382
  documents: {
@@ -400,7 +400,7 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
400
400
  maxTokens?: number | undefined;
401
401
  jsonMode?: boolean | undefined;
402
402
  } | undefined;
403
- outputFormat?: "json" | "csv" | "html" | undefined;
403
+ outputFormat?: "html" | "json" | "csv" | undefined;
404
404
  }>;
405
405
  static readonly resultSchema: z.ZodObject<{
406
406
  columns: z.ZodArray<z.ZodObject<{
@@ -441,13 +441,13 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
441
441
  csv: z.ZodOptional<z.ZodString>;
442
442
  json: z.ZodOptional<z.ZodString>;
443
443
  }, "strip", z.ZodTypeAny, {
444
+ html?: string | undefined;
444
445
  json?: string | undefined;
445
446
  csv?: string | undefined;
446
- html?: string | undefined;
447
447
  }, {
448
+ html?: string | undefined;
448
449
  json?: string | undefined;
449
450
  csv?: string | undefined;
450
- html?: string | undefined;
451
451
  }>;
452
452
  aiAnalysis: z.ZodObject<{
453
453
  model: z.ZodString;
@@ -486,9 +486,9 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
486
486
  processingTime?: number | undefined;
487
487
  };
488
488
  generatedFiles: {
489
+ html?: string | undefined;
489
490
  json?: string | undefined;
490
491
  csv?: string | undefined;
491
- html?: string | undefined;
492
492
  };
493
493
  }, {
494
494
  error: string;
@@ -512,9 +512,9 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
512
512
  processingTime?: number | undefined;
513
513
  };
514
514
  generatedFiles: {
515
+ html?: string | undefined;
515
516
  json?: string | undefined;
516
517
  csv?: string | undefined;
517
- html?: string | undefined;
518
518
  };
519
519
  }>;
520
520
  static readonly shortDescription = "Generate Document workflow: convert markdown to structured formats using AI";
@@ -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,7 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
172
172
  success: z.ZodBoolean;
173
173
  error: z.ZodString;
174
174
  }, "strip", z.ZodTypeAny, {
175
- error: string;
176
- success: boolean;
175
+ operation: "discover";
177
176
  fields: {
178
177
  type: string;
179
178
  name: string;
@@ -191,11 +190,11 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
191
190
  field_flags: number;
192
191
  potential_labels: string[];
193
192
  }[];
194
- operation: "discover";
195
- totalFields: number;
196
- }, {
197
193
  error: string;
198
194
  success: boolean;
195
+ totalFields: number;
196
+ }, {
197
+ operation: "discover";
199
198
  fields: {
200
199
  type: string;
201
200
  name: string;
@@ -213,7 +212,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
213
212
  field_flags: number;
214
213
  potential_labels: string[];
215
214
  }[];
216
- operation: "discover";
215
+ error: string;
216
+ success: boolean;
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";
238
239
  error: string;
239
240
  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";
249
250
  error: string;
250
251
  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";
281
282
  error: string;
282
283
  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";
292
293
  error: string;
293
294
  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
- error: string;
324
- success: boolean;
323
+ operation: "validate";
325
324
  fields: Record<string, {
326
325
  value: string;
327
326
  type: string;
328
327
  page: number;
329
328
  }>;
330
- operation: "validate";
329
+ error: string;
330
+ success: boolean;
331
331
  totalFields: number;
332
332
  filledFields: number;
333
333
  emptyFields: number;
334
334
  }, {
335
- error: string;
336
- success: boolean;
335
+ operation: "validate";
337
336
  fields: Record<string, {
338
337
  value: string;
339
338
  type: string;
340
339
  page: number;
341
340
  }>;
342
- operation: "validate";
341
+ error: string;
342
+ success: boolean;
343
343
  totalFields: number;
344
344
  filledFields: number;
345
345
  emptyFields: number;
@@ -369,6 +369,7 @@ 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";
372
373
  error: string;
373
374
  success: boolean;
374
375
  images: {
@@ -378,10 +379,10 @@ 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
+ operation: "convert-to-images";
385
386
  error: string;
386
387
  success: boolean;
387
388
  images: {
@@ -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
+ operation: "convert-to-markdown";
453
454
  error: string;
454
455
  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";
472
473
  error: string;
473
474
  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
- 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,7 @@ 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;
655
- success: boolean;
654
+ operation: "discover";
656
655
  fields: {
657
656
  type: string;
658
657
  name: string;
@@ -670,11 +669,11 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
670
669
  field_flags: number;
671
670
  potential_labels: string[];
672
671
  }[];
673
- operation: "discover";
674
- totalFields: number;
675
- }, {
676
672
  error: string;
677
673
  success: boolean;
674
+ totalFields: number;
675
+ }, {
676
+ operation: "discover";
678
677
  fields: {
679
678
  type: string;
680
679
  name: string;
@@ -692,7 +691,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
692
691
  field_flags: number;
693
692
  potential_labels: string[];
694
693
  }[];
695
- operation: "discover";
694
+ error: string;
695
+ success: boolean;
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";
717
718
  error: string;
718
719
  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";
728
729
  error: string;
729
730
  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";
760
761
  error: string;
761
762
  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";
771
772
  error: string;
772
773
  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
- error: string;
803
- success: boolean;
802
+ operation: "validate";
804
803
  fields: Record<string, {
805
804
  value: string;
806
805
  type: string;
807
806
  page: number;
808
807
  }>;
809
- operation: "validate";
808
+ error: string;
809
+ success: boolean;
810
810
  totalFields: number;
811
811
  filledFields: number;
812
812
  emptyFields: number;
813
813
  }, {
814
- error: string;
815
- success: boolean;
814
+ operation: "validate";
816
815
  fields: Record<string, {
817
816
  value: string;
818
817
  type: string;
819
818
  page: number;
820
819
  }>;
821
- operation: "validate";
820
+ error: string;
821
+ success: boolean;
822
822
  totalFields: number;
823
823
  filledFields: number;
824
824
  emptyFields: number;
@@ -848,6 +848,7 @@ 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";
851
852
  error: string;
852
853
  success: boolean;
853
854
  images: {
@@ -857,10 +858,10 @@ 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
+ operation: "convert-to-images";
864
865
  error: string;
865
866
  success: boolean;
866
867
  images: {
@@ -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
+ operation: "convert-to-markdown";
932
933
  error: string;
933
934
  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";
951
952
  error: string;
952
953
  success: boolean;
953
- operation: "convert-to-markdown";
954
954
  pages: {
955
955
  pageNumber: number;
956
956
  markdown: string;