@bubblelab/bubble-core 0.1.53 → 0.1.55

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 (71) hide show
  1. package/dist/bubble-bundle.d.ts +110 -110
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +172 -172
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +66 -66
  4. package/dist/bubbles/service-bubble/airtable.d.ts +228 -228
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +14 -14
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +202 -202
  7. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +180 -180
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +72 -72
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +36 -36
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +26 -26
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +118 -118
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +758 -758
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +436 -436
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +281 -281
  16. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +341 -341
  17. package/dist/bubbles/service-bubble/github.d.ts +248 -248
  18. package/dist/bubbles/service-bubble/gmail.d.ts +659 -659
  19. package/dist/bubbles/service-bubble/google-calendar.d.ts +60 -60
  20. package/dist/bubbles/service-bubble/google-drive.d.ts +144 -144
  21. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  22. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +10 -10
  23. package/dist/bubbles/service-bubble/hello-world.d.ts +6 -6
  24. package/dist/bubbles/service-bubble/http.d.ts +20 -20
  25. package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
  26. package/dist/bubbles/service-bubble/jira/jira.d.ts +81 -81
  27. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +37 -37
  28. package/dist/bubbles/service-bubble/notion/notion.d.ts +2219 -2219
  29. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  30. package/dist/bubbles/service-bubble/resend.d.ts +44 -44
  31. package/dist/bubbles/service-bubble/slack/slack.d.ts +615 -615
  32. package/dist/bubbles/service-bubble/storage.d.ts +60 -60
  33. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +158 -158
  34. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +170 -170
  35. package/dist/bubbles/service-bubble/telegram.d.ts +1742 -1742
  36. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +24 -24
  37. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +16 -16
  38. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +24 -24
  39. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +24 -24
  40. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +12 -12
  41. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +144 -144
  42. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  43. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
  45. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
  46. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +8 -8
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +6 -6
  48. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +148 -148
  49. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
  50. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +164 -164
  51. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
  52. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  53. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  54. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +20 -20
  55. package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
  56. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +104 -104
  57. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +30 -30
  58. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
  59. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +12 -12
  60. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +22 -22
  61. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +32 -32
  62. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  63. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +32 -32
  64. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +12 -12
  65. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +162 -162
  66. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  67. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +28 -28
  68. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +52 -52
  69. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  70. package/dist/bubbles.json +1 -1
  71. 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: "metadata" | "minimal" | "full" | "raw";
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?: "metadata" | "minimal" | "full" | "raw" | undefined;
81
81
  credentials?: Partial<Record<CredentialType, string>> | undefined;
82
82
  metadata_headers?: string[] | undefined;
83
83
  }>, z.ZodObject<{
@@ -313,17 +313,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
313
313
  thread_id: z.ZodOptional<z.ZodString>;
314
314
  error: z.ZodString;
315
315
  }, "strip", z.ZodTypeAny, {
316
- operation: "send_email";
317
- success: boolean;
318
316
  error: string;
319
- message_id?: string | undefined;
317
+ success: boolean;
318
+ operation: "send_email";
320
319
  thread_id?: string | undefined;
320
+ message_id?: string | undefined;
321
321
  }, {
322
- operation: "send_email";
323
- success: boolean;
324
322
  error: string;
325
- message_id?: string | undefined;
323
+ success: boolean;
324
+ operation: "send_email";
326
325
  thread_id?: string | undefined;
326
+ message_id?: string | undefined;
327
327
  }>, z.ZodObject<{
328
328
  operation: z.ZodLiteral<"list_emails">;
329
329
  success: z.ZodBoolean;
@@ -343,11 +343,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
343
343
  name: z.ZodString;
344
344
  value: z.ZodString;
345
345
  }, "strip", z.ZodTypeAny, {
346
- name: string;
347
346
  value: string;
348
- }, {
349
347
  name: string;
348
+ }, {
350
349
  value: string;
350
+ name: string;
351
351
  }>, "many">>;
352
352
  body: z.ZodOptional<z.ZodObject<{
353
353
  data: z.ZodOptional<z.ZodString>;
@@ -364,32 +364,33 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
364
364
  }>>;
365
365
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
366
366
  }, "strip", z.ZodTypeAny, {
367
- mimeType?: string | undefined;
368
- headers?: {
369
- name: string;
370
- value: string;
371
- }[] | undefined;
372
367
  body?: {
373
368
  data?: string | undefined;
374
369
  size?: number | undefined;
375
370
  attachmentId?: string | undefined;
376
371
  } | undefined;
377
- parts?: any[] | undefined;
378
- }, {
379
372
  mimeType?: string | undefined;
380
373
  headers?: {
381
- name: string;
382
374
  value: string;
375
+ name: string;
383
376
  }[] | undefined;
377
+ parts?: any[] | undefined;
378
+ }, {
384
379
  body?: {
385
380
  data?: string | undefined;
386
381
  size?: number | undefined;
387
382
  attachmentId?: string | undefined;
388
383
  } | undefined;
384
+ mimeType?: string | undefined;
385
+ headers?: {
386
+ value: string;
387
+ name: string;
388
+ }[] | undefined;
389
389
  parts?: any[] | undefined;
390
390
  }>>;
391
391
  }, "strip", z.ZodTypeAny, {
392
392
  id: string;
393
+ raw?: string | undefined;
393
394
  threadId?: string | undefined;
394
395
  labelIds?: string[] | undefined;
395
396
  snippet?: string | undefined;
@@ -397,22 +398,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
397
398
  historyId?: string | undefined;
398
399
  internalDate?: string | undefined;
399
400
  sizeEstimate?: number | undefined;
400
- raw?: string | undefined;
401
401
  payload?: {
402
- mimeType?: string | undefined;
403
- headers?: {
404
- name: string;
405
- value: string;
406
- }[] | undefined;
407
402
  body?: {
408
403
  data?: string | undefined;
409
404
  size?: number | undefined;
410
405
  attachmentId?: string | undefined;
411
406
  } | undefined;
407
+ mimeType?: string | undefined;
408
+ headers?: {
409
+ value: string;
410
+ name: string;
411
+ }[] | undefined;
412
412
  parts?: any[] | undefined;
413
413
  } | undefined;
414
414
  }, {
415
415
  id: string;
416
+ raw?: string | undefined;
416
417
  threadId?: string | undefined;
417
418
  labelIds?: string[] | undefined;
418
419
  snippet?: string | undefined;
@@ -420,18 +421,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
420
421
  historyId?: string | undefined;
421
422
  internalDate?: string | undefined;
422
423
  sizeEstimate?: number | undefined;
423
- raw?: string | undefined;
424
424
  payload?: {
425
- mimeType?: string | undefined;
426
- headers?: {
427
- name: string;
428
- value: string;
429
- }[] | undefined;
430
425
  body?: {
431
426
  data?: string | undefined;
432
427
  size?: number | undefined;
433
428
  attachmentId?: string | undefined;
434
429
  } | undefined;
430
+ mimeType?: string | undefined;
431
+ headers?: {
432
+ value: string;
433
+ name: string;
434
+ }[] | undefined;
435
435
  parts?: any[] | undefined;
436
436
  } | undefined;
437
437
  }>, "many">>;
@@ -439,11 +439,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
439
439
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
440
440
  error: z.ZodString;
441
441
  }, "strip", z.ZodTypeAny, {
442
- operation: "list_emails";
443
- success: boolean;
444
442
  error: string;
443
+ success: boolean;
444
+ operation: "list_emails";
445
445
  messages?: {
446
446
  id: string;
447
+ raw?: string | undefined;
447
448
  threadId?: string | undefined;
448
449
  labelIds?: string[] | undefined;
449
450
  snippet?: string | undefined;
@@ -451,29 +452,29 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
451
452
  historyId?: string | undefined;
452
453
  internalDate?: string | undefined;
453
454
  sizeEstimate?: number | undefined;
454
- raw?: string | undefined;
455
455
  payload?: {
456
- mimeType?: string | undefined;
457
- headers?: {
458
- name: string;
459
- value: string;
460
- }[] | undefined;
461
456
  body?: {
462
457
  data?: string | undefined;
463
458
  size?: number | undefined;
464
459
  attachmentId?: string | undefined;
465
460
  } | undefined;
461
+ mimeType?: string | undefined;
462
+ headers?: {
463
+ value: string;
464
+ name: string;
465
+ }[] | undefined;
466
466
  parts?: any[] | undefined;
467
467
  } | undefined;
468
468
  }[] | undefined;
469
469
  next_page_token?: string | undefined;
470
470
  result_size_estimate?: number | undefined;
471
471
  }, {
472
- operation: "list_emails";
473
- success: boolean;
474
472
  error: string;
473
+ success: boolean;
474
+ operation: "list_emails";
475
475
  messages?: {
476
476
  id: string;
477
+ raw?: string | undefined;
477
478
  threadId?: string | undefined;
478
479
  labelIds?: string[] | undefined;
479
480
  snippet?: string | undefined;
@@ -481,18 +482,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
481
482
  historyId?: string | undefined;
482
483
  internalDate?: string | undefined;
483
484
  sizeEstimate?: number | undefined;
484
- raw?: string | undefined;
485
485
  payload?: {
486
- mimeType?: string | undefined;
487
- headers?: {
488
- name: string;
489
- value: string;
490
- }[] | undefined;
491
486
  body?: {
492
487
  data?: string | undefined;
493
488
  size?: number | undefined;
494
489
  attachmentId?: string | undefined;
495
490
  } | undefined;
491
+ mimeType?: string | undefined;
492
+ headers?: {
493
+ value: string;
494
+ name: string;
495
+ }[] | undefined;
496
496
  parts?: any[] | undefined;
497
497
  } | undefined;
498
498
  }[] | undefined;
@@ -517,11 +517,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
517
517
  name: z.ZodString;
518
518
  value: z.ZodString;
519
519
  }, "strip", z.ZodTypeAny, {
520
- name: string;
521
520
  value: string;
522
- }, {
523
521
  name: string;
522
+ }, {
524
523
  value: string;
524
+ name: string;
525
525
  }>, "many">>;
526
526
  body: z.ZodOptional<z.ZodObject<{
527
527
  data: z.ZodOptional<z.ZodString>;
@@ -538,32 +538,33 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
538
538
  }>>;
539
539
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
540
540
  }, "strip", z.ZodTypeAny, {
541
- mimeType?: string | undefined;
542
- headers?: {
543
- name: string;
544
- value: string;
545
- }[] | undefined;
546
541
  body?: {
547
542
  data?: string | undefined;
548
543
  size?: number | undefined;
549
544
  attachmentId?: string | undefined;
550
545
  } | undefined;
551
- parts?: any[] | undefined;
552
- }, {
553
546
  mimeType?: string | undefined;
554
547
  headers?: {
555
- name: string;
556
548
  value: string;
549
+ name: string;
557
550
  }[] | undefined;
551
+ parts?: any[] | undefined;
552
+ }, {
558
553
  body?: {
559
554
  data?: string | undefined;
560
555
  size?: number | undefined;
561
556
  attachmentId?: string | undefined;
562
557
  } | undefined;
558
+ mimeType?: string | undefined;
559
+ headers?: {
560
+ value: string;
561
+ name: string;
562
+ }[] | undefined;
563
563
  parts?: any[] | undefined;
564
564
  }>>;
565
565
  }, "strip", z.ZodTypeAny, {
566
566
  id: string;
567
+ raw?: string | undefined;
567
568
  threadId?: string | undefined;
568
569
  labelIds?: string[] | undefined;
569
570
  snippet?: string | undefined;
@@ -571,22 +572,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
571
572
  historyId?: string | undefined;
572
573
  internalDate?: string | undefined;
573
574
  sizeEstimate?: number | undefined;
574
- raw?: string | undefined;
575
575
  payload?: {
576
- mimeType?: string | undefined;
577
- headers?: {
578
- name: string;
579
- value: string;
580
- }[] | undefined;
581
576
  body?: {
582
577
  data?: string | undefined;
583
578
  size?: number | undefined;
584
579
  attachmentId?: string | undefined;
585
580
  } | undefined;
581
+ mimeType?: string | undefined;
582
+ headers?: {
583
+ value: string;
584
+ name: string;
585
+ }[] | undefined;
586
586
  parts?: any[] | undefined;
587
587
  } | undefined;
588
588
  }, {
589
589
  id: string;
590
+ raw?: string | undefined;
590
591
  threadId?: string | undefined;
591
592
  labelIds?: string[] | undefined;
592
593
  snippet?: string | undefined;
@@ -594,28 +595,28 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
594
595
  historyId?: string | undefined;
595
596
  internalDate?: string | undefined;
596
597
  sizeEstimate?: number | undefined;
597
- raw?: string | undefined;
598
598
  payload?: {
599
- mimeType?: string | undefined;
600
- headers?: {
601
- name: string;
602
- value: string;
603
- }[] | undefined;
604
599
  body?: {
605
600
  data?: string | undefined;
606
601
  size?: number | undefined;
607
602
  attachmentId?: string | undefined;
608
603
  } | undefined;
604
+ mimeType?: string | undefined;
605
+ headers?: {
606
+ value: string;
607
+ name: string;
608
+ }[] | undefined;
609
609
  parts?: any[] | undefined;
610
610
  } | undefined;
611
611
  }>>;
612
612
  error: z.ZodString;
613
613
  }, "strip", z.ZodTypeAny, {
614
- operation: "get_email";
615
- success: boolean;
616
614
  error: string;
615
+ success: boolean;
616
+ operation: "get_email";
617
617
  message?: {
618
618
  id: string;
619
+ raw?: string | undefined;
619
620
  threadId?: string | undefined;
620
621
  labelIds?: string[] | undefined;
621
622
  snippet?: string | undefined;
@@ -623,27 +624,27 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
623
624
  historyId?: string | undefined;
624
625
  internalDate?: string | undefined;
625
626
  sizeEstimate?: number | undefined;
626
- raw?: string | undefined;
627
627
  payload?: {
628
- mimeType?: string | undefined;
629
- headers?: {
630
- name: string;
631
- value: string;
632
- }[] | undefined;
633
628
  body?: {
634
629
  data?: string | undefined;
635
630
  size?: number | undefined;
636
631
  attachmentId?: string | undefined;
637
632
  } | undefined;
633
+ mimeType?: string | undefined;
634
+ headers?: {
635
+ value: string;
636
+ name: string;
637
+ }[] | undefined;
638
638
  parts?: any[] | undefined;
639
639
  } | undefined;
640
640
  } | undefined;
641
641
  }, {
642
- operation: "get_email";
643
- success: boolean;
644
642
  error: string;
643
+ success: boolean;
644
+ operation: "get_email";
645
645
  message?: {
646
646
  id: string;
647
+ raw?: string | undefined;
647
648
  threadId?: string | undefined;
648
649
  labelIds?: string[] | undefined;
649
650
  snippet?: string | undefined;
@@ -651,18 +652,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
651
652
  historyId?: string | undefined;
652
653
  internalDate?: string | undefined;
653
654
  sizeEstimate?: number | undefined;
654
- raw?: string | undefined;
655
655
  payload?: {
656
- mimeType?: string | undefined;
657
- headers?: {
658
- name: string;
659
- value: string;
660
- }[] | undefined;
661
656
  body?: {
662
657
  data?: string | undefined;
663
658
  size?: number | undefined;
664
659
  attachmentId?: string | undefined;
665
660
  } | undefined;
661
+ mimeType?: string | undefined;
662
+ headers?: {
663
+ value: string;
664
+ name: string;
665
+ }[] | undefined;
666
666
  parts?: any[] | undefined;
667
667
  } | undefined;
668
668
  } | undefined;
@@ -685,11 +685,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
685
685
  name: z.ZodString;
686
686
  value: z.ZodString;
687
687
  }, "strip", z.ZodTypeAny, {
688
- name: string;
689
688
  value: string;
690
- }, {
691
689
  name: string;
690
+ }, {
692
691
  value: string;
692
+ name: string;
693
693
  }>, "many">>;
