@bubblelab/bubble-core 0.1.19 → 0.1.21

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.
Files changed (60) hide show
  1. package/dist/bubble-bundle.d.ts +70 -70
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +140 -140
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +58 -58
  4. package/dist/bubbles/service-bubble/airtable.d.ts +106 -106
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +8 -8
  6. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +47 -47
  7. package/dist/bubbles/service-bubble/eleven-labs.d.ts +52 -52
  8. package/dist/bubbles/service-bubble/firecrawl.d.ts +730 -730
  9. package/dist/bubbles/service-bubble/followupboss.d.ts +282 -282
  10. package/dist/bubbles/service-bubble/github.d.ts +196 -196
  11. package/dist/bubbles/service-bubble/gmail.d.ts +632 -632
  12. package/dist/bubbles/service-bubble/google-calendar.d.ts +960 -158
  13. package/dist/bubbles/service-bubble/google-calendar.d.ts.map +1 -1
  14. package/dist/bubbles/service-bubble/google-calendar.js +51 -9
  15. package/dist/bubbles/service-bubble/google-calendar.js.map +1 -1
  16. package/dist/bubbles/service-bubble/google-drive.d.ts +310 -92
  17. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  18. package/dist/bubbles/service-bubble/google-drive.js +438 -0
  19. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  20. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  21. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  22. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  23. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  24. package/dist/bubbles/service-bubble/notion/notion.d.ts +987 -987
  25. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  26. package/dist/bubbles/service-bubble/resend.d.ts +40 -40
  27. package/dist/bubbles/service-bubble/slack/slack.d.ts +314 -314
  28. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  29. package/dist/bubbles/service-bubble/telegram.d.ts +1591 -1591
  30. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +30 -30
  31. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
  32. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +20 -20
  33. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
  34. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  35. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  36. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +20 -20
  37. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
  38. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +70 -70
  39. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  40. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
  41. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  42. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
  43. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +20 -20
  44. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  45. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +68 -68
  46. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
  47. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  48. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  49. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
  50. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +32 -32
  51. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  52. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +28 -28
  53. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  54. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +106 -106
  55. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  56. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
  57. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +92 -92
  58. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  59. package/dist/bubbles.json +3 -3
  60. package/package.json +2 -2
@@ -15,17 +15,17 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
15
15
  name: string;
16
16
  content: string;
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
22
  operation: "upload_file";
23
23
  name: string;
24
24
  content: string;
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;
@@ -73,13 +73,13 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
73
73
  }, "strip", z.ZodTypeAny, {
74
74
  operation: "create_folder";
75
75
  name: string;
76
- credentials?: Partial<Record<CredentialType, string>> | undefined;
77
76
  parent_folder_id?: string | undefined;
77
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
78
78
  }, {
79
79
  operation: "create_folder";
80
80
  name: string;
81
- credentials?: Partial<Record<CredentialType, string>> | undefined;
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;
@@ -122,7 +122,7 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
122
122
  operation: "share_file";
123
123
  type: "user" | "group" | "domain" | "anyone";
124
124
  file_id: string;
125
- role: "writer" | "reader" | "commenter" | "owner";
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?: "writer" | "reader" | "commenter" | "owner" | undefined;
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,36 @@ 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;
167
+ }>, z.ZodObject<{
168
+ operation: z.ZodLiteral<"update_doc">;
169
+ document_id: z.ZodString;
170
+ content: z.ZodString;
171
+ mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["replace", "append"]>>>;
172
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ operation: "update_doc";
175
+ content: string;
176
+ document_id: string;
177
+ mode: "replace" | "append";
178
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
179
+ }, {
180
+ operation: "update_doc";
181
+ content: string;
182
+ document_id: string;
183
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
184
+ mode?: "replace" | "append" | undefined;
155
185
  }>]>;
156
186
  declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
157
187
  operation: z.ZodLiteral<"upload_file">;
@@ -179,8 +209,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
179
209
  }>, "many">>;
180
210
  }, "strip", z.ZodTypeAny, {
181
211
  name: string;
182
- id: string;
183
212
  mimeType: string;
213
+ id: string;
184
214
  size?: string | undefined;
185
215
  createdTime?: string | undefined;
186
216
  modifiedTime?: string | undefined;
@@ -194,8 +224,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
194
224
  }[] | undefined;
