@bubblelab/bubble-core 0.1.152 → 0.1.154

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 (102) hide show
  1. package/dist/bubble-bundle.d.ts +139 -137
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +68 -68
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +20 -20
  4. package/dist/bubbles/service-bubble/airtable.d.ts +126 -126
  5. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  6. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +20 -20
  7. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +30 -30
  8. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  9. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  10. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +22 -22
  11. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +4 -4
  12. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +16 -16
  13. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +6 -6
  14. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +140 -140
  15. package/dist/bubbles/service-bubble/apify/apify.d.ts +28 -28
  16. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +22 -22
  17. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +22 -22
  18. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +34 -34
  19. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +34 -34
  20. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -1
  21. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +1 -3
  22. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -1
  23. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
  24. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
  25. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +16 -16
  26. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +20 -20
  27. package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
  28. package/dist/bubbles/service-bubble/firecrawl.d.ts +266 -266
  29. package/dist/bubbles/service-bubble/followupboss.d.ts +148 -148
  30. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +16 -16
  31. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +16 -16
  32. package/dist/bubbles/service-bubble/github.d.ts +88 -88
  33. package/dist/bubbles/service-bubble/gmail.d.ts +282 -282
  34. package/dist/bubbles/service-bubble/google-calendar.d.ts +28 -28
  35. package/dist/bubbles/service-bubble/google-drive.d.ts +98 -98
  36. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
  37. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +30 -30
  38. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  39. package/dist/bubbles/service-bubble/http.d.ts +18 -18
  40. package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
  41. package/dist/bubbles/service-bubble/jira/jira.d.ts +70 -70
  42. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +74 -74
  43. package/dist/bubbles/service-bubble/notion/notion.d.ts +352 -352
  44. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +36 -36
  45. package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
  46. package/dist/bubbles/service-bubble/resend.d.ts +32 -32
  47. package/dist/bubbles/service-bubble/slack/slack.d.ts +616 -616
  48. package/dist/bubbles/service-bubble/slack/slack.js +1 -1
  49. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
  50. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  51. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +96 -96
  52. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +104 -104
  53. package/dist/bubbles/service-bubble/telegram.d.ts +66 -66
  54. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +16 -16
  55. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +16 -16
  56. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  57. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  58. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  59. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  60. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  61. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  62. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  63. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  64. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  65. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  67. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +14 -14
  68. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +8 -8
  69. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts.map +1 -1
  71. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.js +1 -0
  72. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.js.map +1 -1
  73. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
  74. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  75. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +182 -182
  76. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  77. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  78. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  79. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +12 -12
  80. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +14 -14
  81. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +4 -4
  82. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  83. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +16 -16
  84. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +20 -20
  85. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  86. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +86 -86
  87. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  88. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  89. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  90. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +6 -6
  91. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +12 -12
  92. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +34 -34
  93. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +6 -6
  94. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  95. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +12 -12
  96. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +46 -46
  97. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +40 -40
  98. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +48 -48
  99. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +98 -98
  100. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +24 -24
  101. package/dist/bubbles.json +1 -1
  102. package/package.json +2 -2
@@ -69,8 +69,8 @@ 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";
73
72
  operation: "get_email";
73
+ format: "metadata" | "minimal" | "raw" | "full";
74
74
  message_id: string;
75
75
  credentials?: Partial<Record<CredentialType, string>> | undefined;
76
76
  metadata_headers?: string[] | undefined;
@@ -87,14 +87,14 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
87
87
  include_spam_trash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
88
88
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
89
89
  }, "strip", z.ZodTypeAny, {
90
- query: string;
91
90
  operation: "search_emails";
91
+ query: string;
92
92
  max_results: number;
93
93
  include_spam_trash: boolean;
94
94
  credentials?: Partial<Record<CredentialType, string>> | undefined;
95
95
  }, {
96
- query: string;
97
96
  operation: "search_emails";
97
+ query: string;
98
98
  credentials?: Partial<Record<CredentialType, string>> | undefined;
99
99
  max_results?: number | undefined;
100
100
  include_spam_trash?: boolean | undefined;
@@ -254,16 +254,16 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
254
254
  text_color: z.ZodOptional<z.ZodString>;
255
255
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
256
256
  }, "strip", z.ZodTypeAny, {
257
- name: string;
258
257
  operation: "create_label";
258
+ name: string;
259
259
  label_list_visibility: "labelShow" | "labelShowIfUnread" | "labelHide";
260
260
  message_list_visibility: "show" | "hide";
261
261
  credentials?: Partial<Record<CredentialType, string>> | undefined;
262
262
  background_color?: string | undefined;
263
263
  text_color?: string | undefined;
264
264
  }, {
265
- name: string;
266
265
  operation: "create_label";
266
+ name: string;
267
267
  credentials?: Partial<Record<CredentialType, string>> | undefined;
268
268
  label_list_visibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
269
269
  message_list_visibility?: "show" | "hide" | undefined;
@@ -313,14 +313,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
313
313
  thread_id: z.ZodOptional<z.ZodString>;
314
314
  error: z.ZodString;
315
315
  }, "strip", z.ZodTypeAny, {
316
- error: string;
317
316
  success: boolean;
317
+ error: string;
318
318
  operation: "send_email";
319
319
  message_id?: string | undefined;
320
320
  thread_id?: string | undefined;
321
321
  }, {
322
- error: string;
323
322
  success: boolean;
323
+ error: string;
324
324
  operation: "send_email";
325
325
  message_id?: string | undefined;
326
326
  thread_id?: string | undefined;
@@ -354,37 +354,37 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
354
354
  size: z.ZodOptional<z.ZodNumber>;
355
355
  attachmentId: z.ZodOptional<z.ZodString>;
356
356
  }, "strip", z.ZodTypeAny, {
357
- data?: string | undefined;
358
357
  size?: number | undefined;
358
+ data?: string | undefined;
359
359
  attachmentId?: string | undefined;
360
360
  }, {
361
- data?: string | undefined;
362
361
  size?: number | undefined;
362
+ data?: string | undefined;
363
363
  attachmentId?: string | undefined;
364
364
  }>>;
365
365
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
366
366
  }, "strip", z.ZodTypeAny, {
367
- mimeType?: string | undefined;
368
367
  parts?: any[] | undefined;
368
+ mimeType?: string | undefined;
369
369
  headers?: {
370
370
  value: string;
371
371
  name: string;
372
372
  }[] | undefined;
373
373
  body?: {
374
- data?: string | undefined;
375
374
  size?: number | undefined;
375
+ data?: string | undefined;
376
376
  attachmentId?: string | undefined;
377
377
  } | undefined;
378
378
  }, {
379
- mimeType?: string | undefined;
380
379
  parts?: any[] | undefined;
380
+ mimeType?: string | undefined;
381
381
  headers?: {
382
382
  value: string;
383
383
  name: string;
384
384
  }[] | undefined;
385
385
  body?: {
386
- data?: string | undefined;
387
386
  size?: number | undefined;
387
+ data?: string | undefined;
388
388
  attachmentId?: string | undefined;
389
389
  } | undefined;
390
390
  }>>;
@@ -399,15 +399,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
399
399
  sizeEstimate?: number | undefined;
400
400
  raw?: string | undefined;
401
401
  payload?: {
402
- mimeType?: string | undefined;
403
402
  parts?: any[] | undefined;
403
+ mimeType?: string | undefined;
404
404
  headers?: {
405
405
  value: string;
406
406
  name: string;
407
407
  }[] | undefined;
408
408
  body?: {
409
- data?: string | undefined;
410
409
  size?: number | undefined;
410
+ data?: string | undefined;
411
411
  attachmentId?: string | undefined;
412
412
  } | undefined;
413
413
  } | undefined;
@@ -422,15 +422,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
422
422
  sizeEstimate?: number | undefined;
423
423
  raw?: string | undefined;
424
424
  payload?: {
425
- mimeType?: string | undefined;
426
425
  parts?: any[] | undefined;
426
+ mimeType?: string | undefined;
427
427
  headers?: {
428
428
  value: string;
429
429
  name: string;
430
430
  }[] | undefined;
431
431
  body?: {
432
- data?: string | undefined;
433
432
  size?: number | undefined;
433
+ data?: string | undefined;
434
434
  attachmentId?: string | undefined;
435
435
  } | undefined;
436
436
  } | undefined;
@@ -439,8 +439,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
439
439
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
440
440
  error: z.ZodString;
441
441
  }, "strip", z.ZodTypeAny, {
442
- error: string;
443
442
  success: boolean;
443
+ error: string;
444
444
  operation: "list_emails";
445
445
  messages?: {
446
446
  id: string;
@@ -453,15 +453,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
453
453
  sizeEstimate?: number | undefined;
454
454
  raw?: string | undefined;
455
455
  payload?: {
456
- mimeType?: string | undefined;
457
456
  parts?: any[] | undefined;
457
+ mimeType?: string | undefined;
458
458
  headers?: {
459
459
  value: string;
460
460
  name: string;
461
461
  }[] | undefined;
462
462
  body?: {
463
- data?: string | undefined;
464
463
  size?: number | undefined;
464
+ data?: string | undefined;
465
465
  attachmentId?: string | undefined;
466
466
  } | undefined;
467
467
  } | undefined;
@@ -469,8 +469,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
469
469
  next_page_token?: string | undefined;
470
470
  result_size_estimate?: number | undefined;
471
471
  }, {
472
- error: string;
473
472
  success: boolean;
473
+ error: string;
474
474
  operation: "list_emails";
475
475
  messages?: {
476
476
  id: string;
@@ -483,15 +483,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
483
483
  sizeEstimate?: number | undefined;
484
484
  raw?: string | undefined;
485
485
  payload?: {
486
- mimeType?: string | undefined;
487
486
  parts?: any[] | undefined;
487
+ mimeType?: string | undefined;
488
488
  headers?: {
489
489
  value: string;
490
490
  name: string;
491
491
  }[] | undefined;
492
492
  body?: {
493
- data?: string | undefined;
494
493
  size?: number | undefined;
494
+ data?: string | undefined;
495
495
  attachmentId?: string | undefined;
496
496
  } | undefined;
497
497
  } | undefined;
@@ -528,37 +528,37 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
528
528
  size: z.ZodOptional<z.ZodNumber>;
529
529
  attachmentId: z.ZodOptional<z.ZodString>;
530
530
  }, "strip", z.ZodTypeAny, {
531
- data?: string | undefined;
532
531
  size?: number | undefined;
532
+ data?: string | undefined;
533
533
  attachmentId?: string | undefined;
534
534
  }, {
535
- data?: string | undefined;
536
535
  size?: number | undefined;
536
+ data?: string | undefined;
537
537
  attachmentId?: string | undefined;
538
538
  }>>;
539
539
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
540
540
  }, "strip", z.ZodTypeAny, {
541
- mimeType?: string | undefined;
542
541
  parts?: any[] | undefined;
542
+ mimeType?: string | undefined;
543
543
  headers?: {
544
544
  value: string;
545
545
  name: string;
546
546
  }[] | undefined;
547
547
  body?: {
548
- data?: string | undefined;
549
548
  size?: number | undefined;
549
+ data?: string | undefined;
550
550
  attachmentId?: string | undefined;
551
551
  } | undefined;
552
552
  }, {
553
- mimeType?: string | undefined;
554
553
  parts?: any[] | undefined;
554
+ mimeType?: string | undefined;
555
555
  headers?: {
556
556
  value: string;
557
557
  name: string;
558
558
  }[] | undefined;
559
559
  body?: {
560
- data?: string | undefined;
561
560
  size?: number | undefined;
561
+ data?: string | undefined;
562
562
  attachmentId?: string | undefined;
563
563
  } | undefined;
564
564
  }>>;
@@ -573,15 +573,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
573
573
  sizeEstimate?: number | undefined;
574
574
  raw?: string | undefined;
575
575
  payload?: {
576
- mimeType?: string | undefined;
577
576
  parts?: any[] | undefined;
577
+ mimeType?: string | undefined;
578
578
  headers?: {
579
579
  value: string;
580
580
  name: string;
581
581
  }[] | undefined;
582
582
  body?: {
583
- data?: string | undefined;
584
583
  size?: number | undefined;
584
+ data?: string | undefined;
585
585
  attachmentId?: string | undefined;
586
586
  } | undefined;
587
587
  } | undefined;
@@ -596,23 +596,23 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
596
596
  sizeEstimate?: number | undefined;
597
597
  raw?: string | undefined;
598
598
  payload?: {
599
- mimeType?: string | undefined;
600
599
  parts?: any[] | undefined;
600
+ mimeType?: string | undefined;
601
601
  headers?: {
602
602
  value: string;
603
603
  name: string;
604
604
  }[] | undefined;
605
605
  body?: {
606
- data?: string | undefined;
607
606
  size?: number | undefined;
607
+ data?: string | undefined;
608
608
  attachmentId?: string | undefined;
609
609
  } | undefined;
610
610
  } | undefined;
611
611
  }>>;
