@bubblelab/bubble-core 0.1.68 → 0.1.70

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 (72) hide show
  1. package/dist/bubble-bundle.d.ts +85 -85
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +72 -72
  4. package/dist/bubbles/service-bubble/airtable.d.ts +156 -156
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +8 -8
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +108 -108
  7. package/dist/bubbles/service-bubble/ashby/ashby.js +1 -1
  8. package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +22 -22
  11. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  12. package/dist/bubbles/service-bubble/firecrawl.d.ts +328 -328
  13. package/dist/bubbles/service-bubble/followupboss.d.ts +256 -256
  14. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +40 -40
  15. package/dist/bubbles/service-bubble/github.d.ts +152 -152
  16. package/dist/bubbles/service-bubble/gmail.d.ts +576 -576
  17. package/dist/bubbles/service-bubble/google-calendar.d.ts +232 -232
  18. package/dist/bubbles/service-bubble/google-drive.d.ts +483 -156
  19. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  20. package/dist/bubbles/service-bubble/google-drive.js +339 -30
  21. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  22. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +78 -78
  23. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  24. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  25. package/dist/bubbles/service-bubble/insforge-db.d.ts +10 -10
  26. package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
  27. package/dist/bubbles/service-bubble/notion/notion.d.ts +1032 -1032
  28. package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
  29. package/dist/bubbles/service-bubble/resend.d.ts +20 -20
  30. package/dist/bubbles/service-bubble/slack/slack.d.ts +182 -182
  31. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  32. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +72 -72
  33. package/dist/bubbles/service-bubble/telegram.d.ts +936 -936
  34. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
  35. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  36. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  38. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +14 -14
  39. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  40. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  41. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +20 -20
  42. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  43. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +8 -8
  44. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -1
  45. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +8 -8
  46. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -1
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +31 -25
  48. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -1
  49. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +22 -22
  50. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +18 -18
  52. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  53. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  54. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
  55. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
  56. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +18 -18
  58. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  59. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  60. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
  62. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  63. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  64. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  65. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  66. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +82 -82
  67. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  68. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +10 -10
  69. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +42 -42
  70. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  71. package/dist/bubbles.json +355 -74
  72. package/package.json +2 -2
@@ -69,8 +69,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
69
69
  metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
70
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
- format: "minimal" | "metadata" | "raw" | "full";
73
72
  operation: "get_email";
73
+ format: "minimal" | "metadata" | "raw" | "full";
74
74
  message_id: string;
75
75
  credentials?: Partial<Record<CredentialType, string>> | undefined;
76
76
  metadata_headers?: string[] | undefined;
@@ -87,14 +87,14 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
87
87
  include_spam_trash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
88
88
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
89
89
  }, "strip", z.ZodTypeAny, {
90
- query: string;
91
90
  operation: "search_emails";
91
+ query: string;
92
92
  max_results: number;
93
93
  include_spam_trash: boolean;
94
94
  credentials?: Partial<Record<CredentialType, string>> | undefined;
95
95
  }, {
96
- query: string;
97
96
  operation: "search_emails";
97
+ query: string;
98
98
  credentials?: Partial<Record<CredentialType, string>> | undefined;
99
99
  max_results?: number | undefined;
100
100
  include_spam_trash?: boolean | undefined;
@@ -254,16 +254,16 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
254
254
  text_color: z.ZodOptional<z.ZodString>;
255
255
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
256
256
  }, "strip", z.ZodTypeAny, {
257
- name: string;
258
257
  operation: "create_label";
258
+ name: string;
259
259
  label_list_visibility: "labelShow" | "labelShowIfUnread" | "labelHide";
260
260
  message_list_visibility: "show" | "hide";
261
261
  credentials?: Partial<Record<CredentialType, string>> | undefined;
262
262
  background_color?: string | undefined;
263
263
  text_color?: string | undefined;
264
264
  }, {
265
- name: string;
266
265
  operation: "create_label";
266
+ name: string;
267
267
  credentials?: Partial<Record<CredentialType, string>> | undefined;
268
268
  label_list_visibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
269
269
  message_list_visibility?: "show" | "hide" | undefined;
@@ -313,15 +313,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
313
313
  thread_id: z.ZodOptional<z.ZodString>;
314
314
  error: z.ZodString;
315
315
  }, "strip", z.ZodTypeAny, {
316
- error: string;
317
- success: boolean;
318
316
  operation: "send_email";
317
+ success: boolean;
318
+ error: string;
319
319
  message_id?: string | undefined;
320
320
  thread_id?: string | undefined;
321
321
  }, {
322
- error: string;
323
- success: boolean;
324
322
  operation: "send_email";
323
+ success: boolean;
324
+ error: string;
325
325
  message_id?: string | undefined;
326
326
  thread_id?: string | undefined;
327
327
  }>, z.ZodObject<{
@@ -354,38 +354,38 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
354
354
  size: z.ZodOptional<z.ZodNumber>;
355
355
  attachmentId: z.ZodOptional<z.ZodString>;
356
356
  }, "strip", z.ZodTypeAny, {
357
- data?: string | undefined;
358
357
  size?: number | undefined;
358
+ data?: string | undefined;
359
359
  attachmentId?: string | undefined;
360
360
  }, {
361
- data?: string | undefined;
362
361
  size?: number | undefined;
362
+ data?: string | undefined;
363
363
  attachmentId?: string | undefined;
364
364
  }>>;
365
365
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
366
366
  }, "strip", z.ZodTypeAny, {
367
367
  mimeType?: string | undefined;
368
- headers?: {
369
- value: string;
370
- name: string;
371
- }[] | undefined;
372
368
  body?: {
373
- data?: string | undefined;
374
369
  size?: number | undefined;
370
+ data?: string | undefined;
375
371
  attachmentId?: string | undefined;
376
372
  } | undefined;
377
- parts?: any[] | undefined;
378
- }, {
379
- mimeType?: string | undefined;
380
373
  headers?: {
381
374
  value: string;
382
375
  name: string;
383
376
  }[] | undefined;
377
+ parts?: any[] | undefined;
378
+ }, {
379
+ mimeType?: string | undefined;
384
380
  body?: {
385
- data?: string | undefined;
386
381
  size?: number | undefined;
382
+ data?: string | undefined;
387
383
  attachmentId?: string | undefined;
388
384
  } | undefined;
385
+ headers?: {
386
+ value: string;
387
+ name: string;
388
+ }[] | undefined;
389
389
  parts?: any[] | undefined;
390
390
  }>>;
391
391
  }, "strip", z.ZodTypeAny, {
@@ -400,15 +400,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
400
400
  raw?: string | undefined;
401
401
  payload?: {
402
402
  mimeType?: string | undefined;
403
- headers?: {
404
- value: string;
405
- name: string;
406
- }[] | undefined;
407
403
  body?: {
408
- data?: string | undefined;
409
404
  size?: number | undefined;
405
+ data?: string | undefined;
410
406
  attachmentId?: string | undefined;
411
407
  } | undefined;
408
+ headers?: {
409
+ value: string;
410
+ name: string;
411
+ }[] | undefined;
412
412
  parts?: any[] | undefined;
413
413
  } | undefined;
414
414
  }, {
@@ -423,15 +423,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
423
423
  raw?: string | undefined;
424
424
  payload?: {
425
425
  mimeType?: string | undefined;
426
- headers?: {
427
- value: string;
428
- name: string;
429
- }[] | undefined;
430
426
  body?: {
431
- data?: string | undefined;
432
427
  size?: number | undefined;
428
+ data?: string | undefined;
433
429
  attachmentId?: string | undefined;
434
430
  } | undefined;
431
+ headers?: {
432
+ value: string;
433
+ name: string;
434
+ }[] | undefined;
435
435
  parts?: any[] | undefined;
436
436
  } | undefined;
437
437
  }>, "many">>;
@@ -439,9 +439,10 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
439
439
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
440
440
  error: z.ZodString;
441
441
  }, "strip", z.ZodTypeAny, {
442
- error: string;
443
- success: boolean;
444
442
  operation: "list_emails";
443
+ success: boolean;
444
+ error: string;
445
+ next_page_token?: string | undefined;
445
446
  messages?: {
446
447
  id: string;
447
448
  threadId?: string | undefined;
@@ -454,24 +455,24 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
454
455
  raw?: string | undefined;
455
456
  payload?: {
456
457
  mimeType?: string | undefined;
457
- headers?: {
458
- value: string;
459
- name: string;
460
- }[] | undefined;
461
458
  body?: {
462
- data?: string | undefined;
463
459
  size?: number | undefined;
460
+ data?: string | undefined;
464
461
  attachmentId?: string | undefined;
465
462
  } | undefined;
463
+ headers?: {
464
+ value: string;
465
+ name: string;
466
+ }[] | undefined;
466
467
  parts?: any[] | undefined;
467
468
  } | undefined;
468
469
  }[] | undefined;
469
- next_page_token?: string | undefined;
470
470
  result_size_estimate?: number | undefined;
471
471
  }, {
472
- error: string;
473
- success: boolean;
474
472
  operation: "list_emails";
473
+ success: boolean;
474
+ error: string;
475
+ next_page_token?: string | undefined;
475
476
  messages?: {
476
477
  id: string;
477
478
  threadId?: string | undefined;
@@ -484,19 +485,18 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
484
485
  raw?: string | undefined;
485
486
  payload?: {
486
487
  mimeType?: string | undefined;
487
- headers?: {
488
- value: string;
489
- name: string;
490
- }[] | undefined;
491
488
  body?: {
492
- data?: string | undefined;
493
489
  size?: number | undefined;
490
+ data?: string | undefined;
494
491
  attachmentId?: string | undefined;
495
492
  } | undefined;
493
+ headers?: {
494
+ value: string;
495
+ name: string;
496
+ }[] | undefined;
496
497
  parts?: any[] | undefined;
497
498
  } | undefined;
498
499
  }[] | undefined;
499
- next_page_token?: string | undefined;
500
500
  result_size_estimate?: number | undefined;
501
501
  }>, z.ZodObject<{
502
502
  operation: z.ZodLiteral<"get_email">;
@@ -528,38 +528,38 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
528
528
  size: z.ZodOptional<z.ZodNumber>;
529
529
  attachmentId: z.ZodOptional<z.ZodString>;
530
530
  }, "strip", z.ZodTypeAny, {
531
- data?: string | undefined;
532
531
  size?: number | undefined;
532
+ data?: string | undefined;
533
533
  attachmentId?: string | undefined;
534
534
  }, {
535
- data?: string | undefined;
536
535
  size?: number | undefined;
536
+ data?: string | undefined;
537
537
  attachmentId?: string | undefined;
538
538
  }>>;
539
539
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
540
540
  }, "strip", z.ZodTypeAny, {
541
541
  mimeType?: string | undefined;
542
- headers?: {
543
- value: string;
544
- name: string;
545
- }[] | undefined;
546
542
  body?: {
547
- data?: string | undefined;
548
543
  size?: number | undefined;
544
+ data?: string | undefined;
549
545
  attachmentId?: string | undefined;
550
546
  } | undefined;
551
- parts?: any[] | undefined;
552
- }, {
553
- mimeType?: string | undefined;
554
547
  headers?: {
555
548
  value: string;
556
549
  name: string;
557
550
  }[] | undefined;
551
+ parts?: any[] | undefined;
552
+ }, {
553
+ mimeType?: string | undefined;
558
554
  body?: {
559
- data?: string | undefined;
560
555
  size?: number | undefined;
556
+ data?: string | undefined;
561
557
  attachmentId?: string | undefined;
562
558
  } | undefined;
559
+ headers?: {
560
+ value: string;
561
+ name: string;
562
+ }[] | undefined;
563
563
  parts?: any[] | undefined;
564
564
  }>>;
