@bubblelab/bubble-core 0.1.55 → 0.1.56

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 (62) hide show
  1. package/dist/bubble-bundle.d.ts +102 -102
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +60 -60
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +68 -68
  4. package/dist/bubbles/service-bubble/airtable.d.ts +86 -86
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +24 -24
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +128 -128
  7. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +180 -180
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +28 -28
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +36 -36
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +88 -88
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +118 -118
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +8 -8
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +879 -879
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +254 -254
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +233 -233
  16. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +341 -341
  17. package/dist/bubbles/service-bubble/github.d.ts +112 -112
  18. package/dist/bubbles/service-bubble/gmail.d.ts +555 -555
  19. package/dist/bubbles/service-bubble/google-calendar.d.ts +20 -20
  20. package/dist/bubbles/service-bubble/google-drive.d.ts +16 -16
  21. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +10 -10
  22. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +10 -10
  23. package/dist/bubbles/service-bubble/http.d.ts +20 -20
  24. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  25. package/dist/bubbles/service-bubble/jira/jira.d.ts +35 -35
  26. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +37 -37
  27. package/dist/bubbles/service-bubble/notion/notion.d.ts +1365 -1365
  28. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  29. package/dist/bubbles/service-bubble/resend.d.ts +24 -24
  30. package/dist/bubbles/service-bubble/slack/slack.d.ts +320 -320
  31. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  32. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +91 -91
  33. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +107 -107
  34. package/dist/bubbles/service-bubble/telegram.d.ts +1491 -1491
  35. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +12 -12
  36. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +16 -16
  37. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  38. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +16 -16
  39. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  40. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +126 -126
  41. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  42. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +10 -10
  43. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +6 -6
  45. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +421 -421
  46. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +150 -150
  47. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
  48. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  49. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +64 -64
  50. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +146 -146
  51. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +14 -14
  52. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
  53. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +24 -24
  54. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +32 -32
  55. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  56. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +86 -86
  57. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  58. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +24 -24
  59. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +44 -44
  60. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  61. package/dist/bubbles.json +1 -1
  62. package/package.json +2 -2
@@ -69,7 +69,7 @@ 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: "metadata" | "minimal" | "full" | "raw";
72
+ format: "metadata" | "minimal" | "raw" | "full";
73
73
  operation: "get_email";
74
74
  message_id: string;
75
75
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -77,7 +77,7 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
77
77
  }, {
78
78
  operation: "get_email";
79
79
  message_id: string;
80
- format?: "metadata" | "minimal" | "full" | "raw" | undefined;
80
+ format?: "metadata" | "minimal" | "raw" | "full" | undefined;
81
81
  credentials?: Partial<Record<CredentialType, string>> | undefined;
82
82
  metadata_headers?: string[] | undefined;
83
83
  }>, z.ZodObject<{
@@ -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
- operation: "search_emails";
91
90
  query: string;
91
+ operation: "search_emails";
92
92
  max_results: number;
93
93
  include_spam_trash: boolean;
94
94
  credentials?: Partial<Record<CredentialType, string>> | undefined;
95
95
  }, {
96
- operation: "search_emails";
97
96
  query: string;
97
+ operation: "search_emails";
98
98
  credentials?: Partial<Record<CredentialType, string>> | undefined;
99
99
  max_results?: number | undefined;
100
100
  include_spam_trash?: boolean | undefined;
@@ -316,14 +316,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
316
316
  error: string;
317
317
  success: boolean;
318
318
  operation: "send_email";
319
- thread_id?: string | undefined;
320
319
  message_id?: string | undefined;
320
+ thread_id?: string | undefined;
321
321
  }, {
322
322
  error: string;
323
323
  success: boolean;
324
324
  operation: "send_email";
325
- thread_id?: string | undefined;
326
325
  message_id?: string | undefined;
326
+ thread_id?: string | undefined;
327
327
  }>, z.ZodObject<{
328
328
  operation: z.ZodLiteral<"list_emails">;
329
329
  success: z.ZodBoolean;
@@ -364,33 +364,32 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
364
364
  }>>;
365
365
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
366
366
  }, "strip", z.ZodTypeAny, {
367
- body?: {
368
- data?: string | undefined;
369
- size?: number | undefined;
370
- attachmentId?: string | undefined;
371
- } | undefined;
367
+ parts?: any[] | undefined;
372
368
  mimeType?: string | undefined;
373
369
  headers?: {
374
370
  value: string;
375
371
  name: string;
376
372
  }[] | undefined;
377
- parts?: any[] | undefined;
378
- }, {
379
373
  body?: {
380
374
  data?: string | undefined;
381
375
  size?: number | undefined;
382
376
  attachmentId?: string | undefined;
383
377
  } | undefined;
378
+ }, {
379
+ parts?: any[] | undefined;
384
380
  mimeType?: string | undefined;
385
381
  headers?: {
386
382
  value: string;
387
383
  name: string;
388
384
  }[] | undefined;
389
- parts?: any[] | undefined;
385
+ body?: {
386
+ data?: string | undefined;
387
+ size?: number | undefined;
388
+ attachmentId?: string | undefined;
389
+ } | undefined;
390
390
  }>>;
391
391
  }, "strip", z.ZodTypeAny, {
392
392
  id: string;
393
- raw?: string | undefined;
394
393
  threadId?: string | undefined;
395
394
  labelIds?: string[] | undefined;
396
395
  snippet?: string | undefined;
@@ -398,22 +397,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
398
397
  historyId?: string | undefined;
399
398
  internalDate?: string | undefined;
400
399
  sizeEstimate?: number | undefined;
400
+ raw?: string | undefined;
401
401
  payload?: {
402
- body?: {
403
- data?: string | undefined;
404
- size?: number | undefined;
405
- attachmentId?: string | undefined;
406
- } | undefined;
402
+ parts?: any[] | undefined;
407
403
  mimeType?: string | undefined;
408
404
  headers?: {
409
405
  value: string;
410
406
  name: string;
411
407
  }[] | undefined;
412
- parts?: any[] | undefined;
408
+ body?: {
409
+ data?: string | undefined;
410
+ size?: number | undefined;
411
+ attachmentId?: string | undefined;
412
+ } | undefined;
413
413
  } | undefined;
414
414
  }, {
415
415
  id: string;
416
- raw?: string | undefined;
417
416
  threadId?: string | undefined;
418
417
  labelIds?: string[] | undefined;
419
418
  snippet?: string | undefined;
@@ -421,18 +420,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
421
420
  historyId?: string | undefined;
422
421
  internalDate?: string | undefined;
423
422
  sizeEstimate?: number | undefined;
423
+ raw?: string | undefined;
424
424
  payload?: {
425
- body?: {
426
- data?: string | undefined;
427
- size?: number | undefined;
428
- attachmentId?: string | undefined;
429
- } | undefined;
425
+ parts?: any[] | undefined;
430
426
  mimeType?: string | undefined;
431
427
  headers?: {
432
428
  value: string;
433
429
  name: string;
434
430
  }[] | undefined;
435
- parts?: any[] | undefined;
431
+ body?: {
432
+ data?: string | undefined;
433
+ size?: number | undefined;
434
+ attachmentId?: string | undefined;
435
+ } | undefined;
436
436
  } | undefined;
437
437
  }>, "many">>;
438
438
  next_page_token: z.ZodOptional<z.ZodString>;
@@ -444,7 +444,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
444
444
  operation: "list_emails";
445
445
  messages?: {
446
446
  id: string;
447
- raw?: string | undefined;
448
447
  threadId?: string | undefined;
449
448
  labelIds?: string[] | undefined;
450
449
  snippet?: string | undefined;
@@ -452,18 +451,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
452
451
  historyId?: string | undefined;
453
452
  internalDate?: string | undefined;
454
453
  sizeEstimate?: number | undefined;
454
+ raw?: string | undefined;
455
455
  payload?: {
456
- body?: {
457
- data?: string | undefined;
458
- size?: number | undefined;
459
- attachmentId?: string | undefined;
460
- } | undefined;
456
+ parts?: any[] | undefined;
461
457
  mimeType?: string | undefined;
462
458
  headers?: {
463
459
  value: string;
464
460
  name: string;
465
461
  }[] | undefined;
466
- parts?: any[] | undefined;
462
+ body?: {
463
+ data?: string | undefined;
464
+ size?: number | undefined;
465
+ attachmentId?: string | undefined;
466
+ } | undefined;
467
467
  } | undefined;
468
468
  }[] | undefined;
469
469
  next_page_token?: string | undefined;
@@ -474,7 +474,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
474
474
  operation: "list_emails";
475
475
  messages?: {
476
476
  id: string;
477
- raw?: string | undefined;
478
477
  threadId?: string | undefined;
479
478
  labelIds?: string[] | undefined;
480
479
  snippet?: string | undefined;
@@ -482,18 +481,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
482
481
  historyId?: string | undefined;
483
482
  internalDate?: string | undefined;
484
483
  sizeEstimate?: number | undefined;
484
+ raw?: string | undefined;
485
485
  payload?: {
486
- body?: {
487
- data?: string | undefined;
488
- size?: number | undefined;
489
- attachmentId?: string | undefined;
490
- } | undefined;
486
+ parts?: any[] | undefined;
491
487
  mimeType?: string | undefined;
492
488
  headers?: {
493
489
  value: string;
494
490
  name: string;
495
491
  }[] | undefined;
496
- parts?: any[] | undefined;
492
+ body?: {
493
+ data?: string | undefined;
494
+ size?: number | undefined;
495
+ attachmentId?: string | undefined;
496
+ } | undefined;
497
497
  } | undefined;
498
498
  }[] | undefined;
499
499
  next_page_token?: string | undefined;
@@ -538,33 +538,32 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
538
538
  }>>;
539
539
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
540
540
  }, "strip", z.ZodTypeAny, {
541
- body?: {
542
- data?: string | undefined;
543
- size?: number | undefined;
544
- attachmentId?: string | undefined;
545
- } | undefined;
541
+ parts?: any[] | undefined;
546
542
  mimeType?: string | undefined;
547
543
  headers?: {
548
544
  value: string;
549
545
  name: string;
550
546
  }[] | undefined;
551
- parts?: any[] | undefined;
552
- }, {
553
547
  body?: {
554
548
  data?: string | undefined;
555
549
  size?: number | undefined;
556
550
  attachmentId?: string | undefined;
557
551
  } | undefined;
552
+ }, {
553
+ parts?: any[] | undefined;
558
554
  mimeType?: string | undefined;
559
555
  headers?: {
560
556
  value: string;
561
557
  name: string;
562
558
  }[] | undefined;
563
- parts?: any[] | undefined;
559
+ body?: {
560
+ data?: string | undefined;
561
+ size?: number | undefined;
562
+ attachmentId?: string | undefined;
563
+ } | undefined;
564
564
  }>>;
565
565
  }, "strip", z.ZodTypeAny, {
566
566
  id: string;
567
- raw?: string | undefined;
568
567
  threadId?: string | undefined;
569
568
  labelIds?: string[] | undefined;
570
569
  snippet?: string | undefined;
@@ -572,22 +571,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
572
571
  historyId?: string | undefined;
573
572
  internalDate?: string | undefined;
574
573
  sizeEstimate?: number | undefined;
574
+ raw?: string | undefined;
575
575
  payload?: {
576
- body?: {
577
- data?: string | undefined;
578
- size?: number | undefined;
579
- attachmentId?: string | undefined;
580
- } | undefined;
576
+ parts?: any[] | undefined;
581
577
  mimeType?: string | undefined;
582
578
  headers?: {
583
579
  value: string;
584
580
  name: string;
585
581
  }[] | undefined;
586
- parts?: any[] | undefined;
582
+ body?: {
583
+ data?: string | undefined;
584
+ size?: number | undefined;
585
+ attachmentId?: string | undefined;
586
+ } | undefined;
587
587
  } | undefined;
588
588
  }, {
589
589
  id: string;
590
- raw?: string | undefined;
591
590
  threadId?: string | undefined;
592
591
  labelIds?: string[] | undefined;
593
592
  snippet?: string | undefined;
@@ -595,18 +594,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
595
594
  historyId?: string | undefined;
596
595
  internalDate?: string | undefined;
597
596
  sizeEstimate?: number | undefined;
597
+ raw?: string | undefined;
598
598
  payload?: {
599
- body?: {
600
- data?: string | undefined;
601
- size?: number | undefined;
602
- attachmentId?: string | undefined;
603
- } | undefined;
599
+ parts?: any[] | undefined;
604
600
  mimeType?: string | undefined;
605
601
  headers?: {
606
602
  value: string;
607
603
  name: string;
608
604
  }[] | undefined;
609
- parts?: any[] | undefined;
605
+ body?: {
606
+ data?: string | undefined;
607
+ size?: number | undefined;
608
+ attachmentId?: string | undefined;
609
+ } | undefined;
610
610
  } | undefined;
611
611
  }>>;