612
612
  error: z.ZodString;
613
613
  }, "strip", z.ZodTypeAny, {
614
- error: string;
615
614
  success: boolean;
615
+ error: string;
616
616
  operation: "get_email";
617
617
  message?: {
618
618
  id: string;
@@ -625,22 +625,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
625
625
  sizeEstimate?: number | undefined;
626
626
  raw?: string | undefined;
627
627
  payload?: {
628
- mimeType?: string | undefined;
629
628
  parts?: any[] | undefined;
629
+ mimeType?: string | undefined;
630
630
  headers?: {
631
631
  value: string;
632
632
  name: string;
633
633
  }[] | undefined;
634
634
  body?: {
635
- data?: string | undefined;
636
635
  size?: number | undefined;
636
+ data?: string | undefined;
637
637
  attachmentId?: string | undefined;
638
638
  } | undefined;
639
639
  } | undefined;
640
640
  } | undefined;
641
641
  }, {
642
- error: string;
643
642
  success: boolean;
643
+ error: string;
644
644
  operation: "get_email";
645
645
  message?: {
646
646
  id: string;
@@ -653,15 +653,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
653
653
  sizeEstimate?: number | undefined;
654
654
  raw?: string | undefined;
655
655
  payload?: {
656
- mimeType?: string | undefined;
657
656
  parts?: any[] | undefined;
657
+ mimeType?: string | undefined;
658
658
  headers?: {
659
659
  value: string;
660
660
  name: string;
661
661
  }[] | undefined;
662
662
  body?: {
663
- data?: string | undefined;
664
663
  size?: number | undefined;
664
+ data?: string | undefined;
665
665
  attachmentId?: string | undefined;
666
666
  } | undefined;
667
667
  } | undefined;
@@ -696,37 +696,37 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
696
696
  size: z.ZodOptional<z.ZodNumber>;
697
697
  attachmentId: z.ZodOptional<z.ZodString>;
698
698
  }, "strip", z.ZodTypeAny, {
699
- data?: string | undefined;
700
699
  size?: number | undefined;
700
+ data?: string | undefined;
701
701
  attachmentId?: string | undefined;
702
702
  }, {
703
- data?: string | undefined;
704
703
  size?: number | undefined;
704
+ data?: string | undefined;
705
705
  attachmentId?: string | undefined;
706
706
  }>>;
707
707
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
708
708
  }, "strip", z.ZodTypeAny, {
709
- mimeType?: string | undefined;
710
709
  parts?: any[] | undefined;
710
+ mimeType?: string | undefined;
711
711
  headers?: {
712
712
  value: string;
713
713
  name: string;
714
714
  }[] | undefined;
715
715
  body?: {
716
- data?: string | undefined;
717
716
  size?: number | undefined;
717
+ data?: string | undefined;
718
718
  attachmentId?: string | undefined;
719
719
  } | undefined;
720
720
  }, {
721
- mimeType?: string | undefined;
722
721
  parts?: any[] | undefined;
722
+ mimeType?: string | undefined;
723
723
  headers?: {
724
724
  value: string;
725
725
  name: string;
726
726
  }[] | undefined;
727
727
  body?: {
728
- data?: string | undefined;
729
728
  size?: number | undefined;
729
+ data?: string | undefined;
730
730
  attachmentId?: string | undefined;
731
731
  } | undefined;
732
732
  }>>;
@@ -741,15 +741,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
741
741
  sizeEstimate?: number | undefined;
742
742
  raw?: string | undefined;
743
743
  payload?: {
744
- mimeType?: string | undefined;
745
744
  parts?: any[] | undefined;
745
+ mimeType?: string | undefined;
746
746
  headers?: {
747
747
  value: string;
748
748
  name: string;
749
749
  }[] | undefined;
750
750
  body?: {
751
- data?: string | undefined;
752
751
  size?: number | undefined;
752
+ data?: string | undefined;
753
753
  attachmentId?: string | undefined;
754
754
  } | undefined;
755
755
  } | undefined;
@@ -764,15 +764,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
764
764
  sizeEstimate?: number | undefined;
765
765
  raw?: string | undefined;
766
766
  payload?: {
767
- mimeType?: string | undefined;
768
767
  parts?: any[] | undefined;
768
+ mimeType?: string | undefined;
769
769
  headers?: {
770
770
  value: string;
771
771
  name: string;
772
772
  }[] | undefined;
773
773
  body?: {
774
- data?: string | undefined;
775
774
  size?: number | undefined;
775
+ data?: string | undefined;
776
776
  attachmentId?: string | undefined;
777
777
  } | undefined;
778
778
  } | undefined;
@@ -780,8 +780,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
780
780
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
781
781
  error: z.ZodString;
782
782
  }, "strip", z.ZodTypeAny, {
783
- error: string;
784
783
  success: boolean;
784
+ error: string;
785
785
  operation: "search_emails";
786
786
  messages?: {
787
787
  id: string;
@@ -794,23 +794,23 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
794
794
  sizeEstimate?: number | undefined;
795
795
  raw?: string | undefined;
796
796
  payload?: {
797
- mimeType?: string | undefined;
798
797
  parts?: any[] | undefined;
798
+ mimeType?: string | undefined;
799
799
  headers?: {
800
800
  value: string;
801
801
  name: string;
802
802
  }[] | undefined;
803
803
  body?: {
804
- data?: string | undefined;
805
804
  size?: number | undefined;
805
+ data?: string | undefined;
806
806
  attachmentId?: string | undefined;
807
807
  } | undefined;
808
808
  } | undefined;
809
809
  }[] | undefined;
810
810
  result_size_estimate?: number | undefined;
811
811
  }, {
812
- error: string;
813
812
  success: boolean;
813
+ error: string;
814
814
  operation: "search_emails";
815
815
  messages?: {
816
816
  id: string;
@@ -823,15 +823,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
823
823
  sizeEstimate?: number | undefined;
824
824
  raw?: string | undefined;
825
825
  payload?: {
826
- mimeType?: string | undefined;
827
826
  parts?: any[] | undefined;
827
+ mimeType?: string | undefined;
828
828
  headers?: {
829
829
  value: string;
830
830
  name: string;
831
831
  }[] | undefined;
832
832
  body?: {
833
- data?: string | undefined;
834
833
  size?: number | undefined;
834
+ data?: string | undefined;
835
835
  attachmentId?: string | undefined;
836
836
  } | undefined;
837
837
  } | undefined;
@@ -843,13 +843,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
843
843
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
844
844
  error: z.ZodString;
845
845
  }, "strip", z.ZodTypeAny, {
846
- error: string;
847
846
  success: boolean;
847
+ error: string;
848
848
  operation: "mark_as_read";
849
849
  modified_messages?: string[] | undefined;
850
850
  }, {
851
- error: string;
852
851
  success: boolean;
852
+ error: string;
853
853
  operation: "mark_as_read";
854
854
  modified_messages?: string[] | undefined;
855
855
  }>, z.ZodObject<{
@@ -858,13 +858,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
858
858
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
859
859
  error: z.ZodString;
860
860
  }, "strip", z.ZodTypeAny, {
861
- error: string;
862
861
  success: boolean;
862
+ error: string;
863
863
  operation: "mark_as_unread";
864
864
  modified_messages?: string[] | undefined;
865
865
  }, {
866
- error: string;
867
866
  success: boolean;
867
+ error: string;
868
868
  operation: "mark_as_unread";
869
869
  modified_messages?: string[] | undefined;
870
870
  }>, z.ZodObject<{
@@ -899,37 +899,37 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
899
899
  size: z.ZodOptional<z.ZodNumber>;
900
900
  attachmentId: z.ZodOptional<z.ZodString>;
901
901
  }, "strip", z.ZodTypeAny, {
902
- data?: string | undefined;
903
902
  size?: number | undefined;
903
+ data?: string | undefined;
904
904
  attachmentId?: string | undefined;
905
905
  }, {
906
- data?: string | undefined;
907
906
  size?: number | undefined;
907
+ data?: string | undefined;
908
908
  attachmentId?: string | undefined;
909
909
  }>>;
910
910
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
911
911
  }, "strip", z.ZodTypeAny, {
912
- mimeType?: string | undefined;
913
912
  parts?: any[] | undefined;
913
+ mimeType?: string | undefined;
914
914
  headers?: {
915
915
  value: string;
916
916
  name: string;
917
917
  }[] | undefined;
918
918
  body?: {
919
- data?: string | undefined;
920
919
  size?: number | undefined;
920
+ data?: string | undefined;
921
921
  attachmentId?: string | undefined;
922
922
  } | undefined;
923
923
  }, {
924
- mimeType?: string | undefined;
925
924
  parts?: any[] | undefined;
925
+ mimeType?: string | undefined;
926
926
  headers?: {
927
927
  value: string;
928
928
  name: string;
929
929
  }[] | undefined;
930
930
  body?: {
931
- data?: string | undefined;
932
931
  size?: number | undefined;
932
+ data?: string | undefined;
933
933
  attachmentId?: string | undefined;
934
934
  } | undefined;
935
935
  }>>;
@@ -944,15 +944,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
944
944
  sizeEstimate?: number | undefined;
945
945
  raw?: string | undefined;
946
946
  payload?: {
947
- mimeType?: string | undefined;
948
947
  parts?: any[] | undefined;
948
+ mimeType?: string | undefined;
949
949
  headers?: {
950
950
  value: string;
951
951
  name: string;
952
952
  }[] | undefined;
953
953
  body?: {
954
- data?: string | undefined;
955
954
  size?: number | undefined;
955
+ data?: string | undefined;
956
956
  attachmentId?: string | undefined;
957
957
  } | undefined;
958
958
  } | undefined;
@@ -967,15 +967,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
967
967
  sizeEstimate?: number | undefined;
968
968
  raw?: string | undefined;
969
969
  payload?: {
970
- mimeType?: string | undefined;
971
970
  parts?: any[] | undefined;
971
+ mimeType?: string | undefined;
972
972
  headers?: {
973
973
  value: string;
974
974
  name: string;
975
975
  }[] | undefined;
976
976
  body?: {
977
- data?: string | undefined;
978
977
  size?: number | undefined;
978
+ data?: string | undefined;
979
979
  attachmentId?: string | undefined;
980
980
  } | undefined;
981
981
  } | undefined;
