@bubblelab/bubble-core 0.1.239 → 0.1.240

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 (121) 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 +72 -72
  4. package/dist/bubbles/service-bubble/airtable.d.ts +102 -102
  5. package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +6 -6
  6. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  7. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  8. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  9. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +8 -8
  10. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
  11. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
  12. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
  13. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
  14. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  15. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +129 -129
  16. package/dist/bubbles/service-bubble/apify/apify.d.ts +26 -26
  17. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +66 -66
  18. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +90 -90
  19. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +42 -42
  20. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +38 -38
  21. package/dist/bubbles/service-bubble/attio/attio.d.ts +30 -30
  22. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +30 -30
  23. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
  24. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +33 -33
  25. package/dist/bubbles/service-bubble/capability-pipeline.d.ts.map +1 -1
  26. package/dist/bubbles/service-bubble/capability-pipeline.js +1 -7
  27. package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
  28. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
  29. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
  30. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +130 -130
  31. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +166 -166
  32. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  33. package/dist/bubbles/service-bubble/firecrawl.d.ts +882 -882
  34. package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
  35. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
  36. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  37. package/dist/bubbles/service-bubble/github.d.ts +144 -144
  38. package/dist/bubbles/service-bubble/gmail.d.ts +244 -244
  39. package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
  40. package/dist/bubbles/service-bubble/google-drive.d.ts +84 -84
  41. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  42. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
  43. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  44. package/dist/bubbles/service-bubble/http.d.ts +30 -30
  45. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +48 -48
  46. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +48 -48
  47. package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
  48. package/dist/bubbles/service-bubble/jira/jira.d.ts +56 -56
  49. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +58 -58
  50. package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
  51. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
  52. package/dist/bubbles/service-bubble/notion/notion.d.ts +1777 -1777
  53. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  54. package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
  55. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +24 -24
  56. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
  57. package/dist/bubbles/service-bubble/ramp/ramp.d.ts +28 -28
  58. package/dist/bubbles/service-bubble/ramp/ramp.schema.d.ts +28 -28
  59. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  60. package/dist/bubbles/service-bubble/s3/s3.d.ts +10 -10
  61. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
  62. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
  63. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
  64. package/dist/bubbles/service-bubble/slab/slab.d.ts +38 -38
  65. package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +44 -44
  66. package/dist/bubbles/service-bubble/slack/slack.d.ts +434 -434
  67. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  68. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +179 -179
  69. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +207 -207
  70. package/dist/bubbles/service-bubble/telegram.d.ts +1561 -1561
  71. package/dist/bubbles/service-bubble/xero/xero.d.ts +30 -30
  72. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +30 -30
  73. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +101 -101
  74. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +101 -101
  75. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +15 -15
  76. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +15 -15
  77. package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +24 -24
  78. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  79. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  80. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  81. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  82. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  83. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  84. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  85. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  86. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
  87. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
  88. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  89. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
  90. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  91. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  92. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  93. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  94. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +506 -506
  95. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  96. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  97. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  98. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  99. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +48 -48
  100. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +32 -32
  101. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  102. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  103. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +80 -80
  104. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  105. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +178 -178
  106. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
  107. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  108. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  109. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  110. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +26 -26
  111. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
  112. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  113. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +40 -40
  114. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  115. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
  116. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  117. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
  118. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +88 -88
  119. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  120. package/dist/bubbles.json +1 -1
  121. package/package.json +2 -2
@@ -69,7 +69,7 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
69
69
  metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
70
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
- format: "metadata" | "minimal" | "raw" | "full";
72
+ format: "minimal" | "full" | "raw" | "metadata";
73
73
  operation: "get_email";
74
74
  message_id: string;
75
75
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -77,7 +77,7 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
77
77
  }, {
78
78
  operation: "get_email";
79
79
  message_id: string;
80
- format?: "metadata" | "minimal" | "raw" | "full" | undefined;
80
+ format?: "minimal" | "full" | "raw" | "metadata" | undefined;
81
81
  credentials?: Partial<Record<CredentialType, string>> | undefined;
82
82
  metadata_headers?: string[] | undefined;
83
83
  }>, z.ZodObject<{
@@ -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
- error: string;
332
331
  success: boolean;
332
+ error: string;
333
333
  operation: "send_email";
334
- message_id?: string | undefined;
335
334
  thread_id?: string | undefined;
335
+ message_id?: string | undefined;
336
336
  }, {
337
- error: string;
338
337
  success: boolean;
338
+ error: string;
339
339
  operation: "send_email";
340
- message_id?: string | undefined;
341
340
  thread_id?: string | undefined;
341
+ message_id?: string | undefined;
342
342
  }>, z.ZodObject<{
343
343
  operation: z.ZodLiteral<"list_emails">;
344
344
  success: z.ZodBoolean;
@@ -379,7 +379,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
379
379
  }>>;
380
380
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
381
381
  }, "strip", z.ZodTypeAny, {
382
- parts?: any[] | undefined;
383
382
  mimeType?: string | undefined;
384
383
  headers?: {
385
384
  value: string;
@@ -390,8 +389,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
390
389
  size?: number | undefined;
391
390
  attachmentId?: string | undefined;
392
391
  } | undefined;
393
- }, {
394
392
  parts?: any[] | undefined;
393
+ }, {
395
394
  mimeType?: string | undefined;
396
395
  headers?: {
397
396
  value: string;
@@ -402,9 +401,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
402
401
  size?: number | undefined;
403
402
  attachmentId?: string | undefined;
404
403
  } | undefined;
404
+ parts?: any[] | undefined;
405
405
  }>>;
406
406
  }, "strip", z.ZodTypeAny, {
407
407
  id: string;
408
+ raw?: string | undefined;
408
409
  threadId?: string | undefined;
409
410
  labelIds?: string[] | undefined;
410
411
  snippet?: string | undefined;
@@ -412,9 +413,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
412
413
  historyId?: string | undefined;
413
414
  internalDate?: string | undefined;
414
415
  sizeEstimate?: number | undefined;
415
- raw?: string | undefined;
416
416
  payload?: {
417
- parts?: any[] | undefined;
418
417
  mimeType?: string | undefined;
419
418
  headers?: {
420
419
  value: string;
@@ -425,9 +424,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
425
424
  size?: number | undefined;
426
425
  attachmentId?: string | undefined;
427
426
  } | undefined;
427
+ parts?: any[] | undefined;
428
428
  } | undefined;
429
429
  }, {
430
430
  id: string;
431
+ raw?: string | undefined;
431
432
  threadId?: string | undefined;
432
433
  labelIds?: string[] | undefined;
433
434
  snippet?: string | undefined;
@@ -435,9 +436,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
435
436
  historyId?: string | undefined;
436
437
  internalDate?: string | undefined;
437
438
  sizeEstimate?: number | undefined;
438
- raw?: string | undefined;
439
439
  payload?: {
440
- parts?: any[] | undefined;
441
440
  mimeType?: string | undefined;
442
441
  headers?: {
443
442
  value: string;
@@ -448,17 +447,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
448
447
  size?: number | undefined;
449
448
  attachmentId?: string | undefined;
450
449
  } | undefined;
450
+ parts?: any[] | undefined;
451
451
  } | undefined;
452
452
  }>, "many">>;
453
453
  next_page_token: z.ZodOptional<z.ZodString>;
454
454
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
455
455
  error: z.ZodString;
456
456
  }, "strip", z.ZodTypeAny, {
457
- error: string;
458
457
  success: boolean;
458
+ error: string;
459
459
  operation: "list_emails";
460
460
  messages?: {
461
461
  id: string;
462
+ raw?: string | undefined;
462
463
  threadId?: string | undefined;
463
464
  labelIds?: string[] | undefined;
464
465
  snippet?: string | undefined;
@@ -466,9 +467,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
466
467
  historyId?: string | undefined;
467
468
  internalDate?: string | undefined;
468
469
  sizeEstimate?: number | undefined;
469
- raw?: string | undefined;
470
470
  payload?: {
471
- parts?: any[] | undefined;
472
471
  mimeType?: string | undefined;
473
472
  headers?: {
474
473
  value: string;
@@ -479,16 +478,18 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
479
478
  size?: number | undefined;
480
479
  attachmentId?: string | undefined;
481
480
  } | undefined;
481
+ parts?: any[] | undefined;
482
482
  } | undefined;
483
483
  }[] | undefined;
484
484
  next_page_token?: string | undefined;
485
485
  result_size_estimate?: number | undefined;
486
486
  }, {
487
- error: string;
488
487
  success: boolean;
488
+ error: string;
489
489
  operation: "list_emails";
490
490
  messages?: {
491
491
  id: string;
492
+ raw?: string | undefined;
492
493
  threadId?: string | undefined;
493
494
  labelIds?: string[] | undefined;
494
495
  snippet?: string | undefined;
@@ -496,9 +497,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
496
497
  historyId?: string | undefined;
497
498
  internalDate?: string | undefined;
498
499
  sizeEstimate?: number | undefined;
499
- raw?: string | undefined;
500
500
  payload?: {
501
- parts?: any[] | undefined;
502
501
  mimeType?: string | undefined;
503
502
  headers?: {
504
503
  value: string;
@@ -509,6 +508,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
509
508
  size?: number | undefined;
510
509
  attachmentId?: string | undefined;
511
510
  } | undefined;
511
+ parts?: any[] | undefined;
512
512
  } | undefined;
513
513
  }[] | undefined;
514
514
  next_page_token?: string | undefined;
@@ -553,7 +553,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
553
553
  }>>;
554
554
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
555
555
  }, "strip", z.ZodTypeAny, {
556
- parts?: any[] | undefined;
557
556
  mimeType?: string | undefined;
558
557
  headers?: {
559
558
  value: string;
@@ -564,8 +563,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
564
563
  size?: number | undefined;
565
564
  attachmentId?: string | undefined;
566
565
  } | undefined;
567
- }, {
568
566
  parts?: any[] | undefined;
567
+ }, {
569
568
  mimeType?: string | undefined;
570
569
  headers?: {
571
570
  value: string;
@@ -576,9 +575,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
576
575
  size?: number | undefined;
577
576
  attachmentId?: string | undefined;
578
577
  } | undefined;
578
+ parts?: any[] | undefined;
579
579
  }>>;
580
580
  }, "strip", z.ZodTypeAny, {
581
581
  id: string;
582
+ raw?: string | undefined;
582
583
  threadId?: string | undefined;
583
584
  labelIds?: string[] | undefined;
584
585
  snippet?: string | undefined;
@@ -586,9 +587,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
586
587
  historyId?: string | undefined;
587
588
  internalDate?: string | undefined;
588
589
  sizeEstimate?: number | undefined;
589
- raw?: string | undefined;
590
590
  payload?: {
591
- parts?: any[] | undefined;
592
591
  mimeType?: string | undefined;
593
592
  headers?: {
594
593
  value: string;
@@ -599,9 +598,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
599
598
  size?: number | undefined;
600
599
  attachmentId?: string | undefined;
601
600
  } | undefined;
601
+ parts?: any[] | undefined;
602
602
  } | undefined;
603
603
  }, {
604
604
  id: string;
605
+ raw?: string | undefined;
605
606
  threadId?: string | undefined;
606
607
  labelIds?: string[] | undefined;
607
608
  snippet?: string | undefined;
@@ -609,9 +610,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
609
610
  historyId?: string | undefined;
610
611
  internalDate?: string | undefined;
611
612
  sizeEstimate?: number | undefined;
612
- raw?: string | undefined;
613
613
  payload?: {
614
- parts?: any[] | undefined;
615
614
  mimeType?: string | undefined;
616
615
  headers?: {
617
616
  value: string;
@@ -622,15 +621,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
622
621
  size?: number | undefined;
623
622
  attachmentId?: string | undefined;
624
623
  } | undefined;
624
+ parts?: any[] | undefined;
625
625
  } | undefined;
626
626
  }>>;