612
612
  error: z.ZodString;
@@ -616,7 +616,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
616
616
  operation: "get_email";
617
617
  message?: {
618
618
  id: string;
619
- raw?: string | undefined;
620
619
  threadId?: string | undefined;
621
620
  labelIds?: string[] | undefined;
622
621
  snippet?: string | undefined;
@@ -624,18 +623,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
624
623
  historyId?: string | undefined;
625
624
  internalDate?: string | undefined;
626
625
  sizeEstimate?: number | undefined;
626
+ raw?: string | undefined;
627
627
  payload?: {
628
- body?: {
629
- data?: string | undefined;
630
- size?: number | undefined;
631
- attachmentId?: string | undefined;
632
- } | undefined;
628
+ parts?: any[] | undefined;
633
629
  mimeType?: string | undefined;
634
630
  headers?: {
635
631
  value: string;
636
632
  name: string;
637
633
  }[] | undefined;
638
- parts?: any[] | undefined;
634
+ body?: {
635
+ data?: string | undefined;
636
+ size?: number | undefined;
637
+ attachmentId?: string | undefined;
638
+ } | undefined;
639
639
  } | undefined;
640
640
  } | undefined;
641
641
  }, {
@@ -644,7 +644,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
644
644
  operation: "get_email";
645
645
  message?: {
646
646
  id: string;
647
- raw?: string | undefined;
648
647
  threadId?: string | undefined;
649
648
  labelIds?: string[] | undefined;
650
649
  snippet?: string | undefined;
@@ -652,18 +651,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
652
651
  historyId?: string | undefined;
653
652
  internalDate?: string | undefined;
654
653
  sizeEstimate?: number | undefined;
654
+ raw?: string | undefined;
655
655
  payload?: {
656
- body?: {
657
- data?: string | undefined;
658
- size?: number | undefined;
659
- attachmentId?: string | undefined;
660
- } | undefined;
656
+ parts?: any[] | undefined;
661
657
  mimeType?: string | undefined;
662
658
  headers?: {
663
659
  value: string;
664
660
  name: string;
665
661
  }[] | undefined;
666
- parts?: any[] | undefined;
662
+ body?: {
663
+ data?: string | undefined;
664
+ size?: number | undefined;
665
+ attachmentId?: string | undefined;
666
+ } | undefined;
667
667
  } | undefined;
668
668
  } | undefined;
669
669
  }>, z.ZodObject<{
@@ -706,33 +706,32 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
706
706
  }>>;
707
707
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
708
708
  }, "strip", z.ZodTypeAny, {
709
- body?: {
710
- data?: string | undefined;
711
- size?: number | undefined;
712
- attachmentId?: string | undefined;
713
- } | undefined;
709
+ parts?: any[] | undefined;
714
710
  mimeType?: string | undefined;
715
711
  headers?: {
716
712
  value: string;
717
713
  name: string;
718
714
  }[] | undefined;
719
- parts?: any[] | undefined;
720
- }, {
721
715
  body?: {
722
716
  data?: string | undefined;
723
717
  size?: number | undefined;
724
718
  attachmentId?: string | undefined;
725
719
  } | undefined;
720
+ }, {
721
+ parts?: any[] | undefined;
726
722
  mimeType?: string | undefined;
727
723
  headers?: {
728
724
  value: string;
729
725
  name: string;
730
726
  }[] | undefined;
731
- parts?: any[] | undefined;
727
+ body?: {
728
+ data?: string | undefined;
729
+ size?: number | undefined;
730
+ attachmentId?: string | undefined;
731
+ } | undefined;
732
732
  }>>;
733
733
  }, "strip", z.ZodTypeAny, {
734
734
  id: string;
735
- raw?: string | undefined;
736
735
  threadId?: string | undefined;
737
736
  labelIds?: string[] | undefined;
738
737
  snippet?: string | undefined;
@@ -740,22 +739,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
740
739
  historyId?: string | undefined;
741
740
  internalDate?: string | undefined;
742
741
  sizeEstimate?: number | undefined;
742
+ raw?: string | undefined;
743
743
  payload?: {
744
- body?: {
745
- data?: string | undefined;
746
- size?: number | undefined;
747
- attachmentId?: string | undefined;
748
- } | undefined;
744
+ parts?: any[] | undefined;
749
745
  mimeType?: string | undefined;
750
746
  headers?: {
751
747
  value: string;
752
748
  name: string;
753
749
  }[] | undefined;
754
- parts?: any[] | undefined;
750
+ body?: {
751
+ data?: string | undefined;
752
+ size?: number | undefined;
753
+ attachmentId?: string | undefined;
754
+ } | undefined;
755
755
  } | undefined;
756
756
  }, {
757
757
  id: string;
758
- raw?: string | undefined;
759
758
  threadId?: string | undefined;
760
759
  labelIds?: string[] | undefined;
761
760
  snippet?: string | undefined;
@@ -763,18 +762,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
763
762
  historyId?: string | undefined;
764
763
  internalDate?: string | undefined;
765
764
  sizeEstimate?: number | undefined;
765
+ raw?: string | undefined;
766
766
  payload?: {
767
- body?: {
768
- data?: string | undefined;
769
- size?: number | undefined;
770
- attachmentId?: string | undefined;
771
- } | undefined;
767
+ parts?: any[] | undefined;
772
768
  mimeType?: string | undefined;
773
769
  headers?: {
774
770
  value: string;
775
771
  name: string;
776
772
  }[] | undefined;
777
- parts?: any[] | undefined;
773
+ body?: {
774
+ data?: string | undefined;
775
+ size?: number | undefined;
776
+ attachmentId?: string | undefined;
777
+ } | undefined;
778
778
  } | undefined;
779
779
  }>, "many">>;
780
780
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
@@ -785,7 +785,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
785
785
  operation: "search_emails";
786
786
  messages?: {
787
787
  id: string;
788
- raw?: string | undefined;
789
788
  threadId?: string | undefined;
790
789
  labelIds?: string[] | undefined;
791
790
  snippet?: string | undefined;
@@ -793,18 +792,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
793
792
  historyId?: string | undefined;
794
793
  internalDate?: string | undefined;
795
794
  sizeEstimate?: number | undefined;
795
+ raw?: string | undefined;
796
796
  payload?: {
797
- body?: {
798
- data?: string | undefined;
799
- size?: number | undefined;
800
- attachmentId?: string | undefined;
801
- } | undefined;
797
+ parts?: any[] | undefined;
802
798
  mimeType?: string | undefined;
803
799
  headers?: {
804
800
  value: string;
805
801
  name: string;
806
802
  }[] | undefined;
807
- parts?: any[] | undefined;
803
+ body?: {
804
+ data?: string | undefined;
805
+ size?: number | undefined;
806
+ attachmentId?: string | undefined;
807
+ } | undefined;
808
808
  } | undefined;
809
809
  }[] | undefined;
810
810
  result_size_estimate?: number | undefined;
@@ -814,7 +814,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
814
814
  operation: "search_emails";
815
815
  messages?: {
816
816
  id: string;
817
- raw?: string | undefined;
818
817
  threadId?: string | undefined;
819
818
  labelIds?: string[] | undefined;
820
819
  snippet?: string | undefined;
@@ -822,18 +821,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
822
821
  historyId?: string | undefined;
823
822
  internalDate?: string | undefined;
824
823
  sizeEstimate?: number | undefined;
824
+ raw?: string | undefined;
825
825
  payload?: {
826
- body?: {
827
- data?: string | undefined;
828
- size?: number | undefined;
829
- attachmentId?: string | undefined;
830
- } | undefined;
826
+ parts?: any[] | undefined;
831
827
  mimeType?: string | undefined;
832
828
  headers?: {
833
829
  value: string;
834
830
  name: string;
835
831
  }[] | undefined;
836
- parts?: any[] | undefined;
832
+ body?: {
833
+ data?: string | undefined;
834
+ size?: number | undefined;
835
+ attachmentId?: string | undefined;
836
+ } | undefined;
837
837
  } | undefined;
838
838
  }[] | undefined;
839
839
  result_size_estimate?: number | undefined;
@@ -909,33 +909,32 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
909
909
  }>>;
910
910
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
911
911
  }, "strip", z.ZodTypeAny, {
912
- body?: {
913
- data?: string | undefined;
914
- size?: number | undefined;
915
- attachmentId?: string | undefined;
916
- } | undefined;
912
+ parts?: any[] | undefined;
917
913
  mimeType?: string | undefined;
918
914
  headers?: {
919
915
  value: string;
920
916
  name: string;
921
917
  }[] | undefined;
922
- parts?: any[] | undefined;
923
- }, {
924
918
  body?: {
925
919
  data?: string | undefined;
926
920
  size?: number | undefined;
927
921
  attachmentId?: string | undefined;
928
922
  } | undefined;
923
+ }, {
924
+ parts?: any[] | undefined;
929
925
  mimeType?: string | undefined;
930
926
  headers?: {
931
927
  value: string;
932
928
  name: string;
933
929
  }[] | undefined;
934
- parts?: any[] | undefined;
930
+ body?: {
931
+ data?: string | undefined;
932
+ size?: number | undefined;
933
+ attachmentId?: string | undefined;
934
+ } | undefined;
935
935
  }>>;
936
936
  }, "strip", z.ZodTypeAny, {
937
937
  id: string;
938
- raw?: string | undefined;
939
938
  threadId?: string | undefined;
940
939
  labelIds?: string[] | undefined;
941
940
  snippet?: string | undefined;
@@ -943,22 +942,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
943
942
  historyId?: string | undefined;
944
943
  internalDate?: string | undefined;
945
944
  sizeEstimate?: number | undefined;
945
+ raw?: string | undefined;
946
946
  payload?: {
947
- body?: {
948
- data?: string | undefined;
949
- size?: number | undefined;
950
- attachmentId?: string | undefined;
951
- } | undefined;
947
+ parts?: any[] | undefined;
952
948
  mimeType?: string | undefined;
953
949
  headers?: {
954
950
  value: string;
955
951
  name: string;
956
952
  }[] | undefined;
957
- parts?: any[] | undefined;
953
+ body?: {
954
+ data?: string | undefined;
955
+ size?: number | undefined;
956
+ attachmentId?: string | undefined;
957
+ } | undefined;
958
958
  } | undefined;
959
959
  }, {
960
960
  id: string;
961
- raw?: string | undefined;
962
961
  threadId?: string | undefined;
963
962
  labelIds?: string[] | undefined;
964
963
  snippet?: string | undefined;
@@ -966,24 +965,24 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
966
965
  historyId?: string | undefined;
967
966
  internalDate?: string | undefined;
968
967
  sizeEstimate?: number | undefined;
968
+ raw?: string | undefined;
969
969
  payload?: {
970
- body?: {
971
- data?: string | undefined;
972
- size?: number | undefined;
973
- attachmentId?: string | undefined;
974
- } | undefined;
970
+ parts?: any[] | undefined;
975
971
  mimeType?: string | undefined;
976
972
  headers?: {
977
973
  value: string;
978
974
  name: string;
979
975
  }[] | undefined;
980
- parts?: any[] | undefined;
976
+ body?: {
977
+ data?: string | undefined;
978
+ size?: number | undefined;
979
+ attachmentId?: string | undefined;
980
+ } | undefined;
981
981
  } | undefined;
982
982
  }>;
