@bubblelab/bubble-core 0.1.19 → 0.1.20
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 +70 -70
- package/dist/bubbles/service-bubble/agi-inc.d.ts +140 -140
- package/dist/bubbles/service-bubble/ai-agent.d.ts +58 -58
- package/dist/bubbles/service-bubble/airtable.d.ts +106 -106
- package/dist/bubbles/service-bubble/apify/apify.d.ts +8 -8
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +47 -47
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +52 -52
- package/dist/bubbles/service-bubble/firecrawl.d.ts +730 -730
- package/dist/bubbles/service-bubble/followupboss.d.ts +282 -282
- package/dist/bubbles/service-bubble/github.d.ts +196 -196
- package/dist/bubbles/service-bubble/gmail.d.ts +632 -632
- package/dist/bubbles/service-bubble/google-calendar.d.ts +1148 -346
- package/dist/bubbles/service-bubble/google-calendar.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.js +51 -9
- package/dist/bubbles/service-bubble/google-calendar.js.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.d.ts +259 -114
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +95 -0
- 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 +8 -8
- package/dist/bubbles/service-bubble/http.d.ts +16 -16
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/notion/notion.d.ts +987 -987
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/resend.d.ts +40 -40
- package/dist/bubbles/service-bubble/slack/slack.d.ts +314 -314
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/telegram.d.ts +1591 -1591
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +30 -30
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
- 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 +20 -20
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +70 -70
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +68 -68
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +106 -106
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +92 -92
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +3 -3
- package/package.json +2 -2
|
@@ -11,17 +11,17 @@ 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
14
|
name: string;
|
|
16
15
|
content: string;
|
|
16
|
+
operation: "upload_file";
|
|
17
17
|
convert_to_google_docs: boolean;
|
|
18
18
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
19
19
|
mimeType?: string | undefined;
|
|
20
20
|
parent_folder_id?: string | undefined;
|
|
21
21
|
}, {
|
|
22
|
-
operation: "upload_file";
|
|
23
22
|
name: string;
|
|
24
23
|
content: string;
|
|
24
|
+
operation: "upload_file";
|
|
25
25
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
26
26
|
mimeType?: string | undefined;
|
|
27
27
|
parent_folder_id?: string | undefined;
|
|
@@ -71,13 +71,13 @@ 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;
|
|
75
|
+
operation: "create_folder";
|
|
76
76
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
77
77
|
parent_folder_id?: string | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
operation: "create_folder";
|
|
80
79
|
name: string;
|
|
80
|
+
operation: "create_folder";
|
|
81
81
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
82
82
|
parent_folder_id?: string | undefined;
|
|
83
83
|
}>, z.ZodObject<{
|
|
@@ -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: "reader" | "writer" | "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?: "reader" | "writer" | "commenter" | "owner" | undefined;
|
|
136
136
|
send_notification?: boolean | undefined;
|
|
137
137
|
}>, z.ZodObject<{
|
|
138
138
|
operation: z.ZodLiteral<"move_file">;
|
|
@@ -152,6 +152,18 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
152
152
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
153
153
|
new_parent_folder_id?: string | undefined;
|
|
154
154
|
remove_parent_folder_id?: string | undefined;
|
|
155
|
+
}>, z.ZodObject<{
|
|
156
|
+
operation: z.ZodLiteral<"get_doc">;
|
|
157
|
+
document_id: z.ZodString;
|
|
158
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
operation: "get_doc";
|
|
161
|
+
document_id: string;
|
|
162
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
163
|
+
}, {
|
|
164
|
+
operation: "get_doc";
|
|
165
|
+
document_id: string;
|
|
166
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
155
167
|
}>]>;
|
|
156
168
|
declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
157
169
|
operation: z.ZodLiteral<"upload_file">;
|
|
@@ -179,8 +191,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
179
191
|
}>, "many">>;
|
|
180
192
|
}, "strip", z.ZodTypeAny, {
|
|
181
193
|
name: string;
|
|
182
|
-
id: string;
|
|
183
194
|
mimeType: string;
|
|
195
|
+
id: string;
|
|
184
196
|
size?: string | undefined;
|
|
185
197
|
createdTime?: string | undefined;
|
|
186
198
|
modifiedTime?: string | undefined;
|
|
@@ -194,8 +206,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
194
206
|
}[] | undefined;
|
|
195
207
|
}, {
|
|
196
208
|
name: string;
|
|
197
|
-
id: string;
|
|
198
209
|
mimeType: string;
|
|
210
|
+
id: string;
|
|
199
211
|
size?: string | undefined;
|
|
200
212
|
createdTime?: string | undefined;
|
|
201
213
|
modifiedTime?: string | undefined;
|
|
@@ -210,13 +222,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
210
222
|
}>>;
|
|
211
223
|
error: z.ZodString;
|
|
212
224
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
operation: "upload_file";
|
|
214
|
-
error: string;
|
|
215
225
|
success: boolean;
|
|
226
|
+
error: string;
|
|
227
|
+
operation: "upload_file";
|
|
216
228
|
file?: {
|
|
217
229
|
name: string;
|
|
218
|
-
id: string;
|
|
219
230
|
mimeType: string;
|
|
231
|
+
id: string;
|
|
220
232
|
size?: string | undefined;
|
|
221
233
|
createdTime?: string | undefined;
|
|
222
234
|
modifiedTime?: string | undefined;
|
|
@@ -230,13 +242,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
230
242
|
}[] | undefined;
|
|
231
243
|
} | undefined;
|
|
232
244
|
}, {
|
|
233
|
-
operation: "upload_file";
|
|
234
|
-
error: string;
|
|
235
245
|
success: boolean;
|
|
246
|
+
error: string;
|
|
247
|
+
operation: "upload_file";
|
|
236
248
|
file?: {
|
|
237
249
|
name: string;
|
|
238
|
-
id: string;
|
|
239
250
|
mimeType: string;
|
|
251
|
+
id: string;
|
|
240
252
|
size?: string | undefined;
|
|
241
253
|
createdTime?: string | undefined;
|
|
242
254
|
modifiedTime?: string | undefined;
|
|
@@ -257,19 +269,19 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
257
269
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
258
270
|
error: z.ZodString;
|
|
259
271
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
operation: "download_file";
|
|
261
|
-
error: string;
|
|
262
272
|
success: boolean;
|
|
273
|
+
error: string;
|
|
274
|
+
operation: "download_file";
|
|
263
275
|
content?: string | undefined;
|
|
264
|
-
filename?: string | undefined;
|
|
265
276
|
mimeType?: string | undefined;
|
|
277
|
+
filename?: string | undefined;
|
|
266
278
|
}, {
|
|
267
|
-
operation: "download_file";
|
|
268
|
-
error: string;
|
|
269
279
|
success: boolean;
|
|
280
|
+
error: string;
|
|
281
|
+
operation: "download_file";
|
|
270
282
|
content?: string | undefined;
|
|
271
|
-
filename?: string | undefined;
|
|
272
283
|
mimeType?: string | undefined;
|
|
284
|
+
filename?: string | undefined;
|
|
273
285
|
}>, z.ZodObject<{
|
|
274
286
|
operation: z.ZodLiteral<"list_files">;
|
|
275
287
|
success: z.ZodBoolean;
|
|
@@ -296,8 +308,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
296
308
|
}>, "many">>;
|
|
297
309
|
}, "strip", z.ZodTypeAny, {
|
|
298
310
|
name: string;
|
|
299
|
-
id: string;
|
|
300
311
|
mimeType: string;
|
|
312
|
+
id: string;
|
|
301
313
|
size?: string | undefined;
|
|
302
314
|
createdTime?: string | undefined;
|
|
303
315
|
modifiedTime?: string | undefined;
|
|
@@ -311,8 +323,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
311
323
|
}[] | undefined;
|
|
312
324
|
}, {
|
|
313
325
|
name: string;
|
|
314
|
-
id: string;
|
|
315
326
|
mimeType: string;
|
|
327
|
+
id: string;
|
|
316
328
|
size?: string | undefined;
|
|
317
329
|
createdTime?: string | undefined;
|
|
318
330
|
modifiedTime?: string | undefined;
|
|
@@ -329,13 +341,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
329
341
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
330
342
|
error: z.ZodString;
|
|
331
343
|
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
operation: "list_files";
|
|
333
|
-
error: string;
|
|
334
344
|
success: boolean;
|
|
345
|
+
error: string;
|
|
346
|
+
operation: "list_files";
|
|
335
347
|
files?: {
|
|
336
348
|
name: string;
|
|
337
|
-
id: string;
|
|
338
349
|
mimeType: string;
|
|
350
|
+
id: string;
|
|
339
351
|
size?: string | undefined;
|
|
340
352
|
createdTime?: string | undefined;
|
|
341
353
|
modifiedTime?: string | undefined;
|
|
@@ -351,13 +363,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
351
363
|
total_count?: number | undefined;
|
|
352
364
|
next_page_token?: string | undefined;
|
|
353
365
|
}, {
|
|
354
|
-
operation: "list_files";
|
|
355
|
-
error: string;
|
|
356
366
|
success: boolean;
|
|
367
|
+
error: string;
|
|
368
|
+
operation: "list_files";
|
|
357
369
|
files?: {
|
|
358
370
|
name: string;
|
|
359
|
-
id: string;
|
|
360
371
|
mimeType: string;
|
|
372
|
+
id: string;
|
|
361
373
|
size?: string | undefined;
|
|
362
374
|
createdTime?: string | undefined;
|
|
363
375
|
modifiedTime?: string | undefined;
|
|
@@ -393,9 +405,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
393
405
|
}>>;
|
|
394
406
|
error: z.ZodString;
|
|
395
407
|
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
operation: "create_folder";
|
|
397
|
-
error: string;
|
|
398
408
|
success: boolean;
|
|
409
|
+
error: string;
|
|
410
|
+
operation: "create_folder";
|
|
399
411
|
folder?: {
|
|
400
412
|
name: string;
|
|
401
413
|
id: string;
|
|
@@ -403,9 +415,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
403
415
|
parents?: string[] | undefined;
|
|
404
416
|
} | undefined;
|
|
405
417
|
}, {
|
|
406
|
-
operation: "create_folder";
|
|
407
|
-
error: string;
|
|
408
418
|
success: boolean;
|
|
419
|
+
error: string;
|
|
420
|
+
operation: "create_folder";
|
|
409
421
|
folder?: {
|
|
410
422
|
name: string;
|
|
411
423
|
id: string;
|
|
@@ -418,14 +430,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
418
430
|
deleted_file_id: z.ZodOptional<z.ZodString>;
|
|
419
431
|
error: z.ZodString;
|
|
420
432
|
}, "strip", z.ZodTypeAny, {
|
|
421
|
-
operation: "delete_file";
|
|
422
|
-
error: string;
|
|
423
433
|
success: boolean;
|
|
434
|
+
error: string;
|
|
435
|
+
operation: "delete_file";
|
|
424
436
|
deleted_file_id?: string | undefined;
|
|
425
437
|
}, {
|
|
426
|
-
operation: "delete_file";
|
|
427
|
-
error: string;
|
|
428
438
|
success: boolean;
|
|
439
|
+
error: string;
|
|
440
|
+
operation: "delete_file";
|
|
429
441
|
deleted_file_id?: string | undefined;
|
|
430
442
|
}>, z.ZodObject<{
|
|
431
443
|
operation: z.ZodLiteral<"get_file_info">;
|
|
@@ -453,8 +465,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
453
465
|
}>, "many">>;
|
|
454
466
|
}, "strip", z.ZodTypeAny, {
|
|
455
467
|
name: string;
|
|
456
|
-
id: string;
|
|
457
468
|
mimeType: string;
|
|
469
|
+
id: string;
|
|
458
470
|
size?: string | undefined;
|
|
459
471
|
createdTime?: string | undefined;
|
|
460
472
|
modifiedTime?: string | undefined;
|
|
@@ -468,8 +480,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
468
480
|
}[] | undefined;
|
|
469
481
|
}, {
|
|
470
482
|
name: string;
|
|
471
|
-
id: string;
|
|
472
483
|
mimeType: string;
|
|
484
|
+
id: string;
|
|
473
485
|
size?: string | undefined;
|
|
474
486
|
createdTime?: string | undefined;
|
|
475
487
|
modifiedTime?: string | undefined;
|
|
@@ -503,13 +515,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
503
515
|
}>, "many">>;
|
|
504
516
|
error: z.ZodString;
|
|
505
517
|
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
operation: "get_file_info";
|
|
507
|
-
error: string;
|
|
508
518
|
success: boolean;
|
|
519
|
+
error: string;
|
|
520
|
+
operation: "get_file_info";
|
|
509
521
|
file?: {
|
|
510
522
|
name: string;
|
|
511
|
-
id: string;
|
|
512
523
|
mimeType: string;
|
|
524
|
+
id: string;
|
|
513
525
|
size?: string | undefined;
|
|
514
526
|
createdTime?: string | undefined;
|
|
515
527
|
modifiedTime?: string | undefined;
|
|
@@ -530,13 +542,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
530
542
|
emailAddress?: string | undefined;
|
|
531
543
|
}[] | undefined;
|
|
532
544
|
}, {
|
|
533
|
-
operation: "get_file_info";
|
|
534
|
-
error: string;
|
|
535
545
|
success: boolean;
|
|
546
|
+
error: string;
|
|
547
|
+
operation: "get_file_info";
|
|
536
548
|
file?: {
|
|
537
549
|
name: string;
|
|
538
|
-
id: string;
|
|
539
550
|
mimeType: string;
|
|
551
|
+
id: string;
|
|
540
552
|
size?: string | undefined;
|
|
541
553
|
createdTime?: string | undefined;
|
|
542
554
|
modifiedTime?: string | undefined;
|
|
@@ -563,15 +575,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
563
575
|
share_link: z.ZodOptional<z.ZodString>;
|
|
564
576
|
error: z.ZodString;
|
|
565
577
|
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
operation: "share_file";
|
|
567
|
-
error: string;
|
|
568
578
|
success: boolean;
|
|
579
|
+
error: string;
|
|
580
|
+
operation: "share_file";
|
|
569
581
|
permission_id?: string | undefined;
|
|
570
582
|
share_link?: string | undefined;
|
|
571
583
|
}, {
|
|
572
|
-
operation: "share_file";
|
|
573
|
-
error: string;
|
|
574
584
|
success: boolean;
|
|
585
|
+
error: string;
|
|
586
|
+
operation: "share_file";
|
|
575
587
|
permission_id?: string | undefined;
|
|
576
588
|
share_link?: string | undefined;
|
|
577
589
|
}>, z.ZodObject<{
|
|
@@ -600,8 +612,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
600
612
|
}>, "many">>;
|
|
601
613
|
}, "strip", z.ZodTypeAny, {
|
|
602
614
|
name: string;
|
|
603
|
-
id: string;
|
|
604
615
|
mimeType: string;
|
|
616
|
+
id: string;
|
|
605
617
|
size?: string | undefined;
|
|
606
618
|
createdTime?: string | undefined;
|
|
607
619
|
modifiedTime?: string | undefined;
|
|
@@ -615,8 +627,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
615
627
|
}[] | undefined;
|
|
616
628
|
}, {
|
|
617
629
|
name: string;
|
|
618
|
-
id: string;
|
|
619
630
|
mimeType: string;
|
|
631
|
+
id: string;
|
|
620
632
|
size?: string | undefined;
|
|
621
633
|
createdTime?: string | undefined;
|
|
622
634
|
modifiedTime?: string | undefined;
|
|
@@ -631,13 +643,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
631
643
|
}>>;
|
|
632
644
|
error: z.ZodString;
|
|
633
645
|
}, "strip", z.ZodTypeAny, {
|
|
634
|
-
operation: "move_file";
|
|
635
|
-
error: string;
|
|
636
646
|
success: boolean;
|
|
647
|
+
error: string;
|
|
648
|
+
operation: "move_file";
|
|
637
649
|
file?: {
|
|
638
650
|
name: string;
|
|
639
|
-
id: string;
|
|
640
651
|
mimeType: string;
|
|
652
|
+
id: string;
|
|
641
653
|
size?: string | undefined;
|
|
642
654
|
createdTime?: string | undefined;
|
|
643
655
|
modifiedTime?: string | undefined;
|
|
@@ -651,13 +663,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
651
663
|
}[] | undefined;
|
|
652
664
|
} | undefined;
|
|
653
665
|
}, {
|
|
654
|
-
operation: "move_file";
|
|
655
|
-
error: string;
|
|
656
666
|
success: boolean;
|
|
667
|
+
error: string;
|
|
668
|
+
operation: "move_file";
|
|
657
669
|
file?: {
|
|
658
670
|
name: string;
|
|
659
|
-
id: string;
|
|
660
671
|
mimeType: string;
|
|
672
|
+
id: string;
|
|
661
673
|
size?: string | undefined;
|
|
662
674
|
createdTime?: string | undefined;
|
|
663
675
|
modifiedTime?: string | undefined;
|
|
@@ -670,6 +682,64 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
670
682
|
emailAddress?: string | undefined;
|
|
671
683
|
}[] | undefined;
|
|
672
684
|
} | undefined;
|
|
685
|
+
}>, z.ZodObject<{
|
|
686
|
+
operation: z.ZodLiteral<"get_doc">;
|
|
687
|
+
success: z.ZodBoolean;
|
|
688
|
+
document: z.ZodOptional<z.ZodObject<{
|
|
689
|
+
documentId: z.ZodString;
|
|
690
|
+
title: z.ZodString;
|
|
691
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
692
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
693
|
+
suggestionsViewMode: z.ZodOptional<z.ZodString>;
|
|
694
|
+
inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
695
|
+
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
696
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
697
|
+
documentId: z.ZodString;
|
|
698
|
+
title: z.ZodString;
|
|
699
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
700
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
701
|
+
suggestionsViewMode: z.ZodOptional<z.ZodString>;
|
|
702
|
+
inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
703
|
+
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
704
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
705
|
+
documentId: z.ZodString;
|
|
706
|
+
title: z.ZodString;
|
|
707
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
708
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
709
|
+
suggestionsViewMode: z.ZodOptional<z.ZodString>;
|
|
710
|
+
inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
711
|
+
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
712
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
713
|
+
plainText: z.ZodOptional<z.ZodString>;
|
|
714
|
+
error: z.ZodString;
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
success: boolean;
|
|
717
|
+
error: string;
|
|
718
|
+
operation: "get_doc";
|
|
719
|
+
document?: z.objectOutputType<{
|
|
720
|
+
documentId: z.ZodString;
|
|
721
|
+
title: z.ZodString;
|
|
722
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
723
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
724
|
+
suggestionsViewMode: z.ZodOptional<z.ZodString>;
|
|
725
|
+
inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
726
|
+
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
727
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
728
|
+
plainText?: string | undefined;
|
|
729
|
+
}, {
|
|
730
|
+
success: boolean;
|
|
731
|
+
error: string;
|
|
732
|
+
operation: "get_doc";
|
|
733
|
+
document?: z.objectInputType<{
|
|
734
|
+
documentId: z.ZodString;
|
|
735
|
+
title: z.ZodString;
|
|
736
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
737
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
738
|
+
suggestionsViewMode: z.ZodOptional<z.ZodString>;
|
|
739
|
+
inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
740
|
+
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
741
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
742
|
+
plainText?: string | undefined;
|
|
673
743
|
}>]>;
|
|
674
744
|
type GoogleDriveResult = z.output<typeof GoogleDriveResultSchema>;
|
|
675
745
|
type GoogleDriveParams = z.input<typeof GoogleDriveParamsSchema>;
|
|
@@ -693,17 +763,17 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
693
763
|
convert_to_google_docs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
694
764
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
695
765
|
}, "strip", z.ZodTypeAny, {
|
|
696
|
-
operation: "upload_file";
|
|
697
766
|
name: string;
|
|
698
767
|
content: string;
|
|
768
|
+
operation: "upload_file";
|
|
699
769
|
convert_to_google_docs: boolean;
|
|
700
770
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
701
771
|
mimeType?: string | undefined;
|
|
702
772
|
parent_folder_id?: string | undefined;
|
|
703
773
|
}, {
|
|
704
|
-
operation: "upload_file";
|
|
705
774
|
name: string;
|
|
706
775
|
content: string;
|
|
776
|
+
operation: "upload_file";
|
|
707
777
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
708
778
|
mimeType?: string | undefined;
|
|
709
779
|
parent_folder_id?: string | undefined;
|
|
@@ -753,13 +823,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
753
823
|
parent_folder_id: z.ZodOptional<z.ZodString>;
|
|
754
824
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
755
825
|
}, "strip", z.ZodTypeAny, {
|
|
756
|
-
operation: "create_folder";
|
|
757
826
|
name: string;
|
|
827
|
+
operation: "create_folder";
|
|
758
828
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
759
829
|
parent_folder_id?: string | undefined;
|
|
760
830
|
}, {
|
|
761
|
-
operation: "create_folder";
|
|
762
831
|
name: string;
|
|
832
|
+
operation: "create_folder";
|
|
763
833
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
764
834
|
parent_folder_id?: string | undefined;
|
|
765
835
|
}>, z.ZodObject<{
|
|
@@ -801,10 +871,10 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
801
871
|
send_notification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
802
872
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
803
873
|
}, "strip", z.ZodTypeAny, {
|
|
804
|
-
operation: "share_file";
|
|
805
874
|
type: "user" | "group" | "domain" | "anyone";
|
|
875
|
+
operation: "share_file";
|
|
806
876
|
file_id: string;
|
|
807
|
-
role: "
|
|
877
|
+
role: "reader" | "writer" | "commenter" | "owner";
|
|
808
878
|
send_notification: boolean;
|
|
809
879
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
810
880
|
email_address?: string | undefined;
|
|
@@ -814,7 +884,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
814
884
|
type?: "user" | "group" | "domain" | "anyone" | undefined;
|
|
815
885
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
816
886
|
email_address?: string | undefined;
|
|
817
|
-
role?: "
|
|
887
|
+
role?: "reader" | "writer" | "commenter" | "owner" | undefined;
|
|
818
888
|
send_notification?: boolean | undefined;
|
|
819
889
|
}>, z.ZodObject<{
|
|
820
890
|
operation: z.ZodLiteral<"move_file">;
|
|
@@ -834,6 +904,18 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
834
904
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
835
905
|
new_parent_folder_id?: string | undefined;
|
|
836
906
|
remove_parent_folder_id?: string | undefined;
|
|
907
|
+
}>, z.ZodObject<{
|
|
908
|
+
operation: z.ZodLiteral<"get_doc">;
|
|
909
|
+
document_id: z.ZodString;
|
|
910
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
911
|
+
}, "strip", z.ZodTypeAny, {
|
|
912
|
+
operation: "get_doc";
|
|
913
|
+
document_id: string;
|
|
914
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
915
|
+
}, {
|
|
916
|
+
operation: "get_doc";
|
|
917
|
+
document_id: string;
|
|
918
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
837
919
|
}>]>;
|
|
838
920
|
static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
839
921
|
operation: z.ZodLiteral<"upload_file">;
|
|
@@ -861,8 +943,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
861
943
|
}>, "many">>;
|
|
862
944
|
}, "strip", z.ZodTypeAny, {
|
|
863
945
|
name: string;
|
|
864
|
-
id: string;
|
|
865
946
|
mimeType: string;
|
|
947
|
+
id: string;
|
|
866
948
|
size?: string | undefined;
|
|
867
949
|
createdTime?: string | undefined;
|
|
868
950
|
modifiedTime?: string | undefined;
|
|
@@ -876,8 +958,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
876
958
|
}[] | undefined;
|
|
877
959
|
}, {
|
|
878
960
|
name: string;
|
|
879
|
-
id: string;
|
|
880
961
|
mimeType: string;
|
|
962
|
+
id: string;
|
|
881
963
|
size?: string | undefined;
|
|
882
964
|
createdTime?: string | undefined;
|
|
883
965
|
modifiedTime?: string | undefined;
|
|
@@ -892,13 +974,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
892
974
|
}>>;
|
|
893
975
|
error: z.ZodString;
|
|
894
976
|
}, "strip", z.ZodTypeAny, {
|
|
895
|
-
operation: "upload_file";
|
|
896
|
-
error: string;
|
|
897
977
|
success: boolean;
|
|
978
|
+
error: string;
|
|
979
|
+
operation: "upload_file";
|
|
898
980
|
file?: {
|
|
899
981
|
name: string;
|
|
900
|
-
id: string;
|
|
901
982
|
mimeType: string;
|
|
983
|
+
id: string;
|
|
902
984
|
size?: string | undefined;
|
|
903
985
|
createdTime?: string | undefined;
|
|
904
986
|
modifiedTime?: string | undefined;
|
|
@@ -912,13 +994,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
912
994
|
}[] | undefined;
|
|
913
995
|
} | undefined;
|
|
914
996
|
}, {
|
|
915
|
-
operation: "upload_file";
|
|
916
|
-
error: string;
|
|
917
997
|
success: boolean;
|
|
998
|
+
error: string;
|
|
999
|
+
operation: "upload_file";
|
|
918
1000
|
file?: {
|
|
919
1001
|
name: string;
|
|
920
|
-
id: string;
|
|
921
1002
|
mimeType: string;
|
|
1003
|
+
id: string;
|
|
922
1004
|
size?: string | undefined;
|
|
923
1005
|
createdTime?: string | undefined;
|
|
924
1006
|
modifiedTime?: string | undefined;
|
|
@@ -939,19 +1021,19 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
939
1021
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
940
1022
|
error: z.ZodString;
|
|
941
1023
|
}, "strip", z.ZodTypeAny, {
|
|
942
|
-
operation: "download_file";
|
|
943
|
-
error: string;
|
|
944
1024
|
success: boolean;
|
|
1025
|
+
error: string;
|
|
1026
|
+
operation: "download_file";
|
|
945
1027
|
content?: string | undefined;
|
|
946
|
-
filename?: string | undefined;
|
|
947
1028
|
mimeType?: string | undefined;
|
|
1029
|
+
filename?: string | undefined;
|
|
948
1030
|
}, {
|
|
949
|
-
operation: "download_file";
|
|
950
|
-
error: string;
|
|
951
1031
|
success: boolean;
|
|
1032
|
+
error: string;
|
|
1033
|
+
operation: "download_file";
|
|
952
1034
|
content?: string | undefined;
|
|
953
|
-
filename?: string | undefined;
|
|
954
1035
|
mimeType?: string | undefined;
|
|
1036
|
+
filename?: string | undefined;
|
|
955
1037
|
}>, z.ZodObject<{
|
|
956
1038
|
operation: z.ZodLiteral<"list_files">;
|
|
957
1039
|
success: z.ZodBoolean;
|
|
@@ -978,8 +1060,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
978
1060
|
}>, "many">>;
|
|
979
1061
|
}, "strip", z.ZodTypeAny, {
|
|
980
1062
|
name: string;
|
|
981
|
-
id: string;
|
|
982
1063
|
mimeType: string;
|
|
1064
|
+
id: string;
|
|
983
1065
|
size?: string | undefined;
|
|
984
1066
|
createdTime?: string | undefined;
|
|
985
1067
|
modifiedTime?: string | undefined;
|
|
@@ -993,8 +1075,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
993
1075
|
}[] | undefined;
|
|
994
1076
|
}, {
|
|
995
1077
|
name: string;
|
|
996
|
-
id: string;
|
|
997
1078
|
mimeType: string;
|
|
1079
|
+
id: string;
|
|
998
1080
|
size?: string | undefined;
|
|
999
1081
|
createdTime?: string | undefined;
|
|
1000
1082
|
modifiedTime?: string | undefined;
|
|
@@ -1011,13 +1093,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1011
1093
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
1012
1094
|
error: z.ZodString;
|
|
1013
1095
|
}, "strip", z.ZodTypeAny, {
|
|
1014
|
-
operation: "list_files";
|
|
1015
|
-
error: string;
|
|
1016
1096
|
success: boolean;
|
|
1097
|
+
error: string;
|
|
1098
|
+
operation: "list_files";
|
|
1017
1099
|
files?: {
|
|
1018
1100
|
name: string;
|
|
1019
|
-
id: string;
|
|
1020
1101
|
mimeType: string;
|
|
1102
|
+
id: string;
|
|
1021
1103
|
size?: string | undefined;
|
|
1022
1104
|
createdTime?: string | undefined;
|
|
1023
1105
|
modifiedTime?: string | undefined;
|
|
@@ -1033,13 +1115,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1033
1115
|
total_count?: number | undefined;
|
|
1034
1116
|
next_page_token?: string | undefined;
|
|
1035
1117
|
}, {
|
|
1036
|
-
operation: "list_files";
|
|
1037
|
-
error: string;
|
|
1038
1118
|
success: boolean;
|
|
1119
|
+
error: string;
|
|
1120
|
+
operation: "list_files";
|
|
1039
1121
|
files?: {
|
|
1040
1122
|
name: string;
|
|
1041
|
-
id: string;
|
|
1042
1123
|
mimeType: string;
|
|
1124
|
+
id: string;
|
|
1043
1125
|
size?: string | undefined;
|
|
1044
1126
|
createdTime?: string | undefined;
|
|
1045
1127
|
modifiedTime?: string | undefined;
|
|
@@ -1075,9 +1157,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1075
1157
|
}>>;
|
|
1076
1158
|
error: z.ZodString;
|
|
1077
1159
|
}, "strip", z.ZodTypeAny, {
|
|
1078
|
-
operation: "create_folder";
|
|
1079
|
-
error: string;
|
|
1080
1160
|
success: boolean;
|
|
1161
|
+
error: string;
|
|
1162
|
+
operation: "create_folder";
|
|
1081
1163
|
folder?: {
|
|
1082
1164
|
name: string;
|
|
1083
1165
|
id: string;
|
|
@@ -1085,9 +1167,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1085
1167
|
parents?: string[] | undefined;
|
|
1086
1168
|
} | undefined;
|
|
1087
1169
|
}, {
|
|
1088
|
-
operation: "create_folder";
|
|
1089
|
-
error: string;
|
|
1090
1170
|
success: boolean;
|
|
1171
|
+
error: string;
|
|
1172
|
+
operation: "create_folder";
|
|
1091
1173
|
folder?: {
|
|
1092
1174
|
name: string;
|
|
1093
1175
|
id: string;
|
|
@@ -1100,14 +1182,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1100
1182
|
deleted_file_id: z.ZodOptional<z.ZodString>;
|
|
1101
1183
|
error: z.ZodString;
|
|
1102
1184
|
}, "strip", z.ZodTypeAny, {
|
|
1103
|
-
operation: "delete_file";
|
|
1104
|
-
error: string;
|
|
1105
1185
|
success: boolean;
|
|
1186
|
+
error: string;
|
|
1187
|
+
operation: "delete_file";
|
|
1106
1188
|
deleted_file_id?: string | undefined;
|
|
1107
1189
|
}, {
|
|
1108
|
-
operation: "delete_file";
|
|
1109
|
-
error: string;
|
|
1110
1190
|
success: boolean;
|
|
1191
|
+
error: string;
|
|
1192
|
+
operation: "delete_file";
|
|
1111
1193
|
deleted_file_id?: string | undefined;
|
|
1112
1194
|
}>, z.ZodObject<{
|
|
1113
1195
|
operation: z.ZodLiteral<"get_file_info">;
|
|
@@ -1135,8 +1217,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1135
1217
|
}>, "many">>;
|
|
1136
1218
|
}, "strip", z.ZodTypeAny, {
|
|
1137
1219
|
name: string;
|
|
1138
|
-
id: string;
|
|
1139
1220
|
mimeType: string;
|
|
1221
|
+
id: string;
|
|
1140
1222
|
size?: string | undefined;
|
|
1141
1223
|
createdTime?: string | undefined;
|
|
1142
1224
|
modifiedTime?: string | undefined;
|
|
@@ -1150,8 +1232,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1150
1232
|
}[] | undefined;
|
|
1151
1233
|
}, {
|
|
1152
1234
|
name: string;
|
|
1153
|
-
id: string;
|
|
1154
1235
|
mimeType: string;
|
|
1236
|
+
id: string;
|
|
1155
1237
|
size?: string | undefined;
|
|
1156
1238
|
createdTime?: string | undefined;
|
|
1157
1239
|
modifiedTime?: string | undefined;
|
|
@@ -1185,13 +1267,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1185
1267
|
}>, "many">>;
|
|
1186
1268
|
error: z.ZodString;
|
|
1187
1269
|
}, "strip", z.ZodTypeAny, {
|
|
1188
|
-
operation: "get_file_info";
|
|
1189
|
-
error: string;
|
|
1190
1270
|
success: boolean;
|
|
1271
|
+
error: string;
|
|
1272
|
+
operation: "get_file_info";
|
|
1191
1273
|
file?: {
|
|
1192
1274
|
name: string;
|
|
1193
|
-
id: string;
|
|
1194
1275
|
mimeType: string;
|
|
1276
|
+
id: string;
|
|
1195
1277
|
size?: string | undefined;
|
|
1196
1278
|
createdTime?: string | undefined;
|
|
1197
1279
|
modifiedTime?: string | undefined;
|
|
@@ -1212,13 +1294,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1212
1294
|
emailAddress?: string | undefined;
|
|
1213
1295
|
}[] | undefined;
|
|
1214
1296
|
}, {
|
|
1215
|
-
operation: "get_file_info";
|
|
1216
|
-
error: string;
|
|
1217
1297
|
success: boolean;
|
|
1298
|
+
error: string;
|
|
1299
|
+
operation: "get_file_info";
|
|
1218
1300
|
file?: {
|
|
1219
1301
|
name: string;
|
|
1220
|
-
id: string;
|
|
1221
1302
|
mimeType: string;
|
|
1303
|
+
id: string;
|
|
1222
1304
|
size?: string | undefined;
|
|
1223
1305
|
createdTime?: string | undefined;
|
|
1224
1306
|
modifiedTime?: string | undefined;
|
|
@@ -1245,15 +1327,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1245
1327
|
share_link: z.ZodOptional<z.ZodString>;
|
|
1246
1328
|
error: z.ZodString;
|
|
1247
1329
|
}, "strip", z.ZodTypeAny, {
|
|
1248
|
-
operation: "share_file";
|
|
1249
|
-
error: string;
|
|
1250
1330
|
success: boolean;
|
|
1331
|
+
error: string;
|
|
1332
|
+
operation: "share_file";
|
|
1251
1333
|
permission_id?: string | undefined;
|
|
1252
1334
|
share_link?: string | undefined;
|
|
1253
1335
|
}, {
|
|
1254
|
-
operation: "share_file";
|
|
1255
|
-
error: string;
|
|
1256
1336
|
success: boolean;
|
|
1337
|
+
error: string;
|
|
1338
|
+
operation: "share_file";
|
|
1257
1339
|
permission_id?: string | undefined;
|
|
1258
1340
|
share_link?: string | undefined;
|
|
1259
1341
|
}>, z.ZodObject<{
|
|
@@ -1282,8 +1364,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1282
1364
|
}>, "many">>;
|
|
1283
1365
|
}, "strip", z.ZodTypeAny, {
|
|
1284
1366
|
name: string;
|
|
1285
|
-
id: string;
|
|
1286
1367
|
mimeType: string;
|
|
1368
|
+
id: string;
|
|
1287
1369
|
size?: string | undefined;
|
|
1288
1370
|
createdTime?: string | undefined;
|
|
1289
1371
|
modifiedTime?: string | undefined;
|
|
@@ -1297,8 +1379,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1297
1379
|
}[] | undefined;
|
|
1298
1380
|
}, {
|
|
1299
1381
|
name: string;
|
|
1300
|
-
id: string;
|
|
1301
1382
|
mimeType: string;
|
|
1383
|
+
id: string;
|
|
1302
1384
|
size?: string | undefined;
|
|
1303
1385
|
createdTime?: string | undefined;
|
|
1304
1386
|
modifiedTime?: string | undefined;
|
|
@@ -1313,13 +1395,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1313
1395
|
}>>;
|
|
1314
1396
|
error: z.ZodString;
|
|
1315
1397
|
}, "strip", z.ZodTypeAny, {
|
|
1316
|
-
operation: "move_file";
|
|
1317
|
-
error: string;
|
|
1318
1398
|
success: boolean;
|
|
1399
|
+
error: string;
|
|
1400
|
+
operation: "move_file";
|
|
1319
1401
|
file?: {
|
|
1320
1402
|
name: string;
|
|
1321
|
-
id: string;
|
|
1322
1403
|
mimeType: string;
|
|
1404
|
+
id: string;
|
|
1323
1405
|
size?: string | undefined;
|
|
1324
1406
|
createdTime?: string | undefined;
|
|
1325
1407
|
modifiedTime?: string | undefined;
|
|
@@ -1333,13 +1415,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1333
1415
|
}[] | undefined;
|
|
1334
1416
|
} | undefined;
|
|
1335
1417
|
}, {
|
|
1336
|
-
operation: "move_file";
|
|
1337
|
-
error: string;
|
|
1338
1418
|
success: boolean;
|
|
1419
|
+
error: string;
|
|
1420
|
+
operation: "move_file";
|
|
1339
1421
|
file?: {
|
|
1340
1422
|
name: string;
|
|
1341
|
-
id: string;
|
|
1342
1423
|
mimeType: string;
|
|
1424
|
+
id: string;
|
|
1343
1425
|
size?: string | undefined;
|
|
1344
1426
|
createdTime?: string | undefined;
|
|
1345
1427
|
modifiedTime?: string | undefined;
|
|
@@ -1352,6 +1434,64 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1352
1434
|
emailAddress?: string | undefined;
|
|
1353
1435
|
}[] | undefined;
|
|
1354
1436
|
} | undefined;
|
|
1437
|
+
}>, z.ZodObject<{
|
|
1438
|
+
operation: z.ZodLiteral<"get_doc">;
|
|
1439
|
+
success: z.ZodBoolean;
|
|
1440
|
+
document: z.ZodOptional<z.ZodObject<{
|
|
1441
|
+
documentId: z.ZodString;
|
|
1442
|
+
title: z.ZodString;
|
|
1443
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1445
|
+
suggestionsViewMode: z.ZodOptional<z.ZodString>;
|
|
1446
|
+
inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1447
|
+
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1448
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1449
|
+
documentId: z.ZodString;
|
|
1450
|
+
title: z.ZodString;
|
|
1451
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
1452
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1453
|
+
suggestionsViewMode: z.ZodOptional<z.ZodString>;
|
|
1454
|
+
inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1455
|
+
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1456
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1457
|
+
documentId: z.ZodString;
|
|
1458
|
+
title: z.ZodString;
|
|
1459
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1461
|
+
suggestionsViewMode: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1463
|
+
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1464
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1465
|
+
plainText: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
error: z.ZodString;
|
|
1467
|
+
}, "strip", z.ZodTypeAny, {
|
|
1468
|
+
success: boolean;
|
|
1469
|
+
error: string;
|
|
1470
|
+
operation: "get_doc";
|
|
1471
|
+
document?: z.objectOutputType<{
|
|
1472
|
+
documentId: z.ZodString;
|
|
1473
|
+
title: z.ZodString;
|
|
1474
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
1475
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1476
|
+
suggestionsViewMode: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1478
|
+
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1479
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1480
|
+
plainText?: string | undefined;
|
|
1481
|
+
}, {
|
|
1482
|
+
success: boolean;
|
|
1483
|
+
error: string;
|
|
1484
|
+
operation: "get_doc";
|
|
1485
|
+
document?: z.objectInputType<{
|
|
1486
|
+
documentId: z.ZodString;
|
|
1487
|
+
title: z.ZodString;
|
|
1488
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1490
|
+
suggestionsViewMode: z.ZodOptional<z.ZodString>;
|
|
1491
|
+
inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1492
|
+
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1493
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1494
|
+
plainText?: string | undefined;
|
|
1355
1495
|
}>]>;
|
|
1356
1496
|
static readonly shortDescription = "Google Drive integration for file management";
|
|
1357
1497
|
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 ";
|
|
@@ -1371,6 +1511,11 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1371
1511
|
private getFileInfo;
|
|
1372
1512
|
private shareFile;
|
|
1373
1513
|
private moveFile;
|
|
1514
|
+
private getDoc;
|
|
1515
|
+
/**
|
|
1516
|
+
* Extracts plain text content from a Google Docs document body
|
|
1517
|
+
*/
|
|
1518
|
+
private extractPlainTextFromDoc;
|
|
1374
1519
|
private isBase64;
|
|
1375
1520
|
private extractBase64Content;
|
|
1376
1521
|
private findAndExtractBase64;
|