@bubblelab/bubble-core 0.1.124 → 0.1.125
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 +116 -116
- package/dist/bubbles/service-bubble/agi-inc.d.ts +128 -128
- package/dist/bubbles/service-bubble/ai-agent.d.ts +48 -48
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +10 -0
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +158 -158
- package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +70 -70
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +94 -94
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +33 -33
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +124 -124
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +146 -146
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +660 -660
- package/dist/bubbles/service-bubble/followupboss.d.ts +160 -160
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +72 -72
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +112 -112
- package/dist/bubbles/service-bubble/github.d.ts +92 -92
- package/dist/bubbles/service-bubble/gmail.d.ts +508 -508
- package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/gmail.js +17 -6
- package/dist/bubbles/service-bubble/gmail.js.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-drive.d.ts +106 -106
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +56 -56
- package/dist/bubbles/service-bubble/http.d.ts +20 -20
- package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
- package/dist/bubbles/service-bubble/jira/jira.d.ts +96 -96
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +106 -106
- package/dist/bubbles/service-bubble/notion/notion.d.ts +482 -482
- package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
- package/dist/bubbles/service-bubble/resend.d.ts +30 -30
- package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/resend.js +13 -4
- package/dist/bubbles/service-bubble/resend.js.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.d.ts +496 -496
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +129 -129
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +147 -147
- package/dist/bubbles/service-bubble/telegram.d.ts +1579 -1579
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +19 -19
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +21 -21
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +66 -66
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +24 -24
- 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-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +104 -104
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +32 -32
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +78 -78
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +64 -64
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +28 -28
- 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 +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +30 -30
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +92 -92
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +9 -9
- package/dist/utils/markdown-to-html.d.ts +6 -0
- package/dist/utils/markdown-to-html.d.ts.map +1 -0
- package/dist/utils/markdown-to-html.js +68 -0
- package/dist/utils/markdown-to-html.js.map +1 -0
- 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
|
quality: number;
|
|
86
|
+
pdfData: string;
|
|
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
|
-
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,13 +139,13 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
139
139
|
type: string;
|
|
140
140
|
name: string;
|
|
141
141
|
id: number;
|
|
142
|
-
label: string;
|
|
143
142
|
width: number;
|
|
144
143
|
height: number;
|
|
144
|
+
label: string;
|
|
145
145
|
page: number;
|
|
146
|
+
choices: string[];
|
|
146
147
|
field_type: string;
|
|
147
148
|
current_value: string;
|
|
148
|
-
choices: string[];
|
|
149
149
|
rect: [number, number, number, number];
|
|
150
150
|
x: number;
|
|
151
151
|
y: number;
|
|
@@ -155,13 +155,13 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
155
155
|
type: string;
|
|
156
156
|
name: string;
|
|
157
157
|
id: number;
|
|
158
|
-
label: string;
|
|
159
158
|
width: number;
|
|
160
159
|
height: number;
|
|
160
|
+
label: string;
|
|
161
161
|
page: number;
|
|
162
|
+
choices: string[];
|
|
162
163
|
field_type: string;
|
|
163
164
|
current_value: string;
|
|
164
|
-
choices: string[];
|
|
165
165
|
rect: [number, number, number, number];
|
|
166
166
|
x: number;
|
|
167
167
|
y: number;
|
|
@@ -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
|
-
|
|
175
|
+
error: string;
|
|
176
|
+
success: boolean;
|
|
176
177
|
fields: {
|
|
177
178
|
type: string;
|
|
178
179
|
name: string;
|
|
179
180
|
id: number;
|
|
180
|
-
label: string;
|
|
181
181
|
width: number;
|
|
182
182
|
height: number;
|
|
183
|
+
label: string;
|
|
183
184
|
page: number;
|
|
185
|
+
choices: string[];
|
|
184
186
|
field_type: string;
|
|
185
187
|
current_value: string;
|
|
186
|
-
choices: string[];
|
|
187
188
|
rect: [number, number, number, number];
|
|
188
189
|
x: number;
|
|
189
190
|
y: number;
|
|
190
191
|
field_flags: number;
|
|
191
192
|
potential_labels: string[];
|
|
192
193
|
}[];
|
|
193
|
-
|
|
194
|
-
success: boolean;
|
|
194
|
+
operation: "discover";
|
|
195
195
|
totalFields: number;
|
|
196
196
|
}, {
|
|
197
|
-
|
|
197
|
+
error: string;
|
|
198
|
+
success: boolean;
|
|
198
199
|
fields: {
|
|
199
200
|
type: string;
|
|
200
201
|
name: string;
|
|
201
202
|
id: number;
|
|
202
|
-
label: string;
|
|
203
203
|
width: number;
|
|
204
204
|
height: number;
|
|
205
|
+
label: string;
|
|
205
206
|
page: number;
|
|
207
|
+
choices: string[];
|
|
206
208
|
field_type: string;
|
|
207
209
|
current_value: string;
|
|
208
|
-
choices: string[];
|
|
209
210
|
rect: [number, number, number, number];
|
|
210
211
|
x: number;
|
|
211
212
|
y: number;
|
|
212
213
|
field_flags: number;
|
|
213
214
|
potential_labels: string[];
|
|
214
215
|
}[];
|
|
215
|
-
|
|
216
|
-
success: boolean;
|
|
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
|
error: string;
|
|
240
239
|
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";
|
|
250
249
|
error: string;
|
|
251
250
|
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";
|
|
282
281
|
error: string;
|
|
283
282
|
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";
|
|
293
292
|
error: string;
|
|
294
293
|
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
|
-
|
|
323
|
+
error: string;
|
|
324
|
+
success: boolean;
|
|
324
325
|
fields: Record<string, {
|
|
325
326
|
value: string;
|
|
326
327
|
type: string;
|
|
327
328
|
page: number;
|
|
328
329
|
}>;
|
|
329
|
-
|
|
330
|
-
success: boolean;
|
|
330
|
+
operation: "validate";
|
|
331
331
|
totalFields: number;
|
|
332
332
|
filledFields: number;
|
|
333
333
|
emptyFields: number;
|
|
334
334
|
}, {
|
|
335
|
-
|
|
335
|
+
error: string;
|
|
336
|
+
success: boolean;
|
|
336
337
|
fields: Record<string, {
|
|
337
338
|
value: string;
|
|
338
339
|
type: string;
|
|
339
340
|
page: number;
|
|
340
341
|
}>;
|
|
341
|
-
|
|
342
|
-
success: boolean;
|
|
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;
|
|
@@ -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
|
error: string;
|
|
374
373
|
success: boolean;
|
|
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
|
-
operation: "convert-to-images";
|
|
386
385
|
error: string;
|
|
387
386
|
success: boolean;
|
|
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<{
|
|
@@ -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
|
error: string;
|
|
455
454
|
success: boolean;
|
|
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;
|
|
468
469
|
totalPages: number;
|
|
469
470
|
convertedPages: number;
|
|
470
|
-
markdown: string;
|
|
471
471
|
}, {
|
|
472
|
-
operation: "convert-to-markdown";
|
|
473
472
|
error: string;
|
|
474
473
|
success: boolean;
|
|
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;
|
|
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>;
|
|
@@ -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
|
quality: number;
|
|
568
|
+
pdfData: string;
|
|
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
|
-
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,13 +618,13 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
618
618
|
type: string;
|
|
619
619
|
name: string;
|
|
620
620
|
id: number;
|
|
621
|
-
label: string;
|
|
622
621
|
width: number;
|
|
623
622
|
height: number;
|
|
623
|
+
label: string;
|
|
624
624
|
page: number;
|
|
625
|
+
choices: string[];
|
|
625
626
|
field_type: string;
|
|
626
627
|
current_value: string;
|
|
627
|
-
choices: string[];
|
|
628
628
|
rect: [number, number, number, number];
|
|
629
629
|
x: number;
|
|
630
630
|
y: number;
|
|
@@ -634,13 +634,13 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
634
634
|
type: string;
|
|
635
635
|
name: string;
|
|
636
636
|
id: number;
|
|
637
|
-
label: string;
|
|
638
637
|
width: number;
|
|
639
638
|
height: number;
|
|
639
|
+
label: string;
|
|
640
640
|
page: number;
|
|
641
|
+
choices: string[];
|
|
641
642
|
field_type: string;
|
|
642
643
|
current_value: string;
|
|
643
|
-
choices: string[];
|
|
644
644
|
rect: [number, number, number, number];
|
|
645
645
|
x: number;
|
|
646
646
|
y: number;
|
|
@@ -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
|
-
|
|
654
|
+
error: string;
|
|
655
|
+
success: boolean;
|
|
655
656
|
fields: {
|
|
656
657
|
type: string;
|
|
657
658
|
name: string;
|
|
658
659
|
id: number;
|
|
659
|
-
label: string;
|
|
660
660
|
width: number;
|
|
661
661
|
height: number;
|
|
662
|
+
label: string;
|
|
662
663
|
page: number;
|
|
664
|
+
choices: string[];
|
|
663
665
|
field_type: string;
|
|
664
666
|
current_value: string;
|
|
665
|
-
choices: string[];
|
|
666
667
|
rect: [number, number, number, number];
|
|
667
668
|
x: number;
|
|
668
669
|
y: number;
|
|
669
670
|
field_flags: number;
|
|
670
671
|
potential_labels: string[];
|
|
671
672
|
}[];
|
|
672
|
-
|
|
673
|
-
success: boolean;
|
|
673
|
+
operation: "discover";
|
|
674
674
|
totalFields: number;
|
|
675
675
|
}, {
|
|
676
|
-
|
|
676
|
+
error: string;
|
|
677
|
+
success: boolean;
|
|
677
678
|
fields: {
|
|
678
679
|
type: string;
|
|
679
680
|
name: string;
|
|
680
681
|
id: number;
|
|
681
|
-
label: string;
|
|
682
682
|
width: number;
|
|
683
683
|
height: number;
|
|
684
|
+
label: string;
|
|
684
685
|
page: number;
|
|
686
|
+
choices: string[];
|
|
685
687
|
field_type: string;
|
|
686
688
|
current_value: string;
|
|
687
|
-
choices: string[];
|
|
688
689
|
rect: [number, number, number, number];
|
|
689
690
|
x: number;
|
|
690
691
|
y: number;
|
|
691
692
|
field_flags: number;
|
|
692
693
|
potential_labels: string[];
|
|
693
694
|
}[];
|
|
694
|
-
|
|
695
|
-
success: boolean;
|
|
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
|
error: string;
|
|
719
718
|
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";
|
|
729
728
|
error: string;
|
|
730
729
|
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";
|
|
761
760
|
error: string;
|
|
762
761
|
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";
|
|
772
771
|
error: string;
|
|
773
772
|
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
|
-
|
|
802
|
+
error: string;
|
|
803
|
+
success: boolean;
|
|
803
804
|
fields: Record<string, {
|
|
804
805
|
value: string;
|
|
805
806
|
type: string;
|
|
806
807
|
page: number;
|
|
807
808
|
}>;
|
|
808
|
-
|
|
809
|
-
success: boolean;
|
|
809
|
+
operation: "validate";
|
|
810
810
|
totalFields: number;
|
|
811
811
|
filledFields: number;
|
|
812
812
|
emptyFields: number;
|
|
813
813
|
}, {
|
|
814
|
-
|
|
814
|
+
error: string;
|
|
815
|
+
success: boolean;
|
|
815
816
|
fields: Record<string, {
|
|
816
817
|
value: string;
|
|
817
818
|
type: string;
|
|
818
819
|
page: number;
|
|
819
820
|
}>;
|
|
820
|
-
|
|
821
|
-
success: boolean;
|
|
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;
|
|
@@ -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
|
error: string;
|
|
853
852
|
success: boolean;
|
|
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
|
-
operation: "convert-to-images";
|
|
865
864
|
error: string;
|
|
866
865
|
success: boolean;
|
|
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<{
|
|
@@ -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
|
error: string;
|
|
934
933
|
success: boolean;
|
|
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;
|
|
947
948
|
totalPages: number;
|
|
948
949
|
convertedPages: number;
|
|
949
|
-
markdown: string;
|
|
950
950
|
}, {
|
|
951
|
-
operation: "convert-to-markdown";
|
|
952
951
|
error: string;
|
|
953
952
|
success: boolean;
|
|
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;
|
|
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 ";
|