627
627
  error: z.ZodString;
628
628
  }, "strip", z.ZodTypeAny, {
629
- error: string;
630
629
  success: boolean;
630
+ error: string;
631
631
  operation: "get_email";
632
632
  message?: {
633
633
  id: string;
634
+ raw?: string | undefined;
634
635
  threadId?: string | undefined;
635
636
  labelIds?: string[] | undefined;
636
637
  snippet?: string | undefined;
@@ -638,9 +639,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
638
639
  historyId?: string | undefined;
639
640
  internalDate?: string | undefined;
640
641
  sizeEstimate?: number | undefined;
641
- raw?: string | undefined;
642
642
  payload?: {
643
- parts?: any[] | undefined;
644
643
  mimeType?: string | undefined;
645
644
  headers?: {
646
645
  value: string;
@@ -651,14 +650,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
651
650
  size?: number | undefined;
652
651
  attachmentId?: string | undefined;
653
652
  } | undefined;
653
+ parts?: any[] | undefined;
654
654
  } | undefined;
655
655
  } | undefined;
656
656
  }, {
657
- error: string;
658
657
  success: boolean;
658
+ error: string;
659
659
  operation: "get_email";
660
660
  message?: {
661
661
  id: string;
662
+ raw?: string | undefined;
662
663
  threadId?: string | undefined;
663
664
  labelIds?: string[] | undefined;
664
665
  snippet?: string | undefined;
@@ -666,9 +667,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
666
667
  historyId?: string | undefined;
667
668
  internalDate?: string | undefined;
668
669
  sizeEstimate?: number | undefined;
669
- raw?: string | undefined;
670
670
  payload?: {
671
- parts?: any[] | undefined;
672
671
  mimeType?: string | undefined;
673
672
  headers?: {
674
673
  value: string;
@@ -679,6 +678,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
679
678
  size?: number | undefined;
680
679
  attachmentId?: string | undefined;
681
680
  } | undefined;
681
+ parts?: any[] | undefined;
682
682
  } | undefined;
683
683
  } | undefined;
684
684
  }>, z.ZodObject<{
@@ -721,7 +721,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
721
721
  }>>;
722
722
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
723
723
  }, "strip", z.ZodTypeAny, {
724
- parts?: any[] | undefined;
725
724
  mimeType?: string | undefined;
726
725
  headers?: {
727
726
  value: string;
@@ -732,8 +731,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
732
731
  size?: number | undefined;
733
732
  attachmentId?: string | undefined;
734
733
  } | undefined;
735
- }, {
736
734
  parts?: any[] | undefined;
735
+ }, {
737
736
  mimeType?: string | undefined;
738
737
  headers?: {
739
738
  value: string;
@@ -744,9 +743,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
744
743
  size?: number | undefined;
745
744
  attachmentId?: string | undefined;
746
745
  } | undefined;
746
+ parts?: any[] | undefined;
747
747
  }>>;
748
748
  }, "strip", z.ZodTypeAny, {
749
749
  id: string;
750
+ raw?: string | undefined;
750
751
  threadId?: string | undefined;
751
752
  labelIds?: string[] | undefined;
752
753
  snippet?: string | undefined;
@@ -754,9 +755,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
754
755
  historyId?: string | undefined;
755
756
  internalDate?: string | undefined;
756
757
  sizeEstimate?: number | undefined;
757
- raw?: string | undefined;
758
758
  payload?: {
759
- parts?: any[] | undefined;
760
759
  mimeType?: string | undefined;
761
760
  headers?: {
762
761
  value: string;
@@ -767,9 +766,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
767
766
  size?: number | undefined;
768
767
  attachmentId?: string | undefined;
769
768
  } | undefined;
769
+ parts?: any[] | undefined;
770
770
  } | undefined;
771
771
  }, {
772
772
  id: string;
773
+ raw?: string | undefined;
773
774
  threadId?: string | undefined;
774
775
  labelIds?: string[] | undefined;
775
776
  snippet?: string | undefined;
@@ -777,9 +778,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
777
778
  historyId?: string | undefined;
778
779
  internalDate?: string | undefined;
779
780
  sizeEstimate?: number | undefined;
780
- raw?: string | undefined;
781
781
  payload?: {
782
- parts?: any[] | undefined;
783
782
  mimeType?: string | undefined;
784
783
  headers?: {
785
784
  value: string;
@@ -790,16 +789,18 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
790
789
  size?: number | undefined;
791
790
  attachmentId?: string | undefined;
792
791
  } | undefined;
792
+ parts?: any[] | undefined;
793
793
  } | undefined;
794
794
  }>, "many">>;
795
795
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
796
796
  error: z.ZodString;
797
797
  }, "strip", z.ZodTypeAny, {
798
- error: string;
799
798
  success: boolean;
799
+ error: string;
800
800
  operation: "search_emails";
801
801
  messages?: {
802
802
  id: string;
803
+ raw?: string | undefined;
803
804
  threadId?: string | undefined;
804
805
  labelIds?: string[] | undefined;
805
806
  snippet?: string | undefined;
@@ -807,9 +808,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
807
808
  historyId?: string | undefined;
808
809
  internalDate?: string | undefined;
809
810
  sizeEstimate?: number | undefined;
810
- raw?: string | undefined;
811
811
  payload?: {
812
- parts?: any[] | undefined;
813
812
  mimeType?: string | undefined;
814
813
  headers?: {
815
814
  value: string;
@@ -820,15 +819,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
820
819
  size?: number | undefined;
821
820
  attachmentId?: string | undefined;
822
821
  } | undefined;
822
+ parts?: any[] | undefined;
823
823
  } | undefined;
824
824
  }[] | undefined;
825
825
  result_size_estimate?: number | undefined;
826
826
  }, {
827
- error: string;
828
827
  success: boolean;
828
+ error: string;
829
829
  operation: "search_emails";
830
830
  messages?: {
831
831
  id: string;
832
+ raw?: string | undefined;
832
833
  threadId?: string | undefined;
833
834
  labelIds?: string[] | undefined;
834
835
  snippet?: string | undefined;
@@ -836,9 +837,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
836
837
  historyId?: string | undefined;
837
838
  internalDate?: string | undefined;
838
839
  sizeEstimate?: number | undefined;
839
- raw?: string | undefined;
840
840
  payload?: {
841
- parts?: any[] | undefined;
842
841
  mimeType?: string | undefined;
843
842
  headers?: {
844
843
  value: string;
@@ -849,6 +848,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
849
848
  size?: number | undefined;
850
849
  attachmentId?: string | undefined;
851
850
  } | undefined;
851
+ parts?: any[] | undefined;
852
852
  } | undefined;
853
853
  }[] | undefined;
854
854
  result_size_estimate?: number | undefined;
@@ -858,13 +858,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
858
858
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
859
859
  error: z.ZodString;
860
860
  }, "strip", z.ZodTypeAny, {
861
- error: string;
862
861
  success: boolean;
862
+ error: string;
863
863
  operation: "mark_as_read";
864
864
  modified_messages?: string[] | undefined;
865
865
  }, {
866
- error: string;
867
866
  success: boolean;
867
+ error: string;
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
- error: string;
877
876
  success: boolean;
877
+ error: string;
878
878
  operation: "mark_as_unread";
879
879
  modified_messages?: string[] | undefined;
880
880
  }, {
881
- error: string;
882
881
  success: boolean;
882
+ error: string;
883
883
  operation: "mark_as_unread";
884
884
  modified_messages?: string[] | undefined;
885
885
  }>, z.ZodObject<{
@@ -924,7 +924,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
924
924
  }>>;
925
925
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
926
926
  }, "strip", z.ZodTypeAny, {
927
- parts?: any[] | undefined;
928
927
  mimeType?: string | undefined;
929
928
  headers?: {
930
929
  value: string;
@@ -935,8 +934,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
935
934
  size?: number | undefined;
936
935
  attachmentId?: string | undefined;
937
936
  } | undefined;
938
- }, {
939
937
  parts?: any[] | undefined;
938
+ }, {
940
939
  mimeType?: string | undefined;
941
940
  headers?: {
942
941
  value: string;
@@ -947,9 +946,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
947
946
  size?: number | undefined;
948
947
  attachmentId?: string | undefined;
949
948
  } | undefined;
949
+ parts?: any[] | undefined;
950
950
  }>>;
951
951
  }, "strip", z.ZodTypeAny, {
952
952
  id: string;
953
+ raw?: string | undefined;
953
954
  threadId?: string | undefined;
954
955
  labelIds?: string[] | undefined;
955
956
  snippet?: string | undefined;
@@ -957,9 +958,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
957
958
  historyId?: string | undefined;
958
959
  internalDate?: string | undefined;
959
960
  sizeEstimate?: number | undefined;
960
- raw?: string | undefined;
961
961
  payload?: {
962
- parts?: any[] | undefined;
963
962
  mimeType?: string | undefined;
964
963
  headers?: {
965
964
  value: string;
@@ -970,9 +969,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
970
969
  size?: number | undefined;
971
970
  attachmentId?: string | undefined;
972
971
  } | undefined;
972
+ parts?: any[] | undefined;
973
973
  } | undefined;
974
974
  }, {
975
975
  id: string;
976
+ raw?: string | undefined;
976
977
  threadId?: string | undefined;
977
978
  labelIds?: string[] | undefined;
978
979
  snippet?: string | undefined;
@@ -980,9 +981,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
980
981
  historyId?: string | undefined;
981
982
  internalDate?: string | undefined;
982
983
  sizeEstimate?: number | undefined;
983
- raw?: string | undefined;
984
984
  payload?: {
985
- parts?: any[] | undefined;
986
985
  mimeType?: string | undefined;
987
986
  headers?: {
988
987
  value: string;
@@ -993,11 +992,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
993
992
  size?: number | undefined;
994
993
  attachmentId?: string | undefined;
995
994
  } | undefined;
995
+ parts?: any[] | undefined;
996
996
  } | undefined;
997
997
  }>;