565
565
  }, "strip", z.ZodTypeAny, {
@@ -574,15 +574,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
574
574
  raw?: string | undefined;
575
575
  payload?: {
576
576
  mimeType?: string | undefined;
577
- headers?: {
578
- value: string;
579
- name: string;
580
- }[] | undefined;
581
577
  body?: {
582
- data?: string | undefined;
583
578
  size?: number | undefined;
579
+ data?: string | undefined;
584
580
  attachmentId?: string | undefined;
585
581
  } | undefined;
582
+ headers?: {
583
+ value: string;
584
+ name: string;
585
+ }[] | undefined;
586
586
  parts?: any[] | undefined;
587
587
  } | undefined;
588
588
  }, {
@@ -597,23 +597,23 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
597
597
  raw?: string | undefined;
598
598
  payload?: {
599
599
  mimeType?: string | undefined;
600
- headers?: {
601
- value: string;
602
- name: string;
603
- }[] | undefined;
604
600
  body?: {
605
- data?: string | undefined;
606
601
  size?: number | undefined;
602
+ data?: string | undefined;
607
603
  attachmentId?: string | undefined;
608
604
  } | undefined;
605
+ headers?: {
606
+ value: string;
607
+ name: string;
608
+ }[] | undefined;
609
609
  parts?: any[] | undefined;
610
610
  } | undefined;
611
611
  }>>;
612
612
  error: z.ZodString;
613
613
  }, "strip", z.ZodTypeAny, {
614
- error: string;
615
- success: boolean;
616
614
  operation: "get_email";
615
+ success: boolean;
616
+ error: string;
617
617
  message?: {
618
618
  id: string;
619
619
  threadId?: string | undefined;
@@ -626,22 +626,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
626
626
  raw?: string | undefined;
627
627
  payload?: {
628
628
  mimeType?: string | undefined;
629
- headers?: {
630
- value: string;
631
- name: string;
632
- }[] | undefined;
633
629
  body?: {
634
- data?: string | undefined;
635
630
  size?: number | undefined;
631
+ data?: string | undefined;
636
632
  attachmentId?: string | undefined;
637
633
  } | undefined;
634
+ headers?: {
635
+ value: string;
636
+ name: string;
637
+ }[] | undefined;
638
638
  parts?: any[] | undefined;
639
639
  } | undefined;
640
640
  } | undefined;
641
641
  }, {
642
- error: string;
643
- success: boolean;
644
642
  operation: "get_email";
643
+ success: boolean;
644
+ error: string;
645
645
  message?: {
646
646
  id: string;
647
647
  threadId?: string | undefined;
@@ -654,15 +654,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
654
654
  raw?: string | undefined;
655
655
  payload?: {
656
656
  mimeType?: string | undefined;
657
- headers?: {
658
- value: string;
659
- name: string;
660
- }[] | undefined;
661
657
  body?: {
662
- data?: string | undefined;
663
658
  size?: number | undefined;
659
+ data?: string | undefined;
664
660
  attachmentId?: string | undefined;
665
661
  } | undefined;
662
+ headers?: {
663
+ value: string;
664
+ name: string;
665
+ }[] | undefined;
666
666
  parts?: any[] | undefined;
667
667
  } | undefined;
668
668
  } | undefined;
@@ -696,38 +696,38 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
696
696
  size: z.ZodOptional<z.ZodNumber>;
697
697
  attachmentId: z.ZodOptional<z.ZodString>;
698
698
  }, "strip", z.ZodTypeAny, {
699
- data?: string | undefined;
700
699
  size?: number | undefined;
700
+ data?: string | undefined;
701
701
  attachmentId?: string | undefined;
702
702
  }, {
703
- data?: string | undefined;
704
703
  size?: number | undefined;
704
+ data?: string | undefined;
705
705
  attachmentId?: string | undefined;
706
706
  }>>;
707
707
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
708
708
  }, "strip", z.ZodTypeAny, {
709
709
  mimeType?: string | undefined;
710
- headers?: {
711
- value: string;
712
- name: string;
713
- }[] | undefined;
714
710
  body?: {
715
- data?: string | undefined;
716
711
  size?: number | undefined;
712
+ data?: string | undefined;
717
713
  attachmentId?: string | undefined;
718
714
  } | undefined;
719
- parts?: any[] | undefined;
720
- }, {
721
- mimeType?: string | undefined;
722
715
  headers?: {
723
716
  value: string;
724
717
  name: string;
725
718
  }[] | undefined;
719
+ parts?: any[] | undefined;
720
+ }, {
721
+ mimeType?: string | undefined;
726
722
  body?: {
727
- data?: string | undefined;
728
723
  size?: number | undefined;
724
+ data?: string | undefined;
729
725
  attachmentId?: string | undefined;
730
726
  } | undefined;
727
+ headers?: {
728
+ value: string;
729
+ name: string;
730
+ }[] | undefined;
731
731
  parts?: any[] | undefined;
732
732
  }>>;
733
733
  }, "strip", z.ZodTypeAny, {
@@ -742,15 +742,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
742
742
  raw?: string | undefined;
743
743
  payload?: {
744
744
  mimeType?: string | undefined;
745
- headers?: {
746
- value: string;
747
- name: string;
748
- }[] | undefined;
749
745
  body?: {
750
- data?: string | undefined;
751
746
  size?: number | undefined;
747
+ data?: string | undefined;
752
748
  attachmentId?: string | undefined;
753
749
  } | undefined;
750
+ headers?: {
751
+ value: string;
752
+ name: string;
753
+ }[] | undefined;
754
754
  parts?: any[] | undefined;
755
755
  } | undefined;
756
756
  }, {
@@ -765,24 +765,24 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
765
765
  raw?: string | undefined;
766
766
  payload?: {
767
767
  mimeType?: string | undefined;
768
- headers?: {
769
- value: string;
770
- name: string;
771
- }[] | undefined;
772
768
  body?: {
773
- data?: string | undefined;
774
769
  size?: number | undefined;
770
+ data?: string | undefined;
775
771
  attachmentId?: string | undefined;
776
772
  } | undefined;
773
+ headers?: {
774
+ value: string;
775
+ name: string;
776
+ }[] | undefined;
777
777
  parts?: any[] | undefined;
778
778
  } | undefined;
779
779
  }>, "many">>;
780
780
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
781
781
  error: z.ZodString;
782
782
  }, "strip", z.ZodTypeAny, {
783
- error: string;
784
- success: boolean;
785
783
  operation: "search_emails";
784
+ success: boolean;
785
+ error: string;
786
786
  messages?: {
787
787
  id: string;
788
788
  threadId?: string | undefined;
@@ -795,23 +795,23 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
795
795
  raw?: string | undefined;
796
796
  payload?: {
797
797
  mimeType?: string | undefined;
798
- headers?: {
799
- value: string;
800
- name: string;
801
- }[] | undefined;
802
798
  body?: {
803
- data?: string | undefined;
804
799
  size?: number | undefined;
800
+ data?: string | undefined;
805
801
  attachmentId?: string | undefined;
806
802
  } | undefined;
803
+ headers?: {
804
+ value: string;
805
+ name: string;
806
+ }[] | undefined;
807
807
  parts?: any[] | undefined;
808
808
  } | undefined;
809
809
  }[] | undefined;
810
810
  result_size_estimate?: number | undefined;
811
811
  }, {
812
- error: string;
813
- success: boolean;
814
812
  operation: "search_emails";
813
+ success: boolean;
814
+ error: string;
815
815
  messages?: {
816
816
  id: string;
817
817
  threadId?: string | undefined;
@@ -824,15 +824,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
824
824
  raw?: string | undefined;
825
825
  payload?: {
826
826
  mimeType?: string | undefined;
827
- headers?: {
828
- value: string;
829
- name: string;
830
- }[] | undefined;
831
827
  body?: {
832
- data?: string | undefined;
833
828
  size?: number | undefined;
829
+ data?: string | undefined;
834
830
  attachmentId?: string | undefined;
835
831
  } | undefined;
832
+ headers?: {
833
+ value: string;
834
+ name: string;
835
+ }[] | undefined;
836
836
  parts?: any[] | undefined;
837
837
  } | undefined;
838
838
  }[] | undefined;
@@ -843,14 +843,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
843
843
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
844
844
  error: z.ZodString;
845
845
  }, "strip", z.ZodTypeAny, {
846
- error: string;
847
- success: boolean;
848
846
  operation: "mark_as_read";
847
+ success: boolean;
848
+ error: string;
849
849
  modified_messages?: string[] | undefined;
850
850
  }, {
851
- error: string;
852
- success: boolean;
853
851
  operation: "mark_as_read";
852
+ success: boolean;
853
+ error: string;
854
854
  modified_messages?: string[] | undefined;
855
855
  }>, z.ZodObject<{
856
856
  operation: z.ZodLiteral<"mark_as_unread">;
@@ -858,14 +858,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
858
858
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
859
859
  error: z.ZodString;
860
860
  }, "strip", z.ZodTypeAny, {
861
- error: string;
862
- success: boolean;
863
861
  operation: "mark_as_unread";
862
+ success: boolean;
863
+ error: string;
864
864
  modified_messages?: string[] | undefined;
865
865
  }, {
866
- error: string;
867
- success: boolean;
868
866
  operation: "mark_as_unread";
867
+ success: boolean;
868
+ error: string;
869
869
  modified_messages?: string[] | undefined;
870
870
  }>, z.ZodObject<{
871
871
  operation: z.ZodLiteral<"create_draft">;
@@ -899,38 +899,38 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
899
899
  size: z.ZodOptional<z.ZodNumber>;
900
900
  attachmentId: z.ZodOptional<z.ZodString>;
901
901
  }, "strip", z.ZodTypeAny, {
902
- data?: string | undefined;
903
902
  size?: number | undefined;
903
+ data?: string | undefined;
904
904
  attachmentId?: string | undefined;
905
905
  }, {
906
- data?: string | undefined;
907
906
  size?: number | undefined;
907
+ data?: string | undefined;
908
908
  attachmentId?: string | undefined;
909
909
  }>>;
910
910
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
911
911
  }, "strip", z.ZodTypeAny, {
912
912
  mimeType?: string | undefined;
913
- headers?: {
914
- value: string;
915
- name: string;
916
- }[] | undefined;
917
913
  body?: {
918
- data?: string | undefined;
919
914
  size?: number | undefined;
915
+ data?: string | undefined;
920
916
  attachmentId?: string | undefined;
921
917
  } | undefined;
922
- parts?: any[] | undefined;
923
- }, {
924
- mimeType?: string | undefined;
925
918
  headers?: {
926
919
  value: string;
927
920
  name: string;
928
921
  }[] | undefined;
922
+ parts?: any[] | undefined;
923
+ }, {
924
+ mimeType?: string | undefined;
929
925
  body?: {
930
- data?: string | undefined;
931
926
  size?: number | undefined;
927
+ data?: string | undefined;
932
928
  attachmentId?: string | undefined;
933
929
  } | undefined;
930
+ headers?: {
931
+ value: string;
932
+ name: string;
933
+ }[] | undefined;
934
934
  parts?: any[] | undefined;
935
935
  }>>;
936
936
  }, "strip", z.ZodTypeAny, {
@@ -945,15 +945,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
945
945
  raw?: string | undefined;
946
946
  payload?: {
947
947
  mimeType?: string | undefined;
948
- headers?: {
949
- value: string;
950
- name: string;
951
- }[] | undefined;
952
948
  body?: {
953
- data?: string | undefined;
954
949
  size?: number | undefined;
950
+ data?: string | undefined;
955
951
  attachmentId?: string | undefined;
956
952
  } | undefined;
953
+ headers?: {
954
+ value: string;
955
+ name: string;
956
+ }[] | undefined;
957
957
  parts?: any[] | undefined;
958
958
  } | undefined;
959
959
  }, {
@@ -968,15 +968,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
968
968
  raw?: string | undefined;
969
969
  payload?: {
970
970
  mimeType?: string | undefined;
971
- headers?: {
972
- value: string;
973
- name: string;
974
- }[] | undefined;
975
971
  body?: {
976
- data?: string | undefined;
977
972
  size?: number | undefined;
973
+ data?: string | undefined;
978
974
  attachmentId?: string | undefined;
979
975
  } | undefined;
976
+ headers?: {
977
+ value: string;
978
+ name: string;
979
+ }[] | undefined;
980
980
  parts?: any[] | undefined;
981
981
  } | undefined;
982
982
  }>;