195
225
  }, {
196
226
  name: string;
197
- id: string;
198
227
  mimeType: string;
228
+ id: string;
199
229
  size?: string | undefined;
200
230
  createdTime?: string | undefined;
201
231
  modifiedTime?: string | undefined;
@@ -211,12 +241,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
211
241
  error: z.ZodString;
212
242
  }, "strip", z.ZodTypeAny, {
213
243
  operation: "upload_file";
214
- error: string;
215
244
  success: boolean;
245
+ error: string;
216
246
  file?: {
217
247
  name: string;
218
- id: string;
219
248
  mimeType: string;
249
+ id: string;
220
250
  size?: string | undefined;
221
251
  createdTime?: string | undefined;
222
252
  modifiedTime?: string | undefined;
@@ -231,12 +261,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
231
261
  } | undefined;
232
262
  }, {
233
263
  operation: "upload_file";
234
- error: string;
235
264
  success: boolean;
265
+ error: string;
236
266
  file?: {
237
267
  name: string;
238
- id: string;
239
268
  mimeType: string;
269
+ id: string;
240
270
  size?: string | undefined;
241
271
  createdTime?: string | undefined;
242
272
  modifiedTime?: string | undefined;
@@ -258,18 +288,18 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
258
288
  error: z.ZodString;
259
289
  }, "strip", z.ZodTypeAny, {
260
290
  operation: "download_file";
261
- error: string;
262
291
  success: boolean;
292
+ error: string;
263
293
  content?: string | undefined;
264
- filename?: string | undefined;
265
294
  mimeType?: string | undefined;
295
+ filename?: string | undefined;
266
296
  }, {
267
297
  operation: "download_file";
268
- error: string;
269
298
  success: boolean;
299
+ error: string;
270
300
  content?: string | undefined;
271
- filename?: string | undefined;
272
301
  mimeType?: string | undefined;
302
+ filename?: string | undefined;
273
303
  }>, z.ZodObject<{
274
304
  operation: z.ZodLiteral<"list_files">;
275
305
  success: z.ZodBoolean;
@@ -296,8 +326,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
296
326
  }>, "many">>;
297
327
  }, "strip", z.ZodTypeAny, {
298
328
  name: string;
299
- id: string;
300
329
  mimeType: string;
330
+ id: string;
301
331
  size?: string | undefined;
302
332
  createdTime?: string | undefined;
303
333
  modifiedTime?: string | undefined;
@@ -311,8 +341,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
311
341
  }[] | undefined;
