@bubblelab/bubble-core 0.1.25 → 0.1.26
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 +82 -66
- package/dist/bubbles/service-bubble/agi-inc.d.ts +56 -56
- package/dist/bubbles/service-bubble/ai-agent.d.ts +18 -18
- package/dist/bubbles/service-bubble/airtable.d.ts +116 -116
- package/dist/bubbles/service-bubble/apify/apify.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +30 -30
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +88 -88
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
- package/dist/bubbles/service-bubble/firecrawl.d.ts +64 -64
- package/dist/bubbles/service-bubble/followupboss.d.ts +176 -176
- package/dist/bubbles/service-bubble/github.d.ts +80 -80
- package/dist/bubbles/service-bubble/gmail.d.ts +172 -172
- package/dist/bubbles/service-bubble/google-calendar.d.ts +36 -36
- package/dist/bubbles/service-bubble/google-drive.d.ts +56 -56
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
- package/dist/bubbles/service-bubble/hello-world.d.ts +2 -2
- package/dist/bubbles/service-bubble/notion/notion.d.ts +874 -874
- package/dist/bubbles/service-bubble/resend.d.ts +16 -16
- package/dist/bubbles/service-bubble/slack/slack.d.ts +144 -144
- package/dist/bubbles/service-bubble/storage.d.ts +30 -30
- package/dist/bubbles/service-bubble/telegram.d.ts +208 -208
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +138 -138
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +38 -38
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +173 -173
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/people-search-tool.js +22 -6
- package/dist/bubbles/tool-bubble/people-search-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +52 -52
- package/dist/bubbles.json +52054 -6
- package/dist/types/available-tools.d.ts +1 -1
- package/dist/types/available-tools.d.ts.map +1 -1
- package/dist/types/available-tools.js +1 -0
- package/dist/types/available-tools.js.map +1 -1
- package/package.json +3 -3
|
@@ -17,8 +17,8 @@ declare const YouTubeVideoSchema: z.ZodObject<{
|
|
|
17
17
|
comments: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
thumbnail: z.ZodNullable<z.ZodString>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
title: string | null;
|
|
21
20
|
description: string | null;
|
|
21
|
+
title: string | null;
|
|
22
22
|
date: string | null;
|
|
23
23
|
url: string | null;
|
|
24
24
|
duration: string | null;
|
|
@@ -31,8 +31,8 @@ declare const YouTubeVideoSchema: z.ZodObject<{
|
|
|
31
31
|
channelUrl: string | null;
|
|
32
32
|
subscribers: number | null;
|
|
33
33
|
}, {
|
|
34
|
-
title: string | null;
|
|
35
34
|
description: string | null;
|
|
35
|
+
title: string | null;
|
|
36
36
|
date: string | null;
|
|
37
37
|
url: string | null;
|
|
38
38
|
duration: string | null;
|
|
@@ -103,8 +103,8 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
|
|
|
103
103
|
comments: z.ZodNullable<z.ZodNumber>;
|
|
104
104
|
thumbnail: z.ZodNullable<z.ZodString>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
title: string | null;
|
|
107
106
|
description: string | null;
|
|
107
|
+
title: string | null;
|
|
108
108
|
date: string | null;
|
|
109
109
|
url: string | null;
|
|
110
110
|
duration: string | null;
|
|
@@ -117,8 +117,8 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
|
|
|
117
117
|
channelUrl: string | null;
|
|
118
118
|
subscribers: number | null;
|
|
119
119
|
}, {
|
|
120
|
-
title: string | null;
|
|
121
120
|
description: string | null;
|
|
121
|
+
title: string | null;
|
|
122
122
|
date: string | null;
|
|
123
123
|
url: string | null;
|
|
124
124
|
duration: string | null;
|
|
@@ -149,13 +149,13 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
|
|
|
149
149
|
success: z.ZodBoolean;
|
|
150
150
|
error: z.ZodString;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
153
152
|
success: boolean;
|
|
154
153
|
error: string;
|
|
154
|
+
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
155
155
|
totalResults: number;
|
|
156
156
|
videos?: {
|
|
157
|
-
title: string | null;
|
|
158
157
|
description: string | null;
|
|
158
|
+
title: string | null;
|
|
159
159
|
date: string | null;
|
|
160
160
|
url: string | null;
|
|
161
161
|
duration: string | null;
|
|
@@ -175,13 +175,13 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
|
|
|
175
175
|
}[] | undefined;
|
|
176
176
|
fullTranscriptText?: string | undefined;
|
|
177
177
|
}, {
|
|
178
|
-
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
179
178
|
success: boolean;
|
|
180
179
|
error: string;
|
|
180
|
+
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
181
181
|
totalResults: number;
|
|
182
182
|
videos?: {
|
|
183
|
-
title: string | null;
|
|
184
183
|
description: string | null;
|
|
184
|
+
title: string | null;
|
|
185
185
|
date: string | null;
|
|
186
186
|
url: string | null;
|
|
187
187
|
duration: string | null;
|
|
@@ -261,8 +261,8 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
|
|
|
261
261
|
comments: z.ZodNullable<z.ZodNumber>;
|
|
262
262
|
thumbnail: z.ZodNullable<z.ZodString>;
|
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
|
264
|
-
title: string | null;
|
|
265
264
|
description: string | null;
|
|
265
|
+
title: string | null;
|
|
266
266
|
date: string | null;
|
|
267
267
|
url: string | null;
|
|
268
268
|
duration: string | null;
|
|
@@ -275,8 +275,8 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
|
|
|
275
275
|
channelUrl: string | null;
|
|
276
276
|
subscribers: number | null;
|
|
277
277
|
}, {
|
|
278
|
-
title: string | null;
|
|
279
278
|
description: string | null;
|
|
279
|
+
title: string | null;
|
|
280
280
|
date: string | null;
|
|
281
281
|
url: string | null;
|
|
282
282
|
duration: string | null;
|
|
@@ -307,13 +307,13 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
|
|
|
307
307
|
success: z.ZodBoolean;
|
|
308
308
|
error: z.ZodString;
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
|
-
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
311
310
|
success: boolean;
|
|
312
311
|
error: string;
|
|
312
|
+
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
313
313
|
totalResults: number;
|
|
314
314
|
videos?: {
|
|
315
|
-
title: string | null;
|
|
316
315
|
description: string | null;
|
|
316
|
+
title: string | null;
|
|
317
317
|
date: string | null;
|
|
318
318
|
url: string | null;
|
|
319
319
|
duration: string | null;
|
|
@@ -333,13 +333,13 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
|
|
|
333
333
|
}[] | undefined;
|
|
334
334
|
fullTranscriptText?: string | undefined;
|
|
335
335
|
}, {
|
|
336
|
-
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
337
336
|
success: boolean;
|
|
338
337
|
error: string;
|
|
338
|
+
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
339
339
|
totalResults: number;
|
|
340
340
|
videos?: {
|
|
341
|
-
title: string | null;
|
|
342
341
|
description: string | null;
|
|
342
|
+
title: string | null;
|
|
343
343
|
date: string | null;
|
|
344
344
|
url: string | null;
|
|
345
345
|
duration: string | null;
|
|
@@ -156,13 +156,13 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
|
|
|
156
156
|
type: z.ZodEnum<["string", "number", "integer", "float", "date", "boolean"]>;
|
|
157
157
|
description: z.ZodString;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
name: string;
|
|
160
159
|
type: "string" | "number" | "boolean" | "integer" | "float" | "date";
|
|
161
160
|
description: string;
|
|
162
|
-
}, {
|
|
163
161
|
name: string;
|
|
162
|
+
}, {
|
|
164
163
|
type: "string" | "number" | "boolean" | "integer" | "float" | "date";
|
|
165
164
|
description: string;
|
|
165
|
+
name: string;
|
|
166
166
|
}>, "many">;
|
|
167
167
|
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, "many">;
|
|
168
168
|
metadata: z.ZodObject<{
|
|
@@ -224,9 +224,9 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
|
|
|
224
224
|
};
|
|
225
225
|
rows: Record<string, string | number | boolean | null>[];
|
|
226
226
|
columns: {
|
|
227
|
-
name: string;
|
|
228
227
|
type: "string" | "number" | "boolean" | "integer" | "float" | "date";
|
|
229
228
|
description: string;
|
|
229
|
+
name: string;
|
|
230
230
|
}[];
|
|
231
231
|
aiAnalysis: {
|
|
232
232
|
model: string;
|
|
@@ -250,9 +250,9 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
|
|
|
250
250
|
};
|
|
251
251
|
rows: Record<string, string | number | boolean | null>[];
|
|
252
252
|
columns: {
|
|
253
|
-
name: string;
|
|
254
253
|
type: "string" | "number" | "boolean" | "integer" | "float" | "date";
|
|
255
254
|
description: string;
|
|
255
|
+
name: string;
|
|
256
256
|
}[];
|
|
257
257
|
aiAnalysis: {
|
|
258
258
|
model: string;
|
|
@@ -408,13 +408,13 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
|
|
|
408
408
|
type: z.ZodEnum<["string", "number", "integer", "float", "date", "boolean"]>;
|
|
409
409
|
description: z.ZodString;
|
|
410
410
|
}, "strip", z.ZodTypeAny, {
|
|
411
|
-
name: string;
|
|
412
411
|
type: "string" | "number" | "boolean" | "integer" | "float" | "date";
|
|
413
412
|
description: string;
|
|
414
|
-
}, {
|
|
415
413
|
name: string;
|
|
414
|
+
}, {
|
|
416
415
|
type: "string" | "number" | "boolean" | "integer" | "float" | "date";
|
|
417
416
|
description: string;
|
|
417
|
+
name: string;
|
|
418
418
|
}>, "many">;
|
|
419
419
|
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, "many">;
|
|
420
420
|
metadata: z.ZodObject<{
|
|
@@ -476,9 +476,9 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
|
|
|
476
476
|
};
|
|
477
477
|
rows: Record<string, string | number | boolean | null>[];
|
|
478
478
|
columns: {
|
|
479
|
-
name: string;
|
|
480
479
|
type: "string" | "number" | "boolean" | "integer" | "float" | "date";
|
|
481
480
|
description: string;
|
|
481
|
+
name: string;
|
|
482
482
|
}[];
|
|
483
483
|
aiAnalysis: {
|
|
484
484
|
model: string;
|
|
@@ -502,9 +502,9 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
|
|
|
502
502
|
};
|
|
503
503
|
rows: Record<string, string | number | boolean | null>[];
|
|
504
504
|
columns: {
|
|
505
|
-
name: string;
|
|
506
505
|
type: "string" | "number" | "boolean" | "integer" | "float" | "date";
|
|
507
506
|
description: string;
|
|
507
|
+
name: string;
|
|
508
508
|
}[];
|
|
509
509
|
aiAnalysis: {
|
|
510
510
|
model: string;
|
|
@@ -136,8 +136,8 @@ 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
|
-
name: string;
|
|
140
139
|
type: string;
|
|
140
|
+
name: string;
|
|
141
141
|
id: number;
|
|
142
142
|
width: number;
|
|
143
143
|
height: number;
|
|
@@ -152,8 +152,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
152
152
|
field_flags: number;
|
|
153
153
|
potential_labels: string[];
|
|
154
154
|
}, {
|
|
155
|
-
name: string;
|
|
156
155
|
type: string;
|
|
156
|
+
name: string;
|
|
157
157
|
id: number;
|
|
158
158
|
width: number;
|
|
159
159
|
height: number;
|
|
@@ -172,10 +172,12 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
172
172
|
success: z.ZodBoolean;
|
|
173
173
|
error: z.ZodString;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
+
success: boolean;
|
|
176
|
+
error: string;
|
|
175
177
|
operation: "discover";
|
|
176
178
|
fields: {
|
|
177
|
-
name: string;
|
|
178
179
|
type: string;
|
|
180
|
+
name: string;
|
|
179
181
|
id: number;
|
|
180
182
|
width: number;
|
|
181
183
|
height: number;
|
|
@@ -190,14 +192,14 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
190
192
|
field_flags: number;
|
|
191
193
|
potential_labels: string[];
|
|
192
194
|
}[];
|
|
193
|
-
success: boolean;
|
|
194
|
-
error: string;
|
|
195
195
|
totalFields: number;
|
|
196
196
|
}, {
|
|
197
|
+
success: boolean;
|
|
198
|
+
error: string;
|
|
197
199
|
operation: "discover";
|
|
198
200
|
fields: {
|
|
199
|
-
name: string;
|
|
200
201
|
type: string;
|
|
202
|
+
name: string;
|
|
201
203
|
id: number;
|
|
202
204
|
width: number;
|
|
203
205
|
height: number;
|
|
@@ -212,8 +214,6 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
212
214
|
field_flags: number;
|
|
213
215
|
potential_labels: string[];
|
|
214
216
|
}[];
|
|
215
|
-
success: boolean;
|
|
216
|
-
error: string;
|
|
217
217
|
totalFields: number;
|
|
218
218
|
}>, z.ZodObject<{
|
|
219
219
|
operation: z.ZodLiteral<"fill">;
|
|
@@ -235,9 +235,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
235
235
|
success: z.ZodBoolean;
|
|
236
236
|
error: z.ZodString;
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
|
-
operation: "fill";
|
|
239
238
|
success: boolean;
|
|
240
239
|
error: string;
|
|
240
|
+
operation: "fill";
|
|
241
241
|
filledPdfData: string;
|
|
242
242
|
filledFields: number;
|
|
243
243
|
verification: Record<string, {
|
|
@@ -246,9 +246,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
246
246
|
page: number;
|
|
247
247
|
}>;
|
|
248
248
|
}, {
|
|
249
|
-
operation: "fill";
|
|
250
249
|
success: boolean;
|
|
251
250
|
error: string;
|
|
251
|
+
operation: "fill";
|
|
252
252
|
filledPdfData: string;
|
|
253
253
|
filledFields: number;
|
|
254
254
|
verification: Record<string, {
|
|
@@ -278,9 +278,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
278
278
|
success: z.ZodBoolean;
|
|
279
279
|
error: z.ZodString;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
operation: "analyze-checkboxes";
|
|
282
281
|
success: boolean;
|
|
283
282
|
error: string;
|
|
283
|
+
operation: "analyze-checkboxes";
|
|
284
284
|
checkboxes: Record<string, {
|
|
285
285
|
page: number;
|
|
286
286
|
current_value: string;
|
|
@@ -289,9 +289,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
289
289
|
}>;
|
|
290
290
|
totalCheckboxes: number;
|
|
291
291
|
}, {
|
|
292
|
-
operation: "analyze-checkboxes";
|
|
293
292
|
success: boolean;
|
|
294
293
|
error: string;
|
|
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
|
+
success: boolean;
|
|
324
|
+
error: string;
|
|
323
325
|
operation: "validate";
|
|
324
326
|
fields: Record<string, {
|
|
325
327
|
value: string;
|
|
326
328
|
type: string;
|
|
327
329
|
page: number;
|
|
328
330
|
}>;
|
|
329
|
-
success: boolean;
|
|
330
|
-
error: string;
|
|
331
331
|
totalFields: number;
|
|
332
332
|
filledFields: number;
|
|
333
333
|
emptyFields: number;
|
|
334
334
|
}, {
|
|
335
|
+
success: boolean;
|
|
336
|
+
error: string;
|
|
335
337
|
operation: "validate";
|
|
336
338
|
fields: Record<string, {
|
|
337
339
|
value: string;
|
|
338
340
|
type: string;
|
|
339
341
|
page: number;
|
|
340
342
|
}>;
|
|
341
|
-
success: boolean;
|
|
342
|
-
error: string;
|
|
343
343
|
totalFields: number;
|
|
344
344
|
filledFields: number;
|
|
345
345
|
emptyFields: number;
|
|
@@ -369,9 +369,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
369
369
|
success: z.ZodBoolean;
|
|
370
370
|
error: z.ZodString;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
operation: "convert-to-images";
|
|
373
372
|
success: boolean;
|
|
374
373
|
error: string;
|
|
374
|
+
operation: "convert-to-images";
|
|
375
375
|
images: {
|
|
376
376
|
format: string;
|
|
377
377
|
width: number;
|
|
@@ -382,9 +382,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
382
382
|
totalPages: number;
|
|
383
383
|
convertedPages: number;
|
|
384
384
|
}, {
|
|
385
|
-
operation: "convert-to-images";
|
|
386
385
|
success: boolean;
|
|
387
386
|
error: string;
|
|
387
|
+
operation: "convert-to-images";
|
|
388
388
|
images: {
|
|
389
389
|
format: string;
|
|
390
390
|
width: number;
|
|
@@ -408,16 +408,16 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
408
408
|
x: z.ZodNumber;
|
|
409
409
|
y: z.ZodNumber;
|
|
410
410
|
}, "strip", z.ZodTypeAny, {
|
|
411
|
-
name: string;
|
|
412
411
|
value: string;
|
|
413
412
|
type: string;
|
|
413
|
+
name: string;
|
|
414
414
|
id: number;
|
|
415
415
|
x: number;
|
|
416
416
|
y: number;
|
|
417
417
|
}, {
|
|
418
|
-
name: string;
|
|
419
418
|
value: string;
|
|
420
419
|
type: string;
|
|
420
|
+
name: string;
|
|
421
421
|
id: number;
|
|
422
422
|
x: number;
|
|
423
423
|
y: number;
|
|
@@ -426,9 +426,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
426
426
|
pageNumber: number;
|
|
427
427
|
markdown: string;
|
|
428
428
|
formFields?: {
|
|
429
|
-
name: string;
|
|
430
429
|
value: string;
|
|
431
430
|
type: string;
|
|
431
|
+
name: string;
|
|
432
432
|
id: number;
|
|
433
433
|
x: number;
|
|
434
434
|
y: number;
|
|
@@ -437,9 +437,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
437
437
|
pageNumber: number;
|
|
438
438
|
markdown: string;
|
|
439
439
|
formFields?: {
|
|
440
|
-
name: string;
|
|
441
440
|
value: string;
|
|
442
441
|
type: string;
|
|
442
|
+
name: string;
|
|
443
443
|
id: number;
|
|
444
444
|
x: number;
|
|
445
445
|
y: number;
|
|
@@ -450,16 +450,16 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
450
450
|
success: z.ZodBoolean;
|
|
451
451
|
error: z.ZodString;
|
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
|
453
|
-
operation: "convert-to-markdown";
|
|
454
453
|
success: boolean;
|
|
455
454
|
error: string;
|
|
455
|
+
operation: "convert-to-markdown";
|
|
456
456
|
pages: {
|
|
457
457
|
pageNumber: number;
|
|
458
458
|
markdown: string;
|
|
459
459
|
formFields?: {
|
|
460
|
-
name: string;
|
|
461
460
|
value: string;
|
|
462
461
|
type: string;
|
|
462
|
+
name: string;
|
|
463
463
|
id: number;
|
|
464
464
|
x: number;
|
|
465
465
|
y: number;
|
|
@@ -469,16 +469,16 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
469
469
|
totalPages: number;
|
|
470
470
|
convertedPages: number;
|
|
471
471
|
}, {
|
|
472
|
-
operation: "convert-to-markdown";
|
|
473
472
|
success: boolean;
|
|
474
473
|
error: string;
|
|
474
|
+
operation: "convert-to-markdown";
|
|
475
475
|
pages: {
|
|
476
476
|
pageNumber: number;
|
|
477
477
|
markdown: string;
|
|
478
478
|
formFields?: {
|
|
479
|
-
name: string;
|
|
480
479
|
value: string;
|
|
481
480
|
type: string;
|
|
481
|
+
name: string;
|
|
482
482
|
id: number;
|
|
483
483
|
x: number;
|
|
484
484
|
y: number;
|
|
@@ -615,8 +615,8 @@ 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
|
-
name: string;
|
|
619
618
|
type: string;
|
|
619
|
+
name: string;
|
|
620
620
|
id: number;
|
|
621
621
|
width: number;
|
|
622
622
|
height: number;
|
|
@@ -631,8 +631,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
631
631
|
field_flags: number;
|
|
632
632
|
potential_labels: string[];
|
|
633
633
|
}, {
|
|
634
|
-
name: string;
|
|
635
634
|
type: string;
|
|
635
|
+
name: string;
|
|
636
636
|
id: number;
|
|
637
637
|
width: number;
|
|
638
638
|
height: number;
|
|
@@ -651,10 +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
|
+
success: boolean;
|
|
655
|
+
error: string;
|
|
654
656
|
operation: "discover";
|
|
655
657
|
fields: {
|
|
656
|
-
name: string;
|
|
657
658
|
type: string;
|
|
659
|
+
name: string;
|
|
658
660
|
id: number;
|
|
659
661
|
width: number;
|
|
660
662
|
height: number;
|
|
@@ -669,14 +671,14 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
669
671
|
field_flags: number;
|
|
670
672
|
potential_labels: string[];
|
|
671
673
|
}[];
|
|
672
|
-
success: boolean;
|
|
673
|
-
error: string;
|
|
674
674
|
totalFields: number;
|
|
675
675
|
}, {
|
|
676
|
+
success: boolean;
|
|
677
|
+
error: string;
|
|
676
678
|
operation: "discover";
|
|
677
679
|
fields: {
|
|
678
|
-
name: string;
|
|
679
680
|
type: string;
|
|
681
|
+
name: string;
|
|
680
682
|
id: number;
|
|
681
683
|
width: number;
|
|
682
684
|
height: number;
|
|
@@ -691,8 +693,6 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
691
693
|
field_flags: number;
|
|
692
694
|
potential_labels: string[];
|
|
693
695
|
}[];
|
|
694
|
-
success: boolean;
|
|
695
|
-
error: string;
|
|
696
696
|
totalFields: number;
|
|
697
697
|
}>, z.ZodObject<{
|
|
698
698
|
operation: z.ZodLiteral<"fill">;
|
|
@@ -714,9 +714,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
714
714
|
success: z.ZodBoolean;
|
|
715
715
|
error: z.ZodString;
|
|
716
716
|
}, "strip", z.ZodTypeAny, {
|
|
717
|
-
operation: "fill";
|
|
718
717
|
success: boolean;
|
|
719
718
|
error: string;
|
|
719
|
+
operation: "fill";
|
|
720
720
|
filledPdfData: string;
|
|
721
721
|
filledFields: number;
|
|
722
722
|
verification: Record<string, {
|
|
@@ -725,9 +725,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
725
725
|
page: number;
|
|
726
726
|
}>;
|
|
727
727
|
}, {
|
|
728
|
-
operation: "fill";
|
|
729
728
|
success: boolean;
|
|
730
729
|
error: string;
|
|
730
|
+
operation: "fill";
|
|
731
731
|
filledPdfData: string;
|
|
732
732
|
filledFields: number;
|
|
733
733
|
verification: Record<string, {
|
|
@@ -757,9 +757,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
757
757
|
success: z.ZodBoolean;
|
|
758
758
|
error: z.ZodString;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
|
-
operation: "analyze-checkboxes";
|
|
761
760
|
success: boolean;
|
|
762
761
|
error: string;
|
|
762
|
+
operation: "analyze-checkboxes";
|
|
763
763
|
checkboxes: Record<string, {
|
|
764
764
|
page: number;
|
|
765
765
|
current_value: string;
|
|
@@ -768,9 +768,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
768
768
|
}>;
|
|
769
769
|
totalCheckboxes: number;
|
|
770
770
|
}, {
|
|
771
|
-
operation: "analyze-checkboxes";
|
|
772
771
|
success: boolean;
|
|
773
772
|
error: string;
|
|
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
|
+
success: boolean;
|
|
803
|
+
error: string;
|
|
802
804
|
operation: "validate";
|
|
803
805
|
fields: Record<string, {
|
|
804
806
|
value: string;
|
|
805
807
|
type: string;
|
|
806
808
|
page: number;
|
|
807
809
|
}>;
|
|
808
|
-
success: boolean;
|
|
809
|
-
error: string;
|
|
810
810
|
totalFields: number;
|
|
811
811
|
filledFields: number;
|
|
812
812
|
emptyFields: number;
|
|
813
813
|
}, {
|
|
814
|
+
success: boolean;
|
|
815
|
+
error: string;
|
|
814
816
|
operation: "validate";
|
|
815
817
|
fields: Record<string, {
|
|
816
818
|
value: string;
|
|
817
819
|
type: string;
|
|
818
820
|
page: number;
|
|
819
821
|
}>;
|
|
820
|
-
success: boolean;
|
|
821
|
-
error: string;
|
|
822
822
|
totalFields: number;
|
|
823
823
|
filledFields: number;
|
|
824
824
|
emptyFields: number;
|
|
@@ -848,9 +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
|
-
operation: "convert-to-images";
|
|
852
851
|
success: boolean;
|
|
853
852
|
error: string;
|
|
853
|
+
operation: "convert-to-images";
|
|
854
854
|
images: {
|
|
855
855
|
format: string;
|
|
856
856
|
width: number;
|
|
@@ -861,9 +861,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
861
861
|
totalPages: number;
|
|
862
862
|
convertedPages: number;
|
|
863
863
|
}, {
|
|
864
|
-
operation: "convert-to-images";
|
|
865
864
|
success: boolean;
|
|
866
865
|
error: string;
|
|
866
|
+
operation: "convert-to-images";
|
|
867
867
|
images: {
|
|
868
868
|
format: string;
|
|
869
869
|
width: number;
|
|
@@ -887,16 +887,16 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
887
887
|
x: z.ZodNumber;
|
|
888
888
|
y: z.ZodNumber;
|
|
889
889
|
}, "strip", z.ZodTypeAny, {
|
|
890
|
-
name: string;
|
|
891
890
|
value: string;
|
|
892
891
|
type: string;
|
|
892
|
+
name: string;
|
|
893
893
|
id: number;
|
|
894
894
|
x: number;
|
|
895
895
|
y: number;
|
|
896
896
|
}, {
|
|
897
|
-
name: string;
|
|
898
897
|
value: string;
|
|
899
898
|
type: string;
|
|
899
|
+
name: string;
|
|
900
900
|
id: number;
|
|
901
901
|
x: number;
|
|
902
902
|
y: number;
|
|
@@ -905,9 +905,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
905
905
|
pageNumber: number;
|
|
906
906
|
markdown: string;
|
|
907
907
|
formFields?: {
|
|
908
|
-
name: string;
|
|
909
908
|
value: string;
|
|
910
909
|
type: string;
|
|
910
|
+
name: string;
|
|
911
911
|
id: number;
|
|
912
912
|
x: number;
|
|
913
913
|
y: number;
|
|
@@ -916,9 +916,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
916
916
|
pageNumber: number;
|
|
917
917
|
markdown: string;
|
|
918
918
|
formFields?: {
|
|
919
|
-
name: string;
|
|
920
919
|
value: string;
|
|
921
920
|
type: string;
|
|
921
|
+
name: string;
|
|
922
922
|
id: number;
|
|
923
923
|
x: number;
|
|
924
924
|
y: number;
|
|
@@ -929,16 +929,16 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
929
929
|
success: z.ZodBoolean;
|
|
930
930
|
error: z.ZodString;
|
|
931
931
|
}, "strip", z.ZodTypeAny, {
|
|
932
|
-
operation: "convert-to-markdown";
|
|
933
932
|
success: boolean;
|
|
934
933
|
error: string;
|
|
934
|
+
operation: "convert-to-markdown";
|
|
935
935
|
pages: {
|
|
936
936
|
pageNumber: number;
|
|
937
937
|
markdown: string;
|
|
938
938
|
formFields?: {
|
|
939
|
-
name: string;
|
|
940
939
|
value: string;
|
|
941
940
|
type: string;
|
|
941
|
+
name: string;
|
|
942
942
|
id: number;
|
|
943
943
|
x: number;
|
|
944
944
|
y: number;
|
|
@@ -948,16 +948,16 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
948
948
|
totalPages: number;
|
|
949
949
|
convertedPages: number;
|
|
950
950
|
}, {
|
|
951
|
-
operation: "convert-to-markdown";
|
|
952
951
|
success: boolean;
|
|
953
952
|
error: string;
|
|
953
|
+
operation: "convert-to-markdown";
|
|
954
954
|
pages: {
|
|
955
955
|
pageNumber: number;
|
|
956
956
|
markdown: string;
|
|
957
957
|
formFields?: {
|
|
958
|
-
name: string;
|
|
959
958
|
value: string;
|
|
960
959
|
type: string;
|
|
960
|
+
name: string;
|
|
961
961
|
id: number;
|
|
962
962
|
x: number;
|
|
963
963
|
y: number;
|