@@ -993,15 +993,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
993
993
  raw?: string | undefined;
994
994
  payload?: {
995
995
  mimeType?: string | undefined;
996
- headers?: {
997
- value: string;
998
- name: string;
999
- }[] | undefined;
1000
996
  body?: {
1001
- data?: string | undefined;
1002
997
  size?: number | undefined;
998
+ data?: string | undefined;
1003
999
  attachmentId?: string | undefined;
1004
1000
  } | undefined;
1001
+ headers?: {
1002
+ value: string;
1003
+ name: string;
1004
+ }[] | undefined;
1005
1005
  parts?: any[] | undefined;
1006
1006
  } | undefined;
1007
1007
  };
@@ -1019,15 +1019,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1019
1019
  raw?: string | undefined;
1020
1020
  payload?: {
1021
1021
  mimeType?: string | undefined;
1022
- headers?: {
1023
- value: string;
1024
- name: string;
1025
- }[] | undefined;
1026
1022
  body?: {
1027
- data?: string | undefined;
1028
1023
  size?: number | undefined;
1024
+ data?: string | undefined;
1029
1025
  attachmentId?: string | undefined;
1030
1026
  } | undefined;
1027
+ headers?: {
1028
+ value: string;
1029
+ name: string;
1030
+ }[] | undefined;
1031
1031
  parts?: any[] | undefined;
1032
1032
  } | undefined;
1033
1033
  };
@@ -1035,9 +1035,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1035
1035
  }>>;
1036
1036
  error: z.ZodString;
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
- error: string;
1039
- success: boolean;
1040
1038
  operation: "create_draft";
1039
+ success: boolean;
1040
+ error: string;
1041
1041
  draft?: {
1042
1042
  message: {
1043
1043
  id: string;
@@ -1051,24 +1051,24 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1051
1051
  raw?: string | undefined;
1052
1052
  payload?: {
1053
1053
  mimeType?: string | undefined;
1054
- headers?: {
1055
- value: string;
1056
- name: string;
1057
- }[] | undefined;
1058
1054
  body?: {
1059
- data?: string | undefined;
1060
1055
  size?: number | undefined;
1056
+ data?: string | undefined;
1061
1057
  attachmentId?: string | undefined;
1062
1058
  } | undefined;
1059
+ headers?: {
1060
+ value: string;
1061
+ name: string;
1062
+ }[] | undefined;
1063
1063
  parts?: any[] | undefined;
1064
1064
  } | undefined;
1065
1065
  };
1066
1066
  id: string;
1067
1067
  } | undefined;
1068
1068
  }, {
1069
- error: string;
1070
- success: boolean;
1071
1069
  operation: "create_draft";
1070
+ success: boolean;
1071
+ error: string;
1072
1072
  draft?: {
1073
1073
  message: {
1074
1074
  id: string;
@@ -1082,15 +1082,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1082
1082
  raw?: string | undefined;
1083
1083
  payload?: {
1084
1084
  mimeType?: string | undefined;
1085
- headers?: {
1086
- value: string;
1087
- name: string;
1088
- }[] | undefined;
1089
1085
  body?: {
1090
- data?: string | undefined;
1091
1086
  size?: number | undefined;
1087
+ data?: string | undefined;
1092
1088
  attachmentId?: string | undefined;
1093
1089
  } | undefined;
1090
+ headers?: {
1091
+ value: string;
1092
+ name: string;
1093
+ }[] | undefined;
1094
1094
  parts?: any[] | undefined;
1095
1095
  } | undefined;
1096
1096
  };
@@ -1103,15 +1103,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1103
1103
  thread_id: z.ZodOptional<z.ZodString>;
1104
1104
  error: z.ZodString;
1105
1105
  }, "strip", z.ZodTypeAny, {
1106
- error: string;
1107
- success: boolean;
1108
1106
  operation: "send_draft";
1107
+ success: boolean;
1108
+ error: string;
1109
1109
  message_id?: string | undefined;
1110
1110
  thread_id?: string | undefined;
1111
1111
  }, {
1112
- error: string;
1113
- success: boolean;
1114
1112
  operation: "send_draft";
1113
+ success: boolean;
1114
+ error: string;
1115
1115
  message_id?: string | undefined;
1116
1116
  thread_id?: string | undefined;
1117
1117
  }>, z.ZodObject<{
@@ -1146,38 +1146,38 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1146
1146
  size: z.ZodOptional<z.ZodNumber>;
1147
1147
  attachmentId: z.ZodOptional<z.ZodString>;
1148
1148
  }, "strip", z.ZodTypeAny, {
1149
- data?: string | undefined;
1150
1149
  size?: number | undefined;
1150
+ data?: string | undefined;
1151
1151
  attachmentId?: string | undefined;
1152
1152
  }, {
1153
- data?: string | undefined;
1154
1153
  size?: number | undefined;
1154
+ data?: string | undefined;
1155
1155
  attachmentId?: string | undefined;
1156
1156
  }>>;
1157
1157
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1158
1158
  }, "strip", z.ZodTypeAny, {
1159
1159
  mimeType?: string | undefined;
1160
- headers?: {
1161
- value: string;
1162
- name: string;
1163
- }[] | undefined;
1164
1160
  body?: {
1165
- data?: string | undefined;
1166
1161
  size?: number | undefined;
1162
+ data?: string | undefined;
1167
1163
  attachmentId?: string | undefined;
1168
1164
  } | undefined;
1169
- parts?: any[] | undefined;
1170
- }, {
1171
- mimeType?: string | undefined;
1172
1165
  headers?: {
1173
1166
  value: string;
1174
1167
  name: string;
1175
1168
  }[] | undefined;
1169
+ parts?: any[] | undefined;
1170
+ }, {
1171
+ mimeType?: string | undefined;
1176
1172
  body?: {
1177
- data?: string | undefined;
1178
1173
  size?: number | undefined;
1174
+ data?: string | undefined;
1179
1175
  attachmentId?: string | undefined;
1180
1176
  } | undefined;
1177
+ headers?: {
1178
+ value: string;
1179
+ name: string;
1180
+ }[] | undefined;
1181
1181
  parts?: any[] | undefined;
1182
1182
  }>>;
1183
1183
  }, "strip", z.ZodTypeAny, {
@@ -1192,15 +1192,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1192
1192
  raw?: string | undefined;
1193
1193
  payload?: {
1194
1194
  mimeType?: string | undefined;
1195
- headers?: {
1196
- value: string;
1197
- name: string;
1198
- }[] | undefined;
1199
1195
  body?: {
1200
- data?: string | undefined;
1201
1196
  size?: number | undefined;
1197
+ data?: string | undefined;
1202
1198
  attachmentId?: string | undefined;
1203
1199
  } | undefined;
1200
+ headers?: {
1201
+ value: string;
1202
+ name: string;
1203
+ }[] | undefined;
1204
1204
  parts?: any[] | undefined;
1205
1205
  } | undefined;
1206
1206
  }, {
@@ -1215,15 +1215,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1215
1215
  raw?: string | undefined;
1216
1216
  payload?: {
1217
1217
  mimeType?: string | undefined;
1218
- headers?: {
1219
- value: string;
1220
- name: string;
1221
- }[] | undefined;
1222
1218
  body?: {
1223
- data?: string | undefined;
1224
1219
  size?: number | undefined;
1220
+ data?: string | undefined;
1225
1221
  attachmentId?: string | undefined;
1226
1222
  } | undefined;
1223
+ headers?: {
1224
+ value: string;
1225
+ name: string;
1226
+ }[] | undefined;
1227
1227
  parts?: any[] | undefined;
1228
1228
  } | undefined;
1229
1229
  }>;
@@ -1240,15 +1240,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1240
1240
  raw?: string | undefined;
1241
1241
  payload?: {
1242
1242
  mimeType?: string | undefined;
1243
- headers?: {
1244
- value: string;
1245
- name: string;
1246
- }[] | undefined;
1247
1243
  body?: {
1248
- data?: string | undefined;
1249
1244
  size?: number | undefined;
1245
+ data?: string | undefined;
1250
1246
  attachmentId?: string | undefined;
1251
1247
  } | undefined;
1248
+ headers?: {
1249
+ value: string;
1250
+ name: string;
1251
+ }[] | undefined;
1252
1252
  parts?: any[] | undefined;
1253
1253
  } | undefined;
1254
1254
  };
@@ -1266,15 +1266,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1266
1266
  raw?: string | undefined;
1267
1267
  payload?: {
1268
1268
  mimeType?: string | undefined;
1269
- headers?: {
1270
- value: string;
1271
- name: string;
1272
- }[] | undefined;
1273
1269
  body?: {
1274
- data?: string | undefined;
1275
1270
  size?: number | undefined;
1271
+ data?: string | undefined;
1276
1272
  attachmentId?: string | undefined;
1277
1273
  } | undefined;
1274
+ headers?: {
1275
+ value: string;
1276
+ name: string;
1277
+ }[] | undefined;
1278
1278
  parts?: any[] | undefined;
1279
1279
  } | undefined;
1280
1280
  };
@@ -1284,9 +1284,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1284
1284
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1285
1285
  error: z.ZodString;
1286
1286
  }, "strip", z.ZodTypeAny, {
1287
- error: string;
1288
- success: boolean;
1289
1287
  operation: "list_drafts";
1288
+ success: boolean;
1289
+ error: string;
1290
1290
  next_page_token?: string | undefined;
1291
1291
  result_size_estimate?: number | undefined;
1292
1292
  drafts?: {
@@ -1302,24 +1302,24 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1302
1302
  raw?: string | undefined;
1303
1303
  payload?: {
1304
1304
  mimeType?: string | undefined;
1305
- headers?: {
1306
- value: string;
1307
- name: string;
1308
- }[] | undefined;
1309
1305
  body?: {
1310
- data?: string | undefined;
1311
1306
  size?: number | undefined;
1307
+ data?: string | undefined;
1312
1308
  attachmentId?: string | undefined;
1313
1309
  } | undefined;
1310
+ headers?: {
1311
+ value: string;
1312
+ name: string;
1313
+ }[] | undefined;
1314
1314
  parts?: any[] | undefined;
1315
1315
  } | undefined;
1316
1316
  };
1317
1317
  id: string;
1318
1318
  }[] | undefined;
