@bubblelab/bubble-core 0.1.53 → 0.1.55
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 +110 -110
- package/dist/bubbles/service-bubble/agi-inc.d.ts +172 -172
- package/dist/bubbles/service-bubble/ai-agent.d.ts +66 -66
- package/dist/bubbles/service-bubble/airtable.d.ts +228 -228
- package/dist/bubbles/service-bubble/apify/apify.d.ts +14 -14
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +202 -202
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +180 -180
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +72 -72
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +118 -118
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
- package/dist/bubbles/service-bubble/firecrawl.d.ts +758 -758
- package/dist/bubbles/service-bubble/followupboss.d.ts +436 -436
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +281 -281
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +341 -341
- package/dist/bubbles/service-bubble/github.d.ts +248 -248
- package/dist/bubbles/service-bubble/gmail.d.ts +659 -659
- package/dist/bubbles/service-bubble/google-calendar.d.ts +60 -60
- package/dist/bubbles/service-bubble/google-drive.d.ts +144 -144
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +10 -10
- package/dist/bubbles/service-bubble/hello-world.d.ts +6 -6
- 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 +81 -81
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +37 -37
- package/dist/bubbles/service-bubble/notion/notion.d.ts +2219 -2219
- package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
- package/dist/bubbles/service-bubble/resend.d.ts +44 -44
- package/dist/bubbles/service-bubble/slack/slack.d.ts +615 -615
- package/dist/bubbles/service-bubble/storage.d.ts +60 -60
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +158 -158
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +170 -170
- package/dist/bubbles/service-bubble/telegram.d.ts +1742 -1742
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +24 -24
- 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 +24 -24
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +144 -144
- 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 +12 -12
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +8 -8
- 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 +148 -148
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +164 -164
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +104 -104
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +30 -30
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +162 -162
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +52 -52
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- 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
|
-
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;
|
|
@@ -136,34 +136,34 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
136
136
|
label: z.ZodString;
|
|
137
137
|
potential_labels: z.ZodArray<z.ZodString, "many">;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
id: number;
|
|
140
|
-
name: string;
|
|
141
139
|
type: string;
|
|
140
|
+
name: string;
|
|
141
|
+
id: number;
|
|
142
|
+
x: number;
|
|
143
|
+
y: number;
|
|
144
|
+
label: string;
|
|
142
145
|
width: number;
|
|
143
146
|
height: number;
|
|
144
|
-
label: string;
|
|
145
147
|
page: number;
|
|
146
|
-
choices: string[];
|
|
147
|
-
x: number;
|
|
148
|
-
y: number;
|
|
149
148
|
field_type: string;
|
|
150
149
|
current_value: string;
|
|
150
|
+
choices: string[];
|
|
151
151
|
rect: [number, number, number, number];
|
|
152
152
|
field_flags: number;
|
|
153
153
|
potential_labels: string[];
|
|
154
154
|
}, {
|
|
155
|
-
id: number;
|
|
156
|
-
name: string;
|
|
157
155
|
type: string;
|
|
156
|
+
name: string;
|
|
157
|
+
id: number;
|
|
158
|
+
x: number;
|
|
159
|
+
y: number;
|
|
160
|
+
label: string;
|
|
158
161
|
width: number;
|
|
159
162
|
height: number;
|
|
160
|
-
label: string;
|
|
161
163
|
page: number;
|
|
162
|
-
choices: string[];
|
|
163
|
-
x: number;
|
|
164
|
-
y: number;
|
|
165
164
|
field_type: string;
|
|
166
165
|
current_value: string;
|
|
166
|
+
choices: string[];
|
|
167
167
|
rect: [number, number, number, number];
|
|
168
168
|
field_flags: number;
|
|
169
169
|
potential_labels: string[];
|
|
@@ -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
|
-
operation: "discover";
|
|
176
|
-
success: boolean;
|
|
177
175
|
error: string;
|
|
176
|
+
success: boolean;
|
|
177
|
+
operation: "discover";
|
|
178
178
|
fields: {
|
|
179
|
-
id: number;
|
|
180
|
-
name: string;
|
|
181
179
|
type: string;
|
|
180
|
+
name: string;
|
|
181
|
+
id: number;
|
|
182
|
+
x: number;
|
|
183
|
+
y: number;
|
|
184
|
+
label: string;
|
|
182
185
|
width: number;
|
|
183
186
|
height: number;
|
|
184
|
-
label: string;
|
|
185
187
|
page: number;
|
|
186
|
-
choices: string[];
|
|
187
|
-
x: number;
|
|
188
|
-
y: number;
|
|
189
188
|
field_type: string;
|
|
190
189
|
current_value: string;
|
|
190
|
+
choices: string[];
|
|
191
191
|
rect: [number, number, number, number];
|
|
192
192
|
field_flags: number;
|
|
193
193
|
potential_labels: string[];
|
|
194
194
|
}[];
|
|
195
195
|
totalFields: number;
|
|
196
196
|
}, {
|
|
197
|
-
operation: "discover";
|
|
198
|
-
success: boolean;
|
|
199
197
|
error: string;
|
|
198
|
+
success: boolean;
|
|
199
|
+
operation: "discover";
|
|
200
200
|
fields: {
|
|
201
|
-
id: number;
|
|
202
|
-
name: string;
|
|
203
201
|
type: string;
|
|
202
|
+
name: string;
|
|
203
|
+
id: number;
|
|
204
|
+
x: number;
|
|
205
|
+
y: number;
|
|
206
|
+
label: string;
|
|
204
207
|
width: number;
|
|
205
208
|
height: number;
|
|
206
|
-
label: string;
|
|
207
209
|
page: number;
|
|
208
|
-
choices: string[];
|
|
209
|
-
x: number;
|
|
210
|
-
y: number;
|
|
211
210
|
field_type: string;
|
|
212
211
|
current_value: string;
|
|
212
|
+
choices: string[];
|
|
213
213
|
rect: [number, number, number, number];
|
|
214
214
|
field_flags: number;
|
|
215
215
|
potential_labels: string[];
|
|
@@ -224,36 +224,36 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
224
224
|
type: z.ZodString;
|
|
225
225
|
page: z.ZodNumber;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
|
-
value: string;
|
|
228
227
|
type: string;
|
|
228
|
+
value: string;
|
|
229
229
|
page: number;
|
|
230
230
|
}, {
|
|
231
|
-
value: string;
|
|
232
231
|
type: string;
|
|
232
|
+
value: string;
|
|
233
233
|
page: number;
|
|
234
234
|
}>>;
|
|
235
235
|
success: z.ZodBoolean;
|
|
236
236
|
error: z.ZodString;
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
|
-
operation: "fill";
|
|
239
|
-
success: boolean;
|
|
240
238
|
error: string;
|
|
239
|
+
success: boolean;
|
|
240
|
+
operation: "fill";
|
|
241
241
|
filledPdfData: string;
|
|
242
242
|
filledFields: number;
|
|
243
243
|
verification: Record<string, {
|
|
244
|
-
value: string;
|
|
245
244
|
type: string;
|
|
245
|
+
value: string;
|
|
246
246
|
page: number;
|
|
247
247
|
}>;
|
|
248
248
|
}, {
|
|
249
|
-
operation: "fill";
|
|
250
|
-
success: boolean;
|
|
251
249
|
error: string;
|
|
250
|
+
success: boolean;
|
|
251
|
+
operation: "fill";
|
|
252
252
|
filledPdfData: string;
|
|
253
253
|
filledFields: number;
|
|
254
254
|
verification: Record<string, {
|
|
255
|
-
value: string;
|
|
256
255
|
type: string;
|
|
256
|
+
value: string;
|
|
257
257
|
page: number;
|
|
258
258
|
}>;
|
|
259
259
|
}>, z.ZodObject<{
|
|
@@ -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
|
-
success: boolean;
|
|
283
281
|
error: string;
|
|
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
|
-
success: boolean;
|
|
294
292
|
error: string;
|
|
293
|
+
success: boolean;
|
|
294
|
+
operation: "analyze-checkboxes";
|
|
295
295
|
checkboxes: Record<string, {
|
|
296
296
|
page: number;
|
|
297
297
|
current_value: string;
|
|
@@ -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
|
-
value: string;
|
|
310
309
|
type: string;
|
|
310
|
+
value: string;
|
|
311
311
|
page: number;
|
|
312
312
|
}, {
|
|
313
|
-
value: string;
|
|
314
313
|
type: string;
|
|
314
|
+
value: string;
|
|
315
315
|
page: number;
|
|
316
316
|
}>>;
|
|
317
317
|
totalFields: z.ZodNumber;
|
|
@@ -320,24 +320,24 @@ 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
|
-
success: boolean;
|
|
325
323
|
error: string;
|
|
324
|
+
success: boolean;
|
|
325
|
+
operation: "validate";
|
|
326
326
|
fields: Record<string, {
|
|
327
|
-
value: string;
|
|
328
327
|
type: string;
|
|
328
|
+
value: string;
|
|
329
329
|
page: number;
|
|
330
330
|
}>;
|
|
331
331
|
totalFields: number;
|
|
332
332
|
filledFields: number;
|
|
333
333
|
emptyFields: number;
|
|
334
334
|
}, {
|
|
335
|
-
operation: "validate";
|
|
336
|
-
success: boolean;
|
|
337
335
|
error: string;
|
|
336
|
+
success: boolean;
|
|
337
|
+
operation: "validate";
|
|
338
338
|
fields: Record<string, {
|
|
339
|
-
value: string;
|
|
340
339
|
type: string;
|
|
340
|
+
value: string;
|
|
341
341
|
page: number;
|
|
342
342
|
}>;
|
|
343
343
|
totalFields: 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,27 +369,27 @@ 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
|
-
success: boolean;
|
|
374
372
|
error: string;
|
|
373
|
+
success: boolean;
|
|
374
|
+
operation: "convert-to-images";
|
|
375
375
|
images: {
|
|
376
376
|
format: string;
|
|
377
|
+
pageNumber: number;
|
|
377
378
|
width: number;
|
|
378
379
|
height: number;
|
|
379
|
-
pageNumber: number;
|
|
380
380
|
imageData: string;
|
|
381
381
|
}[];
|
|
382
382
|
totalPages: number;
|
|
383
383
|
convertedPages: number;
|
|
384
384
|
}, {
|
|
385
|
-
operation: "convert-to-images";
|
|
386
|
-
success: boolean;
|
|
387
385
|
error: string;
|
|
386
|
+
success: boolean;
|
|
387
|
+
operation: "convert-to-images";
|
|
388
388
|
images: {
|
|
389
389
|
format: string;
|
|
390
|
+
pageNumber: number;
|
|
390
391
|
width: number;
|
|
391
392
|
height: number;
|
|
392
|
-
pageNumber: number;
|
|
393
393
|
imageData: string;
|
|
394
394
|
}[];
|
|
395
395
|
totalPages: number;
|
|
@@ -408,17 +408,17 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
408
408
|
x: z.ZodNumber;
|
|
409
409
|
y: z.ZodNumber;
|
|
410
410
|
}, "strip", z.ZodTypeAny, {
|
|
411
|
-
id: number;
|
|
412
|
-
name: string;
|
|
413
|
-
value: string;
|
|
414
411
|
type: string;
|
|
412
|
+
value: string;
|
|
413
|
+
name: string;
|
|
414
|
+
id: number;
|
|
415
415
|
x: number;
|
|
416
416
|
y: number;
|
|
417
417
|
}, {
|
|
418
|
-
id: number;
|
|
419
|
-
name: string;
|
|
420
|
-
value: string;
|
|
421
418
|
type: string;
|
|
419
|
+
value: string;
|
|
420
|
+
name: string;
|
|
421
|
+
id: number;
|
|
422
422
|
x: number;
|
|
423
423
|
y: number;
|
|
424
424
|
}>, "many">>;
|
|
@@ -426,10 +426,10 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
426
426
|
pageNumber: number;
|
|
427
427
|
markdown: string;
|
|
428
428
|
formFields?: {
|
|
429
|
-
id: number;
|
|
430
|
-
name: string;
|
|
431
|
-
value: string;
|
|
432
429
|
type: string;
|
|
430
|
+
value: string;
|
|
431
|
+
name: string;
|
|
432
|
+
id: number;
|
|
433
433
|
x: number;
|
|
434
434
|
y: number;
|
|
435
435
|
}[] | undefined;
|
|
@@ -437,10 +437,10 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
437
437
|
pageNumber: number;
|
|
438
438
|
markdown: string;
|
|
439
439
|
formFields?: {
|
|
440
|
-
id: number;
|
|
441
|
-
name: string;
|
|
442
|
-
value: string;
|
|
443
440
|
type: string;
|
|
441
|
+
value: string;
|
|
442
|
+
name: string;
|
|
443
|
+
id: number;
|
|
444
444
|
x: number;
|
|
445
445
|
y: number;
|
|
446
446
|
}[] | undefined;
|
|
@@ -450,43 +450,43 @@ 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
|
-
success: boolean;
|
|
455
453
|
error: string;
|
|
454
|
+
success: boolean;
|
|
455
|
+
operation: "convert-to-markdown";
|
|
456
456
|
pages: {
|
|
457
457
|
pageNumber: number;
|
|
458
458
|
markdown: string;
|
|
459
459
|
formFields?: {
|
|
460
|
-
id: number;
|
|
461
|
-
name: string;
|
|
462
|
-
value: string;
|
|
463
460
|
type: string;
|
|
461
|
+
value: string;
|
|
462
|
+
name: string;
|
|
463
|
+
id: number;
|
|
464
464
|
x: number;
|
|
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
|
-
success: boolean;
|
|
474
472
|
error: string;
|
|
473
|
+
success: boolean;
|
|
474
|
+
operation: "convert-to-markdown";
|
|
475
475
|
pages: {
|
|
476
476
|
pageNumber: number;
|
|
477
477
|
markdown: string;
|
|
478
478
|
formFields?: {
|
|
479
|
-
id: number;
|
|
480
|
-
name: string;
|
|
481
|
-
value: string;
|
|
482
479
|
type: string;
|
|
480
|
+
value: string;
|
|
481
|
+
name: string;
|
|
482
|
+
id: number;
|
|
483
483
|
x: number;
|
|
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>;
|
|
@@ -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;
|
|
@@ -615,34 +615,34 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
615
615
|
label: z.ZodString;
|
|
616
616
|
potential_labels: z.ZodArray<z.ZodString, "many">;
|
|
617
617
|
}, "strip", z.ZodTypeAny, {
|
|
618
|
-
id: number;
|
|
619
|
-
name: string;
|
|
620
618
|
type: string;
|
|
619
|
+
name: string;
|
|
620
|
+
id: number;
|
|
621
|
+
x: number;
|
|
622
|
+
y: number;
|
|
623
|
+
label: string;
|
|
621
624
|
width: number;
|
|
622
625
|
height: number;
|
|
623
|
-
label: string;
|
|
624
626
|
page: number;
|
|
625
|
-
choices: string[];
|
|
626
|
-
x: number;
|
|
627
|
-
y: number;
|
|
628
627
|
field_type: string;
|
|
629
628
|
current_value: string;
|
|
629
|
+
choices: string[];
|
|
630
630
|
rect: [number, number, number, number];
|
|
631
631
|
field_flags: number;
|
|
632
632
|
potential_labels: string[];
|
|
633
633
|
}, {
|
|
634
|
-
id: number;
|
|
635
|
-
name: string;
|
|
636
634
|
type: string;
|
|
635
|
+
name: string;
|
|
636
|
+
id: number;
|
|
637
|
+
x: number;
|
|
638
|
+
y: number;
|
|
639
|
+
label: string;
|
|
637
640
|
width: number;
|
|
638
641
|
height: number;
|
|
639
|
-
label: string;
|
|
640
642
|
page: number;
|
|
641
|
-
choices: string[];
|
|
642
|
-
x: number;
|
|
643
|
-
y: number;
|
|
644
643
|
field_type: string;
|
|
645
644
|
current_value: string;
|
|
645
|
+
choices: string[];
|
|
646
646
|
rect: [number, number, number, number];
|
|
647
647
|
field_flags: number;
|
|
648
648
|
potential_labels: string[];
|
|
@@ -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
|
-
operation: "discover";
|
|
655
|
-
success: boolean;
|
|
656
654
|
error: string;
|
|
655
|
+
success: boolean;
|
|
656
|
+
operation: "discover";
|
|
657
657
|
fields: {
|
|
658
|
-
id: number;
|
|
659
|
-
name: string;
|
|
660
658
|
type: string;
|
|
659
|
+
name: string;
|
|
660
|
+
id: number;
|
|
661
|
+
x: number;
|
|
662
|
+
y: number;
|
|
663
|
+
label: string;
|
|
661
664
|
width: number;
|
|
662
665
|
height: number;
|
|
663
|
-
label: string;
|
|
664
666
|
page: number;
|
|
665
|
-
choices: string[];
|
|
666
|
-
x: number;
|
|
667
|
-
y: number;
|
|
668
667
|
field_type: string;
|
|
669
668
|
current_value: string;
|
|
669
|
+
choices: string[];
|
|
670
670
|
rect: [number, number, number, number];
|
|
671
671
|
field_flags: number;
|
|
672
672
|
potential_labels: string[];
|
|
673
673
|
}[];
|
|
674
674
|
totalFields: number;
|
|
675
675
|
}, {
|
|
676
|
-
operation: "discover";
|
|
677
|
-
success: boolean;
|
|
678
676
|
error: string;
|
|
677
|
+
success: boolean;
|
|
678
|
+
operation: "discover";
|
|
679
679
|
fields: {
|
|
680
|
-
id: number;
|
|
681
|
-
name: string;
|
|
682
680
|
type: string;
|
|
681
|
+
name: string;
|
|
682
|
+
id: number;
|
|
683
|
+
x: number;
|
|
684
|
+
y: number;
|
|
685
|
+
label: string;
|
|
683
686
|
width: number;
|
|
684
687
|
height: number;
|
|
685
|
-
label: string;
|
|
686
688
|
page: number;
|
|
687
|
-
choices: string[];
|
|
688
|
-
x: number;
|
|
689
|
-
y: number;
|
|
690
689
|
field_type: string;
|
|
691
690
|
current_value: string;
|
|
691
|
+
choices: string[];
|
|
692
692
|
rect: [number, number, number, number];
|
|
693
693
|
field_flags: number;
|
|
694
694
|
potential_labels: string[];
|
|
@@ -703,36 +703,36 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
703
703
|
type: z.ZodString;
|
|
704
704
|
page: z.ZodNumber;
|
|
705
705
|
}, "strip", z.ZodTypeAny, {
|
|
706
|
-
value: string;
|
|
707
706
|
type: string;
|
|
707
|
+
value: string;
|
|
708
708
|
page: number;
|
|
709
709
|
}, {
|
|
710
|
-
value: string;
|
|
711
710
|
type: string;
|
|
711
|
+
value: string;
|
|
712
712
|
page: number;
|
|
713
713
|
}>>;
|
|
714
714
|
success: z.ZodBoolean;
|
|
715
715
|
error: z.ZodString;
|
|
716
716
|
}, "strip", z.ZodTypeAny, {
|
|
717
|
-
operation: "fill";
|
|
718
|
-
success: boolean;
|
|
719
717
|
error: string;
|
|
718
|
+
success: boolean;
|
|
719
|
+
operation: "fill";
|
|
720
720
|
filledPdfData: string;
|
|
721
721
|
filledFields: number;
|
|
722
722
|
verification: Record<string, {
|
|
723
|
-
value: string;
|
|
724
723
|
type: string;
|
|
724
|
+
value: string;
|
|
725
725
|
page: number;
|
|
726
726
|
}>;
|
|
727
727
|
}, {
|
|
728
|
-
operation: "fill";
|
|
729
|
-
success: boolean;
|
|
730
728
|
error: string;
|
|
729
|
+
success: boolean;
|
|
730
|
+
operation: "fill";
|
|
731
731
|
filledPdfData: string;
|
|
732
732
|
filledFields: number;
|
|
733
733
|
verification: Record<string, {
|
|
734
|
-
value: string;
|
|
735
734
|
type: string;
|
|
735
|
+
value: string;
|
|
736
736
|
page: number;
|
|
737
737
|
}>;
|
|
738
738
|
}>, z.ZodObject<{
|
|
@@ -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
|
-
success: boolean;
|
|
762
760
|
error: string;
|
|
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
|
-
success: boolean;
|
|
773
771
|
error: string;
|
|
772
|
+
success: boolean;
|
|
773
|
+
operation: "analyze-checkboxes";
|
|
774
774
|
checkboxes: Record<string, {
|
|
775
775
|
page: number;
|
|
776
776
|
current_value: string;
|
|
@@ -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
|
-
value: string;
|
|
789
788
|
type: string;
|
|
789
|
+
value: string;
|
|
790
790
|
page: number;
|
|
791
791
|
}, {
|
|
792
|
-
value: string;
|
|
793
792
|
type: string;
|
|
793
|
+
value: string;
|
|
794
794
|
page: number;
|
|
795
795
|
}>>;
|
|
796
796
|
totalFields: z.ZodNumber;
|
|
@@ -799,24 +799,24 @@ 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
|
-
success: boolean;
|
|
804
802
|
error: string;
|
|
803
|
+
success: boolean;
|
|
804
|
+
operation: "validate";
|
|
805
805
|
fields: Record<string, {
|
|
806
|
-
value: string;
|
|
807
806
|
type: string;
|
|
807
|
+
value: string;
|
|
808
808
|
page: number;
|
|
809
809
|
}>;
|
|
810
810
|
totalFields: number;
|
|
811
811
|
filledFields: number;
|
|
812
812
|
emptyFields: number;
|
|
813
813
|
}, {
|
|
814
|
-
operation: "validate";
|
|
815
|
-
success: boolean;
|
|
816
814
|
error: string;
|
|
815
|
+
success: boolean;
|
|
816
|
+
operation: "validate";
|
|
817
817
|
fields: Record<string, {
|
|
818
|
-
value: string;
|
|
819
818
|
type: string;
|
|
819
|
+
value: string;
|
|
820
820
|
page: number;
|
|
821
821
|
}>;
|
|
822
822
|
totalFields: 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,27 +848,27 @@ 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
|
-
success: boolean;
|
|
853
851
|
error: string;
|
|
852
|
+
success: boolean;
|
|
853
|
+
operation: "convert-to-images";
|
|
854
854
|
images: {
|
|
855
855
|
format: string;
|
|
856
|
+
pageNumber: number;
|
|
856
857
|
width: number;
|
|
857
858
|
height: number;
|
|
858
|
-
pageNumber: number;
|
|
859
859
|
imageData: string;
|
|
860
860
|
}[];
|
|
861
861
|
totalPages: number;
|
|
862
862
|
convertedPages: number;
|
|
863
863
|
}, {
|
|
864
|
-
operation: "convert-to-images";
|
|
865
|
-
success: boolean;
|
|
866
864
|
error: string;
|
|
865
|
+
success: boolean;
|
|
866
|
+
operation: "convert-to-images";
|
|
867
867
|
images: {
|
|
868
868
|
format: string;
|
|
869
|
+
pageNumber: number;
|
|
869
870
|
width: number;
|
|
870
871
|
height: number;
|
|
871
|
-
pageNumber: number;
|
|
872
872
|
imageData: string;
|
|
873
873
|
}[];
|
|
874
874
|
totalPages: number;
|
|
@@ -887,17 +887,17 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
887
887
|
x: z.ZodNumber;
|
|
888
888
|
y: z.ZodNumber;
|
|
889
889
|
}, "strip", z.ZodTypeAny, {
|
|
890
|
-
id: number;
|
|
891
|
-
name: string;
|
|
892
|
-
value: string;
|
|
893
890
|
type: string;
|
|
891
|
+
value: string;
|
|
892
|
+
name: string;
|
|
893
|
+
id: number;
|
|
894
894
|
x: number;
|
|
895
895
|
y: number;
|
|
896
896
|
}, {
|
|
897
|
-
id: number;
|
|
898
|
-
name: string;
|
|
899
|
-
value: string;
|
|
900
897
|
type: string;
|
|
898
|
+
value: string;
|
|
899
|
+
name: string;
|
|
900
|
+
id: number;
|
|
901
901
|
x: number;
|
|
902
902
|
y: number;
|
|
903
903
|
}>, "many">>;
|
|
@@ -905,10 +905,10 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
905
905
|
pageNumber: number;
|
|
906
906
|
markdown: string;
|
|
907
907
|
formFields?: {
|
|
908
|
-
id: number;
|
|
909
|
-
name: string;
|
|
910
|
-
value: string;
|
|
911
908
|
type: string;
|
|
909
|
+
value: string;
|
|
910
|
+
name: string;
|
|
911
|
+
id: number;
|
|
912
912
|
x: number;
|
|
913
913
|
y: number;
|
|
914
914
|
}[] | undefined;
|
|
@@ -916,10 +916,10 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
916
916
|
pageNumber: number;
|
|
917
917
|
markdown: string;
|
|
918
918
|
formFields?: {
|
|
919
|
-
id: number;
|
|
920
|
-
name: string;
|
|
921
|
-
value: string;
|
|
922
919
|
type: string;
|
|
920
|
+
value: string;
|
|
921
|
+
name: string;
|
|
922
|
+
id: number;
|
|
923
923
|
x: number;
|
|
924
924
|
y: number;
|
|
925
925
|
}[] | undefined;
|
|
@@ -929,43 +929,43 @@ 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
|
-
success: boolean;
|
|
934
932
|
error: string;
|
|
933
|
+
success: boolean;
|
|
934
|
+
operation: "convert-to-markdown";
|
|
935
935
|
pages: {
|
|
936
936
|
pageNumber: number;
|
|
937
937
|
markdown: string;
|
|
938
938
|
formFields?: {
|
|
939
|
-
id: number;
|
|
940
|
-
name: string;
|
|
941
|
-
value: string;
|
|
942
939
|
type: string;
|
|
940
|
+
value: string;
|
|
941
|
+
name: string;
|
|
942
|
+
id: number;
|
|
943
943
|
x: number;
|
|
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
|
-
success: boolean;
|
|
953
951
|
error: string;
|
|
952
|
+
success: boolean;
|
|
953
|
+
operation: "convert-to-markdown";
|
|
954
954
|
pages: {
|
|
955
955
|
pageNumber: number;
|
|
956
956
|
markdown: string;
|
|
957
957
|
formFields?: {
|
|
958
|
-
id: number;
|
|
959
|
-
name: string;
|
|
960
|
-
value: string;
|
|
961
958
|
type: string;
|
|
959
|
+
value: string;
|
|
960
|
+
name: string;
|
|
961
|
+
id: number;
|
|
962
962
|
x: number;
|
|
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 ";
|