@bubblelab/bubble-core 0.1.41 → 0.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +75 -75
- package/dist/bubbles/service-bubble/agi-inc.d.ts +100 -100
- package/dist/bubbles/service-bubble/ai-agent.d.ts +60 -60
- package/dist/bubbles/service-bubble/airtable.d.ts +136 -136
- package/dist/bubbles/service-bubble/apify/apify.d.ts +14 -14
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +70 -70
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +39 -39
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +592 -592
- package/dist/bubbles/service-bubble/followupboss.d.ts +156 -156
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +76 -76
- package/dist/bubbles/service-bubble/github.d.ts +188 -188
- package/dist/bubbles/service-bubble/gmail.d.ts +248 -248
- package/dist/bubbles/service-bubble/google-calendar.d.ts +134 -134
- package/dist/bubbles/service-bubble/google-drive.d.ts +92 -92
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +40 -40
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +4 -4
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +44 -44
- package/dist/bubbles/service-bubble/notion/notion.d.ts +2077 -2077
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +32 -32
- package/dist/bubbles/service-bubble/slack/slack.d.ts +430 -430
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/telegram.d.ts +1549 -1549
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +19 -19
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +86 -86
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +332 -332
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +144 -132
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/people-search-tool.js +11 -1
- package/dist/bubbles/tool-bubble/people-search-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +70 -70
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +74 -74
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +84 -84
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +11 -3
- package/package.json +2 -2
|
@@ -80,10 +80,10 @@ 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";
|
|
85
|
-
|
|
84
|
+
operation: "convert-to-images";
|
|
86
85
|
pdfData: string;
|
|
86
|
+
quality: number;
|
|
87
87
|
dpi: number;
|
|
88
88
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
89
89
|
pages?: number[] | undefined;
|
|
@@ -93,8 +93,8 @@ declare const PDFFormOperationsParamsSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
93
93
|
format?: "png" | "jpeg" | undefined;
|
|
94
94
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
95
95
|
quality?: number | undefined;
|
|
96
|
-
pages?: number[] | undefined;
|
|
97
96
|
dpi?: number | undefined;
|
|
97
|
+
pages?: number[] | undefined;
|
|
98
98
|
}>, z.ZodObject<{
|
|
99
99
|
operation: z.ZodLiteral<"convert-to-markdown">;
|
|
100
100
|
pdfData: z.ZodString;
|
|
@@ -139,32 +139,32 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
139
139
|
type: string;
|
|
140
140
|
name: string;
|
|
141
141
|
id: number;
|
|
142
|
+
label: string;
|
|
142
143
|
width: number;
|
|
143
144
|
height: number;
|
|
144
|
-
label: string;
|
|
145
145
|
page: number;
|
|
146
|
-
choices: string[];
|
|
147
|
-
x: number;
|
|
148
|
-
y: number;
|
|
149
146
|
field_type: string;
|
|
150
147
|
current_value: string;
|
|
148
|
+
choices: string[];
|
|
151
149
|
rect: [number, number, number, number];
|
|
150
|
+
x: number;
|
|
151
|
+
y: number;
|
|
152
152
|
field_flags: number;
|
|
153
153
|
potential_labels: string[];
|
|
154
154
|
}, {
|
|
155
155
|
type: string;
|
|
156
156
|
name: string;
|
|
157
157
|
id: number;
|
|
158
|
+
label: string;
|
|
158
159
|
width: number;
|
|
159
160
|
height: number;
|
|
160
|
-
label: string;
|
|
161
161
|
page: number;
|
|
162
|
-
choices: string[];
|
|
163
|
-
x: number;
|
|
164
|
-
y: number;
|
|
165
162
|
field_type: string;
|
|
166
163
|
current_value: string;
|
|
164
|
+
choices: string[];
|
|
167
165
|
rect: [number, number, number, number];
|
|
166
|
+
x: number;
|
|
167
|
+
y: number;
|
|
168
168
|
field_flags: number;
|
|
169
169
|
potential_labels: string[];
|
|
170
170
|
}>, "many">;
|
|
@@ -172,48 +172,48 @@ 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
175
|
success: boolean;
|
|
177
176
|
error: string;
|
|
178
177
|
fields: {
|
|
179
178
|
type: string;
|
|
180
179
|
name: string;
|
|
181
180
|
id: number;
|
|
181
|
+
label: string;
|
|
182
182
|
width: number;
|
|
183
183
|
height: number;
|
|
184
|
-
label: string;
|
|
185
184
|
page: number;
|
|
186
|
-
choices: string[];
|
|
187
|
-
x: number;
|
|
188
|
-
y: number;
|
|
189
185
|
field_type: string;
|
|
190
186
|
current_value: string;
|
|
187
|
+
choices: string[];
|
|
191
188
|
rect: [number, number, number, number];
|
|
189
|
+
x: number;
|
|
190
|
+
y: number;
|
|
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
197
|
success: boolean;
|
|
199
198
|
error: string;
|
|
200
199
|
fields: {
|
|
201
200
|
type: string;
|
|
202
201
|
name: string;
|
|
203
202
|
id: number;
|
|
203
|
+
label: string;
|
|
204
204
|
width: number;
|
|
205
205
|
height: number;
|
|
206
|
-
label: string;
|
|
207
206
|
page: number;
|
|
208
|
-
choices: string[];
|
|
209
|
-
x: number;
|
|
210
|
-
y: number;
|
|
211
207
|
field_type: string;
|
|
212
208
|
current_value: string;
|
|
209
|
+
choices: string[];
|
|
213
210
|
rect: [number, number, number, number];
|
|
211
|
+
x: number;
|
|
212
|
+
y: number;
|
|
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
238
|
success: boolean;
|
|
240
239
|
error: string;
|
|
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
249
|
success: boolean;
|
|
251
250
|
error: string;
|
|
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
281
|
success: boolean;
|
|
283
282
|
error: string;
|
|
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
292
|
success: boolean;
|
|
294
293
|
error: string;
|
|
294
|
+
operation: "analyze-checkboxes";
|
|
295
295
|
checkboxes: Record<string, {
|
|
296
296
|
page: number;
|
|
297
297
|
current_value: string;
|
|
@@ -320,7 +320,6 @@ 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
323
|
success: boolean;
|
|
325
324
|
error: string;
|
|
326
325
|
fields: Record<string, {
|
|
@@ -328,11 +327,11 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
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
335
|
success: boolean;
|
|
337
336
|
error: string;
|
|
338
337
|
fields: Record<string, {
|
|
@@ -340,6 +339,7 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
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;
|
|
@@ -353,15 +353,15 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
353
353
|
height: z.ZodNumber;
|
|
354
354
|
}, "strip", z.ZodTypeAny, {
|
|
355
355
|
format: string;
|
|
356
|
+
pageNumber: number;
|
|
356
357
|
width: number;
|
|
357
358
|
height: number;
|
|
358
|
-
pageNumber: number;
|
|
359
359
|
imageData: string;
|
|
360
360
|
}, {
|
|
361
361
|
format: string;
|
|
362
|
+
pageNumber: number;
|
|
362
363
|
width: number;
|
|
363
364
|
height: number;
|
|
364
|
-
pageNumber: number;
|
|
365
365
|
imageData: string;
|
|
366
366
|
}>, "many">;
|
|
367
367
|
totalPages: z.ZodNumber;
|
|
@@ -369,29 +369,29 @@ 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
372
|
success: boolean;
|
|
374
373
|
error: string;
|
|
375
374
|
images: {
|
|
376
375
|
format: string;
|
|
376
|
+
pageNumber: number;
|
|
377
377
|
width: number;
|
|
378
378
|
height: number;
|
|
379
|
-
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
385
|
success: boolean;
|
|
387
386
|
error: string;
|
|
388
387
|
images: {
|
|
389
388
|
format: string;
|
|
389
|
+
pageNumber: number;
|
|
390
390
|
width: number;
|
|
391
391
|
height: number;
|
|
392
|
-
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
453
|
success: boolean;
|
|
455
454
|
error: string;
|
|
455
|
+
operation: "convert-to-markdown";
|
|
456
456
|
pages: {
|
|
457
457
|
pageNumber: number;
|
|
458
458
|
markdown: string;
|
|
@@ -465,13 +465,13 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
465
465
|
y: number;
|
|
466
466
|
}[] | undefined;
|
|
467
467
|
}[];
|
|
468
|
-
markdown: string;
|
|
469
468
|
totalPages: number;
|
|
470
469
|
convertedPages: number;
|
|
470
|
+
markdown: string;
|
|
471
471
|
}, {
|
|
472
|
-
operation: "convert-to-markdown";
|
|
473
472
|
success: boolean;
|
|
474
473
|
error: string;
|
|
474
|
+
operation: "convert-to-markdown";
|
|
475
475
|
pages: {
|
|
476
476
|
pageNumber: number;
|
|
477
477
|
markdown: string;
|
|
@@ -484,9 +484,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
484
484
|
y: number;
|
|
485
485
|
}[] | undefined;
|
|
486
486
|
}[];
|
|
487
|
-
markdown: string;
|
|
488
487
|
totalPages: number;
|
|
489
488
|
convertedPages: number;
|
|
489
|
+
markdown: string;
|
|
490
490
|
}>]>;
|
|
491
491
|
type PDFFormOperationsParams = z.output<typeof PDFFormOperationsParamsSchema>;
|
|
492
492
|
type PDFFormOperationsResult = z.output<typeof PDFFormOperationsResultSchema>;
|
|
@@ -562,10 +562,10 @@ 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";
|
|
567
|
-
|
|
566
|
+
operation: "convert-to-images";
|
|
568
567
|
pdfData: string;
|
|
568
|
+
quality: number;
|
|
569
569
|
dpi: number;
|
|
570
570
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
571
571
|
pages?: number[] | undefined;
|
|
@@ -575,8 +575,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
575
575
|
format?: "png" | "jpeg" | undefined;
|
|
576
576
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
577
577
|
quality?: number | undefined;
|
|
578
|
-
pages?: number[] | undefined;
|
|
579
578
|
dpi?: number | undefined;
|
|
579
|
+
pages?: number[] | undefined;
|
|
580
580
|
}>, z.ZodObject<{
|
|
581
581
|
operation: z.ZodLiteral<"convert-to-markdown">;
|
|
582
582
|
pdfData: z.ZodString;
|
|
@@ -618,32 +618,32 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
618
618
|
type: string;
|
|
619
619
|
name: string;
|
|
620
620
|
id: number;
|
|
621
|
+
label: string;
|
|
621
622
|
width: number;
|
|
622
623
|
height: number;
|
|
623
|
-
label: string;
|
|
624
624
|
page: number;
|
|
625
|
-
choices: string[];
|
|
626
|
-
x: number;
|
|
627
|
-
y: number;
|
|
628
625
|
field_type: string;
|
|
629
626
|
current_value: string;
|
|
627
|
+
choices: string[];
|
|
630
628
|
rect: [number, number, number, number];
|
|
629
|
+
x: number;
|
|
630
|
+
y: number;
|
|
631
631
|
field_flags: number;
|
|
632
632
|
potential_labels: string[];
|
|
633
633
|
}, {
|
|
634
634
|
type: string;
|
|
635
635
|
name: string;
|
|
636
636
|
id: number;
|
|
637
|
+
label: string;
|
|
637
638
|
width: number;
|
|
638
639
|
height: number;
|
|
639
|
-
label: string;
|
|
640
640
|
page: number;
|
|
641
|
-
choices: string[];
|
|
642
|
-
x: number;
|
|
643
|
-
y: number;
|
|
644
641
|
field_type: string;
|
|
645
642
|
current_value: string;
|
|
643
|
+
choices: string[];
|
|
646
644
|
rect: [number, number, number, number];
|
|
645
|
+
x: number;
|
|
646
|
+
y: number;
|
|
647
647
|
field_flags: number;
|
|
648
648
|
potential_labels: string[];
|
|
649
649
|
}>, "many">;
|
|
@@ -651,48 +651,48 @@ 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
654
|
success: boolean;
|
|
656
655
|
error: string;
|
|
657
656
|
fields: {
|
|
658
657
|
type: string;
|
|
659
658
|
name: string;
|
|
660
659
|
id: number;
|
|
660
|
+
label: string;
|
|
661
661
|
width: number;
|
|
662
662
|
height: number;
|
|
663
|
-
label: string;
|
|
664
663
|
page: number;
|
|
665
|
-
choices: string[];
|
|
666
|
-
x: number;
|
|
667
|
-
y: number;
|
|
668
664
|
field_type: string;
|
|
669
665
|
current_value: string;
|
|
666
|
+
choices: string[];
|
|
670
667
|
rect: [number, number, number, number];
|
|
668
|
+
x: number;
|
|
669
|
+
y: number;
|
|
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
676
|
success: boolean;
|
|
678
677
|
error: string;
|
|
679
678
|
fields: {
|
|
680
679
|
type: string;
|
|
681
680
|
name: string;
|
|
682
681
|
id: number;
|
|
682
|
+
label: string;
|
|
683
683
|
width: number;
|
|
684
684
|
height: number;
|
|
685
|
-
label: string;
|
|
686
685
|
page: number;
|
|
687
|
-
choices: string[];
|
|
688
|
-
x: number;
|
|
689
|
-
y: number;
|
|
690
686
|
field_type: string;
|
|
691
687
|
current_value: string;
|
|
688
|
+
choices: string[];
|
|
692
689
|
rect: [number, number, number, number];
|
|
690
|
+
x: number;
|
|
691
|
+
y: number;
|
|
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
717
|
success: boolean;
|
|
719
718
|
error: string;
|
|
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
728
|
success: boolean;
|
|
730
729
|
error: string;
|
|
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
760
|
success: boolean;
|
|
762
761
|
error: string;
|
|
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
771
|
success: boolean;
|
|
773
772
|
error: string;
|
|
773
|
+
operation: "analyze-checkboxes";
|
|
774
774
|
checkboxes: Record<string, {
|
|
775
775
|
page: number;
|
|
776
776
|
current_value: string;
|
|
@@ -799,7 +799,6 @@ 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
802
|
success: boolean;
|
|
804
803
|
error: string;
|
|
805
804
|
fields: Record<string, {
|
|
@@ -807,11 +806,11 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
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
814
|
success: boolean;
|
|
816
815
|
error: string;
|
|
817
816
|
fields: Record<string, {
|
|
@@ -819,6 +818,7 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
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;
|
|
@@ -832,15 +832,15 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
832
832
|
height: z.ZodNumber;
|
|
833
833
|
}, "strip", z.ZodTypeAny, {
|
|
834
834
|
format: string;
|
|
835
|
+
pageNumber: number;
|
|
835
836
|
width: number;
|
|
836
837
|
height: number;
|
|
837
|
-
pageNumber: number;
|
|
838
838
|
imageData: string;
|
|
839
839
|
}, {
|
|
840
840
|
format: string;
|
|
841
|
+
pageNumber: number;
|
|
841
842
|
width: number;
|
|
842
843
|
height: number;
|
|
843
|
-
pageNumber: number;
|
|
844
844
|
imageData: string;
|
|
845
845
|
}>, "many">;
|
|
846
846
|
totalPages: z.ZodNumber;
|
|
@@ -848,29 +848,29 @@ 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
851
|
success: boolean;
|
|
853
852
|
error: string;
|
|
854
853
|
images: {
|
|
855
854
|
format: string;
|
|
855
|
+
pageNumber: number;
|
|
856
856
|
width: number;
|
|
857
857
|
height: number;
|
|
858
|
-
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
864
|
success: boolean;
|
|
866
865
|
error: string;
|
|
867
866
|
images: {
|
|
868
867
|
format: string;
|
|
868
|
+
pageNumber: number;
|
|
869
869
|
width: number;
|
|
870
870
|
height: number;
|
|
871
|
-
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
932
|
success: boolean;
|
|
934
933
|
error: string;
|
|
934
|
+
operation: "convert-to-markdown";
|
|
935
935
|
pages: {
|
|
936
936
|
pageNumber: number;
|
|
937
937
|
markdown: string;
|
|
@@ -944,13 +944,13 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
944
944
|
y: number;
|
|
945
945
|
}[] | undefined;
|
|
946
946
|
}[];
|
|
947
|
-
markdown: string;
|
|
948
947
|
totalPages: number;
|
|
949
948
|
convertedPages: number;
|
|
949
|
+
markdown: string;
|
|
950
950
|
}, {
|
|
951
|
-
operation: "convert-to-markdown";
|
|
952
951
|
success: boolean;
|
|
953
952
|
error: string;
|
|
953
|
+
operation: "convert-to-markdown";
|
|
954
954
|
pages: {
|
|
955
955
|
pageNumber: number;
|
|
956
956
|
markdown: string;
|
|
@@ -963,9 +963,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
963
963
|
y: number;
|
|
964
964
|
}[] | undefined;
|
|
965
965
|
}[];
|
|
966
|
-
markdown: string;
|
|
967
966
|
totalPages: number;
|
|
968
967
|
convertedPages: number;
|
|
968
|
+
markdown: string;
|
|
969
969
|
}>]>;
|
|
970
970
|
static readonly shortDescription = "PDF form field operations (discover, fill, analyze, validate, convert-to-images, convert-to-markdown)";
|
|
971
971
|
static readonly longDescription = "\n Unified PDF form operations workflow providing comprehensive form field manipulation.\n \n Operations:\n - discover: Extract all form fields with coordinates and metadata\n - fill: Fill form fields with provided values and return filled PDF\n - analyze-checkboxes: Analyze checkbox fields and their possible values\n - validate: Verify form field values and completion status\n - convert-to-images: Convert PDF pages to PNG/JPEG images with customizable quality and DPI\n - convert-to-markdown: Convert PDF to markdown format using AI analysis of visual content\n \n Uses PyMuPDF (fitz) library via Python scripts for all PDF operations.\n \n Input: Base64 encoded PDF data\n Output: Operation-specific results with success/error handling\n ";
|
|
@@ -42,8 +42,8 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
42
42
|
}, {
|
|
43
43
|
format?: "png" | "jpeg" | undefined;
|
|
44
44
|
quality?: number | undefined;
|
|
45
|
-
pages?: number[] | undefined;
|
|
46
45
|
dpi?: number | undefined;
|
|
46
|
+
pages?: number[] | undefined;
|
|
47
47
|
}>>;
|
|
48
48
|
aiOptions: z.ZodDefault<z.ZodObject<{
|
|
49
49
|
model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b"]>>;
|
|
@@ -91,8 +91,8 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
91
91
|
imageOptions?: {
|
|
92
92
|
format?: "png" | "jpeg" | undefined;
|
|
93
93
|
quality?: number | undefined;
|
|
94
|
-
pages?: number[] | undefined;
|
|
95
94
|
dpi?: number | undefined;
|
|
95
|
+
pages?: number[] | undefined;
|
|
96
96
|
} | undefined;
|
|
97
97
|
aiOptions?: {
|
|
98
98
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | undefined;
|
|
@@ -124,8 +124,8 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
124
124
|
}, {
|
|
125
125
|
format?: "png" | "jpeg" | undefined;
|
|
126
126
|
quality?: number | undefined;
|
|
127
|
-
pages?: number[] | undefined;
|
|
128
127
|
dpi?: number | undefined;
|
|
128
|
+
pages?: number[] | undefined;
|
|
129
129
|
}>>;
|
|
130
130
|
aiOptions: z.ZodDefault<z.ZodObject<{
|
|
131
131
|
model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b"]>>;
|
|
@@ -175,8 +175,8 @@ declare const PDFOcrWorkflowParamsSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
175
175
|
imageOptions?: {
|
|
176
176
|
format?: "png" | "jpeg" | undefined;
|
|
177
177
|
quality?: number | undefined;
|
|
178
|
-
pages?: number[] | undefined;
|
|
179
178
|
dpi?: number | undefined;
|
|
179
|
+
pages?: number[] | undefined;
|
|
180
180
|
} | undefined;
|
|
181
181
|
aiOptions?: {
|
|
182
182
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | undefined;
|
|
@@ -478,8 +478,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
478
478
|
}, {
|
|
479
479
|
format?: "png" | "jpeg" | undefined;
|
|
480
480
|
quality?: number | undefined;
|
|
481
|
-
pages?: number[] | undefined;
|
|
482
481
|
dpi?: number | undefined;
|
|
482
|
+
pages?: number[] | undefined;
|
|
483
483
|
}>>;
|
|
484
484
|
aiOptions: z.ZodDefault<z.ZodObject<{
|
|
485
485
|
model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b"]>>;
|
|
@@ -527,8 +527,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
527
527
|
imageOptions?: {
|
|
528
528
|
format?: "png" | "jpeg" | undefined;
|
|
529
529
|
quality?: number | undefined;
|
|
530
|
-
pages?: number[] | undefined;
|
|
531
530
|
dpi?: number | undefined;
|
|
531
|
+
pages?: number[] | undefined;
|
|
532
532
|
} | undefined;
|
|
533
533
|
aiOptions?: {
|
|
534
534
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | undefined;
|
|
@@ -560,8 +560,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
560
560
|
}, {
|
|
561
561
|
format?: "png" | "jpeg" | undefined;
|
|
562
562
|
quality?: number | undefined;
|
|
563
|
-
pages?: number[] | undefined;
|
|
564
563
|
dpi?: number | undefined;
|
|
564
|
+
pages?: number[] | undefined;
|
|
565
565
|
}>>;
|
|
566
566
|
aiOptions: z.ZodDefault<z.ZodObject<{
|
|
567
567
|
model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b"]>>;
|
|
@@ -611,8 +611,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
611
611
|
imageOptions?: {
|
|
612
612
|
format?: "png" | "jpeg" | undefined;
|
|
613
613
|
quality?: number | undefined;
|
|
614
|
-
pages?: number[] | undefined;
|
|
615
614
|
dpi?: number | undefined;
|
|
615
|
+
pages?: number[] | undefined;
|
|
616
616
|
} | undefined;
|
|
617
617
|
aiOptions?: {
|
|
618
618
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | undefined;
|