1319
1319
  }, {
1320
- error: string;
1321
- success: boolean;
1322
1320
  operation: "list_drafts";
1321
+ success: boolean;
1322
+ error: string;
1323
1323
  next_page_token?: string | undefined;
1324
1324
  result_size_estimate?: number | undefined;
1325
1325
  drafts?: {
@@ -1335,15 +1335,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1335
1335
  raw?: string | undefined;
1336
1336
  payload?: {
1337
1337
  mimeType?: string | undefined;
1338
- headers?: {
1339
- value: string;
1340
- name: string;
1341
- }[] | undefined;
1342
1338
  body?: {
1343
- data?: string | undefined;
1344
1339
  size?: number | undefined;
1340
+ data?: string | undefined;
1345
1341
  attachmentId?: string | undefined;
1346
1342
  } | undefined;
1343
+ headers?: {
1344
+ value: string;
1345
+ name: string;
1346
+ }[] | undefined;
1347
1347
  parts?: any[] | undefined;
1348
1348
  } | undefined;
1349
1349
  };
@@ -1355,14 +1355,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1355
1355
  deleted_message_id: z.ZodOptional<z.ZodString>;
1356
1356
  error: z.ZodString;
1357
1357
  }, "strip", z.ZodTypeAny, {
1358
- error: string;
1359
- success: boolean;
1360
1358
  operation: "delete_email";
1359
+ success: boolean;
1360
+ error: string;
1361
1361
  deleted_message_id?: string | undefined;
1362
1362
  }, {
1363
- error: string;
1364
- success: boolean;
1365
1363
  operation: "delete_email";
1364
+ success: boolean;
1365
+ error: string;
1366
1366
  deleted_message_id?: string | undefined;
1367
1367
  }>, z.ZodObject<{
1368
1368
  operation: z.ZodLiteral<"trash_email">;
@@ -1370,14 +1370,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1370
1370
  trashed_message_id: z.ZodOptional<z.ZodString>;
1371
1371
  error: z.ZodString;
1372
1372
  }, "strip", z.ZodTypeAny, {
1373
- error: string;
1374
- success: boolean;
1375
1373
  operation: "trash_email";
1374
+ success: boolean;
1375
+ error: string;
1376
1376
  trashed_message_id?: string | undefined;
1377
1377
  }, {
1378
- error: string;
1379
- success: boolean;
1380
1378
  operation: "trash_email";
1379
+ success: boolean;
1380
+ error: string;
1381
1381
  trashed_message_id?: string | undefined;
1382
1382
  }>, z.ZodObject<{
1383
1383
  operation: z.ZodLiteral<"list_threads">;
@@ -1412,38 +1412,38 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1412
1412
  size: z.ZodOptional<z.ZodNumber>;
1413
1413
  attachmentId: z.ZodOptional<z.ZodString>;
1414
1414
  }, "strip", z.ZodTypeAny, {
1415
- data?: string | undefined;
1416
1415
  size?: number | undefined;
1416
+ data?: string | undefined;
1417
1417
  attachmentId?: string | undefined;
1418
1418
  }, {
1419
- data?: string | undefined;
1420
1419
  size?: number | undefined;
1420
+ data?: string | undefined;
1421
1421
  attachmentId?: string | undefined;
1422
1422
  }>>;
1423
1423
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1424
1424
  }, "strip", z.ZodTypeAny, {
1425
1425
  mimeType?: string | undefined;
1426
- headers?: {
1427
- value: string;
1428
- name: string;
1429
- }[] | undefined;
1430
1426
  body?: {
1431
- data?: string | undefined;
1432
1427
  size?: number | undefined;
1428
+ data?: string | undefined;
1433
1429
  attachmentId?: string | undefined;
1434
1430
  } | undefined;
1435
- parts?: any[] | undefined;
1436
- }, {
1437
- mimeType?: string | undefined;
1438
1431
  headers?: {
1439
1432
  value: string;
1440
1433
  name: string;
1441
1434
  }[] | undefined;
1435
+ parts?: any[] | undefined;
1436
+ }, {
1437
+ mimeType?: string | undefined;
1442
1438
  body?: {
1443
- data?: string | undefined;
1444
1439
  size?: number | undefined;
1440
+ data?: string | undefined;
1445
1441
  attachmentId?: string | undefined;
1446
1442
  } | undefined;
1443
+ headers?: {
1444
+ value: string;
1445
+ name: string;
1446
+ }[] | undefined;
1447
1447
  parts?: any[] | undefined;
1448
1448
  }>>;
1449
1449
  }, "strip", z.ZodTypeAny, {
@@ -1458,15 +1458,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1458
1458
  raw?: string | undefined;
1459
1459
  payload?: {
1460
1460
  mimeType?: string | undefined;
1461
- headers?: {
1462
- value: string;
1463
- name: string;
1464
- }[] | undefined;
1465
1461
  body?: {
1466
- data?: string | undefined;
1467
1462
  size?: number | undefined;
1463
+ data?: string | undefined;
1468
1464
  attachmentId?: string | undefined;
1469
1465
  } | undefined;
1466
+ headers?: {
1467
+ value: string;
1468
+ name: string;
1469
+ }[] | undefined;
1470
1470
  parts?: any[] | undefined;
1471
1471
  } | undefined;
1472
1472
  }, {
@@ -1481,15 +1481,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1481
1481
  raw?: string | undefined;
1482
1482
  payload?: {
1483
1483
  mimeType?: string | undefined;
1484
- headers?: {
1485
- value: string;
1486
- name: string;
1487
- }[] | undefined;
1488
1484
  body?: {
1489
- data?: string | undefined;
1490
1485
  size?: number | undefined;
1486
+ data?: string | undefined;
1491
1487
  attachmentId?: string | undefined;
1492
1488
  } | undefined;
1489
+ headers?: {
1490
+ value: string;
1491
+ name: string;
1492
+ }[] | undefined;
1493
1493
  parts?: any[] | undefined;
1494
1494
  } | undefined;
1495
1495
  }>, "many">>;
@@ -1508,15 +1508,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1508
1508
  raw?: string | undefined;
1509
1509
  payload?: {
1510
1510
  mimeType?: string | undefined;
1511
- headers?: {
1512
- value: string;
1513
- name: string;
1514
- }[] | undefined;
1515
1511
  body?: {
1516
- data?: string | undefined;
1517
1512
  size?: number | undefined;
1513
+ data?: string | undefined;
1518
1514
  attachmentId?: string | undefined;
1519
1515
  } | undefined;
1516
+ headers?: {
1517
+ value: string;
1518
+ name: string;
1519
+ }[] | undefined;
1520
1520
  parts?: any[] | undefined;
1521
1521
  } | undefined;
1522
1522
  }[] | undefined;
@@ -1536,17 +1536,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1536
1536
  raw?: string | undefined;
1537
1537
  payload?: {
1538
1538
  mimeType?: string | undefined;
1539
- headers?: {
1540
- value: string;
1541
- name: string;
1542
- }[] | undefined;
1543
1539
  body?: {
1544
- data?: string | undefined;
1545
1540
  size?: number | undefined;
1541
+ data?: string | undefined;
1546
1542
  attachmentId?: string | undefined;
1547
1543
  } | undefined;
1548
- parts?: any[] | undefined;
1549
- } | undefined;
1544
+ headers?: {
1545
+ value: string;
1546
+ name: string;
1547
+ }[] | undefined;
1548
+ parts?: any[] | undefined;
1549
+ } | undefined;
1550
1550
  }[] | undefined;
1551
1551
  snippet?: string | undefined;
1552
1552
  historyId?: string | undefined;
@@ -1555,9 +1555,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1555
1555
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1556
1556
  error: z.ZodString;
1557
1557
  }, "strip", z.ZodTypeAny, {
1558
- error: string;
1559
- success: boolean;
1560
1558
  operation: "list_threads";
1559
+ success: boolean;
1560
+ error: string;
1561
1561
  next_page_token?: string | undefined;
1562
1562
  result_size_estimate?: number | undefined;
1563
1563
  threads?: {
@@ -1574,15 +1574,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1574
1574
  raw?: string | undefined;
1575
1575
  payload?: {
1576
1576
  mimeType?: string | undefined;
1577
- headers?: {
1578
- value: string;
1579
- name: string;
1580
- }[] | undefined;
1581
1577
  body?: {
1582
- data?: string | undefined;
1583
1578
  size?: number | undefined;
1579
+ data?: string | undefined;
1584
1580
  attachmentId?: string | undefined;
1585
1581
  } | undefined;
1582
+ headers?: {
1583
+ value: string;
1584
+ name: string;
1585
+ }[] | undefined;
1586
1586
  parts?: any[] | undefined;
1587
1587
  } | undefined;
1588
1588
  }[] | undefined;
@@ -1590,9 +1590,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1590
1590
  historyId?: string | undefined;
1591
1591
  }[] | undefined;
1592
1592
  }, {
1593
- error: string;
1594
- success: boolean;
1595
1593
  operation: "list_threads";
1594
+ success: boolean;
1595
+ error: string;
1596
1596
  next_page_token?: string | undefined;
1597
1597
  result_size_estimate?: number | undefined;
1598
1598
  threads?: {
@@ -1609,15 +1609,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1609
1609
  raw?: string | undefined;
1610
1610
  payload?: {
1611
1611
  mimeType?: string | undefined;
1612
- headers?: {
1613
- value: string;
1614
- name: string;
1615
- }[] | undefined;
1616
1612
  body?: {
1617
- data?: string | undefined;
1618
1613
  size?: number | undefined;
1614
+ data?: string | undefined;
1619
1615
  attachmentId?: string | undefined;
1620
1616
  } | undefined;
1617
+ headers?: {
1618
+ value: string;
1619
+ name: string;
1620
+ }[] | undefined;
1621
1621
  parts?: any[] | undefined;
1622
1622
  } | undefined;
1623
1623
  }[] | undefined;
@@ -1648,9 +1648,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1648
1648
  }>, "many">>;
1649
1649
  error: z.ZodString;
1650
1650
  }, "strip", z.ZodTypeAny, {
1651
- error: string;
1652
- success: boolean;
1653
1651
  operation: "list_labels";
1652
+ success: boolean;
1653
+ error: string;
1654
1654
  labels?: {
1655
1655
  name: string;
1656
1656
  id: string;
@@ -1659,9 +1659,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1659
1659
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1660
1660
  }[] | undefined;
1661
1661
  }, {
1662
- error: string;
1663
- success: boolean;
1664
1662
  operation: "list_labels";
1663
+ success: boolean;
1664
+ error: string;
1665
1665
  labels?: {
1666
1666
  name: string;
1667
1667
  id: string;
@@ -1693,9 +1693,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1693
1693
  }>>;
1694
1694
  error: z.ZodString;
1695
1695
  }, "strip", z.ZodTypeAny, {
1696
- error: string;
1697
- success: boolean;
1698
1696
  operation: "create_label";
1697
+ success: boolean;
1698
+ error: string;
1699
1699
  label?: {
1700
1700
  name: string;
1701
1701
  id: string;
@@ -1704,9 +1704,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1704
1704
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1705
1705
  } | undefined;
1706
1706
  }, {
1707
- error: string;
1708
- success: boolean;
1709
1707
  operation: "create_label";
1708
+ success: boolean;
1709
+ error: string;
1710
1710
  label?: {
1711
1711
  name: string;
1712
1712
  id: string;
@@ -1721,15 +1721,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1721
1721
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1722
1722
  error: z.ZodString;
1723
1723
  }, "strip", z.ZodTypeAny, {
1724
- error: string;
1725
- success: boolean;
1726
1724
  operation: "modify_message_labels";
1725
+ success: boolean;
1726
+ error: string;
1727
1727
  message_id?: string | undefined;
1728
1728
  label_ids?: string[] | undefined;
1729
1729
  }, {
1730
- error: string;
1731
- success: boolean;
1732
1730
  operation: "modify_message_labels";
1731
+ success: boolean;
1732
+ error: string;
1733
1733
  message_id?: string | undefined;
1734
1734
  label_ids?: string[] | undefined;
1735
1735
  }>, z.ZodObject<{
@@ -1738,14 +1738,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1738
1738
  thread_id: z.ZodOptional<z.ZodString>;
1739
1739
  error: z.ZodString;
1740
1740
  }, "strip", z.ZodTypeAny, {
1741
- error: string;
1742
- success: boolean;
1743
1741
  operation: "modify_thread_labels";
1742
+ success: boolean;
1743
+ error: string;
1744
1744
  thread_id?: string | undefined;
1745
1745
  }, {
1746
- error: string;
1747
- success: boolean;
1748
1746
  operation: "modify_thread_labels";
1747
+ success: boolean;
1748
+ error: string;
1749
1749
  thread_id?: string | undefined;
1750
1750
  }>]>;