694
694
  body: z.ZodOptional<z.ZodObject<{
695
695
  data: z.ZodOptional<z.ZodString>;
@@ -706,32 +706,33 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
706
706
  }>>;
707
707
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
708
708
  }, "strip", z.ZodTypeAny, {
709
- mimeType?: string | undefined;
710
- headers?: {
711
- name: string;
712
- value: string;
713
- }[] | undefined;
714
709
  body?: {
715
710
  data?: string | undefined;
716
711
  size?: number | undefined;
717
712
  attachmentId?: string | undefined;
718
713
  } | undefined;
719
- parts?: any[] | undefined;
720
- }, {
721
714
  mimeType?: string | undefined;
722
715
  headers?: {
723
- name: string;
724
716
  value: string;
717
+ name: string;
725
718
  }[] | undefined;
719
+ parts?: any[] | undefined;
720
+ }, {
726
721
  body?: {
727
722
  data?: string | undefined;
728
723
  size?: number | undefined;
729
724
  attachmentId?: string | undefined;
730
725
  } | undefined;
726
+ mimeType?: string | undefined;
727
+ headers?: {
728
+ value: string;
729
+ name: string;
730
+ }[] | undefined;
731
731
  parts?: any[] | undefined;
732
732
  }>>;
733
733
  }, "strip", z.ZodTypeAny, {
734
734
  id: string;
735
+ raw?: string | undefined;
735
736
  threadId?: string | undefined;
736
737
  labelIds?: string[] | undefined;
737
738
  snippet?: string | undefined;
@@ -739,22 +740,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
739
740
  historyId?: string | undefined;
740
741
  internalDate?: string | undefined;
741
742
  sizeEstimate?: number | undefined;
742
- raw?: string | undefined;
743
743
  payload?: {
744
- mimeType?: string | undefined;
745
- headers?: {
746
- name: string;
747
- value: string;
748
- }[] | undefined;
749
744
  body?: {
750
745
  data?: string | undefined;
751
746
  size?: number | undefined;
752
747
  attachmentId?: string | undefined;
753
748
  } | undefined;
749
+ mimeType?: string | undefined;
750
+ headers?: {
751
+ value: string;
752
+ name: string;
753
+ }[] | undefined;
754
754
  parts?: any[] | undefined;
755
755
  } | undefined;
756
756
  }, {
757
757
  id: string;
758
+ raw?: string | undefined;
758
759
  threadId?: string | undefined;
759
760
  labelIds?: string[] | undefined;
760
761
  snippet?: string | undefined;
@@ -762,29 +763,29 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
762
763
  historyId?: string | undefined;
763
764
  internalDate?: string | undefined;
764
765
  sizeEstimate?: number | undefined;
765
- raw?: string | undefined;
766
766
  payload?: {
767
- mimeType?: string | undefined;
768
- headers?: {
769
- name: string;
770
- value: string;
771
- }[] | undefined;
772
767
  body?: {
773
768
  data?: string | undefined;
774
769
  size?: number | undefined;
775
770
  attachmentId?: string | undefined;
776
771
  } | undefined;
772
+ mimeType?: string | undefined;
773
+ headers?: {
774
+ value: string;
775
+ name: string;
776
+ }[] | undefined;
777
777
  parts?: any[] | undefined;
778
778
  } | undefined;
779
779
  }>, "many">>;
780
780
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
781
781
  error: z.ZodString;
782
782
  }, "strip", z.ZodTypeAny, {
783
- operation: "search_emails";
784
- success: boolean;
785
783
  error: string;
784
+ success: boolean;
785
+ operation: "search_emails";
786
786
  messages?: {
787
787
  id: string;
788
+ raw?: string | undefined;
788
789
  threadId?: string | undefined;
789
790
  labelIds?: string[] | undefined;
790
791
  snippet?: string | undefined;
@@ -792,28 +793,28 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
792
793
  historyId?: string | undefined;
793
794
  internalDate?: string | undefined;
794
795
  sizeEstimate?: number | undefined;
795
- raw?: string | undefined;
796
796
  payload?: {
797
- mimeType?: string | undefined;
798
- headers?: {
799
- name: string;
800
- value: string;
801
- }[] | undefined;
802
797
  body?: {
803
798
  data?: string | undefined;
804
799
  size?: number | undefined;
805
800
  attachmentId?: string | undefined;
806
801
  } | undefined;
802
+ mimeType?: string | undefined;
803
+ headers?: {
804
+ value: string;
805
+ name: string;
806
+ }[] | undefined;
807
807
  parts?: any[] | undefined;
808
808
  } | undefined;
809
809
  }[] | undefined;
810
810
  result_size_estimate?: number | undefined;
811
811
  }, {
812
- operation: "search_emails";
813
- success: boolean;
814
812
  error: string;
813
+ success: boolean;
814
+ operation: "search_emails";
815
815
  messages?: {
816
816
  id: string;
817
+ raw?: string | undefined;
817
818
  threadId?: string | undefined;
818
819
  labelIds?: string[] | undefined;
819
820
  snippet?: string | undefined;
@@ -821,18 +822,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
821
822
  historyId?: string | undefined;
822
823
  internalDate?: string | undefined;
823
824
  sizeEstimate?: number | undefined;
824
- raw?: string | undefined;
825
825
  payload?: {
826
- mimeType?: string | undefined;
827
- headers?: {
828
- name: string;
829
- value: string;
830
- }[] | undefined;
831
826
  body?: {
832
827
  data?: string | undefined;
833
828
  size?: number | undefined;
834
829
  attachmentId?: string | undefined;
835
830
  } | undefined;
831
+ mimeType?: string | undefined;
832
+ headers?: {
833
+ value: string;
834
+ name: string;
835
+ }[] | undefined;
836
836
  parts?: any[] | undefined;
837
837
  } | undefined;
838
838
  }[] | undefined;
@@ -843,14 +843,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
843
843
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
844
844
  error: z.ZodString;
845
845
  }, "strip", z.ZodTypeAny, {
846
- operation: "mark_as_read";
847
- success: boolean;
848
846
  error: string;
847
+ success: boolean;
848
+ operation: "mark_as_read";
849
849
  modified_messages?: string[] | undefined;
850
850
  }, {
851
- operation: "mark_as_read";
852
- success: boolean;
853
851
  error: string;
852
+ success: boolean;
853
+ operation: "mark_as_read";
854
854
  modified_messages?: string[] | undefined;
855
855
  }>, z.ZodObject<{
856
856
  operation: z.ZodLiteral<"mark_as_unread">;
@@ -858,14 +858,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
858
858
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
859
859
  error: z.ZodString;
860
860
  }, "strip", z.ZodTypeAny, {
861
- operation: "mark_as_unread";
862
- success: boolean;
863
861
  error: string;
862
+ success: boolean;
863
+ operation: "mark_as_unread";
864
864
  modified_messages?: string[] | undefined;
865
865
  }, {
866
- operation: "mark_as_unread";
867
- success: boolean;
868
866
  error: string;
867
+ success: boolean;
868
+ operation: "mark_as_unread";
869
869
  modified_messages?: string[] | undefined;
870
870
  }>, z.ZodObject<{
871
871
  operation: z.ZodLiteral<"create_draft">;
@@ -888,11 +888,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
888
888
  name: z.ZodString;
889
889
  value: z.ZodString;
890
890
  }, "strip", z.ZodTypeAny, {
891
- name: string;
892
891
  value: string;
893
- }, {
894
892
  name: string;
893
+ }, {
895
894
  value: string;
895
+ name: string;
896
896
  }>, "many">>;
897
897
  body: z.ZodOptional<z.ZodObject<{
898
898
  data: z.ZodOptional<z.ZodString>;
@@ -909,32 +909,33 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
909
909
  }>>;
910
910
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
911
911
  }, "strip", z.ZodTypeAny, {
912
- mimeType?: string | undefined;
913
- headers?: {
914
- name: string;
915
- value: string;
916
- }[] | undefined;
917
912
  body?: {
918
913
  data?: string | undefined;
919
914
  size?: number | undefined;
920
915
  attachmentId?: string | undefined;
921
916
  } | undefined;
922
- parts?: any[] | undefined;
923
- }, {
924
917
  mimeType?: string | undefined;
925
918
  headers?: {
926
- name: string;
927
919
  value: string;
920
+ name: string;
928
921
  }[] | undefined;
922
+ parts?: any[] | undefined;
923
+ }, {
929
924
  body?: {
930
925
  data?: string | undefined;
931
926
  size?: number | undefined;
932
927
  attachmentId?: string | undefined;
933
928
  } | undefined;
929
+ mimeType?: string | undefined;
930
+ headers?: {
931
+ value: string;
932
+ name: string;
933
+ }[] | undefined;
934
934
  parts?: any[] | undefined;
935
935
  }>>;
936
936
  }, "strip", z.ZodTypeAny, {
937
937
  id: string;
938
+ raw?: string | undefined;
938
939
  threadId?: string | undefined;
939
940
  labelIds?: string[] | undefined;
940
941
  snippet?: string | undefined;
@@ -942,22 +943,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
942
943
  historyId?: string | undefined;
943
944
  internalDate?: string | undefined;
944
945
  sizeEstimate?: number | undefined;
945
- raw?: string | undefined;
946
946
  payload?: {
947
- mimeType?: string | undefined;
948
- headers?: {
949
- name: string;
950
- value: string;
951
- }[] | undefined;
952
947
  body?: {
953
948
  data?: string | undefined;
954
949
  size?: number | undefined;
955
950
  attachmentId?: string | undefined;
956
951
  } | undefined;
952
+ mimeType?: string | undefined;
953
+ headers?: {
954
+ value: string;
955
+ name: string;
956
+ }[] | undefined;
957
957
  parts?: any[] | undefined;
958
958
  } | undefined;
959
959
  }, {
960
960
  id: string;
961
+ raw?: string | undefined;
961
962
  threadId?: string | undefined;
962
963
  labelIds?: string[] | undefined;
963
964
  snippet?: string | undefined;
@@ -965,25 +966,24 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
965
966
  historyId?: string | undefined;
966
967
  internalDate?: string | undefined;
967
968
  sizeEstimate?: number | undefined;
968
- raw?: string | undefined;
969
969
  payload?: {
970
- mimeType?: string | undefined;
971
- headers?: {
972
- name: string;
973
- value: string;
974
- }[] | undefined;
975
970
  body?: {
976
971
  data?: string | undefined;
977
972
  size?: number | undefined;
978
973
  attachmentId?: string | undefined;
979
974
  } | undefined;
975
+ mimeType?: string | undefined;
976
+ headers?: {
977
+ value: string;
978
+ name: string;
979
+ }[] | undefined;
980
980
  parts?: any[] | undefined;
981
981
  } | undefined;
982
982
  }>;
983
983
  }, "strip", z.ZodTypeAny, {
984
- id: string;
985
984
  message: {
986
985
  id: string;
986
+ raw?: string | undefined;
987
987
  threadId?: string | undefined;
988
988
  labelIds?: string[] | undefined;
989
989
  snippet?: string | undefined;
@@ -991,25 +991,25 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
991
991
  historyId?: string | undefined;
992
992
  internalDate?: string | undefined;
993
993
  sizeEstimate?: number | undefined;
994
- raw?: string | undefined;
995
994
  payload?: {
996
- mimeType?: string | undefined;
997
- headers?: {
998
- name: string;
999
- value: string;
1000
- }[] | undefined;
1001
995
  body?: {
1002
996
  data?: string | undefined;
1003
997
  size?: number | undefined;
1004
998
  attachmentId?: string | undefined;
1005
999
  } | undefined;
1000
+ mimeType?: string | undefined;
1001
+ headers?: {
1002
+ value: string;
1003
+ name: string;
1004
+ }[] | undefined;
1006
1005
  parts?: any[] | undefined;
1007
1006
  } | undefined;
1008
1007
  };
1009
- }, {
1010
1008
  id: string;
1009
+ }, {
1011
1010
  message: {
1012
1011
  id: string;
1012
+ raw?: string | undefined;
1013
1013
  threadId?: string | undefined;
1014
1014
  labelIds?: string[] | undefined;
1015
1015
  snippet?: string | undefined;
@@ -1017,31 +1017,31 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1017
1017
  historyId?: string | undefined;
1018
1018
  internalDate?: string | undefined;
1019
1019
  sizeEstimate?: number | undefined;
1020
- raw?: string | undefined;
1021
1020
  payload?: {
1022
- mimeType?: string | undefined;
1023
- headers?: {
1024
- name: string;
1025
- value: string;
1026
- }[] | undefined;
1027
1021
  body?: {
1028
1022
  data?: string | undefined;
1029
1023
  size?: number | undefined;
1030
1024
  attachmentId?: string | undefined;
1031
1025
  } | undefined;
1026
+ mimeType?: string | undefined;
1027
+ headers?: {
1028
+ value: string;
1029
+ name: string;
1030
+ }[] | undefined;
1032
1031
  parts?: any[] | undefined;
1033
1032
  } | undefined;
1034
1033
  };
1034
+ id: string;
1035
1035
  }>>;
1036
1036
  error: z.ZodString;
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
- operation: "create_draft";
1039
- success: boolean;
1040
1038
  error: string;
1039
+ success: boolean;
1040
+ operation: "create_draft";
1041
1041
  draft?: {
1042
- id: string;
1043
1042
  message: {
1044
1043
  id: string;
1044
+ raw?: string | undefined;
1045
1045
  threadId?: string | undefined;
1046
1046
  labelIds?: string[] | undefined;
1047
1047
  snippet?: string | undefined;
@@ -1049,30 +1049,30 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1049
1049
  historyId?: string | undefined;
1050
1050
  internalDate?: string | undefined;
1051
1051
  sizeEstimate?: number | undefined;
1052
- raw?: string | undefined;
1053
1052
  payload?: {
1054
- mimeType?: string | undefined;
1055
- headers?: {
1056
- name: string;
1057
- value: string;
1058
- }[] | undefined;
1059
1053
  body?: {
1060
1054
  data?: string | undefined;
1061
1055
  size?: number | undefined;
1062
1056
  attachmentId?: string | undefined;
1063
1057
  } | undefined;
1058
+ mimeType?: string | undefined;
1059
+ headers?: {
1060
+ value: string;
1061
+ name: string;
1062
+ }[] | undefined;
1064
1063
  parts?: any[] | undefined;
1065
1064
  } | undefined;
1066
1065
  };
1066
+ id: string;
1067
1067
  } | undefined;