998
998
  }, "strip", z.ZodTypeAny, {
999
999
  message: {
1000
1000
  id: string;
1001
+ raw?: string | undefined;
1001
1002
  threadId?: string | undefined;
1002
1003
  labelIds?: string[] | undefined;
1003
1004
  snippet?: string | undefined;
@@ -1005,9 +1006,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1005
1006
  historyId?: string | undefined;
1006
1007
  internalDate?: string | undefined;
1007
1008
  sizeEstimate?: number | undefined;
1008
- raw?: string | undefined;
1009
1009
  payload?: {
1010
- parts?: any[] | undefined;
1011
1010
  mimeType?: string | undefined;
1012
1011
  headers?: {
1013
1012
  value: string;
@@ -1018,12 +1017,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1018
1017
  size?: number | undefined;
1019
1018
  attachmentId?: string | undefined;
1020
1019
  } | undefined;
1020
+ parts?: any[] | undefined;
1021
1021
  } | undefined;
1022
1022
  };
1023
1023
  id: string;
1024
1024
  }, {
1025
1025
  message: {
1026
1026
  id: string;
1027
+ raw?: string | undefined;
1027
1028
  threadId?: string | undefined;
1028
1029
  labelIds?: string[] | undefined;
1029
1030
  snippet?: string | undefined;
@@ -1031,9 +1032,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1031
1032
  historyId?: string | undefined;
1032
1033
  internalDate?: string | undefined;
1033
1034
  sizeEstimate?: number | undefined;
1034
- raw?: string | undefined;
1035
1035
  payload?: {
1036
- parts?: any[] | undefined;
1037
1036
  mimeType?: string | undefined;
1038
1037
  headers?: {
1039
1038
  value: string;
@@ -1044,18 +1043,20 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1044
1043
  size?: number | undefined;
1045
1044
  attachmentId?: string | undefined;
1046
1045
  } | undefined;
1046
+ parts?: any[] | undefined;
1047
1047
  } | undefined;
1048
1048
  };
1049
1049
  id: string;
1050
1050
  }>>;
1051
1051
  error: z.ZodString;
1052
1052
  }, "strip", z.ZodTypeAny, {
1053
- error: string;
1054
1053
  success: boolean;
1054
+ error: string;
1055
1055
  operation: "create_draft";
1056
1056
  draft?: {
1057
1057
  message: {
1058
1058
  id: string;
1059
+ raw?: string | undefined;
1059
1060
  threadId?: string | undefined;
1060
1061
  labelIds?: string[] | undefined;
1061
1062
  snippet?: string | undefined;
@@ -1063,9 +1064,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1063
1064
  historyId?: string | undefined;
1064
1065
  internalDate?: string | undefined;
1065
1066
  sizeEstimate?: number | undefined;
1066
- raw?: string | undefined;
1067
1067
  payload?: {
1068
- parts?: any[] | undefined;
1069
1068
  mimeType?: string | undefined;
1070
1069
  headers?: {
1071
1070
  value: string;
@@ -1076,17 +1075,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1076
1075
  size?: number | undefined;
1077
1076
  attachmentId?: string | undefined;
1078
1077
  } | undefined;
1078
+ parts?: any[] | undefined;
1079
1079
  } | undefined;
1080
1080
  };
1081
1081
  id: string;
1082
1082
  } | undefined;
1083
1083
  }, {
1084
- error: string;
1085
1084
  success: boolean;
1085
+ error: string;
1086
1086
  operation: "create_draft";
1087
1087
  draft?: {
1088
1088
  message: {
1089
1089
  id: string;
1090
+ raw?: string | undefined;
1090
1091
  threadId?: string | undefined;
1091
1092
  labelIds?: string[] | undefined;
1092
1093
  snippet?: string | undefined;
@@ -1094,9 +1095,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1094
1095
  historyId?: string | undefined;
1095
1096
  internalDate?: string | undefined;
1096
1097
  sizeEstimate?: number | undefined;
1097
- raw?: string | undefined;
1098
1098
  payload?: {
1099
- parts?: any[] | undefined;
1100
1099
  mimeType?: string | undefined;
1101
1100
  headers?: {
1102
1101
  value: string;
@@ -1107,6 +1106,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1107
1106
  size?: number | undefined;
1108
1107
  attachmentId?: string | undefined;
1109
1108
  } | undefined;
1109
+ parts?: any[] | undefined;
1110
1110
  } | undefined;
1111
1111
  };
1112
1112
  id: string;
@@ -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
- error: string;
1122
1121
  success: boolean;
1122
+ error: string;
1123
1123
  operation: "send_draft";
1124
- message_id?: string | undefined;
1125
1124
  thread_id?: string | undefined;
1125
+ message_id?: string | undefined;
1126
1126
  }, {
1127
- error: string;
1128
1127
  success: boolean;
1128
+ error: string;
1129
1129
  operation: "send_draft";
1130
- message_id?: string | undefined;
1131
1130
  thread_id?: string | undefined;
1131
+ message_id?: string | undefined;
1132
1132
  }>, z.ZodObject<{
1133
1133
  operation: z.ZodLiteral<"list_drafts">;
1134
1134
  success: z.ZodBoolean;
@@ -1171,7 +1171,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1171
1171
  }>>;
1172
1172
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1173
1173
  }, "strip", z.ZodTypeAny, {
1174
- parts?: any[] | undefined;
1175
1174
  mimeType?: string | undefined;
1176
1175
  headers?: {
1177
1176
  value: string;
@@ -1182,8 +1181,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1182
1181
  size?: number | undefined;
1183
1182
  attachmentId?: string | undefined;
1184
1183
  } | undefined;
1185
- }, {
1186
1184
  parts?: any[] | undefined;
1185
+ }, {
1187
1186
  mimeType?: string | undefined;
1188
1187
  headers?: {
1189
1188
  value: string;
@@ -1194,9 +1193,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1194
1193
  size?: number | undefined;
1195
1194
  attachmentId?: string | undefined;
1196
1195
  } | undefined;
1196
+ parts?: any[] | undefined;
1197
1197
  }>>;
1198
1198
  }, "strip", z.ZodTypeAny, {
1199
1199
  id: string;
1200
+ raw?: string | undefined;
1200
1201
  threadId?: string | undefined;
1201
1202
  labelIds?: string[] | undefined;
1202
1203
  snippet?: string | undefined;
@@ -1204,9 +1205,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1204
1205
  historyId?: string | undefined;
1205
1206
  internalDate?: string | undefined;
1206
1207
  sizeEstimate?: number | undefined;
1207
- raw?: string | undefined;
1208
1208
  payload?: {
1209
- parts?: any[] | undefined;
1210
1209
  mimeType?: string | undefined;
1211
1210
  headers?: {
1212
1211
  value: string;
@@ -1217,9 +1216,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1217
1216
  size?: number | undefined;
1218
1217
  attachmentId?: string | undefined;
1219
1218
  } | undefined;
1219
+ parts?: any[] | undefined;
1220
1220
  } | undefined;
1221
1221
  }, {
1222
1222
  id: string;
1223
+ raw?: string | undefined;
1223
1224
  threadId?: string | undefined;
1224
1225
  labelIds?: string[] | undefined;
1225
1226
  snippet?: string | undefined;
@@ -1227,9 +1228,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1227
1228
  historyId?: string | undefined;
1228
1229
  internalDate?: string | undefined;
1229
1230
  sizeEstimate?: number | undefined;
1230
- raw?: string | undefined;
1231
1231
  payload?: {
1232
- parts?: any[] | undefined;
1233
1232
  mimeType?: string | undefined;
1234
1233
  headers?: {
1235
1234
  value: string;
@@ -1240,11 +1239,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1240
1239
  size?: number | undefined;
1241
1240
  attachmentId?: string | undefined;
1242
1241
  } | undefined;
1242
+ parts?: any[] | undefined;
1243
1243
  } | undefined;
1244
1244
  }>;
1245
1245
  }, "strip", z.ZodTypeAny, {
1246
1246
  message: {
1247
1247
  id: string;
1248
+ raw?: string | undefined;
1248
1249
  threadId?: string | undefined;
1249
1250
  labelIds?: string[] | undefined;
1250
1251
  snippet?: string | undefined;
@@ -1252,9 +1253,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1252
1253
  historyId?: string | undefined;
1253
1254
  internalDate?: string | undefined;
1254
1255
  sizeEstimate?: number | undefined;
1255
- raw?: string | undefined;
1256
1256
  payload?: {
1257
- parts?: any[] | undefined;
1258
1257
  mimeType?: string | undefined;
1259
1258
  headers?: {
1260
1259
  value: string;
@@ -1265,12 +1264,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1265
1264
  size?: number | undefined;
1266
1265
  attachmentId?: string | undefined;
1267
1266
  } | undefined;
1267
+ parts?: any[] | undefined;
1268
1268
  } | undefined;
1269
1269
  };
1270
1270
  id: string;
1271
1271
  }, {
1272
1272
  message: {
1273
1273
  id: string;
1274
+ raw?: string | undefined;
1274
1275
  threadId?: string | undefined;
1275
1276
  labelIds?: string[] | undefined;
1276
1277
  snippet?: string | undefined;
@@ -1278,9 +1279,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1278
1279
  historyId?: string | undefined;
1279
1280
  internalDate?: string | undefined;
1280
1281
  sizeEstimate?: number | undefined;
1281
- raw?: string | undefined;
1282
1282
  payload?: {
1283
- parts?: any[] | undefined;
1284
1283
  mimeType?: string | undefined;
1285
1284
  headers?: {
1286
1285
  value: string;
@@ -1291,6 +1290,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1291
1290
  size?: number | undefined;
1292
1291
  attachmentId?: string | undefined;
1293
1292
  } | undefined;
1293
+ parts?: any[] | undefined;
1294
1294
  } | undefined;
1295
1295
  };
1296
1296
  id: string;
@@ -1299,14 +1299,15 @@ 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
- error: string;
1303
1302
  success: boolean;
1303
+ error: string;
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;
1310
1311
  threadId?: string | undefined;
1311
1312
  labelIds?: string[] | undefined;
1312
1313
  snippet?: string | undefined;
@@ -1314,9 +1315,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1314
1315
  historyId?: string | undefined;
1315
1316
  internalDate?: string | undefined;
1316
1317
  sizeEstimate?: number | undefined;
1317
- raw?: string | undefined;
1318
1318
  payload?: {
1319
- parts?: any[] | undefined;
1320
1319
  mimeType?: string | undefined;
1321
1320
  headers?: {
1322
1321
  value: string;
@@ -1327,19 +1326,21 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1327
1326
  size?: number | undefined;
1328
1327
  attachmentId?: string | undefined;
1329
1328
  } | undefined;
1329
+ parts?: any[] | undefined;
1330
1330
  } | undefined;
1331
1331
  };
1332
1332
  id: string;
1333
1333
  }[] | undefined;
1334
1334
  }, {
1335
- error: string;
1336
1335
  success: boolean;
1336
+ error: string;
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;
1343
1344
  threadId?: string | undefined;
1344
1345
  labelIds?: string[] | undefined;
1345
1346
  snippet?: string | undefined;
@@ -1347,9 +1348,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1347
1348
  historyId?: string | undefined;
1348
1349
  internalDate?: string | undefined;
1349
1350
  sizeEstimate?: number | undefined;
1350
- raw?: string | undefined;
1351
1351
  payload?: {
1352
- parts?: any[] | undefined;
1353
1352
  mimeType?: string | undefined;
1354
1353
  headers?: {
1355
1354
  value: string;
@@ -1360,6 +1359,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1360
1359
  size?: number | undefined;
1361
1360
  attachmentId?: string | undefined;
1362
1361
  } | undefined;
1362
+ parts?: any[] | undefined;
1363
1363
  } | undefined;
1364
1364
  };
1365
1365
  id: string;
@@ -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
- error: string;
1374
1373
  success: boolean;
1374
+ error: string;
1375
1375
  operation: "delete_email";
1376
1376
  deleted_message_id?: string | undefined;