312
342
  }, {
313
343
  name: string;
314
- id: string;
315
344
  mimeType: string;
345
+ id: string;
316
346
  size?: string | undefined;
317
347
  createdTime?: string | undefined;
318
348
  modifiedTime?: string | undefined;
@@ -330,12 +360,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
330
360
  error: z.ZodString;
331
361
  }, "strip", z.ZodTypeAny, {
332
362
  operation: "list_files";
333
- error: string;
334
363
  success: boolean;
364
+ error: string;
335
365
  files?: {
336
366
  name: string;
337
- id: string;
338
367
  mimeType: string;
368
+ id: string;
339
369
  size?: string | undefined;
340
370
  createdTime?: string | undefined;
341
371
  modifiedTime?: string | undefined;
@@ -352,12 +382,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
352
382
  next_page_token?: string | undefined;
353
383
  }, {
354
384
  operation: "list_files";
355
- error: string;
356
385
  success: boolean;
386
+ error: string;
357
387
  files?: {
358
388
  name: string;
359
- id: string;
360
389
  mimeType: string;
390
+ id: string;
361
391
  size?: string | undefined;
362
392
  createdTime?: string | undefined;
363
393
  modifiedTime?: string | undefined;
@@ -394,8 +424,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
394
424
  error: z.ZodString;
395
425
  }, "strip", z.ZodTypeAny, {
396
426
  operation: "create_folder";
397
- error: string;
398
427
  success: boolean;
428
+ error: string;
399
429
  folder?: {
400
430
  name: string;
401
431
  id: string;
@@ -404,8 +434,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
404
434
  } | undefined;
405
435
  }, {
406
436
  operation: "create_folder";
407
- error: string;
408
437
  success: boolean;
438
+ error: string;
409
439
  folder?: {
410
440
  name: string;
411
441
  id: string;
@@ -419,13 +449,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
419
449
  error: z.ZodString;
420
450
  }, "strip", z.ZodTypeAny, {
421
451
  operation: "delete_file";
422
- error: string;
423
452
  success: boolean;
453
+ error: string;
424
454
  deleted_file_id?: string | undefined;
425
455
  }, {
426
456
  operation: "delete_file";
427
- error: string;
428
457
  success: boolean;
458
+ error: string;
429
459
  deleted_file_id?: string | undefined;
430
460
  }>, z.ZodObject<{
431
461
  operation: z.ZodLiteral<"get_file_info">;
@@ -453,8 +483,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
453
483
  }>, "many">>;
454
484
  }, "strip", z.ZodTypeAny, {
455
485
  name: string;
456
- id: string;
457
486
  mimeType: string;
487
+ id: string;
458
488
  size?: string | undefined;
459
489
  createdTime?: string | undefined;
460
490
  modifiedTime?: string | undefined;
@@ -468,8 +498,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
468
498
  }[] | undefined;
469
499
  }, {
470
500
  name: string;
471
- id: string;
472
501
  mimeType: string;
502
+ id: string;
473
503
  size?: string | undefined;
474
504
  createdTime?: string | undefined;
475
505
  modifiedTime?: string | undefined;
@@ -490,26 +520,26 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
490
520
  displayName: z.ZodOptional<z.ZodString>;
491
521
  }, "strip", z.ZodTypeAny, {
492
522
  type: string;
493
- id: string;
494
523
  role: string;
524
+ id: string;
495
525
  displayName?: string | undefined;
496
526
  emailAddress?: string | undefined;
497
527
  }, {
498
528
  type: string;
499
- id: string;
500
529
  role: string;
530
+ id: string;
501
531
  displayName?: string | undefined;
502
532
  emailAddress?: string | undefined;
503
533
  }>, "many">>;
504
534
  error: z.ZodString;
505
535
  }, "strip", z.ZodTypeAny, {
506
536
  operation: "get_file_info";
507
- error: string;
508
537
  success: boolean;
538
+ error: string;
509
539
  file?: {
510
540
  name: string;
511
- id: string;
512
541
  mimeType: string;
542
+ id: string;
513
543
  size?: string | undefined;
514
544
  createdTime?: string | undefined;
515
545
  modifiedTime?: string | undefined;
@@ -524,19 +554,19 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
524
554
  } | undefined;
525
555
  permissions?: {
526
556
  type: string;
527
- id: string;
528
557
  role: string;
558
+ id: string;
529
559
  displayName?: string | undefined;
530
560
  emailAddress?: string | undefined;
531
561
  }[] | undefined;
532
562
  }, {
533
563
  operation: "get_file_info";
534
- error: string;
535
564
  success: boolean;
565
+ error: string;
536
566
  file?: {
537
567
  name: string;
538
- id: string;
539
568
  mimeType: string;
569
+ id: string;
540
570
  size?: string | undefined;
541
571
  createdTime?: string | undefined;
542
572
  modifiedTime?: string | undefined;
@@ -551,8 +581,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
551
581
  } | undefined;
552
582
  permissions?: {
553
583
  type: string;
554
- id: string;
555
584
  role: string;
585
+ id: string;
556
586
  displayName?: string | undefined;
557
587
  emailAddress?: string | undefined;
558
588
  }[] | undefined;
@@ -564,14 +594,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
564
594
  error: z.ZodString;
565
595
  }, "strip", z.ZodTypeAny, {
566
596
  operation: "share_file";
567
- error: string;
568
597
  success: boolean;
598
+ error: string;
569
599
  permission_id?: string | undefined;
570
600
  share_link?: string | undefined;
571
601
  }, {
572
602
  operation: "share_file";
573
- error: string;
574
603
  success: boolean;
604
+ error: string;
575
605
  permission_id?: string | undefined;
576
606
  share_link?: string | undefined;
577
607
  }>, z.ZodObject<{
@@ -600,8 +630,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
600
630
  }>, "many">>;
601
631
  }, "strip", z.ZodTypeAny, {
602
632
  name: string;
603
- id: string;
604
633
  mimeType: string;
634
+ id: string;
605
635
  size?: string | undefined;
606
636
  createdTime?: string | undefined;
607
637
  modifiedTime?: string | undefined;
@@ -615,8 +645,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
615
645
  }[] | undefined;
616
646
  }, {
617
647
  name: string;
618
- id: string;
619
648
  mimeType: string;
649
+ id: string;
620
650
  size?: string | undefined;
621
651
  createdTime?: string | undefined;
622
652
  modifiedTime?: string | undefined;
@@ -632,12 +662,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
632
662
  error: z.ZodString;
633
663
  }, "strip", z.ZodTypeAny, {
634
664
  operation: "move_file";
635
- error: string;
636
665
  success: boolean;
666
+ error: string;
637
667
  file?: {
638
668
  name: string;
639
- id: string;
640
669
  mimeType: string;
670
+ id: string;
641
671
  size?: string | undefined;
642
672
  createdTime?: string | undefined;
643
673
  modifiedTime?: string | undefined;
@@ -652,12 +682,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
652
682
  } | undefined;
653
683
  }, {
654
684
  operation: "move_file";
655
- error: string;
656
685
  success: boolean;
686
+ error: string;
657
687
  file?: {
658
688
  name: string;
659
- id: string;
660
689
  mimeType: string;
690
+ id: string;
661
691
  size?: string | undefined;
662
692
  createdTime?: string | undefined;
663
693
  modifiedTime?: string | undefined;
@@ -670,6 +700,82 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
670
700
  emailAddress?: string | undefined;
671
701
  }[] | undefined;
672
702
  } | undefined;
