@bubblelab/bubble-core 0.1.20 → 0.1.22
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 +60 -60
- package/dist/bubbles/service-bubble/agi-inc.d.ts +96 -96
- package/dist/bubbles/service-bubble/ai-agent.d.ts +56 -56
- package/dist/bubbles/service-bubble/airtable.d.ts +138 -138
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +27 -27
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +32 -32
- package/dist/bubbles/service-bubble/firecrawl.d.ts +811 -811
- package/dist/bubbles/service-bubble/followupboss.d.ts +156 -156
- package/dist/bubbles/service-bubble/github.d.ts +216 -216
- package/dist/bubbles/service-bubble/gmail.d.ts +584 -584
- package/dist/bubbles/service-bubble/google-calendar.d.ts +482 -482
- package/dist/bubbles/service-bubble/google-drive.d.ts +139 -66
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +343 -0
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- 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/notion/notion.d.ts +1278 -1278
- package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/slack/slack.d.ts +369 -363
- package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.js +89 -2
- package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/telegram.d.ts +1289 -1289
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +46 -46
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +64 -64
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +36 -36
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +74 -74
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +84 -84
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +2 -2
- package/package.json +2 -2
|
@@ -54,9 +54,9 @@ declare const SlackFormatterAgentParamsSchema: z.ZodObject<{
|
|
|
54
54
|
maxIterations: number;
|
|
55
55
|
verbosity: "1" | "2" | "3" | "4" | "5";
|
|
56
56
|
technicality: "1" | "2" | "3" | "4" | "5";
|
|
57
|
+
includeBlockKit: boolean;
|
|
57
58
|
includeQuery: boolean;
|
|
58
59
|
includeExplanation: boolean;
|
|
59
|
-
includeBlockKit: boolean;
|
|
60
60
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
61
61
|
additionalContext?: string | undefined;
|
|
62
62
|
}, {
|
|
@@ -75,10 +75,10 @@ declare const SlackFormatterAgentParamsSchema: z.ZodObject<{
|
|
|
75
75
|
maxIterations?: number | undefined;
|
|
76
76
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
77
77
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
78
|
+
includeBlockKit?: boolean | undefined;
|
|
78
79
|
includeQuery?: boolean | undefined;
|
|
79
80
|
includeExplanation?: boolean | undefined;
|
|
80
81
|
additionalContext?: string | undefined;
|
|
81
|
-
includeBlockKit?: boolean | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
84
84
|
response: z.ZodString;
|
|
@@ -154,70 +154,70 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
154
154
|
verbatim?: boolean | undefined;
|
|
155
155
|
}>, "many">>;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
type: "
|
|
157
|
+
type: "file" | "image" | "input" | "section" | "header" | "divider" | "context" | "actions";
|
|
158
158
|
title?: {
|
|
159
159
|
type: "plain_text";
|
|
160
160
|
text: string;
|
|
161
161
|
emoji?: boolean | undefined;
|
|
162
162
|
} | undefined;
|
|
163
|
-
|
|
163
|
+
text?: {
|
|
164
164
|
type: "plain_text" | "mrkdwn";
|
|
165
165
|
text: string;
|
|
166
166
|
emoji?: boolean | undefined;
|
|
167
167
|
verbatim?: boolean | undefined;
|
|
168
|
-
}
|
|
169
|
-
|
|
168
|
+
} | undefined;
|
|
169
|
+
fields?: {
|
|
170
170
|
type: "plain_text" | "mrkdwn";
|
|
171
171
|
text: string;
|
|
172
172
|
emoji?: boolean | undefined;
|
|
173
173
|
verbatim?: boolean | undefined;
|
|
174
|
-
} | undefined;
|
|
175
|
-
image_url?: string | undefined;
|
|
176
|
-
alt_text?: string | undefined;
|
|
174
|
+
}[] | undefined;
|
|
177
175
|
elements?: {
|
|
178
176
|
type: "plain_text" | "mrkdwn";
|
|
179
177
|
text: string;
|
|
180
178
|
emoji?: boolean | undefined;
|
|
181
179
|
verbatim?: boolean | undefined;
|
|
182
180
|
}[] | undefined;
|
|
183
|
-
|
|
181
|
+
image_url?: string | undefined;
|
|
184
182
|
optional?: boolean | undefined;
|
|
185
|
-
|
|
183
|
+
alt_text?: string | undefined;
|
|
186
184
|
block_id?: string | undefined;
|
|
187
185
|
accessory?: unknown;
|
|
186
|
+
element?: unknown;
|
|
187
|
+
label?: unknown;
|
|
188
188
|
hint?: unknown;
|
|
189
189
|
}, {
|
|
190
|
-
type: "
|
|
190
|
+
type: "file" | "image" | "input" | "section" | "header" | "divider" | "context" | "actions";
|
|
191
191
|
title?: {
|
|
192
192
|
type: "plain_text";
|
|
193
193
|
text: string;
|
|
194
194
|
emoji?: boolean | undefined;
|
|
195
195
|
} | undefined;
|
|
196
|
-
|
|
196
|
+
text?: {
|
|
197
197
|
type: "plain_text" | "mrkdwn";
|
|
198
198
|
text: string;
|
|
199
199
|
emoji?: boolean | undefined;
|
|
200
200
|
verbatim?: boolean | undefined;
|
|
201
|
-
}
|
|
202
|
-
|
|
201
|
+
} | undefined;
|
|
202
|
+
fields?: {
|
|
203
203
|
type: "plain_text" | "mrkdwn";
|
|
204
204
|
text: string;
|
|
205
205
|
emoji?: boolean | undefined;
|
|
206
206
|
verbatim?: boolean | undefined;
|
|
207
|
-
} | undefined;
|
|
208
|
-
image_url?: string | undefined;
|
|
209
|
-
alt_text?: string | undefined;
|
|
207
|
+
}[] | undefined;
|
|
210
208
|
elements?: {
|
|
211
209
|
type: "plain_text" | "mrkdwn";
|
|
212
210
|
text: string;
|
|
213
211
|
emoji?: boolean | undefined;
|
|
214
212
|
verbatim?: boolean | undefined;
|
|
215
213
|
}[] | undefined;
|
|
216
|
-
|
|
214
|
+
image_url?: string | undefined;
|
|
217
215
|
optional?: boolean | undefined;
|
|
218
|
-
|
|
216
|
+
alt_text?: string | undefined;
|
|
219
217
|
block_id?: string | undefined;
|
|
220
218
|
accessory?: unknown;
|
|
219
|
+
element?: unknown;
|
|
220
|
+
label?: unknown;
|
|
221
221
|
hint?: unknown;
|
|
222
222
|
}>, "many">>;
|
|
223
223
|
metadata: z.ZodObject<{
|
|
@@ -226,14 +226,14 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
226
226
|
wordCount: z.ZodNumber;
|
|
227
227
|
blockCount: z.ZodOptional<z.ZodNumber>;
|
|
228
228
|
}, "strip", z.ZodTypeAny, {
|
|
229
|
-
wordCount: number;
|
|
230
229
|
verbosityLevel: string;
|
|
231
230
|
technicalityLevel: string;
|
|
231
|
+
wordCount: number;
|
|
232
232
|
blockCount?: number | undefined;
|
|
233
233
|
}, {
|
|
234
|
-
wordCount: number;
|
|
235
234
|
verbosityLevel: string;
|
|
236
235
|
technicalityLevel: string;
|
|
236
|
+
wordCount: number;
|
|
237
237
|
blockCount?: number | undefined;
|
|
238
238
|
}>;
|
|
239
239
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -258,9 +258,9 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
258
258
|
response: string;
|
|
259
259
|
iterations: number;
|
|
260
260
|
metadata: {
|
|
261
|
-
wordCount: number;
|
|
262
261
|
verbosityLevel: string;
|
|
263
262
|
technicalityLevel: string;
|
|
263
|
+
wordCount: number;
|
|
264
264
|
blockCount?: number | undefined;
|
|
265
265
|
};
|
|
266
266
|
toolCalls?: {
|
|
@@ -269,37 +269,37 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
269
269
|
output?: unknown;
|
|
270
270
|
}[] | undefined;
|
|
271
271
|
blocks?: {
|
|
272
|
-
type: "
|
|
272
|
+
type: "file" | "image" | "input" | "section" | "header" | "divider" | "context" | "actions";
|
|
273
273
|
title?: {
|
|
274
274
|
type: "plain_text";
|
|
275
275
|
text: string;
|
|
276
276
|
emoji?: boolean | undefined;
|
|
277
277
|
} | undefined;
|
|
278
|
-
|
|
278
|
+
text?: {
|
|
279
279
|
type: "plain_text" | "mrkdwn";
|
|
280
280
|
text: string;
|
|
281
281
|
emoji?: boolean | undefined;
|
|
282
282
|
verbatim?: boolean | undefined;
|
|
283
|
-
}
|
|
284
|
-
|
|
283
|
+
} | undefined;
|
|
284
|
+
fields?: {
|
|
285
285
|
type: "plain_text" | "mrkdwn";
|
|
286
286
|
text: string;
|
|
287
287
|
emoji?: boolean | undefined;
|
|
288
288
|
verbatim?: boolean | undefined;
|
|
289
|
-
} | undefined;
|
|
290
|
-
image_url?: string | undefined;
|
|
291
|
-
alt_text?: string | undefined;
|
|
289
|
+
}[] | undefined;
|
|
292
290
|
elements?: {
|
|
293
291
|
type: "plain_text" | "mrkdwn";
|
|
294
292
|
text: string;
|
|
295
293
|
emoji?: boolean | undefined;
|
|
296
294
|
verbatim?: boolean | undefined;
|
|
297
295
|
}[] | undefined;
|
|
298
|
-
|
|
296
|
+
image_url?: string | undefined;
|
|
299
297
|
optional?: boolean | undefined;
|
|
300
|
-
|
|
298
|
+
alt_text?: string | undefined;
|
|
301
299
|
block_id?: string | undefined;
|
|
302
300
|
accessory?: unknown;
|
|
301
|
+
element?: unknown;
|
|
302
|
+
label?: unknown;
|
|
303
303
|
hint?: unknown;
|
|
304
304
|
}[] | undefined;
|
|
305
305
|
}, {
|
|
@@ -308,9 +308,9 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
308
308
|
response: string;
|
|
309
309
|
iterations: number;
|
|
310
310
|
metadata: {
|
|
311
|
-
wordCount: number;
|
|
312
311
|
verbosityLevel: string;
|
|
313
312
|
technicalityLevel: string;
|
|
313
|
+
wordCount: number;
|
|
314
314
|
blockCount?: number | undefined;
|
|
315
315
|
};
|
|
316
316
|
toolCalls?: {
|
|
@@ -319,37 +319,37 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
319
319
|
output?: unknown;
|
|
320
320
|
}[] | undefined;
|
|
321
321
|
blocks?: {
|
|
322
|
-
type: "
|
|
322
|
+
type: "file" | "image" | "input" | "section" | "header" | "divider" | "context" | "actions";
|
|
323
323
|
title?: {
|
|
324
324
|
type: "plain_text";
|
|
325
325
|
text: string;
|
|
326
326
|
emoji?: boolean | undefined;
|
|
327
327
|
} | undefined;
|
|
328
|
-
|
|
328
|
+
text?: {
|
|
329
329
|
type: "plain_text" | "mrkdwn";
|
|
330
330
|
text: string;
|
|
331
331
|
emoji?: boolean | undefined;
|
|
332
332
|
verbatim?: boolean | undefined;
|
|
333
|
-
}
|
|
334
|
-
|
|
333
|
+
} | undefined;
|
|
334
|
+
fields?: {
|
|
335
335
|
type: "plain_text" | "mrkdwn";
|
|
336
336
|
text: string;
|
|
337
337
|
emoji?: boolean | undefined;
|
|
338
338
|
verbatim?: boolean | undefined;
|
|
339
|
-
} | undefined;
|
|
340
|
-
image_url?: string | undefined;
|
|
341
|
-
alt_text?: string | undefined;
|
|
339
|
+
}[] | undefined;
|
|
342
340
|
elements?: {
|
|
343
341
|
type: "plain_text" | "mrkdwn";
|
|
344
342
|
text: string;
|
|
345
343
|
emoji?: boolean | undefined;
|
|
346
344
|
verbatim?: boolean | undefined;
|
|
347
345
|
}[] | undefined;
|
|
348
|
-
|
|
346
|
+
image_url?: string | undefined;
|
|
349
347
|
optional?: boolean | undefined;
|
|
350
|
-
|
|
348
|
+
alt_text?: string | undefined;
|
|
351
349
|
block_id?: string | undefined;
|
|
352
350
|
accessory?: unknown;
|
|
351
|
+
element?: unknown;
|
|
352
|
+
label?: unknown;
|
|
353
353
|
hint?: unknown;
|
|
354
354
|
}[] | undefined;
|
|
355
355
|
}>;
|
|
@@ -412,9 +412,9 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
412
412
|
maxIterations: number;
|
|
413
413
|
verbosity: "1" | "2" | "3" | "4" | "5";
|
|
414
414
|
technicality: "1" | "2" | "3" | "4" | "5";
|
|
415
|
+
includeBlockKit: boolean;
|
|
415
416
|
includeQuery: boolean;
|
|
416
417
|
includeExplanation: boolean;
|
|
417
|
-
includeBlockKit: boolean;
|
|
418
418
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
419
419
|
additionalContext?: string | undefined;
|
|
420
420
|
}, {
|
|
@@ -433,10 +433,10 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
433
433
|
maxIterations?: number | undefined;
|
|
434
434
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
435
435
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
436
|
+
includeBlockKit?: boolean | undefined;
|
|
436
437
|
includeQuery?: boolean | undefined;
|
|
437
438
|
includeExplanation?: boolean | undefined;
|
|
438
439
|
additionalContext?: string | undefined;
|
|
439
|
-
includeBlockKit?: boolean | undefined;
|
|
440
440
|
}>;
|
|
441
441
|
static readonly resultSchema: z.ZodObject<{
|
|
442
442
|
response: z.ZodString;
|
|
@@ -512,70 +512,70 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
512
512
|
verbatim?: boolean | undefined;
|
|
513
513
|
}>, "many">>;
|
|
514
514
|
}, "strip", z.ZodTypeAny, {
|
|
515
|
-
type: "
|
|
515
|
+
type: "file" | "image" | "input" | "section" | "header" | "divider" | "context" | "actions";
|
|
516
516
|
title?: {
|
|
517
517
|
type: "plain_text";
|
|
518
518
|
text: string;
|
|
519
519
|
emoji?: boolean | undefined;
|
|
520
520
|
} | undefined;
|
|
521
|
-
|
|
521
|
+
text?: {
|
|
522
522
|
type: "plain_text" | "mrkdwn";
|
|
523
523
|
text: string;
|
|
524
524
|
emoji?: boolean | undefined;
|
|
525
525
|
verbatim?: boolean | undefined;
|
|
526
|
-
}
|
|
527
|
-
|
|
526
|
+
} | undefined;
|
|
527
|
+
fields?: {
|
|
528
528
|
type: "plain_text" | "mrkdwn";
|
|
529
529
|
text: string;
|
|
530
530
|
emoji?: boolean | undefined;
|
|
531
531
|
verbatim?: boolean | undefined;
|
|
532
|
-
} | undefined;
|
|
533
|
-
image_url?: string | undefined;
|
|
534
|
-
alt_text?: string | undefined;
|
|
532
|
+
}[] | undefined;
|
|
535
533
|
elements?: {
|
|
536
534
|
type: "plain_text" | "mrkdwn";
|
|
537
535
|
text: string;
|
|
538
536
|
emoji?: boolean | undefined;
|
|
539
537
|
verbatim?: boolean | undefined;
|
|
540
538
|
}[] | undefined;
|
|
541
|
-
|
|
539
|
+
image_url?: string | undefined;
|
|
542
540
|
optional?: boolean | undefined;
|
|
543
|
-
|
|
541
|
+
alt_text?: string | undefined;
|
|
544
542
|
block_id?: string | undefined;
|
|
545
543
|
accessory?: unknown;
|
|
544
|
+
element?: unknown;
|
|
545
|
+
label?: unknown;
|
|
546
546
|
hint?: unknown;
|
|
547
547
|
}, {
|
|
548
|
-
type: "
|
|
548
|
+
type: "file" | "image" | "input" | "section" | "header" | "divider" | "context" | "actions";
|
|
549
549
|
title?: {
|
|
550
550
|
type: "plain_text";
|
|
551
551
|
text: string;
|
|
552
552
|
emoji?: boolean | undefined;
|
|
553
553
|
} | undefined;
|
|
554
|
-
|
|
554
|
+
text?: {
|
|
555
555
|
type: "plain_text" | "mrkdwn";
|
|
556
556
|
text: string;
|
|
557
557
|
emoji?: boolean | undefined;
|
|
558
558
|
verbatim?: boolean | undefined;
|
|
559
|
-
}
|
|
560
|
-
|
|
559
|
+
} | undefined;
|
|
560
|
+
fields?: {
|
|
561
561
|
type: "plain_text" | "mrkdwn";
|
|
562
562
|
text: string;
|
|
563
563
|
emoji?: boolean | undefined;
|
|
564
564
|
verbatim?: boolean | undefined;
|
|
565
|
-
} | undefined;
|
|
566
|
-
image_url?: string | undefined;
|
|
567
|
-
alt_text?: string | undefined;
|
|
565
|
+
}[] | undefined;
|
|
568
566
|
elements?: {
|
|
569
567
|
type: "plain_text" | "mrkdwn";
|
|
570
568
|
text: string;
|
|
571
569
|
emoji?: boolean | undefined;
|
|
572
570
|
verbatim?: boolean | undefined;
|
|
573
571
|
}[] | undefined;
|
|
574
|
-
|
|
572
|
+
image_url?: string | undefined;
|
|
575
573
|
optional?: boolean | undefined;
|
|
576
|
-
|
|
574
|
+
alt_text?: string | undefined;
|
|
577
575
|
block_id?: string | undefined;
|
|
578
576
|
accessory?: unknown;
|
|
577
|
+
element?: unknown;
|
|
578
|
+
label?: unknown;
|
|
579
579
|
hint?: unknown;
|
|
580
580
|
}>, "many">>;
|
|
581
581
|
metadata: z.ZodObject<{
|
|
@@ -584,14 +584,14 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
584
584
|
wordCount: z.ZodNumber;
|
|
585
585
|
blockCount: z.ZodOptional<z.ZodNumber>;
|
|
586
586
|
}, "strip", z.ZodTypeAny, {
|
|
587
|
-
wordCount: number;
|
|
588
587
|
verbosityLevel: string;
|
|
589
588
|
technicalityLevel: string;
|
|
589
|
+
wordCount: number;
|
|
590
590
|
blockCount?: number | undefined;
|
|
591
591
|
}, {
|
|
592
|
-
wordCount: number;
|
|
593
592
|
verbosityLevel: string;
|
|
594
593
|
technicalityLevel: string;
|
|
594
|
+
wordCount: number;
|
|
595
595
|
blockCount?: number | undefined;
|
|
596
596
|
}>;
|
|
597
597
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -616,9 +616,9 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
616
616
|
response: string;
|
|
617
617
|
iterations: number;
|
|
618
618
|
metadata: {
|
|
619
|
-
wordCount: number;
|
|
620
619
|
verbosityLevel: string;
|
|
621
620
|
technicalityLevel: string;
|
|
621
|
+
wordCount: number;
|
|
622
622
|
blockCount?: number | undefined;
|
|
623
623
|
};
|
|
624
624
|
toolCalls?: {
|
|
@@ -627,37 +627,37 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
627
627
|
output?: unknown;
|
|
628
628
|
}[] | undefined;
|
|
629
629
|
blocks?: {
|
|
630
|
-
type: "
|
|
630
|
+
type: "file" | "image" | "input" | "section" | "header" | "divider" | "context" | "actions";
|
|
631
631
|
title?: {
|
|
632
632
|
type: "plain_text";
|
|
633
633
|
text: string;
|
|
634
634
|
emoji?: boolean | undefined;
|
|
635
635
|
} | undefined;
|
|
636
|
-
|
|
636
|
+
text?: {
|
|
637
637
|
type: "plain_text" | "mrkdwn";
|
|
638
638
|
text: string;
|
|
639
639
|
emoji?: boolean | undefined;
|
|
640
640
|
verbatim?: boolean | undefined;
|
|
641
|
-
}
|
|
642
|
-
|
|
641
|
+
} | undefined;
|
|
642
|
+
fields?: {
|
|
643
643
|
type: "plain_text" | "mrkdwn";
|
|
644
644
|
text: string;
|
|
645
645
|
emoji?: boolean | undefined;
|
|
646
646
|
verbatim?: boolean | undefined;
|
|
647
|
-
} | undefined;
|
|
648
|
-
image_url?: string | undefined;
|
|
649
|
-
alt_text?: string | undefined;
|
|
647
|
+
}[] | undefined;
|
|
650
648
|
elements?: {
|
|
651
649
|
type: "plain_text" | "mrkdwn";
|
|
652
650
|
text: string;
|
|
653
651
|
emoji?: boolean | undefined;
|
|
654
652
|
verbatim?: boolean | undefined;
|
|
655
653
|
}[] | undefined;
|
|
656
|
-
|
|
654
|
+
image_url?: string | undefined;
|
|
657
655
|
optional?: boolean | undefined;
|
|
658
|
-
|
|
656
|
+
alt_text?: string | undefined;
|
|
659
657
|
block_id?: string | undefined;
|
|
660
658
|
accessory?: unknown;
|
|
659
|
+
element?: unknown;
|
|
660
|
+
label?: unknown;
|
|
661
661
|
hint?: unknown;
|
|
662
662
|
}[] | undefined;
|
|
663
663
|
}, {
|
|
@@ -666,9 +666,9 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
666
666
|
response: string;
|
|
667
667
|
iterations: number;
|
|
668
668
|
metadata: {
|
|
669
|
-
wordCount: number;
|
|
670
669
|
verbosityLevel: string;
|
|
671
670
|
technicalityLevel: string;
|
|
671
|
+
wordCount: number;
|
|
672
672
|
blockCount?: number | undefined;
|
|
673
673
|
};
|
|
674
674
|
toolCalls?: {
|
|
@@ -677,37 +677,37 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
677
677
|
output?: unknown;
|
|
678
678
|
}[] | undefined;
|
|
679
679
|
blocks?: {
|
|
680
|
-
type: "
|
|
680
|
+
type: "file" | "image" | "input" | "section" | "header" | "divider" | "context" | "actions";
|
|
681
681
|
title?: {
|
|
682
682
|
type: "plain_text";
|
|
683
683
|
text: string;
|
|
684
684
|
emoji?: boolean | undefined;
|
|
685
685
|
} | undefined;
|
|
686
|
-
|
|
686
|
+
text?: {
|
|
687
687
|
type: "plain_text" | "mrkdwn";
|
|
688
688
|
text: string;
|
|
689
689
|
emoji?: boolean | undefined;
|
|
690
690
|
verbatim?: boolean | undefined;
|
|
691
|
-
}
|
|
692
|
-
|
|
691
|
+
} | undefined;
|
|
692
|
+
fields?: {
|
|
693
693
|
type: "plain_text" | "mrkdwn";
|
|
694
694
|
text: string;
|
|
695
695
|
emoji?: boolean | undefined;
|
|
696
696
|
verbatim?: boolean | undefined;
|
|
697
|
-
} | undefined;
|
|
698
|
-
image_url?: string | undefined;
|
|
699
|
-
alt_text?: string | undefined;
|
|
697
|
+
}[] | undefined;
|
|
700
698
|
elements?: {
|
|
701
699
|
type: "plain_text" | "mrkdwn";
|
|
702
700
|
text: string;
|
|
703
701
|
emoji?: boolean | undefined;
|
|
704
702
|
verbatim?: boolean | undefined;
|
|
705
703
|
}[] | undefined;
|
|
706
|
-
|
|
704
|
+
image_url?: string | undefined;
|
|
707
705
|
optional?: boolean | undefined;
|
|
708
|
-
|
|
706
|
+
alt_text?: string | undefined;
|
|
709
707
|
block_id?: string | undefined;
|
|
710
708
|
accessory?: unknown;
|
|
709
|
+
element?: unknown;
|
|
710
|
+
label?: unknown;
|
|
711
711
|
hint?: unknown;
|
|
712
712
|
}[] | undefined;
|
|
713
713
|
}>;
|
|
@@ -54,7 +54,7 @@ declare const SlackNotifierParamsSchema: z.ZodObject<{
|
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
55
|
contentToFormat: string;
|
|
56
56
|
targetChannel: string;
|
|
57
|
-
messageStyle: "
|
|
57
|
+
messageStyle: "concise" | "detailed" | "professional" | "casual" | "technical";
|
|
58
58
|
includeFormatting: boolean;
|
|
59
59
|
maxMessageLength: number;
|
|
60
60
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -71,7 +71,7 @@ declare const SlackNotifierParamsSchema: z.ZodObject<{
|
|
|
71
71
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
72
72
|
originalUserQuery?: string | undefined;
|
|
73
73
|
messageTitle?: string | undefined;
|
|
74
|
-
messageStyle?: "
|
|
74
|
+
messageStyle?: "concise" | "detailed" | "professional" | "casual" | "technical" | undefined;
|
|
75
75
|
includeFormatting?: boolean | undefined;
|
|
76
76
|
maxMessageLength?: number | undefined;
|
|
77
77
|
aiModel?: {
|
|
@@ -252,7 +252,7 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
|
|
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
|
253
253
|
contentToFormat: string;
|
|
254
254
|
targetChannel: string;
|
|
255
|
-
messageStyle: "
|
|
255
|
+
messageStyle: "concise" | "detailed" | "professional" | "casual" | "technical";
|
|
256
256
|
includeFormatting: boolean;
|
|
257
257
|
maxMessageLength: number;
|
|
258
258
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -269,7 +269,7 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
|
|
|
269
269
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
270
270
|
originalUserQuery?: string | undefined;
|
|
271
271
|
messageTitle?: string | undefined;
|
|
272
|
-
messageStyle?: "
|
|
272
|
+
messageStyle?: "concise" | "detailed" | "professional" | "casual" | "technical" | undefined;
|
|
273
273
|
includeFormatting?: boolean | undefined;
|
|
274
274
|
maxMessageLength?: number | undefined;
|
|
275
275
|
aiModel?: {
|
package/dist/bubbles.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-01-
|
|
3
|
+
"generatedAt": "2026-01-20T02:55:25.190Z",
|
|
4
4
|
"totalCount": 50,
|
|
5
5
|
"bubbles": [
|
|
6
6
|
{
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"useCase": "- Upload files and documents to Google Drive",
|
|
120
120
|
"inputSchema": "Complex schema - see usage example for structure",
|
|
121
121
|
"outputSchema": "Complex schema - see usage example for structure",
|
|
122
|
-
"usageExample": "// Upload File example\nconst googleDrive_upload_file = new GoogleDriveBubble({\n operation: \"upload_file\", // Upload a file to Google Drive\n name: \"example string\", // Name for the uploaded file\n content: \"example string\", // File content as base64 encoded string or plain text\n mimeType: \"example string\", // MIME type of the file (auto-detected if not provided)\n parent_folder_id: \"example string\", // ID of the parent folder (uploads to root if not provided)\n convert_to_google_docs: false // default, // Convert uploaded file to Google Docs format if possible\n});\n\nconst result = await googleDrive_upload_file.action();\n// outputSchema for result.data when operation === 'upload_file':\n// {\n// operation: \"upload_file\" // Upload a file to Google Drive,\n// success: boolean // Whether the file was uploaded successfully,\n// file: { id: string // Unique file identifier, name: string // Name of the file, mimeType: string // MIME type of the file, size: string | undefined // Size of the file in bytes, createdTime: string | undefined // Creation time in RFC 3339 format, modifiedTime: string | undefined // Last modified time in RFC 3339 format, webViewLink: string | undefined // Link to view the file in Google Drive, webContentLink: string | undefined // Link to download the file, parents: string[] | undefined // Parent folder IDs, shared: boolean | undefined // Whether the file is shared, owners: { displayName: string | undefined // Owner display name, emailAddress: string | undefined // Owner email address }[] | undefined // File owners } | undefined // Uploaded file metadata,\n// error: string // Error message if operation failed\n// }\n\n\n// Download File example\nconst googleDrive_download_file = new GoogleDriveBubble({\n operation: \"download_file\", // Download a file from Google Drive\n file_id: \"example string\", // Google Drive file ID to download\n export_format: \"example string\", // Export format for Google Workspace files (e.g., \"application/pdf\", \"text/plain\")\n});\n\nconst result = await googleDrive_download_file.action();\n// outputSchema for result.data when operation === 'download_file':\n// {\n// operation: \"download_file\" // Download a file from Google Drive,\n// success: boolean // Whether the file was downloaded successfully,\n// content: string | undefined // File content as plain text (for text-based files) or base64 encoded string (for binary files),\n// filename: string | undefined // Original filename,\n// mimeType: string | undefined // MIME type of the downloaded file,\n// error: string // Error message if operation failed\n// }\n\n\n// List Files example\nconst googleDrive_list_files = new GoogleDriveBubble({\n operation: \"list_files\", // List files and folders in Google Drive\n folder_id: \"example string\", // ID of folder to list files from (lists from root if not provided)\n query: \"example string\", // Search query to filter files (e.g., \"name contains 'report'\"\n max_results: 100 // default, // Maximum number of files to return\n include_folders: true // default, // Include folders in the results\n order_by: \"modifiedTime desc\" // default, // Order results by field (e.g., \"name\", \"modifiedTime desc\")\n});\n\nconst result = await googleDrive_list_files.action();\n// outputSchema for result.data when operation === 'list_files':\n// {\n// operation: \"list_files\" // List files and folders in Google Drive,\n// success: boolean // Whether the file list was retrieved successfully,\n// files: { id: string // Unique file identifier, name: string // Name of the file, mimeType: string // MIME type of the file, size: string | undefined // Size of the file in bytes, createdTime: string | undefined // Creation time in RFC 3339 format, modifiedTime: string | undefined // Last modified time in RFC 3339 format, webViewLink: string | undefined // Link to view the file in Google Drive, webContentLink: string | undefined // Link to download the file, parents: string[] | undefined // Parent folder IDs, shared: boolean | undefined // Whether the file is shared, owners: { displayName: string | undefined // Owner display name, emailAddress: string | undefined // Owner email address }[] | undefined // File owners }[] | undefined // List of files and folders,\n// total_count: number | undefined // Total number of files found,\n// next_page_token: string | undefined // Token for fetching next page of results,\n// error: string // Error message if operation failed\n// }\n\n\n// Create Folder example\nconst googleDrive_create_folder = new GoogleDriveBubble({\n operation: \"create_folder\", // Create a new folder in Google Drive\n name: \"example string\", // Name of the folder to create\n parent_folder_id: \"example string\", // ID of the parent folder (creates in root if not provided)\n});\n\nconst result = await googleDrive_create_folder.action();\n// outputSchema for result.data when operation === 'create_folder':\n// {\n// operation: \"create_folder\" // Create a new folder in Google Drive,\n// success: boolean // Whether the folder was created successfully,\n// folder: { id: string // Unique folder identifier, name: string // Name of the folder, webViewLink: string | undefined // Link to view the folder in Google Drive, parents: string[] | undefined // Parent folder IDs } | undefined // Created folder metadata,\n// error: string // Error message if operation failed\n// }\n\n\n// Delete File example\nconst googleDrive_delete_file = new GoogleDriveBubble({\n operation: \"delete_file\", // Delete a file or folder from Google Drive\n file_id: \"example string\", // Google Drive file or folder ID to delete\n permanent: false // default, // Permanently delete (true) or move to trash (false)\n});\n\nconst result = await googleDrive_delete_file.action();\n// outputSchema for result.data when operation === 'delete_file':\n// {\n// operation: \"delete_file\" // Delete a file or folder from Google Drive,\n// success: boolean // Whether the file was deleted successfully,\n// deleted_file_id: string | undefined // ID of the deleted file,\n// error: string // Error message if operation failed\n// }\n\n\n// Get File Info example\nconst googleDrive_get_file_info = new GoogleDriveBubble({\n operation: \"get_file_info\", // Get detailed information about a file or folder\n file_id: \"example string\", // Google Drive file or folder ID to get info for\n include_permissions: false // default, // Include file permissions in the response\n});\n\nconst result = await googleDrive_get_file_info.action();\n// outputSchema for result.data when operation === 'get_file_info':\n// {\n// operation: \"get_file_info\" // Get detailed information about a file or folder,\n// success: boolean // Whether the file information was retrieved successfully,\n// file: { id: string // Unique file identifier, name: string // Name of the file, mimeType: string // MIME type of the file, size: string | undefined // Size of the file in bytes, createdTime: string | undefined // Creation time in RFC 3339 format, modifiedTime: string | undefined // Last modified time in RFC 3339 format, webViewLink: string | undefined // Link to view the file in Google Drive, webContentLink: string | undefined // Link to download the file, parents: string[] | undefined // Parent folder IDs, shared: boolean | undefined // Whether the file is shared, owners: { displayName: string | undefined // Owner display name, emailAddress: string | undefined // Owner email address }[] | undefined // File owners } | undefined // File metadata and information,\n// permissions: { id: string, type: string, role: string, emailAddress: string | undefined // Permission holder email address, displayName: string | undefined // Permission holder display name }[] | undefined // File permissions (if requested),\n// error: string // Error message if operation failed\n// }\n\n\n// Share File example\nconst googleDrive_share_file = new GoogleDriveBubble({\n operation: \"share_file\", // Share a file or folder with specific users or make it public\n file_id: \"example string\", // Google Drive file or folder ID to share\n email_address: \"example string\", // Email address to share with (for specific user sharing)\n role: \"reader\" // options: \"reader\", \"writer\", \"commenter\", \"owner\", // Permission role to grant\n type: \"user\" // options: \"user\", \"group\", \"domain\", \"anyone\", // Type of permission to create\n send_notification: true // default, // Send notification email to the user\n});\n\nconst result = await googleDrive_share_file.action();\n// outputSchema for result.data when operation === 'share_file':\n// {\n// operation: \"share_file\" // Share a file or folder with specific users or make it public,\n// success: boolean // Whether the file was shared successfully,\n// permission_id: string | undefined // ID of the created permission,\n// share_link: string | undefined // Shareable link to the file,\n// error: string // Error message if operation failed\n// }\n\n\n// Move File example\nconst googleDrive_move_file = new GoogleDriveBubble({\n operation: \"move_file\", // Move a file or folder to a different location in Google Drive\n file_id: \"example string\", // Google Drive file or folder ID to move\n new_parent_folder_id: \"example string\", // ID of the new parent folder (moves to root if not provided)\n remove_parent_folder_id: \"example string\", // ID of the parent folder to remove (removes from all parents if not provided)\n});\n\nconst result = await googleDrive_move_file.action();\n// outputSchema for result.data when operation === 'move_file':\n// {\n// operation: \"move_file\" // Move a file or folder to a different location in Google Drive,\n// success: boolean // Whether the file was moved successfully,\n// file: { id: string // Unique file identifier, name: string // Name of the file, mimeType: string // MIME type of the file, size: string | undefined // Size of the file in bytes, createdTime: string | undefined // Creation time in RFC 3339 format, modifiedTime: string | undefined // Last modified time in RFC 3339 format, webViewLink: string | undefined // Link to view the file in Google Drive, webContentLink: string | undefined // Link to download the file, parents: string[] | undefined // Parent folder IDs, shared: boolean | undefined // Whether the file is shared, owners: { displayName: string | undefined // Owner display name, emailAddress: string | undefined // Owner email address }[] | undefined // File owners } | undefined // Updated file metadata after move,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Doc example\nconst googleDrive_get_doc = new GoogleDriveBubble({\n operation: \"get_doc\", // Get the content and metadata of a Google Doc using the Google Docs API, use this over download_file for Google Docs\n document_id: \"example string\", // The ID of the Google Doc to retrieve\n});\n\nconst result = await googleDrive_get_doc.action();\n// outputSchema for result.data when operation === 'get_doc':\n// {\n// operation: \"get_doc\" // Get the content and metadata of a Google Doc using the Google Docs API,\n// success: boolean // Whether the document was retrieved successfully,\n// document: { documentId: string // The ID of the document, title: string // The title of the document, revisionId: string | undefined // The revision ID of the document, body: Record<string, unknown> | undefined // The main body of the document containing content array, suggestionsViewMode: string | undefined // The suggestions view mode applied to the document, inlineObjects: Record<string, unknown> | undefined // The inline objects (images, etc.) in the document, lists: Record<string, unknown> | undefined // The lists in the document, keyed by list ID } | undefined // The Google Docs document content and metadata,\n// plainText: string | undefined // Extracted plain text content from the document,\n// error: string // Error message if operation failed\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`google-drive failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
122
|
+
"usageExample": "// Upload File example\nconst googleDrive_upload_file = new GoogleDriveBubble({\n operation: \"upload_file\", // Upload a file to Google Drive\n name: \"example string\", // Name for the uploaded file\n content: \"example string\", // File content as base64 encoded string or plain text\n mimeType: \"example string\", // MIME type of the file (auto-detected if not provided)\n parent_folder_id: \"example string\", // ID of the parent folder (uploads to root if not provided)\n convert_to_google_docs: false // default, // Convert uploaded file to Google Docs format if possible\n});\n\nconst result = await googleDrive_upload_file.action();\n// outputSchema for result.data when operation === 'upload_file':\n// {\n// operation: \"upload_file\" // Upload a file to Google Drive,\n// success: boolean // Whether the file was uploaded successfully,\n// file: { id: string // Unique file identifier, name: string // Name of the file, mimeType: string // MIME type of the file, size: string | undefined // Size of the file in bytes, createdTime: string | undefined // Creation time in RFC 3339 format, modifiedTime: string | undefined // Last modified time in RFC 3339 format, webViewLink: string | undefined // Link to view the file in Google Drive, webContentLink: string | undefined // Link to download the file, parents: string[] | undefined // Parent folder IDs, shared: boolean | undefined // Whether the file is shared, owners: { displayName: string | undefined // Owner display name, emailAddress: string | undefined // Owner email address }[] | undefined // File owners } | undefined // Uploaded file metadata,\n// error: string // Error message if operation failed\n// }\n\n\n// Download File example\nconst googleDrive_download_file = new GoogleDriveBubble({\n operation: \"download_file\", // Download a file from Google Drive\n file_id: \"example string\", // Google Drive file ID to download\n export_format: \"example string\", // Export format for Google Workspace files (e.g., \"application/pdf\", \"text/plain\")\n});\n\nconst result = await googleDrive_download_file.action();\n// outputSchema for result.data when operation === 'download_file':\n// {\n// operation: \"download_file\" // Download a file from Google Drive,\n// success: boolean // Whether the file was downloaded successfully,\n// content: string | undefined // File content as plain text (for text-based files) or base64 encoded string (for binary files),\n// filename: string | undefined // Original filename,\n// mimeType: string | undefined // MIME type of the downloaded file,\n// error: string // Error message if operation failed\n// }\n\n\n// List Files example\nconst googleDrive_list_files = new GoogleDriveBubble({\n operation: \"list_files\", // List files and folders in Google Drive\n folder_id: \"example string\", // ID of folder to list files from (lists from root if not provided)\n query: \"example string\", // Search query to filter files (e.g., \"name contains 'report'\"\n max_results: 100 // default, // Maximum number of files to return\n include_folders: true // default, // Include folders in the results\n order_by: \"modifiedTime desc\" // default, // Order results by field (e.g., \"name\", \"modifiedTime desc\")\n});\n\nconst result = await googleDrive_list_files.action();\n// outputSchema for result.data when operation === 'list_files':\n// {\n// operation: \"list_files\" // List files and folders in Google Drive,\n// success: boolean // Whether the file list was retrieved successfully,\n// files: { id: string // Unique file identifier, name: string // Name of the file, mimeType: string // MIME type of the file, size: string | undefined // Size of the file in bytes, createdTime: string | undefined // Creation time in RFC 3339 format, modifiedTime: string | undefined // Last modified time in RFC 3339 format, webViewLink: string | undefined // Link to view the file in Google Drive, webContentLink: string | undefined // Link to download the file, parents: string[] | undefined // Parent folder IDs, shared: boolean | undefined // Whether the file is shared, owners: { displayName: string | undefined // Owner display name, emailAddress: string | undefined // Owner email address }[] | undefined // File owners }[] | undefined // List of files and folders,\n// total_count: number | undefined // Total number of files found,\n// next_page_token: string | undefined // Token for fetching next page of results,\n// error: string // Error message if operation failed\n// }\n\n\n// Create Folder example\nconst googleDrive_create_folder = new GoogleDriveBubble({\n operation: \"create_folder\", // Create a new folder in Google Drive\n name: \"example string\", // Name of the folder to create\n parent_folder_id: \"example string\", // ID of the parent folder (creates in root if not provided)\n});\n\nconst result = await googleDrive_create_folder.action();\n// outputSchema for result.data when operation === 'create_folder':\n// {\n// operation: \"create_folder\" // Create a new folder in Google Drive,\n// success: boolean // Whether the folder was created successfully,\n// folder: { id: string // Unique folder identifier, name: string // Name of the folder, webViewLink: string | undefined // Link to view the folder in Google Drive, parents: string[] | undefined // Parent folder IDs } | undefined // Created folder metadata,\n// error: string // Error message if operation failed\n// }\n\n\n// Delete File example\nconst googleDrive_delete_file = new GoogleDriveBubble({\n operation: \"delete_file\", // Delete a file or folder from Google Drive\n file_id: \"example string\", // Google Drive file or folder ID to delete\n permanent: false // default, // Permanently delete (true) or move to trash (false)\n});\n\nconst result = await googleDrive_delete_file.action();\n// outputSchema for result.data when operation === 'delete_file':\n// {\n// operation: \"delete_file\" // Delete a file or folder from Google Drive,\n// success: boolean // Whether the file was deleted successfully,\n// deleted_file_id: string | undefined // ID of the deleted file,\n// error: string // Error message if operation failed\n// }\n\n\n// Get File Info example\nconst googleDrive_get_file_info = new GoogleDriveBubble({\n operation: \"get_file_info\", // Get detailed information about a file or folder\n file_id: \"example string\", // Google Drive file or folder ID to get info for\n include_permissions: false // default, // Include file permissions in the response\n});\n\nconst result = await googleDrive_get_file_info.action();\n// outputSchema for result.data when operation === 'get_file_info':\n// {\n// operation: \"get_file_info\" // Get detailed information about a file or folder,\n// success: boolean // Whether the file information was retrieved successfully,\n// file: { id: string // Unique file identifier, name: string // Name of the file, mimeType: string // MIME type of the file, size: string | undefined // Size of the file in bytes, createdTime: string | undefined // Creation time in RFC 3339 format, modifiedTime: string | undefined // Last modified time in RFC 3339 format, webViewLink: string | undefined // Link to view the file in Google Drive, webContentLink: string | undefined // Link to download the file, parents: string[] | undefined // Parent folder IDs, shared: boolean | undefined // Whether the file is shared, owners: { displayName: string | undefined // Owner display name, emailAddress: string | undefined // Owner email address }[] | undefined // File owners } | undefined // File metadata and information,\n// permissions: { id: string, type: string, role: string, emailAddress: string | undefined // Permission holder email address, displayName: string | undefined // Permission holder display name }[] | undefined // File permissions (if requested),\n// error: string // Error message if operation failed\n// }\n\n\n// Share File example\nconst googleDrive_share_file = new GoogleDriveBubble({\n operation: \"share_file\", // Share a file or folder with specific users or make it public\n file_id: \"example string\", // Google Drive file or folder ID to share\n email_address: \"example string\", // Email address to share with (for specific user sharing)\n role: \"reader\" // options: \"reader\", \"writer\", \"commenter\", \"owner\", // Permission role to grant\n type: \"user\" // options: \"user\", \"group\", \"domain\", \"anyone\", // Type of permission to create\n send_notification: true // default, // Send notification email to the user\n});\n\nconst result = await googleDrive_share_file.action();\n// outputSchema for result.data when operation === 'share_file':\n// {\n// operation: \"share_file\" // Share a file or folder with specific users or make it public,\n// success: boolean // Whether the file was shared successfully,\n// permission_id: string | undefined // ID of the created permission,\n// share_link: string | undefined // Shareable link to the file,\n// error: string // Error message if operation failed\n// }\n\n\n// Move File example\nconst googleDrive_move_file = new GoogleDriveBubble({\n operation: \"move_file\", // Move a file or folder to a different location in Google Drive\n file_id: \"example string\", // Google Drive file or folder ID to move\n new_parent_folder_id: \"example string\", // ID of the new parent folder (moves to root if not provided)\n remove_parent_folder_id: \"example string\", // ID of the parent folder to remove (removes from all parents if not provided)\n});\n\nconst result = await googleDrive_move_file.action();\n// outputSchema for result.data when operation === 'move_file':\n// {\n// operation: \"move_file\" // Move a file or folder to a different location in Google Drive,\n// success: boolean // Whether the file was moved successfully,\n// file: { id: string // Unique file identifier, name: string // Name of the file, mimeType: string // MIME type of the file, size: string | undefined // Size of the file in bytes, createdTime: string | undefined // Creation time in RFC 3339 format, modifiedTime: string | undefined // Last modified time in RFC 3339 format, webViewLink: string | undefined // Link to view the file in Google Drive, webContentLink: string | undefined // Link to download the file, parents: string[] | undefined // Parent folder IDs, shared: boolean | undefined // Whether the file is shared, owners: { displayName: string | undefined // Owner display name, emailAddress: string | undefined // Owner email address }[] | undefined // File owners } | undefined // Updated file metadata after move,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Doc example\nconst googleDrive_get_doc = new GoogleDriveBubble({\n operation: \"get_doc\", // Get the content and metadata of a Google Doc using the Google Docs API, use this over download_file for Google Docs\n document_id: \"example string\", // The ID of the Google Doc to retrieve\n});\n\nconst result = await googleDrive_get_doc.action();\n// outputSchema for result.data when operation === 'get_doc':\n// {\n// operation: \"get_doc\" // Get the content and metadata of a Google Doc using the Google Docs API,\n// success: boolean // Whether the document was retrieved successfully,\n// document: { documentId: string // The ID of the document, title: string // The title of the document, revisionId: string | undefined // The revision ID of the document, body: Record<string, unknown> | undefined // The main body of the document containing content array, suggestionsViewMode: string | undefined // The suggestions view mode applied to the document, inlineObjects: Record<string, unknown> | undefined // The inline objects (images, etc.) in the document, lists: Record<string, unknown> | undefined // The lists in the document, keyed by list ID } | undefined // The Google Docs document content and metadata,\n// plainText: string | undefined // Extracted plain text content from the document,\n// error: string // Error message if operation failed\n// }\n\n\n// Update Doc example\nconst googleDrive_update_doc = new GoogleDriveBubble({\n operation: \"update_doc\", // Update a Google Doc with new content using the Google Docs API batchUpdate\n document_id: \"example string\", // The ID of the Google Doc to update\n content: \"example string\", // The text or markdown content to write to the document (auto-detected)\n mode: \"replace\" // options: \"replace\", \"append\", // Update mode: \"replace\" clears existing content first, \"append\" adds to the end\n});\n\nconst result = await googleDrive_update_doc.action();\n// outputSchema for result.data when operation === 'update_doc':\n// {\n// operation: \"update_doc\" // Update a Google Doc with new content using the Google Docs API batchUpdate,\n// success: boolean // Whether the document was updated successfully,\n// documentId: string | undefined // The ID of the updated document,\n// revisionId: string | undefined // The new revision ID after the update,\n// error: string // Error message if operation failed\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`google-drive failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
123
123
|
"requiredCredentials": [
|
|
124
124
|
"GOOGLE_DRIVE_CRED"
|
|
125
125
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblelab/bubble-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"resend": "^4.8.0",
|
|
42
42
|
"zod": "^3.24.1",
|
|
43
43
|
"zod-to-json-schema": "^3.24.6",
|
|
44
|
-
"@bubblelab/shared-schemas": "0.1.
|
|
44
|
+
"@bubblelab/shared-schemas": "0.1.23"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "^20.12.12",
|