983
983
  }, "strip", z.ZodTypeAny, {
984
984
  message: {
985
985
  id: string;
986
- raw?: string | undefined;
987
986
  threadId?: string | undefined;
988
987
  labelIds?: string[] | undefined;
989
988
  snippet?: string | undefined;
@@ -991,25 +990,25 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
991
990
  historyId?: string | undefined;
992
991
  internalDate?: string | undefined;
993
992
  sizeEstimate?: number | undefined;
993
+ raw?: string | undefined;
994
994
  payload?: {
995
- body?: {
996
- data?: string | undefined;
997
- size?: number | undefined;
998
- attachmentId?: string | undefined;
999
- } | undefined;
995
+ parts?: any[] | undefined;
1000
996
  mimeType?: string | undefined;
1001
997
  headers?: {
1002
998
  value: string;
1003
999
  name: string;
1004
1000
  }[] | undefined;
1005
- parts?: any[] | undefined;
1001
+ body?: {
1002
+ data?: string | undefined;
1003
+ size?: number | undefined;
1004
+ attachmentId?: string | undefined;
1005
+ } | undefined;
1006
1006
  } | undefined;
1007
1007
  };
1008
1008
  id: string;
1009
1009
  }, {
1010
1010
  message: {
1011
1011
  id: string;
1012
- raw?: string | undefined;
1013
1012
  threadId?: string | undefined;
1014
1013
  labelIds?: string[] | undefined;
1015
1014
  snippet?: string | undefined;
@@ -1017,18 +1016,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1017
1016
  historyId?: string | undefined;
1018
1017
  internalDate?: string | undefined;
1019
1018
  sizeEstimate?: number | undefined;
1019
+ raw?: string | undefined;
1020
1020
  payload?: {
1021
- body?: {
1022
- data?: string | undefined;
1023
- size?: number | undefined;
1024
- attachmentId?: string | undefined;
1025
- } | undefined;
1021
+ parts?: any[] | undefined;
1026
1022
  mimeType?: string | undefined;
1027
1023
  headers?: {
1028
1024
  value: string;
1029
1025
  name: string;
1030
1026
  }[] | undefined;
1031
- parts?: any[] | undefined;
1027
+ body?: {
1028
+ data?: string | undefined;
1029
+ size?: number | undefined;
1030
+ attachmentId?: string | undefined;
1031
+ } | undefined;
1032
1032
  } | undefined;
1033
1033
  };
1034
1034
  id: string;
@@ -1041,7 +1041,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1041
1041
  draft?: {
1042
1042
  message: {
1043
1043
  id: string;
1044
- raw?: string | undefined;
1045
1044
  threadId?: string | undefined;
1046
1045
  labelIds?: string[] | undefined;
1047
1046
  snippet?: string | undefined;
@@ -1049,18 +1048,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1049
1048
  historyId?: string | undefined;
1050
1049
  internalDate?: string | undefined;
1051
1050
  sizeEstimate?: number | undefined;
1051
+ raw?: string | undefined;
1052
1052
  payload?: {
1053
- body?: {
1054
- data?: string | undefined;
1055
- size?: number | undefined;
1056
- attachmentId?: string | undefined;
1057
- } | undefined;
1053
+ parts?: any[] | undefined;
1058
1054
  mimeType?: string | undefined;
1059
1055
  headers?: {
1060
1056
  value: string;
1061
1057
  name: string;
1062
1058
  }[] | undefined;
1063
- parts?: any[] | undefined;
1059
+ body?: {
1060
+ data?: string | undefined;
1061
+ size?: number | undefined;
1062
+ attachmentId?: string | undefined;
1063
+ } | undefined;
1064
1064
  } | undefined;
1065
1065
  };
1066
1066
  id: string;
@@ -1072,7 +1072,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1072
1072
  draft?: {
1073
1073
  message: {
1074
1074
  id: string;
1075
- raw?: string | undefined;
1076
1075
  threadId?: string | undefined;
1077
1076
  labelIds?: string[] | undefined;
1078
1077
  snippet?: string | undefined;
@@ -1080,18 +1079,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1080
1079
  historyId?: string | undefined;
1081
1080
  internalDate?: string | undefined;
1082
1081
  sizeEstimate?: number | undefined;
1082
+ raw?: string | undefined;
1083
1083
  payload?: {
1084
- body?: {
1085
- data?: string | undefined;
1086
- size?: number | undefined;
1087
- attachmentId?: string | undefined;
1088
- } | undefined;
1084
+ parts?: any[] | undefined;
1089
1085
  mimeType?: string | undefined;
1090
1086
  headers?: {
1091
1087
  value: string;
1092
1088
  name: string;
1093
1089
  }[] | undefined;
1094
- parts?: any[] | undefined;
1090
+ body?: {
1091
+ data?: string | undefined;
1092
+ size?: number | undefined;
1093
+ attachmentId?: string | undefined;
1094
+ } | undefined;
1095
1095
  } | undefined;
1096
1096
  };
1097
1097
  id: string;
@@ -1106,14 +1106,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1106
1106
  error: string;
1107
1107
  success: boolean;
1108
1108
  operation: "send_draft";
1109
- thread_id?: string | undefined;
1110
1109
  message_id?: string | undefined;
1110
+ thread_id?: string | undefined;
1111
1111
  }, {
1112
1112
  error: string;
1113
1113
  success: boolean;
1114
1114
  operation: "send_draft";
1115
- thread_id?: string | undefined;
1116
1115
  message_id?: string | undefined;
1116
+ thread_id?: string | undefined;
1117
1117
  }>, z.ZodObject<{
1118
1118
  operation: z.ZodLiteral<"list_drafts">;
1119
1119
  success: z.ZodBoolean;
@@ -1156,33 +1156,32 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1156
1156
  }>>;
1157
1157
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1158
1158
  }, "strip", z.ZodTypeAny, {
1159
- body?: {
1160
- data?: string | undefined;
1161
- size?: number | undefined;
1162
- attachmentId?: string | undefined;
1163
- } | undefined;
1159
+ parts?: any[] | undefined;
1164
1160
  mimeType?: string | undefined;
1165
1161
  headers?: {
1166
1162
  value: string;
1167
1163
  name: string;
1168
1164
  }[] | undefined;
1169
- parts?: any[] | undefined;
1170
- }, {
1171
1165
  body?: {
1172
1166
  data?: string | undefined;
1173
1167
  size?: number | undefined;
1174
1168
  attachmentId?: string | undefined;
1175
1169
  } | undefined;
1170
+ }, {
1171
+ parts?: any[] | undefined;
1176
1172
  mimeType?: string | undefined;
1177
1173
  headers?: {
1178
1174
  value: string;
1179
1175
  name: string;
1180
1176
  }[] | undefined;
1181
- parts?: any[] | undefined;
1177
+ body?: {
1178
+ data?: string | undefined;
1179
+ size?: number | undefined;
1180
+ attachmentId?: string | undefined;
1181
+ } | undefined;
1182
1182
  }>>;
1183
1183
  }, "strip", z.ZodTypeAny, {
1184
1184
  id: string;
1185
- raw?: string | undefined;
1186
1185
  threadId?: string | undefined;
1187
1186
  labelIds?: string[] | undefined;
1188
1187
  snippet?: string | undefined;
@@ -1190,22 +1189,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1190
1189
  historyId?: string | undefined;
1191
1190
  internalDate?: string | undefined;
1192
1191
  sizeEstimate?: number | undefined;
1192
+ raw?: string | undefined;
1193
1193
  payload?: {
1194
- body?: {
1195
- data?: string | undefined;
1196
- size?: number | undefined;
1197
- attachmentId?: string | undefined;
1198
- } | undefined;
1194
+ parts?: any[] | undefined;
1199
1195
  mimeType?: string | undefined;
1200
1196
  headers?: {
1201
1197
  value: string;
1202
1198
  name: string;
1203
1199
  }[] | undefined;
1204
- parts?: any[] | undefined;
1200
+ body?: {
1201
+ data?: string | undefined;
1202
+ size?: number | undefined;
1203
+ attachmentId?: string | undefined;
1204
+ } | undefined;
1205
1205
  } | undefined;
1206
1206
  }, {
1207
1207
  id: string;
1208
- raw?: string | undefined;
1209
1208
  threadId?: string | undefined;
1210
1209
  labelIds?: string[] | undefined;
1211
1210
  snippet?: string | undefined;
@@ -1213,24 +1212,24 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1213
1212
  historyId?: string | undefined;
1214
1213
  internalDate?: string | undefined;
1215
1214
  sizeEstimate?: number | undefined;
1215
+ raw?: string | undefined;
1216
1216
  payload?: {
1217
- body?: {
1218
- data?: string | undefined;
1219
- size?: number | undefined;
1220
- attachmentId?: string | undefined;
1221
- } | undefined;
1217
+ parts?: any[] | undefined;
1222
1218
  mimeType?: string | undefined;
1223
1219
  headers?: {
1224
1220
  value: string;
1225
1221
  name: string;
1226
1222
  }[] | undefined;
1227
- parts?: any[] | undefined;
1223
+ body?: {
1224
+ data?: string | undefined;
1225
+ size?: number | undefined;
1226
+ attachmentId?: string | undefined;
1227
+ } | undefined;
1228
1228
  } | undefined;
1229
1229
  }>;
1230
1230
  }, "strip", z.ZodTypeAny, {
1231
1231
  message: {
1232
1232
  id: string;
1233
- raw?: string | undefined;
1234
1233
  threadId?: string | undefined;
1235
1234
  labelIds?: string[] | undefined;
1236
1235
  snippet?: string | undefined;
@@ -1238,25 +1237,25 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1238
1237
  historyId?: string | undefined;
1239
1238
  internalDate?: string | undefined;
1240
1239
  sizeEstimate?: number | undefined;
1240
+ raw?: string | undefined;
1241
1241
  payload?: {
1242
- body?: {
1243
- data?: string | undefined;
1244
- size?: number | undefined;
1245
- attachmentId?: string | undefined;
1246
- } | undefined;
1242
+ parts?: any[] | undefined;
1247
1243
  mimeType?: string | undefined;
1248
1244
  headers?: {
1249
1245
  value: string;
1250
1246
  name: string;
1251
1247
  }[] | undefined;
1252
- parts?: any[] | undefined;
1248
+ body?: {
1249
+ data?: string | undefined;
1250
+ size?: number | undefined;
1251
+ attachmentId?: string | undefined;
1252
+ } | undefined;
1253
1253
  } | undefined;
1254
1254
  };
1255
1255
  id: string;
1256
1256
  }, {
1257
1257
  message: {
1258
1258
  id: string;
1259
- raw?: string | undefined;
1260
1259
  threadId?: string | undefined;
1261
1260
  labelIds?: string[] | undefined;
1262
1261
  snippet?: string | undefined;
@@ -1264,18 +1263,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1264
1263
  historyId?: string | undefined;
1265
1264
  internalDate?: string | undefined;
1266
1265
  sizeEstimate?: number | undefined;
1266
+ raw?: string | undefined;
1267
1267
  payload?: {
1268
- body?: {
1269
- data?: string | undefined;
1270
- size?: number | undefined;
1271
- attachmentId?: string | undefined;
1272
- } | undefined;
1268
+ parts?: any[] | undefined;
1273
1269
  mimeType?: string | undefined;
1274
1270
  headers?: {
1275
1271
  value: string;
1276
1272
  name: string;
1277
1273
  }[] | undefined;
1278
- parts?: any[] | undefined;
1274
+ body?: {
1275
+ data?: string | undefined;
1276
+ size?: number | undefined;
1277
+ attachmentId?: string | undefined;
1278
+ } | undefined;
1279
1279
  } | undefined;
1280
1280
  };
1281
1281
  id: string;
@@ -1292,7 +1292,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1292
1292
  drafts?: {
1293
1293
  message: {
1294
1294
  id: string;
1295
- raw?: string | undefined;
1296
1295
  threadId?: string | undefined;
1297
1296
  labelIds?: string[] | undefined;
1298
1297
  snippet?: string | undefined;
@@ -1300,18 +1299,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1300
1299
  historyId?: string | undefined;
1301
1300
  internalDate?: string | undefined;
1302
1301
  sizeEstimate?: number | undefined;
1302
+ raw?: string | undefined;
1303
1303
  payload?: {
1304
- body?: {
1305
- data?: string | undefined;
1306
- size?: number | undefined;
1307
- attachmentId?: string | undefined;
1308
- } | undefined;
1304
+ parts?: any[] | undefined;
1309
1305
  mimeType?: string | undefined;
1310
1306
  headers?: {
1311
1307
  value: string;
1312
1308
  name: string;
1313
1309
  }[] | undefined;
1314
- parts?: any[] | undefined;
1310
+ body?: {
1311
+ data?: string | undefined;
1312
+ size?: number | undefined;
1313
+ attachmentId?: string | undefined;
1314
+ } | undefined;
1315
1315
  } | undefined;
1316
1316
  };
1317
1317
  id: string;
@@ -1325,7 +1325,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1325
1325
  drafts?: {
1326
1326
  message: {
1327
1327
  id: string;
1328
- raw?: string | undefined;
1329
1328
  threadId?: string | undefined;
1330
1329
  labelIds?: string[] | undefined;
1331
1330
  snippet?: string | undefined;
@@ -1333,18 +1332,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1333
1332
  historyId?: string | undefined;
1334
1333
  internalDate?: string | undefined;
1335
1334
  sizeEstimate?: number | undefined;
1335
+ raw?: string | undefined;
1336
1336
  payload?: {
1337
- body?: {
1338
- data?: string | undefined;
1339
- size?: number | undefined;
1340
- attachmentId?: string | undefined;
1341
- } | undefined;
1337
+ parts?: any[] | undefined;
1342
1338
  mimeType?: string | undefined;
1343
1339
  headers?: {
1344
1340
  value: string;
1345
1341
  name: string;
1346
1342
  }[] | undefined;
1347
- parts?: any[] | undefined;
1343
+ body?: {
1344
+ data?: string | undefined;
1345
+ size?: number | undefined;
1346
+ attachmentId?: string | undefined;
1347
+ } | undefined;
1348
1348
  } | undefined;
1349
1349
  };
1350
1350
  id: string;
@@ -1422,33 +1422,32 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1422
1422
  }>>;
1423
1423
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1424
1424
  }, "strip", z.ZodTypeAny, {
1425
- body?: {
1426
- data?: string | undefined;
1427
- size?: number | undefined;
1428
- attachmentId?: string | undefined;
1429
- } | undefined;
1425
+ parts?: any[] | undefined;
1430
1426
  mimeType?: string | undefined;
1431
1427
  headers?: {
1432
1428
  value: string;
1433
1429
  name: string;
1434
1430
  }[] | undefined;
1435
- parts?: any[] | undefined;
1436
- }, {
1437
1431
  body?: {
1438
1432
  data?: string | undefined;
1439
1433
  size?: number | undefined;
1440
1434
  attachmentId?: string | undefined;
1441
1435
  } | undefined;
1436
+ }, {
1437
+ parts?: any[] | undefined;
1442
1438
  mimeType?: string | undefined;
1443
1439
  headers?: {
1444
1440
  value: string;
1445
1441
  name: string;
1446
1442
  }[] | undefined;
1447
- parts?: any[] | undefined;
1443
+ body?: {
1444
+ data?: string | undefined;
1445
+ size?: number | undefined;
1446
+ attachmentId?: string | undefined;
1447
+ } | undefined;
1448
1448
  }>>;
1449
1449
  }, "strip", z.ZodTypeAny, {
1450
1450
  id: string;
1451
- raw?: string | undefined;
1452
1451
  threadId?: string | undefined;
1453
1452
  labelIds?: string[] | undefined;
1454
1453
  snippet?: string | undefined;
@@ -1456,22 +1455,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1456
1455
  historyId?: string | undefined;
1457
1456
  internalDate?: string | undefined;
1458
1457
  sizeEstimate?: number | undefined;
1458
+ raw?: string | undefined;
1459
1459
  payload?: {
1460
- body?: {
1461
- data?: string | undefined;
1462
- size?: number | undefined;
1463
- attachmentId?: string | undefined;
1464
- } | undefined;
1460
+ parts?: any[] | undefined;
1465
1461
  mimeType?: string | undefined;
1466
1462
  headers?: {
1467
1463
  value: string;
1468
1464
  name: string;
1469
1465
  }[] | undefined;
1470
- parts?: any[] | undefined;
1466
+ body?: {
1467
+ data?: string | undefined;
1468
+ size?: number | undefined;
1469
+ attachmentId?: string | undefined;
1470
+ } | undefined;
1471
1471
  } | undefined;
1472
1472
  }, {
1473
1473
  id: string;
1474
- raw?: string | undefined;
1475
1474
  threadId?: string | undefined;
1476
1475
  labelIds?: string[] | undefined;
1477
1476
  snippet?: string | undefined;
@@ -1479,18 +1478,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1479
1478
  historyId?: string | undefined;
1480
1479
  internalDate?: string | undefined;
1481
1480
  sizeEstimate?: number | undefined;
1481
+ raw?: string | undefined;
1482
1482
  payload?: {
1483
- body?: {
1484
- data?: string | undefined;
1485
- size?: number | undefined;
1486
- attachmentId?: string | undefined;
1487
- } | undefined;
1483
+ parts?: any[] | undefined;
1488
1484
  mimeType?: string | undefined;
1489
1485
  headers?: {
1490
1486
  value: string;
1491
1487
  name: string;
1492
1488
  }[] | undefined;
1493
- parts?: any[] | undefined;
1489
+ body?: {
1490
+ data?: string | undefined;
1491
+ size?: number | undefined;
1492
+ attachmentId?: string | undefined;
1493
+ } | undefined;
1494
1494
  } | undefined;
1495
1495
  }>, "many">>;
