@bubblelab/bubble-core 0.1.65 → 0.1.67
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 +104 -104
- package/dist/bubbles/service-bubble/agi-inc.d.ts +88 -88
- package/dist/bubbles/service-bubble/ai-agent.d.ts +117 -96
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +131 -0
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +118 -118
- package/dist/bubbles/service-bubble/apify/apify.d.ts +26 -26
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +89 -68
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js +96 -0
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +108 -102
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.js +10 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +26 -26
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +130 -130
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +1001 -1001
- package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +56 -56
- package/dist/bubbles/service-bubble/github.d.ts +176 -176
- package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-drive.d.ts +76 -76
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +32 -32
- package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
- package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
- package/dist/bubbles/service-bubble/notion/notion.d.ts +2089 -2089
- package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/slack/slack.d.ts +420 -420
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +107 -107
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +4 -4
- package/dist/bubbles/service-bubble/telegram.d.ts +1562 -1562
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +15 -15
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +70 -70
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +326 -326
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +112 -112
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/research-agent-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 +76 -76
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +160 -160
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +50 -50
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +36 -36
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +36 -36
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +98 -98
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +18 -18
- package/dist/bubbles.json +59 -22
- package/package.json +2 -2
|
@@ -82,8 +82,8 @@ declare const PDFFormOperationsParamsSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
83
|
format: "png" | "jpeg";
|
|
84
84
|
operation: "convert-to-images";
|
|
85
|
-
quality: number;
|
|
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,44 +172,44 @@ 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
175
|
success: boolean;
|
|
176
|
+
error: string;
|
|
177
177
|
fields: {
|
|
178
178
|
type: string;
|
|
179
179
|
name: string;
|
|
180
180
|
id: number;
|
|
181
|
+
label: string;
|
|
181
182
|
width: number;
|
|
182
183
|
height: number;
|
|
183
|
-
label: string;
|
|
184
184
|
page: number;
|
|
185
|
-
choices: string[];
|
|
186
|
-
x: number;
|
|
187
|
-
y: number;
|
|
188
185
|
field_type: string;
|
|
189
186
|
current_value: string;
|
|
187
|
+
choices: string[];
|
|
190
188
|
rect: [number, number, number, number];
|
|
189
|
+
x: number;
|
|
190
|
+
y: number;
|
|
191
191
|
field_flags: number;
|
|
192
192
|
potential_labels: string[];
|
|
193
193
|
}[];
|
|
194
194
|
operation: "discover";
|
|
195
195
|
totalFields: number;
|
|
196
196
|
}, {
|
|
197
|
-
error: string;
|
|
198
197
|
success: boolean;
|
|
198
|
+
error: string;
|
|
199
199
|
fields: {
|
|
200
200
|
type: string;
|
|
201
201
|
name: string;
|
|
202
202
|
id: number;
|
|
203
|
+
label: string;
|
|
203
204
|
width: number;
|
|
204
205
|
height: number;
|
|
205
|
-
label: string;
|
|
206
206
|
page: number;
|
|
207
|
-
choices: string[];
|
|
208
|
-
x: number;
|
|
209
|
-
y: number;
|
|
210
207
|
field_type: string;
|
|
211
208
|
current_value: string;
|
|
209
|
+
choices: string[];
|
|
212
210
|
rect: [number, number, number, number];
|
|
211
|
+
x: number;
|
|
212
|
+
y: number;
|
|
213
213
|
field_flags: number;
|
|
214
214
|
potential_labels: string[];
|
|
215
215
|
}[];
|
|
@@ -235,8 +235,8 @@ 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
238
|
success: boolean;
|
|
239
|
+
error: string;
|
|
240
240
|
operation: "fill";
|
|
241
241
|
filledPdfData: string;
|
|
242
242
|
filledFields: number;
|
|
@@ -246,8 +246,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
246
246
|
page: number;
|
|
247
247
|
}>;
|
|
248
248
|
}, {
|
|
249
|
-
error: string;
|
|
250
249
|
success: boolean;
|
|
250
|
+
error: string;
|
|
251
251
|
operation: "fill";
|
|
252
252
|
filledPdfData: string;
|
|
253
253
|
filledFields: number;
|
|
@@ -278,8 +278,8 @@ 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
281
|
success: boolean;
|
|
282
|
+
error: string;
|
|
283
283
|
operation: "analyze-checkboxes";
|
|
284
284
|
checkboxes: Record<string, {
|
|
285
285
|
page: number;
|
|
@@ -289,8 +289,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
289
289
|
}>;
|
|
290
290
|
totalCheckboxes: number;
|
|
291
291
|
}, {
|
|
292
|
-
error: string;
|
|
293
292
|
success: boolean;
|
|
293
|
+
error: string;
|
|
294
294
|
operation: "analyze-checkboxes";
|
|
295
295
|
checkboxes: Record<string, {
|
|
296
296
|
page: number;
|
|
@@ -320,8 +320,8 @@ 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
323
|
success: boolean;
|
|
324
|
+
error: string;
|
|
325
325
|
fields: Record<string, {
|
|
326
326
|
value: string;
|
|
327
327
|
type: string;
|
|
@@ -332,8 +332,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
332
332
|
filledFields: number;
|
|
333
333
|
emptyFields: number;
|
|
334
334
|
}, {
|
|
335
|
-
error: string;
|
|
336
335
|
success: boolean;
|
|
336
|
+
error: string;
|
|
337
337
|
fields: Record<string, {
|
|
338
338
|
value: string;
|
|
339
339
|
type: string;
|
|
@@ -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,26 +369,26 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
369
369
|
success: z.ZodBoolean;
|
|
370
370
|
error: z.ZodString;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
error: string;
|
|
373
372
|
success: boolean;
|
|
373
|
+
error: string;
|
|
374
374
|
images: {
|
|
375
375
|
format: string;
|
|
376
|
+
pageNumber: number;
|
|
376
377
|
width: number;
|
|
377
378
|
height: number;
|
|
378
|
-
pageNumber: number;
|
|
379
379
|
imageData: string;
|
|
380
380
|
}[];
|
|
381
381
|
operation: "convert-to-images";
|
|
382
382
|
totalPages: number;
|
|
383
383
|
convertedPages: number;
|
|
384
384
|
}, {
|
|
385
|
-
error: string;
|
|
386
385
|
success: boolean;
|
|
386
|
+
error: string;
|
|
387
387
|
images: {
|
|
388
388
|
format: string;
|
|
389
|
+
pageNumber: number;
|
|
389
390
|
width: number;
|
|
390
391
|
height: number;
|
|
391
|
-
pageNumber: number;
|
|
392
392
|
imageData: string;
|
|
393
393
|
}[];
|
|
394
394
|
operation: "convert-to-images";
|
|
@@ -450,8 +450,8 @@ 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
453
|
success: boolean;
|
|
454
|
+
error: string;
|
|
455
455
|
operation: "convert-to-markdown";
|
|
456
456
|
pages: {
|
|
457
457
|
pageNumber: number;
|
|
@@ -465,12 +465,12 @@ 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
|
-
error: string;
|
|
473
472
|
success: boolean;
|
|
473
|
+
error: string;
|
|
474
474
|
operation: "convert-to-markdown";
|
|
475
475
|
pages: {
|
|
476
476
|
pageNumber: number;
|
|
@@ -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>;
|
|
@@ -564,8 +564,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
564
564
|
}, "strip", z.ZodTypeAny, {
|
|
565
565
|
format: "png" | "jpeg";
|
|
566
566
|
operation: "convert-to-images";
|
|
567
|
-
quality: number;
|
|
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,44 +651,44 @@ 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
654
|
success: boolean;
|
|
655
|
+
error: string;
|
|
656
656
|
fields: {
|
|
657
657
|
type: string;
|
|
658
658
|
name: string;
|
|
659
659
|
id: number;
|
|
660
|
+
label: string;
|
|
660
661
|
width: number;
|
|
661
662
|
height: number;
|
|
662
|
-
label: string;
|
|
663
663
|
page: number;
|
|
664
|
-
choices: string[];
|
|
665
|
-
x: number;
|
|
666
|
-
y: number;
|
|
667
664
|
field_type: string;
|
|
668
665
|
current_value: string;
|
|
666
|
+
choices: string[];
|
|
669
667
|
rect: [number, number, number, number];
|
|
668
|
+
x: number;
|
|
669
|
+
y: number;
|
|
670
670
|
field_flags: number;
|
|
671
671
|
potential_labels: string[];
|
|
672
672
|
}[];
|
|
673
673
|
operation: "discover";
|
|
674
674
|
totalFields: number;
|
|
675
675
|
}, {
|
|
676
|
-
error: string;
|
|
677
676
|
success: boolean;
|
|
677
|
+
error: string;
|
|
678
678
|
fields: {
|
|
679
679
|
type: string;
|
|
680
680
|
name: string;
|
|
681
681
|
id: number;
|
|
682
|
+
label: string;
|
|
682
683
|
width: number;
|
|
683
684
|
height: number;
|
|
684
|
-
label: string;
|
|
685
685
|
page: number;
|
|
686
|
-
choices: string[];
|
|
687
|
-
x: number;
|
|
688
|
-
y: number;
|
|
689
686
|
field_type: string;
|
|
690
687
|
current_value: string;
|
|
688
|
+
choices: string[];
|
|
691
689
|
rect: [number, number, number, number];
|
|
690
|
+
x: number;
|
|
691
|
+
y: number;
|
|
692
692
|
field_flags: number;
|
|
693
693
|
potential_labels: string[];
|
|
694
694
|
}[];
|
|
@@ -714,8 +714,8 @@ 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
717
|
success: boolean;
|
|
718
|
+
error: string;
|
|
719
719
|
operation: "fill";
|
|
720
720
|
filledPdfData: string;
|
|
721
721
|
filledFields: number;
|
|
@@ -725,8 +725,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
725
725
|
page: number;
|
|
726
726
|
}>;
|
|
727
727
|
}, {
|
|
728
|
-
error: string;
|
|
729
728
|
success: boolean;
|
|
729
|
+
error: string;
|
|
730
730
|
operation: "fill";
|
|
731
731
|
filledPdfData: string;
|
|
732
732
|
filledFields: number;
|
|
@@ -757,8 +757,8 @@ 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
760
|
success: boolean;
|
|
761
|
+
error: string;
|
|
762
762
|
operation: "analyze-checkboxes";
|
|
763
763
|
checkboxes: Record<string, {
|
|
764
764
|
page: number;
|
|
@@ -768,8 +768,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
768
768
|
}>;
|
|
769
769
|
totalCheckboxes: number;
|
|
770
770
|
}, {
|
|
771
|
-
error: string;
|
|
772
771
|
success: boolean;
|
|
772
|
+
error: string;
|
|
773
773
|
operation: "analyze-checkboxes";
|
|
774
774
|
checkboxes: Record<string, {
|
|
775
775
|
page: number;
|
|
@@ -799,8 +799,8 @@ 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
802
|
success: boolean;
|
|
803
|
+
error: string;
|
|
804
804
|
fields: Record<string, {
|
|
805
805
|
value: string;
|
|
806
806
|
type: string;
|
|
@@ -811,8 +811,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
811
811
|
filledFields: number;
|
|
812
812
|
emptyFields: number;
|
|
813
813
|
}, {
|
|
814
|
-
error: string;
|
|
815
814
|
success: boolean;
|
|
815
|
+
error: string;
|
|
816
816
|
fields: Record<string, {
|
|
817
817
|
value: string;
|
|
818
818
|
type: string;
|
|
@@ -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,26 +848,26 @@ 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;
|
|
852
851
|
success: boolean;
|
|
852
|
+
error: string;
|
|
853
853
|
images: {
|
|
854
854
|
format: string;
|
|
855
|
+
pageNumber: number;
|
|
855
856
|
width: number;
|
|
856
857
|
height: number;
|
|
857
|
-
pageNumber: number;
|
|
858
858
|
imageData: string;
|
|
859
859
|
}[];
|
|
860
860
|
operation: "convert-to-images";
|
|
861
861
|
totalPages: number;
|
|
862
862
|
convertedPages: number;
|
|
863
863
|
}, {
|
|
864
|
-
error: string;
|
|
865
864
|
success: boolean;
|
|
865
|
+
error: string;
|
|
866
866
|
images: {
|
|
867
867
|
format: string;
|
|
868
|
+
pageNumber: number;
|
|
868
869
|
width: number;
|
|
869
870
|
height: number;
|
|
870
|
-
pageNumber: number;
|
|
871
871
|
imageData: string;
|
|
872
872
|
}[];
|
|
873
873
|
operation: "convert-to-images";
|
|
@@ -929,8 +929,8 @@ 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
932
|
success: boolean;
|
|
933
|
+
error: string;
|
|
934
934
|
operation: "convert-to-markdown";
|
|
935
935
|
pages: {
|
|
936
936
|
pageNumber: number;
|
|
@@ -944,12 +944,12 @@ 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
|
-
error: string;
|
|
952
951
|
success: boolean;
|
|
952
|
+
error: string;
|
|
953
953
|
operation: "convert-to-markdown";
|
|
954
954
|
pages: {
|
|
955
955
|
pageNumber: number;
|
|
@@ -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 ";
|