703
+ }>, z.ZodObject<{
704
+ operation: z.ZodLiteral<"get_doc">;
705
+ success: z.ZodBoolean;
706
+ document: z.ZodOptional<z.ZodObject<{
707
+ documentId: z.ZodString;
708
+ title: z.ZodString;
709
+ revisionId: z.ZodOptional<z.ZodString>;
710
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
711
+ suggestionsViewMode: z.ZodOptional<z.ZodString>;
712
+ inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
713
+ lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
714
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
715
+ documentId: z.ZodString;
716
+ title: z.ZodString;
717
+ revisionId: z.ZodOptional<z.ZodString>;
718
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
719
+ suggestionsViewMode: z.ZodOptional<z.ZodString>;
720
+ inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
721
+ lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
722
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
723
+ documentId: z.ZodString;
724
+ title: z.ZodString;
725
+ revisionId: z.ZodOptional<z.ZodString>;
726
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
727
+ suggestionsViewMode: z.ZodOptional<z.ZodString>;
728
+ inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
729
+ lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
730
+ }, z.ZodTypeAny, "passthrough">>>;
731
+ plainText: z.ZodOptional<z.ZodString>;
732
+ error: z.ZodString;
733
+ }, "strip", z.ZodTypeAny, {
734
+ operation: "get_doc";
735
+ success: boolean;
736
+ error: string;
737
+ document?: z.objectOutputType<{
738
+ documentId: z.ZodString;
739
+ title: z.ZodString;
740
+ revisionId: z.ZodOptional<z.ZodString>;
741
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
742
+ suggestionsViewMode: z.ZodOptional<z.ZodString>;
743
+ inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
744
+ lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
745
+ }, z.ZodTypeAny, "passthrough"> | undefined;
746
+ plainText?: string | undefined;
747
+ }, {
748
+ operation: "get_doc";
749
+ success: boolean;
750
+ error: string;
751
+ document?: z.objectInputType<{
752
+ documentId: z.ZodString;
753
+ title: z.ZodString;
754
+ revisionId: z.ZodOptional<z.ZodString>;
755
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
756
+ suggestionsViewMode: z.ZodOptional<z.ZodString>;
757
+ inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
758
+ lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
759
+ }, z.ZodTypeAny, "passthrough"> | undefined;
760
+ plainText?: string | undefined;
761
+ }>, z.ZodObject<{
762
+ operation: z.ZodLiteral<"update_doc">;
763
+ success: z.ZodBoolean;
764
+ documentId: z.ZodOptional<z.ZodString>;
765
+ revisionId: z.ZodOptional<z.ZodString>;
766
+ error: z.ZodString;
767
+ }, "strip", z.ZodTypeAny, {
768
+ operation: "update_doc";
769
+ success: boolean;
770
+ error: string;
771
+ documentId?: string | undefined;
772
+ revisionId?: string | undefined;
773
+ }, {
774
+ operation: "update_doc";
775
+ success: boolean;
776
+ error: string;
777
+ documentId?: string | undefined;
778
+ revisionId?: string | undefined;
673
779
  }>]>;
674
780
  type GoogleDriveResult = z.output<typeof GoogleDriveResultSchema>;
675
781
  type GoogleDriveParams = z.input<typeof GoogleDriveParamsSchema>;
@@ -697,17 +803,17 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
697
803
  name: string;
698
804
  content: string;
699
805
  convert_to_google_docs: boolean;
700
- credentials?: Partial<Record<CredentialType, string>> | undefined;
701
806
  mimeType?: string | undefined;
702
807
  parent_folder_id?: string | undefined;