1068
1068
  }, {
1069
- operation: "create_draft";
1070
- success: boolean;
1071
1069
  error: string;
1070
+ success: boolean;
1071
+ operation: "create_draft";
1072
1072
  draft?: {
1073
- id: string;
1074
1073
  message: {
1075
1074
  id: string;
1075
+ raw?: string | undefined;
1076
1076
  threadId?: string | undefined;
1077
1077
  labelIds?: string[] | undefined;
1078
1078
  snippet?: string | undefined;
@@ -1080,21 +1080,21 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1080
1080
  historyId?: string | undefined;
1081
1081
  internalDate?: string | undefined;
1082
1082
  sizeEstimate?: number | undefined;
1083
- raw?: string | undefined;
1084
1083
  payload?: {
1085
- mimeType?: string | undefined;
1086
- headers?: {
1087
- name: string;
1088
- value: string;
1089
- }[] | undefined;
1090
1084
  body?: {
1091
1085
  data?: string | undefined;
1092
1086
  size?: number | undefined;
1093
1087
  attachmentId?: string | undefined;
1094
1088
  } | undefined;
1089
+ mimeType?: string | undefined;
1090
+ headers?: {
1091
+ value: string;
1092
+ name: string;
1093
+ }[] | undefined;
1095
1094
  parts?: any[] | undefined;
1096
1095
  } | undefined;
1097
1096
  };
1097
+ id: string;
1098
1098
  } | undefined;
1099
1099
  }>, z.ZodObject<{
1100
1100
  operation: z.ZodLiteral<"send_draft">;
@@ -1103,17 +1103,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1103
1103
  thread_id: z.ZodOptional<z.ZodString>;
1104
1104
  error: z.ZodString;
1105
1105
  }, "strip", z.ZodTypeAny, {
1106
- operation: "send_draft";
1107
- success: boolean;
1108
1106
  error: string;
1109
- message_id?: string | undefined;
1107
+ success: boolean;
1108
+ operation: "send_draft";
1110
1109
  thread_id?: string | undefined;
1110
+ message_id?: string | undefined;
1111
1111
  }, {
1112
- operation: "send_draft";
1113
- success: boolean;
1114
1112
  error: string;
1115
- message_id?: string | undefined;
1113
+ success: boolean;
1114
+ operation: "send_draft";
1116
1115
  thread_id?: string | undefined;
1116
+ message_id?: string | undefined;
1117
1117
  }>, z.ZodObject<{
1118
1118
  operation: z.ZodLiteral<"list_drafts">;
1119
1119
  success: z.ZodBoolean;
@@ -1135,11 +1135,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1135
1135
  name: z.ZodString;
1136
1136
  value: z.ZodString;
1137
1137
  }, "strip", z.ZodTypeAny, {
1138
- name: string;
1139
1138
  value: string;
1140
- }, {
1141
1139
  name: string;
1140
+ }, {
1142
1141
  value: string;
1142
+ name: string;
1143
1143
  }>, "many">>;
1144
1144
  body: z.ZodOptional<z.ZodObject<{
1145
1145
  data: z.ZodOptional<z.ZodString>;
@@ -1156,32 +1156,33 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1156
1156
  }>>;
1157
1157
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1158
1158
  }, "strip", z.ZodTypeAny, {
1159
- mimeType?: string | undefined;
1160
- headers?: {
1161
- name: string;
1162
- value: string;
1163
- }[] | undefined;
1164
1159
  body?: {
1165
1160
  data?: string | undefined;
1166
1161
  size?: number | undefined;
1167
1162
  attachmentId?: string | undefined;
1168
1163
  } | undefined;
1169
- parts?: any[] | undefined;
1170
- }, {
1171
1164
  mimeType?: string | undefined;
1172
1165
  headers?: {
1173
- name: string;
1174
1166
  value: string;
1167
+ name: string;
1175
1168
  }[] | undefined;
1169
+ parts?: any[] | undefined;
1170
+ }, {
1176
1171
  body?: {
1177
1172
  data?: string | undefined;
1178
1173
  size?: number | undefined;
1179
1174
  attachmentId?: string | undefined;
1180
1175
  } | undefined;
1176
+ mimeType?: string | undefined;
1177
+ headers?: {
1178
+ value: string;
1179
+ name: string;
1180
+ }[] | undefined;
1181
1181
  parts?: any[] | undefined;
1182
1182
  }>>;
1183
1183
  }, "strip", z.ZodTypeAny, {
1184
1184
  id: string;
1185
+ raw?: string | undefined;
1185
1186
  threadId?: string | undefined;
1186
1187
  labelIds?: string[] | undefined;
1187
1188
  snippet?: string | undefined;
@@ -1189,22 +1190,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1189
1190
  historyId?: string | undefined;
1190
1191
  internalDate?: string | undefined;
1191
1192
  sizeEstimate?: number | undefined;
1192
- raw?: string | undefined;
1193
1193
  payload?: {
1194
- mimeType?: string | undefined;
1195
- headers?: {
1196
- name: string;
1197
- value: string;
1198
- }[] | undefined;
1199
1194
  body?: {
1200
1195
  data?: string | undefined;
1201
1196
  size?: number | undefined;
1202
1197
  attachmentId?: string | undefined;
1203
1198
  } | undefined;
1199
+ mimeType?: string | undefined;
1200
+ headers?: {
1201
+ value: string;
1202
+ name: string;
1203
+ }[] | undefined;
1204
1204
  parts?: any[] | undefined;
1205
1205
  } | undefined;
1206
1206
  }, {
1207
1207
  id: string;
1208
+ raw?: string | undefined;
1208
1209
  threadId?: string | undefined;
1209
1210
  labelIds?: string[] | undefined;
1210
1211
  snippet?: string | undefined;
@@ -1212,25 +1213,24 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1212
1213
  historyId?: string | undefined;
1213
1214
  internalDate?: string | undefined;
1214
1215
  sizeEstimate?: number | undefined;
1215
- raw?: string | undefined;
1216
1216
  payload?: {
1217
- mimeType?: string | undefined;
1218
- headers?: {
1219
- name: string;
1220
- value: string;
1221
- }[] | undefined;
1222
1217
  body?: {
1223
1218
  data?: string | undefined;
1224
1219
  size?: number | undefined;
1225
1220
  attachmentId?: string | undefined;
1226
1221
  } | undefined;
1222
+ mimeType?: string | undefined;
1223
+ headers?: {
1224
+ value: string;
1225
+ name: string;
1226
+ }[] | undefined;
1227
1227
  parts?: any[] | undefined;
1228
1228
  } | undefined;
1229
1229
  }>;
1230
1230
  }, "strip", z.ZodTypeAny, {
1231
- id: string;
1232
1231
  message: {
1233
1232
  id: string;
1233
+ raw?: string | undefined;
1234
1234
  threadId?: string | undefined;
1235
1235
  labelIds?: string[] | undefined;
1236
1236
  snippet?: string | undefined;
@@ -1238,25 +1238,25 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1238
1238
  historyId?: string | undefined;
1239
1239
  internalDate?: string | undefined;
1240
1240
  sizeEstimate?: number | undefined;
1241
- raw?: string | undefined;
1242
1241
  payload?: {
1243
- mimeType?: string | undefined;
1244
- headers?: {
1245
- name: string;
1246
- value: string;
1247
- }[] | undefined;
1248
1242
  body?: {
1249
1243
  data?: string | undefined;
1250
1244
  size?: number | undefined;
1251
1245
  attachmentId?: string | undefined;
1252
1246
  } | undefined;
1247
+ mimeType?: string | undefined;
1248
+ headers?: {
1249
+ value: string;
1250
+ name: string;
1251
+ }[] | undefined;
1253
1252
  parts?: any[] | undefined;
1254
1253
  } | undefined;
1255
1254
  };
1256
- }, {
1257
1255
  id: string;
1256
+ }, {
1258
1257
  message: {
1259
1258
  id: string;
1259
+ raw?: string | undefined;
1260
1260
  threadId?: string | undefined;
1261
1261
  labelIds?: string[] | undefined;
1262
1262
  snippet?: string | undefined;
@@ -1264,35 +1264,35 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1264
1264
  historyId?: string | undefined;
1265
1265
  internalDate?: string | undefined;
1266
1266
  sizeEstimate?: number | undefined;
1267
- raw?: string | undefined;
1268
1267
  payload?: {
1269
- mimeType?: string | undefined;
1270
- headers?: {
1271
- name: string;
1272
- value: string;
1273
- }[] | undefined;
1274
1268
  body?: {
1275
1269
  data?: string | undefined;
1276
1270
  size?: number | undefined;
1277
1271
  attachmentId?: string | undefined;
1278
1272
  } | undefined;
1273
+ mimeType?: string | undefined;
1274
+ headers?: {
1275
+ value: string;
1276
+ name: string;
1277
+ }[] | undefined;
1279
1278
  parts?: any[] | undefined;
1280
1279
  } | undefined;
1281
1280
  };
1281
+ id: string;
1282
1282
  }>, "many">>;
1283
1283
  next_page_token: z.ZodOptional<z.ZodString>;
1284
1284
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1285
1285
  error: z.ZodString;
1286
1286
  }, "strip", z.ZodTypeAny, {
1287
- operation: "list_drafts";
1288
- success: boolean;
1289
1287
  error: string;
1288
+ success: boolean;
1289
+ operation: "list_drafts";
1290
1290
  next_page_token?: string | undefined;
1291
1291
  result_size_estimate?: number | undefined;
1292
1292
  drafts?: {
1293
- id: string;
1294
1293
  message: {
1295
1294
  id: string;
1295
+ raw?: string | undefined;
1296
1296
  threadId?: string | undefined;
1297
1297
  labelIds?: string[] | undefined;
1298
1298
  snippet?: string | undefined;
@@ -1300,32 +1300,32 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1300
1300
  historyId?: string | undefined;
1301
1301
  internalDate?: string | undefined;
1302
1302
  sizeEstimate?: number | undefined;
1303
- raw?: string | undefined;
1304
1303
  payload?: {
1305
- mimeType?: string | undefined;
1306
- headers?: {
1307
- name: string;
1308
- value: string;
1309
- }[] | undefined;
1310
1304
  body?: {
1311
1305
  data?: string | undefined;
1312
1306
  size?: number | undefined;
1313
1307
  attachmentId?: string | undefined;
1314
1308
  } | undefined;
1309
+ mimeType?: string | undefined;
1310
+ headers?: {
1311
+ value: string;
1312
+ name: string;
1313
+ }[] | undefined;
1315
1314
  parts?: any[] | undefined;
1316
1315
  } | undefined;
1317
1316
  };
1317
+ id: string;
1318
1318
  }[] | undefined;
1319
1319
  }, {
1320
- operation: "list_drafts";
1321
- success: boolean;
1322
1320
  error: string;
1321
+ success: boolean;
1322
+ operation: "list_drafts";
1323
1323
  next_page_token?: string | undefined;
1324
1324
  result_size_estimate?: number | undefined;
1325
1325
  drafts?: {
1326
- id: string;
1327
1326
  message: {
1328
1327
  id: string;
1328
+ raw?: string | undefined;
1329
1329
  threadId?: string | undefined;
1330
1330
  labelIds?: string[] | undefined;
1331
1331
  snippet?: string | undefined;
@@ -1333,21 +1333,21 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1333
1333
  historyId?: string | undefined;
1334
1334
  internalDate?: string | undefined;
1335
1335
  sizeEstimate?: number | undefined;
1336
- raw?: string | undefined;
1337
1336
  payload?: {
1338
- mimeType?: string | undefined;
1339
- headers?: {
1340
- name: string;
1341
- value: string;
1342
- }[] | undefined;
1343
1337
  body?: {
1344
1338
  data?: string | undefined;
1345
1339
  size?: number | undefined;
1346
1340
  attachmentId?: string | undefined;
1347
1341
  } | undefined;
1342
+ mimeType?: string | undefined;
1343
+ headers?: {
1344
+ value: string;
1345
+ name: string;
1346
+ }[] | undefined;
1348
1347
  parts?: any[] | undefined;
1349
1348
  } | undefined;
1350
1349
  };
1350
+ id: string;
1351
1351
  }[] | undefined;
1352
1352
  }>, z.ZodObject<{
1353
1353
  operation: z.ZodLiteral<"delete_email">;
@@ -1355,14 +1355,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1355
1355
  deleted_message_id: z.ZodOptional<z.ZodString>;
1356
1356
  error: z.ZodString;
1357
1357
  }, "strip", z.ZodTypeAny, {
1358
- operation: "delete_email";
1359
- success: boolean;
1360
1358
  error: string;
1359
+ success: boolean;
1360
+ operation: "delete_email";
1361
1361
  deleted_message_id?: string | undefined;
1362
1362
  }, {
1363
- operation: "delete_email";
1364
- success: boolean;
1365
1363
  error: string;
1364
+ success: boolean;
1365
+ operation: "delete_email";
1366
1366
  deleted_message_id?: string | undefined;
1367
1367
  }>, z.ZodObject<{
1368
1368
  operation: z.ZodLiteral<"trash_email">;
@@ -1370,14 +1370,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1370
1370
  trashed_message_id: z.ZodOptional<z.ZodString>;
1371
1371
  error: z.ZodString;
1372
1372
  }, "strip", z.ZodTypeAny, {
1373
- operation: "trash_email";
1374
- success: boolean;
1375
1373
  error: string;
1374
+ success: boolean;
1375
+ operation: "trash_email";
1376
1376
  trashed_message_id?: string | undefined;
1377
1377
  }, {
1378
- operation: "trash_email";
1379
- success: boolean;
1380
1378
  error: string;
1379
+ success: boolean;
1380
+ operation: "trash_email";
1381
1381
  trashed_message_id?: string | undefined;
1382
1382
  }>, z.ZodObject<{
1383
1383
  operation: z.ZodLiteral<"list_threads">;
@@ -1401,11 +1401,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1401
1401
  name: z.ZodString;
1402
1402
  value: z.ZodString;
1403
1403
  }, "strip", z.ZodTypeAny, {
1404
- name: string;
1405
1404
  value: string;
1406
- }, {
1407
1405
  name: string;
1406
+ }, {
1408
1407
  value: string;
1408
+ name: string;
1409
1409
  }>, "many">>;
1410
1410
  body: z.ZodOptional<z.ZodObject<{
1411
1411
  data: z.ZodOptional<z.ZodString>;
@@ -1422,32 +1422,33 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1422
1422
  }>>;