1751
1751
  type GmailResult = z.output<typeof GmailResultSchema>;
@@ -1828,8 +1828,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1828
1828
  metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1829
1829
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1830
1830
  }, "strip", z.ZodTypeAny, {
1831
- format: "minimal" | "metadata" | "raw" | "full";
1832
1831
  operation: "get_email";
1832
+ format: "minimal" | "metadata" | "raw" | "full";
1833
1833
  message_id: string;
1834
1834
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1835
1835
  metadata_headers?: string[] | undefined;
@@ -1846,14 +1846,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1846
1846
  include_spam_trash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1847
1847
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1848
1848
  }, "strip", z.ZodTypeAny, {
1849
- query: string;
1850
1849
  operation: "search_emails";
1850
+ query: string;
1851
1851
  max_results: number;
1852
1852
  include_spam_trash: boolean;
1853
1853
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1854
1854
  }, {
1855
- query: string;
1856
1855
  operation: "search_emails";
1856
+ query: string;
1857
1857
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1858
1858
  max_results?: number | undefined;
1859
1859
  include_spam_trash?: boolean | undefined;
@@ -2013,16 +2013,16 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2013
2013
  text_color: z.ZodOptional<z.ZodString>;
2014
2014
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
2015
2015
  }, "strip", z.ZodTypeAny, {
2016
- name: string;
2017
2016
  operation: "create_label";
2017
+ name: string;
2018
2018
  label_list_visibility: "labelShow" | "labelShowIfUnread" | "labelHide";
2019
2019
  message_list_visibility: "show" | "hide";
2020
2020
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2021
2021
  background_color?: string | undefined;
2022
2022
  text_color?: string | undefined;
2023
2023
  }, {
2024
- name: string;
2025
2024
  operation: "create_label";
2025
+ name: string;
2026
2026
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2027
2027
  label_list_visibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
2028
2028
  message_list_visibility?: "show" | "hide" | undefined;
@@ -2072,15 +2072,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2072
2072
  thread_id: z.ZodOptional<z.ZodString>;
2073
2073
  error: z.ZodString;
2074
2074
  }, "strip", z.ZodTypeAny, {
2075
- error: string;
2076
- success: boolean;
2077
2075
  operation: "send_email";
2076
+ success: boolean;
2077
+ error: string;
2078
2078
  message_id?: string | undefined;
2079
2079
  thread_id?: string | undefined;
2080
2080
  }, {
2081
- error: string;
2082
- success: boolean;
2083
2081
  operation: "send_email";
2082
+ success: boolean;
2083
+ error: string;
2084
2084
  message_id?: string | undefined;
2085
2085
  thread_id?: string | undefined;
2086
2086
  }>, z.ZodObject<{
@@ -2113,38 +2113,38 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2113
2113
  size: z.ZodOptional<z.ZodNumber>;
2114
2114
  attachmentId: z.ZodOptional<z.ZodString>;
2115
2115
  }, "strip", z.ZodTypeAny, {
2116
- data?: string | undefined;
2117
2116
  size?: number | undefined;
2117
+ data?: string | undefined;
2118
2118
  attachmentId?: string | undefined;
2119
2119
  }, {
2120
- data?: string | undefined;
2121
2120
  size?: number | undefined;
2121
+ data?: string | undefined;
2122
2122
  attachmentId?: string | undefined;
2123
2123
  }>>;
2124
2124
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2125
2125
  }, "strip", z.ZodTypeAny, {
2126
2126
  mimeType?: string | undefined;
2127
- headers?: {
2128
- value: string;
2129
- name: string;
2130
- }[] | undefined;
2131
2127
  body?: {
2132
- data?: string | undefined;
2133
2128
  size?: number | undefined;
2129
+ data?: string | undefined;
2134
2130
  attachmentId?: string | undefined;
2135
2131
  } | undefined;
2136
- parts?: any[] | undefined;
2137
- }, {
2138
- mimeType?: string | undefined;
2139
2132
  headers?: {
2140
2133
  value: string;
2141
2134
  name: string;
2142
2135
  }[] | undefined;
2136
+ parts?: any[] | undefined;
2137
+ }, {
2138
+ mimeType?: string | undefined;
2143
2139
  body?: {
2144
- data?: string | undefined;
2145
2140
  size?: number | undefined;
2141
+ data?: string | undefined;
2146
2142
  attachmentId?: string | undefined;
2147
2143
  } | undefined;
2144
+ headers?: {
2145
+ value: string;
2146
+ name: string;
2147
+ }[] | undefined;
2148
2148
  parts?: any[] | undefined;
2149
2149
  }>>;
2150
2150
  }, "strip", z.ZodTypeAny, {
@@ -2159,15 +2159,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2159
2159
  raw?: string | undefined;
2160
2160
  payload?: {
2161
2161
  mimeType?: string | undefined;
2162
- headers?: {
2163
- value: string;
2164
- name: string;
2165
- }[] | undefined;
2166
2162
  body?: {
2167
- data?: string | undefined;
2168
2163
  size?: number | undefined;
2164
+ data?: string | undefined;
2169
2165
  attachmentId?: string | undefined;
2170
2166
  } | undefined;
2167
+ headers?: {
2168
+ value: string;
2169
+ name: string;
2170
+ }[] | undefined;
2171
2171
  parts?: any[] | undefined;
2172
2172
  } | undefined;
2173
2173
  }, {
@@ -2182,15 +2182,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2182
2182
  raw?: string | undefined;
2183
2183
  payload?: {
2184
2184
  mimeType?: string | undefined;
2185
- headers?: {
2186
- value: string;
2187
- name: string;
2188
- }[] | undefined;
2189
2185
  body?: {
2190
- data?: string | undefined;
2191
2186
  size?: number | undefined;
2187
+ data?: string | undefined;
2192
2188
  attachmentId?: string | undefined;
2193
2189
  } | undefined;
2190
+ headers?: {
2191
+ value: string;
2192
+ name: string;
2193
+ }[] | undefined;
2194
2194
  parts?: any[] | undefined;
2195
2195
  } | undefined;
2196
2196
  }>, "many">>;
@@ -2198,9 +2198,10 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2198
2198
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2199
2199
  error: z.ZodString;
2200
2200
  }, "strip", z.ZodTypeAny, {
2201
- error: string;
2202
- success: boolean;
2203
2201
  operation: "list_emails";
2202
+ success: boolean;
2203
+ error: string;
2204
+ next_page_token?: string | undefined;
2204
2205
  messages?: {
2205
2206
  id: string;
2206
2207
  threadId?: string | undefined;
@@ -2213,24 +2214,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2213
2214
  raw?: string | undefined;
2214
2215
  payload?: {
2215
2216
  mimeType?: string | undefined;
2216
- headers?: {
2217
- value: string;
2218
- name: string;
2219
- }[] | undefined;
2220
2217
  body?: {
2221
- data?: string | undefined;
2222
2218
  size?: number | undefined;
2219
+ data?: string | undefined;
2223
2220
  attachmentId?: string | undefined;
2224
2221
  } | undefined;
2222
+ headers?: {
2223
+ value: string;
2224
+ name: string;
2225
+ }[] | undefined;
2225
2226
  parts?: any[] | undefined;
2226
2227
  } | undefined;
2227
2228
  }[] | undefined;
2228
- next_page_token?: string | undefined;
2229
2229
  result_size_estimate?: number | undefined;
2230
2230
  }, {
2231
- error: string;
2232
- success: boolean;
2233
2231
  operation: "list_emails";
2232
+ success: boolean;
2233
+ error: string;
2234
+ next_page_token?: string | undefined;
2234
2235
  messages?: {
2235
2236
  id: string;
2236
2237
  threadId?: string | undefined;
@@ -2243,19 +2244,18 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2243
2244
  raw?: string | undefined;
2244
2245
  payload?: {
2245
2246
  mimeType?: string | undefined;
2246
- headers?: {
2247
- value: string;
2248
- name: string;
2249
- }[] | undefined;
2250
2247
  body?: {
2251
- data?: string | undefined;
2252
2248
  size?: number | undefined;
2249
+ data?: string | undefined;
2253
2250
  attachmentId?: string | undefined;
2254
2251
  } | undefined;
2252
+ headers?: {
2253
+ value: string;
2254
+ name: string;
2255
+ }[] | undefined;
2255
2256
  parts?: any[] | undefined;
2256
2257
  } | undefined;
2257
2258
  }[] | undefined;
2258
- next_page_token?: string | undefined;
2259
2259
  result_size_estimate?: number | undefined;
2260
2260
  }>, z.ZodObject<{
2261
2261
  operation: z.ZodLiteral<"get_email">;
@@ -2287,38 +2287,38 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2287
2287
  size: z.ZodOptional<z.ZodNumber>;
2288
2288
  attachmentId: z.ZodOptional<z.ZodString>;
2289
2289
  }, "strip", z.ZodTypeAny, {
2290
- data?: string | undefined;
2291
2290
  size?: number | undefined;
2291
+ data?: string | undefined;
2292
2292
  attachmentId?: string | undefined;
2293
2293
  }, {
2294
- data?: string | undefined;
2295
2294
  size?: number | undefined;
2295
+ data?: string | undefined;
2296
2296
  attachmentId?: string | undefined;
2297
2297
  }>>;
2298
2298
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2299
2299
  }, "strip", z.ZodTypeAny, {
2300
2300
  mimeType?: string | undefined;
2301
- headers?: {
2302
- value: string;
2303
- name: string;
2304
- }[] | undefined;
2305
2301
  body?: {
2306
- data?: string | undefined;
2307
2302
  size?: number | undefined;
2303
+ data?: string | undefined;
2308
2304
  attachmentId?: string | undefined;
2309
2305
  } | undefined;
2310
- parts?: any[] | undefined;
2311
- }, {
2312
- mimeType?: string | undefined;
2313
2306
  headers?: {
2314
2307
  value: string;
2315
2308
  name: string;
2316
2309
  }[] | undefined;
2310
+ parts?: any[] | undefined;
2311
+ }, {
2312
+ mimeType?: string | undefined;
2317
2313
  body?: {
2318
- data?: string | undefined;
2319
2314
  size?: number | undefined;
2315
+ data?: string | undefined;
2320
2316
  attachmentId?: string | undefined;
2321
2317
  } | undefined;
2318
+ headers?: {
2319
+ value: string;
2320
+ name: string;
2321
+ }[] | undefined;
2322
2322
  parts?: any[] | undefined;
2323
2323
  }>>;
2324
2324
  }, "strip", z.ZodTypeAny, {
@@ -2333,15 +2333,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2333
2333
  raw?: string | undefined;
2334
2334
  payload?: {
2335
2335
  mimeType?: string | undefined;
2336
- headers?: {
2337
- value: string;
2338
- name: string;
2339
- }[] | undefined;
2340
2336
  body?: {
2341
- data?: string | undefined;
2342
2337
  size?: number | undefined;
2338
+ data?: string | undefined;
2343
2339
  attachmentId?: string | undefined;
2344
2340
  } | undefined;
2341
+ headers?: {
2342
+ value: string;
2343
+ name: string;
2344
+ }[] | undefined;
2345
2345
  parts?: any[] | undefined;
2346
2346
  } | undefined;
2347
2347
  }, {
@@ -2356,23 +2356,23 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2356
2356
  raw?: string | undefined;
2357
2357
  payload?: {
2358
2358
  mimeType?: string | undefined;
2359
- headers?: {
2360
- value: string;
2361
- name: string;
2362
- }[] | undefined;
2363
2359
  body?: {
2364
- data?: string | undefined;
2365
2360
  size?: number | undefined;
2361
+ data?: string | undefined;
2366
2362
  attachmentId?: string | undefined;
2367
2363
  } | undefined;
2364
+ headers?: {
2365
+ value: string;
2366
+ name: string;
2367
+ }[] | undefined;
2368
2368
  parts?: any[] | undefined;
2369
2369
  } | undefined;
2370
2370
  }>>;