@@ -992,15 +992,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
992
992
  sizeEstimate?: number | undefined;
993
993
  raw?: string | undefined;
994
994
  payload?: {
995
- mimeType?: string | undefined;
996
995
  parts?: any[] | undefined;
996
+ mimeType?: string | undefined;
997
997
  headers?: {
998
998
  value: string;
999
999
  name: string;
1000
1000
  }[] | undefined;
1001
1001
  body?: {
1002
- data?: string | undefined;
1003
1002
  size?: number | undefined;
1003
+ data?: string | undefined;
1004
1004
  attachmentId?: string | undefined;
1005
1005
  } | undefined;
1006
1006
  } | undefined;
@@ -1018,15 +1018,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1018
1018
  sizeEstimate?: number | undefined;
1019
1019
  raw?: string | undefined;
1020
1020
  payload?: {
1021
- mimeType?: string | undefined;
1022
1021
  parts?: any[] | undefined;
1022
+ mimeType?: string | undefined;
1023
1023
  headers?: {
1024
1024
  value: string;
1025
1025
  name: string;
1026
1026
  }[] | undefined;
1027
1027
  body?: {
1028
- data?: string | undefined;
1029
1028
  size?: number | undefined;
1029
+ data?: string | undefined;
1030
1030
  attachmentId?: string | undefined;
1031
1031
  } | undefined;
1032
1032
  } | undefined;
@@ -1035,8 +1035,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1035
1035
  }>>;
1036
1036
  error: z.ZodString;
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
- error: string;
1039
1038
  success: boolean;
1039
+ error: string;
1040
1040
  operation: "create_draft";
1041
1041
  draft?: {
1042
1042
  message: {
@@ -1050,15 +1050,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1050
1050
  sizeEstimate?: number | undefined;
1051
1051
  raw?: string | undefined;
1052
1052
  payload?: {
1053
- mimeType?: string | undefined;
1054
1053
  parts?: any[] | undefined;
1054
+ mimeType?: string | undefined;
1055
1055
  headers?: {
1056
1056
  value: string;
1057
1057
  name: string;
1058
1058
  }[] | undefined;
1059
1059
  body?: {
1060
- data?: string | undefined;
1061
1060
  size?: number | undefined;
1061
+ data?: string | undefined;
1062
1062
  attachmentId?: string | undefined;
1063
1063
  } | undefined;
1064
1064
  } | undefined;
@@ -1066,8 +1066,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1066
1066
  id: string;
1067
1067
  } | undefined;
1068
1068
  }, {
1069
- error: string;
1070
1069
  success: boolean;
1070
+ error: string;
1071
1071
  operation: "create_draft";
1072
1072
  draft?: {
1073
1073
  message: {
@@ -1081,15 +1081,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1081
1081
  sizeEstimate?: number | undefined;
1082
1082
  raw?: string | undefined;
1083
1083
  payload?: {
1084
- mimeType?: string | undefined;
1085
1084
  parts?: any[] | undefined;
1085
+ mimeType?: string | undefined;
1086
1086
  headers?: {
1087
1087
  value: string;
1088
1088
  name: string;
1089
1089
  }[] | undefined;
1090
1090
  body?: {
1091
- data?: string | undefined;
1092
1091
  size?: number | undefined;
1092
+ data?: string | undefined;
1093
1093
  attachmentId?: string | undefined;
1094
1094
  } | undefined;
1095
1095
  } | undefined;
@@ -1103,14 +1103,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1103
1103
  thread_id: z.ZodOptional<z.ZodString>;
1104
1104
  error: z.ZodString;
1105
1105
  }, "strip", z.ZodTypeAny, {
1106
- error: string;
1107
1106
  success: boolean;
1107
+ error: string;
1108
1108
  operation: "send_draft";
1109
1109
  message_id?: string | undefined;
1110
1110
  thread_id?: string | undefined;
1111
1111
  }, {
1112
- error: string;
1113
1112
  success: boolean;
1113
+ error: string;
1114
1114
  operation: "send_draft";
1115
1115
  message_id?: string | undefined;
1116
1116
  thread_id?: string | undefined;
@@ -1146,37 +1146,37 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1146
1146
  size: z.ZodOptional<z.ZodNumber>;
1147
1147
  attachmentId: z.ZodOptional<z.ZodString>;
1148
1148
  }, "strip", z.ZodTypeAny, {
1149
- data?: string | undefined;
1150
1149
  size?: number | undefined;
1150
+ data?: string | undefined;
1151
1151
  attachmentId?: string | undefined;
1152
1152
  }, {
1153
- data?: string | undefined;
1154
1153
  size?: number | undefined;
1154
+ data?: string | undefined;
1155
1155
  attachmentId?: string | undefined;
1156
1156
  }>>;
1157
1157
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1158
1158
  }, "strip", z.ZodTypeAny, {
1159
- mimeType?: string | undefined;
1160
1159
  parts?: any[] | undefined;
1160
+ mimeType?: string | undefined;
1161
1161
  headers?: {
1162
1162
  value: string;
1163
1163
  name: string;
1164
1164
  }[] | undefined;
1165
1165
  body?: {
1166
- data?: string | undefined;
1167
1166
  size?: number | undefined;
1167
+ data?: string | undefined;
1168
1168
  attachmentId?: string | undefined;
1169
1169
  } | undefined;
1170
1170
  }, {
1171
- mimeType?: string | undefined;
1172
1171
  parts?: any[] | undefined;
1172
+ mimeType?: string | undefined;
1173
1173
  headers?: {
1174
1174
  value: string;
1175
1175
  name: string;
1176
1176
  }[] | undefined;
1177
1177
  body?: {
1178
- data?: string | undefined;
1179
1178
  size?: number | undefined;
1179
+ data?: string | undefined;
1180
1180
  attachmentId?: string | undefined;
1181
1181
  } | undefined;
1182
1182
  }>>;
@@ -1191,15 +1191,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1191
1191
  sizeEstimate?: number | undefined;
1192
1192
  raw?: string | undefined;
1193
1193
  payload?: {
1194
- mimeType?: string | undefined;
1195
1194
  parts?: any[] | undefined;
1195
+ mimeType?: string | undefined;
1196
1196
  headers?: {
1197
1197
  value: string;
1198
1198
  name: string;
1199
1199
  }[] | undefined;
1200
1200
  body?: {
1201
- data?: string | undefined;
1202
1201
  size?: number | undefined;
1202
+ data?: string | undefined;
1203
1203
  attachmentId?: string | undefined;
1204
1204
  } | undefined;
1205
1205
  } | undefined;
@@ -1214,15 +1214,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1214
1214
  sizeEstimate?: number | undefined;
1215
1215
  raw?: string | undefined;
1216
1216
  payload?: {
1217
- mimeType?: string | undefined;
1218
1217
  parts?: any[] | undefined;
1218
+ mimeType?: string | undefined;
1219
1219
  headers?: {
1220
1220
  value: string;
1221
1221
  name: string;
1222
1222
  }[] | undefined;
1223
1223
  body?: {
1224
- data?: string | undefined;
1225
1224
  size?: number | undefined;
1225
+ data?: string | undefined;
1226
1226
  attachmentId?: string | undefined;
1227
1227
  } | undefined;
1228
1228
  } | undefined;
@@ -1239,15 +1239,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1239
1239
  sizeEstimate?: number | undefined;
1240
1240
  raw?: string | undefined;
1241
1241
  payload?: {
1242
- mimeType?: string | undefined;
1243
1242
  parts?: any[] | undefined;
1243
+ mimeType?: string | undefined;
1244
1244
  headers?: {
1245
1245
  value: string;
1246
1246
  name: string;
1247
1247
  }[] | undefined;
1248
1248
  body?: {
1249
- data?: string | undefined;
1250
1249
  size?: number | undefined;
1250
+ data?: string | undefined;
1251
1251
  attachmentId?: string | undefined;
1252
1252
  } | undefined;
1253
1253
  } | undefined;
@@ -1265,15 +1265,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1265
1265
  sizeEstimate?: number | undefined;
1266
1266
  raw?: string | undefined;
1267
1267
  payload?: {
1268
- mimeType?: string | undefined;
1269
1268
  parts?: any[] | undefined;
1269
+ mimeType?: string | undefined;
1270
1270
  headers?: {
1271
1271
  value: string;
1272
1272
  name: string;
1273
1273
  }[] | undefined;
1274
1274
  body?: {
1275
- data?: string | undefined;
1276
1275
  size?: number | undefined;
1276
+ data?: string | undefined;
1277
1277
  attachmentId?: string | undefined;
1278
1278
  } | undefined;
1279
1279
  } | undefined;
@@ -1284,8 +1284,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1284
1284
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1285
1285
  error: z.ZodString;
1286
1286
  }, "strip", z.ZodTypeAny, {
1287
- error: string;
1288
1287
  success: boolean;
1288
+ error: string;
1289
1289
  operation: "list_drafts";
1290
1290
  next_page_token?: string | undefined;
1291
1291
  result_size_estimate?: number | undefined;
@@ -1301,15 +1301,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1301
1301
  sizeEstimate?: number | undefined;
1302
1302
  raw?: string | undefined;
1303
1303
  payload?: {
1304
- mimeType?: string | undefined;
1305
1304
  parts?: any[] | undefined;
1305
+ mimeType?: string | undefined;
1306
1306
  headers?: {
1307
1307
  value: string;
1308
1308
  name: string;
1309
1309
  }[] | undefined;
1310
1310
  body?: {
1311
- data?: string | undefined;
1312
1311
  size?: number | undefined;
1312
+ data?: string | undefined;
1313
1313
  attachmentId?: string | undefined;
1314
1314
  } | undefined;
1315
1315
  } | undefined;
@@ -1317,8 +1317,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1317
1317
  id: string;
1318
1318
  }[] | undefined;
1319
1319
  }, {
1320
- error: string;
1321
1320
  success: boolean;
1321
+ error: string;
1322
1322
  operation: "list_drafts";
1323
1323
  next_page_token?: string | undefined;
1324
1324
  result_size_estimate?: number | undefined;
@@ -1334,15 +1334,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1334
1334
  sizeEstimate?: number | undefined;
1335
1335
  raw?: string | undefined;
1336
1336
  payload?: {
1337
- mimeType?: string | undefined;
1338
1337
  parts?: any[] | undefined;
1338
+ mimeType?: string | undefined;
1339
1339
  headers?: {
1340
1340
  value: string;
1341
1341
  name: string;
1342
1342
  }[] | undefined;
1343
1343
  body?: {
1344
- data?: string | undefined;
1345
1344
  size?: number | undefined;
1345
+ data?: string | undefined;
1346
1346
  attachmentId?: string | undefined;
1347
1347
  } | undefined;
1348
1348
  } | undefined;
@@ -1355,13 +1355,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1355
1355
  deleted_message_id: z.ZodOptional<z.ZodString>;
1356
1356
  error: z.ZodString;
1357
1357
  }, "strip", z.ZodTypeAny, {
1358
- error: string;
1359
1358
  success: boolean;
1359
+ error: string;
1360
1360
  operation: "delete_email";
1361
1361
  deleted_message_id?: string | undefined;
1362
1362
  }, {
1363
- error: string;
1364
1363
  success: boolean;
1364
+ error: string;
1365
1365
  operation: "delete_email";
1366
1366
  deleted_message_id?: string | undefined;
1367
1367
  }>, z.ZodObject<{
@@ -1370,13 +1370,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1370
1370
  trashed_message_id: z.ZodOptional<z.ZodString>;
1371
1371
  error: z.ZodString;
1372
1372
  }, "strip", z.ZodTypeAny, {
1373
- error: string;
1374
1373
  success: boolean;
1374
+ error: string;
1375
1375
  operation: "trash_email";
1376
1376
  trashed_message_id?: string | undefined;
1377
1377
  }, {
1378
- error: string;
1379
1378
  success: boolean;
1379
+ error: string;
1380
1380
  operation: "trash_email";
1381
1381
  trashed_message_id?: string | undefined;
1382
1382
  }>, z.ZodObject<{
@@ -1412,37 +1412,37 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1412
1412
  size: z.ZodOptional<z.ZodNumber>;
1413
1413
  attachmentId: z.ZodOptional<z.ZodString>;
1414
1414
  }, "strip", z.ZodTypeAny, {
1415
- data?: string | undefined;
1416
1415
  size?: number | undefined;
1416
+ data?: string | undefined;
1417
1417
  attachmentId?: string | undefined;
1418
1418
  }, {
1419
- data?: string | undefined;
1420
1419
  size?: number | undefined;
1420
+ data?: string | undefined;
1421
1421
  attachmentId?: string | undefined;
1422
1422
  }>>;
