@bubblelab/bubble-core 0.1.40 → 0.1.42

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 (89) hide show
  1. package/dist/bubble-bundle.d.ts +147 -126
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +88 -88
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +40 -40
  7. package/dist/bubbles/service-bubble/airtable.d.ts +130 -130
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +8 -8
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +98 -98
  10. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
  11. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +26 -26
  12. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +23 -23
  13. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +52 -52
  14. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +126 -126
  15. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  16. package/dist/bubbles/service-bubble/firecrawl.d.ts +755 -755
  17. package/dist/bubbles/service-bubble/followupboss.d.ts +140 -140
  18. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +56 -56
  19. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +128 -128
  20. package/dist/bubbles/service-bubble/github.d.ts +160 -160
  21. package/dist/bubbles/service-bubble/gmail.d.ts +140 -140
  22. package/dist/bubbles/service-bubble/google-calendar.d.ts +218 -218
  23. package/dist/bubbles/service-bubble/google-drive.d.ts +84 -84
  24. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
  25. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +18 -18
  26. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  27. package/dist/bubbles/service-bubble/http.d.ts +8 -8
  28. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  29. package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
  30. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +17 -17
  31. package/dist/bubbles/service-bubble/notion/notion.d.ts +1634 -1634
  32. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  33. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  34. package/dist/bubbles/service-bubble/slack/slack.d.ts +332 -332
  35. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  36. package/dist/bubbles/service-bubble/telegram.d.ts +1562 -1562
  37. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +12 -12
  38. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +7 -7
  39. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
  40. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +20 -20
  41. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
  42. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +70 -70
  43. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  45. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  46. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  48. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  49. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  50. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  51. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +143 -0
  52. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  53. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +589 -0
  54. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  55. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  56. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  57. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +44 -0
  58. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  59. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +40 -40
  60. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +124 -112
  62. package/dist/bubbles/tool-bubble/people-search-tool.d.ts.map +1 -1
  63. package/dist/bubbles/tool-bubble/people-search-tool.js +11 -1
  64. package/dist/bubbles/tool-bubble/people-search-tool.js.map +1 -1
  65. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
  66. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +14 -14
  67. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  68. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
  69. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
  71. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
  72. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  73. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  74. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  75. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  76. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  77. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +38 -38
  78. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +18 -18
  79. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +104 -104
  80. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +36 -36
  81. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +38 -38
  82. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +96 -96
  83. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +18 -18
  84. package/dist/bubbles.json +135 -42
  85. package/dist/index.d.ts +1 -0
  86. package/dist/index.d.ts.map +1 -1
  87. package/dist/index.js +1 -0
  88. package/dist/index.js.map +1 -1
  89. 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: "minimal" | "metadata" | "raw" | "full";
72
+ format: "minimal" | "full" | "raw" | "metadata";
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?: "minimal" | "metadata" | "raw" | "full" | undefined;
80
+ format?: "minimal" | "full" | "raw" | "metadata" | undefined;
81
81
  credentials?: Partial<Record<CredentialType, string>> | undefined;
82
82
  metadata_headers?: string[] | undefined;
83
83
  }>, z.ZodObject<{
@@ -313,17 +313,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
313
313
  thread_id: z.ZodOptional<z.ZodString>;
314
314
  error: z.ZodString;
315
315
  }, "strip", z.ZodTypeAny, {
316
- error: string;
317
316
  success: boolean;
317
+ error: string;
318
318
  operation: "send_email";
319
- message_id?: string | undefined;
320
319
  thread_id?: string | undefined;
320
+ message_id?: string | undefined;
321
321
  }, {
322
- error: string;
323
322
  success: boolean;
323
+ error: string;
324
324
  operation: "send_email";
325
- message_id?: string | undefined;
326
325
  thread_id?: string | undefined;
326
+ message_id?: string | undefined;
327
327
  }>, z.ZodObject<{
328
328
  operation: z.ZodLiteral<"list_emails">;
329
329
  success: z.ZodBoolean;
@@ -390,6 +390,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
390
390
  }>>;