1496
1496
  snippet: z.ZodOptional<z.ZodString>;
@@ -1498,7 +1498,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1498
1498
  id: string;
1499
1499
  messages?: {
1500
1500
  id: string;
1501
- raw?: string | undefined;
1502
1501
  threadId?: string | undefined;
1503
1502
  labelIds?: string[] | undefined;
1504
1503
  snippet?: string | undefined;
@@ -1506,18 +1505,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1506
1505
  historyId?: string | undefined;
1507
1506
  internalDate?: string | undefined;
1508
1507
  sizeEstimate?: number | undefined;
1508
+ raw?: string | undefined;
1509
1509
  payload?: {
1510
- body?: {
1511
- data?: string | undefined;
1512
- size?: number | undefined;
1513
- attachmentId?: string | undefined;
1514
- } | undefined;
1510
+ parts?: any[] | undefined;
1515
1511
  mimeType?: string | undefined;
1516
1512
  headers?: {
1517
1513
  value: string;
1518
1514
  name: string;
1519
1515
  }[] | undefined;
1520
- parts?: any[] | undefined;
1516
+ body?: {
1517
+ data?: string | undefined;
1518
+ size?: number | undefined;
1519
+ attachmentId?: string | undefined;
1520
+ } | undefined;
1521
1521
  } | undefined;
1522
1522
  }[] | undefined;
1523
1523
  snippet?: string | undefined;
@@ -1526,7 +1526,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1526
1526
  id: string;
1527
1527
  messages?: {
1528
1528
  id: string;
1529
- raw?: string | undefined;
1530
1529
  threadId?: string | undefined;
1531
1530
  labelIds?: string[] | undefined;
1532
1531
  snippet?: string | undefined;
@@ -1534,18 +1533,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1534
1533
  historyId?: string | undefined;
1535
1534
  internalDate?: string | undefined;
1536
1535
  sizeEstimate?: number | undefined;
1536
+ raw?: string | undefined;
1537
1537
  payload?: {
1538
- body?: {
1539
- data?: string | undefined;
1540
- size?: number | undefined;
1541
- attachmentId?: string | undefined;
1542
- } | undefined;
1538
+ parts?: any[] | undefined;
1543
1539
  mimeType?: string | undefined;
1544
1540
  headers?: {
1545
1541
  value: string;
1546
1542
  name: string;
1547
1543
  }[] | undefined;
1548
- parts?: any[] | undefined;
1544
+ body?: {
1545
+ data?: string | undefined;
1546
+ size?: number | undefined;
1547
+ attachmentId?: string | undefined;
1548
+ } | undefined;
1549
1549
  } | undefined;
1550
1550
  }[] | undefined;
1551
1551
  snippet?: string | undefined;
@@ -1564,7 +1564,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1564
1564
  id: string;
1565
1565
  messages?: {
1566
1566
  id: string;
1567
- raw?: string | undefined;
1568
1567
  threadId?: string | undefined;
1569
1568
  labelIds?: string[] | undefined;
1570
1569
  snippet?: string | undefined;
@@ -1572,21 +1571,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1572
1571
  historyId?: string | undefined;
1573
1572
  internalDate?: string | undefined;
1574
1573
  sizeEstimate?: number | undefined;
1574
+ raw?: string | undefined;
1575
1575
  payload?: {
1576
- body?: {
1577
- data?: string | undefined;
1578
- size?: number | undefined;
1579
- attachmentId?: string | undefined;
1580
- } | undefined;
1576
+ parts?: any[] | undefined;
1581
1577
  mimeType?: string | undefined;
1582
1578
  headers?: {
1583
1579
  value: string;
1584
1580
  name: string;
1585
1581
  }[] | undefined;
1586
- parts?: any[] | undefined;
1587
- } | undefined;
1588
- }[] | undefined;
1589
- snippet?: string | undefined;
1582
+ body?: {
1583
+ data?: string | undefined;
1584
+ size?: number | undefined;
1585
+ attachmentId?: string | undefined;
1586
+ } | undefined;
1587
+ } | undefined;
1588
+ }[] | undefined;
1589
+ snippet?: string | undefined;
1590
1590
  historyId?: string | undefined;
1591
1591
  }[] | undefined;
1592
1592
  }, {
@@ -1599,7 +1599,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1599
1599
  id: string;
1600
1600
  messages?: {
1601
1601
  id: string;
1602
- raw?: string | undefined;
1603
1602
  threadId?: string | undefined;
1604
1603
  labelIds?: string[] | undefined;
1605
1604
  snippet?: string | undefined;
@@ -1607,18 +1606,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1607
1606
  historyId?: string | undefined;
1608
1607
  internalDate?: string | undefined;
1609
1608
  sizeEstimate?: number | undefined;
1609
+ raw?: string | undefined;
1610
1610
  payload?: {
1611
- body?: {
1612
- data?: string | undefined;
1613
- size?: number | undefined;
1614
- attachmentId?: string | undefined;
1615
- } | undefined;
1611
+ parts?: any[] | undefined;
1616
1612
  mimeType?: string | undefined;
1617
1613
  headers?: {
1618
1614
  value: string;
1619
1615
  name: string;
1620
1616
  }[] | undefined;
1621
- parts?: any[] | undefined;
1617
+ body?: {
1618
+ data?: string | undefined;
1619
+ size?: number | undefined;
1620
+ attachmentId?: string | undefined;
1621
+ } | undefined;
1622
1622
  } | undefined;
1623
1623
  }[] | undefined;
1624
1624
  snippet?: string | undefined;
@@ -1636,13 +1636,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1636
1636
  }, "strip", z.ZodTypeAny, {
1637
1637
  name: string;
1638
1638
  id: string;
1639
- type?: "user" | "system" | undefined;
1639
+ type?: "system" | "user" | undefined;
1640
1640
  messageListVisibility?: "show" | "hide" | undefined;
1641
1641
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1642
1642
  }, {
1643
1643
  name: string;
1644
1644
  id: string;
1645
- type?: "user" | "system" | undefined;
1645
+ type?: "system" | "user" | undefined;
1646
1646
  messageListVisibility?: "show" | "hide" | undefined;
1647
1647
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1648
1648
  }>, "many">>;
@@ -1654,7 +1654,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1654
1654
  labels?: {
1655
1655
  name: string;
1656
1656
  id: string;
1657
- type?: "user" | "system" | undefined;
1657
+ type?: "system" | "user" | undefined;
1658
1658
  messageListVisibility?: "show" | "hide" | undefined;
1659
1659
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1660
1660
  }[] | undefined;
@@ -1665,7 +1665,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1665
1665
  labels?: {
1666
1666
  name: string;
1667
1667
  id: string;
1668
- type?: "user" | "system" | undefined;
1668
+ type?: "system" | "user" | undefined;
1669
1669
  messageListVisibility?: "show" | "hide" | undefined;
1670
1670
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1671
1671
  }[] | undefined;
@@ -1681,13 +1681,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1681
1681
  }, "strip", z.ZodTypeAny, {
1682
1682
  name: string;
1683
1683
  id: string;
1684
- type?: "user" | "system" | undefined;
1684
+ type?: "system" | "user" | undefined;
1685
1685
  messageListVisibility?: "show" | "hide" | undefined;
1686
1686
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1687
1687
  }, {
1688
1688
  name: string;
1689
1689
  id: string;
1690
- type?: "user" | "system" | undefined;
1690
+ type?: "system" | "user" | undefined;
1691
1691
  messageListVisibility?: "show" | "hide" | undefined;
1692
1692
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1693
1693
  }>>;
@@ -1699,7 +1699,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1699
1699
  label?: {
1700
1700
  name: string;
1701
1701
  id: string;
1702
- type?: "user" | "system" | undefined;
1702
+ type?: "system" | "user" | undefined;
1703
1703
  messageListVisibility?: "show" | "hide" | undefined;
1704
1704
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1705
1705
  } | undefined;
@@ -1710,7 +1710,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1710
1710
  label?: {
1711
1711
  name: string;
1712
1712
  id: string;
1713
- type?: "user" | "system" | undefined;
1713
+ type?: "system" | "user" | undefined;
1714
1714
  messageListVisibility?: "show" | "hide" | undefined;
1715
1715
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1716
1716
  } | undefined;
@@ -1724,14 +1724,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1724
1724
  error: string;
1725
1725
  success: boolean;
1726
1726
  operation: "modify_message_labels";
1727
- label_ids?: string[] | undefined;
1728
1727
  message_id?: string | undefined;