2371
2371
  error: z.ZodString;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
- error: string;
2374
- success: boolean;
2375
2373
  operation: "get_email";
2374
+ success: boolean;
2375
+ error: string;
2376
2376
  message?: {
2377
2377
  id: string;
2378
2378
  threadId?: string | undefined;
@@ -2385,22 +2385,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2385
2385
  raw?: string | undefined;
2386
2386
  payload?: {
2387
2387
  mimeType?: string | undefined;
2388
- headers?: {
2389
- value: string;
2390
- name: string;
2391
- }[] | undefined;
2392
2388
  body?: {
2393
- data?: string | undefined;
2394
2389
  size?: number | undefined;
2390
+ data?: string | undefined;
2395
2391
  attachmentId?: string | undefined;
2396
2392
  } | undefined;
2393
+ headers?: {
2394
+ value: string;
2395
+ name: string;
2396
+ }[] | undefined;
2397
2397
  parts?: any[] | undefined;
2398
2398
  } | undefined;
2399
2399
  } | undefined;
2400
2400
  }, {
2401
- error: string;
2402
- success: boolean;
2403
2401
  operation: "get_email";
2402
+ success: boolean;
2403
+ error: string;
2404
2404
  message?: {
2405
2405
  id: string;
2406
2406
  threadId?: string | undefined;
@@ -2413,15 +2413,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2413
2413
  raw?: string | undefined;
2414
2414
  payload?: {
2415
2415
  mimeType?: string | undefined;
2416
- headers?: {
2417
- value: string;
2418
- name: string;
2419
- }[] | undefined;
2420
2416
  body?: {
2421
- data?: string | undefined;
2422
2417
  size?: number | undefined;
2418
+ data?: string | undefined;
2423
2419
  attachmentId?: string | undefined;
2424
2420
  } | undefined;
2421
+ headers?: {
2422
+ value: string;
2423
+ name: string;
2424
+ }[] | undefined;
2425
2425
  parts?: any[] | undefined;
2426
2426
  } | undefined;
2427
2427
  } | undefined;
@@ -2455,38 +2455,38 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2455
2455
  size: z.ZodOptional<z.ZodNumber>;
2456
2456
  attachmentId: z.ZodOptional<z.ZodString>;
2457
2457
  }, "strip", z.ZodTypeAny, {
2458
- data?: string | undefined;
2459
2458
  size?: number | undefined;
2459
+ data?: string | undefined;
2460
2460
  attachmentId?: string | undefined;
2461
2461
  }, {
2462
- data?: string | undefined;
2463
2462
  size?: number | undefined;
2463
+ data?: string | undefined;
2464
2464
  attachmentId?: string | undefined;
2465
2465
  }>>;
2466
2466
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2467
2467
  }, "strip", z.ZodTypeAny, {
2468
2468
  mimeType?: string | undefined;
2469
- headers?: {
2470
- value: string;
2471
- name: string;
2472
- }[] | undefined;
2473
2469
  body?: {
2474
- data?: string | undefined;
2475
2470
  size?: number | undefined;
2471
+ data?: string | undefined;
2476
2472
  attachmentId?: string | undefined;
2477
2473
  } | undefined;
2478
- parts?: any[] | undefined;
2479
- }, {
2480
- mimeType?: string | undefined;
2481
2474
  headers?: {
2482
2475
  value: string;
2483
2476
  name: string;
2484
2477
  }[] | undefined;
2478
+ parts?: any[] | undefined;
2479
+ }, {
2480
+ mimeType?: string | undefined;
2485
2481
  body?: {
2486
- data?: string | undefined;
2487
2482
  size?: number | undefined;
2483
+ data?: string | undefined;
2488
2484
  attachmentId?: string | undefined;
2489
2485
  } | undefined;
2486
+ headers?: {
2487
+ value: string;
2488
+ name: string;
2489
+ }[] | undefined;
2490
2490
  parts?: any[] | undefined;
2491
2491
  }>>;
2492
2492
  }, "strip", z.ZodTypeAny, {
@@ -2501,15 +2501,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2501
2501
  raw?: string | undefined;
2502
2502
  payload?: {
2503
2503
  mimeType?: string | undefined;
2504
- headers?: {
2505
- value: string;
2506
- name: string;
2507
- }[] | undefined;
2508
2504
  body?: {
2509
- data?: string | undefined;
2510
2505
  size?: number | undefined;
2506
+ data?: string | undefined;
2511
2507
  attachmentId?: string | undefined;
2512
2508
  } | undefined;
2509
+ headers?: {
2510
+ value: string;
2511
+ name: string;
2512
+ }[] | undefined;
2513
2513
  parts?: any[] | undefined;
2514
2514
  } | undefined;
2515
2515
  }, {
@@ -2524,24 +2524,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2524
2524
  raw?: string | undefined;
2525
2525
  payload?: {
2526
2526
  mimeType?: string | undefined;
2527
- headers?: {
2528
- value: string;
2529
- name: string;
2530
- }[] | undefined;
2531
2527
  body?: {
2532
- data?: string | undefined;
2533
2528
  size?: number | undefined;
2529
+ data?: string | undefined;
2534
2530
  attachmentId?: string | undefined;
2535
2531
  } | undefined;
2532
+ headers?: {
2533
+ value: string;
2534
+ name: string;
2535
+ }[] | undefined;
2536
2536
  parts?: any[] | undefined;
2537
2537
  } | undefined;
2538
2538
  }>, "many">>;
2539
2539
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2540
2540
  error: z.ZodString;
2541
2541
  }, "strip", z.ZodTypeAny, {
2542
- error: string;
2543
- success: boolean;
2544
2542
  operation: "search_emails";
2543
+ success: boolean;
2544
+ error: string;
2545
2545
  messages?: {
2546
2546
  id: string;
2547
2547
  threadId?: string | undefined;
@@ -2554,23 +2554,23 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2554
2554
  raw?: string | undefined;
2555
2555
  payload?: {
2556
2556
  mimeType?: string | undefined;
2557
- headers?: {
2558
- value: string;
2559
- name: string;
2560
- }[] | undefined;
2561
2557
  body?: {
2562
- data?: string | undefined;
2563
2558
  size?: number | undefined;
2559
+ data?: string | undefined;
2564
2560
  attachmentId?: string | undefined;
2565
2561
  } | undefined;
2562
+ headers?: {
2563
+ value: string;
2564
+ name: string;
2565
+ }[] | undefined;
2566
2566
  parts?: any[] | undefined;
2567
2567
  } | undefined;
2568
2568
  }[] | undefined;
2569
2569
  result_size_estimate?: number | undefined;
2570
2570
  }, {
2571
- error: string;
2572
- success: boolean;
2573
2571
  operation: "search_emails";
2572
+ success: boolean;
2573
+ error: string;
2574
2574
  messages?: {
2575
2575
  id: string;
2576
2576
  threadId?: string | undefined;
@@ -2583,15 +2583,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2583
2583
  raw?: string | undefined;
2584
2584
  payload?: {
2585
2585
  mimeType?: string | undefined;
2586
- headers?: {
2587
- value: string;
2588
- name: string;
2589
- }[] | undefined;
2590
2586
  body?: {
2591
- data?: string | undefined;
2592
2587
  size?: number | undefined;
2588
+ data?: string | undefined;
2593
2589
  attachmentId?: string | undefined;
2594
2590
  } | undefined;
2591
+ headers?: {
2592
+ value: string;
2593
+ name: string;
2594
+ }[] | undefined;
2595
2595
  parts?: any[] | undefined;
2596
2596
  } | undefined;
2597
2597
  }[] | undefined;
@@ -2602,14 +2602,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2602
2602
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2603
2603
  error: z.ZodString;
2604
2604
  }, "strip", z.ZodTypeAny, {
2605
- error: string;
2606
- success: boolean;
2607
2605
  operation: "mark_as_read";
2606
+ success: boolean;
2607
+ error: string;
2608
2608
  modified_messages?: string[] | undefined;
2609
2609
  }, {
2610
- error: string;
2611
- success: boolean;
2612
2610
  operation: "mark_as_read";
2611
+ success: boolean;
2612
+ error: string;
2613
2613
  modified_messages?: string[] | undefined;
2614
2614
  }>, z.ZodObject<{
2615
2615
  operation: z.ZodLiteral<"mark_as_unread">;
@@ -2617,14 +2617,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2617
2617
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2618
2618
  error: z.ZodString;
2619
2619
  }, "strip", z.ZodTypeAny, {
2620
- error: string;
2621
- success: boolean;
2622
2620
  operation: "mark_as_unread";
2621
+ success: boolean;
2622
+ error: string;
2623
2623
  modified_messages?: string[] | undefined;
2624
2624
  }, {
2625
- error: string;
2626
- success: boolean;
2627
2625
  operation: "mark_as_unread";
2626
+ success: boolean;
2627
+ error: string;
2628
2628
  modified_messages?: string[] | undefined;
2629
2629
  }>, z.ZodObject<{
2630
2630
  operation: z.ZodLiteral<"create_draft">;
@@ -2658,38 +2658,38 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2658
2658
  size: z.ZodOptional<z.ZodNumber>;
2659
2659
  attachmentId: z.ZodOptional<z.ZodString>;
2660
2660
  }, "strip", z.ZodTypeAny, {
2661
- data?: string | undefined;
2662
2661
  size?: number | undefined;
2662
+ data?: string | undefined;
2663
2663
  attachmentId?: string | undefined;
2664
2664
  }, {
2665
- data?: string | undefined;
2666
2665
  size?: number | undefined;
2666
+ data?: string | undefined;
2667
2667
  attachmentId?: string | undefined;
2668
2668
  }>>;
2669
2669
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
2671
  mimeType?: string | undefined;
2672
- headers?: {
2673
- value: string;
2674
- name: string;
2675
- }[] | undefined;
2676
2672
  body?: {
2677
- data?: string | undefined;
2678
2673
  size?: number | undefined;
2674
+ data?: string | undefined;
2679
2675
  attachmentId?: string | undefined;
2680
2676
  } | undefined;
2681
- parts?: any[] | undefined;
2682
- }, {
2683
- mimeType?: string | undefined;
2684
2677
  headers?: {
2685
2678
  value: string;
2686
2679
  name: string;
2687
2680
  }[] | undefined;
2681
+ parts?: any[] | undefined;
2682
+ }, {
2683
+ mimeType?: string | undefined;
2688
2684
  body?: {
2689
- data?: string | undefined;
2690
2685
  size?: number | undefined;
2686
+ data?: string | undefined;
2691
2687
  attachmentId?: string | undefined;
2692
2688
  } | undefined;
2689
+ headers?: {
2690
+ value: string;
2691
+ name: string;
2692
+ }[] | undefined;
2693
2693
  parts?: any[] | undefined;
2694
2694
  }>>;
2695
2695
  }, "strip", z.ZodTypeAny, {
@@ -2704,15 +2704,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2704
2704
  raw?: string | undefined;
2705
2705
  payload?: {
2706
2706
  mimeType?: string | undefined;
2707
- headers?: {
2708
- value: string;
2709
- name: string;
2710
- }[] | undefined;
2711
2707
  body?: {
2712
- data?: string | undefined;
2713
2708
  size?: number | undefined;
2709
+ data?: string | undefined;
2714
2710
  attachmentId?: string | undefined;
2715
2711
  } | undefined;
2712
+ headers?: {
2713
+ value: string;
2714
+ name: string;
2715
+ }[] | undefined;
2716
2716
  parts?: any[] | undefined;
2717
2717
  } | undefined;
2718
2718
  }, {
@@ -2727,15 +2727,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2727
2727
  raw?: string | undefined;
2728
2728
  payload?: {
2729
2729
  mimeType?: string | undefined;
2730
- headers?: {
2731
- value: string;
2732
- name: string;
2733
- }[] | undefined;
2734
2730
  body?: {
2735
- data?: string | undefined;
2736
2731
  size?: number | undefined;
2732
+ data?: string | undefined;
2737
2733
  attachmentId?: string | undefined;
2738
2734
  } | undefined;
2735
+ headers?: {
2736
+ value: string;
2737
+ name: string;
2738
+ }[] | undefined;
2739
2739
  parts?: any[] | undefined;
2740
2740
  } | undefined;
2741
2741
  }>;