1377
1377
  }, {
1378
- error: string;
1379
1378
  success: boolean;
1379
+ error: string;
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
- error: string;
1389
1388
  success: boolean;
1389
+ error: string;
1390
1390
  operation: "trash_email";
1391
1391
  trashed_message_id?: string | undefined;
1392
1392
  }, {
1393
- error: string;
1394
1393
  success: boolean;
1394
+ error: string;
1395
1395
  operation: "trash_email";
1396
1396
  trashed_message_id?: string | undefined;
1397
1397
  }>, z.ZodObject<{
@@ -1437,7 +1437,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1437
1437
  }>>;
1438
1438
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1439
1439
  }, "strip", z.ZodTypeAny, {
1440
- parts?: any[] | undefined;
1441
1440
  mimeType?: string | undefined;
1442
1441
  headers?: {
1443
1442
  value: string;
@@ -1448,8 +1447,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1448
1447
  size?: number | undefined;
1449
1448
  attachmentId?: string | undefined;
1450
1449
  } | undefined;
1451
- }, {
1452
1450
  parts?: any[] | undefined;
1451
+ }, {
1453
1452
  mimeType?: string | undefined;
1454
1453
  headers?: {
1455
1454
  value: string;
@@ -1460,9 +1459,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1460
1459
  size?: number | undefined;
1461
1460
  attachmentId?: string | undefined;
1462
1461
  } | undefined;
1462
+ parts?: any[] | undefined;
1463
1463
  }>>;
1464
1464
  }, "strip", z.ZodTypeAny, {
1465
1465
  id: string;
1466
+ raw?: string | undefined;
1466
1467
  threadId?: string | undefined;
1467
1468
  labelIds?: string[] | undefined;
1468
1469
  snippet?: string | undefined;
@@ -1470,9 +1471,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1470
1471
  historyId?: string | undefined;
1471
1472
  internalDate?: string | undefined;
1472
1473
  sizeEstimate?: number | undefined;
1473
- raw?: string | undefined;
1474
1474
  payload?: {
1475
- parts?: any[] | undefined;
1476
1475
  mimeType?: string | undefined;
1477
1476
  headers?: {
1478
1477
  value: string;
@@ -1483,9 +1482,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1483
1482
  size?: number | undefined;
1484
1483
  attachmentId?: string | undefined;
1485
1484
  } | undefined;
1485
+ parts?: any[] | undefined;
1486
1486
  } | undefined;
1487
1487
  }, {
1488
1488
  id: string;
1489
+ raw?: string | undefined;
1489
1490
  threadId?: string | undefined;
1490
1491
  labelIds?: string[] | undefined;
1491
1492
  snippet?: string | undefined;
@@ -1493,9 +1494,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1493
1494
  historyId?: string | undefined;
1494
1495
  internalDate?: string | undefined;
1495
1496
  sizeEstimate?: number | undefined;
1496
- raw?: string | undefined;
1497
1497
  payload?: {
1498
- parts?: any[] | undefined;
1499
1498
  mimeType?: string | undefined;
1500
1499
  headers?: {
1501
1500
  value: string;
@@ -1506,6 +1505,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1506
1505
  size?: number | undefined;
1507
1506
  attachmentId?: string | undefined;
1508
1507
  } | undefined;
1508
+ parts?: any[] | undefined;
1509
1509
  } | undefined;
1510
1510
  }>, "many">>;
1511
1511
  snippet: z.ZodOptional<z.ZodString>;
@@ -1513,6 +1513,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1513
1513
  id: string;
1514
1514
  messages?: {
1515
1515
  id: string;
1516
+ raw?: string | undefined;
1516
1517
  threadId?: string | undefined;
1517
1518
  labelIds?: string[] | undefined;
1518
1519
  snippet?: string | undefined;
@@ -1520,9 +1521,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1520
1521
  historyId?: string | undefined;
1521
1522
  internalDate?: string | undefined;
1522
1523
  sizeEstimate?: number | undefined;
1523
- raw?: string | undefined;
1524
1524
  payload?: {
1525
- parts?: any[] | undefined;
1526
1525
  mimeType?: string | undefined;
1527
1526
  headers?: {
1528
1527
  value: string;
@@ -1533,6 +1532,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1533
1532
  size?: number | undefined;
1534
1533
  attachmentId?: string | undefined;
1535
1534
  } | undefined;
1535
+ parts?: any[] | undefined;
1536
1536
  } | undefined;
1537
1537
  }[] | undefined;
1538
1538
  snippet?: string | undefined;
@@ -1541,6 +1541,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1541
1541
  id: string;
1542
1542
  messages?: {
1543
1543
  id: string;
1544
+ raw?: string | undefined;
1544
1545
  threadId?: string | undefined;
1545
1546
  labelIds?: string[] | undefined;
1546
1547
  snippet?: string | undefined;
@@ -1548,9 +1549,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1548
1549
  historyId?: string | undefined;
1549
1550
  internalDate?: string | undefined;
1550
1551
  sizeEstimate?: number | undefined;
1551
- raw?: string | undefined;
1552
1552
  payload?: {
1553
- parts?: any[] | undefined;
1554
1553
  mimeType?: string | undefined;
1555
1554
  headers?: {
1556
1555
  value: string;
@@ -1561,6 +1560,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1561
1560
  size?: number | undefined;
1562
1561
  attachmentId?: string | undefined;
1563
1562
  } | undefined;
1563
+ parts?: any[] | undefined;
1564
1564
  } | undefined;
1565
1565
  }[] | undefined;
1566
1566
  snippet?: string | undefined;
@@ -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
- error: string;
1574
1573
  success: boolean;
1574
+ error: string;
1575
1575
  operation: "list_threads";
1576
1576
  next_page_token?: string | undefined;
1577
1577
  result_size_estimate?: number | undefined;
@@ -1579,6 +1579,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1579
1579
  id: string;
1580
1580
  messages?: {
1581
1581
  id: string;
1582
+ raw?: string | undefined;
1582
1583
  threadId?: string | undefined;
1583
1584
  labelIds?: string[] | undefined;
1584
1585
  snippet?: string | undefined;
@@ -1586,9 +1587,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1586
1587
  historyId?: string | undefined;
1587
1588
  internalDate?: string | undefined;
1588
1589
  sizeEstimate?: number | undefined;
1589
- raw?: string | undefined;
1590
1590
  payload?: {
1591
- parts?: any[] | undefined;
1592
1591
  mimeType?: string | undefined;
1593
1592
  headers?: {
1594
1593
  value: string;
@@ -1599,14 +1598,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1599
1598
  size?: number | undefined;
1600
1599
  attachmentId?: string | undefined;
1601
1600
  } | undefined;
1601
+ parts?: any[] | undefined;
1602
1602
  } | undefined;
1603
1603
  }[] | undefined;
1604
1604
  snippet?: string | undefined;
1605
1605
  historyId?: string | undefined;
1606
1606
  }[] | undefined;
1607
1607
  }, {
1608
- error: string;
1609
1608
  success: boolean;
1609
+ error: string;
1610
1610
  operation: "list_threads";
1611
1611
  next_page_token?: string | undefined;
1612
1612
  result_size_estimate?: number | undefined;
@@ -1614,6 +1614,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1614
1614
  id: string;
1615
1615
  messages?: {
1616
1616
  id: string;
1617
+ raw?: string | undefined;
1617
1618
  threadId?: string | undefined;
1618
1619
  labelIds?: string[] | undefined;
1619
1620
  snippet?: string | undefined;
@@ -1621,9 +1622,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1621
1622
  historyId?: string | undefined;
1622
1623
  internalDate?: string | undefined;
1623
1624
  sizeEstimate?: number | undefined;
1624
- raw?: string | undefined;
1625
1625
  payload?: {
1626
- parts?: any[] | undefined;
1627
1626
  mimeType?: string | undefined;
1628
1627
  headers?: {
1629
1628
  value: string;
@@ -1634,6 +1633,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1634
1633
  size?: number | undefined;
1635
1634
  attachmentId?: string | undefined;
1636
1635
  } | undefined;
1636
+ parts?: any[] | undefined;
1637
1637
  } | undefined;
1638
1638
  }[] | undefined;
1639
1639
  snippet?: string | undefined;
@@ -1651,36 +1651,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1651
1651
  }, "strip", z.ZodTypeAny, {
1652
1652
  name: string;
1653
1653
  id: string;
1654
- type?: "system" | "user" | undefined;
1654
+ type?: "user" | "system" | undefined;
1655
1655
  messageListVisibility?: "show" | "hide" | undefined;
1656
1656
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1657
1657
  }, {
1658
1658
  name: string;
1659
1659
  id: string;
1660
- type?: "system" | "user" | undefined;
1660
+ type?: "user" | "system" | undefined;
1661
1661
  messageListVisibility?: "show" | "hide" | undefined;
1662
1662
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1663
1663
  }>, "many">>;
1664
1664
  error: z.ZodString;
1665
1665
  }, "strip", z.ZodTypeAny, {
1666
- error: string;
1667
1666
  success: boolean;
1667
+ error: string;
1668
1668
  operation: "list_labels";
1669
1669
  labels?: {
1670
1670
  name: string;
1671
1671
  id: string;
1672
- type?: "system" | "user" | undefined;
1672
+ type?: "user" | "system" | undefined;
1673
1673
  messageListVisibility?: "show" | "hide" | undefined;
1674
1674
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1675
1675
  }[] | undefined;
1676
1676
  }, {
1677
- error: string;
1678
1677
  success: boolean;
1678
+ error: string;
1679
1679
  operation: "list_labels";
1680
1680
  labels?: {
1681
1681
  name: string;
1682
1682
  id: string;
1683
- type?: "system" | "user" | undefined;
1683
+ type?: "user" | "system" | undefined;
1684
1684
  messageListVisibility?: "show" | "hide" | undefined;
1685
1685
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1686
1686
  }[] | undefined;
@@ -1696,36 +1696,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1696
1696
  }, "strip", z.ZodTypeAny, {
1697
1697
  name: string;
1698
1698
  id: string;
1699
- type?: "system" | "user" | undefined;
1699
+ type?: "user" | "system" | undefined;
1700
1700
  messageListVisibility?: "show" | "hide" | undefined;
1701
1701
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1702
1702
  }, {
1703
1703
  name: string;
1704
1704
  id: string;
1705
- type?: "system" | "user" | undefined;
1705
+ type?: "user" | "system" | undefined;
1706
1706
  messageListVisibility?: "show" | "hide" | undefined;
1707
1707
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1708
1708
  }>>;
1709
1709
  error: z.ZodString;