1423
1423
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1424
1424
  }, "strip", z.ZodTypeAny, {
1425
- mimeType?: string | undefined;
1426
- headers?: {
1427
- name: string;
1428
- value: string;
1429
- }[] | undefined;
1430
1425
  body?: {
1431
1426
  data?: string | undefined;
1432
1427
  size?: number | undefined;
1433
1428
  attachmentId?: string | undefined;
1434
1429
  } | undefined;
1435
- parts?: any[] | undefined;
1436
- }, {
1437
1430
  mimeType?: string | undefined;
1438
1431
  headers?: {
1439
- name: string;
1440
1432
  value: string;
1433
+ name: string;
1441
1434
  }[] | undefined;
1435
+ parts?: any[] | undefined;
1436
+ }, {
1442
1437
  body?: {
1443
1438
  data?: string | undefined;
1444
1439
  size?: number | undefined;
1445
1440
  attachmentId?: string | undefined;
1446
1441
  } | undefined;
1442
+ mimeType?: string | undefined;
1443
+ headers?: {
1444
+ value: string;
1445
+ name: string;
1446
+ }[] | undefined;
1447
1447
  parts?: any[] | undefined;
1448
1448
  }>>;
1449
1449
  }, "strip", z.ZodTypeAny, {
1450
1450
  id: string;
1451
+ raw?: string | undefined;
1451
1452
  threadId?: string | undefined;
1452
1453
  labelIds?: string[] | undefined;
1453
1454
  snippet?: string | undefined;
@@ -1455,22 +1456,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1455
1456
  historyId?: string | undefined;
1456
1457
  internalDate?: string | undefined;
1457
1458
  sizeEstimate?: number | undefined;
1458
- raw?: string | undefined;
1459
1459
  payload?: {
1460
- mimeType?: string | undefined;
1461
- headers?: {
1462
- name: string;
1463
- value: string;
1464
- }[] | undefined;
1465
1460
  body?: {
1466
1461
  data?: string | undefined;
1467
1462
  size?: number | undefined;
1468
1463
  attachmentId?: string | undefined;
1469
1464
  } | undefined;
1465
+ mimeType?: string | undefined;
1466
+ headers?: {
1467
+ value: string;
1468
+ name: string;
1469
+ }[] | undefined;
1470
1470
  parts?: any[] | undefined;
1471
1471
  } | undefined;
1472
1472
  }, {
1473
1473
  id: string;
1474
+ raw?: string | undefined;
1474
1475
  threadId?: string | undefined;
1475
1476
  labelIds?: string[] | undefined;
1476
1477
  snippet?: string | undefined;
@@ -1478,18 +1479,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1478
1479
  historyId?: string | undefined;
1479
1480
  internalDate?: string | undefined;
1480
1481
  sizeEstimate?: number | undefined;
1481
- raw?: string | undefined;
1482
1482
  payload?: {
1483
- mimeType?: string | undefined;
1484
- headers?: {
1485
- name: string;
1486
- value: string;
1487
- }[] | undefined;
1488
1483
  body?: {
1489
1484
  data?: string | undefined;
1490
1485
  size?: number | undefined;
1491
1486
  attachmentId?: string | undefined;
1492
1487
  } | undefined;
1488
+ mimeType?: string | undefined;
1489
+ headers?: {
1490
+ value: string;
1491
+ name: string;
1492
+ }[] | undefined;
1493
1493
  parts?: any[] | undefined;
1494
1494
  } | undefined;
1495
1495
  }>, "many">>;
@@ -1498,6 +1498,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1498
1498
  id: string;
1499
1499
  messages?: {
1500
1500
  id: string;
1501
+ raw?: string | undefined;
1501
1502
  threadId?: string | undefined;
1502
1503
  labelIds?: string[] | undefined;
1503
1504
  snippet?: string | undefined;
@@ -1505,18 +1506,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1505
1506
  historyId?: string | undefined;
1506
1507
  internalDate?: string | undefined;
1507
1508
  sizeEstimate?: number | undefined;
1508
- raw?: string | undefined;
1509
1509
  payload?: {
1510
- mimeType?: string | undefined;
1511
- headers?: {
1512
- name: string;
1513
- value: string;
1514
- }[] | undefined;
1515
1510
  body?: {
1516
1511
  data?: string | undefined;
1517
1512
  size?: number | undefined;
1518
1513
  attachmentId?: string | undefined;
1519
1514
  } | undefined;
1515
+ mimeType?: string | undefined;
1516
+ headers?: {
1517
+ value: string;
1518
+ name: string;
1519
+ }[] | undefined;
1520
1520
  parts?: any[] | undefined;
1521
1521
  } | undefined;
1522
1522
  }[] | undefined;
@@ -1526,6 +1526,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1526
1526
  id: string;
1527
1527
  messages?: {
1528
1528
  id: string;
1529
+ raw?: string | undefined;
1529
1530
  threadId?: string | undefined;
1530
1531
  labelIds?: string[] | undefined;
1531
1532
  snippet?: string | undefined;
@@ -1533,18 +1534,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1533
1534
  historyId?: string | undefined;
1534
1535
  internalDate?: string | undefined;
1535
1536
  sizeEstimate?: number | undefined;
1536
- raw?: string | undefined;
1537
1537
  payload?: {
1538
- mimeType?: string | undefined;
1539
- headers?: {
1540
- name: string;
1541
- value: string;
1542
- }[] | undefined;
1543
1538
  body?: {
1544
1539
  data?: string | undefined;
1545
1540
  size?: number | undefined;
1546
1541
  attachmentId?: string | undefined;
1547
1542
  } | undefined;
1543
+ mimeType?: string | undefined;
1544
+ headers?: {
1545
+ value: string;
1546
+ name: string;
1547
+ }[] | undefined;
1548
1548
  parts?: any[] | undefined;
1549
1549
  } | undefined;
1550
1550
  }[] | undefined;
@@ -1555,15 +1555,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1555
1555
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1556
1556
  error: z.ZodString;
1557
1557
  }, "strip", z.ZodTypeAny, {
1558
- operation: "list_threads";
1559
- success: boolean;
1560
1558
  error: string;
1559
+ success: boolean;
1560
+ operation: "list_threads";
1561
1561
  next_page_token?: string | undefined;
1562
1562
  result_size_estimate?: number | undefined;
1563
1563
  threads?: {
1564
1564
  id: string;
1565
1565
  messages?: {
1566
1566
  id: string;
1567
+ raw?: string | undefined;
1567
1568
  threadId?: string | undefined;
1568
1569
  labelIds?: string[] | undefined;
1569
1570
  snippet?: string | undefined;
@@ -1571,18 +1572,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1571
1572
  historyId?: string | undefined;
1572
1573
  internalDate?: string | undefined;
1573
1574
  sizeEstimate?: number | undefined;
1574
- raw?: string | undefined;
1575
1575
  payload?: {
1576
- mimeType?: string | undefined;
1577
- headers?: {
1578
- name: string;
1579
- value: string;
1580
- }[] | undefined;
1581
1576
  body?: {
1582
1577
  data?: string | undefined;
1583
1578
  size?: number | undefined;
1584
1579
  attachmentId?: string | undefined;
1585
1580
  } | undefined;
1581
+ mimeType?: string | undefined;
1582
+ headers?: {
1583
+ value: string;
1584
+ name: string;
1585
+ }[] | undefined;
1586
1586
  parts?: any[] | undefined;
1587
1587
  } | undefined;
1588
1588
  }[] | undefined;
@@ -1590,15 +1590,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1590
1590
  historyId?: string | undefined;
1591
1591
  }[] | undefined;
1592
1592
  }, {
1593
- operation: "list_threads";
1594
- success: boolean;
1595
1593
  error: string;
1594
+ success: boolean;
1595
+ operation: "list_threads";
1596
1596
  next_page_token?: string | undefined;
1597
1597
  result_size_estimate?: number | undefined;
1598
1598
  threads?: {
1599
1599
  id: string;
1600
1600
  messages?: {
1601
1601
  id: string;
1602
+ raw?: string | undefined;
1602
1603
  threadId?: string | undefined;
1603
1604
  labelIds?: string[] | undefined;
1604
1605
  snippet?: string | undefined;
@@ -1606,18 +1607,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1606
1607
  historyId?: string | undefined;
1607
1608
  internalDate?: string | undefined;
1608
1609
  sizeEstimate?: number | undefined;
1609
- raw?: string | undefined;
1610
1610
  payload?: {
1611
- mimeType?: string | undefined;
1612
- headers?: {
1613
- name: string;
1614
- value: string;
1615
- }[] | undefined;
1616
1611
  body?: {
1617
1612
  data?: string | undefined;
1618
1613
  size?: number | undefined;
1619
1614
  attachmentId?: string | undefined;
1620
1615
  } | undefined;
1616
+ mimeType?: string | undefined;
1617
+ headers?: {
1618
+ value: string;
1619
+ name: string;
1620
+ }[] | undefined;
1621
1621
  parts?: any[] | undefined;
1622
1622
  } | undefined;
1623
1623
  }[] | undefined;
@@ -1634,37 +1634,37 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1634
1634
  messageListVisibility: z.ZodOptional<z.ZodEnum<["show", "hide"]>>;
1635
1635
  labelListVisibility: z.ZodOptional<z.ZodEnum<["labelShow", "labelShowIfUnread", "labelHide"]>>;
1636
1636
  }, "strip", z.ZodTypeAny, {
1637
- id: string;
1638
1637
  name: string;
1638
+ id: string;
1639
1639
  type?: "user" | "system" | undefined;
1640
1640
  messageListVisibility?: "show" | "hide" | undefined;
1641
1641
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1642
1642
  }, {
1643
- id: string;
1644
1643
  name: string;
1644
+ id: string;
1645
1645
  type?: "user" | "system" | undefined;
1646
1646
  messageListVisibility?: "show" | "hide" | undefined;
1647
1647
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1648
1648
  }>, "many">>;
1649
1649
  error: z.ZodString;
1650
1650
  }, "strip", z.ZodTypeAny, {
1651
- operation: "list_labels";
1652
- success: boolean;
1653
1651
  error: string;
1652
+ success: boolean;
1653
+ operation: "list_labels";
1654
1654
  labels?: {
1655
- id: string;
1656
1655
  name: string;
1656
+ id: string;
1657
1657
  type?: "user" | "system" | undefined;
1658
1658
  messageListVisibility?: "show" | "hide" | undefined;
1659
1659
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1660
1660
  }[] | undefined;
1661
1661
  }, {
1662
- operation: "list_labels";
1663
- success: boolean;
1664
1662
  error: string;
1663
+ success: boolean;
1664
+ operation: "list_labels";
1665
1665
  labels?: {
1666
- id: string;
1667
1666
  name: string;
1667
+ id: string;
1668
1668
  type?: "user" | "system" | undefined;
1669
1669
  messageListVisibility?: "show" | "hide" | undefined;
1670
1670
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
@@ -1679,37 +1679,37 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1679
1679
  messageListVisibility: z.ZodOptional<z.ZodEnum<["show", "hide"]>>;
1680
1680
  labelListVisibility: z.ZodOptional<z.ZodEnum<["labelShow", "labelShowIfUnread", "labelHide"]>>;
1681
1681
  }, "strip", z.ZodTypeAny, {
1682
- id: string;
1683
1682
  name: string;
1683
+ id: string;
1684
1684
  type?: "user" | "system" | undefined;
1685
1685
  messageListVisibility?: "show" | "hide" | undefined;
1686
1686
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1687
1687
  }, {
1688
- id: string;
1689
1688
  name: string;
1689
+ id: string;
1690
1690
  type?: "user" | "system" | undefined;
1691
1691
  messageListVisibility?: "show" | "hide" | undefined;
1692
1692
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1693
1693
  }>>;
1694
1694
  error: z.ZodString;
1695
1695
  }, "strip", z.ZodTypeAny, {
1696
- operation: "create_label";
1697
- success: boolean;
1698
1696
  error: string;
1697
+ success: boolean;
1698
+ operation: "create_label";
1699
1699
  label?: {
1700
- id: string;
1701
1700
  name: string;
1701
+ id: string;
1702
1702
  type?: "user" | "system" | undefined;
1703
1703
  messageListVisibility?: "show" | "hide" | undefined;
1704
1704
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1705
1705
  } | undefined;
1706
1706
  }, {
1707
- operation: "create_label";
1708
- success: boolean;
1709
1707
  error: string;
1708
+ success: boolean;
1709
+ operation: "create_label";
1710
1710
  label?: {
1711
- id: string;
1712
1711
  name: string;
1712
+ id: string;
1713
1713
  type?: "user" | "system" | undefined;
1714
1714
  messageListVisibility?: "show" | "hide" | undefined;
1715
1715
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
@@ -1721,31 +1721,31 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1721
1721
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1722
1722
  error: z.ZodString;
1723
1723
  }, "strip", z.ZodTypeAny, {
1724
- operation: "modify_message_labels";
1725
- success: boolean;
1726
1724
  error: string;
1727
- message_id?: string | undefined;
1725
+ success: boolean;
1726
+ operation: "modify_message_labels";
1728
1727
  label_ids?: string[] | undefined;
1728
+ message_id?: string | undefined;
1729
1729
  }, {
1730
- operation: "modify_message_labels";
1731
- success: boolean;
1732
1730
  error: string;
1733
- message_id?: string | undefined;
1731
+ success: boolean;
1732
+ operation: "modify_message_labels";
1734
1733
  label_ids?: string[] | undefined;
1734
+ message_id?: string | undefined;
1735
1735
  }>, z.ZodObject<{
1736
1736
  operation: z.ZodLiteral<"modify_thread_labels">;
1737
1737
  success: z.ZodBoolean;
1738
1738
  thread_id: z.ZodOptional<z.ZodString>;
1739
1739
  error: z.ZodString;
1740
1740
  }, "strip", z.ZodTypeAny, {
1741
- operation: "modify_thread_labels";
1742
- success: boolean;
1743
1741
  error: string;
1742
+ success: boolean;
1743
+ operation: "modify_thread_labels";
1744
1744
  thread_id?: string | undefined;
1745
1745
  }, {
1746
- operation: "modify_thread_labels";
1747
- success: boolean;
1748
1746
  error: string;
1747
+ success: boolean;
1748
+ operation: "modify_thread_labels";
1749
1749
  thread_id?: string | undefined;
1750
1750
  }>]>;
1751
1751
  type GmailResult = z.output<typeof GmailResultSchema>;
@@ -1828,7 +1828,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1828
1828
  metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1829