@@ -2752,15 +2752,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2752
2752
  raw?: string | undefined;
2753
2753
  payload?: {
2754
2754
  mimeType?: string | undefined;
2755
- headers?: {
2756
- value: string;
2757
- name: string;
2758
- }[] | undefined;
2759
2755
  body?: {
2760
- data?: string | undefined;
2761
2756
  size?: number | undefined;
2757
+ data?: string | undefined;
2762
2758
  attachmentId?: string | undefined;
2763
2759
  } | undefined;
2760
+ headers?: {
2761
+ value: string;
2762
+ name: string;
2763
+ }[] | undefined;
2764
2764
  parts?: any[] | undefined;
2765
2765
  } | undefined;
2766
2766
  };
@@ -2778,15 +2778,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2778
2778
  raw?: string | undefined;
2779
2779
  payload?: {
2780
2780
  mimeType?: string | undefined;
2781
- headers?: {
2782
- value: string;
2783
- name: string;
2784
- }[] | undefined;
2785
2781
  body?: {
2786
- data?: string | undefined;
2787
2782
  size?: number | undefined;
2783
+ data?: string | undefined;
2788
2784
  attachmentId?: string | undefined;
2789
2785
  } | undefined;
2786
+ headers?: {
2787
+ value: string;
2788
+ name: string;
2789
+ }[] | undefined;
2790
2790
  parts?: any[] | undefined;
2791
2791
  } | undefined;
2792
2792
  };
@@ -2794,9 +2794,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2794
2794
  }>>;
2795
2795
  error: z.ZodString;
2796
2796
  }, "strip", z.ZodTypeAny, {
2797
- error: string;
2798
- success: boolean;
2799
2797
  operation: "create_draft";
2798
+ success: boolean;
2799
+ error: string;
2800
2800
  draft?: {
2801
2801
  message: {
2802
2802
  id: string;
@@ -2810,24 +2810,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2810
2810
  raw?: string | undefined;
2811
2811
  payload?: {
2812
2812
  mimeType?: string | undefined;
2813
- headers?: {
2814
- value: string;
2815
- name: string;
2816
- }[] | undefined;
2817
2813
  body?: {
2818
- data?: string | undefined;
2819
2814
  size?: number | undefined;
2815
+ data?: string | undefined;
2820
2816
  attachmentId?: string | undefined;
2821
2817
  } | undefined;
2818
+ headers?: {
2819
+ value: string;
2820
+ name: string;
2821
+ }[] | undefined;
2822
2822
  parts?: any[] | undefined;
2823
2823
  } | undefined;
2824
2824
  };
2825
2825
  id: string;
2826
2826
  } | undefined;
2827
2827
  }, {
2828
- error: string;
2829
- success: boolean;
2830
2828
  operation: "create_draft";
2829
+ success: boolean;
2830
+ error: string;
2831
2831
  draft?: {
2832
2832
  message: {
2833
2833
  id: string;
@@ -2841,15 +2841,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2841
2841
  raw?: string | undefined;
2842
2842
  payload?: {
2843
2843
  mimeType?: string | undefined;
2844
- headers?: {
2845
- value: string;
2846
- name: string;
2847
- }[] | undefined;
2848
2844
  body?: {
2849
- data?: string | undefined;
2850
2845
  size?: number | undefined;
2846
+ data?: string | undefined;
2851
2847
  attachmentId?: string | undefined;
2852
2848
  } | undefined;
2849
+ headers?: {
2850
+ value: string;
2851
+ name: string;
2852
+ }[] | undefined;
2853
2853
  parts?: any[] | undefined;
2854
2854
  } | undefined;
2855
2855
  };
@@ -2862,15 +2862,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2862
2862
  thread_id: z.ZodOptional<z.ZodString>;
2863
2863
  error: z.ZodString;
2864
2864
  }, "strip", z.ZodTypeAny, {
2865
- error: string;
2866
- success: boolean;
2867
2865
  operation: "send_draft";
2866
+ success: boolean;
2867
+ error: string;
2868
2868
  message_id?: string | undefined;
2869
2869
  thread_id?: string | undefined;
2870
2870
  }, {
2871
- error: string;
2872
- success: boolean;
2873
2871
  operation: "send_draft";
2872
+ success: boolean;
2873
+ error: string;
2874
2874
  message_id?: string | undefined;
2875
2875
  thread_id?: string | undefined;
2876
2876
  }>, z.ZodObject<{
@@ -2905,38 +2905,38 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2905
2905
  size: z.ZodOptional<z.ZodNumber>;
2906
2906
  attachmentId: z.ZodOptional<z.ZodString>;
2907
2907
  }, "strip", z.ZodTypeAny, {
2908
- data?: string | undefined;
2909
2908
  size?: number | undefined;
2909
+ data?: string | undefined;
2910
2910
  attachmentId?: string | undefined;
2911
2911
  }, {
2912
- data?: string | undefined;
2913
2912
  size?: number | undefined;
2913
+ data?: string | undefined;
2914
2914
  attachmentId?: string | undefined;
2915
2915
  }>>;
2916
2916
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2917
2917
  }, "strip", z.ZodTypeAny, {
2918
2918
  mimeType?: string | undefined;
2919
- headers?: {
2920
- value: string;
2921
- name: string;
2922
- }[] | undefined;
2923
2919
  body?: {
2924
- data?: string | undefined;
2925
2920
  size?: number | undefined;
2921
+ data?: string | undefined;
2926
2922
  attachmentId?: string | undefined;
2927
2923
  } | undefined;
2928
- parts?: any[] | undefined;
2929
- }, {
2930
- mimeType?: string | undefined;
2931
2924
  headers?: {
2932
2925
  value: string;
2933
2926
  name: string;
2934
2927
  }[] | undefined;
2928
+ parts?: any[] | undefined;
2929
+ }, {
2930
+ mimeType?: string | undefined;
2935
2931
  body?: {
2936
- data?: string | undefined;
2937
2932
  size?: number | undefined;
2933
+ data?: string | undefined;
2938
2934
  attachmentId?: string | undefined;
2939
2935
  } | undefined;
2936
+ headers?: {
2937
+ value: string;
2938
+ name: string;
2939
+ }[] | undefined;
2940
2940
  parts?: any[] | undefined;
2941
2941
  }>>;
2942
2942
  }, "strip", z.ZodTypeAny, {
@@ -2951,15 +2951,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2951
2951
  raw?: string | undefined;
2952
2952
  payload?: {
2953
2953
  mimeType?: string | undefined;
2954
- headers?: {
2955
- value: string;
2956
- name: string;
2957
- }[] | undefined;
2958
2954
  body?: {
2959
- data?: string | undefined;
2960
2955
  size?: number | undefined;
2956
+ data?: string | undefined;
2961
2957
  attachmentId?: string | undefined;
2962
2958
  } | undefined;
2959
+ headers?: {
2960
+ value: string;
2961
+ name: string;
2962
+ }[] | undefined;
2963
2963
  parts?: any[] | undefined;
2964
2964
  } | undefined;
2965
2965
  }, {
@@ -2974,15 +2974,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2974
2974
  raw?: string | undefined;
2975
2975
  payload?: {
2976
2976
  mimeType?: string | undefined;
2977
- headers?: {
2978
- value: string;
2979
- name: string;
2980
- }[] | undefined;
2981
2977
  body?: {
2982
- data?: string | undefined;
2983
2978
  size?: number | undefined;
2979
+ data?: string | undefined;
2984
2980
  attachmentId?: string | undefined;
2985
2981
  } | undefined;
2982
+ headers?: {
2983
+ value: string;
2984
+ name: string;
2985
+ }[] | undefined;
2986
2986
  parts?: any[] | undefined;
2987
2987
  } | undefined;
2988
2988
  }>;
@@ -2999,15 +2999,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2999
2999
  raw?: string | undefined;
3000
3000
  payload?: {
3001
3001
  mimeType?: string | undefined;
3002
- headers?: {
3003
- value: string;
3004
- name: string;
3005
- }[] | undefined;
3006
3002
  body?: {
3007
- data?: string | undefined;
3008
3003
  size?: number | undefined;
3004
+ data?: string | undefined;
3009
3005
  attachmentId?: string | undefined;
3010
3006
  } | undefined;
3007
+ headers?: {
3008
+ value: string;
3009
+ name: string;
3010
+ }[] | undefined;
3011
3011
  parts?: any[] | undefined;
3012
3012
  } | undefined;
3013
3013
  };
@@ -3025,15 +3025,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3025
3025
  raw?: string | undefined;
3026
3026
  payload?: {
3027
3027
  mimeType?: string | undefined;
3028
- headers?: {
3029
- value: string;
3030
- name: string;
3031
- }[] | undefined;
3032
3028
  body?: {
3033
- data?: string | undefined;
3034
3029
  size?: number | undefined;
3030
+ data?: string | undefined;
3035
3031
  attachmentId?: string | undefined;
3036
3032
  } | undefined;
3033
+ headers?: {
3034
+ value: string;
3035
+ name: string;
3036
+ }[] | undefined;
3037
3037
  parts?: any[] | undefined;
3038
3038
  } | undefined;
3039
3039
  };
@@ -3043,9 +3043,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3043
3043
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3044
3044
  error: z.ZodString;
3045
3045
  }, "strip", z.ZodTypeAny, {
3046
- error: string;
3047
- success: boolean;
3048
3046
  operation: "list_drafts";
3047
+ success: boolean;
3048
+ error: string;
3049
3049
  next_page_token?: string | undefined;
3050
3050
  result_size_estimate?: number | undefined;
3051
3051
  drafts?: {
@@ -3061,24 +3061,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3061
3061
  raw?: string | undefined;
3062
3062
  payload?: {
3063
3063
  mimeType?: string | undefined;
3064
- headers?: {
3065
- value: string;
3066
- name: string;
3067
- }[] | undefined;
3068
3064
  body?: {
3069
- data?: string | undefined;
3070
3065
  size?: number | undefined;
3066
+ data?: string | undefined;
3071
3067
  attachmentId?: string | undefined;
3072
3068
  } | undefined;
3069
+ headers?: {
3070
+ value: string;
3071
+ name: string;
3072
+ }[] | undefined;
3073
3073
  parts?: any[] | undefined;
3074
3074
  } | undefined;
3075
3075
  };
3076
3076
  id: string;
3077
3077
  }[] | undefined;