1423
1423
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1424
1424
  }, "strip", z.ZodTypeAny, {
1425
- mimeType?: string | undefined;
1426
1425
  parts?: any[] | undefined;
1426
+ mimeType?: string | undefined;
1427
1427
  headers?: {
1428
1428
  value: string;
1429
1429
  name: string;
1430
1430
  }[] | undefined;
1431
1431
  body?: {
1432
- data?: string | undefined;
1433
1432
  size?: number | undefined;
1433
+ data?: string | undefined;
1434
1434
  attachmentId?: string | undefined;
1435
1435
  } | undefined;
1436
1436
  }, {
1437
- mimeType?: string | undefined;
1438
1437
  parts?: any[] | undefined;
1438
+ mimeType?: string | undefined;
1439
1439
  headers?: {
1440
1440
  value: string;
1441
1441
  name: string;
1442
1442
  }[] | undefined;
1443
1443
  body?: {
1444
- data?: string | undefined;
1445
1444
  size?: number | undefined;
1445
+ data?: string | undefined;
1446
1446
  attachmentId?: string | undefined;
1447
1447
  } | undefined;
1448
1448
  }>>;
@@ -1457,15 +1457,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1457
1457
  sizeEstimate?: number | undefined;
1458
1458
  raw?: string | undefined;
1459
1459
  payload?: {
1460
- mimeType?: string | undefined;
1461
1460
  parts?: any[] | undefined;
1461
+ mimeType?: string | undefined;
1462
1462
  headers?: {
1463
1463
  value: string;
1464
1464
  name: string;
1465
1465
  }[] | undefined;
1466
1466
  body?: {
1467
- data?: string | undefined;
1468
1467
  size?: number | undefined;
1468
+ data?: string | undefined;
1469
1469
  attachmentId?: string | undefined;
1470
1470
  } | undefined;
1471
1471
  } | undefined;
@@ -1480,15 +1480,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1480
1480
  sizeEstimate?: number | undefined;
1481
1481
  raw?: string | undefined;
1482
1482
  payload?: {
1483
- mimeType?: string | undefined;
1484
1483
  parts?: any[] | undefined;
1484
+ mimeType?: string | undefined;
1485
1485
  headers?: {
1486
1486
  value: string;
1487
1487
  name: string;
1488
1488
  }[] | undefined;
1489
1489
  body?: {
1490
- data?: string | undefined;
1491
1490
  size?: number | undefined;
1491
+ data?: string | undefined;
1492
1492
  attachmentId?: string | undefined;
1493
1493
  } | undefined;
1494
1494
  } | undefined;
@@ -1507,15 +1507,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1507
1507
  sizeEstimate?: number | undefined;
1508
1508
  raw?: string | undefined;
1509
1509
  payload?: {
1510
- mimeType?: string | undefined;
1511
1510
  parts?: any[] | undefined;
1511
+ mimeType?: string | undefined;
1512
1512
  headers?: {
1513
1513
  value: string;
1514
1514
  name: string;
1515
1515
  }[] | undefined;
1516
1516
  body?: {
1517
- data?: string | undefined;
1518
1517
  size?: number | undefined;
1518
+ data?: string | undefined;
1519
1519
  attachmentId?: string | undefined;
1520
1520
  } | undefined;
1521
1521
  } | undefined;
@@ -1535,15 +1535,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1535
1535
  sizeEstimate?: number | undefined;
1536
1536
  raw?: string | undefined;
1537
1537
  payload?: {
1538
- mimeType?: string | undefined;
1539
1538
  parts?: any[] | undefined;
1539
+ mimeType?: string | undefined;
1540
1540
  headers?: {
1541
1541
  value: string;
1542
1542
  name: string;
1543
1543
  }[] | undefined;
1544
1544
  body?: {
1545
- data?: string | undefined;
1546
1545
  size?: number | undefined;
1546
+ data?: string | undefined;
1547
1547
  attachmentId?: string | undefined;
1548
1548
  } | undefined;
1549
1549
  } | undefined;
@@ -1555,8 +1555,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1555
1555
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1556
1556
  error: z.ZodString;
1557
1557
  }, "strip", z.ZodTypeAny, {
1558
- error: string;
1559
1558
  success: boolean;
1559
+ error: string;
1560
1560
  operation: "list_threads";
1561
1561
  next_page_token?: string | undefined;
1562
1562
  result_size_estimate?: number | undefined;
@@ -1573,15 +1573,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1573
1573
  sizeEstimate?: number | undefined;
1574
1574
  raw?: string | undefined;
1575
1575
  payload?: {
1576
- mimeType?: string | undefined;
1577
1576
  parts?: any[] | undefined;
1577
+ mimeType?: string | undefined;
1578
1578
  headers?: {
1579
1579
  value: string;
1580
1580
  name: string;
1581
1581
  }[] | undefined;
1582
1582
  body?: {
1583
- data?: string | undefined;
1584
1583
  size?: number | undefined;
1584
+ data?: string | undefined;
1585
1585
  attachmentId?: string | undefined;
1586
1586
  } | undefined;
1587
1587
  } | undefined;
@@ -1590,8 +1590,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1590
1590
  historyId?: string | undefined;
1591
1591
  }[] | undefined;
1592
1592
  }, {
1593
- error: string;
1594
1593
  success: boolean;
1594
+ error: string;
1595
1595
  operation: "list_threads";
1596
1596
  next_page_token?: string | undefined;
1597
1597
  result_size_estimate?: number | undefined;
@@ -1608,15 +1608,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1608
1608
  sizeEstimate?: number | undefined;
1609
1609
  raw?: string | undefined;
1610
1610
  payload?: {
1611
- mimeType?: string | undefined;
1612
1611
  parts?: any[] | undefined;
1612
+ mimeType?: string | undefined;
1613
1613
  headers?: {
1614
1614
  value: string;
1615
1615
  name: string;
1616
1616
  }[] | undefined;
1617
1617
  body?: {
1618
- data?: string | undefined;
1619
1618
  size?: number | undefined;
1619
+ data?: string | undefined;
1620
1620
  attachmentId?: string | undefined;
1621
1621
  } | undefined;
1622
1622
  } | undefined;
@@ -1636,36 +1636,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1636
1636
  }, "strip", z.ZodTypeAny, {
1637
1637
  name: string;
1638
1638
  id: string;
1639
- type?: "system" | "user" | undefined;
1639
+ type?: "user" | "system" | undefined;
1640
1640
  messageListVisibility?: "show" | "hide" | undefined;
1641
1641
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1642
1642
  }, {
1643
1643
  name: string;
1644
1644
  id: string;
1645
- type?: "system" | "user" | undefined;
1645
+ type?: "user" | "system" | undefined;
1646
1646
  messageListVisibility?: "show" | "hide" | undefined;
1647
1647
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1648
1648
  }>, "many">>;
1649
1649
  error: z.ZodString;
1650
1650
  }, "strip", z.ZodTypeAny, {
1651
- error: string;
1652
1651
  success: boolean;
1652
+ error: string;
1653
1653
  operation: "list_labels";
1654
1654
  labels?: {
1655
1655
  name: string;
1656
1656
  id: string;
1657
- type?: "system" | "user" | undefined;
1657
+ type?: "user" | "system" | undefined;
1658
1658
  messageListVisibility?: "show" | "hide" | undefined;
1659
1659
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1660
1660
  }[] | undefined;
1661
1661
  }, {
1662
- error: string;
1663
1662
  success: boolean;
1663
+ error: string;
1664
1664
  operation: "list_labels";
1665
1665
  labels?: {
1666
1666
  name: string;
1667
1667
  id: string;
1668
- type?: "system" | "user" | undefined;
1668
+ type?: "user" | "system" | undefined;
1669
1669
  messageListVisibility?: "show" | "hide" | undefined;
1670
1670
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1671
1671
  }[] | undefined;
@@ -1681,36 +1681,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1681
1681
  }, "strip", z.ZodTypeAny, {
1682
1682
  name: string;
1683
1683
  id: string;
1684
- type?: "system" | "user" | undefined;
1684
+ type?: "user" | "system" | undefined;
1685
1685
  messageListVisibility?: "show" | "hide" | undefined;
1686
1686
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1687
1687
  }, {
1688
1688
  name: string;
1689
1689
  id: string;
1690
- type?: "system" | "user" | undefined;
1690
+ type?: "user" | "system" | undefined;
1691
1691
  messageListVisibility?: "show" | "hide" | undefined;
1692
1692
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1693
1693
  }>>;
1694
1694
  error: z.ZodString;
1695
1695
  }, "strip", z.ZodTypeAny, {
1696
- error: string;
1697
1696
  success: boolean;
1697
+ error: string;
1698
1698
  operation: "create_label";
1699
1699
  label?: {
1700
1700
  name: string;
1701
1701
  id: string;
1702
- type?: "system" | "user" | undefined;
1702
+ type?: "user" | "system" | undefined;
1703
1703
  messageListVisibility?: "show" | "hide" | undefined;
1704
1704
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1705
1705
  } | undefined;
1706
1706
  }, {
1707
- error: string;
1708
1707
  success: boolean;
1708
+ error: string;
1709
1709
  operation: "create_label";
1710
1710
  label?: {
1711
1711
  name: string;
1712
1712
  id: string;
1713
- type?: "system" | "user" | undefined;
1713
+ type?: "user" | "system" | undefined;
1714
1714
  messageListVisibility?: "show" | "hide" | undefined;
1715
1715
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1716
1716
  } | undefined;
@@ -1721,14 +1721,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1721
1721
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1722
1722
  error: z.ZodString;
1723
1723
  }, "strip", z.ZodTypeAny, {
1724
- error: string;
1725
1724
  success: boolean;
1725
+ error: string;
1726
1726
  operation: "modify_message_labels";
1727
1727
  message_id?: string | undefined;
1728
1728
  label_ids?: string[] | undefined;
1729
1729
  }, {
1730
- error: string;
1731
1730
  success: boolean;
1731
+ error: string;
1732
1732
  operation: "modify_message_labels";
1733
1733
  message_id?: string | undefined;
1734
1734
  label_ids?: string[] | undefined;
@@ -1738,13 +1738,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1738
1738
  thread_id: z.ZodOptional<z.ZodString>;
1739
1739
  error: z.ZodString;
1740
1740
  }, "strip", z.ZodTypeAny, {
1741
- error: string;
1742
1741
  success: boolean;
1742
+ error: string;
1743
1743
  operation: "modify_thread_labels";
1744
1744
  thread_id?: string | undefined;
1745
1745
  }, {
1746
- error: string;
1747
1746
  success: boolean;
1747
+ error: string;
1748
1748
  operation: "modify_thread_labels";
1749
1749
  thread_id?: string | undefined;
1750
1750
  }>]>;