808
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
703
809
  }, {
704
810
  operation: "upload_file";
705
811
  name: string;
706
812
  content: string;
707
- credentials?: Partial<Record<CredentialType, string>> | undefined;
708
813
  mimeType?: string | undefined;
709
814
  parent_folder_id?: string | undefined;
710
815
  convert_to_google_docs?: boolean | undefined;
816
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
711
817
  }>, z.ZodObject<{
712
818
  operation: z.ZodLiteral<"download_file">;
713
819
  file_id: z.ZodString;
@@ -737,13 +843,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
737
843
  include_folders: boolean;
738
844
  order_by: string;
739
845
  credentials?: Partial<Record<CredentialType, string>> | undefined;
740
- query?: string | undefined;
741
846
  folder_id?: string | undefined;
847
+ query?: string | undefined;
742
848
  }, {
743
849
  operation: "list_files";
744
850
  credentials?: Partial<Record<CredentialType, string>> | undefined;
745
- query?: string | undefined;
746
851
  folder_id?: string | undefined;
852
+ query?: string | undefined;
747
853
  max_results?: number | undefined;
748
854
  include_folders?: boolean | undefined;
749
855
  order_by?: string | undefined;
@@ -755,13 +861,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
755
861
  }, "strip", z.ZodTypeAny, {
756
862
  operation: "create_folder";
757
863
  name: string;
758
- credentials?: Partial<Record<CredentialType, string>> | undefined;
759
864
  parent_folder_id?: string | undefined;
865
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
760
866
  }, {
761
867
  operation: "create_folder";
762
868
  name: string;
763
- credentials?: Partial<Record<CredentialType, string>> | undefined;
764
869
  parent_folder_id?: string | undefined;
870
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
765
871
  }>, z.ZodObject<{
766
872
  operation: z.ZodLiteral<"delete_file">;
767
873
  file_id: z.ZodString;
@@ -804,7 +910,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
804
910
  operation: "share_file";
805
911
  type: "user" | "group" | "domain" | "anyone";
806
912
  file_id: string;
807
- role: "writer" | "reader" | "commenter" | "owner";
913
+ role: "reader" | "writer" | "commenter" | "owner";
808
914
  send_notification: boolean;
809
915
  credentials?: Partial<Record<CredentialType, string>> | undefined;
810
916
  email_address?: string | undefined;
@@ -814,7 +920,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
814
920
  type?: "user" | "group" | "domain" | "anyone" | undefined;
815
921
  credentials?: Partial<Record<CredentialType, string>> | undefined;
816
922
  email_address?: string | undefined;
817
- role?: "writer" | "reader" | "commenter" | "owner" | undefined;
923
+ role?: "reader" | "writer" | "commenter" | "owner" | undefined;
818
924
  send_notification?: boolean | undefined;
819
925
  }>, z.ZodObject<{
820
926
  operation: z.ZodLiteral<"move_file">;
@@ -834,6 +940,36 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
834
940
  credentials?: Partial<Record<CredentialType, string>> | undefined;
835
941
  new_parent_folder_id?: string | undefined;
836
942
  remove_parent_folder_id?: string | undefined;
943
+ }>, z.ZodObject<{
944
+ operation: z.ZodLiteral<"get_doc">;
945
+ document_id: z.ZodString;
946
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
947
+ }, "strip", z.ZodTypeAny, {
948
+ operation: "get_doc";
949
+ document_id: string;
950
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
951
+ }, {
952
+ operation: "get_doc";
953
+ document_id: string;
954
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
955
+ }>, z.ZodObject<{
956
+ operation: z.ZodLiteral<"update_doc">;
957
+ document_id: z.ZodString;
958
+ content: z.ZodString;
959
+ mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["replace", "append"]>>>;
960
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
961
+ }, "strip", z.ZodTypeAny, {
962
+ operation: "update_doc";
963
+ content: string;
964
+ document_id: string;
965
+ mode: "replace" | "append";
966
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
967
+ }, {
968
+ operation: "update_doc";
969
+ content: string;
970
+ document_id: string;
971
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
972
+ mode?: "replace" | "append" | undefined;
837
973
  }>]>;
838
974
  static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
839
975
  operation: z.ZodLiteral<"upload_file">;
@@ -861,8 +997,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
861
997
  }>, "many">>;
862
998
  }, "strip", z.ZodTypeAny, {
863
999
  name: string;
864
- id: string;
865
1000
  mimeType: string;
1001
+ id: string;
866
1002
  size?: string | undefined;
867
1003
  createdTime?: string | undefined;
868
1004
  modifiedTime?: string | undefined;
@@ -876,8 +1012,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
876
1012
  }[] | undefined;