391
391
  }, "strip", z.ZodTypeAny, {
392
392
  id: string;
393
+ raw?: string | undefined;
393
394
  threadId?: string | undefined;
394
395
  labelIds?: string[] | undefined;
395
396
  snippet?: string | undefined;
@@ -397,7 +398,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
397
398
  historyId?: string | undefined;
398
399
  internalDate?: string | undefined;
399
400
  sizeEstimate?: number | undefined;
400
- raw?: string | undefined;
401
401
  payload?: {
402
402
  mimeType?: string | undefined;
403
403
  headers?: {
@@ -413,6 +413,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
413
413
  } | undefined;
414
414
  }, {
415
415
  id: string;
416
+ raw?: string | undefined;
416
417
  threadId?: string | undefined;
417
418
  labelIds?: string[] | undefined;
418
419
  snippet?: string | undefined;
@@ -420,7 +421,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
420
421
  historyId?: string | undefined;
421
422
  internalDate?: string | undefined;
422
423
  sizeEstimate?: number | undefined;
423
- raw?: string | undefined;
424
424
  payload?: {
425
425
  mimeType?: string | undefined;
426
426
  headers?: {
@@ -439,11 +439,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
439
439
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
440
440
  error: z.ZodString;
441
441
  }, "strip", z.ZodTypeAny, {
442
- error: string;
443
442
  success: boolean;
443
+ error: string;
444
444
  operation: "list_emails";
445
445
  messages?: {
446
446
  id: string;
447
+ raw?: string | undefined;
447
448
  threadId?: string | undefined;
448
449
  labelIds?: string[] | undefined;
449
450
  snippet?: string | undefined;
@@ -451,7 +452,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
451
452
  historyId?: string | undefined;
452
453
  internalDate?: string | undefined;
453
454
  sizeEstimate?: number | undefined;
454
- raw?: string | undefined;
455
455
  payload?: {
456
456
  mimeType?: string | undefined;
457
457
  headers?: {
@@ -469,11 +469,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
469
469
  next_page_token?: string | undefined;
470
470
  result_size_estimate?: number | undefined;
471
471
  }, {
472
- error: string;
473
472
  success: boolean;
473
+ error: string;
474
474
  operation: "list_emails";
475
475
  messages?: {
476
476
  id: string;
477
+ raw?: string | undefined;
477
478
  threadId?: string | undefined;
478
479
  labelIds?: string[] | undefined;
479
480
  snippet?: string | undefined;
@@ -481,7 +482,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
481
482
  historyId?: string | undefined;
482
483
  internalDate?: string | undefined;
483
484
  sizeEstimate?: number | undefined;
484
- raw?: string | undefined;
485
485
  payload?: {
486
486
  mimeType?: string | undefined;
487
487
  headers?: {
@@ -564,6 +564,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
564
564
  }>>;
565
565
  }, "strip", z.ZodTypeAny, {
566
566
  id: string;
567
+ raw?: string | undefined;
567
568
  threadId?: string | undefined;
568
569
  labelIds?: string[] | undefined;
569
570
  snippet?: string | undefined;
@@ -571,7 +572,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
571
572
  historyId?: string | undefined;
572
573
  internalDate?: string | undefined;
573
574
  sizeEstimate?: number | undefined;
574
- raw?: string | undefined;
575
575
  payload?: {
576
576
  mimeType?: string | undefined;
577
577
  headers?: {
@@ -587,6 +587,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
587
587
  } | undefined;
588
588
  }, {
589
589
  id: string;
590
+ raw?: string | undefined;
590
591
  threadId?: string | undefined;
591
592
  labelIds?: string[] | undefined;
592
593
  snippet?: string | undefined;
@@ -594,7 +595,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
594
595
  historyId?: string | undefined;
595
596
  internalDate?: string | undefined;
596
597
  sizeEstimate?: number | undefined;
597
- raw?: string | undefined;
598
598
  payload?: {
599
599
  mimeType?: string | undefined;
600
600
  headers?: {
@@ -611,11 +611,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
611
611
  }>>;
612
612
  error: z.ZodString;
613
613
  }, "strip", z.ZodTypeAny, {
614
- error: string;
615
614
  success: boolean;
615
+ error: string;
616
616
  operation: "get_email";
617
617
  message?: {
618
618
  id: string;
619
+ raw?: string | undefined;
619
620
  threadId?: string | undefined;
620
621
  labelIds?: string[] | undefined;
621
622
  snippet?: string | undefined;
@@ -623,7 +624,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
623
624
  historyId?: string | undefined;
624
625
  internalDate?: string | undefined;
625
626
  sizeEstimate?: number | undefined;
626
- raw?: string | undefined;
627
627
  payload?: {
628
628
  mimeType?: string | undefined;
629
629
  headers?: {
@@ -639,11 +639,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
639
639
  } | undefined;
640
640
  } | undefined;
641
641
  }, {
642
- error: string;
643
642
  success: boolean;
643
+ error: string;
644
644
  operation: "get_email";
645
645
  message?: {
646
646
  id: string;
647
+ raw?: string | undefined;
647
648
  threadId?: string | undefined;
648
649
  labelIds?: string[] | undefined;
649
650
  snippet?: string | undefined;
@@ -651,7 +652,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
651
652
  historyId?: string | undefined;
652
653
  internalDate?: string | undefined;
653
654
  sizeEstimate?: number | undefined;
654
- raw?: string | undefined;
655
655
  payload?: {
656
656
  mimeType?: string | undefined;
657
657
  headers?: {
@@ -732,6 +732,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
732
732
  }>>;
733
733
  }, "strip", z.ZodTypeAny, {
734
734
  id: string;
735
+ raw?: string | undefined;
735
736
  threadId?: string | undefined;
736
737
  labelIds?: string[] | undefined;
737
738
  snippet?: string | undefined;
@@ -739,7 +740,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
739
740
  historyId?: string | undefined;
740
741
  internalDate?: string | undefined;
741
742
  sizeEstimate?: number | undefined;
742
- raw?: string | undefined;
743
743
  payload?: {
744
744
  mimeType?: string | undefined;
745
745
  headers?: {
@@ -755,6 +755,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
755
755
  } | undefined;
756
756
  }, {
757
757
  id: string;
758
+ raw?: string | undefined;
758
759
  threadId?: string | undefined;
759
760
  labelIds?: string[] | undefined;
760
761
  snippet?: string | undefined;
@@ -762,7 +763,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
762
763
  historyId?: string | undefined;
763
764
  internalDate?: string | undefined;
764
765
  sizeEstimate?: number | undefined;
765
- raw?: string | undefined;
766
766
  payload?: {
767
767
  mimeType?: string | undefined;
768
768
  headers?: {
@@ -780,11 +780,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
780
780
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
781
781
  error: z.ZodString;
782
782
  }, "strip", z.ZodTypeAny, {
783
- error: string;
784
783
  success: boolean;
784
+ error: string;
785
785
  operation: "search_emails";
786
786
  messages?: {
787
787
  id: string;
788
+ raw?: string | undefined;
788
789
  threadId?: string | undefined;
789
790
  labelIds?: string[] | undefined;
790
791
  snippet?: string | undefined;
@@ -792,7 +793,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
792
793
  historyId?: string | undefined;
793
794
  internalDate?: string | undefined;
794
795
  sizeEstimate?: number | undefined;
795
- raw?: string | undefined;
796
796
  payload?: {
797
797
  mimeType?: string | undefined;
798
798
  headers?: {
@@ -809,11 +809,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
809
809
  }[] | undefined;
810
810
  result_size_estimate?: number | undefined;
811
811
  }, {
812
- error: string;
813
812
  success: boolean;
813
+ error: string;
814
814
  operation: "search_emails";
815
815
  messages?: {
816
816
  id: string;
817
+ raw?: string | undefined;
817
818
  threadId?: string | undefined;
818
819
  labelIds?: string[] | undefined;
819
820
  snippet?: string | undefined;
@@ -821,7 +822,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
821
822
  historyId?: string | undefined;
822
823
  internalDate?: string | undefined;
823
824
  sizeEstimate?: number | undefined;
824
- raw?: string | undefined;
825
825
  payload?: {
826
826
  mimeType?: string | undefined;
827
827
  headers?: {
@@ -843,13 +843,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
843
843
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
844
844
  error: z.ZodString;
845
845
  }, "strip", z.ZodTypeAny, {
846
- error: string;
847
846
  success: boolean;
847
+ error: string;
848
848
  operation: "mark_as_read";
849
849
  modified_messages?: string[] | undefined;
850
850
  }, {
851
- error: string;
852
851
  success: boolean;
852
+ error: string;
853
853
  operation: "mark_as_read";
854
854
  modified_messages?: string[] | undefined;
855
855
  }>, z.ZodObject<{
@@ -858,13 +858,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
858
858
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
859
859
  error: z.ZodString;
860
860
  }, "strip", z.ZodTypeAny, {
861
- error: string;
862
861
  success: boolean;
862
+ error: string;
863
863
  operation: "mark_as_unread";
864
864
  modified_messages?: string[] | undefined;
865
865
  }, {
866
- error: string;
867
866
  success: boolean;
867
+ error: string;
868
868
  operation: "mark_as_unread";
869
869
  modified_messages?: string[] | undefined;
870
870
  }>, z.ZodObject<{
@@ -935,6 +935,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
935
935
  }>>;
936
936
  }, "strip", z.ZodTypeAny, {
937
937
  id: string;
938
+ raw?: string | undefined;
938
939
  threadId?: string | undefined;
939
940
  labelIds?: string[] | undefined;
940
941
  snippet?: string | undefined;
@@ -942,7 +943,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
942
943
  historyId?: string | undefined;
943
944
  internalDate?: string | undefined;
944
945
  sizeEstimate?: number | undefined;
945
- raw?: string | undefined;
946
946
  payload?: {
947
947
  mimeType?: string | undefined;
948
948
  headers?: {
@@ -958,6 +958,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
958
958
  } | undefined;
959
959
  }, {
960
960
  id: string;
961
+ raw?: string | undefined;
961
962
  threadId?: string | undefined;
962
963
  labelIds?: string[] | undefined;
963
964
  snippet?: string | undefined;
@@ -965,7 +966,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
965
966
  historyId?: string | undefined;
966
967
  internalDate?: string | undefined;
967
968
  sizeEstimate?: number | undefined;
968
- raw?: string | undefined;
969
969
  payload?: {
970
970
  mimeType?: string | undefined;
971
971
  headers?: {
@@ -983,6 +983,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
983
983
  }, "strip", z.ZodTypeAny, {
984
984
  message: {
985
985
  id: string;
986
+ raw?: string | undefined;
986
987
  threadId?: string | undefined;
987
988
  labelIds?: string[] | undefined;
988
989
  snippet?: string | undefined;
@@ -990,7 +991,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
990
991
  historyId?: string | undefined;
991
992
  internalDate?: string | undefined;
992
993
  sizeEstimate?: number | undefined;
993
- raw?: string | undefined;
994
994
  payload?: {
995
995
  mimeType?: string | undefined;
996
996
  headers?: {
@@ -1009,6 +1009,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1009
1009
  }, {
1010
1010
  message: {
1011
1011
  id: string;
1012
+ raw?: string | undefined;
1012
1013
  threadId?: string | undefined;
1013
1014
  labelIds?: string[] | undefined;
1014
1015
  snippet?: string | undefined;
@@ -1016,7 +1017,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1016
1017
  historyId?: string | undefined;
1017
1018
  internalDate?: string | undefined;
1018
1019
  sizeEstimate?: number | undefined;
1019
- raw?: string | undefined;
1020
1020
  payload?: {
1021
1021
  mimeType?: string | undefined;
1022
1022
  headers?: {
@@ -1035,12 +1035,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1035
1035
  }>>;
1036
1036
  error: z.ZodString;
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
- error: string;
1039
1038
  success: boolean;
1039
+ error: string;
1040
1040
  operation: "create_draft";
1041
1041
  draft?: {
1042
1042
  message: {
1043
1043
  id: string;
1044
+ raw?: string | undefined;
1044
1045
  threadId?: string | undefined;
1045
1046
  labelIds?: string[] | undefined;
1046
1047
  snippet?: string | undefined;
@@ -1048,7 +1049,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1048
1049
  historyId?: string | undefined;
1049
1050
  internalDate?: string | undefined;
1050
1051
  sizeEstimate?: number | undefined;
1051
- raw?: string | undefined;
1052
1052
  payload?: {
1053
1053
  mimeType?: string | undefined;
1054
1054
  headers?: {
@@ -1066,12 +1066,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1066
1066
  id: string;
1067
1067
  } | undefined;
1068
1068
  }, {
1069
- error: string;
1070
1069
  success: boolean;
1070
+ error: string;
1071
1071
  operation: "create_draft";
1072
1072
  draft?: {
1073
1073
  message: {
1074
1074
  id: string;
1075
+ raw?: string | undefined;
1075
1076
  threadId?: string | undefined;
1076
1077
  labelIds?: string[] | undefined;
1077
1078
  snippet?: string | undefined;
@@ -1079,7 +1080,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1079
1080
  historyId?: string | undefined;
1080
1081
  internalDate?: string | undefined;
1081
1082
  sizeEstimate?: number | undefined;
1082
- raw?: string | undefined;
1083
1083
  payload?: {
1084
1084
  mimeType?: string | undefined;
1085
1085
  headers?: {
@@ -1103,17 +1103,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1103
1103
  thread_id: z.ZodOptional<z.ZodString>;
1104
1104
  error: z.ZodString;
1105
1105
  }, "strip", z.ZodTypeAny, {
1106
- error: string;
1107
1106
  success: boolean;
1107
+ error: string;
1108
1108
  operation: "send_draft";
1109
- message_id?: string | undefined;
1110
1109
  thread_id?: string | undefined;
1110
+ message_id?: string | undefined;
1111
1111
  }, {
1112
- error: string;
1113
1112
  success: boolean;
1113
+ error: string;
1114
1114
  operation: "send_draft";
1115
- message_id?: string | undefined;
1116
1115
  thread_id?: string | undefined;
1116
+ message_id?: string | undefined;
1117
1117
  }>, z.ZodObject<{
1118
1118
  operation: z.ZodLiteral<"list_drafts">;
1119
1119
  success: z.ZodBoolean;
@@ -1182,6 +1182,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1182
1182
  }>>;
1183
1183
  }, "strip", z.ZodTypeAny, {
1184
1184
  id: string;
1185
+ raw?: string | undefined;
1185
1186
  threadId?: string | undefined;
1186
1187
  labelIds?: string[] | undefined;
1187
1188
  snippet?: string | undefined;
@@ -1189,7 +1190,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1189
1190
  historyId?: string | undefined;
1190
1191
  internalDate?: string | undefined;
1191
1192
  sizeEstimate?: number | undefined;
1192
- raw?: string | undefined;
1193
1193
  payload?: {
1194
1194
  mimeType?: string | undefined;
1195
1195
  headers?: {
@@ -1205,6 +1205,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1205
1205
  } | undefined;
1206
1206
  }, {
1207
1207
  id: string;
1208
+ raw?: string | undefined;
1208
1209
  threadId?: string | undefined;
1209
1210
  labelIds?: string[] | undefined;
1210
1211
  snippet?: string | undefined;
@@ -1212,7 +1213,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1212
1213
  historyId?: string | undefined;
1213
1214
  internalDate?: string | undefined;
1214
1215
  sizeEstimate?: number | undefined;
1215
- raw?: string | undefined;
1216
1216
  payload?: {
1217
1217
  mimeType?: string | undefined;
1218
1218
  headers?: {
@@ -1230,6 +1230,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1230
1230
  }, "strip", z.ZodTypeAny, {
1231
1231
  message: {
1232
1232
  id: string;
1233
+ raw?: string | undefined;
1233
1234
  threadId?: string | undefined;
1234
1235
  labelIds?: string[] | undefined;
1235
1236
  snippet?: string | undefined;
@@ -1237,7 +1238,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1237
1238
  historyId?: string | undefined;
1238
1239
  internalDate?: string | undefined;
1239
1240
  sizeEstimate?: number | undefined;
1240
- raw?: string | undefined;
1241
1241
  payload?: {
1242
1242
  mimeType?: string | undefined;
1243
1243
  headers?: {
@@ -1256,6 +1256,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1256
1256
  }, {
1257
1257
  message: {
1258
1258
  id: string;
1259
+ raw?: string | undefined;
1259
1260
  threadId?: string | undefined;
1260
1261
  labelIds?: string[] | undefined;
1261
1262
  snippet?: string | undefined;
@@ -1263,7 +1264,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1263
1264
  historyId?: string | undefined;
1264
1265
  internalDate?: string | undefined;
1265
1266
  sizeEstimate?: number | undefined;
1266
- raw?: string | undefined;
1267
1267
  payload?: {
1268
1268
  mimeType?: string | undefined;
1269
1269
  headers?: {
@@ -1284,14 +1284,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1284
1284
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1285
1285
  error: z.ZodString;
1286
1286
  }, "strip", z.ZodTypeAny, {
1287
- error: string;
1288
1287
  success: boolean;
1288
+ error: string;
1289
1289
  operation: "list_drafts";
1290
1290
  next_page_token?: string | undefined;
1291
1291
  result_size_estimate?: number | undefined;
1292
1292
  drafts?: {
1293
1293
  message: {
1294
1294
  id: string;
1295
+ raw?: string | undefined;
1295
1296
  threadId?: string | undefined;
1296
1297
  labelIds?: string[] | undefined;
1297
1298
  snippet?: string | undefined;
@@ -1299,7 +1300,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1299
1300
  historyId?: string | undefined;
1300
1301
  internalDate?: string | undefined;
1301
1302
  sizeEstimate?: number | undefined;
1302
- raw?: string | undefined;
1303
1303
  payload?: {
1304
1304
  mimeType?: string | undefined;
1305
1305
  headers?: {
@@ -1317,14 +1317,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1317
1317
  id: string;
1318
1318
  }[] | undefined;
1319
1319
  }, {
1320
- error: string;
1321
1320
  success: boolean;
1321
+ error: string;
1322
1322
  operation: "list_drafts";
1323
1323
  next_page_token?: string | undefined;
1324
1324
  result_size_estimate?: number | undefined;
1325
1325
  drafts?: {
1326
1326
  message: {
1327
1327
  id: string;
1328
+ raw?: string | undefined;
1328
1329
  threadId?: string | undefined;
1329
1330
  labelIds?: string[] | undefined;
1330
1331
  snippet?: string | undefined;
@@ -1332,7 +1333,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1332
1333
  historyId?: string | undefined;
1333
1334
  internalDate?: string | undefined;
1334
1335
  sizeEstimate?: number | undefined;
1335
- raw?: string | undefined;
1336
1336
  payload?: {
1337
1337
  mimeType?: string | undefined;
1338
1338
  headers?: {
@@ -1355,13 +1355,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1355
1355
  deleted_message_id: z.ZodOptional<z.ZodString>;
1356
1356
  error: z.ZodString;
1357
1357
  }, "strip", z.ZodTypeAny, {
1358
- error: string;
1359
1358
  success: boolean;
1359
+ error: string;
1360
1360
  operation: "delete_email";
1361
1361
  deleted_message_id?: string | undefined;
1362
1362
  }, {
1363
- error: string;
1364
1363
  success: boolean;
1364
+ error: string;
1365
1365
  operation: "delete_email";
1366
1366
  deleted_message_id?: string | undefined;
1367
1367
  }>, z.ZodObject<{
@@ -1370,13 +1370,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1370
1370
  trashed_message_id: z.ZodOptional<z.ZodString>;
1371
1371
  error: z.ZodString;
1372
1372
  }, "strip", z.ZodTypeAny, {
1373
- error: string;
1374
1373
  success: boolean;
1374
+ error: string;
1375
1375
  operation: "trash_email";
1376
1376
  trashed_message_id?: string | undefined;
1377
1377
  }, {
1378
- error: string;
1379
1378
  success: boolean;
1379
+ error: string;
1380
1380
  operation: "trash_email";
1381
1381
  trashed_message_id?: string | undefined;
1382
1382
  }>, z.ZodObject<{
@@ -1448,6 +1448,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1448
1448
  }>>;
1449
1449
  }, "strip", z.ZodTypeAny, {
1450
1450
  id: string;
1451
+ raw?: string | undefined;
1451
1452
  threadId?: string | undefined;
1452
1453
  labelIds?: string[] | undefined;
1453
1454
  snippet?: string | undefined;
@@ -1455,7 +1456,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1455
1456
  historyId?: string | undefined;
1456
1457
  internalDate?: string | undefined;
1457
1458
  sizeEstimate?: number | undefined;
1458
- raw?: string | undefined;
1459
1459
  payload?: {
1460
1460
  mimeType?: string | undefined;
1461
1461
  headers?: {
@@ -1471,6 +1471,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1471
1471
  } | undefined;
1472
1472
  }, {
1473
1473
  id: string;
1474
+ raw?: string | undefined;
1474
1475
  threadId?: string | undefined;
1475
1476
  labelIds?: string[] | undefined;
1476
1477
  snippet?: string | undefined;
@@ -1478,7 +1479,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1478
1479
  historyId?: string | undefined;
1479
1480
  internalDate?: string | undefined;
1480
1481
  sizeEstimate?: number | undefined;
1481
- raw?: string | undefined;
1482
1482
  payload?: {
1483
1483
  mimeType?: string | undefined;
1484
1484
  headers?: {
@@ -1498,6 +1498,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1498
1498
  id: string;
1499
1499
  messages?: {
1500
1500
  id: string;
1501
+ raw?: string | undefined;
1501
1502
  threadId?: string | undefined;
1502
1503
  labelIds?: string[] | undefined;
1503
1504
  snippet?: string | undefined;
@@ -1505,7 +1506,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1505
1506
  historyId?: string | undefined;
1506
1507
  internalDate?: string | undefined;
1507
1508
  sizeEstimate?: number | undefined;
1508
- raw?: string | undefined;
1509
1509
  payload?: {
1510
1510
  mimeType?: string | undefined;
1511
1511
  headers?: {
@@ -1526,6 +1526,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1526
1526
  id: string;
1527
1527
  messages?: {
1528
1528
  id: string;
1529
+ raw?: string | undefined;
1529
1530
  threadId?: string | undefined;
1530
1531
  labelIds?: string[] | undefined;
1531
1532
  snippet?: string | undefined;
@@ -1533,7 +1534,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1533
1534
  historyId?: string | undefined;
1534
1535
  internalDate?: string | undefined;
1535
1536
  sizeEstimate?: number | undefined;
1536
- raw?: string | undefined;
1537
1537
  payload?: {
1538
1538
  mimeType?: string | undefined;
1539
1539
  headers?: {
@@ -1555,8 +1555,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1555
1555
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1556
1556
  error: z.ZodString;
1557
1557
  }, "strip", z.ZodTypeAny, {
1558
- error: string;
1559
1558
  success: boolean;
1559
+ error: string;
1560
1560
  operation: "list_threads";
1561
1561
  next_page_token?: string | undefined;
1562
1562
  result_size_estimate?: number | undefined;
@@ -1564,6 +1564,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1564
1564
  id: string;
1565
1565
  messages?: {
1566
1566
  id: string;
1567
+ raw?: string | undefined;
1567
1568
  threadId?: string | undefined;
1568
1569
  labelIds?: string[] | undefined;
1569
1570
  snippet?: string | undefined;
@@ -1571,7 +1572,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1571
1572
  historyId?: string | undefined;
1572
1573
  internalDate?: string | undefined;
1573
1574
  sizeEstimate?: number | undefined;
1574
- raw?: string | undefined;
1575
1575
  payload?: {
1576
1576
  mimeType?: string | undefined;
1577
1577
  headers?: {
@@ -1590,8 +1590,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1590
1590
  historyId?: string | undefined;
1591
1591
  }[] | undefined;
1592
1592
  }, {
1593
- error: string;
1594
1593
  success: boolean;
1594
+ error: string;
1595
1595
  operation: "list_threads";
1596
1596
  next_page_token?: string | undefined;
1597
1597
  result_size_estimate?: number | undefined;
@@ -1599,6 +1599,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1599
1599
  id: string;
1600
1600
  messages?: {
1601
1601
  id: string;
1602
+ raw?: string | undefined;
1602
1603
  threadId?: string | undefined;
1603
1604
  labelIds?: string[] | undefined;
1604
1605
  snippet?: string | undefined;
@@ -1606,7 +1607,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1606
1607
  historyId?: string | undefined;
1607
1608
  internalDate?: string | undefined;
1608
1609
  sizeEstimate?: number | undefined;
1609
- raw?: string | undefined;
1610
1610
  payload?: {
1611
1611
  mimeType?: string | undefined;
1612
1612
  headers?: {
@@ -1648,8 +1648,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1648
1648
  }>, "many">>;
1649
1649
  error: z.ZodString;
1650
1650
  }, "strip", z.ZodTypeAny, {
1651
- error: string;
1652
1651
  success: boolean;
1652
+ error: string;
1653
1653
  operation: "list_labels";
1654
1654
  labels?: {
1655
1655
  name: string;
@@ -1659,8 +1659,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1659
1659
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1660
1660
  }[] | undefined;
1661
1661
  }, {
1662
- error: string;
1663
1662
  success: boolean;
1663
+ error: string;
1664
1664
  operation: "list_labels";
1665
1665
  labels?: {
1666
1666
  name: string;
@@ -1693,8 +1693,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1693
1693
  }>>;
1694
1694
  error: z.ZodString;
1695
1695
  }, "strip", z.ZodTypeAny, {
1696
- error: string;
1697
1696
  success: boolean;
1697
+ error: string;
1698
1698
  operation: "create_label";
1699
1699
  label?: {
1700
1700
  name: string;
@@ -1704,8 +1704,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1704
1704
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1705
1705
  } | undefined;
1706
1706
  }, {
1707
- error: string;
1708
1707
  success: boolean;
1708
+ error: string;
1709
1709
  operation: "create_label";
1710
1710
  label?: {
1711
1711
  name: string;
@@ -1721,30 +1721,30 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1721
1721
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1722
1722
  error: z.ZodString;
1723
1723
  }, "strip", z.ZodTypeAny, {
1724
- error: string;
1725
1724
  success: boolean;
1725
+ error: string;
1726
1726
  operation: "modify_message_labels";
1727
- message_id?: string | undefined;
1728
1727
  label_ids?: string[] | undefined;
1728
+ message_id?: string | undefined;
1729
1729
  }, {
1730
- error: string;
1731
1730
  success: boolean;
1731
+ error: string;
1732
1732
  operation: "modify_message_labels";
1733
- message_id?: string | undefined;
1734
1733
  label_ids?: string[] | undefined;
1734
+ message_id?: string | undefined;
1735
1735
  }>, z.ZodObject<{
1736
1736
  operation: z.ZodLiteral<"modify_thread_labels">;
1737
1737
  success: z.ZodBoolean;
1738
1738
  thread_id: z.ZodOptional<z.ZodString>;
1739
1739
  error: z.ZodString;
1740
1740
  }, "strip", z.ZodTypeAny, {
1741
- error: string;
1742
1741
  success: boolean;
1742
+ error: string;
1743
1743
  operation: "modify_thread_labels";
1744
1744
  thread_id?: string | undefined;
1745
1745
  }, {
1746
- error: string;
1747
1746
  success: boolean;
1747
+ error: string;
1748
1748
  operation: "modify_thread_labels";
1749
1749
  thread_id?: string | undefined;
1750
1750
  }>]>;
@@ -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: "minimal" | "metadata" | "raw" | "full";
1831
+ format: "minimal" | "full" | "raw" | "metadata";
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?: "minimal" | "metadata" | "raw" | "full" | undefined;
1839
+ format?: "minimal" | "full" | "raw" | "metadata" | undefined;
1840
1840
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1841
1841
  metadata_headers?: string[] | undefined;
1842
1842
  }>, z.ZodObject<{
@@ -2072,17 +2072,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2072
2072
  thread_id: z.ZodOptional<z.ZodString>;
2073
2073
  error: z.ZodString;
2074
2074
  }, "strip", z.ZodTypeAny, {
2075
- error: string;
2076
2075
  success: boolean;
2076
+ error: string;
2077
2077
  operation: "send_email";
2078
- message_id?: string | undefined;
2079
2078
  thread_id?: string | undefined;
2079
+ message_id?: string | undefined;
2080
2080
  }, {
2081
- error: string;
2082
2081
  success: boolean;
2082
+ error: string;
2083
2083
  operation: "send_email";
2084
- message_id?: string | undefined;
2085
2084
  thread_id?: string | undefined;
2085
+ message_id?: string | undefined;
2086
2086
  }>, z.ZodObject<{
2087
2087
  operation: z.ZodLiteral<"list_emails">;
2088
2088
  success: z.ZodBoolean;
@@ -2149,6 +2149,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2149
2149
  }>>;
2150
2150
  }, "strip", z.ZodTypeAny, {
2151
2151
  id: string;
2152
+ raw?: string | undefined;
2152
2153
  threadId?: string | undefined;
2153
2154
  labelIds?: string[] | undefined;
2154
2155
  snippet?: string | undefined;
@@ -2156,7 +2157,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2156
2157
  historyId?: string | undefined;
2157
2158
  internalDate?: string | undefined;
2158
2159
  sizeEstimate?: number | undefined;
2159
- raw?: string | undefined;
2160
2160
  payload?: {
2161
2161
  mimeType?: string | undefined;
2162
2162
  headers?: {
@@ -2172,6 +2172,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2172
2172
  } | undefined;
2173
2173
  }, {
2174
2174
  id: string;
2175
+ raw?: string | undefined;
2175
2176
  threadId?: string | undefined;
2176
2177
  labelIds?: string[] | undefined;
2177
2178
  snippet?: string | undefined;
@@ -2179,7 +2180,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2179
2180
  historyId?: string | undefined;
2180
2181
  internalDate?: string | undefined;
2181
2182
  sizeEstimate?: number | undefined;
2182
- raw?: string | undefined;
2183
2183
  payload?: {
2184
2184
  mimeType?: string | undefined;
2185
2185
  headers?: {
@@ -2198,11 +2198,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2198
2198
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2199
2199
  error: z.ZodString;
2200
2200
  }, "strip", z.ZodTypeAny, {
2201
- error: string;
2202
2201
  success: boolean;
2202
+ error: string;
2203
2203
  operation: "list_emails";
2204
2204
  messages?: {
2205
2205
  id: string;
2206
+ raw?: string | undefined;
2206
2207
  threadId?: string | undefined;
2207
2208
  labelIds?: string[] | undefined;
2208
2209
  snippet?: string | undefined;
@@ -2210,7 +2211,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2210
2211
  historyId?: string | undefined;
2211
2212
  internalDate?: string | undefined;
2212
2213
  sizeEstimate?: number | undefined;
2213
- raw?: string | undefined;
2214
2214
  payload?: {
2215
2215
  mimeType?: string | undefined;
2216
2216
  headers?: {
@@ -2228,11 +2228,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2228
2228
  next_page_token?: string | undefined;
2229
2229
  result_size_estimate?: number | undefined;
2230
2230
  }, {
2231
- error: string;
2232
2231
  success: boolean;
2232
+ error: string;
2233
2233
  operation: "list_emails";
2234
2234
  messages?: {
2235
2235
  id: string;
2236
+ raw?: string | undefined;
2236
2237
  threadId?: string | undefined;
2237
2238
  labelIds?: string[] | undefined;
2238
2239
  snippet?: string | undefined;
@@ -2240,7 +2241,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2240
2241
  historyId?: string | undefined;
2241
2242
  internalDate?: string | undefined;
2242
2243
  sizeEstimate?: number | undefined;
2243
- raw?: string | undefined;
2244
2244
  payload?: {
2245
2245
  mimeType?: string | undefined;
2246
2246
  headers?: {
@@ -2323,6 +2323,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2323
2323
  }>>;
2324
2324
  }, "strip", z.ZodTypeAny, {
2325
2325
  id: string;
2326
+ raw?: string | undefined;
2326
2327
  threadId?: string | undefined;
2327
2328
  labelIds?: string[] | undefined;
2328
2329
  snippet?: string | undefined;
@@ -2330,7 +2331,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2330
2331
  historyId?: string | undefined;
2331
2332
  internalDate?: string | undefined;
2332
2333
  sizeEstimate?: number | undefined;
2333
- raw?: string | undefined;
2334
2334
  payload?: {
2335
2335
  mimeType?: string | undefined;
2336
2336
  headers?: {
@@ -2346,6 +2346,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2346
2346
  } | undefined;
2347
2347
  }, {
2348
2348
  id: string;
2349
+ raw?: string | undefined;
2349
2350
  threadId?: string | undefined;
2350
2351
  labelIds?: string[] | undefined;
2351
2352
  snippet?: string | undefined;
@@ -2353,7 +2354,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2353
2354
  historyId?: string | undefined;
2354
2355
  internalDate?: string | undefined;
2355
2356
  sizeEstimate?: number | undefined;
2356
- raw?: string | undefined;
2357
2357
  payload?: {
2358
2358
  mimeType?: string | undefined;
2359
2359
  headers?: {
@@ -2370,11 +2370,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2370
2370
  }>>;
2371
2371
  error: z.ZodString;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
- error: string;
2374
2373
  success: boolean;
2374
+ error: string;
2375
2375
  operation: "get_email";
2376
2376
  message?: {
2377
2377
  id: string;
2378
+ raw?: string | undefined;
2378
2379
  threadId?: string | undefined;
2379
2380
  labelIds?: string[] | undefined;
2380
2381
  snippet?: string | undefined;
@@ -2382,7 +2383,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2382
2383
  historyId?: string | undefined;
2383
2384
  internalDate?: string | undefined;
2384
2385
  sizeEstimate?: number | undefined;
2385
- raw?: string | undefined;
2386
2386
  payload?: {
2387
2387
  mimeType?: string | undefined;
2388
2388
  headers?: {
@@ -2398,11 +2398,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2398
2398
  } | undefined;
2399
2399
  } | undefined;
2400
2400
  }, {
2401
- error: string;
2402
2401
  success: boolean;
2402
+ error: string;
2403
2403
  operation: "get_email";
2404
2404
  message?: {
2405
2405
  id: string;
2406
+ raw?: string | undefined;
2406
2407
  threadId?: string | undefined;
2407
2408
  labelIds?: string[] | undefined;
2408
2409
  snippet?: string | undefined;
@@ -2410,7 +2411,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2410
2411
  historyId?: string | undefined;
2411
2412
  internalDate?: string | undefined;
2412
2413
  sizeEstimate?: number | undefined;
2413
- raw?: string | undefined;
2414
2414
  payload?: {
2415
2415
  mimeType?: string | undefined;
2416
2416
  headers?: {
@@ -2491,6 +2491,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2491
2491
  }>>;
2492
2492
  }, "strip", z.ZodTypeAny, {
2493
2493
  id: string;
2494
+ raw?: string | undefined;
2494
2495
  threadId?: string | undefined;
2495
2496
  labelIds?: string[] | undefined;
2496
2497
  snippet?: string | undefined;
@@ -2498,7 +2499,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2498
2499
  historyId?: string | undefined;
2499
2500
  internalDate?: string | undefined;
2500
2501
  sizeEstimate?: number | undefined;
2501
- raw?: string | undefined;
2502
2502
  payload?: {
2503
2503
  mimeType?: string | undefined;
2504
2504
  headers?: {
@@ -2514,6 +2514,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2514
2514
  } | undefined;
2515
2515
  }, {
2516
2516
  id: string;
2517
+ raw?: string | undefined;
2517
2518
  threadId?: string | undefined;
2518
2519
  labelIds?: string[] | undefined;
2519
2520
  snippet?: string | undefined;
@@ -2521,7 +2522,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2521
2522
  historyId?: string | undefined;
2522
2523
  internalDate?: string | undefined;
2523
2524
  sizeEstimate?: number | undefined;
2524
- raw?: string | undefined;
2525
2525
  payload?: {
2526
2526
  mimeType?: string | undefined;
2527
2527
  headers?: {
@@ -2539,11 +2539,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2539
2539
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2540
2540
  error: z.ZodString;
2541
2541
  }, "strip", z.ZodTypeAny, {
2542
- error: string;
2543
2542
  success: boolean;
2543
+ error: string;
2544
2544
  operation: "search_emails";
2545
2545
  messages?: {
2546
2546
  id: string;
2547
+ raw?: string | undefined;
2547
2548
  threadId?: string | undefined;
2548
2549
  labelIds?: string[] | undefined;
2549
2550
  snippet?: string | undefined;
@@ -2551,7 +2552,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2551
2552
  historyId?: string | undefined;
2552
2553
  internalDate?: string | undefined;
2553
2554
  sizeEstimate?: number | undefined;
2554
- raw?: string | undefined;
2555
2555
  payload?: {
2556
2556
  mimeType?: string | undefined;
2557
2557
  headers?: {
@@ -2568,11 +2568,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2568
2568
  }[] | undefined;
2569
2569
  result_size_estimate?: number | undefined;
2570
2570
  }, {
2571
- error: string;
2572
2571
  success: boolean;
2572
+ error: string;
2573
2573
  operation: "search_emails";
2574
2574
  messages?: {
2575
2575
  id: string;
2576
+ raw?: string | undefined;
2576
2577
  threadId?: string | undefined;
2577
2578
  labelIds?: string[] | undefined;
2578
2579
  snippet?: string | undefined;
@@ -2580,7 +2581,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2580
2581
  historyId?: string | undefined;
2581
2582
  internalDate?: string | undefined;
2582
2583
  sizeEstimate?: number | undefined;
2583
- raw?: string | undefined;
2584
2584
  payload?: {
2585
2585
  mimeType?: string | undefined;
2586
2586
  headers?: {
@@ -2602,13 +2602,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2602
2602
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2603
2603
  error: z.ZodString;
2604
2604
  }, "strip", z.ZodTypeAny, {
2605
- error: string;
2606
2605
  success: boolean;
2606
+ error: string;
2607
2607
  operation: "mark_as_read";
2608
2608
  modified_messages?: string[] | undefined;
2609
2609
  }, {
2610
- error: string;
2611
2610
  success: boolean;
2611
+ error: string;
2612
2612
  operation: "mark_as_read";
2613
2613
  modified_messages?: string[] | undefined;
2614
2614
  }>, z.ZodObject<{
@@ -2617,13 +2617,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2617
2617
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2618
2618
  error: z.ZodString;
2619
2619
  }, "strip", z.ZodTypeAny, {
2620
- error: string;
2621
2620
  success: boolean;
2621
+ error: string;
2622
2622
  operation: "mark_as_unread";
2623
2623
  modified_messages?: string[] | undefined;
2624
2624
  }, {
2625
- error: string;
2626
2625
  success: boolean;
2626
+ error: string;
2627
2627
  operation: "mark_as_unread";
2628
2628
  modified_messages?: string[] | undefined;
2629
2629
  }>, z.ZodObject<{
@@ -2694,6 +2694,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2694
2694
  }>>;
2695
2695
  }, "strip", z.ZodTypeAny, {
2696
2696
  id: string;
2697
+ raw?: string | undefined;
2697
2698
  threadId?: string | undefined;
2698
2699
  labelIds?: string[] | undefined;
2699
2700
  snippet?: string | undefined;
@@ -2701,7 +2702,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2701
2702
  historyId?: string | undefined;
2702
2703
  internalDate?: string | undefined;
2703
2704
  sizeEstimate?: number | undefined;
2704
- raw?: string | undefined;
2705
2705
  payload?: {
2706
2706
  mimeType?: string | undefined;
2707
2707
  headers?: {
@@ -2717,6 +2717,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2717
2717
  } | undefined;
2718
2718
  }, {
2719
2719
  id: string;
2720
+ raw?: string | undefined;
2720
2721
  threadId?: string | undefined;
2721
2722
  labelIds?: string[] | undefined;
2722
2723
  snippet?: string | undefined;
@@ -2724,7 +2725,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2724
2725
  historyId?: string | undefined;
2725
2726
  internalDate?: string | undefined;
2726
2727
  sizeEstimate?: number | undefined;
2727
- raw?: string | undefined;
2728
2728
  payload?: {
2729
2729
  mimeType?: string | undefined;
2730
2730
  headers?: {
@@ -2742,6 +2742,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2742
2742
  }, "strip", z.ZodTypeAny, {
2743
2743
  message: {
2744
2744
  id: string;
2745
+ raw?: string | undefined;
2745
2746
  threadId?: string | undefined;
2746
2747
  labelIds?: string[] | undefined;
2747
2748
  snippet?: string | undefined;
@@ -2749,7 +2750,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2749
2750
  historyId?: string | undefined;
2750
2751
  internalDate?: string | undefined;
2751
2752
  sizeEstimate?: number | undefined;
2752
- raw?: string | undefined;
2753
2753
  payload?: {
2754
2754
  mimeType?: string | undefined;
2755
2755
  headers?: {
@@ -2768,6 +2768,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2768
2768
  }, {
2769
2769
  message: {
2770
2770
  id: string;
2771
+ raw?: string | undefined;
2771
2772
  threadId?: string | undefined;
2772
2773
  labelIds?: string[] | undefined;
2773
2774
  snippet?: string | undefined;
@@ -2775,7 +2776,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2775
2776
  historyId?: string | undefined;
2776
2777
  internalDate?: string | undefined;
2777
2778
  sizeEstimate?: number | undefined;
2778
- raw?: string | undefined;
2779
2779
  payload?: {
2780
2780
  mimeType?: string | undefined;
2781
2781
  headers?: {
@@ -2794,12 +2794,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2794
2794
  }>>;
2795
2795
  error: z.ZodString;
2796
2796
  }, "strip", z.ZodTypeAny, {
2797
- error: string;
2798
2797
  success: boolean;
2798
+ error: string;
2799
2799
  operation: "create_draft";
2800
2800
  draft?: {
2801
2801
  message: {
2802
2802
  id: string;
2803
+ raw?: string | undefined;
2803
2804
  threadId?: string | undefined;
2804
2805
  labelIds?: string[] | undefined;
2805
2806
  snippet?: string | undefined;
@@ -2807,7 +2808,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2807
2808
  historyId?: string | undefined;
2808
2809
  internalDate?: string | undefined;
2809
2810
  sizeEstimate?: number | undefined;
2810
- raw?: string | undefined;
2811
2811
  payload?: {
2812
2812
  mimeType?: string | undefined;
2813
2813
  headers?: {
@@ -2825,12 +2825,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2825
2825
  id: string;
2826
2826
  } | undefined;
2827
2827
  }, {
2828
- error: string;
2829
2828
  success: boolean;
2829
+ error: string;
2830
2830
  operation: "create_draft";
2831
2831
  draft?: {
2832
2832
  message: {
2833
2833
  id: string;
2834
+ raw?: string | undefined;
2834
2835
  threadId?: string | undefined;
2835
2836
  labelIds?: string[] | undefined;
2836
2837
  snippet?: string | undefined;
@@ -2838,7 +2839,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2838
2839
  historyId?: string | undefined;
2839
2840
  internalDate?: string | undefined;
2840
2841
  sizeEstimate?: number | undefined;
2841
- raw?: string | undefined;
2842
2842
  payload?: {
2843
2843
  mimeType?: string | undefined;
2844
2844
  headers?: {
@@ -2862,17 +2862,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2862
2862
  thread_id: z.ZodOptional<z.ZodString>;
2863
2863
  error: z.ZodString;
2864
2864
  }, "strip", z.ZodTypeAny, {
2865
- error: string;
2866
2865
  success: boolean;
2866
+ error: string;
2867
2867
  operation: "send_draft";
2868
- message_id?: string | undefined;
2869
2868
  thread_id?: string | undefined;
2869
+ message_id?: string | undefined;
2870
2870
  }, {
2871
- error: string;
2872
2871
  success: boolean;
2872
+ error: string;
2873
2873
  operation: "send_draft";
2874
- message_id?: string | undefined;
2875
2874
  thread_id?: string | undefined;
2875
+ message_id?: string | undefined;
2876
2876
  }>, z.ZodObject<{
2877
2877
  operation: z.ZodLiteral<"list_drafts">;
2878
2878
  success: z.ZodBoolean;
@@ -2941,6 +2941,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2941
2941
  }>>;
2942
2942
  }, "strip", z.ZodTypeAny, {
2943
2943
  id: string;
2944
+ raw?: string | undefined;
2944
2945
  threadId?: string | undefined;
2945
2946
  labelIds?: string[] | undefined;
2946
2947
  snippet?: string | undefined;
@@ -2948,7 +2949,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2948
2949
  historyId?: string | undefined;
2949
2950
  internalDate?: string | undefined;
2950
2951
  sizeEstimate?: number | undefined;
2951
- raw?: string | undefined;
2952
2952
  payload?: {
2953
2953
  mimeType?: string | undefined;
2954
2954
  headers?: {
@@ -2964,6 +2964,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2964
2964
  } | undefined;
2965
2965
  }, {
2966
2966
  id: string;
2967
+ raw?: string | undefined;
2967
2968
  threadId?: string | undefined;
2968
2969
  labelIds?: string[] | undefined;
2969
2970
  snippet?: string | undefined;
@@ -2971,7 +2972,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2971
2972
  historyId?: string | undefined;
2972
2973
  internalDate?: string | undefined;
2973
2974
  sizeEstimate?: number | undefined;
2974
- raw?: string | undefined;
2975
2975
  payload?: {
2976
2976
  mimeType?: string | undefined;
2977
2977
  headers?: {
@@ -2989,6 +2989,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2989
2989
  }, "strip", z.ZodTypeAny, {
2990
2990
  message: {
2991
2991
  id: string;
2992
+ raw?: string | undefined;
2992
2993
  threadId?: string | undefined;
2993
2994
  labelIds?: string[] | undefined;
2994
2995
  snippet?: string | undefined;
@@ -2996,7 +2997,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2996
2997
  historyId?: string | undefined;
2997
2998
  internalDate?: string | undefined;
2998
2999
  sizeEstimate?: number | undefined;
2999
- raw?: string | undefined;
3000
3000
  payload?: {
3001
3001
  mimeType?: string | undefined;
3002
3002
  headers?: {
@@ -3015,6 +3015,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3015
3015
  }, {
3016
3016
  message: {
3017
3017
  id: string;
3018
+ raw?: string | undefined;
3018
3019
  threadId?: string | undefined;
3019
3020
  labelIds?: string[] | undefined;
3020
3021
  snippet?: string | undefined;
@@ -3022,7 +3023,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3022
3023
  historyId?: string | undefined;
3023
3024
  internalDate?: string | undefined;
3024
3025
  sizeEstimate?: number | undefined;
3025
- raw?: string | undefined;
3026
3026
  payload?: {
3027
3027
  mimeType?: string | undefined;
3028
3028
  headers?: {
@@ -3043,14 +3043,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3043
3043
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3044
3044
  error: z.ZodString;
3045
3045
  }, "strip", z.ZodTypeAny, {
3046
- error: string;
3047
3046
  success: boolean;
3047
+ error: string;
3048
3048
  operation: "list_drafts";
3049
3049
  next_page_token?: string | undefined;
3050
3050
  result_size_estimate?: number | undefined;
3051
3051
  drafts?: {
3052
3052
  message: {
3053
3053
  id: string;
3054
+ raw?: string | undefined;
3054
3055
  threadId?: string | undefined;
3055
3056
  labelIds?: string[] | undefined;
3056
3057
  snippet?: string | undefined;
@@ -3058,7 +3059,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3058
3059
  historyId?: string | undefined;
3059
3060
  internalDate?: string | undefined;
3060
3061
  sizeEstimate?: number | undefined;
3061
- raw?: string | undefined;
3062
3062
  payload?: {
3063
3063
  mimeType?: string | undefined;
3064
3064
  headers?: {
@@ -3076,14 +3076,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3076
3076
  id: string;
3077
3077
  }[] | undefined;
3078
3078
  }, {
3079
- error: string;
3080
3079
  success: boolean;
3080
+ error: string;
3081
3081
  operation: "list_drafts";
3082
3082
  next_page_token?: string | undefined;
3083
3083
  result_size_estimate?: number | undefined;
3084
3084
  drafts?: {
3085
3085
  message: {
3086
3086
  id: string;
3087
+ raw?: string | undefined;
3087
3088
  threadId?: string | undefined;
3088
3089
  labelIds?: string[] | undefined;
3089
3090
  snippet?: string | undefined;
@@ -3091,7 +3092,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3091
3092
  historyId?: string | undefined;
3092
3093
  internalDate?: string | undefined;
3093
3094
  sizeEstimate?: number | undefined;
3094
- raw?: string | undefined;
3095
3095
  payload?: {
3096
3096
  mimeType?: string | undefined;
3097
3097
  headers?: {
@@ -3114,13 +3114,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3114
3114
  deleted_message_id: z.ZodOptional<z.ZodString>;
3115
3115
  error: z.ZodString;
3116
3116
  }, "strip", z.ZodTypeAny, {
3117
- error: string;
3118
3117
  success: boolean;
3118
+ error: string;
3119
3119
  operation: "delete_email";
3120
3120
  deleted_message_id?: string | undefined;
3121
3121
  }, {
3122
- error: string;
3123
3122
  success: boolean;
3123
+ error: string;
3124
3124
  operation: "delete_email";
3125
3125
  deleted_message_id?: string | undefined;
3126
3126
  }>, z.ZodObject<{
@@ -3129,13 +3129,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3129
3129
  trashed_message_id: z.ZodOptional<z.ZodString>;
3130
3130
  error: z.ZodString;
3131
3131
  }, "strip", z.ZodTypeAny, {
3132
- error: string;
3133
3132
  success: boolean;
3133
+ error: string;
3134
3134
  operation: "trash_email";
3135
3135
  trashed_message_id?: string | undefined;
3136
3136
  }, {
3137
- error: string;
3138
3137
  success: boolean;
3138
+ error: string;
3139
3139
  operation: "trash_email";
3140
3140
  trashed_message_id?: string | undefined;
3141
3141
  }>, z.ZodObject<{
@@ -3207,6 +3207,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3207
3207
  }>>;
3208
3208
  }, "strip", z.ZodTypeAny, {
3209
3209
  id: string;
3210
+ raw?: string | undefined;
3210
3211
  threadId?: string | undefined;
3211
3212
  labelIds?: string[] | undefined;
3212
3213
  snippet?: string | undefined;
@@ -3214,7 +3215,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3214
3215
  historyId?: string | undefined;
3215
3216
  internalDate?: string | undefined;
3216
3217
  sizeEstimate?: number | undefined;
3217
- raw?: string | undefined;
3218
3218
  payload?: {
3219
3219
  mimeType?: string | undefined;
3220
3220
  headers?: {
@@ -3230,6 +3230,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3230
3230
  } | undefined;
3231
3231
  }, {
3232
3232
  id: string;
3233
+ raw?: string | undefined;
3233
3234
  threadId?: string | undefined;
3234
3235
  labelIds?: string[] | undefined;
3235
3236
  snippet?: string | undefined;
@@ -3237,7 +3238,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3237
3238
  historyId?: string | undefined;
3238
3239
  internalDate?: string | undefined;
3239
3240
  sizeEstimate?: number | undefined;
3240
- raw?: string | undefined;
3241
3241
  payload?: {
3242
3242
  mimeType?: string | undefined;
3243
3243
  headers?: {
@@ -3257,6 +3257,7 @@ 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;
3260
3261
  threadId?: string | undefined;
3261
3262
  labelIds?: string[] | undefined;
3262
3263
  snippet?: string | undefined;
@@ -3264,7 +3265,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3264
3265
  historyId?: string | undefined;
3265
3266
  internalDate?: string | undefined;
3266
3267
  sizeEstimate?: number | undefined;
3267
- raw?: string | undefined;
3268
3268
  payload?: {
3269
3269
  mimeType?: string | undefined;
3270
3270
  headers?: {
@@ -3285,6 +3285,7 @@ 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;
3288
3289
  threadId?: string | undefined;
3289
3290
  labelIds?: string[] | undefined;
3290
3291
  snippet?: string | undefined;
@@ -3292,7 +3293,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3292
3293
  historyId?: string | undefined;
3293
3294
  internalDate?: string | undefined;
3294
3295
  sizeEstimate?: number | undefined;
3295
- raw?: string | undefined;
3296
3296
  payload?: {
3297
3297
  mimeType?: string | undefined;
3298
3298
  headers?: {
@@ -3314,8 +3314,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3314
3314
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3315
3315
  error: z.ZodString;
3316
3316
  }, "strip", z.ZodTypeAny, {
3317
- error: string;
3318
3317
  success: boolean;
3318
+ error: string;
3319
3319
  operation: "list_threads";
3320
3320
  next_page_token?: string | undefined;
3321
3321
  result_size_estimate?: number | undefined;
@@ -3323,6 +3323,7 @@ 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;
3326
3327
  threadId?: string | undefined;
3327
3328
  labelIds?: string[] | undefined;
3328
3329
  snippet?: string | undefined;
@@ -3330,7 +3331,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3330
3331
  historyId?: string | undefined;
3331
3332
  internalDate?: string | undefined;
3332
3333
  sizeEstimate?: number | undefined;
3333
- raw?: string | undefined;
3334
3334
  payload?: {
3335
3335
  mimeType?: string | undefined;
3336
3336
  headers?: {
@@ -3349,8 +3349,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3349
3349
  historyId?: string | undefined;
3350
3350
  }[] | undefined;
3351
3351
  }, {
3352
- error: string;
3353
3352
  success: boolean;
3353
+ error: string;
3354
3354
  operation: "list_threads";
3355
3355
  next_page_token?: string | undefined;
3356
3356
  result_size_estimate?: number | undefined;
@@ -3358,6 +3358,7 @@ 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;
3361
3362
  threadId?: string | undefined;
3362
3363
  labelIds?: string[] | undefined;
3363
3364
  snippet?: string | undefined;
@@ -3365,7 +3366,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3365
3366
  historyId?: string | undefined;
3366
3367
  internalDate?: string | undefined;
3367
3368
  sizeEstimate?: number | undefined;
3368
- raw?: string | undefined;
3369
3369
  payload?: {
3370
3370
  mimeType?: string | undefined;
3371
3371
  headers?: {
@@ -3407,8 +3407,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3407
3407
  }>, "many">>;
3408
3408
  error: z.ZodString;
3409
3409
  }, "strip", z.ZodTypeAny, {
3410
- error: string;
3411
3410
  success: boolean;
3411
+ error: string;
3412
3412
  operation: "list_labels";
3413
3413
  labels?: {
3414
3414
  name: string;
@@ -3418,8 +3418,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3418
3418
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3419
3419
  }[] | undefined;
3420
3420
  }, {
3421
- error: string;
3422
3421
  success: boolean;
3422
+ error: string;
3423
3423
  operation: "list_labels";
3424
3424
  labels?: {
3425
3425
  name: string;
@@ -3452,8 +3452,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3452
3452
  }>>;
3453
3453
  error: z.ZodString;
3454
3454
  }, "strip", z.ZodTypeAny, {
3455
- error: string;
3456
3455
  success: boolean;
3456
+ error: string;
3457
3457
  operation: "create_label";
3458
3458
  label?: {
3459
3459
  name: string;
@@ -3463,8 +3463,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3463
3463
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3464
3464
  } | undefined;
3465
3465
  }, {
3466
- error: string;
3467
3466
  success: boolean;
3467
+ error: string;
3468
3468
  operation: "create_label";
3469
3469
  label?: {
3470
3470
  name: string;
@@ -3480,30 +3480,30 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3480
3480
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3481
3481
  error: z.ZodString;
3482
3482
  }, "strip", z.ZodTypeAny, {
3483
- error: string;
3484
3483
  success: boolean;
3484
+ error: string;
3485
3485
  operation: "modify_message_labels";
3486
- message_id?: string | undefined;
3487
3486
  label_ids?: string[] | undefined;
3487
+ message_id?: string | undefined;
3488
3488
  }, {
3489
- error: string;
3490
3489
  success: boolean;
3490
+ error: string;
3491
3491
  operation: "modify_message_labels";
3492
- message_id?: string | undefined;
3493
3492
  label_ids?: string[] | undefined;
3493
+ message_id?: string | undefined;
3494
3494
  }>, z.ZodObject<{
3495
3495
  operation: z.ZodLiteral<"modify_thread_labels">;
3496
3496
  success: z.ZodBoolean;
3497
3497
  thread_id: z.ZodOptional<z.ZodString>;
3498
3498
  error: z.ZodString;
3499
3499
  }, "strip", z.ZodTypeAny, {
3500
- error: string;
3501
3500
  success: boolean;
3501
+ error: string;
3502
3502
  operation: "modify_thread_labels";
3503
3503
  thread_id?: string | undefined;
3504
3504
  }, {
3505
- error: string;
3506
3505
  success: boolean;
3506
+ error: string;
3507
3507
  operation: "modify_thread_labels";
3508
3508
  thread_id?: string | undefined;
3509
3509
  }>]>;