@bubblelab/bubble-core 0.1.112 → 0.1.114
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 +118 -118
- package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
- package/dist/bubbles/service-bubble/ai-agent.d.ts +50 -48
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +40 -5
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +302 -302
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +88 -88
- package/dist/bubbles/service-bubble/apify/apify.d.ts +42 -42
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +230 -230
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +57 -57
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +84 -84
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +87 -87
- package/dist/bubbles/service-bubble/confluence/confluence.schema.js +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +96 -96
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
- package/dist/bubbles/service-bubble/firecrawl.d.ts +372 -372
- package/dist/bubbles/service-bubble/followupboss.d.ts +326 -326
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
- package/dist/bubbles/service-bubble/github.d.ts +238 -238
- package/dist/bubbles/service-bubble/gmail.d.ts +676 -676
- 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/hello-world.d.ts +6 -6
- package/dist/bubbles/service-bubble/http.d.ts +18 -18
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +69 -69
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1346 -1346
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/salesforce/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/salesforce/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/index.js +4 -0
- package/dist/bubbles/service-bubble/salesforce/index.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts +1331 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.js +618 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts +1445 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js +609 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts +87 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js +181 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/slack/slack.d.ts +512 -512
- package/dist/bubbles/service-bubble/storage.d.ts +44 -44
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +164 -164
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/telegram.d.ts +254 -254
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +32 -32
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +12 -12
- 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 +26 -26
- 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 +12 -12
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +348 -348
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +6 -6
- 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 +72 -72
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +178 -178
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +16 -16
- 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 +20 -20
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +40 -40
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +48 -48
- 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 +36 -36
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +134 -134
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +4 -2
- package/dist/capabilities/define-capability.d.ts +6 -0
- package/dist/capabilities/define-capability.d.ts.map +1 -1
- package/dist/capabilities/define-capability.js +7 -0
- package/dist/capabilities/define-capability.js.map +1 -1
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -92,8 +92,8 @@ declare const PDFFormOperationsParamsSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
92
92
|
pdfData: string;
|
|
93
93
|
format?: "png" | "jpeg" | undefined;
|
|
94
94
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
95
|
-
quality?: number | undefined;
|
|
96
95
|
pages?: number[] | undefined;
|
|
96
|
+
quality?: number | undefined;
|
|
97
97
|
dpi?: number | undefined;
|
|
98
98
|
}>, z.ZodObject<{
|
|
99
99
|
operation: z.ZodLiteral<"convert-to-markdown">;
|
|
@@ -136,14 +136,14 @@ 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
|
-
type: string;
|
|
140
|
-
name: string;
|
|
141
|
-
choices: string[];
|
|
142
139
|
id: number;
|
|
140
|
+
name: string;
|
|
141
|
+
type: string;
|
|
142
|
+
page: number;
|
|
143
143
|
width: number;
|
|
144
144
|
height: number;
|
|
145
145
|
label: string;
|
|
146
|
-
|
|
146
|
+
choices: string[];
|
|
147
147
|
x: number;
|
|
148
148
|
y: number;
|
|
149
149
|
field_type: string;
|
|
@@ -152,14 +152,14 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
152
152
|
field_flags: number;
|
|
153
153
|
potential_labels: string[];
|
|
154
154
|
}, {
|
|
155
|
-
type: string;
|
|
156
|
-
name: string;
|
|
157
|
-
choices: string[];
|
|
158
155
|
id: number;
|
|
156
|
+
name: string;
|
|
157
|
+
type: string;
|
|
158
|
+
page: number;
|
|
159
159
|
width: number;
|
|
160
160
|
height: number;
|
|
161
161
|
label: string;
|
|
162
|
-
|
|
162
|
+
choices: string[];
|
|
163
163
|
x: number;
|
|
164
164
|
y: number;
|
|
165
165
|
field_type: string;
|
|
@@ -172,17 +172,18 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
172
172
|
success: z.ZodBoolean;
|
|
173
173
|
error: z.ZodString;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
|
|
175
|
+
operation: "discover";
|
|
176
176
|
success: boolean;
|
|
177
|
+
error: string;
|
|
177
178
|
fields: {
|
|
178
|
-
type: string;
|
|
179
|
-
name: string;
|
|
180
|
-
choices: string[];
|
|
181
179
|
id: number;
|
|
180
|
+
name: string;
|
|
181
|
+
type: string;
|
|
182
|
+
page: number;
|
|
182
183
|
width: number;
|
|
183
184
|
height: number;
|
|
184
185
|
label: string;
|
|
185
|
-
|
|
186
|
+
choices: string[];
|
|
186
187
|
x: number;
|
|
187
188
|
y: number;
|
|
188
189
|
field_type: string;
|
|
@@ -191,20 +192,20 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
191
192
|
field_flags: number;
|
|
192
193
|
potential_labels: string[];
|
|
193
194
|
}[];
|
|
194
|
-
operation: "discover";
|
|
195
195
|
totalFields: number;
|
|
196
196
|
}, {
|
|
197
|
-
|
|
197
|
+
operation: "discover";
|
|
198
198
|
success: boolean;
|
|
199
|
+
error: string;
|
|
199
200
|
fields: {
|
|
200
|
-
type: string;
|
|
201
|
-
name: string;
|
|
202
|
-
choices: string[];
|
|
203
201
|
id: number;
|
|
202
|
+
name: string;
|
|
203
|
+
type: string;
|
|
204
|
+
page: number;
|
|
204
205
|
width: number;
|
|
205
206
|
height: number;
|
|
206
207
|
label: string;
|
|
207
|
-
|
|
208
|
+
choices: string[];
|
|
208
209
|
x: number;
|
|
209
210
|
y: number;
|
|
210
211
|
field_type: string;
|
|
@@ -213,7 +214,6 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
213
214
|
field_flags: number;
|
|
214
215
|
potential_labels: string[];
|
|
215
216
|
}[];
|
|
216
|
-
operation: "discover";
|
|
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
|
-
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
|
-
error: string;
|
|
239
|
-
success: boolean;
|
|
240
238
|
operation: "fill";
|
|
239
|
+
success: boolean;
|
|
240
|
+
error: string;
|
|
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
|
-
error: string;
|
|
250
|
-
success: boolean;
|
|
251
249
|
operation: "fill";
|
|
250
|
+
success: boolean;
|
|
251
|
+
error: string;
|
|
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
|
-
error: string;
|
|
282
|
-
success: boolean;
|
|
283
281
|
operation: "analyze-checkboxes";
|
|
282
|
+
success: boolean;
|
|
283
|
+
error: string;
|
|
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
|
-
error: string;
|
|
293
|
-
success: boolean;
|
|
294
292
|
operation: "analyze-checkboxes";
|
|
293
|
+
success: boolean;
|
|
294
|
+
error: string;
|
|
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,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
|
+
operation: "validate";
|
|
324
324
|
success: boolean;
|
|
325
|
+
error: string;
|
|
325
326
|
fields: Record<string, {
|
|
326
|
-
value: string;
|
|
327
327
|
type: string;
|
|
328
|
+
value: string;
|
|
328
329
|
page: number;
|
|
329
330
|
}>;
|
|
330
|
-
operation: "validate";
|
|
331
331
|
totalFields: number;
|
|
332
332
|
filledFields: number;
|
|
333
333
|
emptyFields: number;
|
|
334
334
|
}, {
|
|
335
|
-
|
|
335
|
+
operation: "validate";
|
|
336
336
|
success: boolean;
|
|
337
|
+
error: string;
|
|
337
338
|
fields: Record<string, {
|
|
338
|
-
value: string;
|
|
339
339
|
type: string;
|
|
340
|
+
value: string;
|
|
340
341
|
page: number;
|
|
341
342
|
}>;
|
|
342
|
-
operation: "validate";
|
|
343
343
|
totalFields: number;
|
|
344
344
|
filledFields: number;
|
|
345
345
|
emptyFields: number;
|
|
@@ -369,8 +369,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
369
369
|
success: z.ZodBoolean;
|
|
370
370
|
error: z.ZodString;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
|
|
372
|
+
operation: "convert-to-images";
|
|
373
373
|
success: boolean;
|
|
374
|
+
error: string;
|
|
374
375
|
images: {
|
|
375
376
|
format: string;
|
|
376
377
|
width: number;
|
|
@@ -378,12 +379,12 @@ 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
|
-
|
|
385
|
+
operation: "convert-to-images";
|
|
386
386
|
success: boolean;
|
|
387
|
+
error: string;
|
|
387
388
|
images: {
|
|
388
389
|
format: string;
|
|
389
390
|
width: number;
|
|
@@ -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,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
|
-
value: string;
|
|
412
|
-
type: string;
|
|
413
|
-
name: string;
|
|
414
411
|
id: number;
|
|
412
|
+
name: string;
|
|
413
|
+
type: string;
|
|
414
|
+
value: string;
|
|
415
415
|
x: number;
|
|
416
416
|
y: number;
|
|
417
417
|
}, {
|
|
418
|
-
value: string;
|
|
419
|
-
type: string;
|
|
420
|
-
name: string;
|
|
421
418
|
id: number;
|
|
419
|
+
name: string;
|
|
420
|
+
type: string;
|
|
421
|
+
value: string;
|
|
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
|
-
value: string;
|
|
430
|
-
type: string;
|
|
431
|
-
name: string;
|
|
432
429
|
id: number;
|
|
430
|
+
name: string;
|
|
431
|
+
type: string;
|
|
432
|
+
value: string;
|
|
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
|
-
value: string;
|
|
441
|
-
type: string;
|
|
442
|
-
name: string;
|
|
443
440
|
id: number;
|
|
441
|
+
name: string;
|
|
442
|
+
type: string;
|
|
443
|
+
value: string;
|
|
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
|
-
error: string;
|
|
454
|
-
success: boolean;
|
|
455
453
|
operation: "convert-to-markdown";
|
|
454
|
+
success: boolean;
|
|
455
|
+
error: string;
|
|
456
456
|
pages: {
|
|
457
457
|
pageNumber: number;
|
|
458
458
|
markdown: string;
|
|
459
459
|
formFields?: {
|
|
460
|
-
value: string;
|
|
461
|
-
type: string;
|
|
462
|
-
name: string;
|
|
463
460
|
id: number;
|
|
461
|
+
name: string;
|
|
462
|
+
type: string;
|
|
463
|
+
value: string;
|
|
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
|
-
error: string;
|
|
473
|
-
success: boolean;
|
|
474
472
|
operation: "convert-to-markdown";
|
|
473
|
+
success: boolean;
|
|
474
|
+
error: string;
|
|
475
475
|
pages: {
|
|
476
476
|
pageNumber: number;
|
|
477
477
|
markdown: string;
|
|
478
478
|
formFields?: {
|
|
479
|
-
value: string;
|
|
480
|
-
type: string;
|
|
481
|
-
name: string;
|
|
482
479
|
id: number;
|
|
480
|
+
name: string;
|
|
481
|
+
type: string;
|
|
482
|
+
value: string;
|
|
483
483
|
x: number;
|
|
484
484
|
y: number;
|
|
485
485
|
}[] | undefined;
|
|
@@ -574,8 +574,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
574
574
|
pdfData: string;
|
|
575
575
|
format?: "png" | "jpeg" | undefined;
|
|
576
576
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
577
|
-
quality?: number | undefined;
|
|
578
577
|
pages?: number[] | undefined;
|
|
578
|
+
quality?: number | undefined;
|
|
579
579
|
dpi?: number | undefined;
|
|
580
580
|
}>, z.ZodObject<{
|
|
581
581
|
operation: z.ZodLiteral<"convert-to-markdown">;
|
|
@@ -615,14 +615,14 @@ 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
|
-
type: string;
|
|
619
|
-
name: string;
|
|
620
|
-
choices: string[];
|
|
621
618
|
id: number;
|
|
619
|
+
name: string;
|
|
620
|
+
type: string;
|
|
621
|
+
page: number;
|
|
622
622
|
width: number;
|
|
623
623
|
height: number;
|
|
624
624
|
label: string;
|
|
625
|
-
|
|
625
|
+
choices: string[];
|
|
626
626
|
x: number;
|
|
627
627
|
y: number;
|
|
628
628
|
field_type: string;
|
|
@@ -631,14 +631,14 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
631
631
|
field_flags: number;
|
|
632
632
|
potential_labels: string[];
|
|
633
633
|
}, {
|
|
634
|
-
type: string;
|
|
635
|
-
name: string;
|
|
636
|
-
choices: string[];
|
|
637
634
|
id: number;
|
|
635
|
+
name: string;
|
|
636
|
+
type: string;
|
|
637
|
+
page: number;
|
|
638
638
|
width: number;
|
|
639
639
|
height: number;
|
|
640
640
|
label: string;
|
|
641
|
-
|
|
641
|
+
choices: string[];
|
|
642
642
|
x: number;
|
|
643
643
|
y: number;
|
|
644
644
|
field_type: string;
|
|
@@ -651,17 +651,18 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
651
651
|
success: z.ZodBoolean;
|
|
652
652
|
error: z.ZodString;
|
|
653
653
|
}, "strip", z.ZodTypeAny, {
|
|
654
|
-
|
|
654
|
+
operation: "discover";
|
|
655
655
|
success: boolean;
|
|
656
|
+
error: string;
|
|
656
657
|
fields: {
|
|
657
|
-
type: string;
|
|
658
|
-
name: string;
|
|
659
|
-
choices: string[];
|
|
660
658
|
id: number;
|
|
659
|
+
name: string;
|
|
660
|
+
type: string;
|
|
661
|
+
page: number;
|
|
661
662
|
width: number;
|
|
662
663
|
height: number;
|
|
663
664
|
label: string;
|
|
664
|
-
|
|
665
|
+
choices: string[];
|
|
665
666
|
x: number;
|
|
666
667
|
y: number;
|
|
667
668
|
field_type: string;
|
|
@@ -670,20 +671,20 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
670
671
|
field_flags: number;
|
|
671
672
|
potential_labels: string[];
|
|
672
673
|
}[];
|
|
673
|
-
operation: "discover";
|
|
674
674
|
totalFields: number;
|
|
675
675
|
}, {
|
|
676
|
-
|
|
676
|
+
operation: "discover";
|
|
677
677
|
success: boolean;
|
|
678
|
+
error: string;
|
|
678
679
|
fields: {
|
|
679
|
-
type: string;
|
|
680
|
-
name: string;
|
|
681
|
-
choices: string[];
|
|
682
680
|
id: number;
|
|
681
|
+
name: string;
|
|
682
|
+
type: string;
|
|
683
|
+
page: number;
|
|
683
684
|
width: number;
|
|
684
685
|
height: number;
|
|
685
686
|
label: string;
|
|
686
|
-
|
|
687
|
+
choices: string[];
|
|
687
688
|
x: number;
|
|
688
689
|
y: number;
|
|
689
690
|
field_type: string;
|
|
@@ -692,7 +693,6 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
692
693
|
field_flags: number;
|
|
693
694
|
potential_labels: string[];
|
|
694
695
|
}[];
|
|
695
|
-
operation: "discover";
|
|
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
|
-
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
|
-
error: string;
|
|
718
|
-
success: boolean;
|
|
719
717
|
operation: "fill";
|
|
718
|
+
success: boolean;
|
|
719
|
+
error: string;
|
|
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
|
-
error: string;
|
|
729
|
-
success: boolean;
|
|
730
728
|
operation: "fill";
|
|
729
|
+
success: boolean;
|
|
730
|
+
error: string;
|
|
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
|
-
error: string;
|
|
761
|
-
success: boolean;
|
|
762
760
|
operation: "analyze-checkboxes";
|
|
761
|
+
success: boolean;
|
|
762
|
+
error: string;
|
|
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
|
-
error: string;
|
|
772
|
-
success: boolean;
|
|
773
771
|
operation: "analyze-checkboxes";
|
|
772
|
+
success: boolean;
|
|
773
|
+
error: string;
|
|
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,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
|
+
operation: "validate";
|
|
803
803
|
success: boolean;
|
|
804
|
+
error: string;
|
|
804
805
|
fields: Record<string, {
|
|
805
|
-
value: string;
|
|
806
806
|
type: string;
|
|
807
|
+
value: string;
|
|
807
808
|
page: number;
|
|
808
809
|
}>;
|
|
809
|
-
operation: "validate";
|
|
810
810
|
totalFields: number;
|
|
811
811
|
filledFields: number;
|
|
812
812
|
emptyFields: number;
|
|
813
813
|
}, {
|
|
814
|
-
|
|
814
|
+
operation: "validate";
|
|
815
815
|
success: boolean;
|
|
816
|
+
error: string;
|
|
816
817
|
fields: Record<string, {
|
|
817
|
-
value: string;
|
|
818
818
|
type: string;
|
|
819
|
+
value: string;
|
|
819
820
|
page: number;
|
|
820
821
|
}>;
|
|
821
|
-
operation: "validate";
|
|
822
822
|
totalFields: number;
|
|
823
823
|
filledFields: number;
|
|
824
824
|
emptyFields: number;
|
|
@@ -848,8 +848,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
848
848
|
success: z.ZodBoolean;
|
|
849
849
|
error: z.ZodString;
|
|
850
850
|
}, "strip", z.ZodTypeAny, {
|
|
851
|
-
|
|
851
|
+
operation: "convert-to-images";
|
|
852
852
|
success: boolean;
|
|
853
|
+
error: string;
|
|
853
854
|
images: {
|
|
854
855
|
format: string;
|
|
855
856
|
width: number;
|
|
@@ -857,12 +858,12 @@ 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
|
-
|
|
864
|
+
operation: "convert-to-images";
|
|
865
865
|
success: boolean;
|
|
866
|
+
error: string;
|
|
866
867
|
images: {
|
|
867
868
|
format: string;
|
|
868
869
|
width: number;
|
|
@@ -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,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
|
-
value: string;
|
|
891
|
-
type: string;
|
|
892
|
-
name: string;
|
|
893
890
|
id: number;
|
|
891
|
+
name: string;
|
|
892
|
+
type: string;
|
|
893
|
+
value: string;
|
|
894
894
|
x: number;
|
|
895
895
|
y: number;
|
|
896
896
|
}, {
|
|
897
|
-
value: string;
|
|
898
|
-
type: string;
|
|
899
|
-
name: string;
|
|
900
897
|
id: number;
|
|
898
|
+
name: string;
|
|
899
|
+
type: string;
|
|
900
|
+
value: string;
|
|
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
|
-
value: string;
|
|
909
|
-
type: string;
|
|
910
|
-
name: string;
|
|
911
908
|
id: number;
|
|
909
|
+
name: string;
|
|
910
|
+
type: string;
|
|
911
|
+
value: string;
|
|
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
|
-
value: string;
|
|
920
|
-
type: string;
|
|
921
|
-
name: string;
|
|
922
919
|
id: number;
|
|
920
|
+
name: string;
|
|
921
|
+
type: string;
|
|
922
|
+
value: string;
|
|
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
|
-
error: string;
|
|
933
|
-
success: boolean;
|
|
934
932
|
operation: "convert-to-markdown";
|
|
933
|
+
success: boolean;
|
|
934
|
+
error: string;
|
|
935
935
|
pages: {
|
|
936
936
|
pageNumber: number;
|
|
937
937
|
markdown: string;
|
|
938
938
|
formFields?: {
|
|
939
|
-
value: string;
|
|
940
|
-
type: string;
|
|
941
|
-
name: string;
|
|
942
939
|
id: number;
|
|
940
|
+
name: string;
|
|
941
|
+
type: string;
|
|
942
|
+
value: string;
|
|
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
|
-
error: string;
|
|
952
|
-
success: boolean;
|
|
953
951
|
operation: "convert-to-markdown";
|
|
952
|
+
success: boolean;
|
|
953
|
+
error: string;
|
|
954
954
|
pages: {
|
|
955
955
|
pageNumber: number;
|
|
956
956
|
markdown: string;
|
|
957
957
|
formFields?: {
|
|
958
|
-
value: string;
|
|
959
|
-
type: string;
|
|
960
|
-
name: string;
|
|
961
958
|
id: number;
|
|
959
|
+
name: string;
|
|
960
|
+
type: string;
|
|
961
|
+
value: string;
|
|
962
962
|
x: number;
|
|
963
963
|
y: number;
|
|
964
964
|
}[] | undefined;
|