@bubblelab/bubble-core 0.1.193 → 0.1.194

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 (81) hide show
  1. package/dist/bubble-bundle.d.ts +108 -108
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +72 -72
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +16 -16
  4. package/dist/bubbles/service-bubble/airtable.d.ts +54 -54
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +10 -10
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +60 -60
  7. package/dist/bubbles/service-bubble/attio/attio.d.ts +42 -42
  8. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +4 -4
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +25 -25
  10. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +27 -27
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +90 -90
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +306 -306
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +204 -204
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +12 -12
  16. package/dist/bubbles/service-bubble/github.d.ts +220 -220
  17. package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
  18. package/dist/bubbles/service-bubble/google-calendar.d.ts +50 -50
  19. package/dist/bubbles/service-bubble/google-drive.d.ts +56 -56
  20. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +34 -34
  21. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  22. package/dist/bubbles/service-bubble/http.d.ts +14 -14
  23. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +9 -9
  24. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  25. package/dist/bubbles/service-bubble/jira/jira.d.ts +181 -181
  26. package/dist/bubbles/service-bubble/linear/linear.d.ts +22 -22
  27. package/dist/bubbles/service-bubble/notion/notion.d.ts +1263 -1263
  28. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  29. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +20 -20
  30. package/dist/bubbles/service-bubble/resend.d.ts +22 -22
  31. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +12 -12
  32. package/dist/bubbles/service-bubble/slack/slack.d.ts +340 -340
  33. package/dist/bubbles/service-bubble/slack/slack.utils.d.ts.map +1 -1
  34. package/dist/bubbles/service-bubble/slack/slack.utils.js.map +1 -1
  35. package/dist/bubbles/service-bubble/storage.d.ts +56 -56
  36. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +96 -96
  37. package/dist/bubbles/service-bubble/telegram.d.ts +1111 -1111
  38. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +12 -12
  39. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  40. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  41. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  42. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  43. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
  44. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +66 -66
  45. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts.map +1 -1
  46. package/dist/bubbles/tool-bubble/chart-js-tool.js +44 -7
  47. package/dist/bubbles/tool-bubble/chart-js-tool.js.map +1 -1
  48. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  49. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +14 -14
  50. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  52. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
  53. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  54. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +94 -94
  55. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  56. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  58. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  59. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +38 -38
  60. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +22 -22
  61. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  62. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  63. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
  64. package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
  65. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +46 -46
  66. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  67. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  68. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  69. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  71. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +4 -4
  72. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  73. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +8 -8
  74. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  75. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +68 -68
  76. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  77. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
  78. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +90 -90
  79. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  80. package/dist/bubbles.json +1 -1
  81. package/package.json +2 -2
@@ -14,8 +14,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
14
14
  thread_id: z.ZodOptional<z.ZodString>;
15
15
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- operation: "send_email";
18
17
  to: string[];
18
+ operation: "send_email";
19
19
  subject: string;
20
20
  credentials?: Partial<Record<CredentialType, string>> | undefined;
21
21
  cc?: string[] | undefined;
@@ -25,8 +25,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
25
25
  body_html?: string | undefined;
26
26
  thread_id?: string | undefined;
27
27
  }, {
28
- operation: "send_email";
29
28
  to: string[];
29
+ operation: "send_email";
30
30
  subject: string;
31
31
  credentials?: Partial<Record<CredentialType, string>> | undefined;
32
32
  cc?: string[] | undefined;
@@ -69,7 +69,7 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
69
69
  metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
70
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
- format: "minimal" | "metadata" | "full" | "raw";
72
+ format: "metadata" | "minimal" | "raw" | "full";
73
73
  operation: "get_email";
74
74
  message_id: string;
75
75
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -77,7 +77,7 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
77
77
  }, {
78
78
  operation: "get_email";
79
79
  message_id: string;
80
- format?: "minimal" | "metadata" | "full" | "raw" | undefined;
80
+ format?: "metadata" | "minimal" | "raw" | "full" | undefined;
81
81
  credentials?: Partial<Record<CredentialType, string>> | undefined;
82
82
  metadata_headers?: string[] | undefined;
83
83
  }>, z.ZodObject<{
@@ -134,8 +134,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
134
134
  thread_id: z.ZodOptional<z.ZodString>;
135
135
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
136
136
  }, "strip", z.ZodTypeAny, {
137
- operation: "create_draft";
138
137
  to: string[];
138
+ operation: "create_draft";
139
139
  subject: string;
140
140
  credentials?: Partial<Record<CredentialType, string>> | undefined;
141
141
  cc?: string[] | undefined;
@@ -145,8 +145,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
145
145
  body_html?: string | undefined;
146
146
  thread_id?: string | undefined;
147
147
  }, {
148
- operation: "create_draft";
149
148
  to: string[];
149
+ operation: "create_draft";
150
150
  subject: string;
151
151
  credentials?: Partial<Record<CredentialType, string>> | undefined;
152
152
  cc?: string[] | undefined;
@@ -257,7 +257,7 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
257
257
  name: string;
258
258
  operation: "create_label";
259
259
  label_list_visibility: "labelShow" | "labelShowIfUnread" | "labelHide";
260
- message_list_visibility: "show" | "hide";
260
+ message_list_visibility: "hide" | "show";
261
261
  credentials?: Partial<Record<CredentialType, string>> | undefined;
262
262
  background_color?: string | undefined;
263
263
  text_color?: string | undefined;
@@ -266,7 +266,7 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
266
266
  operation: "create_label";
267
267
  credentials?: Partial<Record<CredentialType, string>> | undefined;
268
268
  label_list_visibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
269
- message_list_visibility?: "show" | "hide" | undefined;
269
+ message_list_visibility?: "hide" | "show" | undefined;
270
270
  background_color?: string | undefined;
271
271
  text_color?: string | undefined;
272
272
  }>, z.ZodObject<{
@@ -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;
@@ -364,11 +364,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
364
364
  }>>;