@@ -1828,8 +1828,8 @@ 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";
1832
1831
  operation: "get_email";
1832
+ format: "metadata" | "minimal" | "raw" | "full";
1833
1833
  message_id: string;
1834
1834
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1835
1835
  metadata_headers?: string[] | undefined;
@@ -1846,14 +1846,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1846
1846
  include_spam_trash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1847
1847
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1848
1848
  }, "strip", z.ZodTypeAny, {
1849
- query: string;
1850
1849
  operation: "search_emails";
1850
+ query: string;
1851
1851
  max_results: number;
1852
1852
  include_spam_trash: boolean;
1853
1853
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1854
1854
  }, {
1855
- query: string;
1856
1855
  operation: "search_emails";
1856
+ query: string;
1857
1857
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1858
1858
  max_results?: number | undefined;
1859
1859
  include_spam_trash?: boolean | undefined;
@@ -2013,16 +2013,16 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2013
2013
  text_color: z.ZodOptional<z.ZodString>;
2014
2014
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
2015
2015
  }, "strip", z.ZodTypeAny, {
2016
- name: string;
2017
2016
  operation: "create_label";
2017
+ name: string;
2018
2018
  label_list_visibility: "labelShow" | "labelShowIfUnread" | "labelHide";
2019
2019
  message_list_visibility: "show" | "hide";
2020
2020
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2021
2021
  background_color?: string | undefined;
2022
2022
  text_color?: string | undefined;
2023
2023
  }, {
2024
- name: string;
2025
2024
  operation: "create_label";
2025
+ name: string;
2026
2026
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2027
2027
  label_list_visibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
2028
2028
  message_list_visibility?: "show" | "hide" | undefined;
@@ -2072,14 +2072,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2072
2072
  thread_id: z.ZodOptional<z.ZodString>;
2073
2073
  error: z.ZodString;
2074
2074
  }, "strip", z.ZodTypeAny, {
2075
- error: string;
2076
2075
  success: boolean;
2076
+ error: string;
2077
2077
  operation: "send_email";
2078
2078
  message_id?: string | undefined;
2079
2079
  thread_id?: string | undefined;
2080
2080
  }, {
2081
- error: string;
2082
2081
  success: boolean;
2082
+ error: string;
2083
2083
  operation: "send_email";
2084
2084
  message_id?: string | undefined;
2085
2085
  thread_id?: string | undefined;
@@ -2113,37 +2113,37 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2113
2113
  size: z.ZodOptional<z.ZodNumber>;
2114
2114
  attachmentId: z.ZodOptional<z.ZodString>;
2115
2115
  }, "strip", z.ZodTypeAny, {
2116
- data?: string | undefined;
2117
2116
  size?: number | undefined;
2117
+ data?: string | undefined;
2118
2118
  attachmentId?: string | undefined;
2119
2119
  }, {
2120
- data?: string | undefined;
2121
2120
  size?: number | undefined;
2121
+ data?: string | undefined;
2122
2122
  attachmentId?: string | undefined;
2123
2123
  }>>;
2124
2124
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2125
2125
  }, "strip", z.ZodTypeAny, {
2126
- mimeType?: string | undefined;
2127
2126
  parts?: any[] | undefined;
2127
+ mimeType?: string | undefined;
2128
2128
  headers?: {
2129
2129
  value: string;
2130
2130
  name: string;
2131
2131
  }[] | undefined;
2132
2132
  body?: {
2133
- data?: string | undefined;
2134
2133
  size?: number | undefined;
2134
+ data?: string | undefined;
2135
2135
  attachmentId?: string | undefined;
2136
2136
  } | undefined;
2137
2137
  }, {
2138
- mimeType?: string | undefined;
2139
2138
  parts?: any[] | undefined;
2139
+ mimeType?: string | undefined;
2140
2140
  headers?: {
2141
2141
  value: string;
2142
2142
  name: string;
2143
2143
  }[] | undefined;
2144
2144
  body?: {
2145
- data?: string | undefined;
2146
2145
  size?: number | undefined;
2146
+ data?: string | undefined;
2147
2147
  attachmentId?: string | undefined;
2148
2148
  } | undefined;
2149
2149
  }>>;
@@ -2158,15 +2158,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2158
2158
  sizeEstimate?: number | undefined;
2159
2159
  raw?: string | undefined;
2160
2160
  payload?: {
2161
- mimeType?: string | undefined;
2162
2161
  parts?: any[] | undefined;
2162
+ mimeType?: string | undefined;
2163
2163
  headers?: {
2164
2164
  value: string;
2165
2165
  name: string;
2166
2166
  }[] | undefined;
2167
2167
  body?: {
2168
- data?: string | undefined;
2169
2168
  size?: number | undefined;
2169
+ data?: string | undefined;
2170
2170
  attachmentId?: string | undefined;
2171
2171
  } | undefined;
2172
2172
  } | undefined;
@@ -2181,15 +2181,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2181
2181
  sizeEstimate?: number | undefined;
2182
2182
  raw?: string | undefined;
2183
2183
  payload?: {
2184
- mimeType?: string | undefined;
2185
2184
  parts?: any[] | undefined;
2185
+ mimeType?: string | undefined;
2186
2186
  headers?: {
2187
2187
  value: string;
2188
2188
  name: string;
2189
2189
  }[] | undefined;
2190
2190
  body?: {
2191
- data?: string | undefined;
2192
2191
  size?: number | undefined;
2192
+ data?: string | undefined;
2193
2193
  attachmentId?: string | undefined;
2194
2194
  } | undefined;
2195
2195
  } | undefined;
@@ -2198,8 +2198,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2198
2198
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2199
2199
  error: z.ZodString;
2200
2200
  }, "strip", z.ZodTypeAny, {
2201
- error: string;
2202
2201
  success: boolean;
2202
+ error: string;
2203
2203
  operation: "list_emails";
2204
2204
  messages?: {
2205
2205
  id: string;
@@ -2212,15 +2212,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2212
2212
  sizeEstimate?: number | undefined;
2213
2213
  raw?: string | undefined;
2214
2214
  payload?: {
2215
- mimeType?: string | undefined;
2216
2215
  parts?: any[] | undefined;
2216
+ mimeType?: string | undefined;
2217
2217
  headers?: {
2218
2218
  value: string;
2219
2219
  name: string;
2220
2220
  }[] | undefined;
2221
2221
  body?: {
2222
- data?: string | undefined;
2223
2222
  size?: number | undefined;
2223
+ data?: string | undefined;
2224
2224
  attachmentId?: string | undefined;
2225
2225
  } | undefined;
2226
2226
  } | undefined;
@@ -2228,8 +2228,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2228
2228
  next_page_token?: string | undefined;
2229
2229
  result_size_estimate?: number | undefined;
2230
2230
  }, {
2231
- error: string;
2232
2231
  success: boolean;
2232
+ error: string;
2233
2233
  operation: "list_emails";
2234
2234
  messages?: {
2235
2235
  id: string;
@@ -2242,15 +2242,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2242
2242
  sizeEstimate?: number | undefined;
2243
2243
  raw?: string | undefined;
2244
2244
  payload?: {
2245
- mimeType?: string | undefined;
2246
2245
  parts?: any[] | undefined;
2246
+ mimeType?: string | undefined;
2247
2247
  headers?: {
2248
2248
  value: string;
2249
2249
  name: string;
2250
2250
  }[] | undefined;
2251
2251
  body?: {
2252
- data?: string | undefined;
2253
2252
  size?: number | undefined;
2253
+ data?: string | undefined;
2254
2254
  attachmentId?: string | undefined;
2255
2255
  } | undefined;
2256
2256
  } | undefined;
@@ -2287,37 +2287,37 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2287
2287
  size: z.ZodOptional<z.ZodNumber>;
2288
2288
  attachmentId: z.ZodOptional<z.ZodString>;
2289
2289
  }, "strip", z.ZodTypeAny, {
2290
- data?: string | undefined;
2291
2290
  size?: number | undefined;
2291
+ data?: string | undefined;
2292
2292
  attachmentId?: string | undefined;
2293
2293
  }, {
2294
- data?: string | undefined;
2295
2294
  size?: number | undefined;
2295
+ data?: string | undefined;
2296
2296
  attachmentId?: string | undefined;
2297
2297
  }>>;
2298
2298
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2299
2299
  }, "strip", z.ZodTypeAny, {
2300
- mimeType?: string | undefined;
2301
2300
  parts?: any[] | undefined;
2301
+ mimeType?: string | undefined;
2302
2302
  headers?: {
2303
2303
  value: string;
2304
2304
  name: string;
2305
2305
  }[] | undefined;
2306
2306
  body?: {
2307
- data?: string | undefined;
2308
2307
  size?: number | undefined;
2308
+ data?: string | undefined;
2309
2309
  attachmentId?: string | undefined;
2310
2310
  } | undefined;
2311
2311
  }, {
2312
- mimeType?: string | undefined;
2313
2312
  parts?: any[] | undefined;
2313
+ mimeType?: string | undefined;
2314
2314
  headers?: {
2315
2315
  value: string;
2316
2316
  name: string;
2317
2317
  }[] | undefined;
2318
2318
  body?: {
2319
- data?: string | undefined;
2320
2319
  size?: number | undefined;
2320
+ data?: string | undefined;
2321
2321
  attachmentId?: string | undefined;
2322
2322
  } | undefined;
2323
2323
  }>>;
@@ -2332,15 +2332,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2332
2332
  sizeEstimate?: number | undefined;
2333
2333
  raw?: string | undefined;
2334
2334
  payload?: {
2335
- mimeType?: string | undefined;
2336
2335
  parts?: any[] | undefined;
2336
+ mimeType?: string | undefined;
2337
2337
  headers?: {
2338
2338
  value: string;
2339
2339
  name: string;
2340
2340
  }[] | undefined;
2341
2341
  body?: {
2342
- data?: string | undefined;
2343
2342
  size?: number | undefined;
2343
+ data?: string | undefined;
2344
2344
  attachmentId?: string | undefined;
2345
2345
  } | undefined;
2346
2346
  } | undefined;
@@ -2355,23 +2355,23 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2355
2355
  sizeEstimate?: number | undefined;
2356
2356
  raw?: string | undefined;
2357
2357
  payload?: {
2358
- mimeType?: string | undefined;
2359
2358
  parts?: any[] | undefined;
2359
+ mimeType?: string | undefined;
2360
2360
  headers?: {
2361
2361
  value: string;
2362
2362
  name: string;
2363
2363
  }[] | undefined;
2364
2364
  body?: {
2365
- data?: string | undefined;
2366
2365
  size?: number | undefined;
2366
+ data?: string | undefined;
2367
2367
  attachmentId?: string | undefined;
2368
2368
  } | undefined;
2369
2369
  } | undefined;
2370
2370
  }>>;
2371
2371
  error: z.ZodString;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
- error: string;
2374
2373
  success: boolean;
2374
+ error: string;
2375
2375
  operation: "get_email";
