@bubblelab/bubble-core 0.1.55 → 0.1.56
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 +102 -102
- package/dist/bubbles/service-bubble/agi-inc.d.ts +60 -60
- package/dist/bubbles/service-bubble/ai-agent.d.ts +68 -68
- package/dist/bubbles/service-bubble/airtable.d.ts +86 -86
- package/dist/bubbles/service-bubble/apify/apify.d.ts +24 -24
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +128 -128
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +180 -180
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +28 -28
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +88 -88
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +118 -118
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +879 -879
- package/dist/bubbles/service-bubble/followupboss.d.ts +254 -254
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +233 -233
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +341 -341
- package/dist/bubbles/service-bubble/github.d.ts +112 -112
- package/dist/bubbles/service-bubble/gmail.d.ts +555 -555
- package/dist/bubbles/service-bubble/google-calendar.d.ts +20 -20
- package/dist/bubbles/service-bubble/google-drive.d.ts +16 -16
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +10 -10
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +10 -10
- package/dist/bubbles/service-bubble/http.d.ts +20 -20
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +35 -35
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +37 -37
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1365 -1365
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +24 -24
- package/dist/bubbles/service-bubble/slack/slack.d.ts +320 -320
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +91 -91
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +107 -107
- package/dist/bubbles/service-bubble/telegram.d.ts +1491 -1491
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +16 -16
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
- 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 +126 -126
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +6 -6
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +421 -421
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +150 -150
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +64 -64
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +146 -146
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +86 -86
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +44 -44
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +1 -1
- package/package.json +2 -2
|
@@ -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
|
-
dpi?: number | undefined;
|
|
97
96
|
pages?: number[] | undefined;
|
|
97
|
+
dpi?: number | undefined;
|
|
98
98
|
}>, z.ZodObject<{
|
|
99
99
|
operation: z.ZodLiteral<"convert-to-markdown">;
|
|
100
100
|
pdfData: z.ZodString;
|
|
@@ -139,15 +139,15 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
139
139
|
type: string;
|
|
140
140
|
name: string;
|
|
141
141
|
id: number;
|
|
142
|
-
x: number;
|
|
143
|
-
y: number;
|
|
144
|
-
label: string;
|
|
145
142
|
width: number;
|
|
146
143
|
height: number;
|
|
144
|
+
label: string;
|
|
147
145
|
page: number;
|
|
146
|
+
choices: string[];
|
|
147
|
+
x: number;
|
|
148
|
+
y: number;
|
|
148
149
|
field_type: string;
|
|
149
150
|
current_value: string;
|
|
150
|
-
choices: string[];
|
|
151
151
|
rect: [number, number, number, number];
|
|
152
152
|
field_flags: number;
|
|
153
153
|
potential_labels: string[];
|
|
@@ -155,15 +155,15 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
155
155
|
type: string;
|
|
156
156
|
name: string;
|
|
157
157
|
id: number;
|
|
158
|
-
x: number;
|
|
159
|
-
y: number;
|
|
160
|
-
label: string;
|
|
161
158
|
width: number;
|
|
162
159
|
height: number;
|
|
160
|
+
label: string;
|
|
163
161
|
page: number;
|
|
162
|
+
choices: string[];
|
|
163
|
+
x: number;
|
|
164
|
+
y: number;
|
|
164
165
|
field_type: string;
|
|
165
166
|
current_value: string;
|
|
166
|
-
choices: string[];
|
|
167
167
|
rect: [number, number, number, number];
|
|
168
168
|
field_flags: number;
|
|
169
169
|
potential_labels: string[];
|
|
@@ -174,46 +174,46 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
175
|
error: string;
|
|
176
176
|
success: boolean;
|
|
177
|
-
operation: "discover";
|
|
178
177
|
fields: {
|
|
179
178
|
type: string;
|
|
180
179
|
name: string;
|
|
181
180
|
id: number;
|
|
182
|
-
x: number;
|
|
183
|
-
y: number;
|
|
184
|
-
label: string;
|
|
185
181
|
width: number;
|
|
186
182
|
height: number;
|
|
183
|
+
label: string;
|
|
187
184
|
page: number;
|
|
185
|
+
choices: string[];
|
|
186
|
+
x: number;
|
|
187
|
+
y: number;
|
|
188
188
|
field_type: string;
|
|
189
189
|
current_value: string;
|
|
190
|
-
choices: string[];
|
|
191
190
|
rect: [number, number, number, number];
|
|
192
191
|
field_flags: number;
|
|
193
192
|
potential_labels: string[];
|
|
194
193
|
}[];
|
|
194
|
+
operation: "discover";
|
|
195
195
|
totalFields: number;
|
|
196
196
|
}, {
|
|
197
197
|
error: string;
|
|
198
198
|
success: boolean;
|
|
199
|
-
operation: "discover";
|
|
200
199
|
fields: {
|
|
201
200
|
type: string;
|
|
202
201
|
name: string;
|
|
203
202
|
id: number;
|
|
204
|
-
x: number;
|
|
205
|
-
y: number;
|
|
206
|
-
label: string;
|
|
207
203
|
width: number;
|
|
208
204
|
height: number;
|
|
205
|
+
label: string;
|
|
209
206
|
page: number;
|
|
207
|
+
choices: string[];
|
|
208
|
+
x: number;
|
|
209
|
+
y: number;
|
|
210
210
|
field_type: string;
|
|
211
211
|
current_value: string;
|
|
212
|
-
choices: string[];
|
|
213
212
|
rect: [number, number, number, 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">;
|
|
@@ -224,12 +224,12 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
224
224
|
type: z.ZodString;
|
|
225
225
|
page: z.ZodNumber;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
|
-
type: string;
|
|
228
227
|
value: string;
|
|
228
|
+
type: string;
|
|
229
229
|
page: number;
|
|
230
230
|
}, {
|
|
231
|
-
type: string;
|
|
232
231
|
value: string;
|
|
232
|
+
type: string;
|
|
233
233
|
page: number;
|
|
234
234
|
}>>;
|
|
235
235
|
success: z.ZodBoolean;
|
|
@@ -241,8 +241,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
241
241
|
filledPdfData: string;
|
|
242
242
|
filledFields: number;
|
|
243
243
|
verification: Record<string, {
|
|
244
|
-
type: string;
|
|
245
244
|
value: string;
|
|
245
|
+
type: string;
|
|
246
246
|
page: number;
|
|
247
247
|
}>;
|
|
248
248
|
}, {
|
|
@@ -252,8 +252,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
252
252
|
filledPdfData: string;
|
|
253
253
|
filledFields: number;
|
|
254
254
|
verification: Record<string, {
|
|
255
|
-
type: string;
|
|
256
255
|
value: string;
|
|
256
|
+
type: string;
|
|
257
257
|
page: number;
|
|
258
258
|
}>;
|
|
259
259
|
}>, z.ZodObject<{
|
|
@@ -306,12 +306,12 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
306
306
|
type: z.ZodString;
|
|
307
307
|
page: z.ZodNumber;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
|
-
type: string;
|
|
310
309
|
value: string;
|
|
310
|
+
type: string;
|
|
311
311
|
page: number;
|
|
312
312
|
}, {
|
|
313
|
-
type: string;
|
|
314
313
|
value: string;
|
|
314
|
+
type: string;
|
|
315
315
|
page: number;
|
|
316
316
|
}>>;
|
|
317
317
|
totalFields: z.ZodNumber;
|
|
@@ -322,24 +322,24 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
322
322
|
}, "strip", z.ZodTypeAny, {
|
|
323
323
|
error: string;
|
|
324
324
|
success: boolean;
|
|
325
|
-
operation: "validate";
|
|
326
325
|
fields: Record<string, {
|
|
327
|
-
type: string;
|
|
328
326
|
value: string;
|
|
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
335
|
error: string;
|
|
336
336
|
success: boolean;
|
|
337
|
-
operation: "validate";
|
|
338
337
|
fields: Record<string, {
|
|
339
|
-
type: string;
|
|
340
338
|
value: string;
|
|
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;
|
|
357
356
|
width: number;
|
|
358
357
|
height: number;
|
|
358
|
+
pageNumber: number;
|
|
359
359
|
imageData: string;
|
|
360
360
|
}, {
|
|
361
361
|
format: string;
|
|
362
|
-
pageNumber: number;
|
|
363
362
|
width: number;
|
|
364
363
|
height: number;
|
|
364
|
+
pageNumber: number;
|
|
365
365
|
imageData: string;
|
|
366
366
|
}>, "many">;
|
|
367
367
|
totalPages: z.ZodNumber;
|
|
@@ -371,27 +371,27 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
372
|
error: string;
|
|
373
373
|
success: boolean;
|
|
374
|
-
operation: "convert-to-images";
|
|
375
374
|
images: {
|
|
376
375
|
format: string;
|
|
377
|
-
pageNumber: number;
|
|
378
376
|
width: number;
|
|
379
377
|
height: number;
|
|
378
|
+
pageNumber: number;
|
|
380
379
|
imageData: string;
|
|
381
380
|
}[];
|
|
381
|
+
operation: "convert-to-images";
|
|
382
382
|
totalPages: number;
|
|
383
383
|
convertedPages: number;
|
|
384
384
|
}, {
|
|
385
385
|
error: string;
|
|
386
386
|
success: boolean;
|
|
387
|
-
operation: "convert-to-images";
|
|
388
387
|
images: {
|
|
389
388
|
format: string;
|
|
390
|
-
pageNumber: number;
|
|
391
389
|
width: number;
|
|
392
390
|
height: number;
|
|
391
|
+
pageNumber: number;
|
|
393
392
|
imageData: string;
|
|
394
393
|
}[];
|
|
394
|
+
operation: "convert-to-images";
|
|
395
395
|
totalPages: number;
|
|
396
396
|
convertedPages: number;
|
|
397
397
|
}>, z.ZodObject<{
|
|
@@ -408,15 +408,15 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
408
408
|
x: z.ZodNumber;
|
|
409
409
|
y: z.ZodNumber;
|
|
410
410
|
}, "strip", z.ZodTypeAny, {
|
|
411
|
-
type: string;
|
|
412
411
|
value: string;
|
|
412
|
+
type: string;
|
|
413
413
|
name: string;
|
|
414
414
|
id: number;
|
|
415
415
|
x: number;
|
|
416
416
|
y: number;
|
|
417
417
|
}, {
|
|
418
|
-
type: string;
|
|
419
418
|
value: string;
|
|
419
|
+
type: string;
|
|
420
420
|
name: string;
|
|
421
421
|
id: number;
|
|
422
422
|
x: number;
|
|
@@ -426,8 +426,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
426
426
|
pageNumber: number;
|
|
427
427
|
markdown: string;
|
|
428
428
|
formFields?: {
|
|
429
|
-
type: string;
|
|
430
429
|
value: string;
|
|
430
|
+
type: string;
|
|
431
431
|
name: string;
|
|
432
432
|
id: number;
|
|
433
433
|
x: number;
|
|
@@ -437,8 +437,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
437
437
|
pageNumber: number;
|
|
438
438
|
markdown: string;
|
|
439
439
|
formFields?: {
|
|
440
|
-
type: string;
|
|
441
440
|
value: string;
|
|
441
|
+
type: string;
|
|
442
442
|
name: string;
|
|
443
443
|
id: number;
|
|
444
444
|
x: number;
|
|
@@ -457,17 +457,17 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
457
457
|
pageNumber: number;
|
|
458
458
|
markdown: string;
|
|
459
459
|
formFields?: {
|
|
460
|
-
type: string;
|
|
461
460
|
value: string;
|
|
461
|
+
type: string;
|
|
462
462
|
name: string;
|
|
463
463
|
id: number;
|
|
464
464
|
x: number;
|
|
465
465
|
y: number;
|
|
466
466
|
}[] | undefined;
|
|
467
467
|
}[];
|
|
468
|
+
markdown: string;
|
|
468
469
|
totalPages: number;
|
|
469
470
|
convertedPages: number;
|
|
470
|
-
markdown: string;
|
|
471
471
|
}, {
|
|
472
472
|
error: string;
|
|
473
473
|
success: boolean;
|
|
@@ -476,17 +476,17 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
476
476
|
pageNumber: number;
|
|
477
477
|
markdown: string;
|
|
478
478
|
formFields?: {
|
|
479
|
-
type: string;
|
|
480
479
|
value: string;
|
|
480
|
+
type: string;
|
|
481
481
|
name: string;
|
|
482
482
|
id: number;
|
|
483
483
|
x: number;
|
|
484
484
|
y: number;
|
|
485
485
|
}[] | undefined;
|
|
486
486
|
}[];
|
|
487
|
+
markdown: string;
|
|
487
488
|
totalPages: number;
|
|
488
489
|
convertedPages: number;
|
|
489
|
-
markdown: string;
|
|
490
490
|
}>]>;
|
|
491
491
|
type PDFFormOperationsParams = z.output<typeof PDFFormOperationsParamsSchema>;
|
|
492
492
|
type PDFFormOperationsResult = z.output<typeof PDFFormOperationsResultSchema>;
|
|
@@ -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
|
-
dpi?: number | undefined;
|
|
579
578
|
pages?: number[] | undefined;
|
|
579
|
+
dpi?: number | undefined;
|
|
580
580
|
}>, z.ZodObject<{
|
|
581
581
|
operation: z.ZodLiteral<"convert-to-markdown">;
|
|
582
582
|
pdfData: z.ZodString;
|
|
@@ -618,15 +618,15 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
618
618
|
type: string;
|
|
619
619
|
name: string;
|
|
620
620
|
id: number;
|
|
621
|
-
x: number;
|
|
622
|
-
y: number;
|
|
623
|
-
label: string;
|
|
624
621
|
width: number;
|
|
625
622
|
height: number;
|
|
623
|
+
label: string;
|
|
626
624
|
page: number;
|
|
625
|
+
choices: string[];
|
|
626
|
+
x: number;
|
|
627
|
+
y: number;
|
|
627
628
|
field_type: string;
|
|
628
629
|
current_value: string;
|
|
629
|
-
choices: string[];
|
|
630
630
|
rect: [number, number, number, number];
|
|
631
631
|
field_flags: number;
|
|
632
632
|
potential_labels: string[];
|
|
@@ -634,15 +634,15 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
634
634
|
type: string;
|
|
635
635
|
name: string;
|
|
636
636
|
id: number;
|
|
637
|
-
x: number;
|
|
638
|
-
y: number;
|
|
639
|
-
label: string;
|
|
640
637
|
width: number;
|
|
641
638
|
height: number;
|
|
639
|
+
label: string;
|
|
642
640
|
page: number;
|
|
641
|
+
choices: string[];
|
|
642
|
+
x: number;
|
|
643
|
+
y: number;
|
|
643
644
|
field_type: string;
|
|
644
645
|
current_value: string;
|
|
645
|
-
choices: string[];
|
|
646
646
|
rect: [number, number, number, number];
|
|
647
647
|
field_flags: number;
|
|
648
648
|
potential_labels: string[];
|
|
@@ -653,46 +653,46 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
653
653
|
}, "strip", z.ZodTypeAny, {
|
|
654
654
|
error: string;
|
|
655
655
|
success: boolean;
|
|
656
|
-
operation: "discover";
|
|
657
656
|
fields: {
|
|
658
657
|
type: string;
|
|
659
658
|
name: string;
|
|
660
659
|
id: number;
|
|
661
|
-
x: number;
|
|
662
|
-
y: number;
|
|
663
|
-
label: string;
|
|
664
660
|
width: number;
|
|
665
661
|
height: number;
|
|
662
|
+
label: string;
|
|
666
663
|
page: number;
|
|
664
|
+
choices: string[];
|
|
665
|
+
x: number;
|
|
666
|
+
y: number;
|
|
667
667
|
field_type: string;
|
|
668
668
|
current_value: string;
|
|
669
|
-
choices: string[];
|
|
670
669
|
rect: [number, number, number, number];
|
|
671
670
|
field_flags: number;
|
|
672
671
|
potential_labels: string[];
|
|
673
672
|
}[];
|
|
673
|
+
operation: "discover";
|
|
674
674
|
totalFields: number;
|
|
675
675
|
}, {
|
|
676
676
|
error: string;
|
|
677
677
|
success: boolean;
|
|
678
|
-
operation: "discover";
|
|
679
678
|
fields: {
|
|
680
679
|
type: string;
|
|
681
680
|
name: string;
|
|
682
681
|
id: number;
|
|
683
|
-
x: number;
|
|
684
|
-
y: number;
|
|
685
|
-
label: string;
|
|
686
682
|
width: number;
|
|
687
683
|
height: number;
|
|
684
|
+
label: string;
|
|
688
685
|
page: number;
|
|
686
|
+
choices: string[];
|
|
687
|
+
x: number;
|
|
688
|
+
y: number;
|
|
689
689
|
field_type: string;
|
|
690
690
|
current_value: string;
|
|
691
|
-
choices: string[];
|
|
692
691
|
rect: [number, number, number, 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">;
|
|
@@ -703,12 +703,12 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
703
703
|
type: z.ZodString;
|
|
704
704
|
page: z.ZodNumber;
|
|
705
705
|
}, "strip", z.ZodTypeAny, {
|
|
706
|
-
type: string;
|
|
707
706
|
value: string;
|
|
707
|
+
type: string;
|
|
708
708
|
page: number;
|
|
709
709
|
}, {
|
|
710
|
-
type: string;
|
|
711
710
|
value: string;
|
|
711
|
+
type: string;
|
|
712
712
|
page: number;
|
|
713
713
|
}>>;
|
|
714
714
|
success: z.ZodBoolean;
|
|
@@ -720,8 +720,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
720
720
|
filledPdfData: string;
|
|
721
721
|
filledFields: number;
|
|
722
722
|
verification: Record<string, {
|
|
723
|
-
type: string;
|
|
724
723
|
value: string;
|
|
724
|
+
type: string;
|
|
725
725
|
page: number;
|
|
726
726
|
}>;
|
|
727
727
|
}, {
|
|
@@ -731,8 +731,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
731
731
|
filledPdfData: string;
|
|
732
732
|
filledFields: number;
|
|
733
733
|
verification: Record<string, {
|
|
734
|
-
type: string;
|
|
735
734
|
value: string;
|
|
735
|
+
type: string;
|
|
736
736
|
page: number;
|
|
737
737
|
}>;
|
|
738
738
|
}>, z.ZodObject<{
|
|
@@ -785,12 +785,12 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
785
785
|
type: z.ZodString;
|
|
786
786
|
page: z.ZodNumber;
|
|
787
787
|
}, "strip", z.ZodTypeAny, {
|
|
788
|
-
type: string;
|
|
789
788
|
value: string;
|
|
789
|
+
type: string;
|
|
790
790
|
page: number;
|
|
791
791
|
}, {
|
|
792
|
-
type: string;
|
|
793
792
|
value: string;
|
|
793
|
+
type: string;
|
|
794
794
|
page: number;
|
|
795
795
|
}>>;
|
|
796
796
|
totalFields: z.ZodNumber;
|
|
@@ -801,24 +801,24 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
801
801
|
}, "strip", z.ZodTypeAny, {
|
|
802
802
|
error: string;
|
|
803
803
|
success: boolean;
|
|
804
|
-
operation: "validate";
|
|
805
804
|
fields: Record<string, {
|
|
806
|
-
type: string;
|
|
807
805
|
value: string;
|
|
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
814
|
error: string;
|
|
815
815
|
success: boolean;
|
|
816
|
-
operation: "validate";
|
|
817
816
|
fields: Record<string, {
|
|
818
|
-
type: string;
|
|
819
817
|
value: string;
|
|
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;
|
|
836
835
|
width: number;
|
|
837
836
|
height: number;
|
|
837
|
+
pageNumber: number;
|
|
838
838
|
imageData: string;
|
|
839
839
|
}, {
|
|
840
840
|
format: string;
|
|
841
|
-
pageNumber: number;
|
|
842
841
|
width: number;
|
|
843
842
|
height: number;
|
|
843
|
+
pageNumber: number;
|
|
844
844
|
imageData: string;
|
|
845
845
|
}>, "many">;
|
|
846
846
|
totalPages: z.ZodNumber;
|
|
@@ -850,27 +850,27 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
850
850
|
}, "strip", z.ZodTypeAny, {
|
|
851
851
|
error: string;
|
|
852
852
|
success: boolean;
|
|
853
|
-
operation: "convert-to-images";
|
|
854
853
|
images: {
|
|
855
854
|
format: string;
|
|
856
|
-
pageNumber: number;
|
|
857
855
|
width: number;
|
|
858
856
|
height: number;
|
|
857
|
+
pageNumber: number;
|
|
859
858
|
imageData: string;
|
|
860
859
|
}[];
|
|
860
|
+
operation: "convert-to-images";
|
|
861
861
|
totalPages: number;
|
|
862
862
|
convertedPages: number;
|
|
863
863
|
}, {
|
|
864
864
|
error: string;
|
|
865
865
|
success: boolean;
|
|
866
|
-
operation: "convert-to-images";
|
|
867
866
|
images: {
|
|
868
867
|
format: string;
|
|
869
|
-
pageNumber: number;
|
|
870
868
|
width: number;
|
|
871
869
|
height: number;
|
|
870
|
+
pageNumber: number;
|
|
872
871
|
imageData: string;
|
|
873
872
|
}[];
|
|
873
|
+
operation: "convert-to-images";
|
|
874
874
|
totalPages: number;
|
|
875
875
|
convertedPages: number;
|
|
876
876
|
}>, z.ZodObject<{
|
|
@@ -887,15 +887,15 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
887
887
|
x: z.ZodNumber;
|
|
888
888
|
y: z.ZodNumber;
|
|
889
889
|
}, "strip", z.ZodTypeAny, {
|
|
890
|
-
type: string;
|
|
891
890
|
value: string;
|
|
891
|
+
type: string;
|
|
892
892
|
name: string;
|
|
893
893
|
id: number;
|
|
894
894
|
x: number;
|
|
895
895
|
y: number;
|
|
896
896
|
}, {
|
|
897
|
-
type: string;
|
|
898
897
|
value: string;
|
|
898
|
+
type: string;
|
|
899
899
|
name: string;
|
|
900
900
|
id: number;
|
|
901
901
|
x: number;
|
|
@@ -905,8 +905,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
905
905
|
pageNumber: number;
|
|
906
906
|
markdown: string;
|
|
907
907
|
formFields?: {
|
|
908
|
-
type: string;
|
|
909
908
|
value: string;
|
|
909
|
+
type: string;
|
|
910
910
|
name: string;
|
|
911
911
|
id: number;
|
|
912
912
|
x: number;
|
|
@@ -916,8 +916,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
916
916
|
pageNumber: number;
|
|
917
917
|
markdown: string;
|
|
918
918
|
formFields?: {
|
|
919
|
-
type: string;
|
|
920
919
|
value: string;
|
|
920
|
+
type: string;
|
|
921
921
|
name: string;
|
|
922
922
|
id: number;
|
|
923
923
|
x: number;
|
|
@@ -936,17 +936,17 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
936
936
|
pageNumber: number;
|
|
937
937
|
markdown: string;
|
|
938
938
|
formFields?: {
|
|
939
|
-
type: string;
|
|
940
939
|
value: string;
|
|
940
|
+
type: string;
|
|
941
941
|
name: string;
|
|
942
942
|
id: number;
|
|
943
943
|
x: number;
|
|
944
944
|
y: number;
|
|
945
945
|
}[] | undefined;
|
|
946
946
|
}[];
|
|
947
|
+
markdown: string;
|
|
947
948
|
totalPages: number;
|
|
948
949
|
convertedPages: number;
|
|
949
|
-
markdown: string;
|
|
950
950
|
}, {
|
|
951
951
|
error: string;
|
|
952
952
|
success: boolean;
|
|
@@ -955,17 +955,17 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
955
955
|
pageNumber: number;
|
|
956
956
|
markdown: string;
|
|
957
957
|
formFields?: {
|
|
958
|
-
type: string;
|
|
959
958
|
value: string;
|
|
959
|
+
type: string;
|
|
960
960
|
name: string;
|
|
961
961
|
id: number;
|
|
962
962
|
x: number;
|
|
963
963
|
y: number;
|
|
964
964
|
}[] | undefined;
|
|
965
965
|
}[];
|
|
966
|
+
markdown: string;
|
|
966
967
|
totalPages: number;
|
|
967
968
|
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 ";
|