1829
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1830
1830
  }, "strip", z.ZodTypeAny, {
1831
- format: "metadata" | "minimal" | "raw" | "full";
1831
+ format: "metadata" | "minimal" | "full" | "raw";
1832
1832
  operation: "get_email";
1833
1833
  message_id: string;
1834
1834
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -1836,7 +1836,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1836
1836
  }, {
1837
1837
  operation: "get_email";
1838
1838
  message_id: string;
1839
- format?: "metadata" | "minimal" | "raw" | "full" | undefined;
1839
+ format?: "metadata" | "minimal" | "full" | "raw" | undefined;
1840
1840
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1841
1841
  metadata_headers?: string[] | undefined;
1842
1842
  }>, z.ZodObject<{
@@ -2072,17 +2072,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2072
2072
  thread_id: z.ZodOptional<z.ZodString>;
2073
2073
  error: z.ZodString;
2074
2074
  }, "strip", z.ZodTypeAny, {
2075
- operation: "send_email";
2076
- success: boolean;
2077
2075
  error: string;
2078
- message_id?: string | undefined;
2076
+ success: boolean;
2077
+ operation: "send_email";
2079
2078
  thread_id?: string | undefined;
2079
+ message_id?: string | undefined;
2080
2080
  }, {
2081
- operation: "send_email";
2082
- success: boolean;
2083
2081
  error: string;
2084
- message_id?: string | undefined;
2082
+ success: boolean;
2083
+ operation: "send_email";
2085
2084
  thread_id?: string | undefined;
2085
+ message_id?: string | undefined;
2086
2086
  }>, z.ZodObject<{
2087
2087
  operation: z.ZodLiteral<"list_emails">;
2088
2088
  success: z.ZodBoolean;
@@ -2102,11 +2102,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2102
2102
  name: z.ZodString;
2103
2103
  value: z.ZodString;
2104
2104
  }, "strip", z.ZodTypeAny, {
2105
- name: string;
2106
2105
  value: string;
2107
- }, {
2108
2106
  name: string;
2107
+ }, {
2109
2108
  value: string;
2109
+ name: string;
2110
2110
  }>, "many">>;
2111
2111
  body: z.ZodOptional<z.ZodObject<{
2112
2112
  data: z.ZodOptional<z.ZodString>;
@@ -2123,32 +2123,33 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2123
2123
  }>>;
2124
2124
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2125
2125
  }, "strip", z.ZodTypeAny, {
2126
- mimeType?: string | undefined;
2127
- headers?: {
2128
- name: string;
2129
- value: string;
2130
- }[] | undefined;
2131
2126
  body?: {
2132
2127
  data?: string | undefined;
2133
2128
  size?: number | undefined;
2134
2129
  attachmentId?: string | undefined;
2135
2130
  } | undefined;
2136
- parts?: any[] | undefined;
2137
- }, {
2138
2131
  mimeType?: string | undefined;
2139
2132
  headers?: {
2140
- name: string;
2141
2133
  value: string;
2134
+ name: string;
2142
2135
  }[] | undefined;
2136
+ parts?: any[] | undefined;
2137
+ }, {
2143
2138
  body?: {
2144
2139
  data?: string | undefined;
2145
2140
  size?: number | undefined;
2146
2141
  attachmentId?: string | undefined;
2147
2142
  } | undefined;
2143
+ mimeType?: string | undefined;
2144
+ headers?: {
2145
+ value: string;
2146
+ name: string;
2147
+ }[] | undefined;
2148
2148
  parts?: any[] | undefined;
2149
2149
  }>>;
2150
2150
  }, "strip", z.ZodTypeAny, {
2151
2151
  id: string;
2152
+ raw?: string | undefined;
2152
2153
  threadId?: string | undefined;
2153
2154
  labelIds?: string[] | undefined;
2154
2155
  snippet?: string | undefined;
@@ -2156,22 +2157,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2156
2157
  historyId?: string | undefined;
2157
2158
  internalDate?: string | undefined;
2158
2159
  sizeEstimate?: number | undefined;
2159
- raw?: string | undefined;
2160
2160
  payload?: {
2161
- mimeType?: string | undefined;
2162
- headers?: {
2163
- name: string;
2164
- value: string;
2165
- }[] | undefined;
2166
2161
  body?: {
2167
2162
  data?: string | undefined;
2168
2163
  size?: number | undefined;
2169
2164
  attachmentId?: string | undefined;
2170
2165
  } | undefined;
2166
+ mimeType?: string | undefined;
2167
+ headers?: {
2168
+ value: string;
2169
+ name: string;
2170
+ }[] | undefined;
2171
2171
  parts?: any[] | undefined;
2172
2172
  } | undefined;
2173
2173
  }, {
2174
2174
  id: string;
2175
+ raw?: string | undefined;
2175
2176
  threadId?: string | undefined;
2176
2177
  labelIds?: string[] | undefined;
2177
2178
  snippet?: string | undefined;
@@ -2179,18 +2180,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2179
2180
  historyId?: string | undefined;
2180
2181
  internalDate?: string | undefined;
2181
2182
  sizeEstimate?: number | undefined;
2182
- raw?: string | undefined;
2183
2183
  payload?: {
2184
- mimeType?: string | undefined;
2185
- headers?: {
2186
- name: string;
2187
- value: string;
2188
- }[] | undefined;
2189
2184
  body?: {
2190
2185
  data?: string | undefined;
2191
2186
  size?: number | undefined;
2192
2187
  attachmentId?: string | undefined;
2193
2188
  } | undefined;
2189
+ mimeType?: string | undefined;
2190
+ headers?: {
2191
+ value: string;
2192
+ name: string;
2193
+ }[] | undefined;
2194
2194
  parts?: any[] | undefined;
2195
2195
  } | undefined;
2196
2196
  }>, "many">>;
@@ -2198,11 +2198,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2198
2198
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2199
2199
  error: z.ZodString;
2200
2200
  }, "strip", z.ZodTypeAny, {
2201
- operation: "list_emails";
2202
- success: boolean;
2203
2201
  error: string;
2202
+ success: boolean;
2203
+ operation: "list_emails";
2204
2204
  messages?: {
2205
2205
  id: string;
2206
+ raw?: string | undefined;
2206
2207
  threadId?: string | undefined;
2207
2208
  labelIds?: string[] | undefined;
2208
2209
  snippet?: string | undefined;
@@ -2210,29 +2211,29 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2210
2211
  historyId?: string | undefined;
2211
2212
  internalDate?: string | undefined;
2212
2213
  sizeEstimate?: number | undefined;
2213
- raw?: string | undefined;
2214
2214
  payload?: {
2215
- mimeType?: string | undefined;
2216
- headers?: {
2217
- name: string;
2218
- value: string;
2219
- }[] | undefined;
2220
2215
  body?: {
2221
2216
  data?: string | undefined;
2222
2217
  size?: number | undefined;
2223
2218
  attachmentId?: string | undefined;
2224
2219
  } | undefined;
2220
+ mimeType?: string | undefined;
2221
+ headers?: {
2222
+ value: string;
2223
+ name: string;
2224
+ }[] | undefined;
2225
2225
  parts?: any[] | undefined;
2226
2226
  } | undefined;
2227
2227
  }[] | undefined;
2228
2228
  next_page_token?: string | undefined;
2229
2229
  result_size_estimate?: number | undefined;
2230
2230
  }, {
2231
- operation: "list_emails";
2232
- success: boolean;
2233
2231
  error: string;
2232
+ success: boolean;
2233
+ operation: "list_emails";
2234
2234
  messages?: {
2235
2235
  id: string;
2236
+ raw?: string | undefined;
2236
2237
  threadId?: string | undefined;
2237
2238
  labelIds?: string[] | undefined;
2238
2239
  snippet?: string | undefined;
@@ -2240,18 +2241,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2240
2241
  historyId?: string | undefined;
2241
2242
  internalDate?: string | undefined;
2242
2243
  sizeEstimate?: number | undefined;
2243
- raw?: string | undefined;
2244
2244
  payload?: {
2245
- mimeType?: string | undefined;
2246
- headers?: {
2247
- name: string;
2248
- value: string;
2249
- }[] | undefined;
2250
2245
  body?: {
2251
2246
  data?: string | undefined;
2252
2247
  size?: number | undefined;
2253
2248
  attachmentId?: string | undefined;
2254
2249
  } | undefined;
2250
+ mimeType?: string | undefined;
2251
+ headers?: {
2252
+ value: string;
2253
+ name: string;
2254
+ }[] | undefined;
2255
2255
  parts?: any[] | undefined;
2256
2256
  } | undefined;
2257
2257
  }[] | undefined;
@@ -2276,11 +2276,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2276
2276
  name: z.ZodString;
2277
2277
  value: z.ZodString;
2278
2278
  }, "strip", z.ZodTypeAny, {
2279
- name: string;
2280
2279
  value: string;
2281
- }, {
2282
2280
  name: string;
2281
+ }, {
2283
2282
  value: string;
2283
+ name: string;
2284
2284
  }>, "many">>;
2285
2285
  body: z.ZodOptional<z.ZodObject<{
2286
2286
  data: z.ZodOptional<z.ZodString>;
@@ -2297,32 +2297,33 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2297
2297
  }>>;
2298
2298
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2299
2299
  }, "strip", z.ZodTypeAny, {
2300
- mimeType?: string | undefined;
2301
- headers?: {
2302
- name: string;
2303
- value: string;
2304
- }[] | undefined;
2305
2300
  body?: {
2306
2301
  data?: string | undefined;
2307
2302
  size?: number | undefined;
2308
2303
  attachmentId?: string | undefined;
2309
2304
  } | undefined;
2310
- parts?: any[] | undefined;
2311
- }, {
2312
2305
  mimeType?: string | undefined;
2313
2306
  headers?: {
2314
- name: string;
2315
2307
  value: string;
2308
+ name: string;
2316
2309
  }[] | undefined;
2310
+ parts?: any[] | undefined;
2311
+ }, {
2317
2312
  body?: {
2318
2313
  data?: string | undefined;
2319
2314
  size?: number | undefined;
2320
2315
  attachmentId?: string | undefined;
2321
2316
  } | undefined;
2317
+ mimeType?: string | undefined;
2318
+ headers?: {
2319
+ value: string;
2320
+ name: string;
2321
+ }[] | undefined;
2322
2322
  parts?: any[] | undefined;
2323
2323
  }>>;
2324
2324
  }, "strip", z.ZodTypeAny, {
2325
2325
  id: string;
2326
+ raw?: string | undefined;
2326
2327
  threadId?: string | undefined;
2327
2328
  labelIds?: string[] | undefined;
2328
2329
  snippet?: string | undefined;
@@ -2330,22 +2331,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2330
2331
  historyId?: string | undefined;
2331
2332
  internalDate?: string | undefined;
2332
2333
  sizeEstimate?: number | undefined;
2333
- raw?: string | undefined;
2334
2334
  payload?: {
2335
- mimeType?: string | undefined;
2336
- headers?: {
2337
- name: string;
2338
- value: string;
2339
- }[] | undefined;
2340
2335
  body?: {
2341
2336
  data?: string | undefined;
2342
2337
  size?: number | undefined;
2343
2338
  attachmentId?: string | undefined;
2344
2339
  } | undefined;
2340
+ mimeType?: string | undefined;
2341
+ headers?: {
2342
+ value: string;
2343
+ name: string;
2344
+ }[] | undefined;
2345
2345
  parts?: any[] | undefined;
2346
2346
  } | undefined;
2347
2347
  }, {
2348
2348
  id: string;
2349
+ raw?: string | undefined;
2349
2350
  threadId?: string | undefined;
2350
2351
  labelIds?: string[] | undefined;
2351
2352
  snippet?: string | undefined;
@@ -2353,56 +2354,56 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2353
2354
  historyId?: string | undefined;
2354
2355
  internalDate?: string | undefined;
2355
2356
  sizeEstimate?: number | undefined;
2356
- raw?: string | undefined;
2357
2357
  payload?: {
2358
- mimeType?: string | undefined;
2359
- headers?: {
2360
- name: string;
2361
- value: string;
2362
- }[] | undefined;
2363
2358
  body?: {
2364
2359
  data?: string | undefined;
2365
2360
  size?: number | undefined;
2366
2361
  attachmentId?: string | undefined;
2367
2362
  } | undefined;
2363
+ mimeType?: string | undefined;
2364
+ headers?: {
2365
+ value: string;
2366
+ name: string;
2367
+ }[] | undefined;
2368
2368
  parts?: any[] | undefined;
2369
2369
  } | undefined;
2370
2370
  }>>;
2371
2371
  error: z.ZodString;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
- operation: "get_email";
2374
- success: boolean;
2375
2373
  error: string;
2374
+ success: boolean;
2375
+ operation: "get_email";
2376
2376
  message?: {
2377
2377
  id: string;
2378
+ raw?: string | undefined;
2378
2379
  threadId?: string | undefined;
2379
2380
  labelIds?: string[] | undefined;
2380
2381
  snippet?: string | undefined;
2381
2382
  textContent?: string | undefined;
2382
2383
  historyId?: string | undefined;
2383
- internalDate?: string | undefined;
2384
- sizeEstimate?: number | undefined;
2385
- raw?: string | undefined;
2386
- payload?: {
2387
- mimeType?: string | undefined;
2388
- headers?: {
2389
- name: string;
2390
- value: string;
2391
- }[] | undefined;
2384
+ internalDate?: string | undefined;
2385
+ sizeEstimate?: number | undefined;
2386
+ payload?: {
2392
2387
  body?: {
2393
2388
  data?: string | undefined;
2394
2389
  size?: number | undefined;
2395
2390
  attachmentId?: string | undefined;
2396
2391
  } | undefined;
2392
+ mimeType?: string | undefined;
2393
+ headers?: {
2394
+ value: string;
2395
+ name: string;
2396
+ }[] | undefined;
2397
2397
  parts?: any[] | undefined;
2398
2398
  } | undefined;
2399
2399
  } | undefined;
2400
2400
  }, {
2401
- operation: "get_email";
2402
- success: boolean;
2403
2401
  error: string;
2402
+ success: boolean;
2403
+ operation: "get_email";
2404
2404
  message?: {
2405
2405
  id: string;
2406
+ raw?: string | undefined;
2406
2407
  threadId?: string | undefined;
2407
2408
  labelIds?: string[] | undefined;
2408
2409
  snippet?: string | undefined;
@@ -2410,18 +2411,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2410
2411
  historyId?: string | undefined;
2411
2412
  internalDate?: string | undefined;
2412
2413
  sizeEstimate?: number | undefined;
2413
- raw?: string | undefined;
2414
2414
  payload?: {
2415
- mimeType?: string | undefined;
2416
- headers?: {
2417
- name: string;
2418
- value: string;
2419
- }[] | undefined;
2420
2415
  body?: {
2421
2416
  data?: string | undefined;
2422
2417
  size?: number | undefined;
2423
2418
  attachmentId?: string | undefined;
2424
2419
  } | undefined;
2420
+ mimeType?: string | undefined;
2421
+ headers?: {
2422
+ value: string;
2423
+ name: string;
2424
+ }[] | undefined;
2425
2425
  parts?: any[] | undefined;
2426
2426
  } | undefined;
2427
2427
  } | undefined;
@@ -2444,11 +2444,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2444
2444
  name: z.ZodString;
2445
2445
  value: z.ZodString;
2446
2446
  }, "strip", z.ZodTypeAny, {
2447
- name: string;
2448
2447
  value: string;
2449
- }, {
2450
2448
  name: string;
2449
+ }, {
2451
2450
  value: string;
2451
+ name: string;
2452
2452
  }>, "many">>;