1710
1710
  }, "strip", z.ZodTypeAny, {
1711
- error: string;
1712
1711
  success: boolean;
1712
+ error: string;
1713
1713
  operation: "create_label";
1714
1714
  label?: {
1715
1715
  name: string;
1716
1716
  id: string;
1717
- type?: "system" | "user" | undefined;
1717
+ type?: "user" | "system" | undefined;
1718
1718
  messageListVisibility?: "show" | "hide" | undefined;
1719
1719
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1720
1720
  } | undefined;
1721
1721
  }, {
1722
- error: string;
1723
1722
  success: boolean;
1723
+ error: string;
1724
1724
  operation: "create_label";
1725
1725
  label?: {
1726
1726
  name: string;
1727
1727
  id: string;
1728
- type?: "system" | "user" | undefined;
1728
+ type?: "user" | "system" | undefined;
1729
1729
  messageListVisibility?: "show" | "hide" | undefined;
1730
1730
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1731
1731
  } | undefined;
@@ -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
- error: string;
1740
1739
  success: boolean;
1740
+ error: string;
1741
1741
  operation: "modify_message_labels";
1742
- message_id?: string | undefined;
1743
1742
  label_ids?: string[] | undefined;
1743
+ message_id?: string | undefined;
1744
1744
  }, {
1745
- error: string;
1746
1745
  success: boolean;
1746
+ error: string;
1747
1747
  operation: "modify_message_labels";
1748
- message_id?: string | undefined;
1749
1748
  label_ids?: string[] | undefined;
1749
+ message_id?: 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
- error: string;
1757
1756
  success: boolean;
1757
+ error: string;
1758
1758
  operation: "modify_thread_labels";
1759
1759
  thread_id?: string | undefined;
1760
1760
  }, {
1761
- error: string;
1762
1761
  success: boolean;
1762
+ error: string;
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
- error: string;
1773
1772
  success: boolean;
1773
+ error: string;
1774
1774
  operation: "get_attachment";
1775
1775
  data?: string | undefined;
1776
1776
  size?: number | undefined;
1777
1777
  }, {
1778
- error: string;
1779
1778
  success: boolean;
1779
+ error: string;
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: "metadata" | "minimal" | "raw" | "full";
1864
+ format: "minimal" | "full" | "raw" | "metadata";
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?: "metadata" | "minimal" | "raw" | "full" | undefined;
1872
+ format?: "minimal" | "full" | "raw" | "metadata" | undefined;
1873
1873
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1874
1874
  metadata_headers?: string[] | undefined;
1875
1875
  }>, z.ZodObject<{
@@ -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
- error: string;
2124
2123
  success: boolean;
2124
+ error: string;
2125
2125
  operation: "send_email";
2126
- message_id?: string | undefined;
2127
2126
  thread_id?: string | undefined;
2127
+ message_id?: string | undefined;
2128
2128
  }, {
2129
- error: string;
2130
2129
  success: boolean;
2130
+ error: string;
2131
2131
  operation: "send_email";
2132
- message_id?: string | undefined;
2133
2132
  thread_id?: string | undefined;
2133
+ message_id?: string | undefined;
2134
2134
  }>, z.ZodObject<{
2135
2135
  operation: z.ZodLiteral<"list_emails">;
2136
2136
  success: z.ZodBoolean;
@@ -2171,7 +2171,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2171
2171
  }>>;
2172
2172
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2173
2173
  }, "strip", z.ZodTypeAny, {
2174
- parts?: any[] | undefined;
2175
2174
  mimeType?: string | undefined;
2176
2175
  headers?: {
2177
2176
  value: string;
@@ -2182,8 +2181,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2182
2181
  size?: number | undefined;
2183
2182
  attachmentId?: string | undefined;
2184
2183
  } | undefined;
2185
- }, {
2186
2184
  parts?: any[] | undefined;
2185
+ }, {
2187
2186
  mimeType?: string | undefined;
2188
2187
  headers?: {
2189
2188
  value: string;
@@ -2194,9 +2193,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2194
2193
  size?: number | undefined;
2195
2194
  attachmentId?: string | undefined;
2196
2195
  } | undefined;
2196
+ parts?: any[] | undefined;
2197
2197
  }>>;
2198
2198
  }, "strip", z.ZodTypeAny, {
2199
2199
  id: string;
2200
+ raw?: string | undefined;
2200
2201
  threadId?: string | undefined;
2201
2202
  labelIds?: string[] | undefined;
2202
2203
  snippet?: string | undefined;
@@ -2204,9 +2205,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2204
2205
  historyId?: string | undefined;
2205
2206
  internalDate?: string | undefined;
2206
2207
  sizeEstimate?: number | undefined;
2207
- raw?: string | undefined;
2208
2208
  payload?: {
2209
- parts?: any[] | undefined;
2210
2209
  mimeType?: string | undefined;
2211
2210
  headers?: {
2212
2211
  value: string;
@@ -2217,9 +2216,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2217
2216
  size?: number | undefined;
2218
2217
  attachmentId?: string | undefined;
2219
2218
  } | undefined;
2219
+ parts?: any[] | undefined;
2220
2220
  } | undefined;
2221
2221
  }, {
2222
2222
  id: string;
2223
+ raw?: string | undefined;
2223
2224
  threadId?: string | undefined;
2224
2225
  labelIds?: string[] | undefined;
2225
2226
  snippet?: string | undefined;
@@ -2227,9 +2228,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2227
2228
  historyId?: string | undefined;
2228
2229
  internalDate?: string | undefined;
2229
2230
  sizeEstimate?: number | undefined;
2230
- raw?: string | undefined;
2231
2231
  payload?: {
2232
- parts?: any[] | undefined;
2233
2232
  mimeType?: string | undefined;
2234
2233
  headers?: {
2235
2234
  value: string;
@@ -2240,17 +2239,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2240
2239
  size?: number | undefined;
2241
2240
  attachmentId?: string | undefined;
2242
2241
  } | undefined;
2242
+ parts?: any[] | undefined;
2243
2243
  } | undefined;
2244
2244
  }>, "many">>;
2245
2245
  next_page_token: z.ZodOptional<z.ZodString>;
2246
2246
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2247
2247
  error: z.ZodString;
2248
2248
  }, "strip", z.ZodTypeAny, {
2249
- error: string;
2250
2249
  success: boolean;
2250
+ error: string;
2251
2251
  operation: "list_emails";
2252
2252
  messages?: {
2253
2253
  id: string;
2254
+ raw?: string | undefined;
2254
2255
  threadId?: string | undefined;
2255
2256
  labelIds?: string[] | undefined;
2256
2257
  snippet?: string | undefined;
@@ -2258,9 +2259,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2258
2259
  historyId?: string | undefined;
2259
2260
  internalDate?: string | undefined;
2260
2261
  sizeEstimate?: number | undefined;
2261
- raw?: string | undefined;
2262
2262
  payload?: {
2263
- parts?: any[] | undefined;
2264
2263
  mimeType?: string | undefined;
2265
2264
  headers?: {
2266
2265
  value: string;
@@ -2271,16 +2270,18 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2271
2270
  size?: number | undefined;
2272
2271
  attachmentId?: string | undefined;
2273
2272
  } | undefined;
2273
+ parts?: any[] | undefined;
2274
2274
  } | undefined;
2275
2275
  }[] | undefined;
2276
2276
  next_page_token?: string | undefined;
2277
2277
  result_size_estimate?: number | undefined;
2278
2278
  }, {
2279
- error: string;
2280
2279
  success: boolean;
2280
+ error: string;
2281
2281
  operation: "list_emails";
2282
2282
  messages?: {
2283
2283
  id: string;
2284
+ raw?: string | undefined;
2284
2285
  threadId?: string | undefined;
2285
2286
  labelIds?: string[] | undefined;
2286
2287
  snippet?: string | undefined;
@@ -2288,9 +2289,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2288
2289
  historyId?: string | undefined;
2289
2290
  internalDate?: string | undefined;
2290
2291
  sizeEstimate?: number | undefined;
2291
- raw?: string | undefined;
2292
2292
  payload?: {
2293
- parts?: any[] | undefined;
2294
2293
  mimeType?: string | undefined;
2295
2294
  headers?: {
2296
2295
  value: string;
@@ -2301,6 +2300,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2301
2300
  size?: number | undefined;
2302
2301
  attachmentId?: string | undefined;
2303
2302
  } | undefined;
2303
+ parts?: any[] | undefined;
2304
2304
  } | undefined;
2305
2305
  }[] | undefined;
2306
2306
  next_page_token?: string | undefined;
@@ -2345,7 +2345,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2345
2345
  }>>;
2346
2346
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2347
2347
  }, "strip", z.ZodTypeAny, {
2348
- parts?: any[] | undefined;
2349
2348
  mimeType?: string | undefined;
2350
2349
  headers?: {
2351
2350
  value: string;
@@ -2356,8 +2355,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2356
2355
  size?: number | undefined;
2357
2356
  attachmentId?: string | undefined;
2358
2357
  } | undefined;
2359
- }, {
2360
2358
  parts?: any[] | undefined;
2359
+ }, {
2361
2360
  mimeType?: string | undefined;
2362
2361
  headers?: {
2363
2362
  value: string;
@@ -2368,9 +2367,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2368
2367
  size?: number | undefined;
2369
2368
  attachmentId?: string | undefined;
2370
2369
  } | undefined;
2370
+ parts?: any[] | undefined;
2371
2371
  }>>;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
2373
  id: string;
2374
+ raw?: string | undefined;
2374
2375
  threadId?: string | undefined;
2375
2376
  labelIds?: string[] | undefined;
2376
2377
  snippet?: string | undefined;
@@ -2378,9 +2379,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2378
2379
  historyId?: string | undefined;
2379
2380
  internalDate?: string | undefined;
2380
2381
  sizeEstimate?: number | undefined;
2381
- raw?: string | undefined;
2382
2382
  payload?: {
2383
- parts?: any[] | undefined;
2384
2383
  mimeType?: string | undefined;
2385
2384
  headers?: {
2386
2385
  value: string;
@@ -2391,9 +2390,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2391
2390
  size?: number | undefined;
2392
2391
  attachmentId?: string | undefined;
2393
2392
  } | undefined;
2393
+ parts?: any[] | undefined;
2394
2394
  } | undefined;
2395
2395
  }, {
2396
2396
  id: string;
2397
+ raw?: string | undefined;
2397
2398
  threadId?: string | undefined;
2398
2399
  labelIds?: string[] | undefined;
2399
2400
  snippet?: string | undefined;
@@ -2401,9 +2402,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2401
2402
  historyId?: string | undefined;
2402
2403
  internalDate?: string | undefined;
2403
2404
  sizeEstimate?: number | undefined;
2404
- raw?: string | undefined;
2405
2405
  payload?: {
2406
- parts?: any[] | undefined;
2407
2406
  mimeType?: string | undefined;
2408
2407
  headers?: {
2409
2408
  value: string;
@@ -2414,15 +2413,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2414
2413
  size?: number | undefined;
2415
2414
  attachmentId?: string | undefined;
2416
2415
  } | undefined;
2416
+ parts?: any[] | undefined;
2417
2417
  } | undefined;
2418
2418
  }>>;
2419
2419
  error: z.ZodString;
2420
2420
  }, "strip", z.ZodTypeAny, {
2421
- error: string;
2422
2421
  success: boolean;
2422
+ error: string;
2423
2423
  operation: "get_email";
2424
2424
  message?: {
2425
2425
  id: string;
2426
+ raw?: string | undefined;
2426
2427
  threadId?: string | undefined;
2427
2428
  labelIds?: string[] | undefined;
2428
2429
  snippet?: string | undefined;
@@ -2430,9 +2431,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2430
2431
  historyId?: string | undefined;
2431
2432
  internalDate?: string | undefined;
2432
2433
  sizeEstimate?: number | undefined;
2433
- raw?: string | undefined;
2434
2434
  payload?: {
2435
- parts?: any[] | undefined;
2436
2435
  mimeType?: string | undefined;
2437
2436
  headers?: {
2438
2437
  value: string;
@@ -2443,14 +2442,16 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2443
2442
  size?: number | undefined;
2444
2443
  attachmentId?: string | undefined;
2445
2444
  } | undefined;
2445
+ parts?: any[] | undefined;
2446
2446
  } | undefined;
2447
2447
  } | undefined;
2448
2448
  }, {
2449
- error: string;
2450
2449
  success: boolean;
2450
+ error: string;
2451
2451
  operation: "get_email";
2452
2452
  message?: {
2453
2453
  id: string;
2454
+ raw?: string | undefined;
2454
2455
  threadId?: string | undefined;
2455
2456
  labelIds?: string[] | undefined;
2456
2457
  snippet?: string | undefined;
@@ -2458,9 +2459,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2458
2459
  historyId?: string | undefined;
2459
2460
  internalDate?: string | undefined;
2460
2461
  sizeEstimate?: number | undefined;
2461
- raw?: string | undefined;
2462
2462
  payload?: {
2463
- parts?: any[] | undefined;
2464
2463
  mimeType?: string | undefined;
2465
2464
  headers?: {
2466
2465
  value: string;
@@ -2471,6 +2470,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2471
2470
  size?: number | undefined;
2472
2471
  attachmentId?: string | undefined;
2473
2472
  } | undefined;
2473
+ parts?: any[] | undefined;
2474
2474
  } | undefined;
2475
2475
  } | undefined;
2476
2476
  }>, z.ZodObject<{
@@ -2513,7 +2513,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2513
2513
  }>>;