365
365
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
366
366
  }, "strip", z.ZodTypeAny, {
367
- mimeType?: string | undefined;
368
367
  headers?: {
369
368
  value: string;
370
369
  name: string;
371
370
  }[] | undefined;
371
+ mimeType?: string | undefined;
372
372
  body?: {
373
373
  data?: string | undefined;
374
374
  size?: number | undefined;
@@ -376,11 +376,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
376
376
  } | undefined;
377
377
  parts?: any[] | undefined;
378
378
  }, {
379
- mimeType?: string | undefined;
380
379
  headers?: {
381
380
  value: string;
382
381
  name: string;
383
382
  }[] | undefined;
383
+ mimeType?: string | undefined;
384
384
  body?: {
385
385
  data?: string | undefined;
386
386
  size?: number | undefined;
@@ -390,7 +390,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
390
390
  }>>;
391
391
  }, "strip", z.ZodTypeAny, {
392
392
  id: string;
393
- raw?: string | undefined;
394
393
  threadId?: string | undefined;
395
394
  labelIds?: string[] | undefined;
396
395
  snippet?: string | undefined;
@@ -398,12 +397,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
398
397
  historyId?: string | undefined;
399
398
  internalDate?: string | undefined;
400
399
  sizeEstimate?: number | undefined;
400
+ raw?: string | undefined;
401
401
  payload?: {
402
- mimeType?: string | undefined;
403
402
  headers?: {
404
403
  value: string;
405
404
  name: string;
406
405
  }[] | undefined;
406
+ mimeType?: string | undefined;
407
407
  body?: {
408
408
  data?: string | undefined;
409
409
  size?: number | undefined;
@@ -413,7 +413,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
413
413
  } | undefined;
414
414
  }, {
415
415
  id: string;
416
- raw?: string | undefined;
417
416
  threadId?: string | undefined;
418
417
  labelIds?: string[] | undefined;
419
418
  snippet?: string | undefined;
@@ -421,12 +420,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
421
420
  historyId?: string | undefined;
422
421
  internalDate?: string | undefined;
423
422
  sizeEstimate?: number | undefined;
423
+ raw?: string | undefined;
424
424
  payload?: {
425
- mimeType?: string | undefined;
426
425
  headers?: {
427
426
  value: string;
428
427
  name: string;
429
428
  }[] | undefined;
429
+ mimeType?: string | undefined;
430
430
  body?: {
431
431
  data?: string | undefined;
432
432
  size?: number | undefined;
@@ -439,12 +439,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
439
439
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
440
440
  error: z.ZodString;
441
441
  }, "strip", z.ZodTypeAny, {
442
- error: string;
443
442
  success: boolean;
443
+ error: string;
444
444
  operation: "list_emails";
445
445
  messages?: {
446
446
  id: string;
447
- raw?: string | undefined;
448
447
  threadId?: string | undefined;
449
448
  labelIds?: string[] | undefined;
450
449
  snippet?: string | undefined;
@@ -452,12 +451,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
452
451
  historyId?: string | undefined;
453
452
  internalDate?: string | undefined;
454
453
  sizeEstimate?: number | undefined;
454
+ raw?: string | undefined;
455
455
  payload?: {
456
- mimeType?: string | undefined;
457
456
  headers?: {
458
457
  value: string;
459
458
  name: string;
460
459
  }[] | undefined;
460
+ mimeType?: string | undefined;
461
461
  body?: {
462
462
  data?: string | undefined;
463
463
  size?: number | undefined;
@@ -469,12 +469,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
469
469
  next_page_token?: string | undefined;
470
470
  result_size_estimate?: number | undefined;
471
471
  }, {
472
- error: string;
473
472
  success: boolean;
473
+ error: string;
474
474
  operation: "list_emails";
475
475
  messages?: {
476
476
  id: string;
477
- raw?: string | undefined;
478
477
  threadId?: string | undefined;
479
478
  labelIds?: string[] | undefined;
480
479
  snippet?: string | undefined;
@@ -482,12 +481,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
482
481
  historyId?: string | undefined;
483
482
  internalDate?: string | undefined;
484
483
  sizeEstimate?: number | undefined;
484
+ raw?: string | undefined;
485
485
  payload?: {
486
- mimeType?: string | undefined;
487
486
  headers?: {
488
487
  value: string;
489
488
  name: string;
490
489
  }[] | undefined;
490
+ mimeType?: string | undefined;
491
491
  body?: {
492
492
  data?: string | undefined;
493
493
  size?: number | undefined;
@@ -538,11 +538,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
538
538
  }>>;
539
539
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
540
540
  }, "strip", z.ZodTypeAny, {
541
- mimeType?: string | undefined;
542
541
  headers?: {
543
542
  value: string;
544
543
  name: string;
545
544
  }[] | undefined;
545
+ mimeType?: string | undefined;
546
546
  body?: {
547
547
  data?: string | undefined;
548
548
  size?: number | undefined;
@@ -550,11 +550,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
550
550
  } | undefined;
551
551
  parts?: any[] | undefined;
552
552
  }, {
553
- mimeType?: string | undefined;
554
553
  headers?: {
555
554
  value: string;
556
555
  name: string;
557
556
  }[] | undefined;
557
+ mimeType?: string | undefined;
558
558
  body?: {
559
559
  data?: string | undefined;
560
560
  size?: number | undefined;
@@ -564,7 +564,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
564
564
  }>>;
565
565
  }, "strip", z.ZodTypeAny, {
566
566
  id: string;
567
- raw?: string | undefined;
568
567
  threadId?: string | undefined;
569
568
  labelIds?: string[] | undefined;
570
569
  snippet?: string | undefined;
@@ -572,12 +571,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
572
571
  historyId?: string | undefined;
573
572
  internalDate?: string | undefined;
574
573
  sizeEstimate?: number | undefined;
574
+ raw?: string | undefined;
575
575
  payload?: {
576
- mimeType?: string | undefined;
577
576
  headers?: {
578
577
  value: string;
579
578
  name: string;
580
579
  }[] | undefined;
580
+ mimeType?: string | undefined;
581
581
  body?: {
582
582
  data?: string | undefined;
583
583
  size?: number | undefined;
@@ -587,7 +587,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
587
587
  } | undefined;
588
588
  }, {
589
589
  id: string;
590
- raw?: string | undefined;
591
590
  threadId?: string | undefined;
592
591
  labelIds?: string[] | undefined;
593
592
  snippet?: string | undefined;
@@ -595,12 +594,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
595
594
  historyId?: string | undefined;
596
595
  internalDate?: string | undefined;
597
596
  sizeEstimate?: number | undefined;
597
+ raw?: string | undefined;
598
598
  payload?: {
599
- mimeType?: string | undefined;
600
599
  headers?: {
601
600
  value: string;
602
601
  name: string;
603
602
  }[] | undefined;
603
+ mimeType?: string | undefined;
604
604
  body?: {
605
605
  data?: string | undefined;
606
606
  size?: number | undefined;
@@ -611,12 +611,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
611
611
  }>>;
612
612
  error: z.ZodString;
613
613
  }, "strip", z.ZodTypeAny, {
614
- error: string;
615
614
  success: boolean;
615
+ error: string;
616
616
  operation: "get_email";
617
617
  message?: {
618
618
  id: string;
619
- raw?: string | undefined;
620
619
  threadId?: string | undefined;
621
620
  labelIds?: string[] | undefined;
622
621
  snippet?: string | undefined;
@@ -624,12 +623,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
624
623
  historyId?: string | undefined;
625
624
  internalDate?: string | undefined;
626
625
  sizeEstimate?: number | undefined;
626
+ raw?: string | undefined;
627
627
  payload?: {
628
- mimeType?: string | undefined;
629
628
  headers?: {
630
629
  value: string;
631
630
  name: string;
632
631
  }[] | undefined;
632
+ mimeType?: string | undefined;
633
633
  body?: {
634
634
  data?: string | undefined;
635
635
  size?: number | undefined;
@@ -639,12 +639,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
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;
647
- raw?: string | undefined;
648
647
  threadId?: string | undefined;
649
648
  labelIds?: string[] | undefined;
650
649
  snippet?: string | undefined;
@@ -652,12 +651,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
652
651
  historyId?: string | undefined;
653
652
  internalDate?: string | undefined;
654
653
  sizeEstimate?: number | undefined;
654
+ raw?: string | undefined;
655
655
  payload?: {
656
- mimeType?: string | undefined;
657
656
  headers?: {
658
657
  value: string;
659
658
  name: string;
660
659
  }[] | undefined;
660
+ mimeType?: string | undefined;
661
661
  body?: {
662
662
  data?: string | undefined;
663
663
  size?: number | undefined;
@@ -706,11 +706,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
706
706
  }>>;
707
707
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
708
708
  }, "strip", z.ZodTypeAny, {
709
- mimeType?: string | undefined;
710
709
  headers?: {
711
710
  value: string;
712
711
  name: string;
713
712
  }[] | undefined;
713
+ mimeType?: string | undefined;
714
714
  body?: {
715
715
  data?: string | undefined;
716
716
  size?: number | undefined;
@@ -718,11 +718,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
718
718
  } | undefined;
719
719
  parts?: any[] | undefined;
720
720
  }, {
721
- mimeType?: string | undefined;
722
721
  headers?: {
723
722
  value: string;
724
723
  name: string;
725
724
  }[] | undefined;
725
+ mimeType?: string | undefined;
726
726
  body?: {
727
727
  data?: string | undefined;
728
728
  size?: number | undefined;
@@ -732,7 +732,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
732
732
  }>>;
733
733
  }, "strip", z.ZodTypeAny, {
734
734
  id: string;
735
- raw?: string | undefined;
736
735
  threadId?: string | undefined;
737
736
  labelIds?: string[] | undefined;
738
737
  snippet?: string | undefined;
@@ -740,12 +739,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
740
739
  historyId?: string | undefined;
741
740
  internalDate?: string | undefined;
742
741
  sizeEstimate?: number | undefined;
742
+ raw?: string | undefined;
743
743
  payload?: {
744
- mimeType?: string | undefined;
745
744
  headers?: {
746
745
  value: string;
747
746
  name: string;
748
747
  }[] | undefined;
748
+ mimeType?: string | undefined;
749
749
  body?: {
750
750
  data?: string | undefined;
751
751
  size?: number | undefined;
@@ -755,7 +755,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
755
755
  } | undefined;
756
756
  }, {
757
757
  id: string;
758
- raw?: string | undefined;
759
758
  threadId?: string | undefined;
760
759
  labelIds?: string[] | undefined;
761
760
  snippet?: string | undefined;
@@ -763,12 +762,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
763
762
  historyId?: string | undefined;
764
763
  internalDate?: string | undefined;
765
764
  sizeEstimate?: number | undefined;
765
+ raw?: string | undefined;
766
766
  payload?: {
767
- mimeType?: string | undefined;
768
767
  headers?: {
769
768
  value: string;
770
769
  name: string;
771
770
  }[] | undefined;
771
+ mimeType?: string | undefined;
772
772
  body?: {
773
773
  data?: string | undefined;
774
774
  size?: number | undefined;
@@ -780,12 +780,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
780
780
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
781
781
  error: z.ZodString;
782
782
  }, "strip", z.ZodTypeAny, {
783
- error: string;
784
783
  success: boolean;
784
+ error: string;
785
785
  operation: "search_emails";
786
786
  messages?: {
787
787
  id: string;
788
- raw?: string | undefined;
789
788
  threadId?: string | undefined;
790
789
  labelIds?: string[] | undefined;
791
790
  snippet?: string | undefined;
@@ -793,12 +792,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
793
792
  historyId?: string | undefined;
794
793
  internalDate?: string | undefined;
795
794
  sizeEstimate?: number | undefined;
795
+ raw?: string | undefined;
796
796
  payload?: {
797
- mimeType?: string | undefined;
798
797
  headers?: {
799
798
  value: string;
800
799
  name: string;
801
800
  }[] | undefined;
801
+ mimeType?: string | undefined;
802
802
  body?: {
803
803
  data?: string | undefined;
804
804
  size?: number | undefined;
@@ -809,12 +809,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
809
809
  }[] | undefined;
810
810
  result_size_estimate?: number | undefined;
811
811
  }, {
812
- error: string;
813
812
  success: boolean;
813
+ error: string;
814
814
  operation: "search_emails";
815
815
  messages?: {
816
816
  id: string;
817
- raw?: string | undefined;
818
817
  threadId?: string | undefined;
819
818
  labelIds?: string[] | undefined;
820
819
  snippet?: string | undefined;
@@ -822,12 +821,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
822
821
  historyId?: string | undefined;
823
822
  internalDate?: string | undefined;
824
823
  sizeEstimate?: number | undefined;
824
+ raw?: string | undefined;
825
825
  payload?: {
826
- mimeType?: string | undefined;
827
826
  headers?: {
828
827
  value: string;
829
828
  name: string;
830
829
  }[] | undefined;
830
+ mimeType?: string | undefined;
831
831
  body?: {
832
832
  data?: string | undefined;
833
833
  size?: number | 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<{
@@ -909,11 +909,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
909
909
  }>>;
910
910
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
911
911
  }, "strip", z.ZodTypeAny, {
912
- mimeType?: string | undefined;
913
912
  headers?: {
914
913
  value: string;
915
914
  name: string;
916
915
  }[] | undefined;
916
+ mimeType?: string | undefined;
917
917
  body?: {
918
918
  data?: string | undefined;
919
919
  size?: number | undefined;
@@ -921,11 +921,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
921
921
  } | undefined;
922
922
  parts?: any[] | undefined;
923
923
  }, {
924
- mimeType?: string | undefined;
925
924
  headers?: {
926
925
  value: string;
927
926
  name: string;
928
927
  }[] | undefined;
928
+ mimeType?: string | undefined;
929
929
  body?: {
930
930
  data?: string | undefined;
931
931
  size?: number | undefined;
@@ -935,7 +935,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
935
935
  }>>;
936
936
  }, "strip", z.ZodTypeAny, {
937
937
  id: string;
938
- raw?: string | undefined;
939
938
  threadId?: string | undefined;
940
939
  labelIds?: string[] | undefined;
941
940
  snippet?: string | undefined;
@@ -943,12 +942,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
943
942
  historyId?: string | undefined;
944
943
  internalDate?: string | undefined;
945
944
  sizeEstimate?: number | undefined;
945
+ raw?: string | undefined;
946
946
  payload?: {
947
- mimeType?: string | undefined;
948
947
  headers?: {
949
948
  value: string;
950
949
  name: string;
951
950
  }[] | undefined;
951
+ mimeType?: string | undefined;
952
952
  body?: {
953
953
  data?: string | undefined;
954
954
  size?: number | undefined;
@@ -958,7 +958,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
958
958
  } | undefined;
959
959
  }, {
960
960
  id: string;
961
- raw?: string | undefined;
962
961
  threadId?: string | undefined;
963
962
  labelIds?: string[] | undefined;
964
963
  snippet?: string | undefined;
@@ -966,12 +965,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
966
965
  historyId?: string | undefined;
967
966
  internalDate?: string | undefined;
968
967
  sizeEstimate?: number | undefined;
968
+ raw?: string | undefined;
969
969
  payload?: {
970
- mimeType?: string | undefined;
971
970
  headers?: {
972
971
  value: string;
973
972
  name: string;
974
973
  }[] | undefined;
974
+ mimeType?: string | undefined;
975
975
  body?: {
976
976
  data?: string | undefined;
977
977
  size?: number | undefined;
@@ -983,7 +983,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
983
983
  }, "strip", z.ZodTypeAny, {
984
984
  message: {
985
985
  id: string;
986
- raw?: string | undefined;
987
986
  threadId?: string | undefined;
988
987
  labelIds?: string[] | undefined;
989
988
  snippet?: string | undefined;
@@ -991,12 +990,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
991
990
  historyId?: string | undefined;
992
991
  internalDate?: string | undefined;
993
992
  sizeEstimate?: number | undefined;
993
+ raw?: string | undefined;
994
994
  payload?: {
995
- mimeType?: string | undefined;
996
995
  headers?: {
997
996
  value: string;
998
997
  name: string;
999
998
  }[] | undefined;
999
+ mimeType?: string | undefined;
1000
1000
  body?: {
1001
1001
  data?: string | undefined;
1002
1002
  size?: number | undefined;
@@ -1009,7 +1009,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1009
1009
  }, {
1010
1010
  message: {
1011
1011
  id: string;
1012
- raw?: string | undefined;
1013
1012
  threadId?: string | undefined;
1014
1013
  labelIds?: string[] | undefined;
1015
1014
  snippet?: string | undefined;
@@ -1017,12 +1016,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1017
1016
  historyId?: string | undefined;
1018
1017
  internalDate?: string | undefined;
1019
1018
  sizeEstimate?: number | undefined;
1019
+ raw?: string | undefined;
1020
1020
  payload?: {
1021
- mimeType?: string | undefined;
1022
1021
  headers?: {
1023
1022
  value: string;
1024
1023
  name: string;
1025
1024
  }[] | undefined;
1025
+ mimeType?: string | undefined;
1026
1026
  body?: {
1027
1027
  data?: string | undefined;
1028
1028
  size?: number | undefined;
@@ -1035,13 +1035,12 @@ 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: {
1043
1043
  id: string;
1044
- raw?: string | undefined;
1045
1044
  threadId?: string | undefined;
1046
1045
  labelIds?: string[] | undefined;
1047
1046
  snippet?: string | undefined;
@@ -1049,12 +1048,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1049
1048
  historyId?: string | undefined;
1050
1049
  internalDate?: string | undefined;
1051
1050
  sizeEstimate?: number | undefined;
1051
+ raw?: string | undefined;
1052
1052
  payload?: {
1053
- mimeType?: string | undefined;
1054
1053
  headers?: {
1055
1054
  value: string;
1056
1055
  name: string;
1057
1056
  }[] | undefined;
1057
+ mimeType?: string | undefined;
1058
1058
  body?: {
1059
1059
  data?: string | undefined;
1060
1060
  size?: number | undefined;
@@ -1066,13 +1066,12 @@ 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: {
1074
1074
  id: string;
1075
- raw?: string | undefined;
1076
1075
  threadId?: string | undefined;
1077
1076
  labelIds?: string[] | undefined;
1078
1077
  snippet?: string | undefined;
@@ -1080,12 +1079,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1080
1079
  historyId?: string | undefined;
1081
1080
  internalDate?: string | undefined;
1082
1081
  sizeEstimate?: number | undefined;
1082
+ raw?: string | undefined;
1083
1083
  payload?: {
1084
- mimeType?: string | undefined;
1085
1084
  headers?: {
1086
1085
  value: string;
1087
1086
  name: string;
1088
1087
  }[] | undefined;
1088
+ mimeType?: string | undefined;
1089
1089
  body?: {
1090
1090
  data?: string | undefined;
1091
1091
  size?: number | 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;
@@ -1156,11 +1156,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1156
1156
  }>>;
1157
1157
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1158
1158
  }, "strip", z.ZodTypeAny, {
1159
- mimeType?: string | undefined;
1160
1159
  headers?: {
1161
1160
  value: string;
1162
1161
  name: string;
1163
1162
  }[] | undefined;
1163
+ mimeType?: string | undefined;
1164
1164
  body?: {
1165
1165
  data?: string | undefined;
1166
1166
  size?: number | undefined;
@@ -1168,11 +1168,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1168
1168
  } | undefined;
1169
1169
  parts?: any[] | undefined;
1170
1170
  }, {
1171
- mimeType?: string | undefined;
1172
1171
  headers?: {
1173
1172
  value: string;
1174
1173
  name: string;
1175
1174
  }[] | undefined;
1175
+ mimeType?: string | undefined;
1176
1176
  body?: {
1177
1177
  data?: string | undefined;
1178
1178
  size?: number | undefined;
@@ -1182,7 +1182,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1182
1182
  }>>;
1183
1183
  }, "strip", z.ZodTypeAny, {
1184
1184
  id: string;
1185
- raw?: string | undefined;
1186
1185
  threadId?: string | undefined;
1187
1186
  labelIds?: string[] | undefined;
1188
1187
  snippet?: string | undefined;
@@ -1190,12 +1189,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1190
1189
  historyId?: string | undefined;
1191
1190
  internalDate?: string | undefined;
1192
1191
  sizeEstimate?: number | undefined;
1192
+ raw?: string | undefined;
1193
1193
  payload?: {
1194
- mimeType?: string | undefined;
1195
1194
  headers?: {
1196
1195
  value: string;
1197
1196
  name: string;
1198
1197
  }[] | undefined;
1198
+ mimeType?: string | undefined;
1199
1199
  body?: {
1200
1200
  data?: string | undefined;
1201
1201
  size?: number | undefined;
@@ -1205,7 +1205,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1205
1205
  } | undefined;
1206
1206
  }, {
1207
1207
  id: string;
1208
- raw?: string | undefined;
1209
1208
  threadId?: string | undefined;
1210
1209
  labelIds?: string[] | undefined;
1211
1210
  snippet?: string | undefined;
@@ -1213,12 +1212,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1213
1212
  historyId?: string | undefined;
1214
1213
  internalDate?: string | undefined;
1215
1214
  sizeEstimate?: number | undefined;
1215
+ raw?: string | undefined;
1216
1216
  payload?: {
1217
- mimeType?: string | undefined;
1218
1217
  headers?: {
1219
1218
  value: string;
1220
1219
  name: string;
1221
1220
  }[] | undefined;
1221
+ mimeType?: string | undefined;
1222
1222
  body?: {
1223
1223
  data?: string | undefined;
1224
1224
  size?: number | undefined;
@@ -1230,7 +1230,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1230
1230
  }, "strip", z.ZodTypeAny, {
1231
1231
  message: {
1232
1232
  id: string;
1233
- raw?: string | undefined;
1234
1233
  threadId?: string | undefined;
1235
1234
  labelIds?: string[] | undefined;
1236
1235
  snippet?: string | undefined;
@@ -1238,12 +1237,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1238
1237
  historyId?: string | undefined;
1239
1238
  internalDate?: string | undefined;
1240
1239
  sizeEstimate?: number | undefined;
1240
+ raw?: string | undefined;
1241
1241
  payload?: {
1242
- mimeType?: string | undefined;
1243
1242
  headers?: {
1244
1243
  value: string;
1245
1244
  name: string;
1246
1245
  }[] | undefined;
1246
+ mimeType?: string | undefined;
1247
1247
  body?: {
1248
1248
  data?: string | undefined;
1249
1249
  size?: number | undefined;
@@ -1256,7 +1256,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1256
1256
  }, {
1257
1257
  message: {
1258
1258
  id: string;
1259
- raw?: string | undefined;
1260
1259
  threadId?: string | undefined;
1261
1260
  labelIds?: string[] | undefined;
1262
1261
  snippet?: string | undefined;
@@ -1264,12 +1263,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1264
1263
  historyId?: string | undefined;
1265
1264
  internalDate?: string | undefined;
1266
1265
  sizeEstimate?: number | undefined;
1266
+ raw?: string | undefined;
1267
1267
  payload?: {
1268
- mimeType?: string | undefined;
1269
1268
  headers?: {
1270
1269
  value: string;
1271
1270
  name: string;
1272
1271
  }[] | undefined;
1272
+ mimeType?: string | undefined;
1273
1273
  body?: {
1274
1274
  data?: string | undefined;
1275
1275
  size?: number | undefined;
@@ -1284,15 +1284,14 @@ 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;
1292
1292
  drafts?: {
1293
1293
  message: {
1294
1294
  id: string;
1295
- raw?: string | undefined;
1296
1295
  threadId?: string | undefined;
1297
1296
  labelIds?: string[] | undefined;
1298
1297
  snippet?: string | undefined;
@@ -1300,12 +1299,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1300
1299
  historyId?: string | undefined;
1301
1300
  internalDate?: string | undefined;
1302
1301
  sizeEstimate?: number | undefined;
1302
+ raw?: string | undefined;
1303
1303
  payload?: {
1304
- mimeType?: string | undefined;
1305
1304
  headers?: {
1306
1305
  value: string;
1307
1306
  name: string;
1308
1307
  }[] | undefined;
1308
+ mimeType?: string | undefined;
1309
1309
  body?: {
1310
1310
  data?: string | undefined;
1311
1311
  size?: number | undefined;
@@ -1317,15 +1317,14 @@ 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;
1325
1325
  drafts?: {
1326
1326
  message: {
1327
1327
  id: string;
1328
- raw?: string | undefined;
1329
1328
  threadId?: string | undefined;
1330
1329
  labelIds?: string[] | undefined;
1331
1330
  snippet?: string | undefined;
@@ -1333,12 +1332,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1333
1332
  historyId?: string | undefined;
1334
1333
  internalDate?: string | undefined;
1335
1334
  sizeEstimate?: number | undefined;
1335
+ raw?: string | undefined;
1336
1336
  payload?: {
1337
- mimeType?: string | undefined;
1338
1337
  headers?: {
1339
1338
  value: string;
1340
1339
  name: string;
1341
1340
  }[] | undefined;
1341
+ mimeType?: string | undefined;
1342
1342
  body?: {
1343
1343
  data?: string | undefined;
1344
1344
  size?: number | 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<{
@@ -1422,11 +1422,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1422
1422
  }>>;
1423
1423
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1424
1424
  }, "strip", z.ZodTypeAny, {
1425
- mimeType?: string | undefined;
1426
1425
  headers?: {
1427
1426
  value: string;
1428
1427
  name: string;
1429
1428
  }[] | undefined;
1429
+ mimeType?: string | undefined;
1430
1430
  body?: {
1431
1431
  data?: string | undefined;
1432
1432
  size?: number | undefined;
@@ -1434,11 +1434,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1434
1434
  } | undefined;
1435
1435
  parts?: any[] | undefined;
1436
1436
  }, {
1437
- mimeType?: string | undefined;
1438
1437
  headers?: {
1439
1438
  value: string;
1440
1439
  name: string;
1441
1440
  }[] | undefined;
1441
+ mimeType?: string | undefined;
1442
1442
  body?: {
1443
1443
  data?: string | undefined;
1444
1444
  size?: number | undefined;
@@ -1448,7 +1448,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1448
1448
  }>>;
1449
1449
  }, "strip", z.ZodTypeAny, {
1450
1450
  id: string;
1451
- raw?: string | undefined;
1452
1451
  threadId?: string | undefined;
1453
1452
  labelIds?: string[] | undefined;
1454
1453
  snippet?: string | undefined;
@@ -1456,12 +1455,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1456
1455
  historyId?: string | undefined;
1457
1456
  internalDate?: string | undefined;
1458
1457
  sizeEstimate?: number | undefined;
1458
+ raw?: string | undefined;
1459
1459
  payload?: {
1460
- mimeType?: string | undefined;
1461
1460
  headers?: {
1462
1461
  value: string;
1463
1462
  name: string;
1464
1463
  }[] | undefined;
1464
+ mimeType?: string | undefined;
1465
1465
  body?: {
1466
1466
  data?: string | undefined;
1467
1467
  size?: number | undefined;
@@ -1471,7 +1471,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1471
1471
  } | undefined;
1472
1472
  }, {
1473
1473
  id: string;
1474
- raw?: string | undefined;
1475
1474
  threadId?: string | undefined;
1476
1475
  labelIds?: string[] | undefined;
1477
1476
  snippet?: string | undefined;
@@ -1479,12 +1478,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1479
1478
  historyId?: string | undefined;
1480
1479
  internalDate?: string | undefined;
1481
1480
  sizeEstimate?: number | undefined;
1481
+ raw?: string | undefined;
1482
1482
  payload?: {
1483
- mimeType?: string | undefined;
1484
1483
  headers?: {
1485
1484
  value: string;
1486
1485
  name: string;
1487
1486
  }[] | undefined;
1487
+ mimeType?: string | undefined;
1488
1488
  body?: {
1489
1489
  data?: string | undefined;
1490
1490
  size?: number | undefined;
@@ -1498,7 +1498,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1498
1498
  id: string;
1499
1499
  messages?: {
1500
1500
  id: string;
1501
- raw?: string | undefined;
1502
1501
  threadId?: string | undefined;
1503
1502
  labelIds?: string[] | undefined;
1504
1503
  snippet?: string | undefined;
@@ -1506,12 +1505,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1506
1505
  historyId?: string | undefined;
1507
1506
  internalDate?: string | undefined;
1508
1507
  sizeEstimate?: number | undefined;
1508
+ raw?: string | undefined;
1509
1509
  payload?: {
1510
- mimeType?: string | undefined;
1511
1510
  headers?: {
1512
1511
  value: string;
1513
1512
  name: string;
1514
1513
  }[] | undefined;
1514
+ mimeType?: string | undefined;
1515
1515
  body?: {
1516
1516
  data?: string | undefined;
1517
1517
  size?: number | undefined;
@@ -1526,7 +1526,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1526
1526
  id: string;
1527
1527
  messages?: {
1528
1528
  id: string;
1529
- raw?: string | undefined;
1530
1529
  threadId?: string | undefined;
1531
1530
  labelIds?: string[] | undefined;
1532
1531
  snippet?: string | undefined;
@@ -1534,12 +1533,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1534
1533
  historyId?: string | undefined;
1535
1534
  internalDate?: string | undefined;
1536
1535
  sizeEstimate?: number | undefined;
1536
+ raw?: string | undefined;
1537
1537
  payload?: {
1538
- mimeType?: string | undefined;
1539
1538
  headers?: {
1540
1539
  value: string;
1541
1540
  name: string;
1542
1541
  }[] | undefined;
1542
+ mimeType?: string | undefined;
1543
1543
  body?: {
1544
1544
  data?: string | undefined;
1545
1545
  size?: number | 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;
@@ -1564,7 +1564,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1564
1564
  id: string;
1565
1565
  messages?: {
1566
1566
  id: string;
1567
- raw?: string | undefined;
1568
1567
  threadId?: string | undefined;
1569
1568
  labelIds?: string[] | undefined;
1570
1569
  snippet?: string | undefined;
@@ -1572,12 +1571,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1572
1571
  historyId?: string | undefined;
1573
1572
  internalDate?: string | undefined;
1574
1573
  sizeEstimate?: number | undefined;
1574
+ raw?: string | undefined;
1575
1575
  payload?: {
1576
- mimeType?: string | undefined;
1577
1576
  headers?: {
1578
1577
  value: string;
1579
1578
  name: string;
1580
1579
  }[] | undefined;
1580
+ mimeType?: string | undefined;
1581
1581
  body?: {
1582
1582
  data?: string | undefined;
1583
1583
  size?: number | 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;
@@ -1599,7 +1599,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1599
1599
  id: string;
1600
1600
  messages?: {
1601
1601
  id: string;
1602
- raw?: string | undefined;
1603
1602
  threadId?: string | undefined;
1604
1603
  labelIds?: string[] | undefined;
1605
1604
  snippet?: string | undefined;
@@ -1607,12 +1606,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1607
1606
  historyId?: string | undefined;
1608
1607
  internalDate?: string | undefined;
1609
1608
  sizeEstimate?: number | undefined;
1609
+ raw?: string | undefined;
1610
1610
  payload?: {
1611
- mimeType?: string | undefined;
1612
1611
  headers?: {
1613
1612
  value: string;
1614
1613
  name: string;
1615
1614
  }[] | undefined;
1615
+ mimeType?: string | undefined;
1616
1616
  body?: {
1617
1617
  data?: string | undefined;
1618
1618
  size?: number | undefined;
@@ -1637,36 +1637,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1637
1637
  name: string;
1638
1638
  id: string;
1639
1639
  type?: "user" | "system" | undefined;
1640
- messageListVisibility?: "show" | "hide" | undefined;
1640
+ messageListVisibility?: "hide" | "show" | undefined;
1641
1641
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1642
1642
  }, {
1643
1643
  name: string;
1644
1644
  id: string;
1645
1645
  type?: "user" | "system" | undefined;
1646
- messageListVisibility?: "show" | "hide" | undefined;
1646
+ messageListVisibility?: "hide" | "show" | 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
1657
  type?: "user" | "system" | undefined;
1658
- messageListVisibility?: "show" | "hide" | undefined;
1658
+ messageListVisibility?: "hide" | "show" | 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
1668
  type?: "user" | "system" | undefined;
1669
- messageListVisibility?: "show" | "hide" | undefined;
1669
+ messageListVisibility?: "hide" | "show" | undefined;
1670
1670
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1671
1671
  }[] | undefined;
1672
1672
  }>, z.ZodObject<{
@@ -1682,36 +1682,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1682
1682
  name: string;
1683
1683
  id: string;
1684
1684
  type?: "user" | "system" | undefined;
1685
- messageListVisibility?: "show" | "hide" | undefined;
1685
+ messageListVisibility?: "hide" | "show" | undefined;
1686
1686
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1687
1687
  }, {
1688
1688
  name: string;
1689
1689
  id: string;
1690
1690
  type?: "user" | "system" | undefined;
1691
- messageListVisibility?: "show" | "hide" | undefined;
1691
+ messageListVisibility?: "hide" | "show" | 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
1702
  type?: "user" | "system" | undefined;
1703
- messageListVisibility?: "show" | "hide" | undefined;
1703
+ messageListVisibility?: "hide" | "show" | 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
1713
  type?: "user" | "system" | undefined;
1714
- messageListVisibility?: "show" | "hide" | undefined;
1714
+ messageListVisibility?: "hide" | "show" | undefined;
1715
1715
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1716
1716
  } | undefined;
1717
1717
  }>, z.ZodObject<{
@@ -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
  }>]>;
@@ -1773,8 +1773,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1773
1773
  thread_id: z.ZodOptional<z.ZodString>;
1774
1774
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1775
1775
  }, "strip", z.ZodTypeAny, {
1776
- operation: "send_email";
1777
1776
  to: string[];
1777
+ operation: "send_email";
1778
1778
  subject: string;
1779
1779
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1780
1780
  cc?: string[] | undefined;
@@ -1784,8 +1784,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1784
1784
  body_html?: string | undefined;
1785
1785
  thread_id?: string | undefined;
1786
1786
  }, {
1787
- operation: "send_email";
1788
1787
  to: string[];
1788
+ operation: "send_email";
1789
1789
  subject: string;
1790
1790
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1791
1791
  cc?: string[] | undefined;
@@ -1828,7 +1828,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1828
1828
  metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1829
1829
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1830
1830
  }, "strip", z.ZodTypeAny, {
1831
- format: "minimal" | "metadata" | "full" | "raw";
1831
+ format: "metadata" | "minimal" | "raw" | "full";
1832
1832
  operation: "get_email";
1833
1833
  message_id: string;
1834
1834
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -1836,7 +1836,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1836
1836
  }, {
1837
1837
  operation: "get_email";
1838
1838
  message_id: string;
1839
- format?: "minimal" | "metadata" | "full" | "raw" | undefined;
1839
+ format?: "metadata" | "minimal" | "raw" | "full" | undefined;
1840
1840
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1841
1841
  metadata_headers?: string[] | undefined;
1842
1842
  }>, z.ZodObject<{
@@ -1893,8 +1893,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1893
1893
  thread_id: z.ZodOptional<z.ZodString>;
1894
1894
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1895
1895
  }, "strip", z.ZodTypeAny, {
1896
- operation: "create_draft";
1897
1896
  to: string[];
1897
+ operation: "create_draft";
1898
1898
  subject: string;
1899
1899
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1900
1900
  cc?: string[] | undefined;
@@ -1904,8 +1904,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1904
1904
  body_html?: string | undefined;
1905
1905
  thread_id?: string | undefined;
1906
1906
  }, {
1907
- operation: "create_draft";
1908
1907
  to: string[];
1908
+ operation: "create_draft";
1909
1909
  subject: string;
1910
1910
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1911
1911
  cc?: string[] | undefined;
@@ -2016,7 +2016,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2016
2016
  name: string;
2017
2017
  operation: "create_label";
2018
2018
  label_list_visibility: "labelShow" | "labelShowIfUnread" | "labelHide";
2019
- message_list_visibility: "show" | "hide";
2019
+ message_list_visibility: "hide" | "show";
2020
2020
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2021
2021
  background_color?: string | undefined;
2022
2022
  text_color?: string | undefined;
@@ -2025,7 +2025,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2025
2025
  operation: "create_label";
2026
2026
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2027
2027
  label_list_visibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
2028
- message_list_visibility?: "show" | "hide" | undefined;
2028
+ message_list_visibility?: "hide" | "show" | undefined;
2029
2029
  background_color?: string | undefined;
2030
2030
  text_color?: string | undefined;
2031
2031
  }>, z.ZodObject<{
@@ -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;
@@ -2123,11 +2123,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2123
2123
  }>>;
2124
2124
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2125
2125
  }, "strip", z.ZodTypeAny, {
2126
- mimeType?: string | undefined;
2127
2126
  headers?: {
2128
2127
  value: string;
2129
2128
  name: string;
2130
2129
  }[] | undefined;
2130
+ mimeType?: string | undefined;
2131
2131
  body?: {
2132
2132
  data?: string | undefined;
2133
2133
  size?: number | undefined;
@@ -2135,11 +2135,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2135
2135
  } | undefined;
2136
2136
  parts?: any[] | undefined;
2137
2137
  }, {
2138
- mimeType?: string | undefined;
2139
2138
  headers?: {
2140
2139
  value: string;
2141
2140
  name: string;
2142
2141
  }[] | undefined;
2142
+ mimeType?: string | undefined;
2143
2143
  body?: {
2144
2144
  data?: string | undefined;
2145
2145
  size?: number | undefined;
@@ -2149,7 +2149,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2149
2149
  }>>;
2150
2150
  }, "strip", z.ZodTypeAny, {
2151
2151
  id: string;
2152
- raw?: string | undefined;
2153
2152
  threadId?: string | undefined;
2154
2153
  labelIds?: string[] | undefined;
2155
2154
  snippet?: string | undefined;
@@ -2157,12 +2156,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2157
2156
  historyId?: string | undefined;
2158
2157
  internalDate?: string | undefined;
2159
2158
  sizeEstimate?: number | undefined;
2159
+ raw?: string | undefined;
2160
2160
  payload?: {
2161
- mimeType?: string | undefined;
2162
2161
  headers?: {
2163
2162
  value: string;
2164
2163
  name: string;
2165
2164
  }[] | undefined;
2165
+ mimeType?: string | undefined;
2166
2166
  body?: {
2167
2167
  data?: string | undefined;
2168
2168
  size?: number | undefined;
@@ -2172,7 +2172,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2172
2172
  } | undefined;
2173
2173
  }, {
2174
2174
  id: string;
2175
- raw?: string | undefined;
2176
2175
  threadId?: string | undefined;
2177
2176
  labelIds?: string[] | undefined;
2178
2177
  snippet?: string | undefined;
@@ -2180,12 +2179,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2180
2179
  historyId?: string | undefined;
2181
2180
  internalDate?: string | undefined;
2182
2181
  sizeEstimate?: number | undefined;
2182
+ raw?: string | undefined;
2183
2183
  payload?: {
2184
- mimeType?: string | undefined;
2185
2184
  headers?: {
2186
2185
  value: string;
2187
2186
  name: string;
2188
2187
  }[] | undefined;
2188
+ mimeType?: string | undefined;
2189
2189
  body?: {
2190
2190
  data?: string | undefined;
2191
2191
  size?: number | undefined;
@@ -2198,12 +2198,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2198
2198
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2199
2199
  error: z.ZodString;
2200
2200
  }, "strip", z.ZodTypeAny, {
2201
- error: string;
2202
2201
  success: boolean;
2202
+ error: string;
2203
2203
  operation: "list_emails";
2204
2204
  messages?: {
2205
2205
  id: string;
2206
- raw?: string | undefined;
2207
2206
  threadId?: string | undefined;
2208
2207
  labelIds?: string[] | undefined;
2209
2208
  snippet?: string | undefined;
@@ -2211,12 +2210,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2211
2210
  historyId?: string | undefined;
2212
2211
  internalDate?: string | undefined;
2213
2212
  sizeEstimate?: number | undefined;
2213
+ raw?: string | undefined;
2214
2214
  payload?: {
2215
- mimeType?: string | undefined;
2216
2215
  headers?: {
2217
2216
  value: string;
2218
2217
  name: string;
2219
2218
  }[] | undefined;
2219
+ mimeType?: string | undefined;
2220
2220
  body?: {
2221
2221
  data?: string | undefined;
2222
2222
  size?: number | undefined;
@@ -2228,12 +2228,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2228
2228
  next_page_token?: string | undefined;
2229
2229
  result_size_estimate?: number | undefined;
2230
2230
  }, {
2231
- error: string;
2232
2231
  success: boolean;
2232
+ error: string;
2233
2233
  operation: "list_emails";
2234
2234
  messages?: {
2235
2235
  id: string;
2236
- raw?: string | undefined;
2237
2236
  threadId?: string | undefined;
2238
2237
  labelIds?: string[] | undefined;
2239
2238
  snippet?: string | undefined;
@@ -2241,12 +2240,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2241
2240
  historyId?: string | undefined;
2242
2241
  internalDate?: string | undefined;
2243
2242
  sizeEstimate?: number | undefined;
2243
+ raw?: string | undefined;
2244
2244
  payload?: {
2245
- mimeType?: string | undefined;
2246
2245
  headers?: {
2247
2246
  value: string;
2248
2247
  name: string;
2249
2248
  }[] | undefined;
2249
+ mimeType?: string | undefined;
2250
2250
  body?: {
2251
2251
  data?: string | undefined;
2252
2252
  size?: number | undefined;
@@ -2297,11 +2297,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2297
2297
  }>>;
2298
2298
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2299
2299
  }, "strip", z.ZodTypeAny, {
2300
- mimeType?: string | undefined;
2301
2300
  headers?: {
2302
2301
  value: string;
2303
2302
  name: string;
2304
2303
  }[] | undefined;
2304
+ mimeType?: string | undefined;
2305
2305
  body?: {
2306
2306
  data?: string | undefined;
2307
2307
  size?: number | undefined;
@@ -2309,11 +2309,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2309
2309
  } | undefined;
2310
2310
  parts?: any[] | undefined;
2311
2311
  }, {
2312
- mimeType?: string | undefined;
2313
2312
  headers?: {
2314
2313
  value: string;
2315
2314
  name: string;
2316
2315
  }[] | undefined;
2316
+ mimeType?: string | undefined;
2317
2317
  body?: {
2318
2318
  data?: string | undefined;
2319
2319
  size?: number | undefined;
@@ -2323,7 +2323,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2323
2323
  }>>;
2324
2324
  }, "strip", z.ZodTypeAny, {
2325
2325
  id: string;
2326
- raw?: string | undefined;
2327
2326
  threadId?: string | undefined;
2328
2327
  labelIds?: string[] | undefined;
2329
2328
  snippet?: string | undefined;
@@ -2331,12 +2330,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2331
2330
  historyId?: string | undefined;
2332
2331
  internalDate?: string | undefined;
2333
2332
  sizeEstimate?: number | undefined;
2333
+ raw?: string | undefined;
2334
2334
  payload?: {
2335
- mimeType?: string | undefined;
2336
2335
  headers?: {
2337
2336
  value: string;
2338
2337
  name: string;
2339
2338
  }[] | undefined;
2339
+ mimeType?: string | undefined;
2340
2340
  body?: {
2341
2341
  data?: string | undefined;
2342
2342
  size?: number | undefined;
@@ -2346,7 +2346,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2346
2346
  } | undefined;
2347
2347
  }, {
2348
2348
  id: string;
2349
- raw?: string | undefined;
2350
2349
  threadId?: string | undefined;
2351
2350
  labelIds?: string[] | undefined;
2352
2351
  snippet?: string | undefined;
@@ -2354,12 +2353,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2354
2353
  historyId?: string | undefined;
2355
2354
  internalDate?: string | undefined;
2356
2355
  sizeEstimate?: number | undefined;
2356
+ raw?: string | undefined;
2357
2357
  payload?: {
2358
- mimeType?: string | undefined;
2359
2358
  headers?: {
2360
2359
  value: string;
2361
2360
  name: string;
2362
2361
  }[] | undefined;
2362
+ mimeType?: string | undefined;
2363
2363
  body?: {
2364
2364
  data?: string | undefined;
2365
2365
  size?: number | undefined;
@@ -2370,12 +2370,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2370
2370
  }>>;
2371
2371
  error: z.ZodString;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
- error: string;
2374
2373
  success: boolean;
2374
+ error: string;
2375
2375
  operation: "get_email";
2376
2376
  message?: {
2377
2377
  id: string;
2378
- raw?: string | undefined;
2379
2378
  threadId?: string | undefined;
2380
2379
  labelIds?: string[] | undefined;
2381
2380
  snippet?: string | undefined;
@@ -2383,12 +2382,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2383
2382
  historyId?: string | undefined;
2384
2383
  internalDate?: string | undefined;
2385
2384
  sizeEstimate?: number | undefined;
2385
+ raw?: string | undefined;
2386
2386
  payload?: {
2387
- mimeType?: string | undefined;
2388
2387
  headers?: {
2389
2388
  value: string;
2390
2389
  name: string;
2391
2390
  }[] | undefined;
2391
+ mimeType?: string | undefined;
2392
2392
  body?: {
2393
2393
  data?: string | undefined;
2394
2394
  size?: number | undefined;
@@ -2398,12 +2398,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2398
2398
  } | undefined;
2399
2399
  } | undefined;
2400
2400
  }, {
2401
- error: string;
2402
2401
  success: boolean;
2402
+ error: string;
2403
2403
  operation: "get_email";
2404
2404
  message?: {
2405
2405
  id: string;
2406
- raw?: string | undefined;
2407
2406
  threadId?: string | undefined;
2408
2407
  labelIds?: string[] | undefined;
2409
2408
  snippet?: string | undefined;
@@ -2411,12 +2410,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2411
2410
  historyId?: string | undefined;
2412
2411
  internalDate?: string | undefined;
2413
2412
  sizeEstimate?: number | undefined;
2413
+ raw?: string | undefined;
2414
2414
  payload?: {
2415
- mimeType?: string | undefined;
2416
2415
  headers?: {
2417
2416
  value: string;
2418
2417
  name: string;
2419
2418
  }[] | undefined;
2419
+ mimeType?: string | undefined;
2420
2420
  body?: {
2421
2421
  data?: string | undefined;
2422
2422
  size?: number | undefined;
@@ -2465,11 +2465,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2465
2465
  }>>;
2466
2466
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2467
2467
  }, "strip", z.ZodTypeAny, {
2468
- mimeType?: string | undefined;
2469
2468
  headers?: {
2470
2469
  value: string;
2471
2470
  name: string;
2472
2471
  }[] | undefined;
2472
+ mimeType?: string | undefined;
2473
2473
  body?: {
2474
2474
  data?: string | undefined;
2475
2475
  size?: number | undefined;
@@ -2477,11 +2477,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2477
2477
  } | undefined;
2478
2478
  parts?: any[] | undefined;
2479
2479
  }, {
2480
- mimeType?: string | undefined;
2481
2480
  headers?: {
2482
2481
  value: string;
2483
2482
  name: string;
2484
2483
  }[] | undefined;
2484
+ mimeType?: string | undefined;
2485
2485
  body?: {
2486
2486
  data?: string | undefined;
2487
2487
  size?: number | undefined;
@@ -2491,7 +2491,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2491
2491
  }>>;
2492
2492
  }, "strip", z.ZodTypeAny, {
2493
2493
  id: string;
2494
- raw?: string | undefined;
2495
2494
  threadId?: string | undefined;
2496
2495
  labelIds?: string[] | undefined;
2497
2496
  snippet?: string | undefined;
@@ -2499,12 +2498,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2499
2498
  historyId?: string | undefined;
2500
2499
  internalDate?: string | undefined;
2501
2500
  sizeEstimate?: number | undefined;
2501
+ raw?: string | undefined;
2502
2502
  payload?: {
2503
- mimeType?: string | undefined;
2504
2503
  headers?: {
2505
2504
  value: string;
2506
2505
  name: string;
2507
2506
  }[] | undefined;
2507
+ mimeType?: string | undefined;
2508
2508
  body?: {
2509
2509
  data?: string | undefined;
2510
2510
  size?: number | undefined;
@@ -2514,7 +2514,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2514
2514
  } | undefined;
2515
2515
  }, {
2516
2516
  id: string;
2517
- raw?: string | undefined;
2518
2517
  threadId?: string | undefined;
2519
2518
  labelIds?: string[] | undefined;
2520
2519
  snippet?: string | undefined;
@@ -2522,12 +2521,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2522
2521
  historyId?: string | undefined;
2523
2522
  internalDate?: string | undefined;
2524
2523
  sizeEstimate?: number | undefined;
2524
+ raw?: string | undefined;
2525
2525
  payload?: {
2526
- mimeType?: string | undefined;
2527
2526
  headers?: {
2528
2527
  value: string;
2529
2528
  name: string;
2530
2529
  }[] | undefined;
2530
+ mimeType?: string | undefined;
2531
2531
  body?: {
2532
2532
  data?: string | undefined;
2533
2533
  size?: number | undefined;
@@ -2539,12 +2539,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2539
2539
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2540
2540
  error: z.ZodString;
2541
2541
  }, "strip", z.ZodTypeAny, {
2542
- error: string;
2543
2542
  success: boolean;
2543
+ error: string;
2544
2544
  operation: "search_emails";
2545
2545
  messages?: {
2546
2546
  id: string;
2547
- raw?: string | undefined;
2548
2547
  threadId?: string | undefined;
2549
2548
  labelIds?: string[] | undefined;
2550
2549
  snippet?: string | undefined;
@@ -2552,12 +2551,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2552
2551
  historyId?: string | undefined;
2553
2552
  internalDate?: string | undefined;
2554
2553
  sizeEstimate?: number | undefined;
2554
+ raw?: string | undefined;
2555
2555
  payload?: {
2556
- mimeType?: string | undefined;
2557
2556
  headers?: {
2558
2557
  value: string;
2559
2558
  name: string;
2560
2559
  }[] | undefined;
2560
+ mimeType?: string | undefined;
2561
2561
  body?: {
2562
2562
  data?: string | undefined;
2563
2563
  size?: number | undefined;
@@ -2568,12 +2568,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2568
2568
  }[] | undefined;
2569
2569
  result_size_estimate?: number | undefined;
2570
2570
  }, {
2571
- error: string;
2572
2571
  success: boolean;
2572
+ error: string;
2573
2573
  operation: "search_emails";
2574
2574
  messages?: {
2575
2575
  id: string;
2576
- raw?: string | undefined;
2577
2576
  threadId?: string | undefined;
2578
2577
  labelIds?: string[] | undefined;
2579
2578
  snippet?: string | undefined;
@@ -2581,12 +2580,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2581
2580
  historyId?: string | undefined;
2582
2581
  internalDate?: string | undefined;
2583
2582
  sizeEstimate?: number | undefined;
2583
+ raw?: string | undefined;
2584
2584
  payload?: {
2585
- mimeType?: string | undefined;
2586
2585
  headers?: {
2587
2586
  value: string;
2588
2587
  name: string;
2589
2588
  }[] | undefined;
2589
+ mimeType?: string | undefined;
2590
2590
  body?: {
2591
2591
  data?: string | undefined;
2592
2592
  size?: number | 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<{
@@ -2668,11 +2668,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2668
2668
  }>>;
2669
2669
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
- mimeType?: string | undefined;
2672
2671
  headers?: {
2673
2672
  value: string;
2674
2673
  name: string;
2675
2674
  }[] | undefined;
2675
+ mimeType?: string | undefined;
2676
2676
  body?: {
2677
2677
  data?: string | undefined;
2678
2678
  size?: number | undefined;
@@ -2680,11 +2680,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2680
2680
  } | undefined;
2681
2681
  parts?: any[] | undefined;
2682
2682
  }, {
2683
- mimeType?: string | undefined;
2684
2683
  headers?: {
2685
2684
  value: string;
2686
2685
  name: string;
2687
2686
  }[] | undefined;
2687
+ mimeType?: string | undefined;
2688
2688
  body?: {
2689
2689
  data?: string | undefined;
2690
2690
  size?: number | undefined;
@@ -2694,7 +2694,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2694
2694
  }>>;
2695
2695
  }, "strip", z.ZodTypeAny, {
2696
2696
  id: string;
2697
- raw?: string | undefined;
2698
2697
  threadId?: string | undefined;
2699
2698
  labelIds?: string[] | undefined;
2700
2699
  snippet?: string | undefined;
@@ -2702,12 +2701,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2702
2701
  historyId?: string | undefined;
2703
2702
  internalDate?: string | undefined;
2704
2703
  sizeEstimate?: number | undefined;
2704
+ raw?: string | undefined;
2705
2705
  payload?: {
2706
- mimeType?: string | undefined;
2707
2706
  headers?: {
2708
2707
  value: string;
2709
2708
  name: string;
2710
2709
  }[] | undefined;
2710
+ mimeType?: string | undefined;
2711
2711
  body?: {
2712
2712
  data?: string | undefined;
2713
2713
  size?: number | undefined;
@@ -2717,7 +2717,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2717
2717
  } | undefined;
2718
2718
  }, {
2719
2719
  id: string;
2720
- raw?: string | undefined;
2721
2720
  threadId?: string | undefined;
2722
2721
  labelIds?: string[] | undefined;
2723
2722
  snippet?: string | undefined;
@@ -2725,12 +2724,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2725
2724
  historyId?: string | undefined;
2726
2725
  internalDate?: string | undefined;
2727
2726
  sizeEstimate?: number | undefined;
2727
+ raw?: string | undefined;
2728
2728
  payload?: {
2729
- mimeType?: string | undefined;
2730
2729
  headers?: {
2731
2730
  value: string;
2732
2731
  name: string;
2733
2732
  }[] | undefined;
2733
+ mimeType?: string | undefined;
2734
2734
  body?: {
2735
2735
  data?: string | undefined;
2736
2736
  size?: number | undefined;
@@ -2742,7 +2742,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2742
2742
  }, "strip", z.ZodTypeAny, {
2743
2743
  message: {
2744
2744
  id: string;
2745
- raw?: string | undefined;
2746
2745
  threadId?: string | undefined;
2747
2746
  labelIds?: string[] | undefined;
2748
2747
  snippet?: string | undefined;
@@ -2750,12 +2749,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2750
2749
  historyId?: string | undefined;
2751
2750
  internalDate?: string | undefined;
2752
2751
  sizeEstimate?: number | undefined;
2752
+ raw?: string | undefined;
2753
2753
  payload?: {
2754
- mimeType?: string | undefined;
2755
2754
  headers?: {
2756
2755
  value: string;
2757
2756
  name: string;
2758
2757
  }[] | undefined;
2758
+ mimeType?: string | undefined;
2759
2759
  body?: {
2760
2760
  data?: string | undefined;
2761
2761
  size?: number | undefined;
@@ -2768,7 +2768,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2768
2768
  }, {
2769
2769
  message: {
2770
2770
  id: string;
2771
- raw?: string | undefined;
2772
2771
  threadId?: string | undefined;
2773
2772
  labelIds?: string[] | undefined;
2774
2773
  snippet?: string | undefined;
@@ -2776,12 +2775,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2776
2775
  historyId?: string | undefined;
2777
2776
  internalDate?: string | undefined;
2778
2777
  sizeEstimate?: number | undefined;
2778
+ raw?: string | undefined;
2779
2779
  payload?: {
2780
- mimeType?: string | undefined;
2781
2780
  headers?: {
2782
2781
  value: string;
2783
2782
  name: string;
2784
2783
  }[] | undefined;
2784
+ mimeType?: string | undefined;
2785
2785
  body?: {
2786
2786
  data?: string | undefined;
2787
2787
  size?: number | undefined;
@@ -2794,13 +2794,12 @@ 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: {
2802
2802
  id: string;
2803
- raw?: string | undefined;
2804
2803
  threadId?: string | undefined;
2805
2804
  labelIds?: string[] | undefined;
2806
2805
  snippet?: string | undefined;
@@ -2808,12 +2807,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2808
2807
  historyId?: string | undefined;
2809
2808
  internalDate?: string | undefined;
2810
2809
  sizeEstimate?: number | undefined;
2810
+ raw?: string | undefined;
2811
2811
  payload?: {
2812
- mimeType?: string | undefined;
2813
2812
  headers?: {
2814
2813
  value: string;
2815
2814
  name: string;
2816
2815
  }[] | undefined;
2816
+ mimeType?: string | undefined;
2817
2817
  body?: {
2818
2818
  data?: string | undefined;
2819
2819
  size?: number | undefined;
@@ -2825,13 +2825,12 @@ 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: {
2833
2833
  id: string;
2834
- raw?: string | undefined;
2835
2834
  threadId?: string | undefined;
2836
2835
  labelIds?: string[] | undefined;
2837
2836
  snippet?: string | undefined;
@@ -2839,12 +2838,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2839
2838
  historyId?: string | undefined;
2840
2839
  internalDate?: string | undefined;
2841
2840
  sizeEstimate?: number | undefined;
2841
+ raw?: string | undefined;
2842
2842
  payload?: {
2843
- mimeType?: string | undefined;
2844
2843
  headers?: {
2845
2844
  value: string;
2846
2845
  name: string;
2847
2846
  }[] | undefined;
2847
+ mimeType?: string | undefined;
2848
2848
  body?: {
2849
2849
  data?: string | undefined;
2850
2850
  size?: number | 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;
@@ -2915,11 +2915,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2915
2915
  }>>;
2916
2916
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2917
2917
  }, "strip", z.ZodTypeAny, {
2918
- mimeType?: string | undefined;
2919
2918
  headers?: {
2920
2919
  value: string;
2921
2920
  name: string;
2922
2921
  }[] | undefined;
2922
+ mimeType?: string | undefined;
2923
2923
  body?: {
2924
2924
  data?: string | undefined;
2925
2925
  size?: number | undefined;
@@ -2927,11 +2927,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2927
2927
  } | undefined;
2928
2928
  parts?: any[] | undefined;
2929
2929
  }, {
2930
- mimeType?: string | undefined;
2931
2930
  headers?: {
2932
2931
  value: string;
2933
2932
  name: string;
2934
2933
  }[] | undefined;
2934
+ mimeType?: string | undefined;
2935
2935
  body?: {
2936
2936
  data?: string | undefined;
2937
2937
  size?: number | undefined;
@@ -2941,7 +2941,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2941
2941
  }>>;
2942
2942
  }, "strip", z.ZodTypeAny, {
2943
2943
  id: string;
2944
- raw?: string | undefined;
2945
2944
  threadId?: string | undefined;
2946
2945
  labelIds?: string[] | undefined;
2947
2946
  snippet?: string | undefined;
@@ -2949,12 +2948,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2949
2948
  historyId?: string | undefined;
2950
2949
  internalDate?: string | undefined;
2951
2950
  sizeEstimate?: number | undefined;
2951
+ raw?: string | undefined;
2952
2952
  payload?: {
2953
- mimeType?: string | undefined;
2954
2953
  headers?: {
2955
2954
  value: string;
2956
2955
  name: string;
2957
2956
  }[] | undefined;
2957
+ mimeType?: string | undefined;
2958
2958
  body?: {
2959
2959
  data?: string | undefined;
2960
2960
  size?: number | undefined;
@@ -2964,7 +2964,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2964
2964
  } | undefined;
2965
2965
  }, {
2966
2966
  id: string;
2967
- raw?: string | undefined;
2968
2967
  threadId?: string | undefined;
2969
2968
  labelIds?: string[] | undefined;
2970
2969
  snippet?: string | undefined;
@@ -2972,12 +2971,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2972
2971
  historyId?: string | undefined;
2973
2972
  internalDate?: string | undefined;
2974
2973
  sizeEstimate?: number | undefined;
2974
+ raw?: string | undefined;
2975
2975
  payload?: {
2976
- mimeType?: string | undefined;
2977
2976
  headers?: {
2978
2977
  value: string;
2979
2978
  name: string;
2980
2979
  }[] | undefined;
2980
+ mimeType?: string | undefined;
2981
2981
  body?: {
2982
2982
  data?: string | undefined;
2983
2983
  size?: number | undefined;
@@ -2989,7 +2989,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2989
2989
  }, "strip", z.ZodTypeAny, {
2990
2990
  message: {
2991
2991
  id: string;
2992
- raw?: string | undefined;
2993
2992
  threadId?: string | undefined;
2994
2993
  labelIds?: string[] | undefined;
2995
2994
  snippet?: string | undefined;
@@ -2997,12 +2996,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2997
2996
  historyId?: string | undefined;
2998
2997
  internalDate?: string | undefined;
2999
2998
  sizeEstimate?: number | undefined;
2999
+ raw?: string | undefined;
3000
3000
  payload?: {
3001
- mimeType?: string | undefined;
3002
3001
  headers?: {
3003
3002
  value: string;
3004
3003
  name: string;
3005
3004
  }[] | undefined;
3005
+ mimeType?: string | undefined;
3006
3006
  body?: {
3007
3007
  data?: string | undefined;
3008
3008
  size?: number | undefined;
@@ -3015,7 +3015,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3015
3015
  }, {
3016
3016
  message: {
3017
3017
  id: string;
3018
- raw?: string | undefined;
3019
3018
  threadId?: string | undefined;
3020
3019
  labelIds?: string[] | undefined;
3021
3020
  snippet?: string | undefined;
@@ -3023,12 +3022,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3023
3022
  historyId?: string | undefined;
3024
3023
  internalDate?: string | undefined;
3025
3024
  sizeEstimate?: number | undefined;
3025
+ raw?: string | undefined;
3026
3026
  payload?: {
3027
- mimeType?: string | undefined;
3028
3027
  headers?: {
3029
3028
  value: string;
3030
3029
  name: string;
3031
3030
  }[] | undefined;
3031
+ mimeType?: string | undefined;
3032
3032
  body?: {
3033
3033
  data?: string | undefined;
3034
3034
  size?: number | undefined;
@@ -3043,15 +3043,14 @@ 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;
3051
3051
  drafts?: {
3052
3052
  message: {
3053
3053
  id: string;
3054
- raw?: string | undefined;
3055
3054
  threadId?: string | undefined;
3056
3055
  labelIds?: string[] | undefined;
3057
3056
  snippet?: string | undefined;
@@ -3059,12 +3058,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3059
3058
  historyId?: string | undefined;
3060
3059
  internalDate?: string | undefined;
3061
3060
  sizeEstimate?: number | undefined;
3061
+ raw?: string | undefined;
3062
3062
  payload?: {
3063
- mimeType?: string | undefined;
3064
3063
  headers?: {
3065
3064
  value: string;
3066
3065
  name: string;
3067
3066
  }[] | undefined;
3067
+ mimeType?: string | undefined;
3068
3068
  body?: {
3069
3069
  data?: string | undefined;
3070
3070
  size?: number | undefined;
@@ -3076,15 +3076,14 @@ 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;
3084
3084
  drafts?: {
3085
3085
  message: {
3086
3086
  id: string;
3087
- raw?: string | undefined;
3088
3087
  threadId?: string | undefined;
3089
3088
  labelIds?: string[] | undefined;
3090
3089
  snippet?: string | undefined;
@@ -3092,12 +3091,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3092
3091
  historyId?: string | undefined;
3093
3092
  internalDate?: string | undefined;
3094
3093
  sizeEstimate?: number | undefined;
3094
+ raw?: string | undefined;
3095
3095
  payload?: {
3096
- mimeType?: string | undefined;
3097
3096
  headers?: {
3098
3097
  value: string;
3099
3098
  name: string;
3100
3099
  }[] | undefined;
3100
+ mimeType?: string | undefined;
3101
3101
  body?: {
3102
3102
  data?: string | undefined;
3103
3103
  size?: number | 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<{
@@ -3181,11 +3181,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3181
3181
  }>>;
3182
3182
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3183
3183
  }, "strip", z.ZodTypeAny, {
3184
- mimeType?: string | undefined;
3185
3184
  headers?: {
3186
3185
  value: string;
3187
3186
  name: string;
3188
3187
  }[] | undefined;
3188
+ mimeType?: string | undefined;
3189
3189
  body?: {
3190
3190
  data?: string | undefined;
3191
3191
  size?: number | undefined;
@@ -3193,11 +3193,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3193
3193
  } | undefined;
3194
3194
  parts?: any[] | undefined;
3195
3195
  }, {
3196
- mimeType?: string | undefined;
3197
3196
  headers?: {
3198
3197
  value: string;
3199
3198
  name: string;
3200
3199
  }[] | undefined;
3200
+ mimeType?: string | undefined;
3201
3201
  body?: {
3202
3202
  data?: string | undefined;
3203
3203
  size?: number | undefined;
@@ -3207,7 +3207,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3207
3207
  }>>;
3208
3208
  }, "strip", z.ZodTypeAny, {
3209
3209
  id: string;
3210
- raw?: string | undefined;
3211
3210
  threadId?: string | undefined;
3212
3211
  labelIds?: string[] | undefined;
3213
3212
  snippet?: string | undefined;
@@ -3215,12 +3214,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3215
3214
  historyId?: string | undefined;
3216
3215
  internalDate?: string | undefined;
3217
3216
  sizeEstimate?: number | undefined;
3217
+ raw?: string | undefined;
3218
3218
  payload?: {
3219
- mimeType?: string | undefined;
3220
3219
  headers?: {
3221
3220
  value: string;
3222
3221
  name: string;
3223
3222
  }[] | undefined;
3223
+ mimeType?: string | undefined;
3224
3224
  body?: {
3225
3225
  data?: string | undefined;
3226
3226
  size?: number | undefined;
@@ -3230,7 +3230,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3230
3230
  } | undefined;
3231
3231
  }, {
3232
3232
  id: string;
3233
- raw?: string | undefined;
3234
3233
  threadId?: string | undefined;
3235
3234
  labelIds?: string[] | undefined;
3236
3235
  snippet?: string | undefined;
@@ -3238,12 +3237,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3238
3237
  historyId?: string | undefined;
3239
3238
  internalDate?: string | undefined;
3240
3239
  sizeEstimate?: number | undefined;
3240
+ raw?: string | undefined;
3241
3241
  payload?: {
3242
- mimeType?: string | undefined;
3243
3242
  headers?: {
3244
3243
  value: string;
3245
3244
  name: string;
3246
3245
  }[] | undefined;
3246
+ mimeType?: string | undefined;
3247
3247
  body?: {
3248
3248
  data?: string | undefined;
3249
3249
  size?: number | undefined;
@@ -3257,7 +3257,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3257
3257
  id: string;
3258
3258
  messages?: {
3259
3259
  id: string;
3260
- raw?: string | undefined;
3261
3260
  threadId?: string | undefined;
3262
3261
  labelIds?: string[] | undefined;
3263
3262
  snippet?: string | undefined;
@@ -3265,12 +3264,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3265
3264
  historyId?: string | undefined;
3266
3265
  internalDate?: string | undefined;
3267
3266
  sizeEstimate?: number | undefined;
3267
+ raw?: string | undefined;
3268
3268
  payload?: {
3269
- mimeType?: string | undefined;
3270
3269
  headers?: {
3271
3270
  value: string;
3272
3271
  name: string;
3273
3272
  }[] | undefined;
3273
+ mimeType?: string | undefined;
3274
3274
  body?: {
3275
3275
  data?: string | undefined;
3276
3276
  size?: number | undefined;
@@ -3285,7 +3285,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3285
3285
  id: string;
3286
3286
  messages?: {
3287
3287
  id: string;
3288
- raw?: string | undefined;
3289
3288
  threadId?: string | undefined;
3290
3289
  labelIds?: string[] | undefined;
3291
3290
  snippet?: string | undefined;
@@ -3293,12 +3292,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3293
3292
  historyId?: string | undefined;
3294
3293
  internalDate?: string | undefined;
3295
3294
  sizeEstimate?: number | undefined;
3295
+ raw?: string | undefined;
3296
3296
  payload?: {
3297
- mimeType?: string | undefined;
3298
3297
  headers?: {
3299
3298
  value: string;
3300
3299
  name: string;
3301
3300
  }[] | undefined;
3301
+ mimeType?: string | undefined;
3302
3302
  body?: {
3303
3303
  data?: string | undefined;
3304
3304
  size?: number | 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;
@@ -3323,7 +3323,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3323
3323
  id: string;
3324
3324
  messages?: {
3325
3325
  id: string;
3326
- raw?: string | undefined;
3327
3326
  threadId?: string | undefined;
3328
3327
  labelIds?: string[] | undefined;
3329
3328
  snippet?: string | undefined;
@@ -3331,12 +3330,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3331
3330
  historyId?: string | undefined;
3332
3331
  internalDate?: string | undefined;
3333
3332
  sizeEstimate?: number | undefined;
3333
+ raw?: string | undefined;
3334
3334
  payload?: {
3335
- mimeType?: string | undefined;
3336
3335
  headers?: {
3337
3336
  value: string;
3338
3337
  name: string;
3339
3338
  }[] | undefined;
3339
+ mimeType?: string | undefined;
3340
3340
  body?: {
3341
3341
  data?: string | undefined;
3342
3342
  size?: number | 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;
@@ -3358,7 +3358,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3358
3358
  id: string;
3359
3359
  messages?: {
3360
3360
  id: string;
3361
- raw?: string | undefined;
3362
3361
  threadId?: string | undefined;
3363
3362
  labelIds?: string[] | undefined;
3364
3363
  snippet?: string | undefined;
@@ -3366,12 +3365,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3366
3365
  historyId?: string | undefined;
3367
3366
  internalDate?: string | undefined;
3368
3367
  sizeEstimate?: number | undefined;
3368
+ raw?: string | undefined;
3369
3369
  payload?: {
3370
- mimeType?: string | undefined;
3371
3370
  headers?: {
3372
3371
  value: string;
3373
3372
  name: string;
3374
3373
  }[] | undefined;
3374
+ mimeType?: string | undefined;
3375
3375
  body?: {
3376
3376
  data?: string | undefined;
3377
3377
  size?: number | undefined;
@@ -3396,36 +3396,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3396
3396
  name: string;
3397
3397
  id: string;
3398
3398
  type?: "user" | "system" | undefined;
3399
- messageListVisibility?: "show" | "hide" | undefined;
3399
+ messageListVisibility?: "hide" | "show" | undefined;
3400
3400
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3401
3401
  }, {
3402
3402
  name: string;
3403
3403
  id: string;
3404
3404
  type?: "user" | "system" | undefined;
3405
- messageListVisibility?: "show" | "hide" | undefined;
3405
+ messageListVisibility?: "hide" | "show" | 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
3416
  type?: "user" | "system" | undefined;
3417
- messageListVisibility?: "show" | "hide" | undefined;
3417
+ messageListVisibility?: "hide" | "show" | 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
3427
  type?: "user" | "system" | undefined;
3428
- messageListVisibility?: "show" | "hide" | undefined;
3428
+ messageListVisibility?: "hide" | "show" | undefined;
3429
3429
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3430
3430
  }[] | undefined;
3431
3431
  }>, z.ZodObject<{
@@ -3441,36 +3441,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3441
3441
  name: string;
3442
3442
  id: string;
3443
3443
  type?: "user" | "system" | undefined;
3444
- messageListVisibility?: "show" | "hide" | undefined;
3444
+ messageListVisibility?: "hide" | "show" | undefined;
3445
3445
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3446
3446
  }, {
3447
3447
  name: string;
3448
3448
  id: string;
3449
3449
  type?: "user" | "system" | undefined;
3450
- messageListVisibility?: "show" | "hide" | undefined;
3450
+ messageListVisibility?: "hide" | "show" | 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
3461
  type?: "user" | "system" | undefined;
3462
- messageListVisibility?: "show" | "hide" | undefined;
3462
+ messageListVisibility?: "hide" | "show" | 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
3472
  type?: "user" | "system" | undefined;
3473
- messageListVisibility?: "show" | "hide" | undefined;
3473
+ messageListVisibility?: "hide" | "show" | undefined;
3474
3474
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3475
3475
  } | undefined;
3476
3476
  }>, z.ZodObject<{
@@ -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
  }>]>;