1728
+ label_ids?: string[] | undefined;
1729
1729
  }, {
1730
1730
  error: string;
1731
1731
  success: boolean;
1732
1732
  operation: "modify_message_labels";
1733
- label_ids?: string[] | undefined;
1734
1733
  message_id?: string | undefined;
1734
+ label_ids?: string[] | undefined;
1735
1735
  }>, z.ZodObject<{
1736
1736
  operation: z.ZodLiteral<"modify_thread_labels">;
1737
1737
  success: z.ZodBoolean;
@@ -1828,7 +1828,7 @@ 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: "metadata" | "minimal" | "full" | "raw";
1831
+ format: "metadata" | "minimal" | "raw" | "full";
1832
1832
  operation: "get_email";
1833
1833
  message_id: string;
1834
1834
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -1836,7 +1836,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1836
1836
  }, {
1837
1837
  operation: "get_email";
1838
1838
  message_id: string;
1839
- format?: "metadata" | "minimal" | "full" | "raw" | undefined;
1839
+ format?: "metadata" | "minimal" | "raw" | "full" | undefined;
1840
1840
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1841
1841
  metadata_headers?: string[] | undefined;
1842
1842
  }>, z.ZodObject<{
@@ -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
- operation: "search_emails";
1850
1849
  query: string;
1850
+ operation: "search_emails";
1851
1851
  max_results: number;
1852
1852
  include_spam_trash: boolean;
1853
1853
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1854
1854
  }, {
1855
- operation: "search_emails";
1856
1855
  query: string;
1856
+ operation: "search_emails";
1857
1857
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1858
1858
  max_results?: number | undefined;
1859
1859
  include_spam_trash?: boolean | undefined;
@@ -2075,14 +2075,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2075
2075
  error: string;
2076
2076
  success: boolean;
2077
2077
  operation: "send_email";
2078
- thread_id?: string | undefined;
2079
2078
  message_id?: string | undefined;
2079
+ thread_id?: string | undefined;
2080
2080
  }, {
2081
2081
  error: string;
2082
2082
  success: boolean;
2083
2083
  operation: "send_email";
2084
- thread_id?: string | undefined;
2085
2084
  message_id?: string | undefined;
2085
+ thread_id?: string | undefined;
2086
2086
  }>, z.ZodObject<{
2087
2087
  operation: z.ZodLiteral<"list_emails">;
2088
2088
  success: z.ZodBoolean;
@@ -2123,33 +2123,32 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2123
2123
  }>>;
2124
2124
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2125
2125
  }, "strip", z.ZodTypeAny, {
2126
- body?: {
2127
- data?: string | undefined;
2128
- size?: number | undefined;
2129
- attachmentId?: string | undefined;
2130
- } | undefined;
2126
+ parts?: any[] | undefined;
2131
2127
  mimeType?: string | undefined;
2132
2128
  headers?: {
2133
2129
  value: string;
2134
2130
  name: string;
2135
2131
  }[] | undefined;
2136
- parts?: any[] | undefined;
2137
- }, {
2138
2132
  body?: {
2139
2133
  data?: string | undefined;
2140
2134
  size?: number | undefined;
2141
2135
  attachmentId?: string | undefined;
2142
2136
  } | undefined;
2137
+ }, {
2138
+ parts?: any[] | undefined;
2143
2139
  mimeType?: string | undefined;
2144
2140
  headers?: {
2145
2141
  value: string;
2146
2142
  name: string;
2147
2143
  }[] | undefined;
2148
- parts?: any[] | undefined;
2144
+ body?: {
2145
+ data?: string | undefined;
2146
+ size?: number | undefined;
2147
+ attachmentId?: string | undefined;
2148
+ } | undefined;
2149
2149
  }>>;
2150
2150
  }, "strip", z.ZodTypeAny, {
2151
2151
  id: string;
2152
- raw?: string | undefined;
2153
2152
  threadId?: string | undefined;
2154
2153
  labelIds?: string[] | undefined;
2155
2154
  snippet?: string | undefined;
@@ -2157,22 +2156,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2157
2156
  historyId?: string | undefined;
2158
2157
  internalDate?: string | undefined;
2159
2158
  sizeEstimate?: number | undefined;
2159
+ raw?: string | undefined;
2160
2160
  payload?: {
2161
- body?: {
2162
- data?: string | undefined;
2163
- size?: number | undefined;
2164
- attachmentId?: string | undefined;
2165
- } | undefined;
2161
+ parts?: any[] | undefined;
2166
2162
  mimeType?: string | undefined;
2167
2163
  headers?: {
2168
2164
  value: string;
2169
2165
  name: string;
2170
2166
  }[] | undefined;
2171
- parts?: any[] | undefined;
2167
+ body?: {
2168
+ data?: string | undefined;
2169
+ size?: number | undefined;
2170
+ attachmentId?: string | undefined;
2171
+ } | undefined;
2172
2172
  } | undefined;
2173
2173
  }, {
2174
2174
  id: string;
2175
- raw?: string | undefined;
2176
2175
  threadId?: string | undefined;
2177
2176
  labelIds?: string[] | undefined;
2178
2177
  snippet?: string | undefined;
@@ -2180,18 +2179,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2180
2179
  historyId?: string | undefined;
2181
2180
  internalDate?: string | undefined;
2182
2181
  sizeEstimate?: number | undefined;
2182
+ raw?: string | undefined;
2183
2183
  payload?: {
2184
- body?: {
2185
- data?: string | undefined;
2186
- size?: number | undefined;
2187
- attachmentId?: string | undefined;
2188
- } | undefined;
2184
+ parts?: any[] | undefined;
2189
2185
  mimeType?: string | undefined;
2190
2186
  headers?: {
2191
2187
  value: string;
2192
2188
  name: string;
2193
2189
  }[] | undefined;
2194
- parts?: any[] | undefined;
2190
+ body?: {
2191
+ data?: string | undefined;
2192
+ size?: number | undefined;
2193
+ attachmentId?: string | undefined;
2194
+ } | undefined;
2195
2195
  } | undefined;
2196
2196
  }>, "many">>;
2197
2197
  next_page_token: z.ZodOptional<z.ZodString>;
@@ -2203,7 +2203,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2203
2203
  operation: "list_emails";
2204
2204
  messages?: {
2205
2205
  id: string;
2206
- raw?: string | undefined;
2207
2206
  threadId?: string | undefined;
2208
2207
  labelIds?: string[] | undefined;
2209
2208
  snippet?: string | undefined;
@@ -2211,18 +2210,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2211
2210
  historyId?: string | undefined;
2212
2211
  internalDate?: string | undefined;
2213
2212
  sizeEstimate?: number | undefined;
2213
+ raw?: string | undefined;
2214
2214
  payload?: {
2215
- body?: {
2216
- data?: string | undefined;
2217
- size?: number | undefined;
2218
- attachmentId?: string | undefined;
2219
- } | undefined;
2215
+ parts?: any[] | undefined;
2220
2216
  mimeType?: string | undefined;
2221
2217
  headers?: {
2222
2218
  value: string;
2223
2219
  name: string;
2224
2220
  }[] | undefined;
2225
- parts?: any[] | undefined;
2221
+ body?: {
2222
+ data?: string | undefined;
2223
+ size?: number | undefined;
2224
+ attachmentId?: string | undefined;
2225
+ } | undefined;
2226
2226
  } | undefined;
2227
2227
  }[] | undefined;
2228
2228
  next_page_token?: string | undefined;
@@ -2233,7 +2233,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2233
2233
  operation: "list_emails";
2234
2234
  messages?: {
2235
2235
  id: string;
2236
- raw?: string | undefined;
2237
2236
  threadId?: string | undefined;
2238
2237
  labelIds?: string[] | undefined;
2239
2238
  snippet?: string | undefined;
@@ -2241,18 +2240,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2241
2240
  historyId?: string | undefined;
2242
2241
  internalDate?: string | undefined;
2243
2242
  sizeEstimate?: number | undefined;
2243
+ raw?: string | undefined;
2244
2244
  payload?: {
2245
- body?: {
2246
- data?: string | undefined;
2247
- size?: number | undefined;
2248
- attachmentId?: string | undefined;
2249
- } | undefined;
2245
+ parts?: any[] | undefined;
2250
2246
  mimeType?: string | undefined;
2251
2247
  headers?: {
2252
2248
  value: string;
2253
2249
  name: string;
2254
2250
  }[] | undefined;
2255
- parts?: any[] | undefined;
2251
+ body?: {
2252
+ data?: string | undefined;
2253
+ size?: number | undefined;
2254
+ attachmentId?: string | undefined;
2255
+ } | undefined;
2256
2256
  } | undefined;
2257
2257
  }[] | undefined;
2258
2258
  next_page_token?: string | undefined;
@@ -2297,33 +2297,32 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2297
2297
  }>>;
2298
2298
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2299
2299
  }, "strip", z.ZodTypeAny, {
2300
- body?: {
2301
- data?: string | undefined;
2302
- size?: number | undefined;
2303
- attachmentId?: string | undefined;
2304
- } | undefined;
2300
+ parts?: any[] | undefined;
2305
2301
  mimeType?: string | undefined;
2306
2302
  headers?: {
2307
2303
  value: string;
2308
2304
  name: string;
2309
2305
  }[] | undefined;
2310
- parts?: any[] | undefined;
2311
- }, {
2312
2306
  body?: {
2313
2307
  data?: string | undefined;
2314
2308
  size?: number | undefined;
2315
2309
  attachmentId?: string | undefined;
2316
2310
  } | undefined;
2311
+ }, {
2312
+ parts?: any[] | undefined;
2317
2313
  mimeType?: string | undefined;
2318
2314
  headers?: {
2319
2315
  value: string;
2320
2316
  name: string;
2321
2317
  }[] | undefined;
2322
- parts?: any[] | undefined;
2318
+ body?: {
2319
+ data?: string | undefined;
2320
+ size?: number | undefined;
2321
+ attachmentId?: string | undefined;
2322
+ } | undefined;
2323
2323
  }>>;
2324
2324
  }, "strip", z.ZodTypeAny, {
2325
2325
  id: string;
2326
- raw?: string | undefined;
2327
2326
  threadId?: string | undefined;
2328
2327
  labelIds?: string[] | undefined;
2329
2328
  snippet?: string | undefined;
@@ -2331,22 +2330,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2331
2330
  historyId?: string | undefined;
2332
2331
  internalDate?: string | undefined;
2333
2332
  sizeEstimate?: number | undefined;
2333
+ raw?: string | undefined;
2334
2334
  payload?: {
2335
- body?: {
2336
- data?: string | undefined;
2337
- size?: number | undefined;
2338
- attachmentId?: string | undefined;
2339
- } | undefined;
2335
+ parts?: any[] | undefined;
2340
2336
  mimeType?: string | undefined;
2341
2337
  headers?: {
2342
2338
  value: string;
2343
2339
  name: string;
2344
2340
  }[] | undefined;
2345
- parts?: any[] | undefined;
2341
+ body?: {
2342
+ data?: string | undefined;
2343
+ size?: number | undefined;
2344
+ attachmentId?: string | undefined;
2345
+ } | undefined;
2346
2346
  } | undefined;
2347
2347
  }, {
2348
2348
  id: string;
2349
- raw?: string | undefined;
2350
2349
  threadId?: string | undefined;
2351
2350
  labelIds?: string[] | undefined;
2352
2351
  snippet?: string | undefined;
@@ -2354,18 +2353,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2354
2353
  historyId?: string | undefined;
2355
2354
  internalDate?: string | undefined;
2356
2355
  sizeEstimate?: number | undefined;
2356
+ raw?: string | undefined;
2357
2357
  payload?: {
2358
- body?: {
2359
- data?: string | undefined;
2360
- size?: number | undefined;
2361
- attachmentId?: string | undefined;
2362
- } | undefined;
2358
+ parts?: any[] | undefined;
2363
2359
  mimeType?: string | undefined;
2364
2360
  headers?: {
2365
2361
  value: string;
2366
2362
  name: string;
2367
2363
  }[] | undefined;
2368
- parts?: any[] | undefined;
2364
+ body?: {
2365
+ data?: string | undefined;
2366
+ size?: number | undefined;
2367
+ attachmentId?: string | undefined;
2368
+ } | undefined;
2369
2369
  } | undefined;
2370
2370
  }>>;
2371
2371
  error: z.ZodString;
@@ -2375,7 +2375,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2375
2375
  operation: "get_email";
2376
2376
  message?: {
2377
2377
  id: string;
2378
- raw?: string | undefined;
2379
2378
  threadId?: string | undefined;
2380
2379
  labelIds?: string[] | undefined;
2381
2380
  snippet?: string | undefined;
@@ -2383,18 +2382,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2383
2382
  historyId?: string | undefined;
2384
2383
  internalDate?: string | undefined;
2385
2384
  sizeEstimate?: number | undefined;
2385
+ raw?: string | undefined;
2386
2386
  payload?: {
2387
- body?: {
2388
- data?: string | undefined;
2389
- size?: number | undefined;
2390
- attachmentId?: string | undefined;
2391
- } | undefined;
2387
+ parts?: any[] | undefined;
2392
2388
  mimeType?: string | undefined;
2393
2389
  headers?: {
2394
2390
  value: string;
2395
2391
  name: string;
2396
2392
  }[] | undefined;
2397
- parts?: any[] | undefined;
2393
+ body?: {
2394
+ data?: string | undefined;
2395
+ size?: number | undefined;
2396
+ attachmentId?: string | undefined;
2397
+ } | undefined;
2398
2398
  } | undefined;
2399
2399
  } | undefined;
