@bubblelab/bubble-core 0.1.71 → 0.1.73
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 +84 -84
- package/dist/bubbles/service-bubble/agi-inc.d.ts +132 -132
- package/dist/bubbles/service-bubble/ai-agent.d.ts +32 -32
- package/dist/bubbles/service-bubble/airtable.d.ts +132 -132
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +150 -150
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +76 -76
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +102 -102
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
- package/dist/bubbles/service-bubble/firecrawl.d.ts +502 -502
- package/dist/bubbles/service-bubble/followupboss.d.ts +348 -348
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +40 -40
- package/dist/bubbles/service-bubble/github.d.ts +192 -192
- package/dist/bubbles/service-bubble/gmail.d.ts +564 -564
- package/dist/bubbles/service-bubble/google-calendar.d.ts +152 -152
- package/dist/bubbles/service-bubble/google-drive.d.ts +147 -208
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +0 -58
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +20 -20
- package/dist/bubbles/service-bubble/insforge-db.d.ts +14 -14
- package/dist/bubbles/service-bubble/jira/jira.d.ts +62 -62
- package/dist/bubbles/service-bubble/notion/notion.d.ts +840 -840
- package/dist/bubbles/service-bubble/postgresql.d.ts +18 -18
- package/dist/bubbles/service-bubble/resend.d.ts +24 -24
- package/dist/bubbles/service-bubble/slack/slack.d.ts +586 -586
- package/dist/bubbles/service-bubble/slack/slack.utils.d.ts +17 -0
- package/dist/bubbles/service-bubble/slack/slack.utils.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.utils.js +117 -2
- package/dist/bubbles/service-bubble/slack/slack.utils.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +87 -87
- package/dist/bubbles/service-bubble/telegram.d.ts +944 -944
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +32 -32
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +272 -272
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +70 -70
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +98 -98
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +94 -94
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +92 -92
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +2 -67
- package/package.json +2 -2
|
@@ -11,21 +11,21 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
11
11
|
convert_to_google_docs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
12
12
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
operation: "upload_file";
|
|
15
|
-
name: string;
|
|
16
14
|
content: string;
|
|
15
|
+
name: string;
|
|
16
|
+
operation: "upload_file";
|
|
17
17
|
convert_to_google_docs: boolean;
|
|
18
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
18
19
|
mimeType?: string | undefined;
|
|
19
20
|
parent_folder_id?: string | undefined;
|
|
20
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
21
21
|
}, {
|
|
22
|
-
operation: "upload_file";
|
|
23
|
-
name: string;
|
|
24
22
|
content: string;
|
|
23
|
+
name: string;
|
|
24
|
+
operation: "upload_file";
|
|
25
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
25
26
|
mimeType?: string | undefined;
|
|
26
27
|
parent_folder_id?: string | undefined;
|
|
27
28
|
convert_to_google_docs?: boolean | undefined;
|
|
28
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
29
29
|
}>, z.ZodObject<{
|
|
30
30
|
operation: z.ZodLiteral<"download_file">;
|
|
31
31
|
file_id: z.ZodString;
|
|
@@ -55,13 +55,13 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
55
55
|
include_folders: boolean;
|
|
56
56
|
order_by: string;
|
|
57
57
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
58
|
-
folder_id?: string | undefined;
|
|
59
58
|
query?: string | undefined;
|
|
59
|
+
folder_id?: string | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
operation: "list_files";
|
|
62
62
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
63
|
-
folder_id?: string | undefined;
|
|
64
63
|
query?: string | undefined;
|
|
64
|
+
folder_id?: string | undefined;
|
|
65
65
|
max_results?: number | undefined;
|
|
66
66
|
include_folders?: boolean | undefined;
|
|
67
67
|
order_by?: string | undefined;
|
|
@@ -71,15 +71,15 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
71
71
|
parent_folder_id: z.ZodOptional<z.ZodString>;
|
|
72
72
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
operation: "create_folder";
|
|
75
74
|
name: string;
|
|
76
|
-
|
|
75
|
+
operation: "create_folder";
|
|
77
76
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
77
|
+
parent_folder_id?: string | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
operation: "create_folder";
|
|
80
79
|
name: string;
|
|
81
|
-
|
|
80
|
+
operation: "create_folder";
|
|
82
81
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
82
|
+
parent_folder_id?: string | undefined;
|
|
83
83
|
}>, z.ZodObject<{
|
|
84
84
|
operation: z.ZodLiteral<"delete_file">;
|
|
85
85
|
file_id: z.ZodString;
|
|
@@ -119,10 +119,10 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
119
119
|
send_notification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
120
120
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
operation: "share_file";
|
|
123
122
|
type: "user" | "group" | "domain" | "anyone";
|
|
123
|
+
operation: "share_file";
|
|
124
124
|
file_id: string;
|
|
125
|
-
role: "
|
|
125
|
+
role: "writer" | "reader" | "commenter" | "owner";
|
|
126
126
|
send_notification: boolean;
|
|
127
127
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
128
128
|
email_address?: string | undefined;
|
|
@@ -132,7 +132,7 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
132
132
|
type?: "user" | "group" | "domain" | "anyone" | undefined;
|
|
133
133
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
134
134
|
email_address?: string | undefined;
|
|
135
|
-
role?: "
|
|
135
|
+
role?: "writer" | "reader" | "commenter" | "owner" | undefined;
|
|
136
136
|
send_notification?: boolean | undefined;
|
|
137
137
|
}>, z.ZodObject<{
|
|
138
138
|
operation: z.ZodLiteral<"move_file">;
|
|
@@ -178,19 +178,19 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
178
178
|
tab_id: z.ZodOptional<z.ZodString>;
|
|
179
179
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
-
operation: "update_doc";
|
|
182
181
|
content: string;
|
|
183
|
-
|
|
182
|
+
operation: "update_doc";
|
|
184
183
|
mode: "replace" | "append";
|
|
184
|
+
document_id: string;
|
|
185
185
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
186
186
|
tab_id?: string | undefined;
|
|
187
187
|
}, {
|
|
188
|
-
operation: "update_doc";
|
|
189
188
|
content: string;
|
|
189
|
+
operation: "update_doc";
|
|
190
190
|
document_id: string;
|
|
191
191
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
192
|
-
tab_id?: string | undefined;
|
|
193
192
|
mode?: "replace" | "append" | undefined;
|
|
193
|
+
tab_id?: string | undefined;
|
|
194
194
|
}>, z.ZodObject<{
|
|
195
195
|
operation: z.ZodLiteral<"replace_text">;
|
|
196
196
|
document_id: z.ZodString;
|
|
@@ -239,29 +239,14 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
239
239
|
operation: "copy_doc";
|
|
240
240
|
document_id: string;
|
|
241
241
|
new_name: string;
|
|
242
|
-
parent_folder_id?: string | undefined;
|
|
243
242
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
243
|
+
parent_folder_id?: string | undefined;
|
|
244
244
|
}, {
|
|
245
245
|
operation: "copy_doc";
|
|
246
246
|
document_id: string;
|
|
247
247
|
new_name: string;
|
|
248
|
-
parent_folder_id?: string | undefined;
|
|
249
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
250
|
-
}>, z.ZodObject<{
|
|
251
|
-
operation: z.ZodLiteral<"create_tab">;
|
|
252
|
-
document_id: z.ZodString;
|
|
253
|
-
title: z.ZodString;
|
|
254
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
255
|
-
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
operation: "create_tab";
|
|
257
|
-
title: string;
|
|
258
|
-
document_id: string;
|
|
259
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
260
|
-
}, {
|
|
261
|
-
operation: "create_tab";
|
|
262
|
-
title: string;
|
|
263
|
-
document_id: string;
|
|
264
248
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
249
|
+
parent_folder_id?: string | undefined;
|
|
265
250
|
}>]>;
|
|
266
251
|
declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
267
252
|
operation: z.ZodLiteral<"upload_file">;
|
|
@@ -320,9 +305,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
320
305
|
}>>;
|
|
321
306
|
error: z.ZodString;
|
|
322
307
|
}, "strip", z.ZodTypeAny, {
|
|
323
|
-
operation: "upload_file";
|
|
324
|
-
success: boolean;
|
|
325
308
|
error: string;
|
|
309
|
+
success: boolean;
|
|
310
|
+
operation: "upload_file";
|
|
326
311
|
file?: {
|
|
327
312
|
name: string;
|
|
328
313
|
mimeType: string;
|
|
@@ -340,9 +325,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
340
325
|
}[] | undefined;
|
|
341
326
|
} | undefined;
|
|
342
327
|
}, {
|
|
343
|
-
operation: "upload_file";
|
|
344
|
-
success: boolean;
|
|
345
328
|
error: string;
|
|
329
|
+
success: boolean;
|
|
330
|
+
operation: "upload_file";
|
|
346
331
|
file?: {
|
|
347
332
|
name: string;
|
|
348
333
|
mimeType: string;
|
|
@@ -367,16 +352,16 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
367
352
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
368
353
|
error: z.ZodString;
|
|
369
354
|
}, "strip", z.ZodTypeAny, {
|
|
370
|
-
operation: "download_file";
|
|
371
|
-
success: boolean;
|
|
372
355
|
error: string;
|
|
356
|
+
success: boolean;
|
|
357
|
+
operation: "download_file";
|
|
373
358
|
content?: string | undefined;
|
|
374
359
|
mimeType?: string | undefined;
|
|
375
360
|
filename?: string | undefined;
|
|
376
361
|
}, {
|
|
377
|
-
operation: "download_file";
|
|
378
|
-
success: boolean;
|
|
379
362
|
error: string;
|
|
363
|
+
success: boolean;
|
|
364
|
+
operation: "download_file";
|
|
380
365
|
content?: string | undefined;
|
|
381
366
|
mimeType?: string | undefined;
|
|
382
367
|
filename?: string | undefined;
|
|
@@ -439,9 +424,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
439
424
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
440
425
|
error: z.ZodString;
|
|
441
426
|
}, "strip", z.ZodTypeAny, {
|
|
442
|
-
operation: "list_files";
|
|
443
|
-
success: boolean;
|
|
444
427
|
error: string;
|
|
428
|
+
success: boolean;
|
|
429
|
+
operation: "list_files";
|
|
445
430
|
files?: {
|
|
446
431
|
name: string;
|
|
447
432
|
mimeType: string;
|
|
@@ -461,9 +446,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
461
446
|
total_count?: number | undefined;
|
|
462
447
|
next_page_token?: string | undefined;
|
|
463
448
|
}, {
|
|
464
|
-
operation: "list_files";
|
|
465
|
-
success: boolean;
|
|
466
449
|
error: string;
|
|
450
|
+
success: boolean;
|
|
451
|
+
operation: "list_files";
|
|
467
452
|
files?: {
|
|
468
453
|
name: string;
|
|
469
454
|
mimeType: string;
|
|
@@ -503,9 +488,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
503
488
|
}>>;
|
|
504
489
|
error: z.ZodString;
|
|
505
490
|
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
operation: "create_folder";
|
|
507
|
-
success: boolean;
|
|
508
491
|
error: string;
|
|
492
|
+
success: boolean;
|
|
493
|
+
operation: "create_folder";
|
|
509
494
|
folder?: {
|
|
510
495
|
name: string;
|
|
511
496
|
id: string;
|
|
@@ -513,9 +498,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
513
498
|
parents?: string[] | undefined;
|
|
514
499
|
} | undefined;
|
|
515
500
|
}, {
|
|
516
|
-
operation: "create_folder";
|
|
517
|
-
success: boolean;
|
|
518
501
|
error: string;
|
|
502
|
+
success: boolean;
|
|
503
|
+
operation: "create_folder";
|
|
519
504
|
folder?: {
|
|
520
505
|
name: string;
|
|
521
506
|
id: string;
|
|
@@ -528,14 +513,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
528
513
|
deleted_file_id: z.ZodOptional<z.ZodString>;
|
|
529
514
|
error: z.ZodString;
|
|
530
515
|
}, "strip", z.ZodTypeAny, {
|
|
531
|
-
operation: "delete_file";
|
|
532
|
-
success: boolean;
|
|
533
516
|
error: string;
|
|
517
|
+
success: boolean;
|
|
518
|
+
operation: "delete_file";
|
|
534
519
|
deleted_file_id?: string | undefined;
|
|
535
520
|
}, {
|
|
536
|
-
operation: "delete_file";
|
|
537
|
-
success: boolean;
|
|
538
521
|
error: string;
|
|
522
|
+
success: boolean;
|
|
523
|
+
operation: "delete_file";
|
|
539
524
|
deleted_file_id?: string | undefined;
|
|
540
525
|
}>, z.ZodObject<{
|
|
541
526
|
operation: z.ZodLiteral<"get_file_info">;
|
|
@@ -600,22 +585,22 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
600
585
|
displayName: z.ZodOptional<z.ZodString>;
|
|
601
586
|
}, "strip", z.ZodTypeAny, {
|
|
602
587
|
type: string;
|
|
603
|
-
role: string;
|
|
604
588
|
id: string;
|
|
589
|
+
role: string;
|
|
605
590
|
displayName?: string | undefined;
|
|
606
591
|
emailAddress?: string | undefined;
|
|
607
592
|
}, {
|
|
608
593
|
type: string;
|
|
609
|
-
role: string;
|
|
610
594
|
id: string;
|
|
595
|
+
role: string;
|
|
611
596
|
displayName?: string | undefined;
|
|
612
597
|
emailAddress?: string | undefined;
|
|
613
598
|
}>, "many">>;
|
|
614
599
|
error: z.ZodString;
|
|
615
600
|
}, "strip", z.ZodTypeAny, {
|
|
616
|
-
operation: "get_file_info";
|
|
617
|
-
success: boolean;
|
|
618
601
|
error: string;
|
|
602
|
+
success: boolean;
|
|
603
|
+
operation: "get_file_info";
|
|
619
604
|
file?: {
|
|
620
605
|
name: string;
|
|
621
606
|
mimeType: string;
|
|
@@ -634,15 +619,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
634
619
|
} | undefined;
|
|
635
620
|
permissions?: {
|
|
636
621
|
type: string;
|
|
637
|
-
role: string;
|
|
638
622
|
id: string;
|
|
623
|
+
role: string;
|
|
639
624
|
displayName?: string | undefined;
|
|
640
625
|
emailAddress?: string | undefined;
|
|
641
626
|
}[] | undefined;
|
|
642
627
|
}, {
|
|
643
|
-
operation: "get_file_info";
|
|
644
|
-
success: boolean;
|
|
645
628
|
error: string;
|
|
629
|
+
success: boolean;
|
|
630
|
+
operation: "get_file_info";
|
|
646
631
|
file?: {
|
|
647
632
|
name: string;
|
|
648
633
|
mimeType: string;
|
|
@@ -661,8 +646,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
661
646
|
} | undefined;
|
|
662
647
|
permissions?: {
|
|
663
648
|
type: string;
|
|
664
|
-
role: string;
|
|
665
649
|
id: string;
|
|
650
|
+
role: string;
|
|
666
651
|
displayName?: string | undefined;
|
|
667
652
|
emailAddress?: string | undefined;
|
|
668
653
|
}[] | undefined;
|
|
@@ -673,15 +658,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
673
658
|
share_link: z.ZodOptional<z.ZodString>;
|
|
674
659
|
error: z.ZodString;
|
|
675
660
|
}, "strip", z.ZodTypeAny, {
|
|
676
|
-
operation: "share_file";
|
|
677
|
-
success: boolean;
|
|
678
661
|
error: string;
|
|
662
|
+
success: boolean;
|
|
663
|
+
operation: "share_file";
|
|
679
664
|
permission_id?: string | undefined;
|
|
680
665
|
share_link?: string | undefined;
|
|
681
666
|
}, {
|
|
682
|
-
operation: "share_file";
|
|
683
|
-
success: boolean;
|
|
684
667
|
error: string;
|
|
668
|
+
success: boolean;
|
|
669
|
+
operation: "share_file";
|
|
685
670
|
permission_id?: string | undefined;
|
|
686
671
|
share_link?: string | undefined;
|
|
687
672
|
}>, z.ZodObject<{
|
|
@@ -741,9 +726,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
741
726
|
}>>;
|
|
742
727
|
error: z.ZodString;
|
|
743
728
|
}, "strip", z.ZodTypeAny, {
|
|
744
|
-
operation: "move_file";
|
|
745
|
-
success: boolean;
|
|
746
729
|
error: string;
|
|
730
|
+
success: boolean;
|
|
731
|
+
operation: "move_file";
|
|
747
732
|
file?: {
|
|
748
733
|
name: string;
|
|
749
734
|
mimeType: string;
|
|
@@ -761,9 +746,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
761
746
|
}[] | undefined;
|
|
762
747
|
} | undefined;
|
|
763
748
|
}, {
|
|
764
|
-
operation: "move_file";
|
|
765
|
-
success: boolean;
|
|
766
749
|
error: string;
|
|
750
|
+
success: boolean;
|
|
751
|
+
operation: "move_file";
|
|
767
752
|
file?: {
|
|
768
753
|
name: string;
|
|
769
754
|
mimeType: string;
|
|
@@ -827,9 +812,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
827
812
|
}>, "many">>;
|
|
828
813
|
error: z.ZodString;
|
|
829
814
|
}, "strip", z.ZodTypeAny, {
|
|
830
|
-
operation: "get_doc";
|
|
831
|
-
success: boolean;
|
|
832
815
|
error: string;
|
|
816
|
+
success: boolean;
|
|
817
|
+
operation: "get_doc";
|
|
833
818
|
document?: z.objectOutputType<{
|
|
834
819
|
documentId: z.ZodString;
|
|
835
820
|
title: z.ZodString;
|
|
@@ -847,9 +832,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
847
832
|
plainText?: string | undefined;
|
|
848
833
|
}[] | undefined;
|
|
849
834
|
}, {
|
|
850
|
-
operation: "get_doc";
|
|
851
|
-
success: boolean;
|
|
852
835
|
error: string;
|
|
836
|
+
success: boolean;
|
|
837
|
+
operation: "get_doc";
|
|
853
838
|
document?: z.objectInputType<{
|
|
854
839
|
documentId: z.ZodString;
|
|
855
840
|
title: z.ZodString;
|
|
@@ -873,15 +858,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
873
858
|
revisionId: z.ZodOptional<z.ZodString>;
|
|
874
859
|
error: z.ZodString;
|
|
875
860
|
}, "strip", z.ZodTypeAny, {
|
|
876
|
-
operation: "update_doc";
|
|
877
|
-
success: boolean;
|
|
878
861
|
error: string;
|
|
862
|
+
success: boolean;
|
|
863
|
+
operation: "update_doc";
|
|
879
864
|
documentId?: string | undefined;
|
|
880
865
|
revisionId?: string | undefined;
|
|
881
866
|
}, {
|
|
882
|
-
operation: "update_doc";
|
|
883
|
-
success: boolean;
|
|
884
867
|
error: string;
|
|
868
|
+
success: boolean;
|
|
869
|
+
operation: "update_doc";
|
|
885
870
|
documentId?: string | undefined;
|
|
886
871
|
revisionId?: string | undefined;
|
|
887
872
|
}>, z.ZodObject<{
|
|
@@ -890,14 +875,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
890
875
|
replacements_made: z.ZodOptional<z.ZodNumber>;
|
|
891
876
|
error: z.ZodString;
|
|
892
877
|
}, "strip", z.ZodTypeAny, {
|
|
893
|
-
operation: "replace_text";
|
|
894
|
-
success: boolean;
|
|
895
878
|
error: string;
|
|
879
|
+
success: boolean;
|
|
880
|
+
operation: "replace_text";
|
|
896
881
|
replacements_made?: number | undefined;
|
|
897
882
|
}, {
|
|
898
|
-
operation: "replace_text";
|
|
899
|
-
success: boolean;
|
|
900
883
|
error: string;
|
|
884
|
+
success: boolean;
|
|
885
|
+
operation: "replace_text";
|
|
901
886
|
replacements_made?: number | undefined;
|
|
902
887
|
}>, z.ZodObject<{
|
|
903
888
|
operation: z.ZodLiteral<"copy_doc">;
|
|
@@ -906,32 +891,17 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
906
891
|
new_document_url: z.ZodOptional<z.ZodString>;
|
|
907
892
|
error: z.ZodString;
|
|
908
893
|
}, "strip", z.ZodTypeAny, {
|
|
909
|
-
operation: "copy_doc";
|
|
910
|
-
success: boolean;
|
|
911
894
|
error: string;
|
|
895
|
+
success: boolean;
|
|
896
|
+
operation: "copy_doc";
|
|
912
897
|
new_document_id?: string | undefined;
|
|
913
898
|
new_document_url?: string | undefined;
|
|
914
899
|
}, {
|
|
915
|
-
operation: "copy_doc";
|
|
916
|
-
success: boolean;
|
|
917
900
|
error: string;
|
|
901
|
+
success: boolean;
|
|
902
|
+
operation: "copy_doc";
|
|
918
903
|
new_document_id?: string | undefined;
|
|
919
904
|
new_document_url?: string | undefined;
|
|
920
|
-
}>, z.ZodObject<{
|
|
921
|
-
operation: z.ZodLiteral<"create_tab">;
|
|
922
|
-
success: z.ZodBoolean;
|
|
923
|
-
tab_id: z.ZodOptional<z.ZodString>;
|
|
924
|
-
error: z.ZodString;
|
|
925
|
-
}, "strip", z.ZodTypeAny, {
|
|
926
|
-
operation: "create_tab";
|
|
927
|
-
success: boolean;
|
|
928
|
-
error: string;
|
|
929
|
-
tab_id?: string | undefined;
|
|
930
|
-
}, {
|
|
931
|
-
operation: "create_tab";
|
|
932
|
-
success: boolean;
|
|
933
|
-
error: string;
|
|
934
|
-
tab_id?: string | undefined;
|
|
935
905
|
}>]>;
|
|
936
906
|
type GoogleDriveResult = z.output<typeof GoogleDriveResultSchema>;
|
|
937
907
|
type GoogleDriveParams = z.input<typeof GoogleDriveParamsSchema>;
|
|
@@ -955,21 +925,21 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
955
925
|
convert_to_google_docs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
956
926
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
957
927
|
}, "strip", z.ZodTypeAny, {
|
|
958
|
-
operation: "upload_file";
|
|
959
|
-
name: string;
|
|
960
928
|
content: string;
|
|
929
|
+
name: string;
|
|
930
|
+
operation: "upload_file";
|
|
961
931
|
convert_to_google_docs: boolean;
|
|
932
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
962
933
|
mimeType?: string | undefined;
|
|
963
934
|
parent_folder_id?: string | undefined;
|
|
964
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
965
935
|
}, {
|
|
966
|
-
operation: "upload_file";
|
|
967
|
-
name: string;
|
|
968
936
|
content: string;
|
|
937
|
+
name: string;
|
|
938
|
+
operation: "upload_file";
|
|
939
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
969
940
|
mimeType?: string | undefined;
|
|
970
941
|
parent_folder_id?: string | undefined;
|
|
971
942
|
convert_to_google_docs?: boolean | undefined;
|
|
972
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
973
943
|
}>, z.ZodObject<{
|
|
974
944
|
operation: z.ZodLiteral<"download_file">;
|
|
975
945
|
file_id: z.ZodString;
|
|
@@ -999,13 +969,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
999
969
|
include_folders: boolean;
|
|
1000
970
|
order_by: string;
|
|
1001
971
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1002
|
-
folder_id?: string | undefined;
|
|
1003
972
|
query?: string | undefined;
|
|
973
|
+
folder_id?: string | undefined;
|
|
1004
974
|
}, {
|
|
1005
975
|
operation: "list_files";
|
|
1006
976
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1007
|
-
folder_id?: string | undefined;
|
|
1008
977
|
query?: string | undefined;
|
|
978
|
+
folder_id?: string | undefined;
|
|
1009
979
|
max_results?: number | undefined;
|
|
1010
980
|
include_folders?: boolean | undefined;
|
|
1011
981
|
order_by?: string | undefined;
|
|
@@ -1015,15 +985,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1015
985
|
parent_folder_id: z.ZodOptional<z.ZodString>;
|
|
1016
986
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1017
987
|
}, "strip", z.ZodTypeAny, {
|
|
1018
|
-
operation: "create_folder";
|
|
1019
988
|
name: string;
|
|
1020
|
-
|
|
989
|
+
operation: "create_folder";
|
|
1021
990
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
991
|
+
parent_folder_id?: string | undefined;
|
|
1022
992
|
}, {
|
|
1023
|
-
operation: "create_folder";
|
|
1024
993
|
name: string;
|
|
1025
|
-
|
|
994
|
+
operation: "create_folder";
|
|
1026
995
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
996
|
+
parent_folder_id?: string | undefined;
|
|
1027
997
|
}>, z.ZodObject<{
|
|
1028
998
|
operation: z.ZodLiteral<"delete_file">;
|
|
1029
999
|
file_id: z.ZodString;
|
|
@@ -1063,10 +1033,10 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1063
1033
|
send_notification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1064
1034
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1065
1035
|
}, "strip", z.ZodTypeAny, {
|
|
1066
|
-
operation: "share_file";
|
|
1067
1036
|
type: "user" | "group" | "domain" | "anyone";
|
|
1037
|
+
operation: "share_file";
|
|
1068
1038
|
file_id: string;
|
|
1069
|
-
role: "
|
|
1039
|
+
role: "writer" | "reader" | "commenter" | "owner";
|
|
1070
1040
|
send_notification: boolean;
|
|
1071
1041
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1072
1042
|
email_address?: string | undefined;
|
|
@@ -1076,7 +1046,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1076
1046
|
type?: "user" | "group" | "domain" | "anyone" | undefined;
|
|
1077
1047
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1078
1048
|
email_address?: string | undefined;
|
|
1079
|
-
role?: "
|
|
1049
|
+
role?: "writer" | "reader" | "commenter" | "owner" | undefined;
|
|
1080
1050
|
send_notification?: boolean | undefined;
|
|
1081
1051
|
}>, z.ZodObject<{
|
|
1082
1052
|
operation: z.ZodLiteral<"move_file">;
|
|
@@ -1122,19 +1092,19 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1122
1092
|
tab_id: z.ZodOptional<z.ZodString>;
|
|
1123
1093
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1124
1094
|
}, "strip", z.ZodTypeAny, {
|
|
1125
|
-
operation: "update_doc";
|
|
1126
1095
|
content: string;
|
|
1127
|
-
|
|
1096
|
+
operation: "update_doc";
|
|
1128
1097
|
mode: "replace" | "append";
|
|
1098
|
+
document_id: string;
|
|
1129
1099
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1130
1100
|
tab_id?: string | undefined;
|
|
1131
1101
|
}, {
|
|
1132
|
-
operation: "update_doc";
|
|
1133
1102
|
content: string;
|
|
1103
|
+
operation: "update_doc";
|
|
1134
1104
|
document_id: string;
|
|
1135
1105
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1136
|
-
tab_id?: string | undefined;
|
|
1137
1106
|
mode?: "replace" | "append" | undefined;
|
|
1107
|
+
tab_id?: string | undefined;
|
|
1138
1108
|
}>, z.ZodObject<{
|
|
1139
1109
|
operation: z.ZodLiteral<"replace_text">;
|
|
1140
1110
|
document_id: z.ZodString;
|
|
@@ -1183,29 +1153,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1183
1153
|
operation: "copy_doc";
|
|
1184
1154
|
document_id: string;
|
|
1185
1155
|
new_name: string;
|
|
1186
|
-
parent_folder_id?: string | undefined;
|
|
1187
1156
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1157
|
+
parent_folder_id?: string | undefined;
|
|
1188
1158
|
}, {
|
|
1189
1159
|
operation: "copy_doc";
|
|
1190
1160
|
document_id: string;
|
|
1191
1161
|
new_name: string;
|
|
1192
|
-
parent_folder_id?: string | undefined;
|
|
1193
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1194
|
-
}>, z.ZodObject<{
|
|
1195
|
-
operation: z.ZodLiteral<"create_tab">;
|
|
1196
|
-
document_id: z.ZodString;
|
|
1197
|
-
title: z.ZodString;
|
|
1198
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1199
|
-
}, "strip", z.ZodTypeAny, {
|
|
1200
|
-
operation: "create_tab";
|
|
1201
|
-
title: string;
|
|
1202
|
-
document_id: string;
|
|
1203
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1204
|
-
}, {
|
|
1205
|
-
operation: "create_tab";
|
|
1206
|
-
title: string;
|
|
1207
|
-
document_id: string;
|
|
1208
1162
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1163
|
+
parent_folder_id?: string | undefined;
|
|
1209
1164
|
}>]>;
|
|
1210
1165
|
static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
1211
1166
|
operation: z.ZodLiteral<"upload_file">;
|
|
@@ -1264,9 +1219,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1264
1219
|
}>>;
|
|
1265
1220
|
error: z.ZodString;
|
|
1266
1221
|
}, "strip", z.ZodTypeAny, {
|
|
1267
|
-
operation: "upload_file";
|
|
1268
|
-
success: boolean;
|
|
1269
1222
|
error: string;
|
|
1223
|
+
success: boolean;
|
|
1224
|
+
operation: "upload_file";
|
|
1270
1225
|
file?: {
|
|
1271
1226
|
name: string;
|
|
1272
1227
|
mimeType: string;
|
|
@@ -1284,9 +1239,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1284
1239
|
}[] | undefined;
|
|
1285
1240
|
} | undefined;
|
|
1286
1241
|
}, {
|
|
1287
|
-
operation: "upload_file";
|
|
1288
|
-
success: boolean;
|
|
1289
1242
|
error: string;
|
|
1243
|
+
success: boolean;
|
|
1244
|
+
operation: "upload_file";
|
|
1290
1245
|
file?: {
|
|
1291
1246
|
name: string;
|
|
1292
1247
|
mimeType: string;
|
|
@@ -1311,16 +1266,16 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1311
1266
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
1312
1267
|
error: z.ZodString;
|
|
1313
1268
|
}, "strip", z.ZodTypeAny, {
|
|
1314
|
-
operation: "download_file";
|
|
1315
|
-
success: boolean;
|
|
1316
1269
|
error: string;
|
|
1270
|
+
success: boolean;
|
|
1271
|
+
operation: "download_file";
|
|
1317
1272
|
content?: string | undefined;
|
|
1318
1273
|
mimeType?: string | undefined;
|
|
1319
1274
|
filename?: string | undefined;
|
|
1320
1275
|
}, {
|
|
1321
|
-
operation: "download_file";
|
|
1322
|
-
success: boolean;
|
|
1323
1276
|
error: string;
|
|
1277
|
+
success: boolean;
|
|
1278
|
+
operation: "download_file";
|
|
1324
1279
|
content?: string | undefined;
|
|
1325
1280
|
mimeType?: string | undefined;
|
|
1326
1281
|
filename?: string | undefined;
|
|
@@ -1383,9 +1338,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1383
1338
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
1384
1339
|
error: z.ZodString;
|
|
1385
1340
|
}, "strip", z.ZodTypeAny, {
|
|
1386
|
-
operation: "list_files";
|
|
1387
|
-
success: boolean;
|
|
1388
1341
|
error: string;
|
|
1342
|
+
success: boolean;
|
|
1343
|
+
operation: "list_files";
|
|
1389
1344
|
files?: {
|
|
1390
1345
|
name: string;
|
|
1391
1346
|
mimeType: string;
|
|
@@ -1405,9 +1360,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1405
1360
|
total_count?: number | undefined;
|
|
1406
1361
|
next_page_token?: string | undefined;
|
|
1407
1362
|
}, {
|
|
1408
|
-
operation: "list_files";
|
|
1409
|
-
success: boolean;
|
|
1410
1363
|
error: string;
|
|
1364
|
+
success: boolean;
|
|
1365
|
+
operation: "list_files";
|
|
1411
1366
|
files?: {
|
|
1412
1367
|
name: string;
|
|
1413
1368
|
mimeType: string;
|
|
@@ -1447,9 +1402,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1447
1402
|
}>>;
|
|
1448
1403
|
error: z.ZodString;
|
|
1449
1404
|
}, "strip", z.ZodTypeAny, {
|
|
1450
|
-
operation: "create_folder";
|
|
1451
|
-
success: boolean;
|
|
1452
1405
|
error: string;
|
|
1406
|
+
success: boolean;
|
|
1407
|
+
operation: "create_folder";
|
|
1453
1408
|
folder?: {
|
|
1454
1409
|
name: string;
|
|
1455
1410
|
id: string;
|
|
@@ -1457,9 +1412,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1457
1412
|
parents?: string[] | undefined;
|
|
1458
1413
|
} | undefined;
|
|
1459
1414
|
}, {
|
|
1460
|
-
operation: "create_folder";
|
|
1461
|
-
success: boolean;
|
|
1462
1415
|
error: string;
|
|
1416
|
+
success: boolean;
|
|
1417
|
+
operation: "create_folder";
|
|
1463
1418
|
folder?: {
|
|
1464
1419
|
name: string;
|
|
1465
1420
|
id: string;
|
|
@@ -1472,14 +1427,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1472
1427
|
deleted_file_id: z.ZodOptional<z.ZodString>;
|
|
1473
1428
|
error: z.ZodString;
|
|
1474
1429
|
}, "strip", z.ZodTypeAny, {
|
|
1475
|
-
operation: "delete_file";
|
|
1476
|
-
success: boolean;
|
|
1477
1430
|
error: string;
|
|
1431
|
+
success: boolean;
|
|
1432
|
+
operation: "delete_file";
|
|
1478
1433
|
deleted_file_id?: string | undefined;
|
|
1479
1434
|
}, {
|
|
1480
|
-
operation: "delete_file";
|
|
1481
|
-
success: boolean;
|
|
1482
1435
|
error: string;
|
|
1436
|
+
success: boolean;
|
|
1437
|
+
operation: "delete_file";
|
|
1483
1438
|
deleted_file_id?: string | undefined;
|
|
1484
1439
|
}>, z.ZodObject<{
|
|
1485
1440
|
operation: z.ZodLiteral<"get_file_info">;
|
|
@@ -1544,22 +1499,22 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1544
1499
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1545
1500
|
}, "strip", z.ZodTypeAny, {
|
|
1546
1501
|
type: string;
|
|
1547
|
-
role: string;
|
|
1548
1502
|
id: string;
|
|
1503
|
+
role: string;
|
|
1549
1504
|
displayName?: string | undefined;
|
|
1550
1505
|
emailAddress?: string | undefined;
|
|
1551
1506
|
}, {
|
|
1552
1507
|
type: string;
|
|
1553
|
-
role: string;
|
|
1554
1508
|
id: string;
|
|
1509
|
+
role: string;
|
|
1555
1510
|
displayName?: string | undefined;
|
|
1556
1511
|
emailAddress?: string | undefined;
|
|
1557
1512
|
}>, "many">>;
|
|
1558
1513
|
error: z.ZodString;
|
|
1559
1514
|
}, "strip", z.ZodTypeAny, {
|
|
1560
|
-
operation: "get_file_info";
|
|
1561
|
-
success: boolean;
|
|
1562
1515
|
error: string;
|
|
1516
|
+
success: boolean;
|
|
1517
|
+
operation: "get_file_info";
|
|
1563
1518
|
file?: {
|
|
1564
1519
|
name: string;
|
|
1565
1520
|
mimeType: string;
|
|
@@ -1578,15 +1533,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1578
1533
|
} | undefined;
|
|
1579
1534
|
permissions?: {
|
|
1580
1535
|
type: string;
|
|
1581
|
-
role: string;
|
|
1582
1536
|
id: string;
|
|
1537
|
+
role: string;
|
|
1583
1538
|
displayName?: string | undefined;
|
|
1584
1539
|
emailAddress?: string | undefined;
|
|
1585
1540
|
}[] | undefined;
|
|
1586
1541
|
}, {
|
|
1587
|
-
operation: "get_file_info";
|
|
1588
|
-
success: boolean;
|
|
1589
1542
|
error: string;
|
|
1543
|
+
success: boolean;
|
|
1544
|
+
operation: "get_file_info";
|
|
1590
1545
|
file?: {
|
|
1591
1546
|
name: string;
|
|
1592
1547
|
mimeType: string;
|
|
@@ -1605,8 +1560,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1605
1560
|
} | undefined;
|
|
1606
1561
|
permissions?: {
|
|
1607
1562
|
type: string;
|
|
1608
|
-
role: string;
|
|
1609
1563
|
id: string;
|
|
1564
|
+
role: string;
|
|
1610
1565
|
displayName?: string | undefined;
|
|
1611
1566
|
emailAddress?: string | undefined;
|
|
1612
1567
|
}[] | undefined;
|
|
@@ -1617,15 +1572,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1617
1572
|
share_link: z.ZodOptional<z.ZodString>;
|
|
1618
1573
|
error: z.ZodString;
|
|
1619
1574
|
}, "strip", z.ZodTypeAny, {
|
|
1620
|
-
operation: "share_file";
|
|
1621
|
-
success: boolean;
|
|
1622
1575
|
error: string;
|
|
1576
|
+
success: boolean;
|
|
1577
|
+
operation: "share_file";
|
|
1623
1578
|
permission_id?: string | undefined;
|
|
1624
1579
|
share_link?: string | undefined;
|
|
1625
1580
|
}, {
|
|
1626
|
-
operation: "share_file";
|
|
1627
|
-
success: boolean;
|
|
1628
1581
|
error: string;
|
|
1582
|
+
success: boolean;
|
|
1583
|
+
operation: "share_file";
|
|
1629
1584
|
permission_id?: string | undefined;
|
|
1630
1585
|
share_link?: string | undefined;
|
|
1631
1586
|
}>, z.ZodObject<{
|
|
@@ -1685,9 +1640,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1685
1640
|
}>>;
|
|
1686
1641
|
error: z.ZodString;
|
|
1687
1642
|
}, "strip", z.ZodTypeAny, {
|
|
1688
|
-
operation: "move_file";
|
|
1689
|
-
success: boolean;
|
|
1690
1643
|
error: string;
|
|
1644
|
+
success: boolean;
|
|
1645
|
+
operation: "move_file";
|
|
1691
1646
|
file?: {
|
|
1692
1647
|
name: string;
|
|
1693
1648
|
mimeType: string;
|
|
@@ -1705,9 +1660,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1705
1660
|
}[] | undefined;
|
|
1706
1661
|
} | undefined;
|
|
1707
1662
|
}, {
|
|
1708
|
-
operation: "move_file";
|
|
1709
|
-
success: boolean;
|
|
1710
1663
|
error: string;
|
|
1664
|
+
success: boolean;
|
|
1665
|
+
operation: "move_file";
|
|
1711
1666
|
file?: {
|
|
1712
1667
|
name: string;
|
|
1713
1668
|
mimeType: string;
|
|
@@ -1771,9 +1726,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1771
1726
|
}>, "many">>;
|
|
1772
1727
|
error: z.ZodString;
|
|
1773
1728
|
}, "strip", z.ZodTypeAny, {
|
|
1774
|
-
operation: "get_doc";
|
|
1775
|
-
success: boolean;
|
|
1776
1729
|
error: string;
|
|
1730
|
+
success: boolean;
|
|
1731
|
+
operation: "get_doc";
|
|
1777
1732
|
document?: z.objectOutputType<{
|
|
1778
1733
|
documentId: z.ZodString;
|
|
1779
1734
|
title: z.ZodString;
|
|
@@ -1791,9 +1746,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1791
1746
|
plainText?: string | undefined;
|
|
1792
1747
|
}[] | undefined;
|
|
1793
1748
|
}, {
|
|
1794
|
-
operation: "get_doc";
|
|
1795
|
-
success: boolean;
|
|
1796
1749
|
error: string;
|
|
1750
|
+
success: boolean;
|
|
1751
|
+
operation: "get_doc";
|
|
1797
1752
|
document?: z.objectInputType<{
|
|
1798
1753
|
documentId: z.ZodString;
|
|
1799
1754
|
title: z.ZodString;
|
|
@@ -1817,15 +1772,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1817
1772
|
revisionId: z.ZodOptional<z.ZodString>;
|
|
1818
1773
|
error: z.ZodString;
|
|
1819
1774
|
}, "strip", z.ZodTypeAny, {
|
|
1820
|
-
operation: "update_doc";
|
|
1821
|
-
success: boolean;
|
|
1822
1775
|
error: string;
|
|
1776
|
+
success: boolean;
|
|
1777
|
+
operation: "update_doc";
|
|
1823
1778
|
documentId?: string | undefined;
|
|
1824
1779
|
revisionId?: string | undefined;
|
|
1825
1780
|
}, {
|
|
1826
|
-
operation: "update_doc";
|
|
1827
|
-
success: boolean;
|
|
1828
1781
|
error: string;
|
|
1782
|
+
success: boolean;
|
|
1783
|
+
operation: "update_doc";
|
|
1829
1784
|
documentId?: string | undefined;
|
|
1830
1785
|
revisionId?: string | undefined;
|
|
1831
1786
|
}>, z.ZodObject<{
|
|
@@ -1834,14 +1789,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1834
1789
|
replacements_made: z.ZodOptional<z.ZodNumber>;
|
|
1835
1790
|
error: z.ZodString;
|
|
1836
1791
|
}, "strip", z.ZodTypeAny, {
|
|
1837
|
-
operation: "replace_text";
|
|
1838
|
-
success: boolean;
|
|
1839
1792
|
error: string;
|
|
1793
|
+
success: boolean;
|
|
1794
|
+
operation: "replace_text";
|
|
1840
1795
|
replacements_made?: number | undefined;
|
|
1841
1796
|
}, {
|
|
1842
|
-
operation: "replace_text";
|
|
1843
|
-
success: boolean;
|
|
1844
1797
|
error: string;
|
|
1798
|
+
success: boolean;
|
|
1799
|
+
operation: "replace_text";
|
|
1845
1800
|
replacements_made?: number | undefined;
|
|
1846
1801
|
}>, z.ZodObject<{
|
|
1847
1802
|
operation: z.ZodLiteral<"copy_doc">;
|
|
@@ -1850,35 +1805,20 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1850
1805
|
new_document_url: z.ZodOptional<z.ZodString>;
|
|
1851
1806
|
error: z.ZodString;
|
|
1852
1807
|
}, "strip", z.ZodTypeAny, {
|
|
1853
|
-
operation: "copy_doc";
|
|
1854
|
-
success: boolean;
|
|
1855
1808
|
error: string;
|
|
1809
|
+
success: boolean;
|
|
1810
|
+
operation: "copy_doc";
|
|
1856
1811
|
new_document_id?: string | undefined;
|
|
1857
1812
|
new_document_url?: string | undefined;
|
|
1858
1813
|
}, {
|
|
1859
|
-
operation: "copy_doc";
|
|
1860
|
-
success: boolean;
|
|
1861
1814
|
error: string;
|
|
1815
|
+
success: boolean;
|
|
1816
|
+
operation: "copy_doc";
|
|
1862
1817
|
new_document_id?: string | undefined;
|
|
1863
1818
|
new_document_url?: string | undefined;
|
|
1864
|
-
}>, z.ZodObject<{
|
|
1865
|
-
operation: z.ZodLiteral<"create_tab">;
|
|
1866
|
-
success: z.ZodBoolean;
|
|
1867
|
-
tab_id: z.ZodOptional<z.ZodString>;
|
|
1868
|
-
error: z.ZodString;
|
|
1869
|
-
}, "strip", z.ZodTypeAny, {
|
|
1870
|
-
operation: "create_tab";
|
|
1871
|
-
success: boolean;
|
|
1872
|
-
error: string;
|
|
1873
|
-
tab_id?: string | undefined;
|
|
1874
|
-
}, {
|
|
1875
|
-
operation: "create_tab";
|
|
1876
|
-
success: boolean;
|
|
1877
|
-
error: string;
|
|
1878
|
-
tab_id?: string | undefined;
|
|
1879
1819
|
}>]>;
|
|
1880
1820
|
static readonly shortDescription = "Google Drive integration with full Google Docs tab support - read/write specific tabs, copy templates, and preserve formatting with find/replace";
|
|
1881
|
-
static readonly longDescription = "\n Google Drive service integration for comprehensive file, folder, and Google Docs management.\n\n File & Folder Operations:\n - Upload files and documents to Google Drive\n - Download files with format conversion support\n - List and search files with advanced filtering\n - Create and organize folders\n - Share files and manage permissions\n - Get detailed file metadata and information\n\n Google Docs Tab Support:\n - Read content from specific tabs or all tabs (get_doc with tab_id/include_all_tabs)\n - Write content to specific tabs (update_doc with tab_id)\n
|
|
1821
|
+
static readonly longDescription = "\n Google Drive service integration for comprehensive file, folder, and Google Docs management.\n\n File & Folder Operations:\n - Upload files and documents to Google Drive\n - Download files with format conversion support\n - List and search files with advanced filtering\n - Create and organize folders\n - Share files and manage permissions\n - Get detailed file metadata and information\n\n Google Docs Tab Support:\n - Read content from specific tabs or all tabs (get_doc with tab_id/include_all_tabs)\n - Write content to specific tabs (update_doc with tab_id)\n\n Template & Formatting Operations:\n - Copy documents to create new docs from templates (copy_doc)\n - Find and replace text while preserving all formatting (replace_text)\n - Preserves bold, colors, underlines, tables, shaded boxes, etc.\n - Supports case-sensitive/insensitive matching\n - Can target specific tabs or apply to all tabs\n\n Security Features:\n - OAuth 2.0 authentication with Google\n - Scoped access permissions\n - Secure file handling and validation\n - User-controlled sharing and permissions\n ";
|
|
1882
1822
|
static readonly alias = "gdrive";
|
|
1883
1823
|
constructor(params?: T, context?: BubbleContext);
|
|
1884
1824
|
testCredential(): Promise<boolean>;
|
|
@@ -1903,7 +1843,6 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1903
1843
|
private addTabIdToRequest;
|
|
1904
1844
|
private replaceText;
|
|
1905
1845
|
private copyDoc;
|
|
1906
|
-
private createTab;
|
|
1907
1846
|
/**
|
|
1908
1847
|
* Extracts plain text content from a Google Docs document body
|
|
1909
1848
|
*/
|