877
1013
  }, {
878
1014
  name: string;
879
- id: string;
880
1015
  mimeType: string;
1016
+ id: string;
881
1017
  size?: string | undefined;
882
1018
  createdTime?: string | undefined;
883
1019
  modifiedTime?: string | undefined;
@@ -893,12 +1029,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
893
1029
  error: z.ZodString;
894
1030
  }, "strip", z.ZodTypeAny, {
895
1031
  operation: "upload_file";
896
- error: string;
897
1032
  success: boolean;
1033
+ error: string;
898
1034
  file?: {
899
1035
  name: string;
900
- id: string;
901
1036
  mimeType: string;
1037
+ id: string;
902
1038
  size?: string | undefined;
903
1039
  createdTime?: string | undefined;
904
1040
  modifiedTime?: string | undefined;
@@ -913,12 +1049,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
913
1049
  } | undefined;
914
1050
  }, {
915
1051
  operation: "upload_file";
916
- error: string;
917
1052
  success: boolean;
1053
+ error: string;
918
1054
  file?: {
919
1055
  name: string;
920
- id: string;
921
1056
  mimeType: string;
1057
+ id: string;
922
1058
  size?: string | undefined;
923
1059
  createdTime?: string | undefined;
924
1060
  modifiedTime?: string | undefined;
@@ -940,18 +1076,18 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
940
1076
  error: z.ZodString;
941
1077
  }, "strip", z.ZodTypeAny, {
942
1078
  operation: "download_file";
943
- error: string;
944
1079
  success: boolean;
1080
+ error: string;
945
1081
  content?: string | undefined;
946
- filename?: string | undefined;
947
1082
  mimeType?: string | undefined;
1083
+ filename?: string | undefined;
948
1084
  }, {
949
1085
  operation: "download_file";
950
- error: string;
951
1086
  success: boolean;
1087
+ error: string;
952
1088
  content?: string | undefined;
953
- filename?: string | undefined;
954
1089
  mimeType?: string | undefined;
1090
+ filename?: string | undefined;
955
1091
  }>, z.ZodObject<{
956
1092
  operation: z.ZodLiteral<"list_files">;
957
1093
  success: z.ZodBoolean;
@@ -978,8 +1114,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
978
1114
  }>, "many">>;
979
1115
  }, "strip", z.ZodTypeAny, {
980
1116
  name: string;
981
- id: string;
982
1117
  mimeType: string;
1118
+ id: string;
983
1119
  size?: string | undefined;
984
1120
  createdTime?: string | undefined;
985
1121
  modifiedTime?: string | undefined;
@@ -993,8 +1129,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
993
1129
  }[] | undefined;