2453
2453
  body: z.ZodOptional<z.ZodObject<{
2454
2454
  data: z.ZodOptional<z.ZodString>;
@@ -2465,32 +2465,33 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2465
2465
  }>>;
2466
2466
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2467
2467
  }, "strip", z.ZodTypeAny, {
2468
- mimeType?: string | undefined;
2469
- headers?: {
2470
- name: string;
2471
- value: string;
2472
- }[] | undefined;
2473
2468
  body?: {
2474
2469
  data?: string | undefined;
2475
2470
  size?: number | undefined;
2476
2471
  attachmentId?: string | undefined;
2477
2472
  } | undefined;
2478
- parts?: any[] | undefined;
2479
- }, {
2480
2473
  mimeType?: string | undefined;
2481
2474
  headers?: {
2482
- name: string;
2483
2475
  value: string;
2476
+ name: string;
2484
2477
  }[] | undefined;
2478
+ parts?: any[] | undefined;
2479
+ }, {
2485
2480
  body?: {
2486
2481
  data?: string | undefined;
2487
2482
  size?: number | undefined;
2488
2483
  attachmentId?: string | undefined;
2489
2484
  } | undefined;
2485
+ mimeType?: string | undefined;
2486
+ headers?: {
2487
+ value: string;
2488
+ name: string;
2489
+ }[] | undefined;
2490
2490
  parts?: any[] | undefined;
2491
2491
  }>>;
2492
2492
  }, "strip", z.ZodTypeAny, {
2493
2493
  id: string;
2494
+ raw?: string | undefined;
2494
2495
  threadId?: string | undefined;
2495
2496
  labelIds?: string[] | undefined;
2496
2497
  snippet?: string | undefined;
@@ -2498,22 +2499,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2498
2499
  historyId?: string | undefined;
2499
2500
  internalDate?: string | undefined;
2500
2501
  sizeEstimate?: number | undefined;
2501
- raw?: string | undefined;
2502
2502
  payload?: {
2503
- mimeType?: string | undefined;
2504
- headers?: {
2505
- name: string;
2506
- value: string;
2507
- }[] | undefined;
2508
2503
  body?: {
2509
2504
  data?: string | undefined;
2510
2505
  size?: number | undefined;
2511
2506
  attachmentId?: string | undefined;
2512
2507
  } | undefined;
2508
+ mimeType?: string | undefined;
2509
+ headers?: {
2510
+ value: string;
2511
+ name: string;
2512
+ }[] | undefined;
2513
2513
  parts?: any[] | undefined;
2514
2514
  } | undefined;
2515
2515
  }, {
2516
2516
  id: string;
2517
+ raw?: string | undefined;
2517
2518
  threadId?: string | undefined;
2518
2519
  labelIds?: string[] | undefined;
2519
2520
  snippet?: string | undefined;
@@ -2521,29 +2522,29 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2521
2522
  historyId?: string | undefined;
2522
2523
  internalDate?: string | undefined;
2523
2524
  sizeEstimate?: number | undefined;
2524
- raw?: string | undefined;
2525
2525
  payload?: {
2526
- mimeType?: string | undefined;
2527
- headers?: {
2528
- name: string;
2529
- value: string;
2530
- }[] | undefined;
2531
2526
  body?: {
2532
2527
  data?: string | undefined;
2533
2528
  size?: number | undefined;
2534
2529
  attachmentId?: string | undefined;
2535
2530
  } | undefined;
2531
+ mimeType?: string | undefined;
2532
+ headers?: {
2533
+ value: string;
2534
+ name: string;
2535
+ }[] | undefined;
2536
2536
  parts?: any[] | undefined;
2537
2537
  } | undefined;
2538
2538
  }>, "many">>;
2539
2539
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2540
2540
  error: z.ZodString;
2541
2541
  }, "strip", z.ZodTypeAny, {
2542
- operation: "search_emails";
2543
- success: boolean;
2544
2542
  error: string;
2543
+ success: boolean;
2544
+ operation: "search_emails";
2545
2545
  messages?: {
2546
2546
  id: string;
2547
+ raw?: string | undefined;
2547
2548
  threadId?: string | undefined;
2548
2549
  labelIds?: string[] | undefined;
2549
2550
  snippet?: string | undefined;
@@ -2551,28 +2552,28 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2551
2552
  historyId?: string | undefined;
2552
2553
  internalDate?: string | undefined;
2553
2554
  sizeEstimate?: number | undefined;
2554
- raw?: string | undefined;
2555
2555
  payload?: {
2556
- mimeType?: string | undefined;
2557
- headers?: {
2558
- name: string;
2559
- value: string;
2560
- }[] | undefined;
2561
2556
  body?: {
2562
2557
  data?: string | undefined;
2563
2558
  size?: number | undefined;
2564
2559
  attachmentId?: string | undefined;
2565
2560
  } | undefined;
2561
+ mimeType?: string | undefined;
2562
+ headers?: {
2563
+ value: string;
2564
+ name: string;
2565
+ }[] | undefined;
2566
2566
  parts?: any[] | undefined;
2567
2567
  } | undefined;
2568
2568
  }[] | undefined;
2569
2569
  result_size_estimate?: number | undefined;
2570
2570
  }, {
2571
- operation: "search_emails";
2572
- success: boolean;
2573
2571
  error: string;
2572
+ success: boolean;
2573
+ operation: "search_emails";
2574
2574
  messages?: {
2575
2575
  id: string;
2576
+ raw?: string | undefined;
2576
2577
  threadId?: string | undefined;
2577
2578
  labelIds?: string[] | undefined;
2578
2579
  snippet?: string | undefined;
@@ -2580,18 +2581,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2580
2581
  historyId?: string | undefined;
2581
2582
  internalDate?: string | undefined;
2582
2583
  sizeEstimate?: number | undefined;
2583
- raw?: string | undefined;
2584
2584
  payload?: {
2585
- mimeType?: string | undefined;
2586
- headers?: {
2587
- name: string;
2588
- value: string;
2589
- }[] | undefined;
2590
2585
  body?: {
2591
2586
  data?: string | undefined;
2592
2587
  size?: number | undefined;
2593
2588
  attachmentId?: string | undefined;
2594
2589
  } | undefined;
2590
+ mimeType?: string | undefined;
2591
+ headers?: {
2592
+ value: string;
2593
+ name: string;
2594
+ }[] | undefined;
2595
2595
  parts?: any[] | undefined;
2596
2596
  } | undefined;
2597
2597
  }[] | undefined;
@@ -2602,14 +2602,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2602
2602
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2603
2603
  error: z.ZodString;
2604
2604
  }, "strip", z.ZodTypeAny, {
2605
- operation: "mark_as_read";
2606
- success: boolean;
2607
2605
  error: string;
2606
+ success: boolean;
2607
+ operation: "mark_as_read";
2608
2608
  modified_messages?: string[] | undefined;
2609
2609
  }, {
2610
- operation: "mark_as_read";
2611
- success: boolean;
2612
2610
  error: string;
2611
+ success: boolean;
2612
+ operation: "mark_as_read";
2613
2613
  modified_messages?: string[] | undefined;
2614
2614
  }>, z.ZodObject<{
2615
2615
  operation: z.ZodLiteral<"mark_as_unread">;
@@ -2617,14 +2617,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2617
2617
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2618
2618
  error: z.ZodString;
2619
2619
  }, "strip", z.ZodTypeAny, {
2620
- operation: "mark_as_unread";
2621
- success: boolean;
2622
2620
  error: string;
2621
+ success: boolean;
2622
+ operation: "mark_as_unread";
2623
2623
  modified_messages?: string[] | undefined;
2624
2624
  }, {
2625
- operation: "mark_as_unread";
2626
- success: boolean;
2627
2625
  error: string;
2626
+ success: boolean;
2627
+ operation: "mark_as_unread";
2628
2628
  modified_messages?: string[] | undefined;
2629
2629
  }>, z.ZodObject<{
2630
2630
  operation: z.ZodLiteral<"create_draft">;
@@ -2647,11 +2647,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2647
2647
  name: z.ZodString;
2648
2648
  value: z.ZodString;
2649
2649
  }, "strip", z.ZodTypeAny, {
2650
- name: string;
2651
2650
  value: string;
2652
- }, {
2653
2651
  name: string;
2652
+ }, {
2654
2653
  value: string;
2654
+ name: string;
2655
2655
  }>, "many">>;
2656
2656
  body: z.ZodOptional<z.ZodObject<{
2657
2657
  data: z.ZodOptional<z.ZodString>;
@@ -2668,32 +2668,33 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2668
2668
  }>>;
2669
2669
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
- mimeType?: string | undefined;
2672
- headers?: {
2673
- name: string;
2674
- value: string;
2675
- }[] | undefined;
2676
2671
  body?: {
2677
2672
  data?: string | undefined;
2678
2673
  size?: number | undefined;
2679
2674
  attachmentId?: string | undefined;
2680
2675
  } | undefined;
2681
- parts?: any[] | undefined;
2682
- }, {
2683
2676
  mimeType?: string | undefined;
2684
2677
  headers?: {
2685
- name: string;
2686
2678
  value: string;
2679
+ name: string;
2687
2680
  }[] | undefined;
2681
+ parts?: any[] | undefined;
2682
+ }, {
2688
2683
  body?: {
2689
2684
  data?: string | undefined;
2690
2685
  size?: number | undefined;
2691
2686
  attachmentId?: string | undefined;
2692
2687
  } | undefined;
2688
+ mimeType?: string | undefined;
2689
+ headers?: {
2690
+ value: string;
2691
+ name: string;
2692
+ }[] | undefined;
2693
2693
  parts?: any[] | undefined;
2694
2694
  }>>;
2695
2695
  }, "strip", z.ZodTypeAny, {
2696
2696
  id: string;
2697
+ raw?: string | undefined;
2697
2698
  threadId?: string | undefined;
2698
2699
  labelIds?: string[] | undefined;
2699
2700
  snippet?: string | undefined;
@@ -2701,22 +2702,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2701
2702
  historyId?: string | undefined;
2702
2703
  internalDate?: string | undefined;
2703
2704
  sizeEstimate?: number | undefined;
2704
- raw?: string | undefined;
2705
2705
  payload?: {
2706
- mimeType?: string | undefined;
2707
- headers?: {
2708
- name: string;
2709
- value: string;
2710
- }[] | undefined;
2711
2706
  body?: {
2712
2707
  data?: string | undefined;
2713
2708
  size?: number | undefined;
2714
2709
  attachmentId?: string | undefined;
2715
2710
  } | undefined;
2711
+ mimeType?: string | undefined;
2712
+ headers?: {
2713
+ value: string;
2714
+ name: string;
2715
+ }[] | undefined;
2716
2716
  parts?: any[] | undefined;
2717
2717
  } | undefined;
2718
2718
  }, {
2719
2719
  id: string;
2720
+ raw?: string | undefined;
2720
2721
  threadId?: string | undefined;
2721
2722
  labelIds?: string[] | undefined;
2722
2723
  snippet?: string | undefined;
@@ -2724,25 +2725,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2724
2725
  historyId?: string | undefined;
2725
2726
  internalDate?: string | undefined;
2726
2727
  sizeEstimate?: number | undefined;
2727
- raw?: string | undefined;
2728
2728
  payload?: {
2729
- mimeType?: string | undefined;
2730
- headers?: {
2731
- name: string;
2732
- value: string;
2733
- }[] | undefined;
2734
2729
  body?: {
2735
2730
  data?: string | undefined;
2736
2731
  size?: number | undefined;
2737
2732
  attachmentId?: string | undefined;
2738
2733
  } | undefined;
2734
+ mimeType?: string | undefined;
2735
+ headers?: {
2736
+ value: string;
2737
+ name: string;
2738
+ }[] | undefined;
2739
2739
  parts?: any[] | undefined;
2740
2740
  } | undefined;
2741
2741
  }>;
2742
2742
  }, "strip", z.ZodTypeAny, {
2743
- id: string;
2744
2743
  message: {
2745
2744
  id: string;
2745
+ raw?: string | undefined;
2746
2746
  threadId?: string | undefined;
2747
2747
  labelIds?: string[] | undefined;
2748
2748
  snippet?: string | undefined;
@@ -2750,25 +2750,25 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2750
2750
  historyId?: string | undefined;
2751
2751
  internalDate?: string | undefined;
2752
2752
  sizeEstimate?: number | undefined;
2753
- raw?: string | undefined;
2754
2753
  payload?: {
2755
- mimeType?: string | undefined;
2756
- headers?: {
2757
- name: string;
2758
- value: string;
2759
- }[] | undefined;
2760
2754
  body?: {
2761
2755
  data?: string | undefined;
2762
2756
  size?: number | undefined;
2763
2757
  attachmentId?: string | undefined;
2764
2758
  } | undefined;
2759
+ mimeType?: string | undefined;
2760
+ headers?: {
2761
+ value: string;
2762
+ name: string;
2763
+ }[] | undefined;
2765
2764
  parts?: any[] | undefined;
2766
2765
  } | undefined;
2767
2766
  };
2768
- }, {
2769
2767
  id: string;
2768
+ }, {
2770
2769
  message: {
2771
2770
  id: string;
2771
+ raw?: string | undefined;
2772
2772
  threadId?: string | undefined;
2773
2773
  labelIds?: string[] | undefined;
2774
2774
  snippet?: string | undefined;
@@ -2776,31 +2776,31 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2776
2776
  historyId?: string | undefined;
2777
2777
  internalDate?: string | undefined;
2778
2778
  sizeEstimate?: number | undefined;
2779
- raw?: string | undefined;
2780
2779
  payload?: {
2781
- mimeType?: string | undefined;
2782
- headers?: {
2783
- name: string;
2784
- value: string;
2785
- }[] | undefined;
2786
2780
  body?: {
2787
2781
  data?: string | undefined;
2788
2782
  size?: number | undefined;
2789
2783
  attachmentId?: string | undefined;
2790
2784
  } | undefined;
2785
+ mimeType?: string | undefined;
2786
+ headers?: {
2787
+ value: string;
2788
+ name: string;
2789
+ }[] | undefined;
2791
2790
  parts?: any[] | undefined;
2792
2791
  } | undefined;
2793
2792
  };
2793
+ id: string;
2794
2794
  }>>;
2795
2795
  error: z.ZodString;