2400
2400
  }, {
@@ -2403,7 +2403,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2403
2403
  operation: "get_email";
2404
2404
  message?: {
2405
2405
  id: string;
2406
- raw?: string | undefined;
2407
2406
  threadId?: string | undefined;
2408
2407
  labelIds?: string[] | undefined;
2409
2408
  snippet?: string | undefined;
@@ -2411,18 +2410,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2411
2410
  historyId?: string | undefined;
2412
2411
  internalDate?: string | undefined;
2413
2412
  sizeEstimate?: number | undefined;
2413
+ raw?: string | undefined;
2414
2414
  payload?: {
2415
- body?: {
2416
- data?: string | undefined;
2417
- size?: number | undefined;
2418
- attachmentId?: string | undefined;
2419
- } | undefined;
2415
+ parts?: any[] | undefined;
2420
2416
  mimeType?: string | undefined;
2421
2417
  headers?: {
2422
2418
  value: string;
2423
2419
  name: string;
2424
2420
  }[] | undefined;
2425
- parts?: any[] | undefined;
2421
+ body?: {
2422
+ data?: string | undefined;
2423
+ size?: number | undefined;
2424
+ attachmentId?: string | undefined;
2425
+ } | undefined;
2426
2426
  } | undefined;
2427
2427
  } | undefined;
2428
2428
  }>, z.ZodObject<{
@@ -2465,33 +2465,32 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2465
2465
  }>>;
2466
2466
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2467
2467
  }, "strip", z.ZodTypeAny, {
2468
- body?: {
2469
- data?: string | undefined;
2470
- size?: number | undefined;
2471
- attachmentId?: string | undefined;
2472
- } | undefined;
2468
+ parts?: any[] | undefined;
2473
2469
  mimeType?: string | undefined;
2474
2470
  headers?: {
2475
2471
  value: string;
2476
2472
  name: string;
2477
2473
  }[] | undefined;
2478
- parts?: any[] | undefined;
2479
- }, {
2480
2474
  body?: {
2481
2475
  data?: string | undefined;
2482
2476
  size?: number | undefined;
2483
2477
  attachmentId?: string | undefined;
2484
2478
  } | undefined;
2479
+ }, {
2480
+ parts?: any[] | undefined;
2485
2481
  mimeType?: string | undefined;
2486
2482
  headers?: {
2487
2483
  value: string;
2488
2484
  name: string;
2489
2485
  }[] | undefined;
2490
- parts?: any[] | undefined;
2486
+ body?: {
2487
+ data?: string | undefined;
2488
+ size?: number | undefined;
2489
+ attachmentId?: string | undefined;
2490
+ } | undefined;
2491
2491
  }>>;
2492
2492
  }, "strip", z.ZodTypeAny, {
2493
2493
  id: string;
2494
- raw?: string | undefined;
2495
2494
  threadId?: string | undefined;
2496
2495
  labelIds?: string[] | undefined;
2497
2496
  snippet?: string | undefined;
@@ -2499,22 +2498,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2499
2498
  historyId?: string | undefined;
2500
2499
  internalDate?: string | undefined;
2501
2500
  sizeEstimate?: number | undefined;
2501
+ raw?: string | undefined;
2502
2502
  payload?: {
2503
- body?: {
2504
- data?: string | undefined;
2505
- size?: number | undefined;
2506
- attachmentId?: string | undefined;
2507
- } | undefined;
2503
+ parts?: any[] | undefined;
2508
2504
  mimeType?: string | undefined;
2509
2505
  headers?: {
2510
2506
  value: string;
2511
2507
  name: string;
2512
2508
  }[] | undefined;
2513
- parts?: any[] | undefined;
2509
+ body?: {
2510
+ data?: string | undefined;
2511
+ size?: number | undefined;
2512
+ attachmentId?: string | undefined;
2513
+ } | undefined;
2514
2514
  } | undefined;
2515
2515
  }, {
2516
2516
  id: string;
2517
- raw?: string | undefined;
2518
2517
  threadId?: string | undefined;
2519
2518
  labelIds?: string[] | undefined;
2520
2519
  snippet?: string | undefined;
@@ -2522,18 +2521,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2522
2521
  historyId?: string | undefined;
2523
2522
  internalDate?: string | undefined;
2524
2523
  sizeEstimate?: number | undefined;
2524
+ raw?: string | undefined;
2525
2525
  payload?: {
2526
- body?: {
2527
- data?: string | undefined;
2528
- size?: number | undefined;
2529
- attachmentId?: string | undefined;
2530
- } | undefined;
2526
+ parts?: any[] | undefined;
2531
2527
  mimeType?: string | undefined;
2532
2528
  headers?: {
2533
2529
  value: string;
2534
2530
  name: string;
2535
2531
  }[] | undefined;
2536
- parts?: any[] | undefined;
2532
+ body?: {
2533
+ data?: string | undefined;
2534
+ size?: number | undefined;
2535
+ attachmentId?: string | undefined;
2536
+ } | undefined;
2537
2537
  } | undefined;
2538
2538
  }>, "many">>;
2539
2539
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
@@ -2544,7 +2544,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2544
2544
  operation: "search_emails";
2545
2545
  messages?: {
2546
2546
  id: string;
2547
- raw?: string | undefined;
2548
2547
  threadId?: string | undefined;
2549
2548
  labelIds?: string[] | undefined;
2550
2549
  snippet?: string | undefined;
@@ -2552,18 +2551,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2552
2551
  historyId?: string | undefined;
2553
2552
  internalDate?: string | undefined;
2554
2553
  sizeEstimate?: number | undefined;
2554
+ raw?: string | undefined;
2555
2555
  payload?: {
2556
- body?: {
2557
- data?: string | undefined;
2558
- size?: number | undefined;
2559
- attachmentId?: string | undefined;
2560
- } | undefined;
2556
+ parts?: any[] | undefined;
2561
2557
  mimeType?: string | undefined;
2562
2558
  headers?: {
2563
2559
  value: string;
2564
2560
  name: string;
2565
2561
  }[] | undefined;
2566
- parts?: any[] | undefined;
2562
+ body?: {
2563
+ data?: string | undefined;
2564
+ size?: number | undefined;
2565
+ attachmentId?: string | undefined;
2566
+ } | undefined;
2567
2567
  } | undefined;
2568
2568
  }[] | undefined;
2569
2569
  result_size_estimate?: number | undefined;
@@ -2573,7 +2573,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2573
2573
  operation: "search_emails";
2574
2574
  messages?: {
2575
2575
  id: string;
2576
- raw?: string | undefined;
2577
2576
  threadId?: string | undefined;
2578
2577
  labelIds?: string[] | undefined;
2579
2578
  snippet?: string | undefined;
@@ -2581,18 +2580,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2581
2580
  historyId?: string | undefined;
2582
2581
  internalDate?: string | undefined;
2583
2582
  sizeEstimate?: number | undefined;
2583
+ raw?: string | undefined;
2584
2584
  payload?: {
2585
- body?: {
2586
- data?: string | undefined;
2587
- size?: number | undefined;
2588
- attachmentId?: string | undefined;
2589
- } | undefined;
2585
+ parts?: any[] | undefined;
2590
2586
  mimeType?: string | undefined;
2591
2587
  headers?: {
2592
2588
  value: string;
2593
2589
  name: string;
2594
2590
  }[] | undefined;
2595
- parts?: any[] | undefined;
2591
+ body?: {
2592
+ data?: string | undefined;
2593
+ size?: number | undefined;
2594
+ attachmentId?: string | undefined;
2595
+ } | undefined;
2596
2596
  } | undefined;
2597
2597
  }[] | undefined;
2598
2598
  result_size_estimate?: number | undefined;
@@ -2668,33 +2668,32 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2668
2668
  }>>;
2669
2669
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
- body?: {
2672
- data?: string | undefined;
2673
- size?: number | undefined;
2674
- attachmentId?: string | undefined;
2675
- } | undefined;
2671
+ parts?: any[] | undefined;
2676
2672
  mimeType?: string | undefined;
2677
2673
  headers?: {
2678
2674
  value: string;
2679
2675
  name: string;
2680
2676
  }[] | undefined;
2681
- parts?: any[] | undefined;
2682
- }, {
2683
2677
  body?: {
2684
2678
  data?: string | undefined;
2685
2679
  size?: number | undefined;
2686
2680
  attachmentId?: string | undefined;
2687
2681
  } | undefined;
2682
+ }, {
2683
+ parts?: any[] | undefined;
2688
2684
  mimeType?: string | undefined;
2689
2685
  headers?: {
2690
2686
  value: string;
2691
2687
  name: string;
2692
2688
  }[] | undefined;
2693
- parts?: any[] | undefined;
2689
+ body?: {
2690
+ data?: string | undefined;
2691
+ size?: number | undefined;
2692
+ attachmentId?: string | undefined;
2693
+ } | undefined;
2694
2694
  }>>;
2695
2695
  }, "strip", z.ZodTypeAny, {
2696
2696
  id: string;
2697
- raw?: string | undefined;
2698
2697
  threadId?: string | undefined;
2699
2698
  labelIds?: string[] | undefined;
2700
2699
  snippet?: string | undefined;
@@ -2702,22 +2701,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2702
2701
  historyId?: string | undefined;
2703
2702
  internalDate?: string | undefined;
2704
2703
  sizeEstimate?: number | undefined;
2704
+ raw?: string | undefined;
2705
2705
  payload?: {
2706
- body?: {
2707
- data?: string | undefined;
2708
- size?: number | undefined;
2709
- attachmentId?: string | undefined;
2710
- } | undefined;
2706
+ parts?: any[] | undefined;
2711
2707
  mimeType?: string | undefined;
2712
2708
  headers?: {
2713
2709
  value: string;
2714
2710
  name: string;
2715
2711
  }[] | undefined;
2716
- parts?: any[] | undefined;
2712
+ body?: {
2713
+ data?: string | undefined;
2714
+ size?: number | undefined;
2715
+ attachmentId?: string | undefined;
2716
+ } | undefined;
2717
2717
  } | undefined;
2718
2718
  }, {
2719
2719
  id: string;
2720
- raw?: string | undefined;
2721
2720
  threadId?: string | undefined;
2722
2721
  labelIds?: string[] | undefined;
2723
2722
  snippet?: string | undefined;
@@ -2725,24 +2724,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2725
2724
  historyId?: string | undefined;
2726
2725
  internalDate?: string | undefined;
2727
2726
  sizeEstimate?: number | undefined;
2727
+ raw?: string | undefined;
2728
2728
  payload?: {
2729
- body?: {
2730
- data?: string | undefined;
2731
- size?: number | undefined;
2732
- attachmentId?: string | undefined;
2733
- } | undefined;
2729
+ parts?: any[] | undefined;
2734
2730
  mimeType?: string | undefined;
2735
2731
  headers?: {
2736
2732
  value: string;
2737
2733
  name: string;
2738
2734
  }[] | undefined;
2739
- parts?: any[] | undefined;
2735
+ body?: {
2736
+ data?: string | undefined;
2737
+ size?: number | undefined;
2738
+ attachmentId?: string | undefined;
2739
+ } | undefined;
2740
2740
  } | undefined;
2741
2741
  }>;
