@bubblelab/bubble-core 0.1.74 → 0.1.75
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 +109 -109
- package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
- package/dist/bubbles/service-bubble/ai-agent.d.ts +24 -24
- package/dist/bubbles/service-bubble/airtable.d.ts +210 -210
- package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/airtable.js +3 -1
- package/dist/bubbles/service-bubble/airtable.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.d.ts +14 -14
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +134 -134
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +16 -16
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +53 -53
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +90 -90
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +250 -250
- package/dist/bubbles/service-bubble/followupboss.d.ts +236 -236
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +16 -16
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/github.d.ts +104 -104
- package/dist/bubbles/service-bubble/gmail.d.ts +176 -176
- package/dist/bubbles/service-bubble/google-calendar.d.ts +28 -28
- package/dist/bubbles/service-bubble/google-drive.d.ts +130 -130
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +42 -42
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +38 -38
- package/dist/bubbles/service-bubble/http.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +38 -38
- package/dist/bubbles/service-bubble/notion/notion.d.ts +512 -512
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +12 -12
- package/dist/bubbles/service-bubble/slack/slack.d.ts +535 -535
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +80 -80
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +71 -71
- package/dist/bubbles/service-bubble/telegram.d.ts +110 -110
- 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 +24 -24
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
- 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 +302 -302
- 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 +94 -94
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- 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 +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +78 -78
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +76 -76
- package/dist/bubbles.json +3 -2
- package/package.json +2 -2
|
@@ -80,8 +80,8 @@ 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
|
-
format: "png" | "jpeg";
|
|
84
83
|
operation: "convert-to-images";
|
|
84
|
+
format: "png" | "jpeg";
|
|
85
85
|
quality: number;
|
|
86
86
|
pdfData: string;
|
|
87
87
|
dpi: number;
|
|
@@ -139,11 +139,11 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
139
139
|
type: string;
|
|
140
140
|
name: string;
|
|
141
141
|
id: number;
|
|
142
|
+
choices: string[];
|
|
142
143
|
width: number;
|
|
143
144
|
height: number;
|
|
144
145
|
label: string;
|
|
145
146
|
page: number;
|
|
146
|
-
choices: string[];
|
|
147
147
|
x: number;
|
|
148
148
|
y: number;
|
|
149
149
|
field_type: string;
|
|
@@ -155,11 +155,11 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
155
155
|
type: string;
|
|
156
156
|
name: string;
|
|
157
157
|
id: number;
|
|
158
|
+
choices: string[];
|
|
158
159
|
width: number;
|
|
159
160
|
height: number;
|
|
160
161
|
label: string;
|
|
161
162
|
page: number;
|
|
162
|
-
choices: string[];
|
|
163
163
|
x: number;
|
|
164
164
|
y: number;
|
|
165
165
|
field_type: string;
|
|
@@ -172,17 +172,16 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
172
172
|
success: z.ZodBoolean;
|
|
173
173
|
error: z.ZodString;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
|
|
176
|
-
success: boolean;
|
|
175
|
+
operation: "discover";
|
|
177
176
|
fields: {
|
|
178
177
|
type: string;
|
|
179
178
|
name: string;
|
|
180
179
|
id: number;
|
|
180
|
+
choices: string[];
|
|
181
181
|
width: number;
|
|
182
182
|
height: number;
|
|
183
183
|
label: string;
|
|
184
184
|
page: number;
|
|
185
|
-
choices: string[];
|
|
186
185
|
x: number;
|
|
187
186
|
y: number;
|
|
188
187
|
field_type: string;
|
|
@@ -191,20 +190,20 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
191
190
|
field_flags: number;
|
|
192
191
|
potential_labels: string[];
|
|
193
192
|
}[];
|
|
194
|
-
operation: "discover";
|
|
195
|
-
totalFields: number;
|
|
196
|
-
}, {
|
|
197
193
|
error: string;
|
|
198
194
|
success: boolean;
|
|
195
|
+
totalFields: number;
|
|
196
|
+
}, {
|
|
197
|
+
operation: "discover";
|
|
199
198
|
fields: {
|
|
200
199
|
type: string;
|
|
201
200
|
name: string;
|
|
202
201
|
id: number;
|
|
202
|
+
choices: string[];
|
|
203
203
|
width: number;
|
|
204
204
|
height: number;
|
|
205
205
|
label: string;
|
|
206
206
|
page: number;
|
|
207
|
-
choices: string[];
|
|
208
207
|
x: number;
|
|
209
208
|
y: number;
|
|
210
209
|
field_type: string;
|
|
@@ -213,7 +212,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
213
212
|
field_flags: number;
|
|
214
213
|
potential_labels: string[];
|
|
215
214
|
}[];
|
|
216
|
-
|
|
215
|
+
error: string;
|
|
216
|
+
success: boolean;
|
|
217
217
|
totalFields: number;
|
|
218
218
|
}>, z.ZodObject<{
|
|
219
219
|
operation: z.ZodLiteral<"fill">;
|
|
@@ -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
|
-
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;
|
|
236
236
|
error: z.ZodString;
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
|
+
operation: "fill";
|
|
238
239
|
error: string;
|
|
239
240
|
success: boolean;
|
|
240
|
-
operation: "fill";
|
|
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
|
}, {
|
|
249
|
+
operation: "fill";
|
|
249
250
|
error: string;
|
|
250
251
|
success: boolean;
|
|
251
|
-
operation: "fill";
|
|
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<{
|
|
@@ -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";
|
|
281
282
|
error: string;
|
|
282
283
|
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";
|
|
292
293
|
error: string;
|
|
293
294
|
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
|
-
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;
|
|
@@ -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
|
-
|
|
324
|
-
success: boolean;
|
|
323
|
+
operation: "validate";
|
|
325
324
|
fields: Record<string, {
|
|
326
|
-
type: string;
|
|
327
325
|
value: string;
|
|
326
|
+
type: string;
|
|
328
327
|
page: number;
|
|
329
328
|
}>;
|
|
330
|
-
|
|
329
|
+
error: string;
|
|
330
|
+
success: boolean;
|
|
331
331
|
totalFields: number;
|
|
332
332
|
filledFields: number;
|
|
333
333
|
emptyFields: number;
|
|
334
334
|
}, {
|
|
335
|
-
|
|
336
|
-
success: boolean;
|
|
335
|
+
operation: "validate";
|
|
337
336
|
fields: Record<string, {
|
|
338
|
-
type: string;
|
|
339
337
|
value: string;
|
|
338
|
+
type: string;
|
|
340
339
|
page: number;
|
|
341
340
|
}>;
|
|
342
|
-
|
|
341
|
+
error: string;
|
|
342
|
+
success: boolean;
|
|
343
343
|
totalFields: number;
|
|
344
344
|
filledFields: number;
|
|
345
345
|
emptyFields: number;
|
|
@@ -369,6 +369,7 @@ 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";
|
|
372
373
|
error: string;
|
|
373
374
|
success: boolean;
|
|
374
375
|
images: {
|
|
@@ -378,10 +379,10 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
378
379
|
pageNumber: number;
|
|
379
380
|
imageData: string;
|
|
380
381
|
}[];
|
|
381
|
-
operation: "convert-to-images";
|
|
382
382
|
totalPages: number;
|
|
383
383
|
convertedPages: number;
|
|
384
384
|
}, {
|
|
385
|
+
operation: "convert-to-images";
|
|
385
386
|
error: string;
|
|
386
387
|
success: boolean;
|
|
387
388
|
images: {
|
|
@@ -391,7 +392,6 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
391
392
|
pageNumber: number;
|
|
392
393
|
imageData: string;
|
|
393
394
|
}[];
|
|
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;
|
|
@@ -450,15 +450,15 @@ 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";
|
|
453
454
|
error: string;
|
|
454
455
|
success: boolean;
|
|
455
|
-
operation: "convert-to-markdown";
|
|
456
456
|
pages: {
|
|
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;
|
|
@@ -469,15 +469,15 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
469
469
|
totalPages: number;
|
|
470
470
|
convertedPages: number;
|
|
471
471
|
}, {
|
|
472
|
+
operation: "convert-to-markdown";
|
|
472
473
|
error: string;
|
|
473
474
|
success: boolean;
|
|
474
|
-
operation: "convert-to-markdown";
|
|
475
475
|
pages: {
|
|
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;
|
|
@@ -562,8 +562,8 @@ 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
|
-
format: "png" | "jpeg";
|
|
566
565
|
operation: "convert-to-images";
|
|
566
|
+
format: "png" | "jpeg";
|
|
567
567
|
quality: number;
|
|
568
568
|
pdfData: string;
|
|
569
569
|
dpi: number;
|
|
@@ -618,11 +618,11 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
618
618
|
type: string;
|
|
619
619
|
name: string;
|
|
620
620
|
id: number;
|
|
621
|
+
choices: string[];
|
|
621
622
|
width: number;
|
|
622
623
|
height: number;
|
|
623
624
|
label: string;
|
|
624
625
|
page: number;
|
|
625
|
-
choices: string[];
|
|
626
626
|
x: number;
|
|
627
627
|
y: number;
|
|
628
628
|
field_type: string;
|
|
@@ -634,11 +634,11 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
634
634
|
type: string;
|
|
635
635
|
name: string;
|
|
636
636
|
id: number;
|
|
637
|
+
choices: string[];
|
|
637
638
|
width: number;
|
|
638
639
|
height: number;
|
|
639
640
|
label: string;
|
|
640
641
|
page: number;
|
|
641
|
-
choices: string[];
|
|
642
642
|
x: number;
|
|
643
643
|
y: number;
|
|
644
644
|
field_type: string;
|
|
@@ -651,17 +651,16 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
651
651
|
success: z.ZodBoolean;
|
|
652
652
|
error: z.ZodString;
|
|
653
653
|
}, "strip", z.ZodTypeAny, {
|
|
654
|
-
|
|
655
|
-
success: boolean;
|
|
654
|
+
operation: "discover";
|
|
656
655
|
fields: {
|
|
657
656
|
type: string;
|
|
658
657
|
name: string;
|
|
659
658
|
id: number;
|
|
659
|
+
choices: string[];
|
|
660
660
|
width: number;
|
|
661
661
|
height: number;
|
|
662
662
|
label: string;
|
|
663
663
|
page: number;
|
|
664
|
-
choices: string[];
|
|
665
664
|
x: number;
|
|
666
665
|
y: number;
|
|
667
666
|
field_type: string;
|
|
@@ -670,20 +669,20 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
670
669
|
field_flags: number;
|
|
671
670
|
potential_labels: string[];
|
|
672
671
|
}[];
|
|
673
|
-
operation: "discover";
|
|
674
|
-
totalFields: number;
|
|
675
|
-
}, {
|
|
676
672
|
error: string;
|
|
677
673
|
success: boolean;
|
|
674
|
+
totalFields: number;
|
|
675
|
+
}, {
|
|
676
|
+
operation: "discover";
|
|
678
677
|
fields: {
|
|
679
678
|
type: string;
|
|
680
679
|
name: string;
|
|
681
680
|
id: number;
|
|
681
|
+
choices: string[];
|
|
682
682
|
width: number;
|
|
683
683
|
height: number;
|
|
684
684
|
label: string;
|
|
685
685
|
page: number;
|
|
686
|
-
choices: string[];
|
|
687
686
|
x: number;
|
|
688
687
|
y: number;
|
|
689
688
|
field_type: string;
|
|
@@ -692,7 +691,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
692
691
|
field_flags: number;
|
|
693
692
|
potential_labels: string[];
|
|
694
693
|
}[];
|
|
695
|
-
|
|
694
|
+
error: string;
|
|
695
|
+
success: boolean;
|
|
696
696
|
totalFields: number;
|
|
697
697
|
}>, z.ZodObject<{
|
|
698
698
|
operation: z.ZodLiteral<"fill">;
|
|
@@ -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
|
-
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;
|
|
715
715
|
error: z.ZodString;
|
|
716
716
|
}, "strip", z.ZodTypeAny, {
|
|
717
|
+
operation: "fill";
|
|
717
718
|
error: string;
|
|
718
719
|
success: boolean;
|
|
719
|
-
operation: "fill";
|
|
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
|
}, {
|
|
728
|
+
operation: "fill";
|
|
728
729
|
error: string;
|
|
729
730
|
success: boolean;
|
|
730
|
-
operation: "fill";
|
|
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<{
|
|
@@ -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";
|
|
760
761
|
error: string;
|
|
761
762
|
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";
|
|
771
772
|
error: string;
|
|
772
773
|
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
|
-
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;
|
|
@@ -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
|
-
|
|
803
|
-
success: boolean;
|
|
802
|
+
operation: "validate";
|
|
804
803
|
fields: Record<string, {
|
|
805
|
-
type: string;
|
|
806
804
|
value: string;
|
|
805
|
+
type: string;
|
|
807
806
|
page: number;
|
|
808
807
|
}>;
|
|
809
|
-
|
|
808
|
+
error: string;
|
|
809
|
+
success: boolean;
|
|
810
810
|
totalFields: number;
|
|
811
811
|
filledFields: number;
|
|
812
812
|
emptyFields: number;
|
|
813
813
|
}, {
|
|
814
|
-
|
|
815
|
-
success: boolean;
|
|
814
|
+
operation: "validate";
|
|
816
815
|
fields: Record<string, {
|
|
817
|
-
type: string;
|
|
818
816
|
value: string;
|
|
817
|
+
type: string;
|
|
819
818
|
page: number;
|
|
820
819
|
}>;
|
|
821
|
-
|
|
820
|
+
error: string;
|
|
821
|
+
success: boolean;
|
|
822
822
|
totalFields: number;
|
|
823
823
|
filledFields: number;
|
|
824
824
|
emptyFields: number;
|
|
@@ -848,6 +848,7 @@ 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";
|
|
851
852
|
error: string;
|
|
852
853
|
success: boolean;
|
|
853
854
|
images: {
|
|
@@ -857,10 +858,10 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
857
858
|
pageNumber: number;
|
|
858
859
|
imageData: string;
|
|
859
860
|
}[];
|
|
860
|
-
operation: "convert-to-images";
|
|
861
861
|
totalPages: number;
|
|
862
862
|
convertedPages: number;
|
|
863
863
|
}, {
|
|
864
|
+
operation: "convert-to-images";
|
|
864
865
|
error: string;
|
|
865
866
|
success: boolean;
|
|
866
867
|
images: {
|
|
@@ -870,7 +871,6 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
870
871
|
pageNumber: number;
|
|
871
872
|
imageData: string;
|
|
872
873
|
}[];
|
|
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;
|
|
@@ -929,15 +929,15 @@ 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";
|
|
932
933
|
error: string;
|
|
933
934
|
success: boolean;
|
|
934
|
-
operation: "convert-to-markdown";
|
|
935
935
|
pages: {
|
|
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;
|
|
@@ -948,15 +948,15 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
948
948
|
totalPages: number;
|
|
949
949
|
convertedPages: number;
|
|
950
950
|
}, {
|
|
951
|
+
operation: "convert-to-markdown";
|
|
951
952
|
error: string;
|
|
952
953
|
success: boolean;
|
|
953
|
-
operation: "convert-to-markdown";
|
|
954
954
|
pages: {
|
|
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;
|