@bubblelab/bubble-core 0.1.67 → 0.1.69
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 +95 -95
- 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/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +4 -3
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +138 -138
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
- package/dist/bubbles/service-bubble/ashby/ashby.js +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +27 -27
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +65 -65
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +36 -36
- package/dist/bubbles/service-bubble/firecrawl.d.ts +716 -716
- package/dist/bubbles/service-bubble/followupboss.d.ts +393 -393
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +120 -120
- 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 +38 -38
- package/dist/bubbles/service-bubble/google-drive.d.ts +342 -76
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +282 -30
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +56 -56
- 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 +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +42 -42
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1298 -1298
- 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 +484 -484
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +98 -98
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +4 -4
- package/dist/bubbles/service-bubble/telegram.d.ts +1290 -1290
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +15 -15
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +78 -78
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +31 -25
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +148 -148
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +142 -142
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +92 -92
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
- 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 +66 -66
- 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 +76 -76
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +290 -74
- 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";
|
|
14
15
|
name: string;
|
|
15
16
|
content: string;
|
|
16
|
-
operation: "upload_file";
|
|
17
17
|
convert_to_google_docs: boolean;
|
|
18
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
19
18
|
mimeType?: string | undefined;
|
|
20
19
|
parent_folder_id?: string | undefined;
|
|
20
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
21
21
|
}, {
|
|
22
|
+
operation: "upload_file";
|
|
22
23
|
name: string;
|
|
23
24
|
content: string;
|
|
24
|
-
operation: "upload_file";
|
|
25
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
26
25
|
mimeType?: string | undefined;
|
|
27
26
|
parent_folder_id?: string | undefined;
|
|
28
27
|
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
|
-
query?: string | undefined;
|
|
59
58
|
folder_id?: string | undefined;
|
|
59
|
+
query?: string | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
operation: "list_files";
|
|
62
62
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
63
|
-
query?: string | undefined;
|
|
64
63
|
folder_id?: string | undefined;
|
|
64
|
+
query?: 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
|
-
name: string;
|
|
75
74
|
operation: "create_folder";
|
|
76
|
-
|
|
75
|
+
name: string;
|
|
77
76
|
parent_folder_id?: string | undefined;
|
|
77
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
name: string;
|
|
80
79
|
operation: "create_folder";
|
|
81
|
-
|
|
80
|
+
name: string;
|
|
82
81
|
parent_folder_id?: string | undefined;
|
|
82
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
83
83
|
}>, z.ZodObject<{
|
|
84
84
|
operation: z.ZodLiteral<"delete_file">;
|
|
85
85
|
file_id: z.ZodString;
|
|
@@ -119,8 +119,8 @@ 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
|
-
type: "user" | "group" | "domain" | "anyone";
|
|
123
122
|
operation: "share_file";
|
|
123
|
+
type: "user" | "group" | "domain" | "anyone";
|
|
124
124
|
file_id: string;
|
|
125
125
|
role: "reader" | "writer" | "commenter" | "owner";
|
|
126
126
|
send_notification: boolean;
|
|
@@ -155,33 +155,98 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
155
155
|
}>, z.ZodObject<{
|
|
156
156
|
operation: z.ZodLiteral<"get_doc">;
|
|
157
157
|
document_id: z.ZodString;
|
|
158
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
159
|
+
include_all_tabs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
158
160
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
159
161
|
}, "strip", z.ZodTypeAny, {
|
|
160
162
|
operation: "get_doc";
|
|
161
163
|
document_id: string;
|
|
164
|
+
include_all_tabs: boolean;
|
|
162
165
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
166
|
+
tab_id?: string | undefined;
|
|
163
167
|
}, {
|
|
164
168
|
operation: "get_doc";
|
|
165
169
|
document_id: string;
|
|
166
170
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
171
|
+
tab_id?: string | undefined;
|
|
172
|
+
include_all_tabs?: boolean | undefined;
|
|
167
173
|
}>, z.ZodObject<{
|
|
168
174
|
operation: z.ZodLiteral<"update_doc">;
|
|
169
175
|
document_id: z.ZodString;
|
|
170
176
|
content: z.ZodString;
|
|
171
177
|
mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["replace", "append"]>>>;
|
|
178
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
172
179
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
173
180
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
content: string;
|
|
175
181
|
operation: "update_doc";
|
|
176
|
-
|
|
182
|
+
content: string;
|
|
177
183
|
document_id: string;
|
|
184
|
+
mode: "replace" | "append";
|
|
178
185
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
186
|
+
tab_id?: string | undefined;
|
|
179
187
|
}, {
|
|
180
|
-
content: string;
|
|
181
188
|
operation: "update_doc";
|
|
189
|
+
content: string;
|
|
182
190
|
document_id: string;
|
|
183
191
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
192
|
+
tab_id?: string | undefined;
|
|
184
193
|
mode?: "replace" | "append" | undefined;
|
|
194
|
+
}>, z.ZodObject<{
|
|
195
|
+
operation: z.ZodLiteral<"replace_text">;
|
|
196
|
+
document_id: z.ZodString;
|
|
197
|
+
replacements: z.ZodArray<z.ZodObject<{
|
|
198
|
+
find: z.ZodString;
|
|
199
|
+
replace: z.ZodString;
|
|
200
|
+
match_case: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
find: string;
|
|
203
|
+
replace: string;
|
|
204
|
+
match_case: boolean;
|
|
205
|
+
}, {
|
|
206
|
+
find: string;
|
|
207
|
+
replace: string;
|
|
208
|
+
match_case?: boolean | undefined;
|
|
209
|
+
}>, "many">;
|
|
210
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
211
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
operation: "replace_text";
|
|
214
|
+
document_id: string;
|
|
215
|
+
replacements: {
|
|
216
|
+
find: string;
|
|
217
|
+
replace: string;
|
|
218
|
+
match_case: boolean;
|
|
219
|
+
}[];
|
|
220
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
221
|
+
tab_id?: string | undefined;
|
|
222
|
+
}, {
|
|
223
|
+
operation: "replace_text";
|
|
224
|
+
document_id: string;
|
|
225
|
+
replacements: {
|
|
226
|
+
find: string;
|
|
227
|
+
replace: string;
|
|
228
|
+
match_case?: boolean | undefined;
|
|
229
|
+
}[];
|
|
230
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
231
|
+
tab_id?: string | undefined;
|
|
232
|
+
}>, z.ZodObject<{
|
|
233
|
+
operation: z.ZodLiteral<"copy_doc">;
|
|
234
|
+
document_id: z.ZodString;
|
|
235
|
+
new_name: z.ZodString;
|
|
236
|
+
parent_folder_id: z.ZodOptional<z.ZodString>;
|
|
237
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
|
239
|
+
operation: "copy_doc";
|
|
240
|
+
document_id: string;
|
|
241
|
+
new_name: string;
|
|
242
|
+
parent_folder_id?: string | undefined;
|
|
243
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
244
|
+
}, {
|
|
245
|
+
operation: "copy_doc";
|
|
246
|
+
document_id: string;
|
|
247
|
+
new_name: string;
|
|
248
|
+
parent_folder_id?: string | undefined;
|
|
249
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
185
250
|
}>]>;
|
|
186
251
|
declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
187
252
|
operation: z.ZodLiteral<"upload_file">;
|
|
@@ -240,9 +305,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
240
305
|
}>>;
|
|
241
306
|
error: z.ZodString;
|
|
242
307
|
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
operation: "upload_file";
|
|
243
309
|
success: boolean;
|
|
244
310
|
error: string;
|
|
245
|
-
operation: "upload_file";
|
|
246
311
|
file?: {
|
|
247
312
|
name: string;
|
|
248
313
|
mimeType: string;
|
|
@@ -260,9 +325,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
260
325
|
}[] | undefined;
|
|
261
326
|
} | undefined;
|
|
262
327
|
}, {
|
|
328
|
+
operation: "upload_file";
|
|
263
329
|
success: boolean;
|
|
264
330
|
error: string;
|
|
265
|
-
operation: "upload_file";
|
|
266
331
|
file?: {
|
|
267
332
|
name: string;
|
|
268
333
|
mimeType: string;
|
|
@@ -287,16 +352,16 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
287
352
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
288
353
|
error: z.ZodString;
|
|
289
354
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
operation: "download_file";
|
|
290
356
|
success: boolean;
|
|
291
357
|
error: string;
|
|
292
|
-
operation: "download_file";
|
|
293
358
|
content?: string | undefined;
|
|
294
359
|
mimeType?: string | undefined;
|
|
295
360
|
filename?: string | undefined;
|
|
296
361
|
}, {
|
|
362
|
+
operation: "download_file";
|
|
297
363
|
success: boolean;
|
|
298
364
|
error: string;
|
|
299
|
-
operation: "download_file";
|
|
300
365
|
content?: string | undefined;
|
|
301
366
|
mimeType?: string | undefined;
|
|
302
367
|
filename?: string | undefined;
|
|
@@ -359,9 +424,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
359
424
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
360
425
|
error: z.ZodString;
|
|
361
426
|
}, "strip", z.ZodTypeAny, {
|
|
427
|
+
operation: "list_files";
|
|
362
428
|
success: boolean;
|
|
363
429
|
error: string;
|
|
364
|
-
operation: "list_files";
|
|
365
430
|
files?: {
|
|
366
431
|
name: string;
|
|
367
432
|
mimeType: string;
|
|
@@ -381,9 +446,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
381
446
|
total_count?: number | undefined;
|
|
382
447
|
next_page_token?: string | undefined;
|
|
383
448
|
}, {
|
|
449
|
+
operation: "list_files";
|
|
384
450
|
success: boolean;
|
|
385
451
|
error: string;
|
|
386
|
-
operation: "list_files";
|
|
387
452
|
files?: {
|
|
388
453
|
name: string;
|
|
389
454
|
mimeType: string;
|
|
@@ -423,9 +488,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
423
488
|
}>>;
|
|
424
489
|
error: z.ZodString;
|
|
425
490
|
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
operation: "create_folder";
|
|
426
492
|
success: boolean;
|
|
427
493
|
error: string;
|
|
428
|
-
operation: "create_folder";
|
|
429
494
|
folder?: {
|
|
430
495
|
name: string;
|
|
431
496
|
id: string;
|
|
@@ -433,9 +498,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
433
498
|
parents?: string[] | undefined;
|
|
434
499
|
} | undefined;
|
|
435
500
|
}, {
|
|
501
|
+
operation: "create_folder";
|
|
436
502
|
success: boolean;
|
|
437
503
|
error: string;
|
|
438
|
-
operation: "create_folder";
|
|
439
504
|
folder?: {
|
|
440
505
|
name: string;
|
|
441
506
|
id: string;
|
|
@@ -448,14 +513,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
448
513
|
deleted_file_id: z.ZodOptional<z.ZodString>;
|
|
449
514
|
error: z.ZodString;
|
|
450
515
|
}, "strip", z.ZodTypeAny, {
|
|
516
|
+
operation: "delete_file";
|
|
451
517
|
success: boolean;
|
|
452
518
|
error: string;
|
|
453
|
-
operation: "delete_file";
|
|
454
519
|
deleted_file_id?: string | undefined;
|
|
455
520
|
}, {
|
|
521
|
+
operation: "delete_file";
|
|
456
522
|
success: boolean;
|
|
457
523
|
error: string;
|
|
458
|
-
operation: "delete_file";
|
|
459
524
|
deleted_file_id?: string | undefined;
|
|
460
525
|
}>, z.ZodObject<{
|
|
461
526
|
operation: z.ZodLiteral<"get_file_info">;
|
|
@@ -520,22 +585,22 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
520
585
|
displayName: z.ZodOptional<z.ZodString>;
|
|
521
586
|
}, "strip", z.ZodTypeAny, {
|
|
522
587
|
type: string;
|
|
523
|
-
id: string;
|
|
524
588
|
role: string;
|
|
589
|
+
id: string;
|
|
525
590
|
displayName?: string | undefined;
|
|
526
591
|
emailAddress?: string | undefined;
|
|
527
592
|
}, {
|
|
528
593
|
type: string;
|
|
529
|
-
id: string;
|
|
530
594
|
role: string;
|
|
595
|
+
id: string;
|
|
531
596
|
displayName?: string | undefined;
|
|
532
597
|
emailAddress?: string | undefined;
|
|
533
598
|
}>, "many">>;
|
|
534
599
|
error: z.ZodString;
|
|
535
600
|
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
operation: "get_file_info";
|
|
536
602
|
success: boolean;
|
|
537
603
|
error: string;
|
|
538
|
-
operation: "get_file_info";
|
|
539
604
|
file?: {
|
|
540
605
|
name: string;
|
|
541
606
|
mimeType: string;
|
|
@@ -554,15 +619,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
554
619
|
} | undefined;
|
|
555
620
|
permissions?: {
|
|
556
621
|
type: string;
|
|
557
|
-
id: string;
|
|
558
622
|
role: string;
|
|
623
|
+
id: string;
|
|
559
624
|
displayName?: string | undefined;
|
|
560
625
|
emailAddress?: string | undefined;
|
|
561
626
|
}[] | undefined;
|
|
562
627
|
}, {
|
|
628
|
+
operation: "get_file_info";
|
|
563
629
|
success: boolean;
|
|
564
630
|
error: string;
|
|
565
|
-
operation: "get_file_info";
|
|
566
631
|
file?: {
|
|
567
632
|
name: string;
|
|
568
633
|
mimeType: string;
|
|
@@ -581,8 +646,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
581
646
|
} | undefined;
|
|
582
647
|
permissions?: {
|
|
583
648
|
type: string;
|
|
584
|
-
id: string;
|
|
585
649
|
role: string;
|
|
650
|
+
id: string;
|
|
586
651
|
displayName?: string | undefined;
|
|
587
652
|
emailAddress?: string | undefined;
|
|
588
653
|
}[] | undefined;
|
|
@@ -593,15 +658,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
593
658
|
share_link: z.ZodOptional<z.ZodString>;
|
|
594
659
|
error: z.ZodString;
|
|
595
660
|
}, "strip", z.ZodTypeAny, {
|
|
661
|
+
operation: "share_file";
|
|
596
662
|
success: boolean;
|
|
597
663
|
error: string;
|
|
598
|
-
operation: "share_file";
|
|
599
664
|
permission_id?: string | undefined;
|
|
600
665
|
share_link?: string | undefined;
|
|
601
666
|
}, {
|
|
667
|
+
operation: "share_file";
|
|
602
668
|
success: boolean;
|
|
603
669
|
error: string;
|
|
604
|
-
operation: "share_file";
|
|
605
670
|
permission_id?: string | undefined;
|
|
606
671
|
share_link?: string | undefined;
|
|
607
672
|
}>, z.ZodObject<{
|
|
@@ -661,9 +726,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
661
726
|
}>>;
|
|
662
727
|
error: z.ZodString;
|
|
663
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
|
+
operation: "move_file";
|
|
664
730
|
success: boolean;
|
|
665
731
|
error: string;
|
|
666
|
-
operation: "move_file";
|
|
667
732
|
file?: {
|
|
668
733
|
name: string;
|
|
669
734
|
mimeType: string;
|
|
@@ -681,9 +746,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
681
746
|
}[] | undefined;
|
|
682
747
|
} | undefined;
|
|
683
748
|
}, {
|
|
749
|
+
operation: "move_file";
|
|
684
750
|
success: boolean;
|
|
685
751
|
error: string;
|
|
686
|
-
operation: "move_file";
|
|
687
752
|
file?: {
|
|
688
753
|
name: string;
|
|
689
754
|
mimeType: string;
|
|
@@ -729,11 +794,27 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
729
794
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
730
795
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
731
796
|
plainText: z.ZodOptional<z.ZodString>;
|
|
797
|
+
tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
798
|
+
tabId: z.ZodString;
|
|
799
|
+
title: z.ZodString;
|
|
800
|
+
index: z.ZodNumber;
|
|
801
|
+
plainText: z.ZodOptional<z.ZodString>;
|
|
802
|
+
}, "strip", z.ZodTypeAny, {
|
|
803
|
+
title: string;
|
|
804
|
+
tabId: string;
|
|
805
|
+
index: number;
|
|
806
|
+
plainText?: string | undefined;
|
|
807
|
+
}, {
|
|
808
|
+
title: string;
|
|
809
|
+
tabId: string;
|
|
810
|
+
index: number;
|
|
811
|
+
plainText?: string | undefined;
|
|
812
|
+
}>, "many">>;
|
|
732
813
|
error: z.ZodString;
|
|
733
814
|
}, "strip", z.ZodTypeAny, {
|
|
815
|
+
operation: "get_doc";
|
|
734
816
|
success: boolean;
|
|
735
817
|
error: string;
|
|
736
|
-
operation: "get_doc";
|
|
737
818
|
document?: z.objectOutputType<{
|
|
738
819
|
documentId: z.ZodString;
|
|
739
820
|
title: z.ZodString;
|
|
@@ -744,10 +825,16 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
744
825
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
745
826
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
746
827
|
plainText?: string | undefined;
|
|
828
|
+
tabs?: {
|
|
829
|
+
title: string;
|
|
830
|
+
tabId: string;
|
|
831
|
+
index: number;
|
|
832
|
+
plainText?: string | undefined;
|
|
833
|
+
}[] | undefined;
|
|
747
834
|
}, {
|
|
835
|
+
operation: "get_doc";
|
|
748
836
|
success: boolean;
|
|
749
837
|
error: string;
|
|
750
|
-
operation: "get_doc";
|
|
751
838
|
document?: z.objectInputType<{
|
|
752
839
|
documentId: z.ZodString;
|
|
753
840
|
title: z.ZodString;
|
|
@@ -758,6 +845,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
758
845
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
759
846
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
760
847
|
plainText?: string | undefined;
|
|
848
|
+
tabs?: {
|
|
849
|
+
title: string;
|
|
850
|
+
tabId: string;
|
|
851
|
+
index: number;
|
|
852
|
+
plainText?: string | undefined;
|
|
853
|
+
}[] | undefined;
|
|
761
854
|
}>, z.ZodObject<{
|
|
762
855
|
operation: z.ZodLiteral<"update_doc">;
|
|
763
856
|
success: z.ZodBoolean;
|
|
@@ -765,17 +858,50 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
765
858
|
revisionId: z.ZodOptional<z.ZodString>;
|
|
766
859
|
error: z.ZodString;
|
|
767
860
|
}, "strip", z.ZodTypeAny, {
|
|
861
|
+
operation: "update_doc";
|
|
768
862
|
success: boolean;
|
|
769
863
|
error: string;
|
|
770
|
-
operation: "update_doc";
|
|
771
864
|
documentId?: string | undefined;
|
|
772
865
|
revisionId?: string | undefined;
|
|
773
866
|
}, {
|
|
867
|
+
operation: "update_doc";
|
|
774
868
|
success: boolean;
|
|
775
869
|
error: string;
|
|
776
|
-
operation: "update_doc";
|
|
777
870
|
documentId?: string | undefined;
|
|
778
871
|
revisionId?: string | undefined;
|
|
872
|
+
}>, z.ZodObject<{
|
|
873
|
+
operation: z.ZodLiteral<"replace_text">;
|
|
874
|
+
success: z.ZodBoolean;
|
|
875
|
+
replacements_made: z.ZodOptional<z.ZodNumber>;
|
|
876
|
+
error: z.ZodString;
|
|
877
|
+
}, "strip", z.ZodTypeAny, {
|
|
878
|
+
operation: "replace_text";
|
|
879
|
+
success: boolean;
|
|
880
|
+
error: string;
|
|
881
|
+
replacements_made?: number | undefined;
|
|
882
|
+
}, {
|
|
883
|
+
operation: "replace_text";
|
|
884
|
+
success: boolean;
|
|
885
|
+
error: string;
|
|
886
|
+
replacements_made?: number | undefined;
|
|
887
|
+
}>, z.ZodObject<{
|
|
888
|
+
operation: z.ZodLiteral<"copy_doc">;
|
|
889
|
+
success: z.ZodBoolean;
|
|
890
|
+
new_document_id: z.ZodOptional<z.ZodString>;
|
|
891
|
+
new_document_url: z.ZodOptional<z.ZodString>;
|
|
892
|
+
error: z.ZodString;
|
|
893
|
+
}, "strip", z.ZodTypeAny, {
|
|
894
|
+
operation: "copy_doc";
|
|
895
|
+
success: boolean;
|
|
896
|
+
error: string;
|
|
897
|
+
new_document_id?: string | undefined;
|
|
898
|
+
new_document_url?: string | undefined;
|
|
899
|
+
}, {
|
|
900
|
+
operation: "copy_doc";
|
|
901
|
+
success: boolean;
|
|
902
|
+
error: string;
|
|
903
|
+
new_document_id?: string | undefined;
|
|
904
|
+
new_document_url?: string | undefined;
|
|
779
905
|
}>]>;
|
|
780
906
|
type GoogleDriveResult = z.output<typeof GoogleDriveResultSchema>;
|
|
781
907
|
type GoogleDriveParams = z.input<typeof GoogleDriveParamsSchema>;
|
|
@@ -799,21 +925,21 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
799
925
|
convert_to_google_docs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
800
926
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
801
927
|
}, "strip", z.ZodTypeAny, {
|
|
928
|
+
operation: "upload_file";
|
|
802
929
|
name: string;
|
|
803
930
|
content: string;
|
|
804
|
-
operation: "upload_file";
|
|
805
931
|
convert_to_google_docs: boolean;
|
|
806
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
807
932
|
mimeType?: string | undefined;
|
|
808
933
|
parent_folder_id?: string | undefined;
|
|
934
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
809
935
|
}, {
|
|
936
|
+
operation: "upload_file";
|
|
810
937
|
name: string;
|
|
811
938
|
content: string;
|
|
812
|
-
operation: "upload_file";
|
|
813
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
814
939
|
mimeType?: string | undefined;
|
|
815
940
|
parent_folder_id?: string | undefined;
|
|
816
941
|
convert_to_google_docs?: boolean | undefined;
|
|
942
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
817
943
|
}>, z.ZodObject<{
|
|
818
944
|
operation: z.ZodLiteral<"download_file">;
|
|
819
945
|
file_id: z.ZodString;
|
|
@@ -843,13 +969,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
843
969
|
include_folders: boolean;
|
|
844
970
|
order_by: string;
|
|
845
971
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
846
|
-
query?: string | undefined;
|
|
847
972
|
folder_id?: string | undefined;
|
|
973
|
+
query?: string | undefined;
|
|
848
974
|
}, {
|
|
849
975
|
operation: "list_files";
|
|
850
976
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
851
|
-
query?: string | undefined;
|
|
852
977
|
folder_id?: string | undefined;
|
|
978
|
+
query?: string | undefined;
|
|
853
979
|
max_results?: number | undefined;
|
|
854
980
|
include_folders?: boolean | undefined;
|
|
855
981
|
order_by?: string | undefined;
|
|
@@ -859,15 +985,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
859
985
|
parent_folder_id: z.ZodOptional<z.ZodString>;
|
|
860
986
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
861
987
|
}, "strip", z.ZodTypeAny, {
|
|
862
|
-
name: string;
|
|
863
988
|
operation: "create_folder";
|
|
864
|
-
|
|
989
|
+
name: string;
|
|
865
990
|
parent_folder_id?: string | undefined;
|
|
991
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
866
992
|
}, {
|
|
867
|
-
name: string;
|
|
868
993
|
operation: "create_folder";
|
|
869
|
-
|
|
994
|
+
name: string;
|
|
870
995
|
parent_folder_id?: string | undefined;
|
|
996
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
871
997
|
}>, z.ZodObject<{
|
|
872
998
|
operation: z.ZodLiteral<"delete_file">;
|
|
873
999
|
file_id: z.ZodString;
|
|
@@ -907,8 +1033,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
907
1033
|
send_notification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
908
1034
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
909
1035
|
}, "strip", z.ZodTypeAny, {
|
|
910
|
-
type: "user" | "group" | "domain" | "anyone";
|
|
911
1036
|
operation: "share_file";
|
|
1037
|
+
type: "user" | "group" | "domain" | "anyone";
|
|
912
1038
|
file_id: string;
|
|
913
1039
|
role: "reader" | "writer" | "commenter" | "owner";
|
|
914
1040
|
send_notification: boolean;
|
|
@@ -943,33 +1069,98 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
943
1069
|
}>, z.ZodObject<{
|
|
944
1070
|
operation: z.ZodLiteral<"get_doc">;
|
|
945
1071
|
document_id: z.ZodString;
|
|
1072
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
include_all_tabs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
946
1074
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
947
1075
|
}, "strip", z.ZodTypeAny, {
|
|
948
1076
|
operation: "get_doc";
|
|
949
1077
|
document_id: string;
|
|
1078
|
+
include_all_tabs: boolean;
|
|
950
1079
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1080
|
+
tab_id?: string | undefined;
|
|
951
1081
|
}, {
|
|
952
1082
|
operation: "get_doc";
|
|
953
1083
|
document_id: string;
|
|
954
1084
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1085
|
+
tab_id?: string | undefined;
|
|
1086
|
+
include_all_tabs?: boolean | undefined;
|
|
955
1087
|
}>, z.ZodObject<{
|
|
956
1088
|
operation: z.ZodLiteral<"update_doc">;
|
|
957
1089
|
document_id: z.ZodString;
|
|
958
1090
|
content: z.ZodString;
|
|
959
1091
|
mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["replace", "append"]>>>;
|
|
1092
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
960
1093
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
961
1094
|
}, "strip", z.ZodTypeAny, {
|
|
962
|
-
content: string;
|
|
963
1095
|
operation: "update_doc";
|
|
964
|
-
|
|
1096
|
+
content: string;
|
|
965
1097
|
document_id: string;
|
|
1098
|
+
mode: "replace" | "append";
|
|
966
1099
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1100
|
+
tab_id?: string | undefined;
|
|
967
1101
|
}, {
|
|
968
|
-
content: string;
|
|
969
1102
|
operation: "update_doc";
|
|
1103
|
+
content: string;
|
|
970
1104
|
document_id: string;
|
|
971
1105
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1106
|
+
tab_id?: string | undefined;
|
|
972
1107
|
mode?: "replace" | "append" | undefined;
|
|
1108
|
+
}>, z.ZodObject<{
|
|
1109
|
+
operation: z.ZodLiteral<"replace_text">;
|
|
1110
|
+
document_id: z.ZodString;
|
|
1111
|
+
replacements: z.ZodArray<z.ZodObject<{
|
|
1112
|
+
find: z.ZodString;
|
|
1113
|
+
replace: z.ZodString;
|
|
1114
|
+
match_case: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1115
|
+
}, "strip", z.ZodTypeAny, {
|
|
1116
|
+
find: string;
|
|
1117
|
+
replace: string;
|
|
1118
|
+
match_case: boolean;
|
|
1119
|
+
}, {
|
|
1120
|
+
find: string;
|
|
1121
|
+
replace: string;
|
|
1122
|
+
match_case?: boolean | undefined;
|
|
1123
|
+
}>, "many">;
|
|
1124
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1126
|
+
}, "strip", z.ZodTypeAny, {
|
|
1127
|
+
operation: "replace_text";
|
|
1128
|
+
document_id: string;
|
|
1129
|
+
replacements: {
|
|
1130
|
+
find: string;
|
|
1131
|
+
replace: string;
|
|
1132
|
+
match_case: boolean;
|
|
1133
|
+
}[];
|
|
1134
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1135
|
+
tab_id?: string | undefined;
|
|
1136
|
+
}, {
|
|
1137
|
+
operation: "replace_text";
|
|
1138
|
+
document_id: string;
|
|
1139
|
+
replacements: {
|
|
1140
|
+
find: string;
|
|
1141
|
+
replace: string;
|
|
1142
|
+
match_case?: boolean | undefined;
|
|
1143
|
+
}[];
|
|
1144
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1145
|
+
tab_id?: string | undefined;
|
|
1146
|
+
}>, z.ZodObject<{
|
|
1147
|
+
operation: z.ZodLiteral<"copy_doc">;
|
|
1148
|
+
document_id: z.ZodString;
|
|
1149
|
+
new_name: z.ZodString;
|
|
1150
|
+
parent_folder_id: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1152
|
+
}, "strip", z.ZodTypeAny, {
|
|
1153
|
+
operation: "copy_doc";
|
|
1154
|
+
document_id: string;
|
|
1155
|
+
new_name: string;
|
|
1156
|
+
parent_folder_id?: string | undefined;
|
|
1157
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1158
|
+
}, {
|
|
1159
|
+
operation: "copy_doc";
|
|
1160
|
+
document_id: string;
|
|
1161
|
+
new_name: string;
|
|
1162
|
+
parent_folder_id?: string | undefined;
|
|
1163
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
973
1164
|
}>]>;
|
|
974
1165
|
static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
975
1166
|
operation: z.ZodLiteral<"upload_file">;
|
|
@@ -1028,9 +1219,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1028
1219
|
}>>;
|
|
1029
1220
|
error: z.ZodString;
|
|
1030
1221
|
}, "strip", z.ZodTypeAny, {
|
|
1222
|
+
operation: "upload_file";
|
|
1031
1223
|
success: boolean;
|
|
1032
1224
|
error: string;
|
|
1033
|
-
operation: "upload_file";
|
|
1034
1225
|
file?: {
|
|
1035
1226
|
name: string;
|
|
1036
1227
|
mimeType: string;
|
|
@@ -1048,9 +1239,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1048
1239
|
}[] | undefined;
|
|
1049
1240
|
} | undefined;
|
|
1050
1241
|
}, {
|
|
1242
|
+
operation: "upload_file";
|
|
1051
1243
|
success: boolean;
|
|
1052
1244
|
error: string;
|
|
1053
|
-
operation: "upload_file";
|
|
1054
1245
|
file?: {
|
|
1055
1246
|
name: string;
|
|
1056
1247
|
mimeType: string;
|
|
@@ -1075,16 +1266,16 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1075
1266
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
1076
1267
|
error: z.ZodString;
|
|
1077
1268
|
}, "strip", z.ZodTypeAny, {
|
|
1269
|
+
operation: "download_file";
|
|
1078
1270
|
success: boolean;
|
|
1079
1271
|
error: string;
|
|
1080
|
-
operation: "download_file";
|
|
1081
1272
|
content?: string | undefined;
|
|
1082
1273
|
mimeType?: string | undefined;
|
|
1083
1274
|
filename?: string | undefined;
|
|
1084
1275
|
}, {
|
|
1276
|
+
operation: "download_file";
|
|
1085
1277
|
success: boolean;
|
|
1086
1278
|
error: string;
|
|
1087
|
-
operation: "download_file";
|
|
1088
1279
|
content?: string | undefined;
|
|
1089
1280
|
mimeType?: string | undefined;
|
|
1090
1281
|
filename?: string | undefined;
|
|
@@ -1147,9 +1338,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1147
1338
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
1148
1339
|
error: z.ZodString;
|
|
1149
1340
|
}, "strip", z.ZodTypeAny, {
|
|
1341
|
+
operation: "list_files";
|
|
1150
1342
|
success: boolean;
|
|
1151
1343
|
error: string;
|
|
1152
|
-
operation: "list_files";
|
|
1153
1344
|
files?: {
|
|
1154
1345
|
name: string;
|
|
1155
1346
|
mimeType: string;
|
|
@@ -1169,9 +1360,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1169
1360
|
total_count?: number | undefined;
|
|
1170
1361
|
next_page_token?: string | undefined;
|
|
1171
1362
|
}, {
|
|
1363
|
+
operation: "list_files";
|
|
1172
1364
|
success: boolean;
|
|
1173
1365
|
error: string;
|
|
1174
|
-
operation: "list_files";
|
|
1175
1366
|
files?: {
|
|
1176
1367
|
name: string;
|
|
1177
1368
|
mimeType: string;
|
|
@@ -1211,9 +1402,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1211
1402
|
}>>;
|
|
1212
1403
|
error: z.ZodString;
|
|
1213
1404
|
}, "strip", z.ZodTypeAny, {
|
|
1405
|
+
operation: "create_folder";
|
|
1214
1406
|
success: boolean;
|
|
1215
1407
|
error: string;
|
|
1216
|
-
operation: "create_folder";
|
|
1217
1408
|
folder?: {
|
|
1218
1409
|
name: string;
|
|
1219
1410
|
id: string;
|
|
@@ -1221,9 +1412,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1221
1412
|
parents?: string[] | undefined;
|
|
1222
1413
|
} | undefined;
|
|
1223
1414
|
}, {
|
|
1415
|
+
operation: "create_folder";
|
|
1224
1416
|
success: boolean;
|
|
1225
1417
|
error: string;
|
|
1226
|
-
operation: "create_folder";
|
|
1227
1418
|
folder?: {
|
|
1228
1419
|
name: string;
|
|
1229
1420
|
id: string;
|
|
@@ -1236,14 +1427,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1236
1427
|
deleted_file_id: z.ZodOptional<z.ZodString>;
|
|
1237
1428
|
error: z.ZodString;
|
|
1238
1429
|
}, "strip", z.ZodTypeAny, {
|
|
1430
|
+
operation: "delete_file";
|
|
1239
1431
|
success: boolean;
|
|
1240
1432
|
error: string;
|
|
1241
|
-
operation: "delete_file";
|
|
1242
1433
|
deleted_file_id?: string | undefined;
|
|
1243
1434
|
}, {
|
|
1435
|
+
operation: "delete_file";
|
|
1244
1436
|
success: boolean;
|
|
1245
1437
|
error: string;
|
|
1246
|
-
operation: "delete_file";
|
|
1247
1438
|
deleted_file_id?: string | undefined;
|
|
1248
1439
|
}>, z.ZodObject<{
|
|
1249
1440
|
operation: z.ZodLiteral<"get_file_info">;
|
|
@@ -1308,22 +1499,22 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1308
1499
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1309
1500
|
}, "strip", z.ZodTypeAny, {
|
|
1310
1501
|
type: string;
|
|
1311
|
-
id: string;
|
|
1312
1502
|
role: string;
|
|
1503
|
+
id: string;
|
|
1313
1504
|
displayName?: string | undefined;
|
|
1314
1505
|
emailAddress?: string | undefined;
|
|
1315
1506
|
}, {
|
|
1316
1507
|
type: string;
|
|
1317
|
-
id: string;
|
|
1318
1508
|
role: string;
|
|
1509
|
+
id: string;
|
|
1319
1510
|
displayName?: string | undefined;
|
|
1320
1511
|
emailAddress?: string | undefined;
|
|
1321
1512
|
}>, "many">>;
|
|
1322
1513
|
error: z.ZodString;
|
|
1323
1514
|
}, "strip", z.ZodTypeAny, {
|
|
1515
|
+
operation: "get_file_info";
|
|
1324
1516
|
success: boolean;
|
|
1325
1517
|
error: string;
|
|
1326
|
-
operation: "get_file_info";
|
|
1327
1518
|
file?: {
|
|
1328
1519
|
name: string;
|
|
1329
1520
|
mimeType: string;
|
|
@@ -1342,15 +1533,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1342
1533
|
} | undefined;
|
|
1343
1534
|
permissions?: {
|
|
1344
1535
|
type: string;
|
|
1345
|
-
id: string;
|
|
1346
1536
|
role: string;
|
|
1537
|
+
id: string;
|
|
1347
1538
|
displayName?: string | undefined;
|
|
1348
1539
|
emailAddress?: string | undefined;
|
|
1349
1540
|
}[] | undefined;
|
|
1350
1541
|
}, {
|
|
1542
|
+
operation: "get_file_info";
|
|
1351
1543
|
success: boolean;
|
|
1352
1544
|
error: string;
|
|
1353
|
-
operation: "get_file_info";
|
|
1354
1545
|
file?: {
|
|
1355
1546
|
name: string;
|
|
1356
1547
|
mimeType: string;
|
|
@@ -1369,8 +1560,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1369
1560
|
} | undefined;
|
|
1370
1561
|
permissions?: {
|
|
1371
1562
|
type: string;
|
|
1372
|
-
id: string;
|
|
1373
1563
|
role: string;
|
|
1564
|
+
id: string;
|
|
1374
1565
|
displayName?: string | undefined;
|
|
1375
1566
|
emailAddress?: string | undefined;
|
|
1376
1567
|
}[] | undefined;
|
|
@@ -1381,15 +1572,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1381
1572
|
share_link: z.ZodOptional<z.ZodString>;
|
|
1382
1573
|
error: z.ZodString;
|
|
1383
1574
|
}, "strip", z.ZodTypeAny, {
|
|
1575
|
+
operation: "share_file";
|
|
1384
1576
|
success: boolean;
|
|
1385
1577
|
error: string;
|
|
1386
|
-
operation: "share_file";
|
|
1387
1578
|
permission_id?: string | undefined;
|
|
1388
1579
|
share_link?: string | undefined;
|
|
1389
1580
|
}, {
|
|
1581
|
+
operation: "share_file";
|
|
1390
1582
|
success: boolean;
|
|
1391
1583
|
error: string;
|
|
1392
|
-
operation: "share_file";
|
|
1393
1584
|
permission_id?: string | undefined;
|
|
1394
1585
|
share_link?: string | undefined;
|
|
1395
1586
|
}>, z.ZodObject<{
|
|
@@ -1449,9 +1640,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1449
1640
|
}>>;
|
|
1450
1641
|
error: z.ZodString;
|
|
1451
1642
|
}, "strip", z.ZodTypeAny, {
|
|
1643
|
+
operation: "move_file";
|
|
1452
1644
|
success: boolean;
|
|
1453
1645
|
error: string;
|
|
1454
|
-
operation: "move_file";
|
|
1455
1646
|
file?: {
|
|
1456
1647
|
name: string;
|
|
1457
1648
|
mimeType: string;
|
|
@@ -1469,9 +1660,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1469
1660
|
}[] | undefined;
|
|
1470
1661
|
} | undefined;
|
|
1471
1662
|
}, {
|
|
1663
|
+
operation: "move_file";
|
|
1472
1664
|
success: boolean;
|
|
1473
1665
|
error: string;
|
|
1474
|
-
operation: "move_file";
|
|
1475
1666
|
file?: {
|
|
1476
1667
|
name: string;
|
|
1477
1668
|
mimeType: string;
|
|
@@ -1517,11 +1708,27 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1517
1708
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1518
1709
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1519
1710
|
plainText: z.ZodOptional<z.ZodString>;
|
|
1711
|
+
tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1712
|
+
tabId: z.ZodString;
|
|
1713
|
+
title: z.ZodString;
|
|
1714
|
+
index: z.ZodNumber;
|
|
1715
|
+
plainText: z.ZodOptional<z.ZodString>;
|
|
1716
|
+
}, "strip", z.ZodTypeAny, {
|
|
1717
|
+
title: string;
|
|
1718
|
+
tabId: string;
|
|
1719
|
+
index: number;
|
|
1720
|
+
plainText?: string | undefined;
|
|
1721
|
+
}, {
|
|
1722
|
+
title: string;
|
|
1723
|
+
tabId: string;
|
|
1724
|
+
index: number;
|
|
1725
|
+
plainText?: string | undefined;
|
|
1726
|
+
}>, "many">>;
|
|
1520
1727
|
error: z.ZodString;
|
|
1521
1728
|
}, "strip", z.ZodTypeAny, {
|
|
1729
|
+
operation: "get_doc";
|
|
1522
1730
|
success: boolean;
|
|
1523
1731
|
error: string;
|
|
1524
|
-
operation: "get_doc";
|
|
1525
1732
|
document?: z.objectOutputType<{
|
|
1526
1733
|
documentId: z.ZodString;
|
|
1527
1734
|
title: z.ZodString;
|
|
@@ -1532,10 +1739,16 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1532
1739
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1533
1740
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1534
1741
|
plainText?: string | undefined;
|
|
1742
|
+
tabs?: {
|
|
1743
|
+
title: string;
|
|
1744
|
+
tabId: string;
|
|
1745
|
+
index: number;
|
|
1746
|
+
plainText?: string | undefined;
|
|
1747
|
+
}[] | undefined;
|
|
1535
1748
|
}, {
|
|
1749
|
+
operation: "get_doc";
|
|
1536
1750
|
success: boolean;
|
|
1537
1751
|
error: string;
|
|
1538
|
-
operation: "get_doc";
|
|
1539
1752
|
document?: z.objectInputType<{
|
|
1540
1753
|
documentId: z.ZodString;
|
|
1541
1754
|
title: z.ZodString;
|
|
@@ -1546,6 +1759,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1546
1759
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1547
1760
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1548
1761
|
plainText?: string | undefined;
|
|
1762
|
+
tabs?: {
|
|
1763
|
+
title: string;
|
|
1764
|
+
tabId: string;
|
|
1765
|
+
index: number;
|
|
1766
|
+
plainText?: string | undefined;
|
|
1767
|
+
}[] | undefined;
|
|
1549
1768
|
}>, z.ZodObject<{
|
|
1550
1769
|
operation: z.ZodLiteral<"update_doc">;
|
|
1551
1770
|
success: z.ZodBoolean;
|
|
@@ -1553,17 +1772,50 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1553
1772
|
revisionId: z.ZodOptional<z.ZodString>;
|
|
1554
1773
|
error: z.ZodString;
|
|
1555
1774
|
}, "strip", z.ZodTypeAny, {
|
|
1775
|
+
operation: "update_doc";
|
|
1556
1776
|
success: boolean;
|
|
1557
1777
|
error: string;
|
|
1558
|
-
operation: "update_doc";
|
|
1559
1778
|
documentId?: string | undefined;
|
|
1560
1779
|
revisionId?: string | undefined;
|
|
1561
1780
|
}, {
|
|
1781
|
+
operation: "update_doc";
|
|
1562
1782
|
success: boolean;
|
|
1563
1783
|
error: string;
|
|
1564
|
-
operation: "update_doc";
|
|
1565
1784
|
documentId?: string | undefined;
|
|
1566
1785
|
revisionId?: string | undefined;
|
|
1786
|
+
}>, z.ZodObject<{
|
|
1787
|
+
operation: z.ZodLiteral<"replace_text">;
|
|
1788
|
+
success: z.ZodBoolean;
|
|
1789
|
+
replacements_made: z.ZodOptional<z.ZodNumber>;
|
|
1790
|
+
error: z.ZodString;
|
|
1791
|
+
}, "strip", z.ZodTypeAny, {
|
|
1792
|
+
operation: "replace_text";
|
|
1793
|
+
success: boolean;
|
|
1794
|
+
error: string;
|
|
1795
|
+
replacements_made?: number | undefined;
|
|
1796
|
+
}, {
|
|
1797
|
+
operation: "replace_text";
|
|
1798
|
+
success: boolean;
|
|
1799
|
+
error: string;
|
|
1800
|
+
replacements_made?: number | undefined;
|
|
1801
|
+
}>, z.ZodObject<{
|
|
1802
|
+
operation: z.ZodLiteral<"copy_doc">;
|
|
1803
|
+
success: z.ZodBoolean;
|
|
1804
|
+
new_document_id: z.ZodOptional<z.ZodString>;
|
|
1805
|
+
new_document_url: z.ZodOptional<z.ZodString>;
|
|
1806
|
+
error: z.ZodString;
|
|
1807
|
+
}, "strip", z.ZodTypeAny, {
|
|
1808
|
+
operation: "copy_doc";
|
|
1809
|
+
success: boolean;
|
|
1810
|
+
error: string;
|
|
1811
|
+
new_document_id?: string | undefined;
|
|
1812
|
+
new_document_url?: string | undefined;
|
|
1813
|
+
}, {
|
|
1814
|
+
operation: "copy_doc";
|
|
1815
|
+
success: boolean;
|
|
1816
|
+
error: string;
|
|
1817
|
+
new_document_id?: string | undefined;
|
|
1818
|
+
new_document_url?: string | undefined;
|
|
1567
1819
|
}>]>;
|
|
1568
1820
|
static readonly shortDescription = "Google Drive integration for file management";
|
|
1569
1821
|
static readonly longDescription = "\n Google Drive service integration for comprehensive file and folder management.\n Use cases:\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 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 ";
|
|
@@ -1585,10 +1837,24 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1585
1837
|
private moveFile;
|
|
1586
1838
|
private getDoc;
|
|
1587
1839
|
private updateDoc;
|
|
1840
|
+
/**
|
|
1841
|
+
* Adds tabId to range objects in formatting requests
|
|
1842
|
+
*/
|
|
1843
|
+
private addTabIdToRequest;
|
|
1844
|
+
private replaceText;
|
|
1845
|
+
private copyDoc;
|
|
1588
1846
|
/**
|
|
1589
1847
|
* Extracts plain text content from a Google Docs document body
|
|
1590
1848
|
*/
|
|
1591
1849
|
private extractPlainTextFromDoc;
|
|
1850
|
+
/**
|
|
1851
|
+
* Extracts plain text content from a Google Docs tab
|
|
1852
|
+
*/
|
|
1853
|
+
private extractPlainTextFromTab;
|
|
1854
|
+
/**
|
|
1855
|
+
* Extracts plain text from a content array
|
|
1856
|
+
*/
|
|
1857
|
+
private extractPlainTextFromContent;
|
|
1592
1858
|
private isBase64;
|
|
1593
1859
|
private extractBase64Content;
|
|
1594
1860
|
private findAndExtractBase64;
|