2742
2742
  }, "strip", z.ZodTypeAny, {
2743
2743
  message: {
2744
2744
  id: string;
2745
- raw?: string | undefined;
2746
2745
  threadId?: string | undefined;
2747
2746
  labelIds?: string[] | undefined;
2748
2747
  snippet?: string | undefined;
@@ -2750,25 +2749,25 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2750
2749
  historyId?: string | undefined;
2751
2750
  internalDate?: string | undefined;
2752
2751
  sizeEstimate?: number | undefined;
2752
+ raw?: string | undefined;
2753
2753
  payload?: {
2754
- body?: {
2755
- data?: string | undefined;
2756
- size?: number | undefined;
2757
- attachmentId?: string | undefined;
2758
- } | undefined;
2754
+ parts?: any[] | undefined;
2759
2755
  mimeType?: string | undefined;
2760
2756
  headers?: {
2761
2757
  value: string;
2762
2758
  name: string;
2763
2759
  }[] | undefined;
2764
- parts?: any[] | undefined;
2760
+ body?: {
2761
+ data?: string | undefined;
2762
+ size?: number | undefined;
2763
+ attachmentId?: string | undefined;
2764
+ } | undefined;
2765
2765
  } | undefined;
2766
2766
  };
2767
2767
  id: string;
2768
2768
  }, {
2769
2769
  message: {
2770
2770
  id: string;
2771
- raw?: string | undefined;
2772
2771
  threadId?: string | undefined;
2773
2772
  labelIds?: string[] | undefined;
2774
2773
  snippet?: string | undefined;
@@ -2776,18 +2775,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2776
2775
  historyId?: string | undefined;
2777
2776
  internalDate?: string | undefined;
2778
2777
  sizeEstimate?: number | undefined;
2778
+ raw?: string | undefined;
2779
2779
  payload?: {
2780
- body?: {
2781
- data?: string | undefined;
2782
- size?: number | undefined;
2783
- attachmentId?: string | undefined;
2784
- } | undefined;
2780
+ parts?: any[] | undefined;
2785
2781
  mimeType?: string | undefined;
2786
2782
  headers?: {
2787
2783
  value: string;
2788
2784
  name: string;
2789
2785
  }[] | undefined;
2790
- parts?: any[] | undefined;
2786
+ body?: {
2787
+ data?: string | undefined;
2788
+ size?: number | undefined;
2789
+ attachmentId?: string | undefined;
2790
+ } | undefined;
2791
2791
  } | undefined;
2792
2792
  };
2793
2793
  id: string;
@@ -2800,7 +2800,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2800
2800
  draft?: {
2801
2801
  message: {
2802
2802
  id: string;
2803
- raw?: string | undefined;
2804
2803
  threadId?: string | undefined;
2805
2804
  labelIds?: string[] | undefined;
2806
2805
  snippet?: string | undefined;
@@ -2808,18 +2807,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2808
2807
  historyId?: string | undefined;
2809
2808
  internalDate?: string | undefined;
2810
2809
  sizeEstimate?: number | undefined;
2810
+ raw?: string | undefined;
2811
2811
  payload?: {
2812
- body?: {
2813
- data?: string | undefined;
2814
- size?: number | undefined;
2815
- attachmentId?: string | undefined;
2816
- } | undefined;
2812
+ parts?: any[] | undefined;
2817
2813
  mimeType?: string | undefined;
2818
2814
  headers?: {
2819
2815
  value: string;
2820
2816
  name: string;
2821
2817
  }[] | undefined;
2822
- parts?: any[] | undefined;
2818
+ body?: {
2819
+ data?: string | undefined;
2820
+ size?: number | undefined;
2821
+ attachmentId?: string | undefined;
2822
+ } | undefined;
2823
2823
  } | undefined;
2824
2824
  };
2825
2825
  id: string;
@@ -2831,7 +2831,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2831
2831
  draft?: {
2832
2832
  message: {
2833
2833
  id: string;
2834
- raw?: string | undefined;
2835
2834
  threadId?: string | undefined;
2836
2835
  labelIds?: string[] | undefined;
2837
2836
  snippet?: string | undefined;
@@ -2839,18 +2838,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2839
2838
  historyId?: string | undefined;
2840
2839
  internalDate?: string | undefined;
2841
2840
  sizeEstimate?: number | undefined;
2841
+ raw?: string | undefined;
2842
2842
  payload?: {
2843
- body?: {
2844
- data?: string | undefined;
2845
- size?: number | undefined;
2846
- attachmentId?: string | undefined;
2847
- } | undefined;
2843
+ parts?: any[] | undefined;
2848
2844
  mimeType?: string | undefined;
2849
2845
  headers?: {
2850
2846
  value: string;
2851
2847
  name: string;
2852
2848
  }[] | undefined;
2853
- parts?: any[] | undefined;
2849
+ body?: {
2850
+ data?: string | undefined;
2851
+ size?: number | undefined;
2852
+ attachmentId?: string | undefined;
2853
+ } | undefined;
2854
2854
  } | undefined;
2855
2855
  };
2856
2856
  id: string;
@@ -2865,14 +2865,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2865
2865
  error: string;
2866
2866
  success: boolean;
2867
2867
  operation: "send_draft";
2868
- thread_id?: string | undefined;
2869
2868
  message_id?: string | undefined;
2869
+ thread_id?: string | undefined;
2870
2870
  }, {
2871
2871
  error: string;
2872
2872
  success: boolean;
2873
2873
  operation: "send_draft";
2874
- thread_id?: string | undefined;
2875
2874
  message_id?: string | undefined;
2875
+ thread_id?: string | undefined;
2876
2876
  }>, z.ZodObject<{
2877
2877
  operation: z.ZodLiteral<"list_drafts">;
2878
2878
  success: z.ZodBoolean;
@@ -2915,33 +2915,32 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2915
2915
  }>>;
2916
2916
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2917
2917
  }, "strip", z.ZodTypeAny, {
2918
- body?: {
2919
- data?: string | undefined;
2920
- size?: number | undefined;
2921
- attachmentId?: string | undefined;
2922
- } | undefined;
2918
+ parts?: any[] | undefined;
2923
2919
  mimeType?: string | undefined;
2924
2920
  headers?: {
2925
2921
  value: string;
2926
2922
  name: string;
2927
2923
  }[] | undefined;
2928
- parts?: any[] | undefined;
2929
- }, {
2930
2924
  body?: {
2931
2925
  data?: string | undefined;
2932
2926
  size?: number | undefined;
2933
2927
  attachmentId?: string | undefined;
2934
2928
  } | undefined;
2929
+ }, {
2930
+ parts?: any[] | undefined;
2935
2931
  mimeType?: string | undefined;
2936
2932
  headers?: {
2937
2933
  value: string;
2938
2934
  name: string;
2939
2935
  }[] | undefined;
2940
- parts?: any[] | undefined;
2936
+ body?: {
2937
+ data?: string | undefined;
2938
+ size?: number | undefined;
2939
+ attachmentId?: string | undefined;
2940
+ } | undefined;
2941
2941
  }>>;
2942
2942
  }, "strip", z.ZodTypeAny, {
2943
2943
  id: string;
2944
- raw?: string | undefined;
2945
2944
  threadId?: string | undefined;
2946
2945
  labelIds?: string[] | undefined;
2947
2946
  snippet?: string | undefined;
@@ -2949,22 +2948,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2949
2948
  historyId?: string | undefined;
2950
2949
  internalDate?: string | undefined;
2951
2950
  sizeEstimate?: number | undefined;
2951
+ raw?: string | undefined;
2952
2952
  payload?: {
2953
- body?: {
2954
- data?: string | undefined;
2955
- size?: number | undefined;
2956
- attachmentId?: string | undefined;
2957
- } | undefined;
2953
+ parts?: any[] | undefined;
2958
2954
  mimeType?: string | undefined;
2959
2955
  headers?: {
2960
2956
  value: string;
2961
2957
  name: string;
2962
2958
  }[] | undefined;
2963
- parts?: any[] | undefined;
2959
+ body?: {
2960
+ data?: string | undefined;
2961
+ size?: number | undefined;
2962
+ attachmentId?: string | undefined;
2963
+ } | undefined;
2964
2964
  } | undefined;
2965
2965
  }, {
2966
2966
  id: string;
2967
- raw?: string | undefined;
2968
2967
  threadId?: string | undefined;
2969
2968
  labelIds?: string[] | undefined;
2970
2969
  snippet?: string | undefined;
@@ -2972,24 +2971,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2972
2971
  historyId?: string | undefined;
2973
2972
  internalDate?: string | undefined;
2974
2973
  sizeEstimate?: number | undefined;
2974
+ raw?: string | undefined;
2975
2975
  payload?: {
2976
- body?: {
2977
- data?: string | undefined;
2978
- size?: number | undefined;
2979
- attachmentId?: string | undefined;
2980
- } | undefined;
2976
+ parts?: any[] | undefined;
2981
2977
  mimeType?: string | undefined;
2982
2978
  headers?: {
2983
2979
  value: string;
2984
2980
  name: string;
2985
2981
  }[] | undefined;
2986
- parts?: any[] | undefined;
2982
+ body?: {
2983
+ data?: string | undefined;
2984
+ size?: number | undefined;
2985
+ attachmentId?: string | undefined;
2986
+ } | undefined;
2987
2987
  } | undefined;
2988
2988
  }>;
2989
2989
  }, "strip", z.ZodTypeAny, {
2990
2990
  message: {
2991
2991
  id: string;
2992
- raw?: string | undefined;
2993
2992
  threadId?: string | undefined;
2994
2993
  labelIds?: string[] | undefined;
2995
2994
  snippet?: string | undefined;
@@ -2997,25 +2996,25 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2997
2996
  historyId?: string | undefined;
2998
2997
  internalDate?: string | undefined;
2999
2998
  sizeEstimate?: number | undefined;
2999
+ raw?: string | undefined;
3000
3000
  payload?: {
3001
- body?: {
3002
- data?: string | undefined;
3003
- size?: number | undefined;
3004
- attachmentId?: string | undefined;
3005
- } | undefined;
3001
+ parts?: any[] | undefined;
3006
3002
  mimeType?: string | undefined;
3007
3003
  headers?: {
3008
3004
  value: string;
3009
3005
  name: string;
3010
3006
  }[] | undefined;
3011
- parts?: any[] | undefined;
3007
+ body?: {
3008
+ data?: string | undefined;
3009
+ size?: number | undefined;
3010
+ attachmentId?: string | undefined;
3011
+ } | undefined;
3012
3012
  } | undefined;
3013
3013
  };
3014
3014
  id: string;
3015
3015
  }, {
3016
3016
  message: {
3017
3017
  id: string;
3018
- raw?: string | undefined;
3019
3018
  threadId?: string | undefined;
3020
3019
  labelIds?: string[] | undefined;
3021
3020
  snippet?: string | undefined;
@@ -3023,18 +3022,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3023
3022
  historyId?: string | undefined;
3024
3023
  internalDate?: string | undefined;
3025
3024
  sizeEstimate?: number | undefined;
3025
+ raw?: string | undefined;
3026
3026
  payload?: {
3027
- body?: {
3028
- data?: string | undefined;
3029
- size?: number | undefined;
3030
- attachmentId?: string | undefined;
3031
- } | undefined;
3027
+ parts?: any[] | undefined;
3032
3028
  mimeType?: string | undefined;
3033
3029
  headers?: {
3034
3030
  value: string;
3035
3031
  name: string;
3036
3032
  }[] | undefined;
3037
- parts?: any[] | undefined;
3033
+ body?: {
3034
+ data?: string | undefined;
3035
+ size?: number | undefined;
3036
+ attachmentId?: string | undefined;
3037
+ } | undefined;
3038
3038
  } | undefined;
3039
3039
  };
3040
3040
  id: string;
@@ -3051,7 +3051,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3051
3051
  drafts?: {
3052
3052
  message: {
3053
3053
  id: string;
3054
- raw?: string | undefined;
3055
3054
  threadId?: string | undefined;
3056
3055
  labelIds?: string[] | undefined;
3057
3056
  snippet?: string | undefined;
@@ -3059,18 +3058,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3059
3058
  historyId?: string | undefined;
3060
3059
  internalDate?: string | undefined;
3061
3060
  sizeEstimate?: number | undefined;
3061
+ raw?: string | undefined;
3062
3062
  payload?: {
3063
- body?: {
3064
- data?: string | undefined;
3065
- size?: number | undefined;
3066
- attachmentId?: string | undefined;
3067
- } | undefined;
3063
+ parts?: any[] | undefined;
3068
3064
  mimeType?: string | undefined;
3069
3065
  headers?: {
3070
3066
  value: string;
3071
3067
  name: string;
3072
3068
  }[] | undefined;
3073
- parts?: any[] | undefined;
3069
+ body?: {
3070
+ data?: string | undefined;
3071
+ size?: number | undefined;
3072
+ attachmentId?: string | undefined;
3073
+ } | undefined;
3074
3074
  } | undefined;
3075
3075
  };
3076
3076
  id: string;
@@ -3084,7 +3084,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3084
3084
  drafts?: {
3085
3085
  message: {
3086
3086
  id: string;
3087
- raw?: string | undefined;
3088
3087
  threadId?: string | undefined;
3089
3088
  labelIds?: string[] | undefined;
3090
3089
  snippet?: string | undefined;
@@ -3092,18 +3091,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3092
3091
  historyId?: string | undefined;
3093
3092
  internalDate?: string | undefined;
3094
3093
  sizeEstimate?: number | undefined;
3094
+ raw?: string | undefined;
3095
3095
  payload?: {
3096
- body?: {
3097
- data?: string | undefined;
3098
- size?: number | undefined;
3099
- attachmentId?: string | undefined;
3100
- } | undefined;
3096
+ parts?: any[] | undefined;
3101
3097
  mimeType?: string | undefined;
3102
3098
  headers?: {
3103
3099
  value: string;
3104
3100
  name: string;
3105
3101
  }[] | undefined;
3106
- parts?: any[] | undefined;
3102
+ body?: {
3103
+ data?: string | undefined;
3104
+ size?: number | undefined;
3105
+ attachmentId?: string | undefined;
3106
+ } | undefined;
3107
3107
  } | undefined;
3108
3108
  };
3109
3109
  id: string;
@@ -3181,33 +3181,32 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3181
3181
  }>>;
3182
3182
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3183
3183
  }, "strip", z.ZodTypeAny, {
3184
- body?: {
3185
- data?: string | undefined;
3186
- size?: number | undefined;
3187
- attachmentId?: string | undefined;
3188
- } | undefined;
3184
+ parts?: any[] | undefined;
3189
3185
  mimeType?: string | undefined;
3190
3186
  headers?: {
3191
3187
  value: string;
3192
3188
  name: string;
3193
3189
  }[] | undefined;
3194
- parts?: any[] | undefined;
3195
- }, {
3196
3190
  body?: {
3197
3191
  data?: string | undefined;
3198
3192
  size?: number | undefined;
3199
3193
  attachmentId?: string | undefined;
3200
3194
  } | undefined;
3195
+ }, {
3196
+ parts?: any[] | undefined;
3201
3197
  mimeType?: string | undefined;
3202
3198
  headers?: {
3203
3199
  value: string;
3204
3200
  name: string;
3205
3201
  }[] | undefined;
3206
- parts?: any[] | undefined;
3202
+ body?: {
3203
+ data?: string | undefined;
3204
+ size?: number | undefined;
3205
+ attachmentId?: string | undefined;
3206
+ } | undefined;
3207
3207
  }>>;
3208
3208
  }, "strip", z.ZodTypeAny, {
3209
3209
  id: string;
3210
- raw?: string | undefined;
3211
3210
  threadId?: string | undefined;
3212
3211
  labelIds?: string[] | undefined;
3213
3212
  snippet?: string | undefined;
@@ -3215,22 +3214,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3215
3214
  historyId?: string | undefined;
3216
3215
  internalDate?: string | undefined;
3217
3216
  sizeEstimate?: number | undefined;
3217
+ raw?: string | undefined;
3218
3218
  payload?: {
3219
- body?: {
3220
- data?: string | undefined;
3221
- size?: number | undefined;
3222
- attachmentId?: string | undefined;
3223
- } | undefined;
3219
+ parts?: any[] | undefined;
3224
3220
  mimeType?: string | undefined;
3225
3221
  headers?: {
3226
3222
  value: string;
3227
3223
  name: string;
3228
3224
  }[] | undefined;
3229
- parts?: any[] | undefined;
3225
+ body?: {
3226
+ data?: string | undefined;
3227
+ size?: number | undefined;
3228
+ attachmentId?: string | undefined;
3229
+ } | undefined;
3230
3230
  } | undefined;
3231
3231
  }, {
3232
3232
  id: string;
3233
- raw?: string | undefined;
3234
3233
  threadId?: string | undefined;
3235
3234
  labelIds?: string[] | undefined;
3236
3235
  snippet?: string | undefined;
@@ -3238,18 +3237,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3238
3237
  historyId?: string | undefined;
3239
3238
  internalDate?: string | undefined;
3240
3239
  sizeEstimate?: number | undefined;
3240
+ raw?: string | undefined;
3241
3241
  payload?: {
3242
- body?: {
3243
- data?: string | undefined;
3244
- size?: number | undefined;
3245
- attachmentId?: string | undefined;
3246
- } | undefined;
3242
+ parts?: any[] | undefined;
3247
3243
  mimeType?: string | undefined;
3248
3244
  headers?: {
3249
3245
  value: string;
3250
3246
  name: string;
3251
3247
  }[] | undefined;
3252
- parts?: any[] | undefined;
3248
+ body?: {
3249
+ data?: string | undefined;
3250
+ size?: number | undefined;
3251
+ attachmentId?: string | undefined;
3252
+ } | undefined;
3253
3253
  } | undefined;
3254
3254
  }>, "many">>;