2514
2514
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2515
2515
  }, "strip", z.ZodTypeAny, {
2516
- parts?: any[] | undefined;
2517
2516
  mimeType?: string | undefined;
2518
2517
  headers?: {
2519
2518
  value: string;
@@ -2524,8 +2523,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2524
2523
  size?: number | undefined;
2525
2524
  attachmentId?: string | undefined;
2526
2525
  } | undefined;
2527
- }, {
2528
2526
  parts?: any[] | undefined;
2527
+ }, {
2529
2528
  mimeType?: string | undefined;
2530
2529
  headers?: {
2531
2530
  value: string;
@@ -2536,9 +2535,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2536
2535
  size?: number | undefined;
2537
2536
  attachmentId?: string | undefined;
2538
2537
  } | undefined;
2538
+ parts?: any[] | undefined;
2539
2539
  }>>;
2540
2540
  }, "strip", z.ZodTypeAny, {
2541
2541
  id: string;
2542
+ raw?: string | undefined;
2542
2543
  threadId?: string | undefined;
2543
2544
  labelIds?: string[] | undefined;
2544
2545
  snippet?: string | undefined;
@@ -2546,9 +2547,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2546
2547
  historyId?: string | undefined;
2547
2548
  internalDate?: string | undefined;
2548
2549
  sizeEstimate?: number | undefined;
2549
- raw?: string | undefined;
2550
2550
  payload?: {
2551
- parts?: any[] | undefined;
2552
2551
  mimeType?: string | undefined;
2553
2552
  headers?: {
2554
2553
  value: string;
@@ -2559,9 +2558,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2559
2558
  size?: number | undefined;
2560
2559
  attachmentId?: string | undefined;
2561
2560
  } | undefined;
2561
+ parts?: any[] | undefined;
2562
2562
  } | undefined;
2563
2563
  }, {
2564
2564
  id: string;
2565
+ raw?: string | undefined;
2565
2566
  threadId?: string | undefined;
2566
2567
  labelIds?: string[] | undefined;
2567
2568
  snippet?: string | undefined;
@@ -2569,9 +2570,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2569
2570
  historyId?: string | undefined;
2570
2571
  internalDate?: string | undefined;
2571
2572
  sizeEstimate?: number | undefined;
2572
- raw?: string | undefined;
2573
2573
  payload?: {
2574
- parts?: any[] | undefined;
2575
2574
  mimeType?: string | undefined;
2576
2575
  headers?: {
2577
2576
  value: string;
@@ -2582,16 +2581,18 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2582
2581
  size?: number | undefined;
2583
2582
  attachmentId?: string | undefined;
2584
2583
  } | undefined;
2584
+ parts?: any[] | undefined;
2585
2585
  } | undefined;
2586
2586
  }>, "many">>;
2587
2587
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2588
2588
  error: z.ZodString;
2589
2589
  }, "strip", z.ZodTypeAny, {
2590
- error: string;
2591
2590
  success: boolean;
2591
+ error: string;
2592
2592
  operation: "search_emails";
2593
2593
  messages?: {
2594
2594
  id: string;
2595
+ raw?: string | undefined;
2595
2596
  threadId?: string | undefined;
2596
2597
  labelIds?: string[] | undefined;
2597
2598
  snippet?: string | undefined;
@@ -2599,9 +2600,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2599
2600
  historyId?: string | undefined;
2600
2601
  internalDate?: string | undefined;
2601
2602
  sizeEstimate?: number | undefined;
2602
- raw?: string | undefined;
2603
2603
  payload?: {
2604
- parts?: any[] | undefined;
2605
2604
  mimeType?: string | undefined;
2606
2605
  headers?: {
2607
2606
  value: string;
@@ -2612,15 +2611,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2612
2611
  size?: number | undefined;
2613
2612
  attachmentId?: string | undefined;
2614
2613
  } | undefined;
2614
+ parts?: any[] | undefined;
2615
2615
  } | undefined;
2616
2616
  }[] | undefined;
2617
2617
  result_size_estimate?: number | undefined;
2618
2618
  }, {
2619
- error: string;
2620
2619
  success: boolean;
2620
+ error: string;
2621
2621
  operation: "search_emails";
2622
2622
  messages?: {
2623
2623
  id: string;
2624
+ raw?: string | undefined;
2624
2625
  threadId?: string | undefined;
2625
2626
  labelIds?: string[] | undefined;
2626
2627
  snippet?: string | undefined;
@@ -2628,9 +2629,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2628
2629
  historyId?: string | undefined;
2629
2630
  internalDate?: string | undefined;
2630
2631
  sizeEstimate?: number | undefined;
2631
- raw?: string | undefined;
2632
2632
  payload?: {
2633
- parts?: any[] | undefined;
2634
2633
  mimeType?: string | undefined;
2635
2634
  headers?: {
2636
2635
  value: string;
@@ -2641,6 +2640,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2641
2640
  size?: number | undefined;
2642
2641
  attachmentId?: string | undefined;
2643
2642
  } | undefined;
2643
+ parts?: any[] | undefined;
2644
2644
  } | undefined;
2645
2645
  }[] | undefined;
2646
2646
  result_size_estimate?: number | undefined;
@@ -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
- error: string;
2654
2653
  success: boolean;
2654
+ error: string;
2655
2655
  operation: "mark_as_read";
2656
2656
  modified_messages?: string[] | undefined;
2657
2657
  }, {
2658
- error: string;
2659
2658
  success: boolean;
2659
+ error: string;
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
- error: string;
2669
2668
  success: boolean;
2669
+ error: string;
2670
2670
  operation: "mark_as_unread";
2671
2671
  modified_messages?: string[] | undefined;
2672
2672
  }, {
2673
- error: string;
2674
2673
  success: boolean;
2674
+ error: string;
2675
2675
  operation: "mark_as_unread";
2676
2676
  modified_messages?: string[] | undefined;
2677
2677
  }>, z.ZodObject<{
@@ -2716,7 +2716,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2716
2716
  }>>;
2717
2717
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2718
2718
  }, "strip", z.ZodTypeAny, {
2719
- parts?: any[] | undefined;
2720
2719
  mimeType?: string | undefined;
2721
2720
  headers?: {
2722
2721
  value: string;
@@ -2727,8 +2726,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2727
2726
  size?: number | undefined;
2728
2727
  attachmentId?: string | undefined;
2729
2728
  } | undefined;
2730
- }, {
2731
2729
  parts?: any[] | undefined;
2730
+ }, {
2732
2731
  mimeType?: string | undefined;
2733
2732
  headers?: {
2734
2733
  value: string;
@@ -2739,9 +2738,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2739
2738
  size?: number | undefined;
2740
2739
  attachmentId?: string | undefined;
2741
2740
  } | undefined;
2741
+ parts?: any[] | undefined;
2742
2742
  }>>;
2743
2743
  }, "strip", z.ZodTypeAny, {
2744
2744
  id: string;
2745
+ raw?: string | undefined;
2745
2746
  threadId?: string | undefined;
2746
2747
  labelIds?: string[] | undefined;
2747
2748
  snippet?: string | undefined;
@@ -2749,9 +2750,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2749
2750
  historyId?: string | undefined;
2750
2751
  internalDate?: string | undefined;
2751
2752
  sizeEstimate?: number | undefined;
2752
- raw?: string | undefined;
2753
2753
  payload?: {
2754
- parts?: any[] | undefined;
2755
2754
  mimeType?: string | undefined;
2756
2755
  headers?: {
2757
2756
  value: string;
@@ -2762,9 +2761,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2762
2761
  size?: number | undefined;
2763
2762
  attachmentId?: string | undefined;
2764
2763
  } | undefined;
2764
+ parts?: any[] | undefined;
2765
2765
  } | undefined;
2766
2766
  }, {
2767
2767
  id: string;
2768
+ raw?: string | undefined;
2768
2769
  threadId?: string | undefined;
2769
2770
  labelIds?: string[] | undefined;
2770
2771
  snippet?: string | undefined;
@@ -2772,9 +2773,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2772
2773
  historyId?: string | undefined;
2773
2774
  internalDate?: string | undefined;
2774
2775
  sizeEstimate?: number | undefined;
2775
- raw?: string | undefined;
2776
2776
  payload?: {
2777
- parts?: any[] | undefined;
2778
2777
  mimeType?: string | undefined;
2779
2778
  headers?: {
2780
2779
  value: string;
@@ -2785,11 +2784,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2785
2784
  size?: number | undefined;
2786
2785
  attachmentId?: string | undefined;
2787
2786
  } | undefined;
2787
+ parts?: any[] | undefined;
2788
2788
  } | undefined;
2789
2789
  }>;
2790
2790
  }, "strip", z.ZodTypeAny, {
2791
2791
  message: {
2792
2792
  id: string;
2793
+ raw?: string | undefined;
2793
2794
  threadId?: string | undefined;
2794
2795
  labelIds?: string[] | undefined;
2795
2796
  snippet?: string | undefined;
@@ -2797,9 +2798,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2797
2798
  historyId?: string | undefined;
2798
2799
  internalDate?: string | undefined;
2799
2800
  sizeEstimate?: number | undefined;
2800
- raw?: string | undefined;
2801
2801
  payload?: {
2802
- parts?: any[] | undefined;
2803
2802
  mimeType?: string | undefined;
2804
2803
  headers?: {
2805
2804
  value: string;
@@ -2810,12 +2809,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2810
2809
  size?: number | undefined;
2811
2810
  attachmentId?: string | undefined;
2812
2811
  } | undefined;
2812
+ parts?: any[] | undefined;
2813
2813
  } | undefined;
2814
2814
  };
2815
2815
  id: string;
2816
2816
  }, {
2817
2817
  message: {
2818
2818
  id: string;
2819
+ raw?: string | undefined;
2819
2820
  threadId?: string | undefined;
2820
2821
  labelIds?: string[] | undefined;
2821
2822
  snippet?: string | undefined;
@@ -2823,9 +2824,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2823
2824
  historyId?: string | undefined;
2824
2825
  internalDate?: string | undefined;
2825
2826
  sizeEstimate?: number | undefined;
2826
- raw?: string | undefined;
2827
2827
  payload?: {
2828
- parts?: any[] | undefined;
2829
2828
  mimeType?: string | undefined;
2830
2829
  headers?: {
2831
2830
  value: string;
@@ -2836,18 +2835,20 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2836
2835
  size?: number | undefined;
2837
2836
  attachmentId?: string | undefined;
2838
2837
  } | undefined;
2838
+ parts?: any[] | undefined;
2839
2839
  } | undefined;
2840
2840
  };
2841
2841
  id: string;
2842
2842
  }>>;
