@bubblelab/bubble-core 0.1.146 → 0.1.148

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