3255
3255
  snippet: z.ZodOptional<z.ZodString>;
@@ -3257,7 +3257,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3257
3257
  id: string;
3258
3258
  messages?: {
3259
3259
  id: string;
3260
- raw?: string | undefined;
3261
3260
  threadId?: string | undefined;
3262
3261
  labelIds?: string[] | undefined;
3263
3262
  snippet?: string | undefined;
@@ -3265,18 +3264,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3265
3264
  historyId?: string | undefined;
3266
3265
  internalDate?: string | undefined;
3267
3266
  sizeEstimate?: number | undefined;
3267
+ raw?: string | undefined;
3268
3268
  payload?: {
3269
- body?: {
3270
- data?: string | undefined;
3271
- size?: number | undefined;
3272
- attachmentId?: string | undefined;
3273
- } | undefined;
3269
+ parts?: any[] | undefined;
3274
3270
  mimeType?: string | undefined;
3275
3271
  headers?: {
3276
3272
  value: string;
3277
3273
  name: string;
3278
3274
  }[] | undefined;
3279
- parts?: any[] | undefined;
3275
+ body?: {
3276
+ data?: string | undefined;
3277
+ size?: number | undefined;
3278
+ attachmentId?: string | undefined;
3279
+ } | undefined;
3280
3280
  } | undefined;
3281
3281
  }[] | undefined;
3282
3282
  snippet?: string | undefined;
@@ -3285,7 +3285,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3285
3285
  id: string;
3286
3286
  messages?: {
3287
3287
  id: string;
3288
- raw?: string | undefined;
3289
3288
  threadId?: string | undefined;
3290
3289
  labelIds?: string[] | undefined;
3291
3290
  snippet?: string | undefined;
@@ -3293,18 +3292,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3293
3292
  historyId?: string | undefined;
3294
3293
  internalDate?: string | undefined;
3295
3294
  sizeEstimate?: number | undefined;
3295
+ raw?: string | undefined;
3296
3296
  payload?: {
3297
- body?: {
3298
- data?: string | undefined;
3299
- size?: number | undefined;
3300
- attachmentId?: string | undefined;
3301
- } | undefined;
3297
+ parts?: any[] | undefined;
3302
3298
  mimeType?: string | undefined;
3303
3299
  headers?: {
3304
3300
  value: string;
3305
3301
  name: string;
3306
3302
  }[] | undefined;
3307
- parts?: any[] | undefined;
3303
+ body?: {
3304
+ data?: string | undefined;
3305
+ size?: number | undefined;
3306
+ attachmentId?: string | undefined;
3307
+ } | undefined;
3308
3308
  } | undefined;
3309
3309
  }[] | undefined;
3310
3310
  snippet?: string | undefined;
@@ -3323,7 +3323,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3323
3323
  id: string;
3324
3324
  messages?: {
3325
3325
  id: string;
3326
- raw?: string | undefined;
3327
3326
  threadId?: string | undefined;
3328
3327
  labelIds?: string[] | undefined;
3329
3328
  snippet?: string | undefined;
@@ -3331,18 +3330,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3331
3330
  historyId?: string | undefined;
3332
3331
  internalDate?: string | undefined;
3333
3332
  sizeEstimate?: number | undefined;
3333
+ raw?: string | undefined;
3334
3334
  payload?: {
3335
- body?: {
3336
- data?: string | undefined;
3337
- size?: number | undefined;
3338
- attachmentId?: string | undefined;
3339
- } | undefined;
3335
+ parts?: any[] | undefined;
3340
3336
  mimeType?: string | undefined;
3341
3337
  headers?: {
3342
3338
  value: string;
3343
3339
  name: string;
3344
3340
  }[] | undefined;
3345
- parts?: any[] | undefined;
3341
+ body?: {
3342
+ data?: string | undefined;
3343
+ size?: number | undefined;
3344
+ attachmentId?: string | undefined;
3345
+ } | undefined;
3346
3346
  } | undefined;
3347
3347
  }[] | undefined;
3348
3348
  snippet?: string | undefined;
@@ -3358,7 +3358,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3358
3358
  id: string;
3359
3359
  messages?: {
3360
3360
  id: string;
3361
- raw?: string | undefined;
3362
3361
  threadId?: string | undefined;
3363
3362
  labelIds?: string[] | undefined;
3364
3363
  snippet?: string | undefined;
@@ -3366,18 +3365,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3366
3365
  historyId?: string | undefined;
3367
3366
  internalDate?: string | undefined;
3368
3367
  sizeEstimate?: number | undefined;
3368
+ raw?: string | undefined;
3369
3369
  payload?: {
3370
- body?: {
3371
- data?: string | undefined;
3372
- size?: number | undefined;
3373
- attachmentId?: string | undefined;
3374
- } | undefined;
3370
+ parts?: any[] | undefined;
3375
3371
  mimeType?: string | undefined;
3376
3372
  headers?: {
3377
3373
  value: string;
3378
3374
  name: string;
3379
3375
  }[] | undefined;
3380
- parts?: any[] | undefined;
3376
+ body?: {
3377
+ data?: string | undefined;
3378
+ size?: number | undefined;
3379
+ attachmentId?: string | undefined;
3380
+ } | undefined;
3381
3381
  } | undefined;
3382
3382
  }[] | undefined;
3383
3383
  snippet?: string | undefined;
@@ -3395,13 +3395,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3395
3395
  }, "strip", z.ZodTypeAny, {
3396
3396
  name: string;
3397
3397
  id: string;
3398
- type?: "user" | "system" | undefined;
3398
+ type?: "system" | "user" | undefined;
3399
3399
  messageListVisibility?: "show" | "hide" | undefined;
3400
3400
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3401
3401
  }, {
3402
3402
  name: string;
3403
3403
  id: string;
3404
- type?: "user" | "system" | undefined;
3404
+ type?: "system" | "user" | undefined;
3405
3405
  messageListVisibility?: "show" | "hide" | undefined;
3406
3406
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3407
3407
  }>, "many">>;
@@ -3413,7 +3413,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3413
3413
  labels?: {
3414
3414
  name: string;
3415
3415
  id: string;
3416
- type?: "user" | "system" | undefined;
3416
+ type?: "system" | "user" | undefined;
3417
3417
  messageListVisibility?: "show" | "hide" | undefined;
3418
3418
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3419
3419
  }[] | undefined;
@@ -3424,7 +3424,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3424
3424
  labels?: {
3425
3425
  name: string;
3426
3426
  id: string;
3427
- type?: "user" | "system" | undefined;
3427
+ type?: "system" | "user" | undefined;
3428
3428
  messageListVisibility?: "show" | "hide" | undefined;
3429
3429
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3430
3430
  }[] | undefined;
@@ -3440,13 +3440,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3440
3440
  }, "strip", z.ZodTypeAny, {
3441
3441
  name: string;
3442
3442
  id: string;
3443
- type?: "user" | "system" | undefined;
3443
+ type?: "system" | "user" | undefined;
3444
3444
  messageListVisibility?: "show" | "hide" | undefined;
3445
3445
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3446
3446
  }, {
3447
3447
  name: string;
3448
3448
  id: string;
3449
- type?: "user" | "system" | undefined;
3449
+ type?: "system" | "user" | undefined;
3450
3450
  messageListVisibility?: "show" | "hide" | undefined;
3451
3451
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3452
3452
  }>>;
@@ -3458,7 +3458,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3458
3458
  label?: {
3459
3459
  name: string;
3460
3460
  id: string;
3461
- type?: "user" | "system" | undefined;
3461
+ type?: "system" | "user" | undefined;
3462
3462
  messageListVisibility?: "show" | "hide" | undefined;
3463
3463
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3464
3464
  } | undefined;
@@ -3469,7 +3469,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3469
3469
  label?: {
3470
3470
  name: string;
3471
3471
  id: string;
3472
- type?: "user" | "system" | undefined;
3472
+ type?: "system" | "user" | undefined;
3473
3473
  messageListVisibility?: "show" | "hide" | undefined;
3474
3474
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3475
3475
  } | undefined;
@@ -3483,14 +3483,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3483
3483
  error: string;
3484
3484
  success: boolean;
3485
3485
  operation: "modify_message_labels";
3486
- label_ids?: string[] | undefined;
3487
3486
  message_id?: string | undefined;
3487
+ label_ids?: string[] | undefined;
3488
3488
  }, {
3489
3489
  error: string;
3490
3490
  success: boolean;
3491
3491
  operation: "modify_message_labels";
3492
- label_ids?: string[] | undefined;
3493
3492
  message_id?: string | undefined;
3493
+ label_ids?: string[] | undefined;
3494
3494
  }>, z.ZodObject<{
3495
3495
  operation: z.ZodLiteral<"modify_thread_labels">;
3496
3496
  success: z.ZodBoolean;