2843
2843
  error: z.ZodString;
2844
2844
  }, "strip", z.ZodTypeAny, {
2845
- error: string;
2846
2845
  success: boolean;
2846
+ error: string;
2847
2847
  operation: "create_draft";
2848
2848
  draft?: {
2849
2849
  message: {
2850
2850
  id: string;
2851
+ raw?: string | undefined;
2851
2852
  threadId?: string | undefined;
2852
2853
  labelIds?: string[] | undefined;
2853
2854
  snippet?: string | undefined;
@@ -2855,9 +2856,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2855
2856
  historyId?: string | undefined;
2856
2857
  internalDate?: string | undefined;
2857
2858
  sizeEstimate?: number | undefined;
2858
- raw?: string | undefined;
2859
2859
  payload?: {
2860
- parts?: any[] | undefined;
2861
2860
  mimeType?: string | undefined;
2862
2861
  headers?: {
2863
2862
  value: string;
@@ -2868,17 +2867,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2868
2867
  size?: number | undefined;
2869
2868
  attachmentId?: string | undefined;
2870
2869
  } | undefined;
2870
+ parts?: any[] | undefined;
2871
2871
  } | undefined;
2872
2872
  };
2873
2873
  id: string;
2874
2874
  } | undefined;
2875
2875
  }, {
2876
- error: string;
2877
2876
  success: boolean;
2877
+ error: string;
2878
2878
  operation: "create_draft";
2879
2879
  draft?: {
2880
2880
  message: {
2881
2881
  id: string;
2882
+ raw?: string | undefined;
2882
2883
  threadId?: string | undefined;
2883
2884
  labelIds?: string[] | undefined;
2884
2885
  snippet?: string | undefined;
@@ -2886,9 +2887,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2886
2887
  historyId?: string | undefined;
2887
2888
  internalDate?: string | undefined;
2888
2889
  sizeEstimate?: number | undefined;
2889
- raw?: string | undefined;
2890
2890
  payload?: {
2891
- parts?: any[] | undefined;
2892
2891
  mimeType?: string | undefined;
2893
2892
  headers?: {
2894
2893
  value: string;
@@ -2899,6 +2898,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2899
2898
  size?: number | undefined;
2900
2899
  attachmentId?: string | undefined;
2901
2900
  } | undefined;
2901
+ parts?: any[] | undefined;
2902
2902
  } | undefined;
2903
2903
  };
2904
2904
  id: string;
@@ -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
- error: string;
2914
2913
  success: boolean;
2914
+ error: string;
2915
2915
  operation: "send_draft";
2916
- message_id?: string | undefined;
2917
2916
  thread_id?: string | undefined;
2917
+ message_id?: string | undefined;
2918
2918
  }, {
2919
- error: string;
2920
2919
  success: boolean;
2920
+ error: string;
2921
2921
  operation: "send_draft";
2922
- message_id?: string | undefined;
2923
2922
  thread_id?: string | undefined;
2923
+ message_id?: string | undefined;
2924
2924
  }>, z.ZodObject<{
2925
2925
  operation: z.ZodLiteral<"list_drafts">;
2926
2926
  success: z.ZodBoolean;
@@ -2963,7 +2963,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2963
2963
  }>>;
2964
2964
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2965
2965
  }, "strip", z.ZodTypeAny, {
2966
- parts?: any[] | undefined;
2967
2966
  mimeType?: string | undefined;
2968
2967
  headers?: {
2969
2968
  value: string;
@@ -2974,8 +2973,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2974
2973
  size?: number | undefined;
2975
2974
  attachmentId?: string | undefined;
2976
2975
  } | undefined;
2977
- }, {
2978
2976
  parts?: any[] | undefined;
2977
+ }, {
2979
2978
  mimeType?: string | undefined;
2980
2979
  headers?: {
2981
2980
  value: string;
@@ -2986,9 +2985,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2986
2985
  size?: number | undefined;
2987
2986
  attachmentId?: string | undefined;
2988
2987
  } | undefined;
2988
+ parts?: any[] | undefined;
2989
2989
  }>>;
2990
2990
  }, "strip", z.ZodTypeAny, {
2991
2991
  id: string;
2992
+ raw?: string | undefined;
2992
2993
  threadId?: string | undefined;
2993
2994
  labelIds?: string[] | undefined;
2994
2995
  snippet?: string | undefined;
@@ -2996,9 +2997,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2996
2997
  historyId?: string | undefined;
2997
2998
  internalDate?: string | undefined;
2998
2999
  sizeEstimate?: number | undefined;
2999
- raw?: string | undefined;
3000
3000
  payload?: {
3001
- parts?: any[] | undefined;
3002
3001
  mimeType?: string | undefined;
3003
3002
  headers?: {
3004
3003
  value: string;
@@ -3009,9 +3008,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3009
3008
  size?: number | undefined;
3010
3009
  attachmentId?: string | undefined;
3011
3010
  } | undefined;
3011
+ parts?: any[] | undefined;
3012
3012
  } | undefined;
3013
3013
  }, {
3014
3014
  id: string;
3015
+ raw?: string | undefined;
3015
3016
  threadId?: string | undefined;
3016
3017
  labelIds?: string[] | undefined;
3017
3018
  snippet?: string | undefined;
@@ -3019,9 +3020,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3019
3020
  historyId?: string | undefined;
3020
3021
  internalDate?: string | undefined;
3021
3022
  sizeEstimate?: number | undefined;
3022
- raw?: string | undefined;
3023
3023
  payload?: {
3024
- parts?: any[] | undefined;
3025
3024
  mimeType?: string | undefined;
3026
3025
  headers?: {
3027
3026
  value: string;
@@ -3032,11 +3031,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3032
3031
  size?: number | undefined;
3033
3032
  attachmentId?: string | undefined;
3034
3033
  } | undefined;
3034
+ parts?: any[] | undefined;
3035
3035
  } | undefined;
3036
3036
  }>;
3037
3037
  }, "strip", z.ZodTypeAny, {
3038
3038
  message: {
3039
3039
  id: string;
3040
+ raw?: string | undefined;
3040
3041
  threadId?: string | undefined;
3041
3042
  labelIds?: string[] | undefined;
3042
3043
  snippet?: string | undefined;
@@ -3044,9 +3045,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3044
3045
  historyId?: string | undefined;
3045
3046
  internalDate?: string | undefined;
3046
3047
  sizeEstimate?: number | undefined;
3047
- raw?: string | undefined;
3048
3048
  payload?: {
3049
- parts?: any[] | undefined;
3050
3049
  mimeType?: string | undefined;
3051
3050
  headers?: {
3052
3051
  value: string;
@@ -3057,12 +3056,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3057
3056
  size?: number | undefined;
3058
3057
  attachmentId?: string | undefined;
3059
3058
  } | undefined;
3059
+ parts?: any[] | undefined;
3060
3060
  } | undefined;
3061
3061
  };
3062
3062
  id: string;
3063
3063
  }, {
3064
3064
  message: {
3065
3065
  id: string;
3066
+ raw?: string | undefined;
3066
3067
  threadId?: string | undefined;
3067
3068
  labelIds?: string[] | undefined;
3068
3069
  snippet?: string | undefined;
@@ -3070,9 +3071,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3070
3071
  historyId?: string | undefined;
3071
3072
  internalDate?: string | undefined;
3072
3073
  sizeEstimate?: number | undefined;
3073
- raw?: string | undefined;
3074
3074
  payload?: {
3075
- parts?: any[] | undefined;
3076
3075
  mimeType?: string | undefined;
3077
3076
  headers?: {
3078
3077
  value: string;
@@ -3083,6 +3082,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3083
3082
  size?: number | undefined;
3084
3083
  attachmentId?: string | undefined;
3085
3084
  } | undefined;
3085
+ parts?: any[] | undefined;
3086
3086
  } | undefined;
3087
3087
  };
3088
3088
  id: string;
@@ -3091,14 +3091,15 @@ 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
- error: string;
3095
3094
  success: boolean;
3095
+ error: string;
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;
3102
3103
  threadId?: string | undefined;
3103
3104
  labelIds?: string[] | undefined;
3104
3105
  snippet?: string | undefined;
@@ -3106,9 +3107,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3106
3107
  historyId?: string | undefined;
3107
3108
  internalDate?: string | undefined;
3108
3109
  sizeEstimate?: number | undefined;
3109
- raw?: string | undefined;
3110
3110
  payload?: {
3111
- parts?: any[] | undefined;
3112
3111
  mimeType?: string | undefined;
3113
3112
  headers?: {
3114
3113
  value: string;
@@ -3119,19 +3118,21 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3119
3118
  size?: number | undefined;
3120
3119
  attachmentId?: string | undefined;
3121
3120
  } | undefined;
3121
+ parts?: any[] | undefined;
3122
3122
  } | undefined;
3123
3123
  };
3124
3124
  id: string;
3125
3125
  }[] | undefined;
3126
3126
  }, {
3127
- error: string;
3128
3127
  success: boolean;
3128
+ error: string;
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;
3135
3136
  threadId?: string | undefined;
3136
3137
  labelIds?: string[] | undefined;
3137
3138
  snippet?: string | undefined;
@@ -3139,9 +3140,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3139
3140
  historyId?: string | undefined;
3140
3141
  internalDate?: string | undefined;
3141
3142
  sizeEstimate?: number | undefined;
3142
- raw?: string | undefined;
3143
3143
  payload?: {
3144
- parts?: any[] | undefined;
3145
3144
  mimeType?: string | undefined;
3146
3145
  headers?: {
3147
3146
  value: string;
@@ -3152,6 +3151,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3152
3151
  size?: number | undefined;
3153
3152
  attachmentId?: string | undefined;
3154
3153
  } | undefined;
3154
+ parts?: any[] | undefined;
3155
3155
  } | undefined;
3156
3156
  };
3157
3157
  id: string;
@@ -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
- error: string;
3166
3165
  success: boolean;
3166
+ error: string;
3167
3167
  operation: "delete_email";
3168
3168
  deleted_message_id?: string | undefined;
3169
3169
  }, {
3170
- error: string;
3171
3170
  success: boolean;
3171
+ error: string;
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
- error: string;
3181
3180
  success: boolean;
3181
+ error: string;
3182
3182
  operation: "trash_email";
3183
3183
  trashed_message_id?: string | undefined;
3184
3184
  }, {
3185
- error: string;
3186
3185
  success: boolean;
3186
+ error: string;
3187
3187
  operation: "trash_email";
3188
3188
  trashed_message_id?: string | undefined;
3189
3189
  }>, z.ZodObject<{
@@ -3229,7 +3229,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3229
3229
  }>>;
