@bubblelab/bubble-core 0.1.80 → 0.1.82
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 +107 -107
- package/dist/bubbles/service-bubble/agi-inc.d.ts +120 -120
- package/dist/bubbles/service-bubble/ai-agent.d.ts +32 -32
- package/dist/bubbles/service-bubble/airtable.d.ts +170 -170
- package/dist/bubbles/service-bubble/apify/apify.d.ts +26 -26
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +23 -23
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +90 -90
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
- package/dist/bubbles/service-bubble/firecrawl.d.ts +302 -302
- package/dist/bubbles/service-bubble/followupboss.d.ts +148 -148
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +16 -16
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +40 -40
- package/dist/bubbles/service-bubble/github.d.ts +88 -88
- package/dist/bubbles/service-bubble/gmail.d.ts +584 -584
- package/dist/bubbles/service-bubble/google-calendar.d.ts +28 -28
- package/dist/bubbles/service-bubble/google-drive.d.ts +66 -66
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +22 -22
- package/dist/bubbles/service-bubble/http.d.ts +16 -16
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +46 -46
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +22 -22
- package/dist/bubbles/service-bubble/notion/notion.d.ts +92 -92
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/resend.d.ts +32 -32
- package/dist/bubbles/service-bubble/slack/slack.d.ts +668 -668
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +75 -75
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +38 -38
- package/dist/bubbles/service-bubble/telegram.d.ts +108 -108
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +26 -26
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
- 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 +304 -304
- 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 +110 -110
- 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 +2 -2
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +42 -42
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +52 -52
- package/dist/bubbles.json +4 -2
- package/package.json +2 -2
|
@@ -17,11 +17,11 @@ 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
|
+
duration: string | null;
|
|
20
21
|
description: string | null;
|
|
21
22
|
title: string | null;
|
|
22
23
|
date: string | null;
|
|
23
24
|
url: string | null;
|
|
24
|
-
duration: string | null;
|
|
25
25
|
id: string | null;
|
|
26
26
|
thumbnail: string | null;
|
|
27
27
|
comments: number | null;
|
|
@@ -31,11 +31,11 @@ declare const YouTubeVideoSchema: z.ZodObject<{
|
|
|
31
31
|
channelUrl: string | null;
|
|
32
32
|
subscribers: number | null;
|
|
33
33
|
}, {
|
|
34
|
+
duration: string | null;
|
|
34
35
|
description: string | null;
|
|
35
36
|
title: string | null;
|
|
36
37
|
date: string | null;
|
|
37
38
|
url: string | null;
|
|
38
|
-
duration: string | null;
|
|
39
39
|
id: string | null;
|
|
40
40
|
thumbnail: string | null;
|
|
41
41
|
comments: number | null;
|
|
@@ -50,12 +50,12 @@ declare const YouTubeTranscriptSegmentSchema: z.ZodObject<{
|
|
|
50
50
|
duration: z.ZodNullable<z.ZodString>;
|
|
51
51
|
text: z.ZodNullable<z.ZodString>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
text: string | null;
|
|
54
53
|
duration: string | null;
|
|
54
|
+
text: string | null;
|
|
55
55
|
start: string | null;
|
|
56
56
|
}, {
|
|
57
|
-
text: string | null;
|
|
58
57
|
duration: string | null;
|
|
58
|
+
text: string | null;
|
|
59
59
|
start: string | null;
|
|
60
60
|
}>;
|
|
61
61
|
declare const YouTubeToolParamsSchema: z.ZodObject<{
|
|
@@ -103,11 +103,11 @@ 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
|
+
duration: string | null;
|
|
106
107
|
description: string | null;
|
|
107
108
|
title: string | null;
|
|
108
109
|
date: string | null;
|
|
109
110
|
url: string | null;
|
|
110
|
-
duration: string | null;
|
|
111
111
|
id: string | null;
|
|
112
112
|
thumbnail: string | null;
|
|
113
113
|
comments: number | null;
|
|
@@ -117,11 +117,11 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
|
|
|
117
117
|
channelUrl: string | null;
|
|
118
118
|
subscribers: number | null;
|
|
119
119
|
}, {
|
|
120
|
+
duration: string | null;
|
|
120
121
|
description: string | null;
|
|
121
122
|
title: string | null;
|
|
122
123
|
date: string | null;
|
|
123
124
|
url: string | null;
|
|
124
|
-
duration: string | null;
|
|
125
125
|
id: string | null;
|
|
126
126
|
thumbnail: string | null;
|
|
127
127
|
comments: number | null;
|
|
@@ -136,12 +136,12 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
|
|
|
136
136
|
duration: z.ZodNullable<z.ZodString>;
|
|
137
137
|
text: z.ZodNullable<z.ZodString>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
text: string | null;
|
|
140
139
|
duration: string | null;
|
|
140
|
+
text: string | null;
|
|
141
141
|
start: string | null;
|
|
142
142
|
}, {
|
|
143
|
-
text: string | null;
|
|
144
143
|
duration: string | null;
|
|
144
|
+
text: string | null;
|
|
145
145
|
start: string | null;
|
|
146
146
|
}>, "many">>;
|
|
147
147
|
fullTranscriptText: z.ZodOptional<z.ZodString>;
|
|
@@ -149,16 +149,16 @@ 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
|
error: string;
|
|
154
153
|
success: boolean;
|
|
154
|
+
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
155
155
|
totalResults: number;
|
|
156
156
|
videos?: {
|
|
157
|
+
duration: string | null;
|
|
157
158
|
description: string | null;
|
|
158
159
|
title: string | null;
|
|
159
160
|
date: string | null;
|
|
160
161
|
url: string | null;
|
|
161
|
-
duration: string | null;
|
|
162
162
|
id: string | null;
|
|
163
163
|
thumbnail: string | null;
|
|
164
164
|
comments: number | null;
|
|
@@ -169,22 +169,22 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
|
|
|
169
169
|
subscribers: number | null;
|
|
170
170
|
}[] | undefined;
|
|
171
171
|
transcript?: {
|
|
172
|
-
text: string | null;
|
|
173
172
|
duration: string | null;
|
|
173
|
+
text: string | null;
|
|
174
174
|
start: string | null;
|
|
175
175
|
}[] | undefined;
|
|
176
176
|
fullTranscriptText?: string | undefined;
|
|
177
177
|
}, {
|
|
178
|
-
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
179
178
|
error: string;
|
|
180
179
|
success: boolean;
|
|
180
|
+
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
181
181
|
totalResults: number;
|
|
182
182
|
videos?: {
|
|
183
|
+
duration: string | null;
|
|
183
184
|
description: string | null;
|
|
184
185
|
title: string | null;
|
|
185
186
|
date: string | null;
|
|
186
187
|
url: string | null;
|
|
187
|
-
duration: string | null;
|
|
188
188
|
id: string | null;
|
|
189
189
|
thumbnail: string | null;
|
|
190
190
|
comments: number | null;
|
|
@@ -195,8 +195,8 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
|
|
|
195
195
|
subscribers: number | null;
|
|
196
196
|
}[] | undefined;
|
|
197
197
|
transcript?: {
|
|
198
|
-
text: string | null;
|
|
199
198
|
duration: string | null;
|
|
199
|
+
text: string | null;
|
|
200
200
|
start: string | null;
|
|
201
201
|
}[] | undefined;
|
|
202
202
|
fullTranscriptText?: string | undefined;
|
|
@@ -261,11 +261,11 @@ 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
|
+
duration: string | null;
|
|
264
265
|
description: string | null;
|
|
265
266
|
title: string | null;
|
|
266
267
|
date: string | null;
|
|
267
268
|
url: string | null;
|
|
268
|
-
duration: string | null;
|
|
269
269
|
id: string | null;
|
|
270
270
|
thumbnail: string | null;
|
|
271
271
|
comments: number | null;
|
|
@@ -275,11 +275,11 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
|
|
|
275
275
|
channelUrl: string | null;
|
|
276
276
|
subscribers: number | null;
|
|
277
277
|
}, {
|
|
278
|
+
duration: string | null;
|
|
278
279
|
description: string | null;
|
|
279
280
|
title: string | null;
|
|
280
281
|
date: string | null;
|
|
281
282
|
url: string | null;
|
|
282
|
-
duration: string | null;
|
|
283
283
|
id: string | null;
|
|
284
284
|
thumbnail: string | null;
|
|
285
285
|
comments: number | null;
|
|
@@ -294,12 +294,12 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
|
|
|
294
294
|
duration: z.ZodNullable<z.ZodString>;
|
|
295
295
|
text: z.ZodNullable<z.ZodString>;
|
|
296
296
|
}, "strip", z.ZodTypeAny, {
|
|
297
|
-
text: string | null;
|
|
298
297
|
duration: string | null;
|
|
298
|
+
text: string | null;
|
|
299
299
|
start: string | null;
|
|
300
300
|
}, {
|
|
301
|
-
text: string | null;
|
|
302
301
|
duration: string | null;
|
|
302
|
+
text: string | null;
|
|
303
303
|
start: string | null;
|
|
304
304
|
}>, "many">>;
|
|
305
305
|
fullTranscriptText: z.ZodOptional<z.ZodString>;
|
|
@@ -307,16 +307,16 @@ 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
|
error: string;
|
|
312
311
|
success: boolean;
|
|
312
|
+
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
313
313
|
totalResults: number;
|
|
314
314
|
videos?: {
|
|
315
|
+
duration: string | null;
|
|
315
316
|
description: string | null;
|
|
316
317
|
title: string | null;
|
|
317
318
|
date: string | null;
|
|
318
319
|
url: string | null;
|
|
319
|
-
duration: string | null;
|
|
320
320
|
id: string | null;
|
|
321
321
|
thumbnail: string | null;
|
|
322
322
|
comments: number | null;
|
|
@@ -327,22 +327,22 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
|
|
|
327
327
|
subscribers: number | null;
|
|
328
328
|
}[] | undefined;
|
|
329
329
|
transcript?: {
|
|
330
|
-
text: string | null;
|
|
331
330
|
duration: string | null;
|
|
331
|
+
text: string | null;
|
|
332
332
|
start: string | null;
|
|
333
333
|
}[] | undefined;
|
|
334
334
|
fullTranscriptText?: string | undefined;
|
|
335
335
|
}, {
|
|
336
|
-
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
337
336
|
error: string;
|
|
338
337
|
success: boolean;
|
|
338
|
+
operation: "searchVideos" | "getTranscript" | "scrapeChannel";
|
|
339
339
|
totalResults: number;
|
|
340
340
|
videos?: {
|
|
341
|
+
duration: string | null;
|
|
341
342
|
description: string | null;
|
|
342
343
|
title: string | null;
|
|
343
344
|
date: string | null;
|
|
344
345
|
url: string | null;
|
|
345
|
-
duration: string | null;
|
|
346
346
|
id: string | null;
|
|
347
347
|
thumbnail: string | null;
|
|
348
348
|
comments: number | null;
|
|
@@ -353,8 +353,8 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
|
|
|
353
353
|
subscribers: number | null;
|
|
354
354
|
}[] | undefined;
|
|
355
355
|
transcript?: {
|
|
356
|
-
text: string | null;
|
|
357
356
|
duration: string | null;
|
|
357
|
+
text: string | null;
|
|
358
358
|
start: string | null;
|
|
359
359
|
}[] | undefined;
|
|
360
360
|
fullTranscriptText?: string | undefined;
|
|
@@ -121,7 +121,7 @@ declare const GenerateDocumentWorkflowParamsSchema: z.ZodObject<{
|
|
|
121
121
|
} | undefined;
|
|
122
122
|
}[];
|
|
123
123
|
outputDescription: string;
|
|
124
|
-
outputFormat: "
|
|
124
|
+
outputFormat: "json" | "csv" | "html";
|
|
125
125
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
documents: {
|
|
@@ -145,7 +145,7 @@ declare const GenerateDocumentWorkflowParamsSchema: z.ZodObject<{
|
|
|
145
145
|
maxTokens?: number | undefined;
|
|
146
146
|
jsonMode?: boolean | undefined;
|
|
147
147
|
} | undefined;
|
|
148
|
-
outputFormat?: "
|
|
148
|
+
outputFormat?: "json" | "csv" | "html" | undefined;
|
|
149
149
|
}>;
|
|
150
150
|
/**
|
|
151
151
|
* Result schema for Generate Document workflow
|
|
@@ -189,13 +189,13 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
|
|
|
189
189
|
csv: z.ZodOptional<z.ZodString>;
|
|
190
190
|
json: z.ZodOptional<z.ZodString>;
|
|
191
191
|
}, "strip", z.ZodTypeAny, {
|
|
192
|
-
html?: string | undefined;
|
|
193
192
|
json?: string | undefined;
|
|
194
193
|
csv?: string | undefined;
|
|
195
|
-
}, {
|
|
196
194
|
html?: string | undefined;
|
|
195
|
+
}, {
|
|
197
196
|
json?: string | undefined;
|
|
198
197
|
csv?: string | undefined;
|
|
198
|
+
html?: string | undefined;
|
|
199
199
|
}>;
|
|
200
200
|
aiAnalysis: z.ZodObject<{
|
|
201
201
|
model: z.ZodString;
|
|
@@ -234,9 +234,9 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
|
|
|
234
234
|
processingTime?: number | undefined;
|
|
235
235
|
};
|
|
236
236
|
generatedFiles: {
|
|
237
|
-
html?: string | undefined;
|
|
238
237
|
json?: string | undefined;
|
|
239
238
|
csv?: string | undefined;
|
|
239
|
+
html?: string | undefined;
|
|
240
240
|
};
|
|
241
241
|
}, {
|
|
242
242
|
error: string;
|
|
@@ -260,9 +260,9 @@ declare const GenerateDocumentWorkflowResultSchema: z.ZodObject<{
|
|
|
260
260
|
processingTime?: number | undefined;
|
|
261
261
|
};
|
|
262
262
|
generatedFiles: {
|
|
263
|
-
html?: string | undefined;
|
|
264
263
|
json?: string | undefined;
|
|
265
264
|
csv?: string | undefined;
|
|
265
|
+
html?: string | undefined;
|
|
266
266
|
};
|
|
267
267
|
}>;
|
|
268
268
|
type GenerateDocumentWorkflowParams = z.input<typeof GenerateDocumentWorkflowParamsSchema>;
|
|
@@ -376,7 +376,7 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
|
|
|
376
376
|
} | undefined;
|
|
377
377
|
}[];
|
|
378
378
|
outputDescription: string;
|
|
379
|
-
outputFormat: "
|
|
379
|
+
outputFormat: "json" | "csv" | "html";
|
|
380
380
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
381
381
|
}, {
|
|
382
382
|
documents: {
|
|
@@ -400,7 +400,7 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
|
|
|
400
400
|
maxTokens?: number | undefined;
|
|
401
401
|
jsonMode?: boolean | undefined;
|
|
402
402
|
} | undefined;
|
|
403
|
-
outputFormat?: "
|
|
403
|
+
outputFormat?: "json" | "csv" | "html" | undefined;
|
|
404
404
|
}>;
|
|
405
405
|
static readonly resultSchema: z.ZodObject<{
|
|
406
406
|
columns: z.ZodArray<z.ZodObject<{
|
|
@@ -441,13 +441,13 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
|
|
|
441
441
|
csv: z.ZodOptional<z.ZodString>;
|
|
442
442
|
json: z.ZodOptional<z.ZodString>;
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
|
-
html?: string | undefined;
|
|
445
444
|
json?: string | undefined;
|
|
446
445
|
csv?: string | undefined;
|
|
447
|
-
}, {
|
|
448
446
|
html?: string | undefined;
|
|
447
|
+
}, {
|
|
449
448
|
json?: string | undefined;
|
|
450
449
|
csv?: string | undefined;
|
|
450
|
+
html?: string | undefined;
|
|
451
451
|
}>;
|
|
452
452
|
aiAnalysis: z.ZodObject<{
|
|
453
453
|
model: z.ZodString;
|
|
@@ -486,9 +486,9 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
|
|
|
486
486
|
processingTime?: number | undefined;
|
|
487
487
|
};
|
|
488
488
|
generatedFiles: {
|
|
489
|
-
html?: string | undefined;
|
|
490
489
|
json?: string | undefined;
|
|
491
490
|
csv?: string | undefined;
|
|
491
|
+
html?: string | undefined;
|
|
492
492
|
};
|
|
493
493
|
}, {
|
|
494
494
|
error: string;
|
|
@@ -512,9 +512,9 @@ export declare class GenerateDocumentWorkflow extends WorkflowBubble<GenerateDoc
|
|
|
512
512
|
processingTime?: number | undefined;
|
|
513
513
|
};
|
|
514
514
|
generatedFiles: {
|
|
515
|
-
html?: string | undefined;
|
|
516
515
|
json?: string | undefined;
|
|
517
516
|
csv?: string | undefined;
|
|
517
|
+
html?: string | undefined;
|
|
518
518
|
};
|
|
519
519
|
}>;
|
|
520
520
|
static readonly shortDescription = "Generate Document workflow: convert markdown to structured formats using AI";
|
|
@@ -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
|
-
operation: "convert-to-images";
|
|
84
83
|
format: "png" | "jpeg";
|
|
84
|
+
operation: "convert-to-images";
|
|
85
85
|
quality: number;
|
|
86
86
|
pdfData: string;
|
|
87
87
|
dpi: number;
|
|
@@ -172,7 +172,8 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
172
172
|
success: z.ZodBoolean;
|
|
173
173
|
error: z.ZodString;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
|
|
175
|
+
error: string;
|
|
176
|
+
success: boolean;
|
|
176
177
|
fields: {
|
|
177
178
|
type: string;
|
|
178
179
|
name: string;
|
|
@@ -190,11 +191,11 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
190
191
|
field_flags: number;
|
|
191
192
|
potential_labels: string[];
|
|
192
193
|
}[];
|
|
193
|
-
|
|
194
|
-
success: boolean;
|
|
194
|
+
operation: "discover";
|
|
195
195
|
totalFields: number;
|
|
196
196
|
}, {
|
|
197
|
-
|
|
197
|
+
error: string;
|
|
198
|
+
success: boolean;
|
|
198
199
|
fields: {
|
|
199
200
|
type: string;
|
|
200
201
|
name: string;
|
|
@@ -212,8 +213,7 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
212
213
|
field_flags: number;
|
|
213
214
|
potential_labels: string[];
|
|
214
215
|
}[];
|
|
215
|
-
|
|
216
|
-
success: boolean;
|
|
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
238
|
error: string;
|
|
240
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
249
|
error: string;
|
|
251
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
281
|
error: string;
|
|
283
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
292
|
error: string;
|
|
294
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
|
-
|
|
323
|
+
error: string;
|
|
324
|
+
success: boolean;
|
|
324
325
|
fields: Record<string, {
|
|
325
326
|
value: string;
|
|
326
327
|
type: string;
|
|
327
328
|
page: number;
|
|
328
329
|
}>;
|
|
329
|
-
|
|
330
|
-
success: boolean;
|
|
330
|
+
operation: "validate";
|
|
331
331
|
totalFields: number;
|
|
332
332
|
filledFields: number;
|
|
333
333
|
emptyFields: number;
|
|
334
334
|
}, {
|
|
335
|
-
|
|
335
|
+
error: string;
|
|
336
|
+
success: boolean;
|
|
336
337
|
fields: Record<string, {
|
|
337
338
|
value: string;
|
|
338
339
|
type: string;
|
|
339
340
|
page: number;
|
|
340
341
|
}>;
|
|
341
|
-
|
|
342
|
-
success: boolean;
|
|
342
|
+
operation: "validate";
|
|
343
343
|
totalFields: number;
|
|
344
344
|
filledFields: number;
|
|
345
345
|
emptyFields: number;
|
|
@@ -369,7 +369,6 @@ 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
|
error: string;
|
|
374
373
|
success: boolean;
|
|
375
374
|
images: {
|
|
@@ -379,10 +378,10 @@ 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
385
|
error: string;
|
|
387
386
|
success: boolean;
|
|
388
387
|
images: {
|
|
@@ -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<{
|
|
@@ -450,9 +450,9 @@ 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
|
error: string;
|
|
455
454
|
success: boolean;
|
|
455
|
+
operation: "convert-to-markdown";
|
|
456
456
|
pages: {
|
|
457
457
|
pageNumber: number;
|
|
458
458
|
markdown: string;
|
|
@@ -469,9 +469,9 @@ declare const PDFFormOperationsResultSchema: z.ZodDiscriminatedUnion<"operation"
|
|
|
469
469
|
totalPages: number;
|
|
470
470
|
convertedPages: number;
|
|
471
471
|
}, {
|
|
472
|
-
operation: "convert-to-markdown";
|
|
473
472
|
error: string;
|
|
474
473
|
success: boolean;
|
|
474
|
+
operation: "convert-to-markdown";
|
|
475
475
|
pages: {
|
|
476
476
|
pageNumber: number;
|
|
477
477
|
markdown: string;
|
|
@@ -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
|
-
operation: "convert-to-images";
|
|
566
565
|
format: "png" | "jpeg";
|
|
566
|
+
operation: "convert-to-images";
|
|
567
567
|
quality: number;
|
|
568
568
|
pdfData: string;
|
|
569
569
|
dpi: number;
|
|
@@ -651,7 +651,8 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
651
651
|
success: z.ZodBoolean;
|
|
652
652
|
error: z.ZodString;
|
|
653
653
|
}, "strip", z.ZodTypeAny, {
|
|
654
|
-
|
|
654
|
+
error: string;
|
|
655
|
+
success: boolean;
|
|
655
656
|
fields: {
|
|
656
657
|
type: string;
|
|
657
658
|
name: string;
|
|
@@ -669,11 +670,11 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
669
670
|
field_flags: number;
|
|
670
671
|
potential_labels: string[];
|
|
671
672
|
}[];
|
|
672
|
-
|
|
673
|
-
success: boolean;
|
|
673
|
+
operation: "discover";
|
|
674
674
|
totalFields: number;
|
|
675
675
|
}, {
|
|
676
|
-
|
|
676
|
+
error: string;
|
|
677
|
+
success: boolean;
|
|
677
678
|
fields: {
|
|
678
679
|
type: string;
|
|
679
680
|
name: string;
|
|
@@ -691,8 +692,7 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
691
692
|
field_flags: number;
|
|
692
693
|
potential_labels: string[];
|
|
693
694
|
}[];
|
|
694
|
-
|
|
695
|
-
success: boolean;
|
|
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
717
|
error: string;
|
|
719
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
728
|
error: string;
|
|
730
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
760
|
error: string;
|
|
762
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
771
|
error: string;
|
|
773
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
|
-
|
|
802
|
+
error: string;
|
|
803
|
+
success: boolean;
|
|
803
804
|
fields: Record<string, {
|
|
804
805
|
value: string;
|
|
805
806
|
type: string;
|
|
806
807
|
page: number;
|
|
807
808
|
}>;
|
|
808
|
-
|
|
809
|
-
success: boolean;
|
|
809
|
+
operation: "validate";
|
|
810
810
|
totalFields: number;
|
|
811
811
|
filledFields: number;
|
|
812
812
|
emptyFields: number;
|
|
813
813
|
}, {
|
|
814
|
-
|
|
814
|
+
error: string;
|
|
815
|
+
success: boolean;
|
|
815
816
|
fields: Record<string, {
|
|
816
817
|
value: string;
|
|
817
818
|
type: string;
|
|
818
819
|
page: number;
|
|
819
820
|
}>;
|
|
820
|
-
|
|
821
|
-
success: boolean;
|
|
821
|
+
operation: "validate";
|
|
822
822
|
totalFields: number;
|
|
823
823
|
filledFields: number;
|
|
824
824
|
emptyFields: number;
|
|
@@ -848,7 +848,6 @@ 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
|
error: string;
|
|
853
852
|
success: boolean;
|
|
854
853
|
images: {
|
|
@@ -858,10 +857,10 @@ 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
864
|
error: string;
|
|
866
865
|
success: boolean;
|
|
867
866
|
images: {
|
|
@@ -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<{
|
|
@@ -929,9 +929,9 @@ 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
|
error: string;
|
|
934
933
|
success: boolean;
|
|
934
|
+
operation: "convert-to-markdown";
|
|
935
935
|
pages: {
|
|
936
936
|
pageNumber: number;
|
|
937
937
|
markdown: string;
|
|
@@ -948,9 +948,9 @@ export declare class PDFFormOperationsWorkflow<T extends PDFFormOperationsParams
|
|
|
948
948
|
totalPages: number;
|
|
949
949
|
convertedPages: number;
|
|
950
950
|
}, {
|
|
951
|
-
operation: "convert-to-markdown";
|
|
952
951
|
error: string;
|
|
953
952
|
success: boolean;
|
|
953
|
+
operation: "convert-to-markdown";
|
|
954
954
|
pages: {
|
|
955
955
|
pageNumber: number;
|
|
956
956
|
markdown: string;
|