2376
2376
  message?: {
2377
2377
  id: string;
@@ -2384,22 +2384,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2384
2384
  sizeEstimate?: number | undefined;
2385
2385
  raw?: string | undefined;
2386
2386
  payload?: {
2387
- mimeType?: string | undefined;
2388
2387
  parts?: any[] | undefined;
2388
+ mimeType?: string | undefined;
2389
2389
  headers?: {
2390
2390
  value: string;
2391
2391
  name: string;
2392
2392
  }[] | undefined;
2393
2393
  body?: {
2394
- data?: string | undefined;
2395
2394
  size?: number | undefined;
2395
+ data?: string | undefined;
2396
2396
  attachmentId?: string | undefined;
2397
2397
  } | undefined;
2398
2398
  } | undefined;
2399
2399
  } | undefined;
2400
2400
  }, {
2401
- error: string;
2402
2401
  success: boolean;
2402
+ error: string;
2403
2403
  operation: "get_email";
2404
2404
  message?: {
2405
2405
  id: string;
@@ -2412,15 +2412,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2412
2412
  sizeEstimate?: number | undefined;
2413
2413
  raw?: string | undefined;
2414
2414
  payload?: {
2415
- mimeType?: string | undefined;
2416
2415
  parts?: any[] | undefined;
2416
+ mimeType?: string | undefined;
2417
2417
  headers?: {
2418
2418
  value: string;
2419
2419
  name: string;
2420
2420
  }[] | undefined;
2421
2421
  body?: {
2422
- data?: string | undefined;
2423
2422
  size?: number | undefined;
2423
+ data?: string | undefined;
2424
2424
  attachmentId?: string | undefined;
2425
2425
  } | undefined;
2426
2426
  } | undefined;
@@ -2455,37 +2455,37 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2455
2455
  size: z.ZodOptional<z.ZodNumber>;
2456
2456
  attachmentId: z.ZodOptional<z.ZodString>;
2457
2457
  }, "strip", z.ZodTypeAny, {
2458
- data?: string | undefined;
2459
2458
  size?: number | undefined;
2459
+ data?: string | undefined;
2460
2460
  attachmentId?: string | undefined;
2461
2461
  }, {
2462
- data?: string | undefined;
2463
2462
  size?: number | undefined;
2463
+ data?: string | undefined;
2464
2464
  attachmentId?: string | undefined;
2465
2465
  }>>;
2466
2466
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2467
2467
  }, "strip", z.ZodTypeAny, {
2468
- mimeType?: string | undefined;
2469
2468
  parts?: any[] | undefined;
2469
+ mimeType?: string | undefined;
2470
2470
  headers?: {
2471
2471
  value: string;
2472
2472
  name: string;
2473
2473
  }[] | undefined;
2474
2474
  body?: {
2475
- data?: string | undefined;
2476
2475
  size?: number | undefined;
2476
+ data?: string | undefined;
2477
2477
  attachmentId?: string | undefined;
2478
2478
  } | undefined;
2479
2479
  }, {
2480
- mimeType?: string | undefined;
2481
2480
  parts?: any[] | undefined;
2481
+ mimeType?: string | undefined;
2482
2482
  headers?: {
2483
2483
  value: string;
2484
2484
  name: string;
2485
2485
  }[] | undefined;
2486
2486
  body?: {
2487
- data?: string | undefined;
2488
2487
  size?: number | undefined;
2488
+ data?: string | undefined;
2489
2489
  attachmentId?: string | undefined;
2490
2490
  } | undefined;
2491
2491
  }>>;
@@ -2500,15 +2500,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2500
2500
  sizeEstimate?: number | undefined;
2501
2501
  raw?: string | undefined;
2502
2502
  payload?: {
2503
- mimeType?: string | undefined;
2504
2503
  parts?: any[] | undefined;
2504
+ mimeType?: string | undefined;
2505
2505
  headers?: {
2506
2506
  value: string;
2507
2507
  name: string;
2508
2508
  }[] | undefined;
2509
2509
  body?: {
2510
- data?: string | undefined;
2511
2510
  size?: number | undefined;
2511
+ data?: string | undefined;
2512
2512
  attachmentId?: string | undefined;
2513
2513
  } | undefined;
2514
2514
  } | undefined;
@@ -2523,15 +2523,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2523
2523
  sizeEstimate?: number | undefined;
2524
2524
  raw?: string | undefined;
2525
2525
  payload?: {
2526
- mimeType?: string | undefined;
2527
2526
  parts?: any[] | undefined;
2527
+ mimeType?: string | undefined;
2528
2528
  headers?: {
2529
2529
  value: string;
2530
2530
  name: string;
2531
2531
  }[] | undefined;
2532
2532
  body?: {
2533
- data?: string | undefined;
2534
2533
  size?: number | undefined;
2534
+ data?: string | undefined;
2535
2535
  attachmentId?: string | undefined;
2536
2536
  } | undefined;
2537
2537
  } | undefined;
@@ -2539,8 +2539,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2539
2539
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2540
2540
  error: z.ZodString;
2541
2541
  }, "strip", z.ZodTypeAny, {
2542
- error: string;
2543
2542
  success: boolean;
2543
+ error: string;
2544
2544
  operation: "search_emails";
2545
2545
  messages?: {
2546
2546
  id: string;
@@ -2553,23 +2553,23 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2553
2553
  sizeEstimate?: number | undefined;
2554
2554
  raw?: string | undefined;
2555
2555
  payload?: {
2556
- mimeType?: string | undefined;
2557
2556
  parts?: any[] | undefined;
2557
+ mimeType?: string | undefined;
2558
2558
  headers?: {
2559
2559
  value: string;
2560
2560
  name: string;
2561
2561
  }[] | undefined;
2562
2562
  body?: {
2563
- data?: string | undefined;
2564
2563
  size?: number | undefined;
2564
+ data?: string | undefined;
2565
2565
  attachmentId?: string | undefined;
2566
2566
  } | undefined;
2567
2567
  } | undefined;
2568
2568
  }[] | undefined;
2569
2569
  result_size_estimate?: number | undefined;
2570
2570
  }, {
2571
- error: string;
2572
2571
  success: boolean;
2572
+ error: string;
2573
2573
  operation: "search_emails";
2574
2574
  messages?: {
2575
2575
  id: string;
@@ -2582,15 +2582,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2582
2582
  sizeEstimate?: number | undefined;
2583
2583
  raw?: string | undefined;
2584
2584
  payload?: {
2585
- mimeType?: string | undefined;
2586
2585
  parts?: any[] | undefined;
2586
+ mimeType?: string | undefined;
2587
2587
  headers?: {
2588
2588
  value: string;
2589
2589
  name: string;
2590
2590
  }[] | undefined;
2591
2591
  body?: {
2592
- data?: string | undefined;
2593
2592
  size?: number | undefined;
2593
+ data?: string | undefined;
2594
2594
  attachmentId?: string | undefined;
2595
2595
  } | undefined;
2596
2596
  } | undefined;
@@ -2602,13 +2602,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2602
2602
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2603
2603
  error: z.ZodString;
2604
2604
  }, "strip", z.ZodTypeAny, {
2605
- error: string;
2606
2605
  success: boolean;
2606
+ error: string;
2607
2607
  operation: "mark_as_read";
2608
2608
  modified_messages?: string[] | undefined;
2609
2609
  }, {
2610
- error: string;
2611
2610
  success: boolean;
2611
+ error: string;
2612
2612
  operation: "mark_as_read";
2613
2613
  modified_messages?: string[] | undefined;
2614
2614
  }>, z.ZodObject<{
@@ -2617,13 +2617,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2617
2617
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2618
2618
  error: z.ZodString;
2619
2619
  }, "strip", z.ZodTypeAny, {
2620
- error: string;
2621
2620
  success: boolean;
2621
+ error: string;
2622
2622
  operation: "mark_as_unread";
2623
2623
  modified_messages?: string[] | undefined;
2624
2624
  }, {
2625
- error: string;
2626
2625
  success: boolean;
2626
+ error: string;
2627
2627
  operation: "mark_as_unread";
2628
2628
  modified_messages?: string[] | undefined;
2629
2629
  }>, z.ZodObject<{
@@ -2658,37 +2658,37 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2658
2658
  size: z.ZodOptional<z.ZodNumber>;
2659
2659
  attachmentId: z.ZodOptional<z.ZodString>;
2660
2660
  }, "strip", z.ZodTypeAny, {
2661
- data?: string | undefined;
2662
2661
  size?: number | undefined;
2662
+ data?: string | undefined;
2663
2663
  attachmentId?: string | undefined;
2664
2664
  }, {
2665
- data?: string | undefined;
2666
2665
  size?: number | undefined;
2666
+ data?: string | undefined;
2667
2667
  attachmentId?: string | undefined;
2668
2668
  }>>;
2669
2669
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
- mimeType?: string | undefined;
2672
2671
  parts?: any[] | undefined;
2672
+ mimeType?: string | undefined;
2673
2673
  headers?: {
2674
2674
  value: string;
2675
2675
  name: string;
2676
2676
  }[] | undefined;
2677
2677
  body?: {
2678
- data?: string | undefined;
2679
2678
  size?: number | undefined;
2679
+ data?: string | undefined;
2680
2680
  attachmentId?: string | undefined;
2681
2681
  } | undefined;
2682
2682
  }, {
2683
- mimeType?: string | undefined;
2684
2683
  parts?: any[] | undefined;
2684
+ mimeType?: string | undefined;
2685
2685
  headers?: {
2686
2686
  value: string;
2687
2687
  name: string;
2688
2688
  }[] | undefined;
2689
2689
  body?: {
2690
- data?: string | undefined;
2691
2690
  size?: number | undefined;
2691
+ data?: string | undefined;
2692
2692
  attachmentId?: string | undefined;
2693
2693
  } | undefined;
2694
2694
  }>>;
@@ -2703,15 +2703,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2703
2703
  sizeEstimate?: number | undefined;
2704
2704
  raw?: string | undefined;
2705
2705
  payload?: {
2706
- mimeType?: string | undefined;
2707
2706
  parts?: any[] | undefined;
2707
+ mimeType?: string | undefined;
2708
2708
  headers?: {
2709
2709
  value: string;
2710
2710
  name: string;
2711
2711
  }[] | undefined;
2712
2712
  body?: {
2713
- data?: string | undefined;
2714
2713
  size?: number | undefined;
2714
+ data?: string | undefined;
2715
2715
  attachmentId?: string | undefined;
2716
2716
  } | undefined;
2717
2717
  } | undefined;
@@ -2726,15 +2726,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2726
2726
  sizeEstimate?: number | undefined;
2727
2727
  raw?: string | undefined;
2728
2728
  payload?: {
2729
- mimeType?: string | undefined;
2730
2729
  parts?: any[] | undefined;
2730
+ mimeType?: string | undefined;
2731
2731
  headers?: {
2732
2732
  value: string;
2733
2733
  name: string;
2734
2734
  }[] | undefined;
2735
2735
  body?: {
2736
- data?: string | undefined;
2737
2736
  size?: number | undefined;
2737
+ data?: string | undefined;
2738
2738
  attachmentId?: string | undefined;
2739
2739
  } | undefined;
2740
2740
  } | undefined;
@@ -2751,15 +2751,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2751
2751
  sizeEstimate?: number | undefined;
2752
2752
  raw?: string | undefined;
2753
2753
  payload?: {
2754
- mimeType?: string | undefined;
2755
2754
  parts?: any[] | undefined;
2755
+ mimeType?: string | undefined;
2756
2756
  headers?: {
2757
2757
  value: string;
2758
2758
  name: string;
2759
2759
  }[] | undefined;
2760
2760
  body?: {
2761
- data?: string | undefined;
2762
2761
  size?: number | undefined;
2762
+ data?: string | undefined;
2763
2763
  attachmentId?: string | undefined;
2764
2764
  } | undefined;
2765
2765
  } | undefined;