2796
2796
  }, "strip", z.ZodTypeAny, {
2797
- operation: "create_draft";
2798
- success: boolean;
2799
2797
  error: string;
2798
+ success: boolean;
2799
+ operation: "create_draft";
2800
2800
  draft?: {
2801
- id: string;
2802
2801
  message: {
2803
2802
  id: string;
2803
+ raw?: string | undefined;
2804
2804
  threadId?: string | undefined;
2805
2805
  labelIds?: string[] | undefined;
2806
2806
  snippet?: string | undefined;
@@ -2808,30 +2808,30 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2808
2808
  historyId?: string | undefined;
2809
2809
  internalDate?: string | undefined;
2810
2810
  sizeEstimate?: number | undefined;
2811
- raw?: string | undefined;
2812
2811
  payload?: {
2813
- mimeType?: string | undefined;
2814
- headers?: {
2815
- name: string;
2816
- value: string;
2817
- }[] | undefined;
2818
2812
  body?: {
2819
2813
  data?: string | undefined;
2820
2814
  size?: number | undefined;
2821
2815
  attachmentId?: string | undefined;
2822
2816
  } | undefined;
2817
+ mimeType?: string | undefined;
2818
+ headers?: {
2819
+ value: string;
2820
+ name: string;
2821
+ }[] | undefined;
2823
2822
  parts?: any[] | undefined;
2824
2823
  } | undefined;
2825
2824
  };
2825
+ id: string;
2826
2826
  } | undefined;
2827
2827
  }, {
2828
- operation: "create_draft";
2829
- success: boolean;
2830
2828
  error: string;
2829
+ success: boolean;
2830
+ operation: "create_draft";
2831
2831
  draft?: {
2832
- id: string;
2833
2832
  message: {
2834
2833
  id: string;
2834
+ raw?: string | undefined;
2835
2835
  threadId?: string | undefined;
2836
2836
  labelIds?: string[] | undefined;
2837
2837
  snippet?: string | undefined;
@@ -2839,21 +2839,21 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2839
2839
  historyId?: string | undefined;
2840
2840
  internalDate?: string | undefined;
2841
2841
  sizeEstimate?: number | undefined;
2842
- raw?: string | undefined;
2843
2842
  payload?: {
2844
- mimeType?: string | undefined;
2845
- headers?: {
2846
- name: string;
2847
- value: string;
2848
- }[] | undefined;
2849
2843
  body?: {
2850
2844
  data?: string | undefined;
2851
2845
  size?: number | undefined;
2852
2846
  attachmentId?: string | undefined;
2853
2847
  } | undefined;
2848
+ mimeType?: string | undefined;
2849
+ headers?: {
2850
+ value: string;
2851
+ name: string;
2852
+ }[] | undefined;
2854
2853
  parts?: any[] | undefined;
2855
2854
  } | undefined;
2856
2855
  };
2856
+ id: string;
2857
2857
  } | undefined;
2858
2858
  }>, z.ZodObject<{
2859
2859
  operation: z.ZodLiteral<"send_draft">;
@@ -2862,17 +2862,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2862
2862
  thread_id: z.ZodOptional<z.ZodString>;
2863
2863
  error: z.ZodString;
2864
2864
  }, "strip", z.ZodTypeAny, {
2865
- operation: "send_draft";
2866
- success: boolean;
2867
2865
  error: string;
2868
- message_id?: string | undefined;
2866
+ success: boolean;
2867
+ operation: "send_draft";
2869
2868
  thread_id?: string | undefined;
2869
+ message_id?: string | undefined;
2870
2870
  }, {
2871
- operation: "send_draft";
2872
- success: boolean;
2873
2871
  error: string;
2874
- message_id?: string | undefined;
2872
+ success: boolean;
2873
+ operation: "send_draft";
2875
2874
  thread_id?: string | undefined;
2875
+ message_id?: string | undefined;
2876
2876
  }>, z.ZodObject<{
2877
2877
  operation: z.ZodLiteral<"list_drafts">;
2878
2878
  success: z.ZodBoolean;
@@ -2894,11 +2894,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2894
2894
  name: z.ZodString;
2895
2895
  value: z.ZodString;
2896
2896
  }, "strip", z.ZodTypeAny, {
2897
- name: string;
2898
2897
  value: string;
2899
- }, {
2900
2898
  name: string;
2899
+ }, {
2901
2900
  value: string;
2901
+ name: string;
2902
2902
  }>, "many">>;
2903
2903
  body: z.ZodOptional<z.ZodObject<{
2904
2904
  data: z.ZodOptional<z.ZodString>;
@@ -2915,32 +2915,33 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2915
2915
  }>>;
2916
2916
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2917
2917
  }, "strip", z.ZodTypeAny, {
2918
- mimeType?: string | undefined;
2919
- headers?: {
2920
- name: string;
2921
- value: string;
2922
- }[] | undefined;
2923
2918
  body?: {
2924
2919
  data?: string | undefined;
2925
2920
  size?: number | undefined;
2926
2921
  attachmentId?: string | undefined;
2927
2922
  } | undefined;
2928
- parts?: any[] | undefined;
2929
- }, {
2930
2923
  mimeType?: string | undefined;
2931
2924
  headers?: {
2932
- name: string;
2933
2925
  value: string;
2926
+ name: string;
2934
2927
  }[] | undefined;
2928
+ parts?: any[] | undefined;
2929
+ }, {
2935
2930
  body?: {
2936
2931
  data?: string | undefined;
2937
2932
  size?: number | undefined;
2938
2933
  attachmentId?: string | undefined;
2939
2934
  } | undefined;
2935
+ mimeType?: string | undefined;
2936
+ headers?: {
2937
+ value: string;
2938
+ name: string;
2939
+ }[] | undefined;
2940
2940
  parts?: any[] | undefined;
2941
2941
  }>>;
2942
2942
  }, "strip", z.ZodTypeAny, {
2943
2943
  id: string;
2944
+ raw?: string | undefined;
2944
2945
  threadId?: string | undefined;
2945
2946
  labelIds?: string[] | undefined;
2946
2947
  snippet?: string | undefined;
@@ -2948,22 +2949,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2948
2949
  historyId?: string | undefined;
2949
2950
  internalDate?: string | undefined;
2950
2951
  sizeEstimate?: number | undefined;
2951
- raw?: string | undefined;
2952
2952
  payload?: {
2953
- mimeType?: string | undefined;
2954
- headers?: {
2955
- name: string;
2956
- value: string;
2957
- }[] | undefined;
2958
2953
  body?: {
2959
2954
  data?: string | undefined;
2960
2955
  size?: number | undefined;
2961
2956
  attachmentId?: string | undefined;
2962
2957
  } | undefined;
2958
+ mimeType?: string | undefined;
2959
+ headers?: {
2960
+ value: string;
2961
+ name: string;
2962
+ }[] | undefined;
2963
2963
  parts?: any[] | undefined;
2964
2964
  } | undefined;
2965
2965
  }, {
2966
2966
  id: string;
2967
+ raw?: string | undefined;
2967
2968
  threadId?: string | undefined;
2968
2969
  labelIds?: string[] | undefined;
2969
2970
  snippet?: string | undefined;
@@ -2971,25 +2972,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2971
2972
  historyId?: string | undefined;
2972
2973
  internalDate?: string | undefined;
2973
2974
  sizeEstimate?: number | undefined;
2974
- raw?: string | undefined;
2975
2975
  payload?: {
2976
- mimeType?: string | undefined;
2977
- headers?: {
2978
- name: string;
2979
- value: string;
2980
- }[] | undefined;
2981
2976
  body?: {
2982
2977
  data?: string | undefined;
2983
2978
  size?: number | undefined;
2984
2979
  attachmentId?: string | undefined;
2985
2980
  } | undefined;
2981
+ mimeType?: string | undefined;
2982
+ headers?: {
2983
+ value: string;
2984
+ name: string;
2985
+ }[] | undefined;
2986
2986
  parts?: any[] | undefined;
2987
2987
  } | undefined;
2988
2988
  }>;
2989
2989
  }, "strip", z.ZodTypeAny, {
2990
- id: string;
2991
2990
  message: {
2992
2991
  id: string;
2992
+ raw?: string | undefined;
2993
2993
  threadId?: string | undefined;
2994
2994
  labelIds?: string[] | undefined;
2995
2995
  snippet?: string | undefined;
@@ -2997,25 +2997,25 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2997
2997
  historyId?: string | undefined;
2998
2998
  internalDate?: string | undefined;
2999
2999
  sizeEstimate?: number | undefined;
3000
- raw?: string | undefined;
3001
3000
  payload?: {
3002
- mimeType?: string | undefined;
3003
- headers?: {
3004
- name: string;
3005
- value: string;
3006
- }[] | undefined;
3007
3001
  body?: {
3008
3002
  data?: string | undefined;
3009
3003
  size?: number | undefined;
3010
3004
  attachmentId?: string | undefined;
3011
3005
  } | undefined;
3006
+ mimeType?: string | undefined;
3007
+ headers?: {
3008
+ value: string;
3009
+ name: string;
3010
+ }[] | undefined;
3012
3011
  parts?: any[] | undefined;
3013
3012
  } | undefined;
3014
3013
  };
3015
- }, {
3016
3014
  id: string;
3015
+ }, {
3017
3016
  message: {
3018
3017
  id: string;
3018
+ raw?: string | undefined;
3019
3019
  threadId?: string | undefined;
3020
3020
  labelIds?: string[] | undefined;
3021
3021
  snippet?: string | undefined;
@@ -3023,35 +3023,35 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3023
3023
  historyId?: string | undefined;
3024
3024
  internalDate?: string | undefined;
3025
3025
  sizeEstimate?: number | undefined;
3026
- raw?: string | undefined;
3027
3026
  payload?: {
3028
- mimeType?: string | undefined;
3029
- headers?: {
3030
- name: string;
3031
- value: string;
3032
- }[] | undefined;
3033
3027
  body?: {
3034
3028
  data?: string | undefined;
3035
3029
  size?: number | undefined;
3036
3030
  attachmentId?: string | undefined;
3037
3031
  } | undefined;
3032
+ mimeType?: string | undefined;
3033
+ headers?: {
3034
+ value: string;
3035
+ name: string;
3036
+ }[] | undefined;
3038
3037
  parts?: any[] | undefined;
3039
3038
  } | undefined;
3040
3039
  };
3040
+ id: string;
3041
3041
  }>, "many">>;
3042
3042
  next_page_token: z.ZodOptional<z.ZodString>;
3043
3043
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3044
3044
  error: z.ZodString;
3045
3045
  }, "strip", z.ZodTypeAny, {
3046
- operation: "list_drafts";
3047
- success: boolean;
3048
3046
  error: string;
3047
+ success: boolean;
3048
+ operation: "list_drafts";
3049
3049
  next_page_token?: string | undefined;
3050
3050
  result_size_estimate?: number | undefined;
3051
3051
  drafts?: {
3052
- id: string;
3053
3052
  message: {
3054
3053
  id: string;
3054
+ raw?: string | undefined;
3055
3055
  threadId?: string | undefined;
3056
3056
  labelIds?: string[] | undefined;
3057
3057
  snippet?: string | undefined;
@@ -3059,32 +3059,32 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3059
3059
  historyId?: string | undefined;
3060
3060
  internalDate?: string | undefined;
3061
3061
  sizeEstimate?: number | undefined;
3062
- raw?: string | undefined;
3063
3062
  payload?: {
3064
- mimeType?: string | undefined;
3065
- headers?: {
3066
- name: string;
3067
- value: string;
3068
- }[] | undefined;
3069
3063
  body?: {
3070
3064
  data?: string | undefined;
3071
3065
  size?: number | undefined;
3072
3066
  attachmentId?: string | undefined;
3073
3067
  } | undefined;
3068
+ mimeType?: string | undefined;
3069
+ headers?: {
3070
+ value: string;
3071
+ name: string;
3072
+ }[] | undefined;
3074
3073
  parts?: any[] | undefined;
3075
3074
  } | undefined;
3076
3075
  };
3076
+ id: string;
3077
3077
  }[] | undefined;
3078
3078
  }, {
3079
- operation: "list_drafts";
3080
- success: boolean;
3081
3079
  error: string;
3080
+ success: boolean;
3081
+ operation: "list_drafts";
3082
3082
  next_page_token?: string | undefined;
3083
3083
  result_size_estimate?: number | undefined;
3084
3084
  drafts?: {
3085
- id: string;
3086
3085
  message: {
3087
3086
  id: string;
3087
+ raw?: string | undefined;
3088
3088
  threadId?: string | undefined;
3089
3089
  labelIds?: string[] | undefined;
3090
3090
  snippet?: string | undefined;
@@ -3092,21 +3092,21 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3092
3092
  historyId?: string | undefined;
3093
3093
  internalDate?: string | undefined;
3094
3094
  sizeEstimate?: number | undefined;
3095
- raw?: string | undefined;
3096
3095
  payload?: {
3097
- mimeType?: string | undefined;
3098
- headers?: {
3099
- name: string;
3100
- value: string;
3101
- }[] | undefined;
3102
3096
  body?: {
3103
3097
  data?: string | undefined;
3104
3098
  size?: number | undefined;
3105
3099
  attachmentId?: string | undefined;
3106
3100
  } | undefined;
3101
+ mimeType?: string | undefined;
3102
+ headers?: {
3103
+ value: string;
3104
+ name: string;
3105
+ }[] | undefined;
3107
3106
  parts?: any[] | undefined;
3108
3107
  } | undefined;
3109
3108
  };
3109
+ id: string;
3110
3110
  }[] | undefined;
3111
3111
  }>, z.ZodObject<{
3112
3112
  operation: z.ZodLiteral<"delete_email">;
@@ -3114,14 +3114,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3114
3114
  deleted_message_id: z.ZodOptional<z.ZodString>;
3115
3115
  error: z.ZodString;
3116
3116
  }, "strip", z.ZodTypeAny, {
3117
- operation: "delete_email";
3118
- success: boolean;
3119
3117
  error: string;
3118
+ success: boolean;
3119
+ operation: "delete_email";
3120
3120
  deleted_message_id?: string | undefined;
3121
3121
  }, {
3122
- operation: "delete_email";
3123
- success: boolean;
3124
3122
  error: string;
3123
+ success: boolean;
3124
+ operation: "delete_email";
3125
3125
  deleted_message_id?: string | undefined;
3126
3126
  }>, z.ZodObject<{
3127
3127
  operation: z.ZodLiteral<"trash_email">;
@@ -3129,14 +3129,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3129
3129
  trashed_message_id: z.ZodOptional<z.ZodString>;
3130
3130
  error: z.ZodString;
3131
3131
  }, "strip", z.ZodTypeAny, {
3132
- operation: "trash_email";
3133
- success: boolean;
3134
3132
  error: string;
3133
+ success: boolean;
3134
+ operation: "trash_email";
3135
3135
  trashed_message_id?: string | undefined;
3136
3136
  }, {
3137
- operation: "trash_email";
3138
- success: boolean;
3139
3137
  error: string;
3138
+ success: boolean;
3139
+ operation: "trash_email";
3140
3140
  trashed_message_id?: string | undefined;
3141
3141
  }>, z.ZodObject<{
3142
3142
  operation: z.ZodLiteral<"list_threads">;
@@ -3160,11 +3160,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3160
3160
  name: z.ZodString;
3161
3161
  value: z.ZodString;
3162
3162
  }, "strip", z.ZodTypeAny, {
3163
- name: string;
3164
3163
  value: string;
3165
- }, {
3166
3164
  name: string;
3165
+ }, {
3167
3166
  value: string;
3167
+ name: string;
3168
3168
  }>, "many">>;
