@bubblelab/bubble-core 0.1.242 → 0.1.244

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 (126) hide show
  1. package/dist/bubble-bundle.d.ts +183 -183
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +80 -80
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +16 -16
  4. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.js +26 -5
  6. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  7. package/dist/bubbles/service-bubble/airtable.d.ts +78 -78
  8. package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +8 -8
  9. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  10. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
  11. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +12 -12
  12. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +8 -8
  14. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
  15. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
  16. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
  17. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
  18. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  19. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +139 -139
  20. package/dist/bubbles/service-bubble/apify/apify.d.ts +8 -8
  21. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +100 -100
  22. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +88 -88
  23. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +41 -41
  24. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +36 -36
  25. package/dist/bubbles/service-bubble/attio/attio.d.ts +28 -28
  26. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +28 -28
  27. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +30 -30
  28. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +32 -32
  29. package/dist/bubbles/service-bubble/capability-pipeline.d.ts.map +1 -1
  30. package/dist/bubbles/service-bubble/capability-pipeline.js +8 -4
  31. package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
  32. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +38 -38
  33. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
  34. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +52 -52
  35. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  36. package/dist/bubbles/service-bubble/eleven-labs.d.ts +32 -32
  37. package/dist/bubbles/service-bubble/firecrawl.d.ts +826 -826
  38. package/dist/bubbles/service-bubble/followupboss.d.ts +196 -196
  39. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
  40. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  41. package/dist/bubbles/service-bubble/github.d.ts +190 -190
  42. package/dist/bubbles/service-bubble/gmail.d.ts +148 -148
  43. package/dist/bubbles/service-bubble/google-calendar.d.ts +218 -218
  44. package/dist/bubbles/service-bubble/google-drive.d.ts +92 -92
  45. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  46. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
  47. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  48. package/dist/bubbles/service-bubble/http.d.ts +20 -20
  49. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +78 -78
  50. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +46 -46
  51. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  52. package/dist/bubbles/service-bubble/jira/jira.d.ts +65 -65
  53. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +94 -94
  54. package/dist/bubbles/service-bubble/linear/linear.d.ts +35 -35
  55. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
  56. package/dist/bubbles/service-bubble/notion/notion.d.ts +818 -818
  57. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  58. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  59. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +26 -26
  60. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +26 -26
  61. package/dist/bubbles/service-bubble/ramp/ramp.d.ts +28 -28
  62. package/dist/bubbles/service-bubble/ramp/ramp.schema.d.ts +28 -28
  63. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  64. package/dist/bubbles/service-bubble/s3/s3.d.ts +12 -12
  65. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
  66. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +6 -6
  67. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
  68. package/dist/bubbles/service-bubble/slab/slab.d.ts +24 -24
  69. package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +44 -44
  70. package/dist/bubbles/service-bubble/slack/slack.d.ts +418 -418
  71. package/dist/bubbles/service-bubble/storage.d.ts +24 -24
  72. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +146 -146
  73. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +179 -179
  74. package/dist/bubbles/service-bubble/telegram.d.ts +1540 -1540
  75. package/dist/bubbles/service-bubble/xero/xero.d.ts +28 -28
  76. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +28 -28
  77. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +119 -119
  78. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +103 -103
  79. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +15 -15
  80. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +13 -13
  81. package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +24 -24
  82. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  83. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  84. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  85. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  86. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  87. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  88. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  89. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  90. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  91. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
  92. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
  93. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  94. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
  95. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  96. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  97. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  98. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  99. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +234 -234
  100. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  101. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  102. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  103. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
  104. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +48 -48
  105. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +32 -32
  106. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  107. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  108. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +28 -28
  109. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  110. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +82 -82
  111. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
  112. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  113. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  114. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +14 -14
  115. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +18 -18
  116. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  117. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  118. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +28 -28
  119. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  120. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +120 -120
  121. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  122. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +34 -34
  123. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +86 -86
  124. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  125. package/dist/bubbles.json +1 -1
  126. 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" | "full" | "raw" | "metadata";
72
+ format: "minimal" | "metadata" | "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?: "minimal" | "full" | "raw" | "metadata" | undefined;
80
+ format?: "minimal" | "metadata" | "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
- query: string;
91
90
  operation: "search_emails";
91
+ query: string;
92
92
  max_results: number;
93
93
  include_spam_trash: boolean;
94
94
  credentials?: Partial<Record<CredentialType, string>> | undefined;
95
95
  }, {
96
- query: string;
97
96
  operation: "search_emails";
97
+ query: string;
98
98
  credentials?: Partial<Record<CredentialType, string>> | undefined;
99
99
  max_results?: number | undefined;
100
100
  include_spam_trash?: boolean | undefined;
@@ -328,17 +328,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
328
328
  thread_id: z.ZodOptional<z.ZodString>;
329
329
  error: z.ZodString;
330
330
  }, "strip", z.ZodTypeAny, {
331
- success: boolean;
332
331
  error: string;
332
+ success: boolean;
333
333
  operation: "send_email";
334
- thread_id?: string | undefined;
335
334
  message_id?: string | undefined;
335
+ thread_id?: string | undefined;
336
336
  }, {
337
- success: boolean;
338
337
  error: string;
338
+ success: boolean;
339
339
  operation: "send_email";
340
- thread_id?: string | undefined;
341
340
  message_id?: string | undefined;
341
+ thread_id?: string | undefined;
342
342
  }>, z.ZodObject<{
343
343
  operation: z.ZodLiteral<"list_emails">;
344
344
  success: z.ZodBoolean;
@@ -405,7 +405,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
405
405
  }>>;