@@ -2777,15 +2777,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2777
2777
  sizeEstimate?: number | undefined;
2778
2778
  raw?: string | undefined;
2779
2779
  payload?: {
2780
- mimeType?: string | undefined;
2781
2780
  parts?: any[] | undefined;
2781
+ mimeType?: string | undefined;
2782
2782
  headers?: {
2783
2783
  value: string;
2784
2784
  name: string;
2785
2785
  }[] | undefined;
2786
2786
  body?: {
2787
- data?: string | undefined;
2788
2787
  size?: number | undefined;
2788
+ data?: string | undefined;
2789
2789
  attachmentId?: string | undefined;
2790
2790
  } | undefined;
2791
2791
  } | undefined;
@@ -2794,8 +2794,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2794
2794
  }>>;
2795
2795
  error: z.ZodString;
2796
2796
  }, "strip", z.ZodTypeAny, {
2797
- error: string;
2798
2797
  success: boolean;
2798
+ error: string;
2799
2799
  operation: "create_draft";
2800
2800
  draft?: {
2801
2801
  message: {
@@ -2809,15 +2809,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2809
2809
  sizeEstimate?: number | undefined;
2810
2810
  raw?: string | undefined;
2811
2811
  payload?: {
2812
- mimeType?: string | undefined;
2813
2812
  parts?: any[] | undefined;
2813
+ mimeType?: string | undefined;
2814
2814
  headers?: {
2815
2815
  value: string;
2816
2816
  name: string;
2817
2817
  }[] | undefined;
2818
2818
  body?: {
2819
- data?: string | undefined;
2820
2819
  size?: number | undefined;
2820
+ data?: string | undefined;
2821
2821
  attachmentId?: string | undefined;
2822
2822
  } | undefined;
2823
2823
  } | undefined;
@@ -2825,8 +2825,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2825
2825
  id: string;
2826
2826
  } | undefined;
2827
2827
  }, {
2828
- error: string;
2829
2828
  success: boolean;
2829
+ error: string;
2830
2830
  operation: "create_draft";
2831
2831
  draft?: {
2832
2832
  message: {
@@ -2840,15 +2840,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2840
2840
  sizeEstimate?: number | undefined;
2841
2841
  raw?: string | undefined;
2842
2842
  payload?: {
2843
- mimeType?: string | undefined;
2844
2843
  parts?: any[] | undefined;
2844
+ mimeType?: string | undefined;
2845
2845
  headers?: {
2846
2846
  value: string;
2847
2847
  name: string;
2848
2848
  }[] | undefined;
2849
2849
  body?: {
2850
- data?: string | undefined;
2851
2850
  size?: number | undefined;
2851
+ data?: string | undefined;
2852
2852
  attachmentId?: string | undefined;
2853
2853
  } | undefined;
2854
2854
  } | undefined;
@@ -2862,14 +2862,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2862
2862
  thread_id: z.ZodOptional<z.ZodString>;
2863
2863
  error: z.ZodString;
2864
2864
  }, "strip", z.ZodTypeAny, {
2865
- error: string;
2866
2865
  success: boolean;
2866
+ error: string;
2867
2867
  operation: "send_draft";
2868
2868
  message_id?: string | undefined;
2869
2869
  thread_id?: string | undefined;
2870
2870
  }, {
2871
- error: string;
2872
2871
  success: boolean;
2872
+ error: string;
2873
2873
  operation: "send_draft";
2874
2874
  message_id?: string | undefined;
2875
2875
  thread_id?: string | undefined;
@@ -2905,37 +2905,37 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2905
2905
  size: z.ZodOptional<z.ZodNumber>;
2906
2906
  attachmentId: z.ZodOptional<z.ZodString>;
2907
2907
  }, "strip", z.ZodTypeAny, {
2908
- data?: string | undefined;
2909
2908
  size?: number | undefined;
2909
+ data?: string | undefined;
2910
2910
  attachmentId?: string | undefined;
2911
2911
  }, {
2912
- data?: string | undefined;
2913
2912
  size?: number | undefined;
2913
+ data?: string | undefined;
2914
2914
  attachmentId?: string | undefined;
2915
2915
  }>>;
2916
2916
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2917
2917
  }, "strip", z.ZodTypeAny, {
2918
- mimeType?: string | undefined;
2919
2918
  parts?: any[] | undefined;
2919
+ mimeType?: string | undefined;
2920
2920
  headers?: {
2921
2921
  value: string;
2922
2922
  name: string;
2923
2923
  }[] | undefined;
2924
2924
  body?: {
2925
- data?: string | undefined;
2926
2925
  size?: number | undefined;
2926
+ data?: string | undefined;
2927
2927
  attachmentId?: string | undefined;
2928
2928
  } | undefined;
2929
2929
  }, {
2930
- mimeType?: string | undefined;
2931
2930
  parts?: any[] | undefined;
2931
+ mimeType?: string | undefined;
2932
2932
  headers?: {
2933
2933
  value: string;
2934
2934
  name: string;
2935
2935
  }[] | undefined;
2936
2936
  body?: {
2937
- data?: string | undefined;
2938
2937
  size?: number | undefined;
2938
+ data?: string | undefined;
2939
2939
  attachmentId?: string | undefined;
2940
2940
  } | undefined;
2941
2941
  }>>;
@@ -2950,15 +2950,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2950
2950
  sizeEstimate?: number | undefined;
2951
2951
  raw?: string | undefined;
2952
2952
  payload?: {
2953
- mimeType?: string | undefined;
2954
2953
  parts?: any[] | undefined;
2954
+ mimeType?: string | undefined;
2955
2955
  headers?: {
2956
2956
  value: string;
2957
2957
  name: string;
2958
2958
  }[] | undefined;
2959
2959
  body?: {
2960
- data?: string | undefined;
2961
2960
  size?: number | undefined;
2961
+ data?: string | undefined;
2962
2962
  attachmentId?: string | undefined;
2963
2963
  } | undefined;
2964
2964
  } | undefined;
@@ -2973,15 +2973,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2973
2973
  sizeEstimate?: number | undefined;
2974
2974
  raw?: string | undefined;
2975
2975
  payload?: {
2976
- mimeType?: string | undefined;
2977
2976
  parts?: any[] | undefined;
2977
+ mimeType?: string | undefined;
2978
2978
  headers?: {
2979
2979
  value: string;
2980
2980
  name: string;
2981
2981
  }[] | undefined;
2982
2982
  body?: {
2983
- data?: string | undefined;
2984
2983
  size?: number | undefined;
2984
+ data?: string | undefined;
2985
2985
  attachmentId?: string | undefined;
2986
2986
  } | undefined;
2987
2987
  } | undefined;
@@ -2998,15 +2998,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2998
2998
  sizeEstimate?: number | undefined;
2999
2999
  raw?: string | undefined;
3000
3000
  payload?: {
3001
- mimeType?: string | undefined;
3002
3001
  parts?: any[] | undefined;
3002
+ mimeType?: string | undefined;
3003
3003
  headers?: {
3004
3004
  value: string;
3005
3005
  name: string;
3006
3006
  }[] | undefined;
3007
3007
  body?: {
3008
- data?: string | undefined;
3009
3008
  size?: number | undefined;
3009
+ data?: string | undefined;
3010
3010
  attachmentId?: string | undefined;
3011
3011
  } | undefined;
3012
3012
  } | undefined;
@@ -3024,15 +3024,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3024
3024
  sizeEstimate?: number | undefined;
3025
3025
  raw?: string | undefined;
3026
3026
  payload?: {
3027
- mimeType?: string | undefined;
3028
3027
  parts?: any[] | undefined;
3028
+ mimeType?: string | undefined;
3029
3029
  headers?: {
3030
3030
  value: string;
3031
3031
  name: string;
3032
3032
  }[] | undefined;
3033
3033
  body?: {
3034
- data?: string | undefined;
3035
3034
  size?: number | undefined;
3035
+ data?: string | undefined;
3036
3036
  attachmentId?: string | undefined;
3037
3037
  } | undefined;
3038
3038
  } | undefined;
@@ -3043,8 +3043,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3043
3043
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3044
3044
  error: z.ZodString;
3045
3045
  }, "strip", z.ZodTypeAny, {
3046
- error: string;
3047
3046
  success: boolean;
3047
+ error: string;
3048
3048
  operation: "list_drafts";
3049
3049
  next_page_token?: string | undefined;
3050
3050
  result_size_estimate?: number | undefined;
@@ -3060,15 +3060,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3060
3060
  sizeEstimate?: number | undefined;
3061
3061
  raw?: string | undefined;
3062
3062
  payload?: {
3063
- mimeType?: string | undefined;
3064
3063
  parts?: any[] | undefined;
3064
+ mimeType?: string | undefined;
3065
3065
  headers?: {
3066
3066
  value: string;
3067
3067
  name: string;
3068
3068
  }[] | undefined;
3069
3069
  body?: {
3070
- data?: string | undefined;
3071
3070
  size?: number | undefined;
3071
+ data?: string | undefined;
3072
3072
  attachmentId?: string | undefined;
3073
3073
  } | undefined;
3074
3074
  } | undefined;
@@ -3076,8 +3076,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3076
3076
  id: string;
3077
3077
  }[] | undefined;
3078
3078
  }, {
3079
- error: string;
3080
3079
  success: boolean;
3080
+ error: string;
3081
3081
  operation: "list_drafts";
3082
3082
  next_page_token?: string | undefined;
3083
3083
  result_size_estimate?: number | undefined;
@@ -3093,15 +3093,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3093
3093
  sizeEstimate?: number | undefined;
3094
3094
  raw?: string | undefined;
3095
3095
  payload?: {
3096
- mimeType?: string | undefined;
3097
3096
  parts?: any[] | undefined;
3097
+ mimeType?: string | undefined;
3098
3098
  headers?: {
3099
3099
  value: string;
3100
3100
  name: string;
3101
3101
  }[] | undefined;
3102
3102
  body?: {
3103
- data?: string | undefined;
3104
3103
  size?: number | undefined;
3104
+ data?: string | undefined;
3105
3105
  attachmentId?: string | undefined;
3106
3106
  } | undefined;
3107
3107
  } | undefined;
@@ -3114,13 +3114,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3114
3114
  deleted_message_id: z.ZodOptional<z.ZodString>;
3115
3115
  error: z.ZodString;
3116
3116
  }, "strip", z.ZodTypeAny, {
3117
- error: string;
3118
3117
  success: boolean;
3118
+ error: string;
3119
3119
  operation: "delete_email";
3120
3120
  deleted_message_id?: string | undefined;
3121
3121
  }, {
3122
- error: string;
3123
3122
  success: boolean;
3123
+ error: string;
3124
3124
  operation: "delete_email";
3125
3125
  deleted_message_id?: string | undefined;
3126
3126
  }>, z.ZodObject<{
@@ -3129,13 +3129,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3129
3129
  trashed_message_id: z.ZodOptional<z.ZodString>;
3130
3130
  error: z.ZodString;
3131
3131
  }, "strip", z.ZodTypeAny, {
3132
- error: string;
3133
3132
  success: boolean;
3133
+ error: string;
3134
3134
  operation: "trash_email";
3135
3135
  trashed_message_id?: string | undefined;
3136
3136
  }, {
3137
- error: string;
3138
3137
  success: boolean;
3138
+ error: string;
3139
3139
  operation: "trash_email";
3140
3140
  trashed_message_id?: string | undefined;
3141
3141
  }>, z.ZodObject<{
@@ -3171,37 +3171,37 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3171
3171
  size: z.ZodOptional<z.ZodNumber>;
3172
3172
  attachmentId: z.ZodOptional<z.ZodString>;
3173
3173
  }, "strip", z.ZodTypeAny, {
3174
- data?: string | undefined;
3175
3174
  size?: number | undefined;
3175
+ data?: string | undefined;
3176
3176
  attachmentId?: string | undefined;
3177
3177
  }, {
3178
- data?: string | undefined;
3179
3178
  size?: number | undefined;
3179
+ data?: string | undefined;
3180
3180
  attachmentId?: string | undefined;
3181
3181
  }>>;