3230
3230
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3231
3231
  }, "strip", z.ZodTypeAny, {
3232
- parts?: any[] | undefined;
3233
3232
  mimeType?: string | undefined;
3234
3233
  headers?: {
3235
3234
  value: string;
@@ -3240,8 +3239,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3240
3239
  size?: number | undefined;
3241
3240
  attachmentId?: string | undefined;
3242
3241
  } | undefined;
3243
- }, {
3244
3242
  parts?: any[] | undefined;
3243
+ }, {
3245
3244
  mimeType?: string | undefined;
3246
3245
  headers?: {
3247
3246
  value: string;
@@ -3252,9 +3251,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3252
3251
  size?: number | undefined;
3253
3252
  attachmentId?: string | undefined;
3254
3253
  } | undefined;
3254
+ parts?: any[] | undefined;
3255
3255
  }>>;
3256
3256
  }, "strip", z.ZodTypeAny, {
3257
3257
  id: string;
3258
+ raw?: string | undefined;
3258
3259
  threadId?: string | undefined;
3259
3260
  labelIds?: string[] | undefined;
3260
3261
  snippet?: string | undefined;
@@ -3262,9 +3263,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3262
3263
  historyId?: string | undefined;
3263
3264
  internalDate?: string | undefined;
3264
3265
  sizeEstimate?: number | undefined;
3265
- raw?: string | undefined;
3266
3266
  payload?: {
3267
- parts?: any[] | undefined;
3268
3267
  mimeType?: string | undefined;
3269
3268
  headers?: {
3270
3269
  value: string;
@@ -3275,9 +3274,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3275
3274
  size?: number | undefined;
3276
3275
  attachmentId?: string | undefined;
3277
3276
  } | undefined;
3277
+ parts?: any[] | undefined;
3278
3278
  } | undefined;
3279
3279
  }, {
3280
3280
  id: string;
3281
+ raw?: string | undefined;
3281
3282
  threadId?: string | undefined;
3282
3283
  labelIds?: string[] | undefined;
3283
3284
  snippet?: string | undefined;
@@ -3285,9 +3286,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3285
3286
  historyId?: string | undefined;
3286
3287
  internalDate?: string | undefined;
3287
3288
  sizeEstimate?: number | undefined;
3288
- raw?: string | undefined;
3289
3289
  payload?: {
3290
- parts?: any[] | undefined;
3291
3290
  mimeType?: string | undefined;
3292
3291
  headers?: {
3293
3292
  value: string;
@@ -3298,6 +3297,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3298
3297
  size?: number | undefined;
3299
3298
  attachmentId?: string | undefined;
3300
3299
  } | undefined;
3300
+ parts?: any[] | undefined;
3301
3301
  } | undefined;
3302
3302
  }>, "many">>;
3303
3303
  snippet: z.ZodOptional<z.ZodString>;
@@ -3305,6 +3305,7 @@ 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;
3308
3309
  threadId?: string | undefined;
3309
3310
  labelIds?: string[] | undefined;
3310
3311
  snippet?: string | undefined;
@@ -3312,9 +3313,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3312
3313
  historyId?: string | undefined;
3313
3314
  internalDate?: string | undefined;
3314
3315
  sizeEstimate?: number | undefined;
3315
- raw?: string | undefined;
3316
3316
  payload?: {
3317
- parts?: any[] | undefined;
3318
3317
  mimeType?: string | undefined;
3319
3318
  headers?: {
3320
3319
  value: string;
@@ -3325,6 +3324,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3325
3324
  size?: number | undefined;
3326
3325
  attachmentId?: string | undefined;
3327
3326
  } | undefined;
3327
+ parts?: any[] | undefined;
3328
3328
  } | undefined;
3329
3329
  }[] | undefined;
3330
3330
  snippet?: string | undefined;
@@ -3333,6 +3333,7 @@ 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;
3336
3337
  threadId?: string | undefined;
3337
3338
  labelIds?: string[] | undefined;
3338
3339
  snippet?: string | undefined;
@@ -3340,9 +3341,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3340
3341
  historyId?: string | undefined;
3341
3342
  internalDate?: string | undefined;
3342
3343
  sizeEstimate?: number | undefined;
3343
- raw?: string | undefined;
3344
3344
  payload?: {
3345
- parts?: any[] | undefined;
3346
3345
  mimeType?: string | undefined;
3347
3346
  headers?: {
3348
3347
  value: string;
@@ -3353,6 +3352,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3353
3352
  size?: number | undefined;
3354
3353
  attachmentId?: string | undefined;
3355
3354
  } | undefined;
3355
+ parts?: any[] | undefined;
3356
3356
  } | undefined;
3357
3357
  }[] | undefined;
3358
3358
  snippet?: string | undefined;
@@ -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
- error: string;
3366
3365
  success: boolean;
3366
+ error: string;
3367
3367
  operation: "list_threads";
3368
3368
  next_page_token?: string | undefined;
3369
3369
  result_size_estimate?: number | undefined;
@@ -3371,6 +3371,7 @@ 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;
3374
3375
  threadId?: string | undefined;
3375
3376
  labelIds?: string[] | undefined;
3376
3377
  snippet?: string | undefined;
@@ -3378,9 +3379,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3378
3379
  historyId?: string | undefined;
3379
3380
  internalDate?: string | undefined;
3380
3381
  sizeEstimate?: number | undefined;
3381
- raw?: string | undefined;
3382
3382
  payload?: {
3383
- parts?: any[] | undefined;
3384
3383
  mimeType?: string | undefined;
3385
3384
  headers?: {
3386
3385
  value: string;
@@ -3391,14 +3390,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3391
3390
  size?: number | undefined;
3392
3391
  attachmentId?: string | undefined;
3393
3392
  } | undefined;
3393
+ parts?: any[] | undefined;
3394
3394
  } | undefined;
3395
3395
  }[] | undefined;
3396
3396
  snippet?: string | undefined;
3397
3397
  historyId?: string | undefined;
3398
3398
  }[] | undefined;
3399
3399
  }, {
3400
- error: string;
3401
3400
  success: boolean;
3401
+ error: string;
3402
3402
  operation: "list_threads";
3403
3403
  next_page_token?: string | undefined;
3404
3404
  result_size_estimate?: number | undefined;
@@ -3406,6 +3406,7 @@ 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;
3409
3410
  threadId?: string | undefined;
3410
3411
  labelIds?: string[] | undefined;
3411
3412
  snippet?: string | undefined;
@@ -3413,9 +3414,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3413
3414
  historyId?: string | undefined;
3414
3415
  internalDate?: string | undefined;
3415
3416
  sizeEstimate?: number | undefined;
3416
- raw?: string | undefined;
3417
3417
  payload?: {
3418
- parts?: any[] | undefined;
3419
3418
  mimeType?: string | undefined;
3420
3419
  headers?: {
3421
3420
  value: string;
@@ -3426,6 +3425,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3426
3425
  size?: number | undefined;
3427
3426
  attachmentId?: string | undefined;
3428
3427
  } | undefined;
3428
+ parts?: any[] | undefined;
3429
3429
  } | undefined;
3430
3430
  }[] | undefined;
3431
3431
  snippet?: string | undefined;
@@ -3443,36 +3443,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3443
3443
  }, "strip", z.ZodTypeAny, {
3444
3444
  name: string;
3445
3445
  id: string;
3446
- type?: "system" | "user" | undefined;
3446
+ type?: "user" | "system" | undefined;
3447
3447
  messageListVisibility?: "show" | "hide" | undefined;
3448
3448
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3449
3449
  }, {
3450
3450
  name: string;
3451
3451
  id: string;
3452
- type?: "system" | "user" | undefined;
3452
+ type?: "user" | "system" | undefined;
3453
3453
  messageListVisibility?: "show" | "hide" | undefined;
3454
3454
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3455
3455
  }>, "many">>;
3456
3456
  error: z.ZodString;
3457
3457
  }, "strip", z.ZodTypeAny, {
3458
- error: string;
3459
3458
  success: boolean;
3459
+ error: string;
3460
3460
  operation: "list_labels";
3461
3461
  labels?: {
3462
3462
  name: string;
3463
3463
  id: string;
3464
- type?: "system" | "user" | undefined;
3464
+ type?: "user" | "system" | undefined;
3465
3465
  messageListVisibility?: "show" | "hide" | undefined;
3466
3466
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3467
3467
  }[] | undefined;
3468
3468
  }, {
3469
- error: string;
3470
3469
  success: boolean;
3470
+ error: string;
3471
3471
  operation: "list_labels";
3472
3472
  labels?: {
3473
3473
  name: string;
3474
3474
  id: string;
3475
- type?: "system" | "user" | undefined;
3475
+ type?: "user" | "system" | undefined;
3476
3476
  messageListVisibility?: "show" | "hide" | undefined;
3477
3477
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3478
3478
  }[] | undefined;
@@ -3488,36 +3488,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3488
3488
  }, "strip", z.ZodTypeAny, {
3489
3489
  name: string;
3490
3490
  id: string;
3491
- type?: "system" | "user" | undefined;
3491
+ type?: "user" | "system" | undefined;
3492
3492
  messageListVisibility?: "show" | "hide" | undefined;
3493
3493
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3494
3494
  }, {
3495
3495
  name: string;
3496
3496
  id: string;
3497
- type?: "system" | "user" | undefined;
3497
+ type?: "user" | "system" | undefined;
3498
3498
  messageListVisibility?: "show" | "hide" | undefined;
3499
3499
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3500
3500
  }>>;
3501
3501
  error: z.ZodString;
3502
3502
  }, "strip", z.ZodTypeAny, {
3503
- error: string;
3504
3503
  success: boolean;
3504
+ error: string;
3505
3505
  operation: "create_label";
3506
3506
  label?: {
3507
3507
  name: string;
3508
3508
  id: string;
3509
- type?: "system" | "user" | undefined;
3509
+ type?: "user" | "system" | undefined;
3510
3510
  messageListVisibility?: "show" | "hide" | undefined;
3511
3511
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3512
3512
  } | undefined;
3513
3513
  }, {
3514
- error: string;
3515
3514
  success: boolean;
3515
+ error: string;
3516
3516
  operation: "create_label";
3517
3517
  label?: {
3518
3518
  name: string;
3519
3519
  id: string;
3520
- type?: "system" | "user" | undefined;
3520
+ type?: "user" | "system" | undefined;
3521
3521
  messageListVisibility?: "show" | "hide" | undefined;
3522
3522
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3523
3523
  } | undefined;
@@ -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
- error: string;
3532
3531
  success: boolean;
3532
+ error: string;
3533
3533
  operation: "modify_message_labels";
3534
- message_id?: string | undefined;
3535
3534
  label_ids?: string[] | undefined;
3535
+ message_id?: string | undefined;
3536
3536
  }, {
3537
- error: string;
3538
3537
  success: boolean;
3538
+ error: string;
3539
3539
  operation: "modify_message_labels";
3540
- message_id?: string | undefined;
3541
3540
  label_ids?: string[] | undefined;
3541
+ message_id?: 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
- error: string;
3549
3548
  success: boolean;
3549
+ error: string;
3550
3550
  operation: "modify_thread_labels";
3551
3551
  thread_id?: string | undefined;
3552
3552
  }, {
3553
- error: string;
3554
3553
  success: boolean;
3554
+ error: string;
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
- error: string;
3565
3564
  success: boolean;
3565
+ error: string;
3566
3566
  operation: "get_attachment";
3567
3567
  data?: string | undefined;
3568
3568
  size?: number | undefined;
3569
3569
  }, {
3570
- error: string;
3571
3570
  success: boolean;
3571
+ error: string;
3572
3572
  operation: "get_attachment";
3573
3573
  data?: string | undefined;
3574
3574
  size?: number | undefined;