994
1130
  }, {
995
1131
  name: string;
996
- id: string;
997
1132
  mimeType: string;
1133
+ id: string;
998
1134
  size?: string | undefined;
999
1135
  createdTime?: string | undefined;
1000
1136
  modifiedTime?: string | undefined;
@@ -1012,12 +1148,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1012
1148
  error: z.ZodString;
1013
1149
  }, "strip", z.ZodTypeAny, {
1014
1150
  operation: "list_files";
1015
- error: string;
1016
1151
  success: boolean;
1152
+ error: string;
1017
1153
  files?: {
1018
1154
  name: string;
1019
- id: string;
1020
1155
  mimeType: string;
1156
+ id: string;
1021
1157
  size?: string | undefined;
1022
1158
  createdTime?: string | undefined;
1023
1159
  modifiedTime?: string | undefined;
@@ -1034,12 +1170,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1034
1170
  next_page_token?: string | undefined;
1035
1171
  }, {
1036
1172
  operation: "list_files";
1037
- error: string;
1038
1173
  success: boolean;
1174
+ error: string;
1039
1175
  files?: {
1040
1176
  name: string;
1041
- id: string;
1042
1177
  mimeType: string;
1178
+ id: string;
1043
1179
  size?: string | undefined;
1044
1180
  createdTime?: string | undefined;
1045
1181
  modifiedTime?: string | undefined;
@@ -1076,8 +1212,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1076
1212
  error: z.ZodString;
1077
1213
  }, "strip", z.ZodTypeAny, {
1078
1214
  operation: "create_folder";
1079
- error: string;
1080
1215
  success: boolean;
1216
+ error: string;
1081
1217
  folder?: {
1082
1218
  name: string;
1083
1219
  id: string;
@@ -1086,8 +1222,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1086
1222
  } | undefined;
1087
1223
  }, {
1088
1224
  operation: "create_folder";
1089
- error: string;
1090
1225
  success: boolean;
1226
+ error: string;
1091
1227
  folder?: {
1092
1228
  name: string;
1093
1229
  id: string;
@@ -1101,13 +1237,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1101
1237
  error: z.ZodString;
1102
1238
  }, "strip", z.ZodTypeAny, {
1103
1239
  operation: "delete_file";
1104
- error: string;
1105
1240
  success: boolean;
1241
+ error: string;
1106
1242
  deleted_file_id?: string | undefined;
1107
1243
  }, {
1108
1244
  operation: "delete_file";
1109
- error: string;
1110
1245
  success: boolean;
1246
+ error: string;
1111
1247
  deleted_file_id?: string | undefined;
1112
1248
  }>, z.ZodObject<{
1113
1249
  operation: z.ZodLiteral<"get_file_info">;
@@ -1135,8 +1271,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1135
1271
  }>, "many">>;
1136
1272
  }, "strip", z.ZodTypeAny, {
1137
1273
  name: string;
1138
- id: string;
1139
1274
  mimeType: string;
1275
+ id: string;
1140
1276
  size?: string | undefined;
1141
1277
  createdTime?: string | undefined;
1142
1278
  modifiedTime?: string | undefined;
@@ -1150,8 +1286,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1150
1286
  }[] | undefined;
1151
1287
  }, {
1152
1288
  name: string;
1153
- id: string;
1154
1289
  mimeType: string;
1290
+ id: string;
1155
1291
  size?: string | undefined;
1156
1292
  createdTime?: string | undefined;
1157
1293
  modifiedTime?: string | undefined;
@@ -1172,26 +1308,26 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1172
1308
  displayName: z.ZodOptional<z.ZodString>;
1173
1309
  }, "strip", z.ZodTypeAny, {
1174
1310
  type: string;
1175
- id: string;
1176
1311
  role: string;
1312
+ id: string;
1177
1313
  displayName?: string | undefined;
1178
1314
  emailAddress?: string | undefined;
1179
1315
  }, {
1180
1316
  type: string;
1181
- id: string;
1182
1317
  role: string;
1318
+ id: string;
1183
1319
  displayName?: string | undefined;
1184
1320
  emailAddress?: string | undefined;
1185
1321
  }>, "many">>;
1186
1322
  error: z.ZodString;
1187
1323
  }, "strip", z.ZodTypeAny, {
1188
1324
  operation: "get_file_info";
1189
- error: string;
1190
1325
  success: boolean;
1326
+ error: string;
1191
1327
  file?: {
1192
1328
  name: string;
1193
- id: string;
1194
1329
  mimeType: string;
1330
+ id: string;
1195
1331
  size?: string | undefined;
1196
1332
  createdTime?: string | undefined;
1197
1333
  modifiedTime?: string | undefined;
@@ -1206,19 +1342,19 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1206
1342
  } | undefined;
1207
1343
  permissions?: {
1208
1344
  type: string;
1209
- id: string;
1210
1345
  role: string;
1346
+ id: string;
1211
1347
  displayName?: string | undefined;
1212
1348
  emailAddress?: string | undefined;
1213
1349
  }[] | undefined;
1214
1350
  }, {
1215
1351
  operation: "get_file_info";
1216
- error: string;
1217
1352
  success: boolean;
1353
+ error: string;
1218
1354
  file?: {
1219
1355
  name: string;
1220
- id: string;
1221
1356
  mimeType: string;
1357
+ id: string;
1222
1358
  size?: string | undefined;
1223
1359
  createdTime?: string | undefined;
1224
1360
  modifiedTime?: string | undefined;
@@ -1233,8 +1369,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1233
1369
  } | undefined;
1234
1370
  permissions?: {
1235
1371
  type: string;
1236
- id: string;
1237
1372
  role: string;
1373
+ id: string;
1238
1374
  displayName?: string | undefined;
1239
1375
  emailAddress?: string | undefined;
1240
1376
  }[] | undefined;
@@ -1246,14 +1382,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1246
1382
  error: z.ZodString;
1247
1383
  }, "strip", z.ZodTypeAny, {
1248
1384
  operation: "share_file";
1249
- error: string;
1250
1385
  success: boolean;
1386
+ error: string;
1251
1387
  permission_id?: string | undefined;
1252
1388
  share_link?: string | undefined;
1253
1389
  }, {
1254
1390
  operation: "share_file";
1255
- error: string;
1256
1391
  success: boolean;
1392
+ error: string;
1257
1393
  permission_id?: string | undefined;
1258
1394
  share_link?: string | undefined;
1259
1395
  }>, z.ZodObject<{
@@ -1282,8 +1418,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1282
1418
  }>, "many">>;
1283
1419
  }, "strip", z.ZodTypeAny, {
1284
1420
  name: string;
1285
- id: string;
1286
1421
  mimeType: string;
1422
+ id: string;
1287
1423
  size?: string | undefined;
1288
1424
  createdTime?: string | undefined;
1289
1425
  modifiedTime?: string | undefined;
@@ -1297,8 +1433,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1297
1433
  }[] | undefined;