3078
3078
  }, {
3079
- error: string;
3080
- success: boolean;
3081
3079
  operation: "list_drafts";
3080
+ success: boolean;
3081
+ error: string;
3082
3082
  next_page_token?: string | undefined;
3083
3083
  result_size_estimate?: number | undefined;
3084
3084
  drafts?: {
@@ -3094,15 +3094,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3094
3094
  raw?: string | undefined;
3095
3095
  payload?: {
3096
3096
  mimeType?: string | undefined;
3097
- headers?: {
3098
- value: string;
3099
- name: string;
3100
- }[] | undefined;
3101
3097
  body?: {
3102
- data?: string | undefined;
3103
3098
  size?: number | undefined;
3099
+ data?: string | undefined;
3104
3100
  attachmentId?: string | undefined;
3105
3101
  } | undefined;
3102
+ headers?: {
3103
+ value: string;
3104
+ name: string;
3105
+ }[] | undefined;
3106
3106
  parts?: any[] | undefined;
3107
3107
  } | undefined;
3108
3108
  };
@@ -3114,14 +3114,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3114
3114
  deleted_message_id: z.ZodOptional<z.ZodString>;
3115
3115
  error: z.ZodString;
3116
3116
  }, "strip", z.ZodTypeAny, {
3117
- error: string;
3118
- success: boolean;
3119
3117
  operation: "delete_email";
3118
+ success: boolean;
3119
+ error: string;
3120
3120
  deleted_message_id?: string | undefined;
3121
3121
  }, {
3122
- error: string;
3123
- success: boolean;
3124
3122
  operation: "delete_email";
3123
+ success: boolean;
3124
+ error: string;
3125
3125
  deleted_message_id?: string | undefined;
3126
3126
  }>, z.ZodObject<{
3127
3127
  operation: z.ZodLiteral<"trash_email">;
@@ -3129,14 +3129,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3129
3129
  trashed_message_id: z.ZodOptional<z.ZodString>;
3130
3130
  error: z.ZodString;
3131
3131
  }, "strip", z.ZodTypeAny, {
3132
- error: string;
3133
- success: boolean;
3134
3132
  operation: "trash_email";
3133
+ success: boolean;
3134
+ error: string;
3135
3135
  trashed_message_id?: string | undefined;
3136
3136
  }, {
3137
- error: string;
3138
- success: boolean;
3139
3137
  operation: "trash_email";
3138
+ success: boolean;
3139
+ error: string;
3140
3140
  trashed_message_id?: string | undefined;
3141
3141
  }>, z.ZodObject<{
3142
3142
  operation: z.ZodLiteral<"list_threads">;
@@ -3171,38 +3171,38 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3171
3171
  size: z.ZodOptional<z.ZodNumber>;
3172
3172
  attachmentId: z.ZodOptional<z.ZodString>;
3173
3173
  }, "strip", z.ZodTypeAny, {
3174
- data?: string | undefined;
3175
3174
  size?: number | undefined;
3175
+ data?: string | undefined;
3176
3176
  attachmentId?: string | undefined;
3177
3177
  }, {
3178
- data?: string | undefined;
3179
3178
  size?: number | undefined;
3179
+ data?: string | undefined;
3180
3180
  attachmentId?: string | undefined;
3181
3181
  }>>;
3182
3182
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3183
3183
  }, "strip", z.ZodTypeAny, {
3184
3184
  mimeType?: string | undefined;
3185
- headers?: {
3186
- value: string;
3187
- name: string;
3188
- }[] | undefined;
3189
3185
  body?: {
3190
- data?: string | undefined;
3191
3186
  size?: number | undefined;
3187
+ data?: string | undefined;
3192
3188
  attachmentId?: string | undefined;
3193
3189
  } | undefined;
3194
- parts?: any[] | undefined;
3195
- }, {
3196
- mimeType?: string | undefined;
3197
3190
  headers?: {
3198
3191
  value: string;
3199
3192
  name: string;
3200
3193
  }[] | undefined;
3194
+ parts?: any[] | undefined;
3195
+ }, {
3196
+ mimeType?: string | undefined;
3201
3197
  body?: {
3202
- data?: string | undefined;
3203
3198
  size?: number | undefined;
3199
+ data?: string | undefined;
3204
3200
  attachmentId?: string | undefined;
3205
3201
  } | undefined;
3202
+ headers?: {
3203
+ value: string;
3204
+ name: string;
3205
+ }[] | undefined;
3206
3206
  parts?: any[] | undefined;
3207
3207
  }>>;
3208
3208
  }, "strip", z.ZodTypeAny, {
@@ -3217,15 +3217,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3217
3217
  raw?: string | undefined;
3218
3218
  payload?: {
3219
3219
  mimeType?: string | undefined;
3220
- headers?: {
3221
- value: string;
3222
- name: string;
3223
- }[] | undefined;
3224
3220
  body?: {
3225
- data?: string | undefined;
3226
3221
  size?: number | undefined;
3222
+ data?: string | undefined;
3227
3223
  attachmentId?: string | undefined;
3228
3224
  } | undefined;
3225
+ headers?: {
3226
+ value: string;
3227
+ name: string;
3228
+ }[] | undefined;
3229
3229
  parts?: any[] | undefined;
3230
3230
  } | undefined;
3231
3231
  }, {
@@ -3240,15 +3240,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3240
3240
  raw?: string | undefined;
3241
3241
  payload?: {
3242
3242
  mimeType?: string | undefined;
3243
- headers?: {
3244
- value: string;
3245
- name: string;
3246
- }[] | undefined;
3247
3243
  body?: {
3248
- data?: string | undefined;
3249
3244
  size?: number | undefined;
3245
+ data?: string | undefined;
3250
3246
  attachmentId?: string | undefined;
3251
3247
  } | undefined;
3248
+ headers?: {
3249
+ value: string;
3250
+ name: string;
3251
+ }[] | undefined;
3252
3252
  parts?: any[] | undefined;
3253
3253
  } | undefined;
3254
3254
  }>, "many">>;
@@ -3267,15 +3267,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3267
3267
  raw?: string | undefined;
3268
3268
  payload?: {
3269
3269
  mimeType?: string | undefined;
3270
- headers?: {
3271
- value: string;
3272
- name: string;
3273
- }[] | undefined;
3274
3270
  body?: {
3275
- data?: string | undefined;
3276
3271
  size?: number | undefined;
3272
+ data?: string | undefined;
3277
3273
  attachmentId?: string | undefined;
3278
3274
  } | undefined;
3275
+ headers?: {
3276
+ value: string;
3277
+ name: string;
3278
+ }[] | undefined;
3279
3279
  parts?: any[] | undefined;
3280
3280
  } | undefined;
3281
3281
  }[] | undefined;
@@ -3295,15 +3295,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3295
3295
  raw?: string | undefined;
3296
3296
  payload?: {
3297
3297
  mimeType?: string | undefined;
3298
- headers?: {
3299
- value: string;
3300
- name: string;
3301
- }[] | undefined;
3302
3298
  body?: {
3303
- data?: string | undefined;
3304
3299
  size?: number | undefined;
3300
+ data?: string | undefined;
3305
3301
  attachmentId?: string | undefined;
3306
3302
  } | undefined;
3303
+ headers?: {
3304
+ value: string;
3305
+ name: string;
3306
+ }[] | undefined;
3307
3307
  parts?: any[] | undefined;
3308
3308
  } | undefined;
3309
3309
  }[] | undefined;
@@ -3314,9 +3314,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3314
3314
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3315
3315
  error: z.ZodString;
3316
3316
  }, "strip", z.ZodTypeAny, {
3317
- error: string;
3318
- success: boolean;
3319
3317
  operation: "list_threads";
3318
+ success: boolean;
3319
+ error: string;
3320
3320
  next_page_token?: string | undefined;
3321
3321
  result_size_estimate?: number | undefined;
3322
3322
  threads?: {
@@ -3333,15 +3333,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3333
3333
  raw?: string | undefined;
3334
3334
  payload?: {
3335
3335
  mimeType?: string | undefined;
3336
- headers?: {
3337
- value: string;
3338
- name: string;
3339
- }[] | undefined;
3340
3336
  body?: {
3341
- data?: string | undefined;
3342
3337
  size?: number | undefined;
3338
+ data?: string | undefined;
3343
3339
  attachmentId?: string | undefined;
3344
3340
  } | undefined;
3341
+ headers?: {
3342
+ value: string;
3343
+ name: string;
3344
+ }[] | undefined;
3345
3345
  parts?: any[] | undefined;
3346
3346
  } | undefined;
3347
3347
  }[] | undefined;
@@ -3349,9 +3349,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3349
3349
  historyId?: string | undefined;
3350
3350
  }[] | undefined;
3351
3351
  }, {
3352
- error: string;
3353
- success: boolean;
3354
3352
  operation: "list_threads";
3353
+ success: boolean;
3354
+ error: string;
3355
3355
  next_page_token?: string | undefined;
3356
3356
  result_size_estimate?: number | undefined;
3357
3357
  threads?: {
@@ -3368,15 +3368,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3368
3368
  raw?: string | undefined;
3369
3369
  payload?: {
3370
3370
  mimeType?: string | undefined;
3371
- headers?: {
3372
- value: string;
3373
- name: string;
3374
- }[] | undefined;
3375
3371
  body?: {
3376
- data?: string | undefined;
3377
3372
  size?: number | undefined;
3373
+ data?: string | undefined;
3378
3374
  attachmentId?: string | undefined;
3379
3375
  } | undefined;
3376
+ headers?: {
3377
+ value: string;
3378
+ name: string;
3379
+ }[] | undefined;
3380
3380
  parts?: any[] | undefined;
3381
3381
  } | undefined;
3382
3382
  }[] | undefined;
@@ -3407,9 +3407,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3407
3407
  }>, "many">>;
3408
3408
  error: z.ZodString;
3409
3409
  }, "strip", z.ZodTypeAny, {
3410
- error: string;
3411
- success: boolean;
3412
3410
  operation: "list_labels";
3411
+ success: boolean;
3412
+ error: string;
3413
3413
  labels?: {
3414
3414
  name: string;
3415
3415
  id: string;
@@ -3418,9 +3418,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3418
3418
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3419
3419
  }[] | undefined;
3420
3420
  }, {
3421
- error: string;
3422
- success: boolean;
3423
3421
  operation: "list_labels";
3422
+ success: boolean;
3423
+ error: string;
3424
3424
  labels?: {
3425
3425
  name: string;
3426
3426
  id: string;
@@ -3452,9 +3452,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3452
3452
  }>>;
3453
3453
  error: z.ZodString;
3454
3454
  }, "strip", z.ZodTypeAny, {
3455
- error: string;
3456
- success: boolean;
3457
3455
  operation: "create_label";
3456
+ success: boolean;
3457
+ error: string;
3458
3458
  label?: {
3459
3459
  name: string;
3460
3460
  id: string;
@@ -3463,9 +3463,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3463
3463
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3464
3464
  } | undefined;
3465
3465
  }, {
3466
- error: string;
3467
- success: boolean;
3468
3466
  operation: "create_label";
3467
+ success: boolean;
3468
+ error: string;
3469
3469
  label?: {
3470
3470
  name: string;
3471
3471
  id: string;
@@ -3480,15 +3480,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3480
3480
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3481
3481
  error: z.ZodString;
3482
3482
  }, "strip", z.ZodTypeAny, {
3483
- error: string;
3484
- success: boolean;
3485
3483
  operation: "modify_message_labels";
3484
+ success: boolean;
3485
+ error: string;
3486
3486
  message_id?: string | undefined;
3487
3487
  label_ids?: string[] | undefined;
3488
3488
  }, {
3489
- error: string;
3490
- success: boolean;
3491
3489
  operation: "modify_message_labels";
3490
+ success: boolean;
3491
+ error: string;
3492
3492
  message_id?: string | undefined;
3493
3493
  label_ids?: string[] | undefined;
3494
3494
  }>, z.ZodObject<{
@@ -3497,14 +3497,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3497
3497
  thread_id: z.ZodOptional<z.ZodString>;
3498
3498
  error: z.ZodString;
3499
3499
  }, "strip", z.ZodTypeAny, {
3500
- error: string;
3501
- success: boolean;
3502
3500
  operation: "modify_thread_labels";
3501
+ success: boolean;
3502
+ error: string;
3503
3503
  thread_id?: string | undefined;
3504
3504
  }, {
3505
- error: string;
3506
- success: boolean;
3507
3505
  operation: "modify_thread_labels";
3506
+ success: boolean;
3507
+ error: string;
3508
3508
  thread_id?: string | undefined;
3509
3509
  }>]>;
3510
3510
  static readonly shortDescription = "Gmail integration for email management";