406
406
  }, "strip", z.ZodTypeAny, {
407
407
  id: string;
408
- raw?: string | undefined;
409
408
  threadId?: string | undefined;
410
409
  labelIds?: string[] | undefined;
411
410
  snippet?: string | undefined;
@@ -413,6 +412,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
413
412
  historyId?: string | undefined;
414
413
  internalDate?: string | undefined;
415
414
  sizeEstimate?: number | undefined;
415
+ raw?: string | undefined;
416
416
  payload?: {
417
417
  mimeType?: string | undefined;
418
418
  headers?: {
@@ -428,7 +428,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
428
428
  } | undefined;
429
429
  }, {
430
430
  id: string;
431
- raw?: string | undefined;
432
431
  threadId?: string | undefined;
433
432
  labelIds?: string[] | undefined;
434
433
  snippet?: string | undefined;
@@ -436,6 +435,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
436
435
  historyId?: string | undefined;
437
436
  internalDate?: string | undefined;
438
437
  sizeEstimate?: number | undefined;
438
+ raw?: string | undefined;
439
439
  payload?: {
440
440
  mimeType?: string | undefined;
441
441
  headers?: {
@@ -454,12 +454,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
454
454
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
455
455
  error: z.ZodString;
456
456
  }, "strip", z.ZodTypeAny, {
457
- success: boolean;
458
457
  error: string;
458
+ success: boolean;
459
459
  operation: "list_emails";
460
460
  messages?: {
461
461
  id: string;
462
- raw?: string | undefined;
463
462
  threadId?: string | undefined;
464
463
  labelIds?: string[] | undefined;
465
464
  snippet?: string | undefined;
@@ -467,6 +466,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
467
466
  historyId?: string | undefined;
468
467
  internalDate?: string | undefined;
469
468
  sizeEstimate?: number | undefined;
469
+ raw?: string | undefined;
470
470
  payload?: {
471
471
  mimeType?: string | undefined;
472
472
  headers?: {
@@ -484,12 +484,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
484
484
  next_page_token?: string | undefined;
485
485
  result_size_estimate?: number | undefined;
486
486
  }, {
487
- success: boolean;
488
487
  error: string;
488
+ success: boolean;
489
489
  operation: "list_emails";
490
490
  messages?: {
491
491
  id: string;
492
- raw?: string | undefined;
493
492
  threadId?: string | undefined;
494
493
  labelIds?: string[] | undefined;
495
494
  snippet?: string | undefined;
@@ -497,6 +496,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
497
496
  historyId?: string | undefined;
498
497
  internalDate?: string | undefined;
499
498
  sizeEstimate?: number | undefined;
499
+ raw?: string | undefined;
500
500
  payload?: {
501
501
  mimeType?: string | undefined;
502
502
  headers?: {
@@ -579,7 +579,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
579
579
  }>>;
580
580
  }, "strip", z.ZodTypeAny, {
581
581
  id: string;
582
- raw?: string | undefined;
583
582
  threadId?: string | undefined;
584
583
  labelIds?: string[] | undefined;
585
584
  snippet?: string | undefined;
@@ -587,6 +586,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
587
586
  historyId?: string | undefined;
588
587
  internalDate?: string | undefined;
589
588
  sizeEstimate?: number | undefined;
589
+ raw?: string | undefined;
590
590
  payload?: {
591
591
  mimeType?: string | undefined;
592
592
  headers?: {
@@ -602,7 +602,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
602
602
  } | undefined;
603
603
  }, {
604
604
  id: string;
605
- raw?: string | undefined;
606
605
  threadId?: string | undefined;
607
606
  labelIds?: string[] | undefined;
608
607
  snippet?: string | undefined;
@@ -610,6 +609,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
610
609
  historyId?: string | undefined;
611
610
  internalDate?: string | undefined;
612
611
  sizeEstimate?: number | undefined;
612
+ raw?: string | undefined;
613
613
  payload?: {
614
614
  mimeType?: string | undefined;
615
615
  headers?: {
@@ -626,12 +626,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
626
626
  }>>;
627
627
  error: z.ZodString;
628
628
  }, "strip", z.ZodTypeAny, {
629
- success: boolean;
630
629
  error: string;
630
+ success: boolean;
631
631
  operation: "get_email";
632
632
  message?: {
633
633
  id: string;
634
- raw?: string | undefined;
635
634
  threadId?: string | undefined;
636
635
  labelIds?: string[] | undefined;
637
636
  snippet?: string | undefined;
@@ -639,6 +638,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
639
638
  historyId?: string | undefined;
640
639
  internalDate?: string | undefined;
641
640
  sizeEstimate?: number | undefined;
641
+ raw?: string | undefined;
642
642
  payload?: {
643
643
  mimeType?: string | undefined;
644
644
  headers?: {
@@ -654,12 +654,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
654
654
  } | undefined;
655
655
  } | undefined;
656
656
  }, {
657
- success: boolean;
658
657
  error: string;
658
+ success: boolean;
659
659
  operation: "get_email";
660
660
  message?: {
661
661
  id: string;
662
- raw?: string | undefined;
663
662
  threadId?: string | undefined;
664
663
  labelIds?: string[] | undefined;
665
664
  snippet?: string | undefined;
@@ -667,6 +666,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
667
666
  historyId?: string | undefined;
668
667
  internalDate?: string | undefined;
669
668
  sizeEstimate?: number | undefined;
669
+ raw?: string | undefined;
670
670
  payload?: {
671
671
  mimeType?: string | undefined;
672
672
  headers?: {
@@ -747,7 +747,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
747
747
  }>>;
748
748
  }, "strip", z.ZodTypeAny, {
749
749
  id: string;
750
- raw?: string | undefined;
751
750
  threadId?: string | undefined;
752
751
  labelIds?: string[] | undefined;
753
752
  snippet?: string | undefined;
@@ -755,6 +754,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
755
754
  historyId?: string | undefined;
756
755
  internalDate?: string | undefined;
757
756
  sizeEstimate?: number | undefined;
757
+ raw?: string | undefined;
758
758
  payload?: {
759
759
  mimeType?: string | undefined;
760
760
  headers?: {
@@ -770,7 +770,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
770
770
  } | undefined;
771
771
  }, {
772
772
  id: string;
773
- raw?: string | undefined;
774
773
  threadId?: string | undefined;
775
774
  labelIds?: string[] | undefined;
776
775
  snippet?: string | undefined;
@@ -778,6 +777,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
778
777
  historyId?: string | undefined;
779
778
  internalDate?: string | undefined;
780
779
  sizeEstimate?: number | undefined;
780
+ raw?: string | undefined;
781
781
  payload?: {
782
782
  mimeType?: string | undefined;
783
783
  headers?: {
@@ -795,12 +795,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
795
795
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
796
796
  error: z.ZodString;
797
797
  }, "strip", z.ZodTypeAny, {
798
- success: boolean;
799
798
  error: string;
799
+ success: boolean;
800
800
  operation: "search_emails";
801
801
  messages?: {
802
802
  id: string;
803
- raw?: string | undefined;
804
803
  threadId?: string | undefined;
805
804
  labelIds?: string[] | undefined;
806
805
  snippet?: string | undefined;
@@ -808,6 +807,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
808
807
  historyId?: string | undefined;
809
808
  internalDate?: string | undefined;
810
809
  sizeEstimate?: number | undefined;
810
+ raw?: string | undefined;
811
811
  payload?: {
812
812
  mimeType?: string | undefined;
813
813
  headers?: {
@@ -824,12 +824,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
824
824
  }[] | undefined;
825
825
  result_size_estimate?: number | undefined;
826
826
  }, {
827
- success: boolean;
828
827
  error: string;
828
+ success: boolean;
829
829
  operation: "search_emails";
830
830
  messages?: {
831
831
  id: string;
832
- raw?: string | undefined;
833
832
  threadId?: string | undefined;
834
833
  labelIds?: string[] | undefined;
835
834
  snippet?: string | undefined;
@@ -837,6 +836,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
837
836
  historyId?: string | undefined;
838
837
  internalDate?: string | undefined;
839
838
  sizeEstimate?: number | undefined;
839
+ raw?: string | undefined;
840
840
  payload?: {
841
841
  mimeType?: string | undefined;
842
842
  headers?: {
@@ -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
- success: boolean;
862
861
  error: string;
862
+ success: boolean;
863
863
  operation: "mark_as_read";
864
864
  modified_messages?: string[] | undefined;
865
865
  }, {
866
- success: boolean;
867
866
  error: string;
867
+ success: boolean;
868
868
  operation: "mark_as_read";
869
869
  modified_messages?: string[] | undefined;
870
870
  }>, z.ZodObject<{
@@ -873,13 +873,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
873
873
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
874
874
  error: z.ZodString;
875
875
  }, "strip", z.ZodTypeAny, {
876
- success: boolean;
877
876
  error: string;
877
+ success: boolean;
878
878
  operation: "mark_as_unread";
879
879
  modified_messages?: string[] | undefined;
880
880
  }, {
881
- success: boolean;
882
881
  error: string;
882
+ success: boolean;
883
883
  operation: "mark_as_unread";
884
884
  modified_messages?: string[] | undefined;
885
885
  }>, z.ZodObject<{
@@ -950,7 +950,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
950
950
  }>>;
951
951
  }, "strip", z.ZodTypeAny, {
952
952
  id: string;
953
- raw?: string | undefined;
954
953
  threadId?: string | undefined;
955
954
  labelIds?: string[] | undefined;
956
955
  snippet?: string | undefined;
@@ -958,6 +957,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
958
957
  historyId?: string | undefined;
959
958
  internalDate?: string | undefined;
960
959
  sizeEstimate?: number | undefined;
960
+ raw?: string | undefined;
961
961
  payload?: {
962
962
  mimeType?: string | undefined;
963
963
  headers?: {
@@ -973,7 +973,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
973
973
  } | undefined;
974
974
  }, {
975
975
  id: string;
976
- raw?: string | undefined;
977
976
  threadId?: string | undefined;
978
977
  labelIds?: string[] | undefined;
979
978
  snippet?: string | undefined;
@@ -981,6 +980,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
981
980
  historyId?: string | undefined;
982
981
  internalDate?: string | undefined;
983
982
  sizeEstimate?: number | undefined;
983
+ raw?: string | undefined;
984
984
  payload?: {
985
985
  mimeType?: string | undefined;
986
986
  headers?: {
@@ -998,7 +998,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
998
998
  }, "strip", z.ZodTypeAny, {
999
999
  message: {
1000
1000
  id: string;
1001
- raw?: string | undefined;
1002
1001
  threadId?: string | undefined;
1003
1002
  labelIds?: string[] | undefined;
1004
1003
  snippet?: string | undefined;
@@ -1006,6 +1005,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1006
1005
  historyId?: string | undefined;
1007
1006
  internalDate?: string | undefined;
1008
1007
  sizeEstimate?: number | undefined;
1008
+ raw?: string | undefined;
1009
1009
  payload?: {
1010
1010
  mimeType?: string | undefined;
1011
1011
  headers?: {
@@ -1024,7 +1024,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1024
1024
  }, {
1025
1025
  message: {
1026
1026
  id: string;
1027
- raw?: string | undefined;
1028
1027
  threadId?: string | undefined;
1029
1028
  labelIds?: string[] | undefined;
1030
1029
  snippet?: string | undefined;
@@ -1032,6 +1031,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1032
1031
  historyId?: string | undefined;
1033
1032
  internalDate?: string | undefined;
1034
1033
  sizeEstimate?: number | undefined;
1034
+ raw?: string | undefined;
1035
1035
  payload?: {
1036
1036
  mimeType?: string | undefined;
1037
1037
  headers?: {
@@ -1050,13 +1050,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1050
1050
  }>>;
1051
1051
  error: z.ZodString;
1052
1052
  }, "strip", z.ZodTypeAny, {
1053
- success: boolean;
1054
1053
  error: string;
1054
+ success: boolean;
1055
1055
  operation: "create_draft";
1056
1056
  draft?: {
1057
1057
  message: {
1058
1058
  id: string;
1059
- raw?: string | undefined;
1060
1059
  threadId?: string | undefined;
1061
1060
  labelIds?: string[] | undefined;
1062
1061
  snippet?: string | undefined;
@@ -1064,6 +1063,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1064
1063
  historyId?: string | undefined;
1065
1064
  internalDate?: string | undefined;
1066
1065
  sizeEstimate?: number | undefined;
1066
+ raw?: string | undefined;
1067
1067
  payload?: {
1068
1068
  mimeType?: string | undefined;
1069
1069
  headers?: {
@@ -1081,13 +1081,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1081
1081
  id: string;
1082
1082
  } | undefined;
1083
1083
  }, {
1084
- success: boolean;
1085
1084
  error: string;
1085
+ success: boolean;
1086
1086
  operation: "create_draft";
1087
1087
  draft?: {
1088
1088
  message: {
1089
1089
  id: string;
1090
- raw?: string | undefined;
1091
1090
  threadId?: string | undefined;
1092
1091
  labelIds?: string[] | undefined;
1093
1092
  snippet?: string | undefined;
@@ -1095,6 +1094,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1095
1094
  historyId?: string | undefined;
1096
1095
  internalDate?: string | undefined;
1097
1096
  sizeEstimate?: number | undefined;
1097
+ raw?: string | undefined;
1098
1098
  payload?: {
1099
1099
  mimeType?: string | undefined;
1100
1100
  headers?: {
@@ -1118,17 +1118,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1118
1118
  thread_id: z.ZodOptional<z.ZodString>;
1119
1119
  error: z.ZodString;
1120
1120
  }, "strip", z.ZodTypeAny, {
1121
- success: boolean;
1122
1121
  error: string;
1122
+ success: boolean;
1123
1123
  operation: "send_draft";
1124
- thread_id?: string | undefined;
1125
1124
  message_id?: string | undefined;
1125
+ thread_id?: string | undefined;
1126
1126
  }, {
1127
- success: boolean;
1128
1127
  error: string;
1128
+ success: boolean;
1129
1129
  operation: "send_draft";
1130
- thread_id?: string | undefined;
1131
1130
  message_id?: string | undefined;
1131
+ thread_id?: string | undefined;
1132
1132
  }>, z.ZodObject<{
1133
1133
  operation: z.ZodLiteral<"list_drafts">;
1134
1134
  success: z.ZodBoolean;
@@ -1197,7 +1197,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1197
1197
  }>>;
1198
1198
  }, "strip", z.ZodTypeAny, {
1199
1199
  id: string;
1200
- raw?: string | undefined;
1201
1200
  threadId?: string | undefined;
1202
1201
  labelIds?: string[] | undefined;
1203
1202
  snippet?: string | undefined;
@@ -1205,6 +1204,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1205
1204
  historyId?: string | undefined;
1206
1205
  internalDate?: string | undefined;
1207
1206
  sizeEstimate?: number | undefined;
1207
+ raw?: string | undefined;
1208
1208
  payload?: {
1209
1209
  mimeType?: string | undefined;
1210
1210
  headers?: {
@@ -1220,7 +1220,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1220
1220
  } | undefined;
1221
1221
  }, {
1222
1222
  id: string;
1223
- raw?: string | undefined;
1224
1223
  threadId?: string | undefined;
1225
1224
  labelIds?: string[] | undefined;
1226
1225
  snippet?: string | undefined;
@@ -1228,6 +1227,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1228
1227
  historyId?: string | undefined;
1229
1228
  internalDate?: string | undefined;
1230
1229
  sizeEstimate?: number | undefined;
1230
+ raw?: string | undefined;
1231
1231
  payload?: {
1232
1232
  mimeType?: string | undefined;
1233
1233
  headers?: {
@@ -1245,7 +1245,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1245
1245
  }, "strip", z.ZodTypeAny, {
1246
1246
  message: {
1247
1247
  id: string;
1248
- raw?: string | undefined;
1249
1248
  threadId?: string | undefined;
1250
1249
  labelIds?: string[] | undefined;
1251
1250
  snippet?: string | undefined;
@@ -1253,6 +1252,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1253
1252
  historyId?: string | undefined;
1254
1253
  internalDate?: string | undefined;
1255
1254
  sizeEstimate?: number | undefined;
1255
+ raw?: string | undefined;
1256
1256
  payload?: {
1257
1257
  mimeType?: string | undefined;
1258
1258
  headers?: {
@@ -1271,7 +1271,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1271
1271
  }, {
1272
1272
  message: {
1273
1273
  id: string;
1274
- raw?: string | undefined;
1275
1274
  threadId?: string | undefined;
1276
1275
  labelIds?: string[] | undefined;
1277
1276
  snippet?: string | undefined;
@@ -1279,6 +1278,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1279
1278
  historyId?: string | undefined;
1280
1279
  internalDate?: string | undefined;
1281
1280
  sizeEstimate?: number | undefined;
1281
+ raw?: string | undefined;
1282
1282
  payload?: {
1283
1283
  mimeType?: string | undefined;
1284
1284
  headers?: {
@@ -1299,15 +1299,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1299
1299
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1300
1300
  error: z.ZodString;
1301
1301
  }, "strip", z.ZodTypeAny, {
1302
- success: boolean;
1303
1302
  error: string;
1303
+ success: boolean;
1304
1304
  operation: "list_drafts";
1305
1305
  next_page_token?: string | undefined;
1306
1306
  result_size_estimate?: number | undefined;
1307
1307
  drafts?: {
1308
1308
  message: {
1309
1309
  id: string;
1310
- raw?: string | undefined;
1311
1310
  threadId?: string | undefined;
1312
1311
  labelIds?: string[] | undefined;
1313
1312
  snippet?: string | undefined;
@@ -1315,6 +1314,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1315
1314
  historyId?: string | undefined;
1316
1315
  internalDate?: string | undefined;
1317
1316
  sizeEstimate?: number | undefined;
1317
+ raw?: string | undefined;
1318
1318
  payload?: {
1319
1319
  mimeType?: string | undefined;
1320
1320
  headers?: {
@@ -1332,15 +1332,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1332
1332
  id: string;
1333
1333
  }[] | undefined;
1334
1334
  }, {
1335
- success: boolean;
1336
1335
  error: string;
1336
+ success: boolean;
1337
1337
  operation: "list_drafts";
1338
1338
  next_page_token?: string | undefined;
1339
1339
  result_size_estimate?: number | undefined;
1340
1340
  drafts?: {
1341
1341
  message: {
1342
1342
  id: string;
1343
- raw?: string | undefined;
1344
1343
  threadId?: string | undefined;
1345
1344
  labelIds?: string[] | undefined;
1346
1345
  snippet?: string | undefined;
@@ -1348,6 +1347,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1348
1347
  historyId?: string | undefined;
1349
1348
  internalDate?: string | undefined;
1350
1349
  sizeEstimate?: number | undefined;
1350
+ raw?: string | undefined;
1351
1351
  payload?: {
1352
1352
  mimeType?: string | undefined;
1353
1353
  headers?: {
@@ -1370,13 +1370,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1370
1370
  deleted_message_id: z.ZodOptional<z.ZodString>;
1371
1371
  error: z.ZodString;
1372
1372
  }, "strip", z.ZodTypeAny, {
1373
- success: boolean;
1374
1373
  error: string;
1374
+ success: boolean;
1375
1375
  operation: "delete_email";
1376
1376
  deleted_message_id?: string | undefined;
1377
1377
  }, {
1378
- success: boolean;
1379
1378
  error: string;
1379
+ success: boolean;
1380
1380
  operation: "delete_email";
1381
1381
  deleted_message_id?: string | undefined;
1382
1382
  }>, z.ZodObject<{
@@ -1385,13 +1385,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1385
1385
  trashed_message_id: z.ZodOptional<z.ZodString>;
1386
1386
  error: z.ZodString;
1387
1387
  }, "strip", z.ZodTypeAny, {
1388
- success: boolean;
1389
1388
  error: string;
1389
+ success: boolean;
1390
1390
  operation: "trash_email";
1391
1391
  trashed_message_id?: string | undefined;
1392
1392
  }, {
1393
- success: boolean;
1394
1393
  error: string;
1394
+ success: boolean;
1395
1395
  operation: "trash_email";
1396
1396
  trashed_message_id?: string | undefined;
1397
1397
  }>, z.ZodObject<{
@@ -1463,7 +1463,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1463
1463
  }>>;
1464
1464
  }, "strip", z.ZodTypeAny, {
1465
1465
  id: string;
1466
- raw?: string | undefined;
1467
1466
  threadId?: string | undefined;
1468
1467
  labelIds?: string[] | undefined;
1469
1468
  snippet?: string | undefined;
@@ -1471,6 +1470,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1471
1470
  historyId?: string | undefined;
1472
1471
  internalDate?: string | undefined;
1473
1472
  sizeEstimate?: number | undefined;
1473
+ raw?: string | undefined;
1474
1474
  payload?: {
1475
1475
  mimeType?: string | undefined;
1476
1476
  headers?: {
@@ -1486,7 +1486,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1486
1486
  } | undefined;
1487
1487
  }, {
1488
1488
  id: string;
1489
- raw?: string | undefined;
1490
1489
  threadId?: string | undefined;
1491
1490
  labelIds?: string[] | undefined;
1492
1491
  snippet?: string | undefined;
@@ -1494,6 +1493,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1494
1493
  historyId?: string | undefined;
1495
1494
  internalDate?: string | undefined;
1496
1495
  sizeEstimate?: number | undefined;
1496
+ raw?: string | undefined;
1497
1497
  payload?: {
1498
1498
  mimeType?: string | undefined;
1499
1499
  headers?: {
@@ -1513,7 +1513,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1513
1513
  id: string;
1514
1514
  messages?: {
1515
1515
  id: string;
1516
- raw?: string | undefined;
1517
1516
  threadId?: string | undefined;
1518
1517
  labelIds?: string[] | undefined;
1519
1518
  snippet?: string | undefined;
@@ -1521,6 +1520,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1521
1520
  historyId?: string | undefined;
1522
1521
  internalDate?: string | undefined;
1523
1522
  sizeEstimate?: number | undefined;
1523
+ raw?: string | undefined;
1524
1524
  payload?: {
1525
1525
  mimeType?: string | undefined;
1526
1526
  headers?: {
@@ -1541,7 +1541,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1541
1541
  id: string;
1542
1542
  messages?: {
1543
1543
  id: string;
1544
- raw?: string | undefined;
1545
1544
  threadId?: string | undefined;
1546
1545
  labelIds?: string[] | undefined;
1547
1546
  snippet?: string | undefined;
@@ -1549,6 +1548,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1549
1548
  historyId?: string | undefined;
1550
1549
  internalDate?: string | undefined;
1551
1550
  sizeEstimate?: number | undefined;
1551
+ raw?: string | undefined;
1552
1552
  payload?: {
1553
1553
  mimeType?: string | undefined;
1554
1554
  headers?: {
@@ -1570,8 +1570,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1570
1570
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1571
1571
  error: z.ZodString;
1572
1572
  }, "strip", z.ZodTypeAny, {
1573
- success: boolean;
1574
1573
  error: string;
1574
+ success: boolean;
1575
1575
  operation: "list_threads";
1576
1576
  next_page_token?: string | undefined;
1577
1577
  result_size_estimate?: number | undefined;
@@ -1579,7 +1579,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1579
1579
  id: string;
1580
1580
  messages?: {
1581
1581
  id: string;
1582
- raw?: string | undefined;
1583
1582
  threadId?: string | undefined;
1584
1583
  labelIds?: string[] | undefined;
1585
1584
  snippet?: string | undefined;
@@ -1587,6 +1586,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1587
1586
  historyId?: string | undefined;
1588
1587
  internalDate?: string | undefined;
1589
1588
  sizeEstimate?: number | undefined;
1589
+ raw?: string | undefined;
1590
1590
  payload?: {
1591
1591
  mimeType?: string | undefined;
1592
1592
  headers?: {
@@ -1605,8 +1605,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1605
1605
  historyId?: string | undefined;
1606
1606
  }[] | undefined;
1607
1607
  }, {
1608
- success: boolean;
1609
1608
  error: string;
1609
+ success: boolean;
1610
1610
  operation: "list_threads";
1611
1611
  next_page_token?: string | undefined;
1612
1612
  result_size_estimate?: number | undefined;
@@ -1614,7 +1614,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1614
1614
  id: string;
1615
1615
  messages?: {
1616
1616
  id: string;
1617
- raw?: string | undefined;
1618
1617
  threadId?: string | undefined;
1619
1618
  labelIds?: string[] | undefined;
1620
1619
  snippet?: string | undefined;
@@ -1622,6 +1621,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1622
1621
  historyId?: string | undefined;
1623
1622
  internalDate?: string | undefined;
1624
1623
  sizeEstimate?: number | undefined;
1624
+ raw?: string | undefined;
1625
1625
  payload?: {
1626
1626
  mimeType?: string | undefined;
1627
1627
  headers?: {
@@ -1663,8 +1663,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1663
1663
  }>, "many">>;
1664
1664
  error: z.ZodString;
1665
1665
  }, "strip", z.ZodTypeAny, {
1666
- success: boolean;
1667
1666
  error: string;
1667
+ success: boolean;
1668
1668
  operation: "list_labels";
1669
1669
  labels?: {
1670
1670
  name: string;
@@ -1674,8 +1674,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1674
1674
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1675
1675
  }[] | undefined;
1676
1676
  }, {
1677
- success: boolean;
1678
1677
  error: string;
1678
+ success: boolean;
1679
1679
  operation: "list_labels";
1680
1680
  labels?: {
1681
1681
  name: string;
@@ -1708,8 +1708,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1708
1708
  }>>;
1709
1709
  error: z.ZodString;
1710
1710
  }, "strip", z.ZodTypeAny, {
1711
- success: boolean;
1712
1711
  error: string;
1712
+ success: boolean;
1713
1713
  operation: "create_label";
1714
1714
  label?: {
1715
1715
  name: string;
@@ -1719,8 +1719,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1719
1719
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1720
1720
  } | undefined;
1721
1721
  }, {
1722
- success: boolean;
1723
1722
  error: string;
1723
+ success: boolean;
1724
1724
  operation: "create_label";
1725
1725
  label?: {
1726
1726
  name: string;
@@ -1736,30 +1736,30 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1736
1736
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1737
1737
  error: z.ZodString;
1738
1738
  }, "strip", z.ZodTypeAny, {
1739
- success: boolean;
1740
1739
  error: string;
1740
+ success: boolean;
1741
1741
  operation: "modify_message_labels";
1742
- label_ids?: string[] | undefined;
1743
1742
  message_id?: string | undefined;
1743
+ label_ids?: string[] | undefined;
1744
1744
  }, {
1745
- success: boolean;
1746
1745
  error: string;
1746
+ success: boolean;
1747
1747
  operation: "modify_message_labels";
1748
- label_ids?: string[] | undefined;
1749
1748
  message_id?: string | undefined;
1749
+ label_ids?: string[] | undefined;
1750
1750
  }>, z.ZodObject<{
1751
1751
  operation: z.ZodLiteral<"modify_thread_labels">;
1752
1752
  success: z.ZodBoolean;
1753
1753
  thread_id: z.ZodOptional<z.ZodString>;
1754
1754
  error: z.ZodString;
1755
1755
  }, "strip", z.ZodTypeAny, {
1756
- success: boolean;
1757
1756
  error: string;
1757
+ success: boolean;
1758
1758
  operation: "modify_thread_labels";
1759
1759
  thread_id?: string | undefined;
1760
1760
  }, {
1761
- success: boolean;
1762
1761
  error: string;
1762
+ success: boolean;
1763
1763
  operation: "modify_thread_labels";
1764
1764
  thread_id?: string | undefined;
1765
1765
  }>, z.ZodObject<{
@@ -1769,14 +1769,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1769
1769
  size: z.ZodOptional<z.ZodNumber>;
1770
1770
  error: z.ZodString;
1771
1771
  }, "strip", z.ZodTypeAny, {
1772
- success: boolean;
1773
1772
  error: string;
1773
+ success: boolean;
1774
1774
  operation: "get_attachment";
1775
1775
  data?: string | undefined;
1776
1776
  size?: number | undefined;
1777
1777
  }, {
1778
- success: boolean;
1779
1778
  error: string;
1779
+ success: boolean;
1780
1780
  operation: "get_attachment";
1781
1781
  data?: string | undefined;
1782
1782
  size?: number | undefined;
@@ -1861,7 +1861,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1861
1861
  metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1862
1862
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1863
1863
  }, "strip", z.ZodTypeAny, {
1864
- format: "minimal" | "full" | "raw" | "metadata";
1864
+ format: "minimal" | "metadata" | "raw" | "full";
1865
1865
  operation: "get_email";
1866
1866
  message_id: string;
1867
1867
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -1869,7 +1869,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1869
1869
  }, {
1870
1870
  operation: "get_email";
1871
1871
  message_id: string;
1872
- format?: "minimal" | "full" | "raw" | "metadata" | undefined;
1872
+ format?: "minimal" | "metadata" | "raw" | "full" | undefined;
1873
1873
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1874
1874
  metadata_headers?: string[] | undefined;
1875
1875
  }>, z.ZodObject<{
@@ -1879,14 +1879,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1879
1879
  include_spam_trash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1880
1880
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1881
1881
  }, "strip", z.ZodTypeAny, {
1882
- query: string;
1883
1882
  operation: "search_emails";
1883
+ query: string;
1884
1884
  max_results: number;
1885
1885
  include_spam_trash: boolean;
1886
1886
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1887
1887
  }, {
1888
- query: string;
1889
1888
  operation: "search_emails";
1889
+ query: string;
1890
1890
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1891
1891
  max_results?: number | undefined;
1892
1892
  include_spam_trash?: boolean | undefined;
@@ -2120,17 +2120,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2120
2120
  thread_id: z.ZodOptional<z.ZodString>;
2121
2121
  error: z.ZodString;
2122
2122
  }, "strip", z.ZodTypeAny, {
2123
- success: boolean;
2124
2123
  error: string;
2124
+ success: boolean;
2125
2125
  operation: "send_email";
2126
- thread_id?: string | undefined;
2127
2126
  message_id?: string | undefined;
2127
+ thread_id?: string | undefined;
2128
2128
  }, {
2129
- success: boolean;
2130
2129
  error: string;
2130
+ success: boolean;
2131
2131
  operation: "send_email";
2132
- thread_id?: string | undefined;
2133
2132
  message_id?: string | undefined;
2133
+ thread_id?: string | undefined;
2134
2134
  }>, z.ZodObject<{
2135
2135
  operation: z.ZodLiteral<"list_emails">;
2136
2136
  success: z.ZodBoolean;
@@ -2197,7 +2197,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2197
2197
  }>>;
2198
2198
  }, "strip", z.ZodTypeAny, {
2199
2199
  id: string;
2200
- raw?: string | undefined;
2201
2200
  threadId?: string | undefined;
2202
2201
  labelIds?: string[] | undefined;
2203
2202
  snippet?: string | undefined;
@@ -2205,6 +2204,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2205
2204
  historyId?: string | undefined;
2206
2205
  internalDate?: string | undefined;
2207
2206
  sizeEstimate?: number | undefined;
2207
+ raw?: string | undefined;
2208
2208
  payload?: {
2209
2209
  mimeType?: string | undefined;
2210
2210
  headers?: {
@@ -2220,7 +2220,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2220
2220
  } | undefined;
2221
2221
  }, {
2222
2222
  id: string;
2223
- raw?: string | undefined;
2224
2223
  threadId?: string | undefined;
2225
2224
  labelIds?: string[] | undefined;
2226
2225
  snippet?: string | undefined;
@@ -2228,6 +2227,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2228
2227
  historyId?: string | undefined;
2229
2228
  internalDate?: string | undefined;
2230
2229
  sizeEstimate?: number | undefined;
2230
+ raw?: string | undefined;
2231
2231
  payload?: {
2232
2232
  mimeType?: string | undefined;
2233
2233
  headers?: {
@@ -2246,12 +2246,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2246
2246
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2247
2247
  error: z.ZodString;
2248
2248
  }, "strip", z.ZodTypeAny, {
2249
- success: boolean;
2250
2249
  error: string;
2250
+ success: boolean;
2251
2251
  operation: "list_emails";
2252
2252
  messages?: {
2253
2253
  id: string;
2254
- raw?: string | undefined;
2255
2254
  threadId?: string | undefined;
2256
2255
  labelIds?: string[] | undefined;
2257
2256
  snippet?: string | undefined;
@@ -2259,6 +2258,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2259
2258
  historyId?: string | undefined;
2260
2259
  internalDate?: string | undefined;
2261
2260
  sizeEstimate?: number | undefined;
2261
+ raw?: string | undefined;
2262
2262
  payload?: {
2263
2263
  mimeType?: string | undefined;
2264
2264
  headers?: {
@@ -2276,12 +2276,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2276
2276
  next_page_token?: string | undefined;
2277
2277
  result_size_estimate?: number | undefined;
2278
2278
  }, {
2279
- success: boolean;
2280
2279
  error: string;
2280
+ success: boolean;
2281
2281
  operation: "list_emails";
2282
2282
  messages?: {
2283
2283
  id: string;
2284
- raw?: string | undefined;
2285
2284
  threadId?: string | undefined;
2286
2285
  labelIds?: string[] | undefined;
2287
2286
  snippet?: string | undefined;
@@ -2289,6 +2288,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2289
2288
  historyId?: string | undefined;
2290
2289
  internalDate?: string | undefined;
2291
2290
  sizeEstimate?: number | undefined;
2291
+ raw?: string | undefined;
2292
2292
  payload?: {
2293
2293
  mimeType?: string | undefined;
2294
2294
  headers?: {
@@ -2371,7 +2371,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2371
2371
  }>>;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
2373
  id: string;
2374
- raw?: string | undefined;
2375
2374
  threadId?: string | undefined;
2376
2375
  labelIds?: string[] | undefined;
2377
2376
  snippet?: string | undefined;
@@ -2379,6 +2378,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2379
2378
  historyId?: string | undefined;
2380
2379
  internalDate?: string | undefined;
2381
2380
  sizeEstimate?: number | undefined;
2381
+ raw?: string | undefined;
2382
2382
  payload?: {
2383
2383
  mimeType?: string | undefined;
2384
2384
  headers?: {
@@ -2394,7 +2394,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2394
2394
  } | undefined;
2395
2395
  }, {
2396
2396
  id: string;
2397
- raw?: string | undefined;
2398
2397
  threadId?: string | undefined;
2399
2398
  labelIds?: string[] | undefined;
2400
2399
  snippet?: string | undefined;
@@ -2402,6 +2401,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2402
2401
  historyId?: string | undefined;
2403
2402
  internalDate?: string | undefined;
2404
2403
  sizeEstimate?: number | undefined;
2404
+ raw?: string | undefined;
2405
2405
  payload?: {
2406
2406
  mimeType?: string | undefined;
2407
2407
  headers?: {
@@ -2418,12 +2418,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2418
2418
  }>>;
2419
2419
  error: z.ZodString;
2420
2420
  }, "strip", z.ZodTypeAny, {
2421
- success: boolean;
2422
2421
  error: string;
2422
+ success: boolean;
2423
2423
  operation: "get_email";
2424
2424
  message?: {
2425
2425
  id: string;
2426
- raw?: string | undefined;
2427
2426
  threadId?: string | undefined;
2428
2427
  labelIds?: string[] | undefined;
2429
2428
  snippet?: string | undefined;
@@ -2431,6 +2430,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2431
2430
  historyId?: string | undefined;
2432
2431
  internalDate?: string | undefined;
2433
2432
  sizeEstimate?: number | undefined;
2433
+ raw?: string | undefined;
2434
2434
  payload?: {
2435
2435
  mimeType?: string | undefined;
2436
2436
  headers?: {
@@ -2446,12 +2446,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2446
2446
  } | undefined;
2447
2447
  } | undefined;
2448
2448
  }, {
2449
- success: boolean;
2450
2449
  error: string;
2450
+ success: boolean;
2451
2451
  operation: "get_email";
2452
2452
  message?: {
2453
2453
  id: string;
2454
- raw?: string | undefined;
2455
2454
  threadId?: string | undefined;
2456
2455
  labelIds?: string[] | undefined;
2457
2456
  snippet?: string | undefined;
@@ -2459,6 +2458,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2459
2458
  historyId?: string | undefined;
2460
2459
  internalDate?: string | undefined;
2461
2460
  sizeEstimate?: number | undefined;
2461
+ raw?: string | undefined;
2462
2462
  payload?: {
2463
2463
  mimeType?: string | undefined;
2464
2464
  headers?: {
@@ -2539,7 +2539,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2539
2539
  }>>;
2540
2540
  }, "strip", z.ZodTypeAny, {
2541
2541
  id: string;
2542
- raw?: string | undefined;
2543
2542
  threadId?: string | undefined;
2544
2543
  labelIds?: string[] | undefined;
2545
2544
  snippet?: string | undefined;
@@ -2547,6 +2546,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2547
2546
  historyId?: string | undefined;
2548
2547
  internalDate?: string | undefined;
2549
2548
  sizeEstimate?: number | undefined;
2549
+ raw?: string | undefined;
2550
2550
  payload?: {
2551
2551
  mimeType?: string | undefined;
2552
2552
  headers?: {
@@ -2562,7 +2562,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2562
2562
  } | undefined;
2563
2563
  }, {
2564
2564
  id: string;
2565
- raw?: string | undefined;
2566
2565
  threadId?: string | undefined;
2567
2566
  labelIds?: string[] | undefined;
2568
2567
  snippet?: string | undefined;
@@ -2570,6 +2569,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2570
2569
  historyId?: string | undefined;
2571
2570
  internalDate?: string | undefined;
2572
2571
  sizeEstimate?: number | undefined;
2572
+ raw?: string | undefined;
2573
2573
  payload?: {
2574
2574
  mimeType?: string | undefined;
2575
2575
  headers?: {
@@ -2587,12 +2587,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2587
2587
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2588
2588
  error: z.ZodString;
2589
2589
  }, "strip", z.ZodTypeAny, {
2590
- success: boolean;
2591
2590
  error: string;
2591
+ success: boolean;
2592
2592
  operation: "search_emails";
2593
2593
  messages?: {
2594
2594
  id: string;
2595
- raw?: string | undefined;
2596
2595
  threadId?: string | undefined;
2597
2596
  labelIds?: string[] | undefined;
2598
2597
  snippet?: string | undefined;
@@ -2600,6 +2599,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2600
2599
  historyId?: string | undefined;
2601
2600
  internalDate?: string | undefined;
2602
2601
  sizeEstimate?: number | undefined;
2602
+ raw?: string | undefined;
2603
2603
  payload?: {
2604
2604
  mimeType?: string | undefined;
2605
2605
  headers?: {
@@ -2616,12 +2616,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2616
2616
  }[] | undefined;
2617
2617
  result_size_estimate?: number | undefined;
2618
2618
  }, {
2619
- success: boolean;
2620
2619
  error: string;
2620
+ success: boolean;
2621
2621
  operation: "search_emails";
2622
2622
  messages?: {
2623
2623
  id: string;
2624
- raw?: string | undefined;
2625
2624
  threadId?: string | undefined;
2626
2625
  labelIds?: string[] | undefined;
2627
2626
  snippet?: string | undefined;
@@ -2629,6 +2628,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2629
2628
  historyId?: string | undefined;
2630
2629
  internalDate?: string | undefined;
2631
2630
  sizeEstimate?: number | undefined;
2631
+ raw?: string | undefined;
2632
2632
  payload?: {
2633
2633
  mimeType?: string | undefined;
2634
2634
  headers?: {
@@ -2650,13 +2650,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2650
2650
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2651
2651
  error: z.ZodString;
2652
2652
  }, "strip", z.ZodTypeAny, {
2653
- success: boolean;
2654
2653
  error: string;
2654
+ success: boolean;
2655
2655
  operation: "mark_as_read";
2656
2656
  modified_messages?: string[] | undefined;
2657
2657
  }, {
2658
- success: boolean;
2659
2658
  error: string;
2659
+ success: boolean;
2660
2660
  operation: "mark_as_read";
2661
2661
  modified_messages?: string[] | undefined;
2662
2662
  }>, z.ZodObject<{
@@ -2665,13 +2665,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2665
2665
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2666
2666
  error: z.ZodString;
2667
2667
  }, "strip", z.ZodTypeAny, {
2668
- success: boolean;
2669
2668
  error: string;
2669
+ success: boolean;
2670
2670
  operation: "mark_as_unread";
2671
2671
  modified_messages?: string[] | undefined;
2672
2672
  }, {
2673
- success: boolean;
2674
2673
  error: string;
2674
+ success: boolean;
2675
2675
  operation: "mark_as_unread";
2676
2676
  modified_messages?: string[] | undefined;
2677
2677
  }>, z.ZodObject<{
@@ -2742,7 +2742,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2742
2742
  }>>;
2743
2743
  }, "strip", z.ZodTypeAny, {
2744
2744
  id: string;
2745
- raw?: string | undefined;
2746
2745
  threadId?: string | undefined;
2747
2746
  labelIds?: string[] | undefined;
2748
2747
  snippet?: string | undefined;
@@ -2750,6 +2749,7 @@ 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
2754
  mimeType?: string | undefined;
2755
2755
  headers?: {
@@ -2765,7 +2765,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2765
2765
  } | undefined;
2766
2766
  }, {
2767
2767
  id: string;
2768
- raw?: string | undefined;
2769
2768
  threadId?: string | undefined;
2770
2769
  labelIds?: string[] | undefined;
2771
2770
  snippet?: string | undefined;
@@ -2773,6 +2772,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2773
2772
  historyId?: string | undefined;
2774
2773
  internalDate?: string | undefined;
2775
2774
  sizeEstimate?: number | undefined;
2775
+ raw?: string | undefined;
2776
2776
  payload?: {
2777
2777
  mimeType?: string | undefined;
2778
2778
  headers?: {
@@ -2790,7 +2790,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2790
2790
  }, "strip", z.ZodTypeAny, {
2791
2791
  message: {
2792
2792
  id: string;
2793
- raw?: string | undefined;
2794
2793
  threadId?: string | undefined;
2795
2794
  labelIds?: string[] | undefined;
2796
2795
  snippet?: string | undefined;
@@ -2798,6 +2797,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2798
2797
  historyId?: string | undefined;
2799
2798
  internalDate?: string | undefined;
2800
2799
  sizeEstimate?: number | undefined;
2800
+ raw?: string | undefined;
2801
2801
  payload?: {
2802
2802
  mimeType?: string | undefined;
2803
2803
  headers?: {
@@ -2816,7 +2816,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2816
2816
  }, {
2817
2817
  message: {
2818
2818
  id: string;
2819
- raw?: string | undefined;
2820
2819
  threadId?: string | undefined;
2821
2820
  labelIds?: string[] | undefined;
2822
2821
  snippet?: string | undefined;
@@ -2824,6 +2823,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2824
2823
  historyId?: string | undefined;
2825
2824
  internalDate?: string | undefined;
2826
2825
  sizeEstimate?: number | undefined;
2826
+ raw?: string | undefined;
2827
2827
  payload?: {
2828
2828
  mimeType?: string | undefined;
2829
2829
  headers?: {
@@ -2842,13 +2842,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2842
2842
  }>>;
2843
2843
  error: z.ZodString;
2844
2844
  }, "strip", z.ZodTypeAny, {
2845
- success: boolean;
2846
2845
  error: string;
2846
+ success: boolean;
2847
2847
  operation: "create_draft";
2848
2848
  draft?: {
2849
2849
  message: {
2850
2850
  id: string;
2851
- raw?: string | undefined;
2852
2851
  threadId?: string | undefined;
2853
2852
  labelIds?: string[] | undefined;
2854
2853
  snippet?: string | undefined;
@@ -2856,6 +2855,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2856
2855
  historyId?: string | undefined;
2857
2856
  internalDate?: string | undefined;
2858
2857
  sizeEstimate?: number | undefined;
2858
+ raw?: string | undefined;
2859
2859
  payload?: {
2860
2860
  mimeType?: string | undefined;
2861
2861
  headers?: {
@@ -2873,13 +2873,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2873
2873
  id: string;
2874
2874
  } | undefined;
2875
2875
  }, {
2876
- success: boolean;
2877
2876
  error: string;
2877
+ success: boolean;
2878
2878
  operation: "create_draft";
2879
2879
  draft?: {
2880
2880
  message: {
2881
2881
  id: string;
2882
- raw?: string | undefined;
2883
2882
  threadId?: string | undefined;
2884
2883
  labelIds?: string[] | undefined;
2885
2884
  snippet?: string | undefined;
@@ -2887,6 +2886,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2887
2886
  historyId?: string | undefined;
2888
2887
  internalDate?: string | undefined;
2889
2888
  sizeEstimate?: number | undefined;
2889
+ raw?: string | undefined;
2890
2890
  payload?: {
2891
2891
  mimeType?: string | undefined;
2892
2892
  headers?: {
@@ -2910,17 +2910,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2910
2910
  thread_id: z.ZodOptional<z.ZodString>;
2911
2911
  error: z.ZodString;
2912
2912
  }, "strip", z.ZodTypeAny, {
2913
- success: boolean;
2914
2913
  error: string;
2914
+ success: boolean;
2915
2915
  operation: "send_draft";
2916
- thread_id?: string | undefined;
2917
2916
  message_id?: string | undefined;
2917
+ thread_id?: string | undefined;
2918
2918
  }, {
2919
- success: boolean;
2920
2919
  error: string;
2920
+ success: boolean;
2921
2921
  operation: "send_draft";
2922
- thread_id?: string | undefined;
2923
2922
  message_id?: string | undefined;
2923
+ thread_id?: string | undefined;
2924
2924
  }>, z.ZodObject<{
2925
2925
  operation: z.ZodLiteral<"list_drafts">;
2926
2926
  success: z.ZodBoolean;
@@ -2989,7 +2989,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2989
2989
  }>>;
2990
2990
  }, "strip", z.ZodTypeAny, {
2991
2991
  id: string;
2992
- raw?: string | undefined;
2993
2992
  threadId?: string | undefined;
2994
2993
  labelIds?: string[] | undefined;
2995
2994
  snippet?: string | undefined;
@@ -2997,6 +2996,7 @@ 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
3001
  mimeType?: string | undefined;
3002
3002
  headers?: {
@@ -3012,7 +3012,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3012
3012
  } | undefined;
3013
3013
  }, {
3014
3014
  id: string;
3015
- raw?: string | undefined;
3016
3015
  threadId?: string | undefined;
3017
3016
  labelIds?: string[] | undefined;
3018
3017
  snippet?: string | undefined;
@@ -3020,6 +3019,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3020
3019
  historyId?: string | undefined;
3021
3020
  internalDate?: string | undefined;
3022
3021
  sizeEstimate?: number | undefined;
3022
+ raw?: string | undefined;
3023
3023
  payload?: {
3024
3024
  mimeType?: string | undefined;
3025
3025
  headers?: {
@@ -3037,7 +3037,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3037
3037
  }, "strip", z.ZodTypeAny, {
3038
3038
  message: {
3039
3039
  id: string;
3040
- raw?: string | undefined;
3041
3040
  threadId?: string | undefined;
3042
3041
  labelIds?: string[] | undefined;
3043
3042
  snippet?: string | undefined;
@@ -3045,6 +3044,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3045
3044
  historyId?: string | undefined;
3046
3045
  internalDate?: string | undefined;
3047
3046
  sizeEstimate?: number | undefined;
3047
+ raw?: string | undefined;
3048
3048
  payload?: {
3049
3049
  mimeType?: string | undefined;
3050
3050
  headers?: {
@@ -3063,7 +3063,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3063
3063
  }, {
3064
3064
  message: {
3065
3065
  id: string;
3066
- raw?: string | undefined;
3067
3066
  threadId?: string | undefined;
3068
3067
  labelIds?: string[] | undefined;
3069
3068
  snippet?: string | undefined;
@@ -3071,6 +3070,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3071
3070
  historyId?: string | undefined;
3072
3071
  internalDate?: string | undefined;
3073
3072
  sizeEstimate?: number | undefined;
3073
+ raw?: string | undefined;
3074
3074
  payload?: {
3075
3075
  mimeType?: string | undefined;
3076
3076
  headers?: {
@@ -3091,15 +3091,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3091
3091
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3092
3092
  error: z.ZodString;
3093
3093
  }, "strip", z.ZodTypeAny, {
3094
- success: boolean;
3095
3094
  error: string;
3095
+ success: boolean;
3096
3096
  operation: "list_drafts";
3097
3097
  next_page_token?: string | undefined;
3098
3098
  result_size_estimate?: number | undefined;
3099
3099
  drafts?: {
3100
3100
  message: {
3101
3101
  id: string;
3102
- raw?: string | undefined;
3103
3102
  threadId?: string | undefined;
3104
3103
  labelIds?: string[] | undefined;
3105
3104
  snippet?: string | undefined;
@@ -3107,6 +3106,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3107
3106
  historyId?: string | undefined;
3108
3107
  internalDate?: string | undefined;
3109
3108
  sizeEstimate?: number | undefined;
3109
+ raw?: string | undefined;
3110
3110
  payload?: {
3111
3111
  mimeType?: string | undefined;
3112
3112
  headers?: {
@@ -3124,15 +3124,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3124
3124
  id: string;
3125
3125
  }[] | undefined;
3126
3126
  }, {
3127
- success: boolean;
3128
3127
  error: string;
3128
+ success: boolean;
3129
3129
  operation: "list_drafts";
3130
3130
  next_page_token?: string | undefined;
3131
3131
  result_size_estimate?: number | undefined;
3132
3132
  drafts?: {
3133
3133
  message: {
3134
3134
  id: string;
3135
- raw?: string | undefined;
3136
3135
  threadId?: string | undefined;
3137
3136
  labelIds?: string[] | undefined;
3138
3137
  snippet?: string | undefined;
@@ -3140,6 +3139,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3140
3139
  historyId?: string | undefined;
3141
3140
  internalDate?: string | undefined;
3142
3141
  sizeEstimate?: number | undefined;
3142
+ raw?: string | undefined;
3143
3143
  payload?: {
3144
3144
  mimeType?: string | undefined;
3145
3145
  headers?: {
@@ -3162,13 +3162,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3162
3162
  deleted_message_id: z.ZodOptional<z.ZodString>;
3163
3163
  error: z.ZodString;
3164
3164
  }, "strip", z.ZodTypeAny, {
3165
- success: boolean;
3166
3165
  error: string;
3166
+ success: boolean;
3167
3167
  operation: "delete_email";
3168
3168
  deleted_message_id?: string | undefined;
3169
3169
  }, {
3170
- success: boolean;
3171
3170
  error: string;
3171
+ success: boolean;
3172
3172
  operation: "delete_email";
3173
3173
  deleted_message_id?: string | undefined;
3174
3174
  }>, z.ZodObject<{
@@ -3177,13 +3177,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3177
3177
  trashed_message_id: z.ZodOptional<z.ZodString>;
3178
3178
  error: z.ZodString;
3179
3179
  }, "strip", z.ZodTypeAny, {
3180
- success: boolean;
3181
3180
  error: string;
3181
+ success: boolean;
3182
3182
  operation: "trash_email";
3183
3183
  trashed_message_id?: string | undefined;
3184
3184
  }, {
3185
- success: boolean;
3186
3185
  error: string;
3186
+ success: boolean;
3187
3187
  operation: "trash_email";
3188
3188
  trashed_message_id?: string | undefined;
3189
3189
  }>, z.ZodObject<{
@@ -3255,7 +3255,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3255
3255
  }>>;
3256
3256
  }, "strip", z.ZodTypeAny, {
3257
3257
  id: string;
3258
- raw?: string | undefined;
3259
3258
  threadId?: string | undefined;
3260
3259
  labelIds?: string[] | undefined;
3261
3260
  snippet?: string | undefined;
@@ -3263,6 +3262,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3263
3262
  historyId?: string | undefined;
3264
3263
  internalDate?: string | undefined;
3265
3264
  sizeEstimate?: number | undefined;
3265
+ raw?: string | undefined;
3266
3266
  payload?: {
3267
3267
  mimeType?: string | undefined;
3268
3268
  headers?: {
@@ -3278,7 +3278,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3278
3278
  } | undefined;
3279
3279
  }, {
3280
3280
  id: string;
3281
- raw?: string | undefined;
3282
3281
  threadId?: string | undefined;
3283
3282
  labelIds?: string[] | undefined;
3284
3283
  snippet?: string | undefined;
@@ -3286,6 +3285,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3286
3285
  historyId?: string | undefined;
3287
3286
  internalDate?: string | undefined;
3288
3287
  sizeEstimate?: number | undefined;
3288
+ raw?: string | undefined;
3289
3289
  payload?: {
3290
3290
  mimeType?: string | undefined;
3291
3291
  headers?: {
@@ -3305,7 +3305,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3305
3305
  id: string;
3306
3306
  messages?: {
3307
3307
  id: string;
3308
- raw?: string | undefined;
3309
3308
  threadId?: string | undefined;
3310
3309
  labelIds?: string[] | undefined;
3311
3310
  snippet?: string | undefined;
@@ -3313,6 +3312,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3313
3312
  historyId?: string | undefined;
3314
3313
  internalDate?: string | undefined;
3315
3314
  sizeEstimate?: number | undefined;
3315
+ raw?: string | undefined;
3316
3316
  payload?: {
3317
3317
  mimeType?: string | undefined;
3318
3318
  headers?: {
@@ -3333,7 +3333,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3333
3333
  id: string;
3334
3334
  messages?: {
3335
3335
  id: string;
3336
- raw?: string | undefined;
3337
3336
  threadId?: string | undefined;
3338
3337
  labelIds?: string[] | undefined;
3339
3338
  snippet?: string | undefined;
@@ -3341,6 +3340,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3341
3340
  historyId?: string | undefined;
3342
3341
  internalDate?: string | undefined;
3343
3342
  sizeEstimate?: number | undefined;
3343
+ raw?: string | undefined;
3344
3344
  payload?: {
3345
3345
  mimeType?: string | undefined;
3346
3346
  headers?: {
@@ -3362,8 +3362,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3362
3362
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3363
3363
  error: z.ZodString;
3364
3364
  }, "strip", z.ZodTypeAny, {
3365
- success: boolean;
3366
3365
  error: string;
3366
+ success: boolean;
3367
3367
  operation: "list_threads";
3368
3368
  next_page_token?: string | undefined;
3369
3369
  result_size_estimate?: number | undefined;
@@ -3371,7 +3371,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3371
3371
  id: string;
3372
3372
  messages?: {
3373
3373
  id: string;
3374
- raw?: string | undefined;
3375
3374
  threadId?: string | undefined;
3376
3375
  labelIds?: string[] | undefined;
3377
3376
  snippet?: string | undefined;
@@ -3379,6 +3378,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3379
3378
  historyId?: string | undefined;
3380
3379
  internalDate?: string | undefined;
3381
3380
  sizeEstimate?: number | undefined;
3381
+ raw?: string | undefined;
3382
3382
  payload?: {
3383
3383
  mimeType?: string | undefined;
3384
3384
  headers?: {
@@ -3397,8 +3397,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3397
3397
  historyId?: string | undefined;
3398
3398
  }[] | undefined;
3399
3399
  }, {
3400
- success: boolean;
3401
3400
  error: string;
3401
+ success: boolean;
3402
3402
  operation: "list_threads";
3403
3403
  next_page_token?: string | undefined;
3404
3404
  result_size_estimate?: number | undefined;
@@ -3406,7 +3406,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3406
3406
  id: string;
3407
3407
  messages?: {
3408
3408
  id: string;
3409
- raw?: string | undefined;
3410
3409
  threadId?: string | undefined;
3411
3410
  labelIds?: string[] | undefined;
3412
3411
  snippet?: string | undefined;
@@ -3414,6 +3413,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3414
3413
  historyId?: string | undefined;
3415
3414
  internalDate?: string | undefined;
3416
3415
  sizeEstimate?: number | undefined;
3416
+ raw?: string | undefined;
3417
3417
  payload?: {
3418
3418
  mimeType?: string | undefined;
3419
3419
  headers?: {
@@ -3455,8 +3455,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3455
3455
  }>, "many">>;
3456
3456
  error: z.ZodString;
3457
3457
  }, "strip", z.ZodTypeAny, {
3458
- success: boolean;
3459
3458
  error: string;
3459
+ success: boolean;
3460
3460
  operation: "list_labels";
3461
3461
  labels?: {
3462
3462
  name: string;
@@ -3466,8 +3466,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3466
3466
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3467
3467
  }[] | undefined;
3468
3468
  }, {
3469
- success: boolean;
3470
3469
  error: string;
3470
+ success: boolean;
3471
3471
  operation: "list_labels";
3472
3472
  labels?: {
3473
3473
  name: string;
@@ -3500,8 +3500,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3500
3500
  }>>;
3501
3501
  error: z.ZodString;
3502
3502
  }, "strip", z.ZodTypeAny, {
3503
- success: boolean;
3504
3503
  error: string;
3504
+ success: boolean;
3505
3505
  operation: "create_label";
3506
3506
  label?: {
3507
3507
  name: string;
@@ -3511,8 +3511,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3511
3511
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3512
3512
  } | undefined;
3513
3513
  }, {
3514
- success: boolean;
3515
3514
  error: string;
3515
+ success: boolean;
3516
3516
  operation: "create_label";
3517
3517
  label?: {
3518
3518
  name: string;
@@ -3528,30 +3528,30 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3528
3528
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3529
3529
  error: z.ZodString;
3530
3530
  }, "strip", z.ZodTypeAny, {
3531
- success: boolean;
3532
3531
  error: string;
3532
+ success: boolean;
3533
3533
  operation: "modify_message_labels";
3534
- label_ids?: string[] | undefined;
3535
3534
  message_id?: string | undefined;
3535
+ label_ids?: string[] | undefined;
3536
3536
  }, {
3537
- success: boolean;
3538
3537
  error: string;
3538
+ success: boolean;
3539
3539
  operation: "modify_message_labels";
3540
- label_ids?: string[] | undefined;
3541
3540
  message_id?: string | undefined;
3541
+ label_ids?: string[] | undefined;
3542
3542
  }>, z.ZodObject<{
3543
3543
  operation: z.ZodLiteral<"modify_thread_labels">;
3544
3544
  success: z.ZodBoolean;
3545
3545
  thread_id: z.ZodOptional<z.ZodString>;
3546
3546
  error: z.ZodString;
3547
3547
  }, "strip", z.ZodTypeAny, {
3548
- success: boolean;
3549
3548
  error: string;
3549
+ success: boolean;
3550
3550
  operation: "modify_thread_labels";
3551
3551
  thread_id?: string | undefined;
3552
3552
  }, {
3553
- success: boolean;
3554
3553
  error: string;
3554
+ success: boolean;
3555
3555
  operation: "modify_thread_labels";
3556
3556
  thread_id?: string | undefined;
3557
3557
  }>, z.ZodObject<{
@@ -3561,14 +3561,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3561
3561
  size: z.ZodOptional<z.ZodNumber>;
3562
3562
  error: z.ZodString;
3563
3563
  }, "strip", z.ZodTypeAny, {
3564
- success: boolean;
3565
3564
  error: string;
3565
+ success: boolean;
3566
3566
  operation: "get_attachment";
3567
3567
  data?: string | undefined;
3568
3568
  size?: number | undefined;
3569
3569
  }, {
3570
- success: boolean;
3571
3570
  error: string;
3571
+ success: boolean;
3572
3572
  operation: "get_attachment";
3573
3573
  data?: string | undefined;
3574
3574
  size?: number | undefined;