1298
1434
  }, {
1299
1435
  name: string;
1300
- id: string;
1301
1436
  mimeType: string;
1437
+ id: string;
1302
1438
  size?: string | undefined;
1303
1439
  createdTime?: string | undefined;
1304
1440
  modifiedTime?: string | undefined;
@@ -1314,12 +1450,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1314
1450
  error: z.ZodString;
1315
1451
  }, "strip", z.ZodTypeAny, {
1316
1452
  operation: "move_file";
1317
- error: string;
1318
1453
  success: boolean;
1454
+ error: string;
1319
1455
  file?: {
1320
1456
  name: string;
1321
- id: string;
1322
1457
  mimeType: string;
1458
+ id: string;
1323
1459
  size?: string | undefined;
1324
1460
  createdTime?: string | undefined;
1325
1461
  modifiedTime?: string | undefined;
@@ -1334,12 +1470,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1334
1470
  } | undefined;
1335
1471
  }, {
1336
1472
  operation: "move_file";
1337
- error: string;
1338
1473
  success: boolean;
1474
+ error: string;
1339
1475
  file?: {
1340
1476
  name: string;
1341
- id: string;
1342
1477
  mimeType: string;
1478
+ id: string;
1343
1479
  size?: string | undefined;
1344
1480
  createdTime?: string | undefined;
1345
1481
  modifiedTime?: string | undefined;
@@ -1352,6 +1488,82 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1352
1488
  emailAddress?: string | undefined;
1353
1489
  }[] | undefined;
1354
1490
  } | undefined;
1491
+ }>, z.ZodObject<{
1492
+ operation: z.ZodLiteral<"get_doc">;
1493
+ success: z.ZodBoolean;
1494
+ document: z.ZodOptional<z.ZodObject<{
1495
+ documentId: z.ZodString;
1496
+ title: z.ZodString;
1497
+ revisionId: z.ZodOptional<z.ZodString>;
1498
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1499
+ suggestionsViewMode: z.ZodOptional<z.ZodString>;
1500
+ inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1501
+ lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1502
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1503
+ documentId: z.ZodString;
1504
+ title: z.ZodString;
1505
+ revisionId: z.ZodOptional<z.ZodString>;
1506
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1507
+ suggestionsViewMode: z.ZodOptional<z.ZodString>;
1508
+ inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1509
+ lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1510
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1511
+ documentId: z.ZodString;
1512
+ title: z.ZodString;
1513
+ revisionId: z.ZodOptional<z.ZodString>;
1514
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1515
+ suggestionsViewMode: z.ZodOptional<z.ZodString>;
1516
+ inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1517
+ lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1518
+ }, z.ZodTypeAny, "passthrough">>>;
1519
+ plainText: z.ZodOptional<z.ZodString>;
1520
+ error: z.ZodString;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ operation: "get_doc";
1523
+ success: boolean;
1524
+ error: string;
1525
+ document?: z.objectOutputType<{
1526
+ documentId: z.ZodString;
1527
+ title: z.ZodString;
1528
+ revisionId: z.ZodOptional<z.ZodString>;
1529
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1530
+ suggestionsViewMode: z.ZodOptional<z.ZodString>;
1531
+ inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1532
+ lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1533
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1534
+ plainText?: string | undefined;
1535
+ }, {
1536
+ operation: "get_doc";
1537
+ success: boolean;
1538
+ error: string;
1539
+ document?: z.objectInputType<{
1540
+ documentId: z.ZodString;
1541
+ title: z.ZodString;
1542
+ revisionId: z.ZodOptional<z.ZodString>;
1543
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1544
+ suggestionsViewMode: z.ZodOptional<z.ZodString>;
1545
+ inlineObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1546
+ lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1547
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1548
+ plainText?: string | undefined;
1549
+ }>, z.ZodObject<{
1550
+ operation: z.ZodLiteral<"update_doc">;
1551
+ success: z.ZodBoolean;
1552
+ documentId: z.ZodOptional<z.ZodString>;
1553
+ revisionId: z.ZodOptional<z.ZodString>;
1554
+ error: z.ZodString;
1555
+ }, "strip", z.ZodTypeAny, {
1556
+ operation: "update_doc";
1557
+ success: boolean;
1558
+ error: string;
1559
+ documentId?: string | undefined;
1560
+ revisionId?: string | undefined;
1561
+ }, {
1562
+ operation: "update_doc";
1563
+ success: boolean;
1564
+ error: string;
1565
+ documentId?: string | undefined;
1566
+ revisionId?: string | undefined;
1355
1567
  }>]>;
1356
1568
  static readonly shortDescription = "Google Drive integration for file management";
1357
1569
  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 +1583,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1371
1583
  private getFileInfo;
1372
1584
  private shareFile;
1373
1585
  private moveFile;
1586
+ private getDoc;
1587
+ private updateDoc;
1588
+ /**
1589
+ * Extracts plain text content from a Google Docs document body
1590
+ */
1591
+ private extractPlainTextFromDoc;
1374
1592
  private isBase64;
1375
1593
  private extractBase64Content;
1376
1594
  private findAndExtractBase64;