@bubblelab/bubble-core 0.1.156 → 0.1.158

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