@bubblelab/bubble-core 0.1.158 → 0.1.160
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 +150 -128
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +144 -144
- package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
- package/dist/bubbles/service-bubble/airtable.d.ts +184 -184
- package/dist/bubbles/service-bubble/apify/apify.d.ts +24 -24
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +152 -152
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +55 -55
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +63 -63
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +98 -98
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
- package/dist/bubbles/service-bubble/firecrawl.d.ts +264 -264
- package/dist/bubbles/service-bubble/followupboss.d.ts +282 -282
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +40 -40
- package/dist/bubbles/service-bubble/github.d.ts +216 -216
- package/dist/bubbles/service-bubble/gmail.d.ts +228 -228
- package/dist/bubbles/service-bubble/google-calendar.d.ts +62 -62
- package/dist/bubbles/service-bubble/google-drive.d.ts +152 -152
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/insforge-db.d.ts +6 -6
- package/dist/bubbles/service-bubble/jira/jira.d.ts +107 -107
- package/dist/bubbles/service-bubble/notion/notion.d.ts +932 -932
- package/dist/bubbles/service-bubble/postgresql.d.ts +6 -6
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +73 -73
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +93 -93
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.schema.js +16 -23
- package/dist/bubbles/service-bubble/posthog/posthog.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/resend.d.ts +16 -16
- package/dist/bubbles/service-bubble/sendsafely/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/sendsafely/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/index.js +4 -0
- package/dist/bubbles/service-bubble/sendsafely/index.js.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +247 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.js +212 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.js.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +270 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.js +144 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.utils.d.ts +78 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.utils.js +171 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/slack/slack.d.ts +324 -324
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +161 -161
- package/dist/bubbles/service-bubble/telegram.d.ts +264 -264
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +18 -18
- 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 +22 -22
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +108 -108
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +42 -42
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
- 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 +16 -16
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- 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 +68 -68
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +62 -62
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +316 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/dist/bubble-trigger/index.d.ts +0 -2
- package/dist/bubble-trigger/index.d.ts.map +0 -1
- package/dist/bubble-trigger/index.js +0 -2
- package/dist/bubble-trigger/index.js.map +0 -1
- package/dist/bubble-trigger/types.d.ts +0 -87
- package/dist/bubble-trigger/types.d.ts.map +0 -1
- package/dist/bubble-trigger/types.js +0 -14
- package/dist/bubble-trigger/types.js.map +0 -1
- package/dist/bubbles/service-bubble/google-sheets.d.ts +0 -1811
- package/dist/bubbles/service-bubble/google-sheets.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/google-sheets.js +0 -904
- package/dist/bubbles/service-bubble/google-sheets.js.map +0 -1
- package/dist/bubbles/service-bubble/slack.d.ts +0 -5869
- package/dist/bubbles/service-bubble/slack.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/slack.js +0 -1536
- package/dist/bubbles/service-bubble/slack.js.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +0 -3
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +0 -3
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +0 -160
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +0 -706
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +0 -93
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +0 -50
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +0 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +0 -114
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +0 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +0 -777
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +0 -1
- package/dist/types/ai-models.d.ts +0 -4
- package/dist/types/ai-models.d.ts.map +0 -1
- package/dist/types/ai-models.js +0 -16
- package/dist/types/ai-models.js.map +0 -1
- package/dist/utils/param-helper.d.ts +0 -2
- package/dist/utils/param-helper.d.ts.map +0 -1
- package/dist/utils/param-helper.js +0 -5
- package/dist/utils/param-helper.js.map +0 -1
|
@@ -136,9 +136,9 @@ 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
139
|
type: string;
|
|
141
140
|
name: string;
|
|
141
|
+
id: number;
|
|
142
142
|
width: number;
|
|
143
143
|
height: number;
|
|
144
144
|
label: string;
|
|
@@ -152,9 +152,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
152
152
|
field_flags: number;
|
|
153
153
|
potential_labels: string[];
|
|
154
154
|
}, {
|
|
155
|
-
id: number;
|
|
156
155
|
type: string;
|
|
157
156
|
name: string;
|
|
157
|
+
id: number;
|
|
158
158
|
width: number;
|
|
159
159
|
height: number;
|
|
160
160
|
label: string;
|
|
@@ -172,13 +172,12 @@ 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;
|
|
178
177
|
fields: {
|
|
179
|
-
id: number;
|
|
180
178
|
type: string;
|
|
181
179
|
name: string;
|
|
180
|
+
id: number;
|
|
182
181
|
width: number;
|
|
183
182
|
height: number;
|
|
184
183
|
label: string;
|
|
@@ -192,15 +191,15 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
192
191
|
field_flags: number;
|
|
193
192
|
potential_labels: string[];
|
|
194
193
|
}[];
|
|
194
|
+
operation: "discover";
|
|
195
195
|
totalFields: number;
|
|
196
196
|
}, {
|
|
197
|
-
operation: "discover";
|
|
198
|
-
success: boolean;
|
|
199
197
|
error: string;
|
|
198
|
+
success: boolean;
|
|
200
199
|
fields: {
|
|
201
|
-
id: number;
|
|
202
200
|
type: string;
|
|
203
201
|
name: string;
|
|
202
|
+
id: number;
|
|
204
203
|
width: number;
|
|
205
204
|
height: number;
|
|
206
205
|
label: string;
|
|
@@ -214,6 +213,7 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
214
213
|
field_flags: number;
|
|
215
214
|
potential_labels: string[];
|
|
216
215
|
}[];
|
|
216
|
+
operation: "discover";
|
|
217
217
|
totalFields: number;
|
|
218
218
|
}>, z.ZodObject<{
|
|
219
219
|
operation: z.ZodLiteral<"fill">;
|
|
@@ -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
|
-
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, {
|
|
@@ -246,9 +246,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
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, {
|
|
@@ -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;
|
|
@@ -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
|
-
operation: "validate";
|
|
324
|
-
success: boolean;
|
|
325
323
|
error: string;
|
|
324
|
+
success: boolean;
|
|
326
325
|
fields: Record<string, {
|
|
327
326
|
value: string;
|
|
328
327
|
type: string;
|
|
329
328
|
page: number;
|
|
330
329
|
}>;
|
|
330
|
+
operation: "validate";
|
|
331
331
|
totalFields: number;
|
|
332
332
|
filledFields: number;
|
|
333
333
|
emptyFields: number;
|
|
334
334
|
}, {
|
|
335
|
-
operation: "validate";
|
|
336
|
-
success: boolean;
|
|
337
335
|
error: string;
|
|
336
|
+
success: boolean;
|
|
338
337
|
fields: Record<string, {
|
|
339
338
|
value: string;
|
|
340
339
|
type: string;
|
|
341
340
|
page: number;
|
|
342
341
|
}>;
|
|
342
|
+
operation: "validate";
|
|
343
343
|
totalFields: number;
|
|
344
344
|
filledFields: number;
|
|
345
345
|
emptyFields: number;
|
|
@@ -369,9 +369,8 @@ 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;
|
|
375
374
|
images: {
|
|
376
375
|
format: string;
|
|
377
376
|
width: number;
|
|
@@ -379,12 +378,12 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
379
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
|
-
success: boolean;
|
|
387
385
|
error: string;
|
|
386
|
+
success: boolean;
|
|
388
387
|
images: {
|
|
389
388
|
format: string;
|
|
390
389
|
width: number;
|
|
@@ -392,6 +391,7 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
392
391
|
pageNumber: number;
|
|
393
392
|
imageData: string;
|
|
394
393
|
}[];
|
|
394
|
+
operation: "convert-to-images";
|
|
395
395
|
totalPages: number;
|
|
396
396
|
convertedPages: number;
|
|
397
397
|
}>, z.ZodObject<{
|
|
@@ -408,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
411
|
value: string;
|
|
413
412
|
type: string;
|
|
414
413
|
name: string;
|
|
414
|
+
id: number;
|
|
415
415
|
x: number;
|
|
416
416
|
y: number;
|
|
417
417
|
}, {
|
|
418
|
-
id: number;
|
|
419
418
|
value: string;
|
|
420
419
|
type: string;
|
|
421
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
429
|
value: string;
|
|
431
430
|
type: string;
|
|
432
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
440
|
value: string;
|
|
442
441
|
type: string;
|
|
443
442
|
name: string;
|
|
443
|
+
id: number;
|
|
444
444
|
x: number;
|
|
445
445
|
y: number;
|
|
446
446
|
}[] | undefined;
|
|
@@ -450,17 +450,17 @@ 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
460
|
value: string;
|
|
462
461
|
type: string;
|
|
463
462
|
name: string;
|
|
463
|
+
id: number;
|
|
464
464
|
x: number;
|
|
465
465
|
y: number;
|
|
466
466
|
}[] | undefined;
|
|
@@ -469,17 +469,17 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
469
469
|
totalPages: number;
|
|
470
470
|
convertedPages: number;
|
|
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
479
|
value: string;
|
|
481
480
|
type: string;
|
|
482
481
|
name: string;
|
|
482
|
+
id: number;
|
|
483
483
|
x: number;
|
|
484
484
|
y: number;
|
|
485
485
|
}[] | undefined;
|
|
@@ -615,9 +615,9 @@ 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
618
|
type: string;
|
|
620
619
|
name: string;
|
|
620
|
+
id: number;
|
|
621
621
|
width: number;
|
|
622
622
|
height: number;
|
|
623
623
|
label: string;
|
|
@@ -631,9 +631,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
631
631
|
field_flags: number;
|
|
632
632
|
potential_labels: string[];
|
|
633
633
|
}, {
|
|
634
|
-
id: number;
|
|
635
634
|
type: string;
|
|
636
635
|
name: string;
|
|
636
|
+
id: number;
|
|
637
637
|
width: number;
|
|
638
638
|
height: number;
|
|
639
639
|
label: string;
|
|
@@ -651,13 +651,12 @@ 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;
|
|
657
656
|
fields: {
|
|
658
|
-
id: number;
|
|
659
657
|
type: string;
|
|
660
658
|
name: string;
|
|
659
|
+
id: number;
|
|
661
660
|
width: number;
|
|
662
661
|
height: number;
|
|
663
662
|
label: string;
|
|
@@ -671,15 +670,15 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
671
670
|
field_flags: number;
|
|
672
671
|
potential_labels: string[];
|
|
673
672
|
}[];
|
|
673
|
+
operation: "discover";
|
|
674
674
|
totalFields: number;
|
|
675
675
|
}, {
|
|
676
|
-
operation: "discover";
|
|
677
|
-
success: boolean;
|
|
678
676
|
error: string;
|
|
677
|
+
success: boolean;
|
|
679
678
|
fields: {
|
|
680
|
-
id: number;
|
|
681
679
|
type: string;
|
|
682
680
|
name: string;
|
|
681
|
+
id: number;
|
|
683
682
|
width: number;
|
|
684
683
|
height: number;
|
|
685
684
|
label: string;
|
|
@@ -693,6 +692,7 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
693
692
|
field_flags: number;
|
|
694
693
|
potential_labels: string[];
|
|
695
694
|
}[];
|
|
695
|
+
operation: "discover";
|
|
696
696
|
totalFields: number;
|
|
697
697
|
}>, z.ZodObject<{
|
|
698
698
|
operation: z.ZodLiteral<"fill">;
|
|
@@ -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
|
-
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, {
|
|
@@ -725,9 +725,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
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, {
|
|
@@ -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;
|
|
@@ -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
|
-
operation: "validate";
|
|
803
|
-
success: boolean;
|
|
804
802
|
error: string;
|
|
803
|
+
success: boolean;
|
|
805
804
|
fields: Record<string, {
|
|
806
805
|
value: string;
|
|
807
806
|
type: string;
|
|
808
807
|
page: number;
|
|
809
808
|
}>;
|
|
809
|
+
operation: "validate";
|
|
810
810
|
totalFields: number;
|
|
811
811
|
filledFields: number;
|
|
812
812
|
emptyFields: number;
|
|
813
813
|
}, {
|
|
814
|
-
operation: "validate";
|
|
815
|
-
success: boolean;
|
|
816
814
|
error: string;
|
|
815
|
+
success: boolean;
|
|
817
816
|
fields: Record<string, {
|
|
818
817
|
value: string;
|
|
819
818
|
type: string;
|
|
820
819
|
page: number;
|
|
821
820
|
}>;
|
|
821
|
+
operation: "validate";
|
|
822
822
|
totalFields: number;
|
|
823
823
|
filledFields: number;
|
|
824
824
|
emptyFields: number;
|
|
@@ -848,9 +848,8 @@ 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;
|
|
854
853
|
images: {
|
|
855
854
|
format: string;
|
|
856
855
|
width: number;
|
|
@@ -858,12 +857,12 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
858
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
|
-
success: boolean;
|
|
866
864
|
error: string;
|
|
865
|
+
success: boolean;
|
|
867
866
|
images: {
|
|
868
867
|
format: string;
|
|
869
868
|
width: number;
|
|
@@ -871,6 +870,7 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
871
870
|
pageNumber: number;
|
|
872
871
|
imageData: string;
|
|
873
872
|
}[];
|
|
873
|
+
operation: "convert-to-images";
|
|
874
874
|
totalPages: number;
|
|
875
875
|
convertedPages: number;
|
|
876
876
|
}>, z.ZodObject<{
|
|
@@ -887,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
890
|
value: string;
|
|
892
891
|
type: string;
|
|
893
892
|
name: string;
|
|
893
|
+
id: number;
|
|
894
894
|
x: number;
|
|
895
895
|
y: number;
|
|
896
896
|
}, {
|
|
897
|
-
id: number;
|
|
898
897
|
value: string;
|
|
899
898
|
type: string;
|
|
900
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
908
|
value: string;
|
|
910
909
|
type: string;
|
|
911
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
919
|
value: string;
|
|
921
920
|
type: string;
|
|
922
921
|
name: string;
|
|
922
|
+
id: number;
|
|
923
923
|
x: number;
|
|
924
924
|
y: number;
|
|
925
925
|
}[] | undefined;
|
|
@@ -929,17 +929,17 @@ 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
939
|
value: string;
|
|
941
940
|
type: string;
|
|
942
941
|
name: string;
|
|
942
|
+
id: number;
|
|
943
943
|
x: number;
|
|
944
944
|
y: number;
|
|
945
945
|
}[] | undefined;
|
|
@@ -948,17 +948,17 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
948
948
|
totalPages: number;
|
|
949
949
|
convertedPages: number;
|
|
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
958
|
value: string;
|
|
960
959
|
type: string;
|
|
961
960
|
name: string;
|
|
961
|
+
id: number;
|
|
962
962
|
x: number;
|
|
963
963
|
y: number;
|
|
964
964
|
}[] | undefined;
|