3182
3182
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3183
3183
  }, "strip", z.ZodTypeAny, {
3184
- mimeType?: string | undefined;
3185
3184
  parts?: any[] | undefined;
3185
+ mimeType?: string | undefined;
3186
3186
  headers?: {
3187
3187
  value: string;
3188
3188
  name: string;
3189
3189
  }[] | undefined;
3190
3190
  body?: {
3191
- data?: string | undefined;
3192
3191
  size?: number | undefined;
3192
+ data?: string | undefined;
3193
3193
  attachmentId?: string | undefined;
3194
3194
  } | undefined;
3195
3195
  }, {
3196
- mimeType?: string | undefined;
3197
3196
  parts?: any[] | undefined;
3197
+ mimeType?: string | undefined;
3198
3198
  headers?: {
3199
3199
  value: string;
3200
3200
  name: string;
3201
3201
  }[] | undefined;
3202
3202
  body?: {
3203
- data?: string | undefined;
3204
3203
  size?: number | undefined;
3204
+ data?: string | undefined;
3205
3205
  attachmentId?: string | undefined;
3206
3206
  } | undefined;
3207
3207
  }>>;
@@ -3216,15 +3216,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3216
3216
  sizeEstimate?: number | undefined;
3217
3217
  raw?: string | undefined;
3218
3218
  payload?: {
3219
- mimeType?: string | undefined;
3220
3219
  parts?: any[] | undefined;
3220
+ mimeType?: string | undefined;
3221
3221
  headers?: {
3222
3222
  value: string;
3223
3223
  name: string;
3224
3224
  }[] | undefined;
3225
3225
  body?: {
3226
- data?: string | undefined;
3227
3226
  size?: number | undefined;
3227
+ data?: string | undefined;
3228
3228
  attachmentId?: string | undefined;
3229
3229
  } | undefined;
3230
3230
  } | undefined;
@@ -3239,15 +3239,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3239
3239
  sizeEstimate?: number | undefined;
3240
3240
  raw?: string | undefined;
3241
3241
  payload?: {
3242
- mimeType?: string | undefined;
3243
3242
  parts?: any[] | undefined;
3243
+ mimeType?: string | undefined;
3244
3244
  headers?: {
3245
3245
  value: string;
3246
3246
  name: string;
3247
3247
  }[] | undefined;
3248
3248
  body?: {
3249
- data?: string | undefined;
3250
3249
  size?: number | undefined;
3250
+ data?: string | undefined;
3251
3251
  attachmentId?: string | undefined;
3252
3252
  } | undefined;
3253
3253
  } | undefined;
@@ -3266,15 +3266,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3266
3266
  sizeEstimate?: number | undefined;
3267
3267
  raw?: string | undefined;
3268
3268
  payload?: {
3269
- mimeType?: string | undefined;
3270
3269
  parts?: any[] | undefined;
3270
+ mimeType?: string | undefined;
3271
3271
  headers?: {
3272
3272
  value: string;
3273
3273
  name: string;
3274
3274
  }[] | undefined;
3275
3275
  body?: {
3276
- data?: string | undefined;
3277
3276
  size?: number | undefined;
3277
+ data?: string | undefined;
3278
3278
  attachmentId?: string | undefined;
3279
3279
  } | undefined;
3280
3280
  } | undefined;
@@ -3294,15 +3294,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3294
3294
  sizeEstimate?: number | undefined;
3295
3295
  raw?: string | undefined;
3296
3296
  payload?: {
3297
- mimeType?: string | undefined;
3298
3297
  parts?: any[] | undefined;
3298
+ mimeType?: string | undefined;
3299
3299
  headers?: {
3300
3300
  value: string;
3301
3301
  name: string;
3302
3302
  }[] | undefined;
3303
3303
  body?: {
3304
- data?: string | undefined;
3305
3304
  size?: number | undefined;
3305
+ data?: string | undefined;
3306
3306
  attachmentId?: string | undefined;
3307
3307
  } | undefined;
3308
3308
  } | undefined;
@@ -3314,8 +3314,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3314
3314
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3315
3315
  error: z.ZodString;
3316
3316
  }, "strip", z.ZodTypeAny, {
3317
- error: string;
3318
3317
  success: boolean;
3318
+ error: string;
3319
3319
  operation: "list_threads";
3320
3320
  next_page_token?: string | undefined;
3321
3321
  result_size_estimate?: number | undefined;
@@ -3332,15 +3332,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3332
3332
  sizeEstimate?: number | undefined;
3333
3333
  raw?: string | undefined;
3334
3334
  payload?: {
3335
- mimeType?: string | undefined;
3336
3335
  parts?: any[] | undefined;
3336
+ mimeType?: string | undefined;
3337
3337
  headers?: {
3338
3338
  value: string;
3339
3339
  name: string;
3340
3340
  }[] | undefined;
3341
3341
  body?: {
3342
- data?: string | undefined;
3343
3342
  size?: number | undefined;
3343
+ data?: string | undefined;
3344
3344
  attachmentId?: string | undefined;
3345
3345
  } | undefined;
3346
3346
  } | undefined;
@@ -3349,8 +3349,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3349
3349
  historyId?: string | undefined;
3350
3350
  }[] | undefined;
3351
3351
  }, {
3352
- error: string;
3353
3352
  success: boolean;
3353
+ error: string;
3354
3354
  operation: "list_threads";
3355
3355
  next_page_token?: string | undefined;
3356
3356
  result_size_estimate?: number | undefined;
@@ -3367,15 +3367,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3367
3367
  sizeEstimate?: number | undefined;
3368
3368
  raw?: string | undefined;
3369
3369
  payload?: {
3370
- mimeType?: string | undefined;
3371
3370
  parts?: any[] | undefined;
3371
+ mimeType?: string | undefined;
3372
3372
  headers?: {
3373
3373
  value: string;
3374
3374
  name: string;
3375
3375
  }[] | undefined;
3376
3376
  body?: {
3377
- data?: string | undefined;
3378
3377
  size?: number | undefined;
3378
+ data?: string | undefined;
3379
3379
  attachmentId?: string | undefined;
3380
3380
  } | undefined;
3381
3381
  } | undefined;
@@ -3395,36 +3395,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3395
3395
  }, "strip", z.ZodTypeAny, {
3396
3396
  name: string;
3397
3397
  id: string;
3398
- type?: "system" | "user" | undefined;
3398
+ type?: "user" | "system" | undefined;
3399
3399
  messageListVisibility?: "show" | "hide" | undefined;
3400
3400
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3401
3401
  }, {
3402
3402
  name: string;
3403
3403
  id: string;
3404
- type?: "system" | "user" | undefined;
3404
+ type?: "user" | "system" | undefined;
3405
3405
  messageListVisibility?: "show" | "hide" | undefined;
3406
3406
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3407
3407
  }>, "many">>;
3408
3408
  error: z.ZodString;
3409
3409
  }, "strip", z.ZodTypeAny, {
3410
- error: string;
3411
3410
  success: boolean;
3411
+ error: string;
3412
3412
  operation: "list_labels";
3413
3413
  labels?: {
3414
3414
  name: string;
3415
3415
  id: string;
3416
- type?: "system" | "user" | undefined;
3416
+ type?: "user" | "system" | undefined;
3417
3417
  messageListVisibility?: "show" | "hide" | undefined;
3418
3418
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3419
3419
  }[] | undefined;
3420
3420
  }, {
3421
- error: string;
3422
3421
  success: boolean;
3422
+ error: string;
3423
3423
  operation: "list_labels";
3424
3424
  labels?: {
3425
3425
  name: string;
3426
3426
  id: string;
3427
- type?: "system" | "user" | undefined;
3427
+ type?: "user" | "system" | undefined;
3428
3428
  messageListVisibility?: "show" | "hide" | undefined;
3429
3429
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3430
3430
  }[] | undefined;
@@ -3440,36 +3440,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3440
3440
  }, "strip", z.ZodTypeAny, {
3441
3441
  name: string;
3442
3442
  id: string;
3443
- type?: "system" | "user" | undefined;
3443
+ type?: "user" | "system" | undefined;
3444
3444
  messageListVisibility?: "show" | "hide" | undefined;
3445
3445
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3446
3446
  }, {
3447
3447
  name: string;
3448
3448
  id: string;
3449
- type?: "system" | "user" | undefined;
3449
+ type?: "user" | "system" | undefined;
3450
3450
  messageListVisibility?: "show" | "hide" | undefined;
3451
3451
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3452
3452
  }>>;
3453
3453
  error: z.ZodString;
3454
3454
  }, "strip", z.ZodTypeAny, {
3455
- error: string;
3456
3455
  success: boolean;
3456
+ error: string;
3457
3457
  operation: "create_label";
3458
3458
  label?: {
3459
3459
  name: string;
3460
3460
  id: string;
3461
- type?: "system" | "user" | undefined;
3461
+ type?: "user" | "system" | undefined;
3462
3462
  messageListVisibility?: "show" | "hide" | undefined;
3463
3463
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3464
3464
  } | undefined;
3465
3465
  }, {
3466
- error: string;
3467
3466
  success: boolean;
3467
+ error: string;
3468
3468
  operation: "create_label";
3469
3469
  label?: {
3470
3470
  name: string;
3471
3471
  id: string;
3472
- type?: "system" | "user" | undefined;
3472
+ type?: "user" | "system" | undefined;
3473
3473
  messageListVisibility?: "show" | "hide" | undefined;
3474
3474
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3475
3475
  } | undefined;
@@ -3480,14 +3480,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3480
3480
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3481
3481
  error: z.ZodString;
3482
3482
  }, "strip", z.ZodTypeAny, {
3483
- error: string;
3484
3483
  success: boolean;
3484
+ error: string;
3485
3485
  operation: "modify_message_labels";
3486
3486
  message_id?: string | undefined;
3487
3487
  label_ids?: string[] | undefined;
3488
3488
  }, {
3489
- error: string;
3490
3489
  success: boolean;
3490
+ error: string;
3491
3491
  operation: "modify_message_labels";
3492
3492
  message_id?: string | undefined;
3493
3493
  label_ids?: string[] | undefined;
@@ -3497,13 +3497,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3497
3497
  thread_id: z.ZodOptional<z.ZodString>;
3498
3498
  error: z.ZodString;
3499
3499
  }, "strip", z.ZodTypeAny, {
3500
- error: string;
3501
3500
  success: boolean;
3501
+ error: string;
3502
3502
  operation: "modify_thread_labels";
3503
3503
  thread_id?: string | undefined;
3504
3504
  }, {
3505
- error: string;
3506
3505
  success: boolean;
3506
+ error: string;
3507
3507
  operation: "modify_thread_labels";
3508
3508
  thread_id?: string | undefined;
3509
3509
  }>]>;