3169
3169
  body: z.ZodOptional<z.ZodObject<{
3170
3170
  data: z.ZodOptional<z.ZodString>;
@@ -3181,32 +3181,33 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3181
3181
  }>>;
3182
3182
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3183
3183
  }, "strip", z.ZodTypeAny, {
3184
- mimeType?: string | undefined;
3185
- headers?: {
3186
- name: string;
3187
- value: string;
3188
- }[] | undefined;
3189
3184
  body?: {
3190
3185
  data?: string | undefined;
3191
3186
  size?: number | undefined;
3192
3187
  attachmentId?: string | undefined;
3193
3188
  } | undefined;
3194
- parts?: any[] | undefined;
3195
- }, {
3196
3189
  mimeType?: string | undefined;
3197
3190
  headers?: {
3198
- name: string;
3199
3191
  value: string;
3192
+ name: string;
3200
3193
  }[] | undefined;
3194
+ parts?: any[] | undefined;
3195
+ }, {
3201
3196
  body?: {
3202
3197
  data?: string | undefined;
3203
3198
  size?: number | undefined;
3204
3199
  attachmentId?: string | undefined;
3205
3200
  } | undefined;
3201
+ mimeType?: string | undefined;
3202
+ headers?: {
3203
+ value: string;
3204
+ name: string;
3205
+ }[] | undefined;
3206
3206
  parts?: any[] | undefined;
3207
3207
  }>>;
3208
3208
  }, "strip", z.ZodTypeAny, {
3209
3209
  id: string;
3210
+ raw?: string | undefined;
3210
3211
  threadId?: string | undefined;
3211
3212
  labelIds?: string[] | undefined;
3212
3213
  snippet?: string | undefined;
@@ -3214,22 +3215,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3214
3215
  historyId?: string | undefined;
3215
3216
  internalDate?: string | undefined;
3216
3217
  sizeEstimate?: number | undefined;
3217
- raw?: string | undefined;
3218
3218
  payload?: {
3219
- mimeType?: string | undefined;
3220
- headers?: {
3221
- name: string;
3222
- value: string;
3223
- }[] | undefined;
3224
3219
  body?: {
3225
3220
  data?: string | undefined;
3226
3221
  size?: number | undefined;
3227
3222
  attachmentId?: string | undefined;
3228
3223
  } | undefined;
3224
+ mimeType?: string | undefined;
3225
+ headers?: {
3226
+ value: string;
3227
+ name: string;
3228
+ }[] | undefined;
3229
3229
  parts?: any[] | undefined;
3230
3230
  } | undefined;
3231
3231
  }, {
3232
3232
  id: string;
3233
+ raw?: string | undefined;
3233
3234
  threadId?: string | undefined;
3234
3235
  labelIds?: string[] | undefined;
3235
3236
  snippet?: string | undefined;
@@ -3237,18 +3238,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3237
3238
  historyId?: string | undefined;
3238
3239
  internalDate?: string | undefined;
3239
3240
  sizeEstimate?: number | undefined;
3240
- raw?: string | undefined;
3241
3241
  payload?: {
3242
- mimeType?: string | undefined;
3243
- headers?: {
3244
- name: string;
3245
- value: string;
3246
- }[] | undefined;
3247
3242
  body?: {
3248
3243
  data?: string | undefined;
3249
3244
  size?: number | undefined;
3250
3245
  attachmentId?: string | undefined;
3251
3246
  } | undefined;
3247
+ mimeType?: string | undefined;
3248
+ headers?: {
3249
+ value: string;
3250
+ name: string;
3251
+ }[] | undefined;
3252
3252
  parts?: any[] | undefined;
3253
3253
  } | undefined;
3254
3254
  }>, "many">>;
@@ -3257,6 +3257,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3257
3257
  id: string;
3258
3258
  messages?: {
3259
3259
  id: string;
3260
+ raw?: string | undefined;
3260
3261
  threadId?: string | undefined;
3261
3262
  labelIds?: string[] | undefined;
3262
3263
  snippet?: string | undefined;
@@ -3264,18 +3265,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3264
3265
  historyId?: string | undefined;
3265
3266
  internalDate?: string | undefined;
3266
3267
  sizeEstimate?: number | undefined;
3267
- raw?: string | undefined;
3268
3268
  payload?: {
3269
- mimeType?: string | undefined;
3270
- headers?: {
3271
- name: string;
3272
- value: string;
3273
- }[] | undefined;
3274
3269
  body?: {
3275
3270
  data?: string | undefined;
3276
3271
  size?: number | undefined;
3277
3272
  attachmentId?: string | undefined;
3278
3273
  } | undefined;
3274
+ mimeType?: string | undefined;
3275
+ headers?: {
3276
+ value: string;
3277
+ name: string;
3278
+ }[] | undefined;
3279
3279
  parts?: any[] | undefined;
3280
3280
  } | undefined;
3281
3281
  }[] | undefined;
@@ -3285,6 +3285,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3285
3285
  id: string;
3286
3286
  messages?: {
3287
3287
  id: string;
3288
+ raw?: string | undefined;
3288
3289
  threadId?: string | undefined;
3289
3290
  labelIds?: string[] | undefined;
3290
3291
  snippet?: string | undefined;
@@ -3292,18 +3293,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3292
3293
  historyId?: string | undefined;
3293
3294
  internalDate?: string | undefined;
3294
3295
  sizeEstimate?: number | undefined;
3295
- raw?: string | undefined;
3296
3296
  payload?: {
3297
- mimeType?: string | undefined;
3298
- headers?: {
3299
- name: string;
3300
- value: string;
3301
- }[] | undefined;
3302
3297
  body?: {
3303
3298
  data?: string | undefined;
3304
3299
  size?: number | undefined;
3305
3300
  attachmentId?: string | undefined;
3306
3301
  } | undefined;
3302
+ mimeType?: string | undefined;
3303
+ headers?: {
3304
+ value: string;
3305
+ name: string;
3306
+ }[] | undefined;
3307
3307
  parts?: any[] | undefined;
3308
3308
  } | undefined;
3309
3309
  }[] | undefined;
@@ -3314,15 +3314,16 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3314
3314
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3315
3315
  error: z.ZodString;
3316
3316
  }, "strip", z.ZodTypeAny, {
3317
- operation: "list_threads";
3318
- success: boolean;
3319
3317
  error: string;
3318
+ success: boolean;
3319
+ operation: "list_threads";
3320
3320
  next_page_token?: string | undefined;
3321
3321
  result_size_estimate?: number | undefined;
3322
3322
  threads?: {
3323
3323
  id: string;
3324
3324
  messages?: {
3325
3325
  id: string;
3326
+ raw?: string | undefined;
3326
3327
  threadId?: string | undefined;
3327
3328
  labelIds?: string[] | undefined;
3328
3329
  snippet?: string | undefined;
@@ -3330,18 +3331,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3330
3331
  historyId?: string | undefined;
3331
3332
  internalDate?: string | undefined;
3332
3333
  sizeEstimate?: number | undefined;
3333
- raw?: string | undefined;
3334
3334
  payload?: {
3335
- mimeType?: string | undefined;
3336
- headers?: {
3337
- name: string;
3338
- value: string;
3339
- }[] | undefined;
3340
3335
  body?: {
3341
3336
  data?: string | undefined;
3342
3337
  size?: number | undefined;
3343
3338
  attachmentId?: string | undefined;
3344
3339
  } | undefined;
3340
+ mimeType?: string | undefined;
3341
+ headers?: {
3342
+ value: string;
3343
+ name: string;
3344
+ }[] | undefined;
3345
3345
  parts?: any[] | undefined;
3346
3346
  } | undefined;
3347
3347
  }[] | undefined;
@@ -3349,15 +3349,16 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3349
3349
  historyId?: string | undefined;
3350
3350
  }[] | undefined;
3351
3351
  }, {
3352
- operation: "list_threads";
3353
- success: boolean;
3354
3352
  error: string;
3353
+ success: boolean;
3354
+ operation: "list_threads";
3355
3355
  next_page_token?: string | undefined;
3356
3356
  result_size_estimate?: number | undefined;
3357
3357
  threads?: {
3358
3358
  id: string;
3359
3359
  messages?: {
3360
3360
  id: string;
3361
+ raw?: string | undefined;
3361
3362
  threadId?: string | undefined;
3362
3363
  labelIds?: string[] | undefined;
3363
3364
  snippet?: string | undefined;
@@ -3365,18 +3366,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3365
3366
  historyId?: string | undefined;
3366
3367
  internalDate?: string | undefined;
3367
3368
  sizeEstimate?: number | undefined;
3368
- raw?: string | undefined;
3369
3369
  payload?: {
3370
- mimeType?: string | undefined;
3371
- headers?: {
3372
- name: string;
3373
- value: string;
3374
- }[] | undefined;
3375
3370
  body?: {
3376
3371
  data?: string | undefined;
3377
3372
  size?: number | undefined;
3378
3373
  attachmentId?: string | undefined;
3379
3374
  } | undefined;
3375
+ mimeType?: string | undefined;
3376
+ headers?: {
3377
+ value: string;
3378
+ name: string;
3379
+ }[] | undefined;
3380
3380
  parts?: any[] | undefined;
3381
3381
  } | undefined;
3382
3382
  }[] | undefined;
@@ -3393,37 +3393,37 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3393
3393
  messageListVisibility: z.ZodOptional<z.ZodEnum<["show", "hide"]>>;
3394
3394
  labelListVisibility: z.ZodOptional<z.ZodEnum<["labelShow", "labelShowIfUnread", "labelHide"]>>;
3395
3395
  }, "strip", z.ZodTypeAny, {
3396
- id: string;
3397
3396
  name: string;
3397
+ id: string;
3398
3398
  type?: "user" | "system" | undefined;
3399
3399
  messageListVisibility?: "show" | "hide" | undefined;
3400
3400
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3401
3401
  }, {
3402
- id: string;
3403
3402
  name: string;
3403
+ id: string;
3404
3404
  type?: "user" | "system" | undefined;
3405
3405
  messageListVisibility?: "show" | "hide" | undefined;
3406
3406
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3407
3407
  }>, "many">>;
3408
3408
  error: z.ZodString;
3409
3409
  }, "strip", z.ZodTypeAny, {
3410
- operation: "list_labels";
3411
- success: boolean;
3412
3410
  error: string;
3411
+ success: boolean;
3412
+ operation: "list_labels";
3413
3413
  labels?: {
3414
- id: string;
3415
3414
  name: string;
3415
+ id: string;
3416
3416
  type?: "user" | "system" | undefined;
3417
3417
  messageListVisibility?: "show" | "hide" | undefined;
3418
3418
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3419
3419
  }[] | undefined;
3420
3420
  }, {
3421
- operation: "list_labels";
3422
- success: boolean;
3423
3421
  error: string;
3422
+ success: boolean;
3423
+ operation: "list_labels";
3424
3424
  labels?: {
3425
- id: string;
3426
3425
  name: string;
3426
+ id: string;
3427
3427
  type?: "user" | "system" | undefined;
3428
3428
  messageListVisibility?: "show" | "hide" | undefined;
3429
3429
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
@@ -3438,37 +3438,37 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3438
3438
  messageListVisibility: z.ZodOptional<z.ZodEnum<["show", "hide"]>>;
3439
3439
  labelListVisibility: z.ZodOptional<z.ZodEnum<["labelShow", "labelShowIfUnread", "labelHide"]>>;
3440
3440
  }, "strip", z.ZodTypeAny, {
3441
- id: string;
3442
3441
  name: string;
3442
+ id: string;
3443
3443
  type?: "user" | "system" | undefined;
3444
3444
  messageListVisibility?: "show" | "hide" | undefined;
3445
3445
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3446
3446
  }, {
3447
- id: string;
3448
3447
  name: string;
3448
+ id: string;
3449
3449
  type?: "user" | "system" | undefined;
3450
3450
  messageListVisibility?: "show" | "hide" | undefined;
3451
3451
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3452
3452
  }>>;
3453
3453
  error: z.ZodString;
3454
3454
  }, "strip", z.ZodTypeAny, {
3455
- operation: "create_label";
3456
- success: boolean;
3457
3455
  error: string;
3456
+ success: boolean;
3457
+ operation: "create_label";
3458
3458
  label?: {
3459
- id: string;
3460
3459
  name: string;
3460
+ id: string;
3461
3461
  type?: "user" | "system" | undefined;
3462
3462
  messageListVisibility?: "show" | "hide" | undefined;
3463
3463
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3464
3464
  } | undefined;
3465
3465
  }, {
3466
- operation: "create_label";
3467
- success: boolean;
3468
3466
  error: string;
3467
+ success: boolean;
3468
+ operation: "create_label";
3469
3469
  label?: {
3470
- id: string;
3471
3470
  name: string;
3471
+ id: string;
3472
3472
  type?: "user" | "system" | undefined;
3473
3473
  messageListVisibility?: "show" | "hide" | undefined;
3474
3474
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
@@ -3480,31 +3480,31 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3480
3480
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3481
3481
  error: z.ZodString;
3482
3482
  }, "strip", z.ZodTypeAny, {
3483
- operation: "modify_message_labels";
3484
- success: boolean;
3485
3483
  error: string;
3486
- message_id?: string | undefined;
3484
+ success: boolean;
3485
+ operation: "modify_message_labels";
3487
3486
  label_ids?: string[] | undefined;
3487
+ message_id?: string | undefined;
3488
3488
  }, {
3489
- operation: "modify_message_labels";
3490
- success: boolean;
3491
3489
  error: string;
3492
- message_id?: string | undefined;
3490
+ success: boolean;
3491
+ operation: "modify_message_labels";
3493
3492
  label_ids?: string[] | undefined;
3493
+ message_id?: string | undefined;
3494
3494
  }>, z.ZodObject<{
3495
3495
  operation: z.ZodLiteral<"modify_thread_labels">;
3496
3496
  success: z.ZodBoolean;
3497
3497
  thread_id: z.ZodOptional<z.ZodString>;
3498
3498
  error: z.ZodString;
3499
3499
  }, "strip", z.ZodTypeAny, {
3500
- operation: "modify_thread_labels";
3501
- success: boolean;
3502
3500
  error: string;
3501
+ success: boolean;
3502
+ operation: "modify_thread_labels";
3503
3503
  thread_id?: string | undefined;
3504
3504
  }, {
3505
- operation: "modify_thread_labels";
3506
- success: boolean;
3507
3505
  error: string;
3506
+ success: boolean;
3507
+ operation: "modify_thread_labels";
3508
3508
  thread_id?: string | undefined;
3509
3509
  }>]>;
3510
3510
  static readonly shortDescription = "Gmail integration for email management";