@bubblelab/bubble-core 0.1.143 → 0.1.145

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 (100) hide show
  1. package/dist/bubble-bundle.d.ts +100 -100
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +136 -136
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +12 -12
  4. package/dist/bubbles/service-bubble/airtable.d.ts +206 -206
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +10 -10
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +20 -20
  7. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +72 -72
  8. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +28 -28
  9. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +14 -14
  10. package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
  11. package/dist/bubbles/service-bubble/firecrawl.d.ts +354 -354
  12. package/dist/bubbles/service-bubble/followupboss.d.ts +200 -200
  13. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +80 -80
  14. package/dist/bubbles/service-bubble/github.d.ts +152 -152
  15. package/dist/bubbles/service-bubble/gmail.d.ts +598 -598
  16. package/dist/bubbles/service-bubble/google-calendar.d.ts +124 -124
  17. package/dist/bubbles/service-bubble/google-drive.d.ts +72 -72
  18. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
  19. package/dist/bubbles/service-bubble/hello-world.d.ts +6 -6
  20. package/dist/bubbles/service-bubble/http.d.ts +20 -20
  21. package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
  22. package/dist/bubbles/service-bubble/jira/jira.d.ts +62 -62
  23. package/dist/bubbles/service-bubble/notion/notion.d.ts +882 -882
  24. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  25. package/dist/bubbles/service-bubble/resend.d.ts +40 -40
  26. package/dist/bubbles/service-bubble/slack/slack.d.ts +794 -794
  27. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  28. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +80 -80
  29. package/dist/bubbles/service-bubble/telegram.d.ts +106 -106
  30. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +16 -16
  31. package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts.map +1 -1
  32. package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js.map +1 -1
  33. package/dist/bubbles/tool-bubble/browser-tools/index.d.ts +2 -2
  34. package/dist/bubbles/tool-bubble/browser-tools/index.d.ts.map +1 -1
  35. package/dist/bubbles/tool-bubble/browser-tools/index.js +2 -2
  36. package/dist/bubbles/tool-bubble/browser-tools/index.js.map +1 -1
  37. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +13 -13
  38. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts.map +1 -1
  39. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js +1 -3
  40. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js.map +1 -1
  41. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +10 -10
  42. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts.map +1 -1
  43. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js +6 -6
  44. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js.map +1 -1
  45. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts +1 -1
  46. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts.map +1 -1
  47. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js +1 -1
  48. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js.map +1 -1
  49. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +8 -8
  50. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts.map +1 -1
  51. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js +1 -1
  52. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js.map +1 -1
  53. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +14 -14
  54. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts.map +1 -1
  55. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js.map +1 -1
  56. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +10 -10
  57. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts.map +1 -1
  58. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js +2 -2
  59. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js.map +1 -1
  60. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +10 -10
  61. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts.map +1 -1
  62. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js +1 -1
  63. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js.map +1 -1
  64. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +12 -12
  65. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  67. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +42 -42
  68. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  69. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +28 -28
  71. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  72. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +6 -6
  73. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +160 -160
  74. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  75. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +16 -16
  76. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
  77. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +36 -36
  78. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +46 -46
  79. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  80. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  81. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  82. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
  83. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  84. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +60 -60
  85. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  86. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  87. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  88. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  89. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +32 -32
  90. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +24 -24
  91. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  92. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  93. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  94. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +54 -54
  95. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  96. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  97. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +48 -48
  98. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  99. package/dist/bubbles.json +1 -1
  100. package/package.json +2 -2
@@ -69,8 +69,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
69
69
  metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
70
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
- operation: "get_email";
73
72
  format: "minimal" | "metadata" | "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;
@@ -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;
@@ -314,14 +314,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
314
314
  error: z.ZodString;
315
315
  }, "strip", z.ZodTypeAny, {
316
316
  operation: "send_email";
317
- error: string;
318
317
  success: boolean;
318
+ error: string;
319
319
  message_id?: string | undefined;
320
320
  thread_id?: string | undefined;
321
321
  }, {
322
322
  operation: "send_email";
323
- error: string;
324
323
  success: boolean;
324
+ error: string;
325
325
  message_id?: string | undefined;
326
326
  thread_id?: string | undefined;
327
327
  }>, z.ZodObject<{
@@ -343,49 +343,49 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
343
343
  name: z.ZodString;
344
344
  value: z.ZodString;
345
345
  }, "strip", z.ZodTypeAny, {
346
- value: string;
347
346
  name: string;
348
- }, {
349
347
  value: string;
348
+ }, {
350
349
  name: string;
350
+ value: string;
351
351
  }>, "many">>;
352
352
  body: z.ZodOptional<z.ZodObject<{
353
353
  data: z.ZodOptional<z.ZodString>;
354
354
  size: z.ZodOptional<z.ZodNumber>;
355
355
  attachmentId: z.ZodOptional<z.ZodString>;
356
356
  }, "strip", z.ZodTypeAny, {
357
- size?: number | undefined;
358
357
  data?: string | undefined;
358
+ size?: number | undefined;
359
359
  attachmentId?: string | undefined;
360
360
  }, {
361
- size?: number | undefined;
362
361
  data?: string | undefined;
362
+ size?: number | undefined;
363
363
  attachmentId?: string | undefined;
364
364
  }>>;
365
365
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
366
366
  }, "strip", z.ZodTypeAny, {
367
- body?: {
368
- size?: number | undefined;
369
- data?: string | undefined;
370
- attachmentId?: string | undefined;
371
- } | undefined;
372
367
  mimeType?: string | undefined;
373
368
  headers?: {
374
- value: string;
375
369
  name: string;
370
+ value: string;
376
371
  }[] | undefined;
377
- parts?: any[] | undefined;
378
- }, {
379
372
  body?: {
380
- size?: number | undefined;
381
373
  data?: string | undefined;
374
+ size?: number | undefined;
382
375
  attachmentId?: string | undefined;
383
376
  } | undefined;
377
+ parts?: any[] | undefined;
378
+ }, {
384
379
  mimeType?: string | undefined;
385
380
  headers?: {
386
- value: string;
387
381
  name: string;
382
+ value: string;
388
383
  }[] | undefined;
384
+ body?: {
385
+ data?: string | undefined;
386
+ size?: number | undefined;
387
+ attachmentId?: string | undefined;
388
+ } | undefined;
389
389
  parts?: any[] | undefined;
390
390
  }>>;
391
391
  }, "strip", z.ZodTypeAny, {
@@ -399,16 +399,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
399
399
  sizeEstimate?: number | undefined;
400
400
  raw?: string | undefined;
401
401
  payload?: {
402
- body?: {
403
- size?: number | undefined;
404
- data?: string | undefined;
405
- attachmentId?: string | undefined;
406
- } | undefined;
407
402
  mimeType?: string | undefined;
408
403
  headers?: {
409
- value: string;
410
404
  name: string;
405
+ value: string;
411
406
  }[] | undefined;
407
+ body?: {
408
+ data?: string | undefined;
409
+ size?: number | undefined;
410
+ attachmentId?: string | undefined;
411
+ } | undefined;
412
412
  parts?: any[] | undefined;
413
413
  } | undefined;
414
414
  }, {
@@ -422,16 +422,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
422
422
  sizeEstimate?: number | undefined;
423
423
  raw?: string | undefined;
424
424
  payload?: {
425
- body?: {
426
- size?: number | undefined;
427
- data?: string | undefined;
428
- attachmentId?: string | undefined;
429
- } | undefined;
430
425
  mimeType?: string | undefined;
431
426
  headers?: {
432
- value: string;
433
427
  name: string;
428
+ value: string;
434
429
  }[] | undefined;
430
+ body?: {
431
+ data?: string | undefined;
432
+ size?: number | undefined;
433
+ attachmentId?: string | undefined;
434
+ } | undefined;
435
435
  parts?: any[] | undefined;
436
436
  } | undefined;
437
437
  }>, "many">>;
@@ -440,8 +440,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
440
440
  error: z.ZodString;
441
441
  }, "strip", z.ZodTypeAny, {
442
442
  operation: "list_emails";
443
- error: string;
444
443
  success: boolean;
444
+ error: string;
445
445
  messages?: {
446
446
  id: string;
447
447
  threadId?: string | undefined;
@@ -453,16 +453,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
453
453
  sizeEstimate?: number | undefined;
454
454
  raw?: string | undefined;
455
455
  payload?: {
456
- body?: {
457
- size?: number | undefined;
458
- data?: string | undefined;
459
- attachmentId?: string | undefined;
460
- } | undefined;
461
456
  mimeType?: string | undefined;
462
457
  headers?: {
463
- value: string;
464
458
  name: string;
459
+ value: string;
465
460
  }[] | undefined;
461
+ body?: {
462
+ data?: string | undefined;
463
+ size?: number | undefined;
464
+ attachmentId?: string | undefined;
465
+ } | undefined;
466
466
  parts?: any[] | undefined;
467
467
  } | undefined;
468
468
  }[] | undefined;
@@ -470,8 +470,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
470
470
  result_size_estimate?: number | undefined;
471
471
  }, {
472
472
  operation: "list_emails";
473
- error: string;
474
473
  success: boolean;
474
+ error: string;
475
475
  messages?: {
476
476
  id: string;
477
477
  threadId?: string | undefined;
@@ -483,16 +483,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
483
483
  sizeEstimate?: number | undefined;
484
484
  raw?: string | undefined;
485
485
  payload?: {
486
- body?: {
487
- size?: number | undefined;
488
- data?: string | undefined;
489
- attachmentId?: string | undefined;
490
- } | undefined;
491
486
  mimeType?: string | undefined;
492
487
  headers?: {
493
- value: string;
494
488
  name: string;
489
+ value: string;
495
490
  }[] | undefined;
491
+ body?: {
492
+ data?: string | undefined;
493
+ size?: number | undefined;
494
+ attachmentId?: string | undefined;
495
+ } | undefined;
496
496
  parts?: any[] | undefined;
497
497
  } | undefined;
498
498
  }[] | undefined;
@@ -517,49 +517,49 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
517
517
  name: z.ZodString;
518
518
  value: z.ZodString;
519
519
  }, "strip", z.ZodTypeAny, {
520
- value: string;
521
520
  name: string;
522
- }, {
523
521
  value: string;
522
+ }, {
524
523
  name: string;
524
+ value: string;
525
525
  }>, "many">>;
526
526
  body: z.ZodOptional<z.ZodObject<{
527
527
  data: z.ZodOptional<z.ZodString>;
528
528
  size: z.ZodOptional<z.ZodNumber>;
529
529
  attachmentId: z.ZodOptional<z.ZodString>;
530
530
  }, "strip", z.ZodTypeAny, {
531
- size?: number | undefined;
532
531
  data?: string | undefined;
532
+ size?: number | undefined;
533
533
  attachmentId?: string | undefined;
534
534
  }, {
535
- size?: number | undefined;
536
535
  data?: string | undefined;
536
+ size?: number | undefined;
537
537
  attachmentId?: string | undefined;
538
538
  }>>;
539
539
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
540
540
  }, "strip", z.ZodTypeAny, {
541
- body?: {
542
- size?: number | undefined;
543
- data?: string | undefined;
544
- attachmentId?: string | undefined;
545
- } | undefined;
546
541
  mimeType?: string | undefined;
547
542
  headers?: {
548
- value: string;
549
543
  name: string;
544
+ value: string;
550
545
  }[] | undefined;
551
- parts?: any[] | undefined;
552
- }, {
553
546
  body?: {
554
- size?: number | undefined;
555
547
  data?: string | undefined;
548
+ size?: number | undefined;
556
549
  attachmentId?: string | undefined;
557
550
  } | undefined;
551
+ parts?: any[] | undefined;
552
+ }, {
558
553
  mimeType?: string | undefined;
559
554
  headers?: {
560
- value: string;
561
555
  name: string;
556
+ value: string;
562
557
  }[] | undefined;
558
+ body?: {
559
+ data?: string | undefined;
560
+ size?: number | undefined;
561
+ attachmentId?: string | undefined;
562
+ } | undefined;
563
563
  parts?: any[] | undefined;
564
564
  }>>;
565
565
  }, "strip", z.ZodTypeAny, {
@@ -573,16 +573,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
573
573
  sizeEstimate?: number | undefined;
574
574
  raw?: string | undefined;
575
575
  payload?: {
576
- body?: {
577
- size?: number | undefined;
578
- data?: string | undefined;
579
- attachmentId?: string | undefined;
580
- } | undefined;
581
576
  mimeType?: string | undefined;
582
577
  headers?: {
583
- value: string;
584
578
  name: string;
579
+ value: string;
585
580
  }[] | undefined;
581
+ body?: {
582
+ data?: string | undefined;
583
+ size?: number | undefined;
584
+ attachmentId?: string | undefined;
585
+ } | undefined;
586
586
  parts?: any[] | undefined;
587
587
  } | undefined;
588
588
  }, {
@@ -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
- size?: number | undefined;
601
- data?: string | undefined;
602
- attachmentId?: string | undefined;
603
- } | undefined;
604
599
  mimeType?: string | undefined;
605
600
  headers?: {
606
- value: string;
607
601
  name: string;
602
+ value: string;
608
603
  }[] | undefined;
604
+ body?: {
605
+ data?: string | undefined;
606
+ size?: number | undefined;
607
+ attachmentId?: string | undefined;
608
+ } | undefined;
609
609
  parts?: any[] | undefined;
610
610
  } | undefined;
611
611
  }>>;
612
612
  error: z.ZodString;
613
613
  }, "strip", z.ZodTypeAny, {
614
614
  operation: "get_email";
615
- error: string;
616
615
  success: boolean;
616
+ error: string;
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
- size?: number | undefined;
630
- data?: string | undefined;
631
- attachmentId?: string | undefined;
632
- } | undefined;
633
628
  mimeType?: string | undefined;
634
629
  headers?: {
635
- value: string;
636
630
  name: string;
631
+ value: string;
637
632
  }[] | undefined;
633
+ body?: {
634
+ data?: string | undefined;
635
+ size?: number | undefined;
636
+ attachmentId?: string | undefined;
637
+ } | undefined;
638
638
  parts?: any[] | undefined;
639
639
  } | undefined;
640
640
  } | undefined;
641
641
  }, {
642
642
  operation: "get_email";
643
- error: string;
644
643
  success: boolean;
644
+ error: string;
645
645
  message?: {
646
646
  id: string;
647
647
  threadId?: string | undefined;
@@ -653,16 +653,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
653
653
  sizeEstimate?: number | undefined;
654
654
  raw?: string | undefined;
655
655
  payload?: {
656
- body?: {
657
- size?: number | undefined;
658
- data?: string | undefined;
659
- attachmentId?: string | undefined;
660
- } | undefined;
661
656
  mimeType?: string | undefined;
662
657
  headers?: {
663
- value: string;
664
658
  name: string;
659
+ value: string;
665
660
  }[] | undefined;
661
+ body?: {
662
+ data?: string | undefined;
663
+ size?: number | undefined;
664
+ attachmentId?: string | undefined;
665
+ } | undefined;
666
666
  parts?: any[] | undefined;
667
667
  } | undefined;
668
668
  } | undefined;
@@ -685,49 +685,49 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
685
685
  name: z.ZodString;
686
686
  value: z.ZodString;
687
687
  }, "strip", z.ZodTypeAny, {
688
- value: string;
689
688
  name: string;
690
- }, {
691
689
  value: string;
690
+ }, {
692
691
  name: string;
692
+ value: string;
693
693
  }>, "many">>;
694
694
  body: z.ZodOptional<z.ZodObject<{
695
695
  data: z.ZodOptional<z.ZodString>;
696
696
  size: z.ZodOptional<z.ZodNumber>;
697
697
  attachmentId: z.ZodOptional<z.ZodString>;
698
698
  }, "strip", z.ZodTypeAny, {
699
- size?: number | undefined;
700
699
  data?: string | undefined;
700
+ size?: number | undefined;
701
701
  attachmentId?: string | undefined;
702
702
  }, {
703
- size?: number | undefined;
704
703
  data?: string | undefined;
704
+ size?: number | undefined;
705
705
  attachmentId?: string | undefined;
706
706
  }>>;
707
707
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
708
708
  }, "strip", z.ZodTypeAny, {
709
- body?: {
710
- size?: number | undefined;
711
- data?: string | undefined;
712
- attachmentId?: string | undefined;
713
- } | undefined;
714
709
  mimeType?: string | undefined;
715
710
  headers?: {
716
- value: string;
717
711
  name: string;
712
+ value: string;
718
713
  }[] | undefined;
719
- parts?: any[] | undefined;
720
- }, {
721
714
  body?: {
722
- size?: number | undefined;
723
715
  data?: string | undefined;
716
+ size?: number | undefined;
724
717
  attachmentId?: string | undefined;
725
718
  } | undefined;
719
+ parts?: any[] | undefined;
720
+ }, {
726
721
  mimeType?: string | undefined;
727
722
  headers?: {
728
- value: string;
729
723
  name: string;
724
+ value: string;
730
725
  }[] | undefined;
726
+ body?: {
727
+ data?: string | undefined;
728
+ size?: number | undefined;
729
+ attachmentId?: string | undefined;
730
+ } | undefined;
731
731
  parts?: any[] | undefined;
732
732
  }>>;
733
733
  }, "strip", z.ZodTypeAny, {
@@ -741,16 +741,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
741
741
  sizeEstimate?: number | undefined;
742
742
  raw?: string | undefined;
743
743
  payload?: {
744
- body?: {
745
- size?: number | undefined;
746
- data?: string | undefined;
747
- attachmentId?: string | undefined;
748
- } | undefined;
749
744
  mimeType?: string | undefined;
750
745
  headers?: {
751
- value: string;
752
746
  name: string;
747
+ value: string;
753
748
  }[] | undefined;
749
+ body?: {
750
+ data?: string | undefined;
751
+ size?: number | undefined;
752
+ attachmentId?: string | undefined;
753
+ } | undefined;
754
754
  parts?: any[] | undefined;
755
755
  } | undefined;
756
756
  }, {
@@ -764,16 +764,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
764
764
  sizeEstimate?: number | undefined;
765
765
  raw?: string | undefined;
766
766
  payload?: {
767
- body?: {
768
- size?: number | undefined;
769
- data?: string | undefined;
770
- attachmentId?: string | undefined;
771
- } | undefined;
772
767
  mimeType?: string | undefined;
773
768
  headers?: {
774
- value: string;
775
769
  name: string;
770
+ value: string;
776
771
  }[] | undefined;
772
+ body?: {
773
+ data?: string | undefined;
774
+ size?: number | undefined;
775
+ attachmentId?: string | undefined;
776
+ } | undefined;
777
777
  parts?: any[] | undefined;
778
778
  } | undefined;
779
779
  }>, "many">>;
@@ -781,8 +781,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
781
781
  error: z.ZodString;
782
782
  }, "strip", z.ZodTypeAny, {
783
783
  operation: "search_emails";
784
- error: string;
785
784
  success: boolean;
785
+ error: string;
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
- size?: number | undefined;
799
- data?: string | undefined;
800
- attachmentId?: string | undefined;
801
- } | undefined;
802
797
  mimeType?: string | undefined;
803
798
  headers?: {
804
- value: string;
805
799
  name: string;
800
+ value: string;
806
801
  }[] | undefined;
802
+ body?: {
803
+ data?: string | undefined;
804
+ size?: number | undefined;
805
+ attachmentId?: string | undefined;
806
+ } | undefined;
807
807
  parts?: any[] | undefined;
808
808
  } | undefined;
809
809
  }[] | undefined;
810
810
  result_size_estimate?: number | undefined;
811
811
  }, {
812
812
  operation: "search_emails";
813
- error: string;
814
813
  success: boolean;
814
+ error: string;
815
815
  messages?: {
816
816
  id: string;
817
817
  threadId?: string | undefined;
@@ -823,16 +823,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
823
823
  sizeEstimate?: number | undefined;
824
824
  raw?: string | undefined;
825
825
  payload?: {
826
- body?: {
827
- size?: number | undefined;
828
- data?: string | undefined;
829
- attachmentId?: string | undefined;
830
- } | undefined;
831
826
  mimeType?: string | undefined;
832
827
  headers?: {
833
- value: string;
834
828
  name: string;
829
+ value: string;
835
830
  }[] | undefined;
831
+ body?: {
832
+ data?: string | undefined;
833
+ size?: number | undefined;
834
+ attachmentId?: string | undefined;
835
+ } | undefined;
836
836
  parts?: any[] | undefined;
837
837
  } | undefined;
838
838
  }[] | undefined;
@@ -844,13 +844,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
844
844
  error: z.ZodString;
845
845
  }, "strip", z.ZodTypeAny, {
846
846
  operation: "mark_as_read";
847
- error: string;
848
847
  success: boolean;
848
+ error: string;
849
849
  modified_messages?: string[] | undefined;
850
850
  }, {
851
851
  operation: "mark_as_read";
852
- error: string;
853
852
  success: boolean;
853
+ error: string;
854
854
  modified_messages?: string[] | undefined;
855
855
  }>, z.ZodObject<{
856
856
  operation: z.ZodLiteral<"mark_as_unread">;
@@ -859,13 +859,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
859
859
  error: z.ZodString;
860
860
  }, "strip", z.ZodTypeAny, {
861
861
  operation: "mark_as_unread";
862
- error: string;
863
862
  success: boolean;
863
+ error: string;
864
864
  modified_messages?: string[] | undefined;
865
865
  }, {
866
866
  operation: "mark_as_unread";
867
- error: string;
868
867
  success: boolean;
868
+ error: string;
869
869
  modified_messages?: string[] | undefined;
870
870
  }>, z.ZodObject<{
871
871
  operation: z.ZodLiteral<"create_draft">;
@@ -888,49 +888,49 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
888
888
  name: z.ZodString;
889
889
  value: z.ZodString;
890
890
  }, "strip", z.ZodTypeAny, {
891
- value: string;
892
891
  name: string;
893
- }, {
894
892
  value: string;
893
+ }, {
895
894
  name: string;
895
+ value: string;
896
896
  }>, "many">>;
897
897
  body: z.ZodOptional<z.ZodObject<{
898
898
  data: z.ZodOptional<z.ZodString>;
899
899
  size: z.ZodOptional<z.ZodNumber>;
900
900
  attachmentId: z.ZodOptional<z.ZodString>;
901
901
  }, "strip", z.ZodTypeAny, {
902
- size?: number | undefined;
903
902
  data?: string | undefined;
903
+ size?: number | undefined;
904
904
  attachmentId?: string | undefined;
905
905
  }, {
906
- size?: number | undefined;
907
906
  data?: string | undefined;
907
+ size?: number | undefined;
908
908
  attachmentId?: string | undefined;
909
909
  }>>;
910
910
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
911
911
  }, "strip", z.ZodTypeAny, {
912
- body?: {
913
- size?: number | undefined;
914
- data?: string | undefined;
915
- attachmentId?: string | undefined;
916
- } | undefined;
917
912
  mimeType?: string | undefined;
918
913
  headers?: {
919
- value: string;
920
914
  name: string;
915
+ value: string;
921
916
  }[] | undefined;
922
- parts?: any[] | undefined;
923
- }, {
924
917
  body?: {
925
- size?: number | undefined;
926
918
  data?: string | undefined;
919
+ size?: number | undefined;
927
920
  attachmentId?: string | undefined;
928
921
  } | undefined;
922
+ parts?: any[] | undefined;
923
+ }, {
929
924
  mimeType?: string | undefined;
930
925
  headers?: {
931
- value: string;
932
926
  name: string;
927
+ value: string;
933
928
  }[] | undefined;
929
+ body?: {
930
+ data?: string | undefined;
931
+ size?: number | undefined;
932
+ attachmentId?: string | undefined;
933
+ } | undefined;
934
934
  parts?: any[] | undefined;
935
935
  }>>;
936
936
  }, "strip", z.ZodTypeAny, {
@@ -944,16 +944,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
944
944
  sizeEstimate?: number | undefined;
945
945
  raw?: string | undefined;
946
946
  payload?: {
947
- body?: {
948
- size?: number | undefined;
949
- data?: string | undefined;
950
- attachmentId?: string | undefined;
951
- } | undefined;
952
947
  mimeType?: string | undefined;
953
948
  headers?: {
954
- value: string;
955
949
  name: string;
950
+ value: string;
956
951
  }[] | undefined;
952
+ body?: {
953
+ data?: string | undefined;
954
+ size?: number | undefined;
955
+ attachmentId?: string | undefined;
956
+ } | undefined;
957
957
  parts?: any[] | undefined;
958
958
  } | undefined;
959
959
  }, {
@@ -967,16 +967,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
967
967
  sizeEstimate?: number | undefined;
968
968
  raw?: string | undefined;
969
969
  payload?: {
970
- body?: {
971
- size?: number | undefined;
972
- data?: string | undefined;
973
- attachmentId?: string | undefined;
974
- } | undefined;
975
970
  mimeType?: string | undefined;
976
971
  headers?: {
977
- value: string;
978
972
  name: string;
973
+ value: string;
979
974
  }[] | undefined;
975
+ body?: {
976
+ data?: string | undefined;
977
+ size?: number | undefined;
978
+ attachmentId?: string | undefined;
979
+ } | undefined;
980
980
  parts?: any[] | undefined;
981
981
  } | undefined;
982
982
  }>;
@@ -992,16 +992,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
992
992
  sizeEstimate?: number | undefined;
993
993
  raw?: string | undefined;
994
994
  payload?: {
995
- body?: {
996
- size?: number | undefined;
997
- data?: string | undefined;
998
- attachmentId?: string | undefined;
999
- } | undefined;
1000
995
  mimeType?: string | undefined;
1001
996
  headers?: {
1002
- value: string;
1003
997
  name: string;
998
+ value: string;
1004
999
  }[] | undefined;
1000
+ body?: {
1001
+ data?: string | undefined;
1002
+ size?: number | undefined;
1003
+ attachmentId?: string | undefined;
1004
+ } | undefined;
1005
1005
  parts?: any[] | undefined;
1006
1006
  } | undefined;
1007
1007
  };
@@ -1018,16 +1018,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1018
1018
  sizeEstimate?: number | undefined;
1019
1019
  raw?: string | undefined;
1020
1020
  payload?: {
1021
- body?: {
1022
- size?: number | undefined;
1023
- data?: string | undefined;
1024
- attachmentId?: string | undefined;
1025
- } | undefined;
1026
1021
  mimeType?: string | undefined;
1027
1022
  headers?: {
1028
- value: string;
1029
1023
  name: string;
1024
+ value: string;
1030
1025
  }[] | undefined;
1026
+ body?: {
1027
+ data?: string | undefined;
1028
+ size?: number | undefined;
1029
+ attachmentId?: string | undefined;
1030
+ } | undefined;
1031
1031
  parts?: any[] | undefined;
1032
1032
  } | undefined;
1033
1033
  };
@@ -1036,8 +1036,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1036
1036
  error: z.ZodString;
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
1038
  operation: "create_draft";
1039
- error: string;
1040
1039
  success: boolean;
1040
+ error: string;
1041
1041
  draft?: {
1042
1042
  message: {
1043
1043
  id: string;
@@ -1050,16 +1050,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1050
1050
  sizeEstimate?: number | undefined;
1051
1051
  raw?: string | undefined;
1052
1052
  payload?: {
1053
- body?: {
1054
- size?: number | undefined;
1055
- data?: string | undefined;
1056
- attachmentId?: string | undefined;
1057
- } | undefined;
1058
1053
  mimeType?: string | undefined;
1059
1054
  headers?: {
1060
- value: string;
1061
1055
  name: string;
1056
+ value: string;
1062
1057
  }[] | undefined;
1058
+ body?: {
1059
+ data?: string | undefined;
1060
+ size?: number | undefined;
1061
+ attachmentId?: string | undefined;
1062
+ } | undefined;
1063
1063
  parts?: any[] | undefined;
1064
1064
  } | undefined;
1065
1065
  };
@@ -1067,8 +1067,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1067
1067
  } | undefined;
1068
1068
  }, {
1069
1069
  operation: "create_draft";
1070
- error: string;
1071
1070
  success: boolean;
1071
+ error: string;
1072
1072
  draft?: {
1073
1073
  message: {
1074
1074
  id: string;
@@ -1081,16 +1081,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1081
1081
  sizeEstimate?: number | undefined;
1082
1082
  raw?: string | undefined;
1083
1083
  payload?: {
1084
- body?: {
1085
- size?: number | undefined;
1086
- data?: string | undefined;
1087
- attachmentId?: string | undefined;
1088
- } | undefined;
1089
1084
  mimeType?: string | undefined;
1090
1085
  headers?: {
1091
- value: string;
1092
1086
  name: string;
1087
+ value: string;
1093
1088
  }[] | undefined;
1089
+ body?: {
1090
+ data?: string | undefined;
1091
+ size?: number | undefined;
1092
+ attachmentId?: string | undefined;
1093
+ } | undefined;
1094
1094
  parts?: any[] | undefined;
1095
1095
  } | undefined;
1096
1096
  };
@@ -1104,14 +1104,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1104
1104
  error: z.ZodString;
1105
1105
  }, "strip", z.ZodTypeAny, {
1106
1106
  operation: "send_draft";
1107
- error: string;
1108
1107
  success: boolean;
1108
+ error: string;
1109
1109
  message_id?: string | undefined;
1110
1110
  thread_id?: string | undefined;
1111
1111
  }, {
1112
1112
  operation: "send_draft";
1113
- error: string;
1114
1113
  success: boolean;
1114
+ error: string;
1115
1115
  message_id?: string | undefined;
1116
1116
  thread_id?: string | undefined;
1117
1117
  }>, z.ZodObject<{
@@ -1135,49 +1135,49 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1135
1135
  name: z.ZodString;
1136
1136
  value: z.ZodString;
1137
1137
  }, "strip", z.ZodTypeAny, {
1138
- value: string;
1139
1138
  name: string;
1140
- }, {
1141
1139
  value: string;
1140
+ }, {
1142
1141
  name: string;
1142
+ value: string;
1143
1143
  }>, "many">>;
1144
1144
  body: z.ZodOptional<z.ZodObject<{
1145
1145
  data: z.ZodOptional<z.ZodString>;
1146
1146
  size: z.ZodOptional<z.ZodNumber>;
1147
1147
  attachmentId: z.ZodOptional<z.ZodString>;
1148
1148
  }, "strip", z.ZodTypeAny, {
1149
- size?: number | undefined;
1150
1149
  data?: string | undefined;
1150
+ size?: number | undefined;
1151
1151
  attachmentId?: string | undefined;
1152
1152
  }, {
1153
- size?: number | undefined;
1154
1153
  data?: string | undefined;
1154
+ size?: number | undefined;
1155
1155
  attachmentId?: string | undefined;
1156
1156
  }>>;
1157
1157
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1158
1158
  }, "strip", z.ZodTypeAny, {
1159
- body?: {
1160
- size?: number | undefined;
1161
- data?: string | undefined;
1162
- attachmentId?: string | undefined;
1163
- } | undefined;
1164
1159
  mimeType?: string | undefined;
1165
1160
  headers?: {
1166
- value: string;
1167
1161
  name: string;
1162
+ value: string;
1168
1163
  }[] | undefined;
1169
- parts?: any[] | undefined;
1170
- }, {
1171
1164
  body?: {
1172
- size?: number | undefined;
1173
1165
  data?: string | undefined;
1166
+ size?: number | undefined;
1174
1167
  attachmentId?: string | undefined;
1175
1168
  } | undefined;
1169
+ parts?: any[] | undefined;
1170
+ }, {
1176
1171
  mimeType?: string | undefined;
1177
1172
  headers?: {
1178
- value: string;
1179
1173
  name: string;
1174
+ value: string;
1180
1175
  }[] | undefined;
1176
+ body?: {
1177
+ data?: string | undefined;
1178
+ size?: number | undefined;
1179
+ attachmentId?: string | undefined;
1180
+ } | undefined;
1181
1181
  parts?: any[] | undefined;
1182
1182
  }>>;
1183
1183
  }, "strip", z.ZodTypeAny, {
@@ -1191,16 +1191,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1191
1191
  sizeEstimate?: number | undefined;
1192
1192
  raw?: string | undefined;
1193
1193
  payload?: {
1194
- body?: {
1195
- size?: number | undefined;
1196
- data?: string | undefined;
1197
- attachmentId?: string | undefined;
1198
- } | undefined;
1199
1194
  mimeType?: string | undefined;
1200
1195
  headers?: {
1201
- value: string;
1202
1196
  name: string;
1197
+ value: string;
1203
1198
  }[] | undefined;
1199
+ body?: {
1200
+ data?: string | undefined;
1201
+ size?: number | undefined;
1202
+ attachmentId?: string | undefined;
1203
+ } | undefined;
1204
1204
  parts?: any[] | undefined;
1205
1205
  } | undefined;
1206
1206
  }, {
@@ -1214,16 +1214,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1214
1214
  sizeEstimate?: number | undefined;
1215
1215
  raw?: string | undefined;
1216
1216
  payload?: {
1217
- body?: {
1218
- size?: number | undefined;
1219
- data?: string | undefined;
1220
- attachmentId?: string | undefined;
1221
- } | undefined;
1222
1217
  mimeType?: string | undefined;
1223
1218
  headers?: {
1224
- value: string;
1225
1219
  name: string;
1220
+ value: string;
1226
1221
  }[] | undefined;
1222
+ body?: {
1223
+ data?: string | undefined;
1224
+ size?: number | undefined;
1225
+ attachmentId?: string | undefined;
1226
+ } | undefined;
1227
1227
  parts?: any[] | undefined;
1228
1228
  } | undefined;
1229
1229
  }>;
@@ -1239,16 +1239,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1239
1239
  sizeEstimate?: number | undefined;
1240
1240
  raw?: string | undefined;
1241
1241
  payload?: {
1242
- body?: {
1243
- size?: number | undefined;
1244
- data?: string | undefined;
1245
- attachmentId?: string | undefined;
1246
- } | undefined;
1247
1242
  mimeType?: string | undefined;
1248
1243
  headers?: {
1249
- value: string;
1250
1244
  name: string;
1245
+ value: string;
1251
1246
  }[] | undefined;
1247
+ body?: {
1248
+ data?: string | undefined;
1249
+ size?: number | undefined;
1250
+ attachmentId?: string | undefined;
1251
+ } | undefined;
1252
1252
  parts?: any[] | undefined;
1253
1253
  } | undefined;
1254
1254
  };
@@ -1265,16 +1265,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1265
1265
  sizeEstimate?: number | undefined;
1266
1266
  raw?: string | undefined;
1267
1267
  payload?: {
1268
- body?: {
1269
- size?: number | undefined;
1270
- data?: string | undefined;
1271
- attachmentId?: string | undefined;
1272
- } | undefined;
1273
1268
  mimeType?: string | undefined;
1274
1269
  headers?: {
1275
- value: string;
1276
1270
  name: string;
1271
+ value: string;
1277
1272
  }[] | undefined;
1273
+ body?: {
1274
+ data?: string | undefined;
1275
+ size?: number | undefined;
1276
+ attachmentId?: string | undefined;
1277
+ } | undefined;
1278
1278
  parts?: any[] | undefined;
1279
1279
  } | undefined;
1280
1280
  };
@@ -1285,8 +1285,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1285
1285
  error: z.ZodString;
1286
1286
  }, "strip", z.ZodTypeAny, {
1287
1287
  operation: "list_drafts";
1288
- error: string;
1289
1288
  success: boolean;
1289
+ error: string;
1290
1290
  next_page_token?: string | undefined;
1291
1291
  result_size_estimate?: number | undefined;
1292
1292
  drafts?: {
@@ -1301,16 +1301,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1301
1301
  sizeEstimate?: number | undefined;
1302
1302
  raw?: string | undefined;
1303
1303
  payload?: {
1304
- body?: {
1305
- size?: number | undefined;
1306
- data?: string | undefined;
1307
- attachmentId?: string | undefined;
1308
- } | undefined;
1309
1304
  mimeType?: string | undefined;
1310
1305
  headers?: {
1311
- value: string;
1312
1306
  name: string;
1307
+ value: string;
1313
1308
  }[] | undefined;
1309
+ body?: {
1310
+ data?: string | undefined;
1311
+ size?: number | undefined;
1312
+ attachmentId?: string | undefined;
1313
+ } | undefined;
1314
1314
  parts?: any[] | undefined;
1315
1315
  } | undefined;
1316
1316
  };
@@ -1318,8 +1318,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1318
1318
  }[] | undefined;
1319
1319
  }, {
1320
1320
  operation: "list_drafts";
1321
- error: string;
1322
1321
  success: boolean;
1322
+ error: string;
1323
1323
  next_page_token?: string | undefined;
1324
1324
  result_size_estimate?: number | undefined;
1325
1325
  drafts?: {
@@ -1334,16 +1334,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1334
1334
  sizeEstimate?: number | undefined;
1335
1335
  raw?: string | undefined;
1336
1336
  payload?: {
1337
- body?: {
1338
- size?: number | undefined;
1339
- data?: string | undefined;
1340
- attachmentId?: string | undefined;
1341
- } | undefined;
1342
1337
  mimeType?: string | undefined;
1343
1338
  headers?: {
1344
- value: string;
1345
1339
  name: string;
1340
+ value: string;
1346
1341
  }[] | undefined;
1342
+ body?: {
1343
+ data?: string | undefined;
1344
+ size?: number | undefined;
1345
+ attachmentId?: string | undefined;
1346
+ } | undefined;
1347
1347
  parts?: any[] | undefined;
1348
1348
  } | undefined;
1349
1349
  };
@@ -1356,13 +1356,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1356
1356
  error: z.ZodString;
1357
1357
  }, "strip", z.ZodTypeAny, {
1358
1358
  operation: "delete_email";
1359
- error: string;
1360
1359
  success: boolean;
1360
+ error: string;
1361
1361
  deleted_message_id?: string | undefined;
1362
1362
  }, {
1363
1363
  operation: "delete_email";
1364
- error: string;
1365
1364
  success: boolean;
1365
+ error: string;
1366
1366
  deleted_message_id?: string | undefined;
1367
1367
  }>, z.ZodObject<{
1368
1368
  operation: z.ZodLiteral<"trash_email">;
@@ -1371,13 +1371,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1371
1371
  error: z.ZodString;
1372
1372
  }, "strip", z.ZodTypeAny, {
1373
1373
  operation: "trash_email";
1374
- error: string;
1375
1374
  success: boolean;
1375
+ error: string;
1376
1376
  trashed_message_id?: string | undefined;
1377
1377
  }, {
1378
1378
  operation: "trash_email";
1379
- error: string;
1380
1379
  success: boolean;
1380
+ error: string;
1381
1381
  trashed_message_id?: string | undefined;
1382
1382
  }>, z.ZodObject<{
1383
1383
  operation: z.ZodLiteral<"list_threads">;
@@ -1401,49 +1401,49 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1401
1401
  name: z.ZodString;
1402
1402
  value: z.ZodString;
1403
1403
  }, "strip", z.ZodTypeAny, {
1404
- value: string;
1405
1404
  name: string;
1406
- }, {
1407
1405
  value: string;
1406
+ }, {
1408
1407
  name: string;
1408
+ value: string;
1409
1409
  }>, "many">>;
1410
1410
  body: z.ZodOptional<z.ZodObject<{
1411
1411
  data: z.ZodOptional<z.ZodString>;
1412
1412
  size: z.ZodOptional<z.ZodNumber>;
1413
1413
  attachmentId: z.ZodOptional<z.ZodString>;
1414
1414
  }, "strip", z.ZodTypeAny, {
1415
- size?: number | undefined;
1416
1415
  data?: string | undefined;
1416
+ size?: number | undefined;
1417
1417
  attachmentId?: string | undefined;
1418
1418
  }, {
1419
- size?: number | undefined;
1420
1419
  data?: string | undefined;
1420
+ size?: number | undefined;
1421
1421
  attachmentId?: string | undefined;
1422
1422
  }>>;
1423
1423
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1424
1424
  }, "strip", z.ZodTypeAny, {
1425
- body?: {
1426
- size?: number | undefined;
1427
- data?: string | undefined;
1428
- attachmentId?: string | undefined;
1429
- } | undefined;
1430
1425
  mimeType?: string | undefined;
1431
1426
  headers?: {
1432
- value: string;
1433
1427
  name: string;
1428
+ value: string;
1434
1429
  }[] | undefined;
1435
- parts?: any[] | undefined;
1436
- }, {
1437
1430
  body?: {
1438
- size?: number | undefined;
1439
1431
  data?: string | undefined;
1432
+ size?: number | undefined;
1440
1433
  attachmentId?: string | undefined;
1441
1434
  } | undefined;
1435
+ parts?: any[] | undefined;
1436
+ }, {
1442
1437
  mimeType?: string | undefined;
1443
1438
  headers?: {
1444
- value: string;
1445
1439
  name: string;
1440
+ value: string;
1446
1441
  }[] | undefined;
1442
+ body?: {
1443
+ data?: string | undefined;
1444
+ size?: number | undefined;
1445
+ attachmentId?: string | undefined;
1446
+ } | undefined;
1447
1447
  parts?: any[] | undefined;
1448
1448
  }>>;
1449
1449
  }, "strip", z.ZodTypeAny, {
@@ -1457,16 +1457,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1457
1457
  sizeEstimate?: number | undefined;
1458
1458
  raw?: string | undefined;
1459
1459
  payload?: {
1460
- body?: {
1461
- size?: number | undefined;
1462
- data?: string | undefined;
1463
- attachmentId?: string | undefined;
1464
- } | undefined;
1465
1460
  mimeType?: string | undefined;
1466
1461
  headers?: {
1467
- value: string;
1468
1462
  name: string;
1463
+ value: string;
1469
1464
  }[] | undefined;
1465
+ body?: {
1466
+ data?: string | undefined;
1467
+ size?: number | undefined;
1468
+ attachmentId?: string | undefined;
1469
+ } | undefined;
1470
1470
  parts?: any[] | undefined;
1471
1471
  } | undefined;
1472
1472
  }, {
@@ -1480,16 +1480,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1480
1480
  sizeEstimate?: number | undefined;
1481
1481
  raw?: string | undefined;
1482
1482
  payload?: {
1483
- body?: {
1484
- size?: number | undefined;
1485
- data?: string | undefined;
1486
- attachmentId?: string | undefined;
1487
- } | undefined;
1488
1483
  mimeType?: string | undefined;
1489
1484
  headers?: {
1490
- value: string;
1491
1485
  name: string;
1486
+ value: string;
1492
1487
  }[] | undefined;
1488
+ body?: {
1489
+ data?: string | undefined;
1490
+ size?: number | undefined;
1491
+ attachmentId?: string | undefined;
1492
+ } | undefined;
1493
1493
  parts?: any[] | undefined;
1494
1494
  } | undefined;
1495
1495
  }>, "many">>;
@@ -1507,16 +1507,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1507
1507
  sizeEstimate?: number | undefined;
1508
1508
  raw?: string | undefined;
1509
1509
  payload?: {
1510
- body?: {
1511
- size?: number | undefined;
1512
- data?: string | undefined;
1513
- attachmentId?: string | undefined;
1514
- } | undefined;
1515
1510
  mimeType?: string | undefined;
1516
1511
  headers?: {
1517
- value: string;
1518
1512
  name: string;
1513
+ value: string;
1519
1514
  }[] | undefined;
1515
+ body?: {
1516
+ data?: string | undefined;
1517
+ size?: number | undefined;
1518
+ attachmentId?: string | undefined;
1519
+ } | undefined;
1520
1520
  parts?: any[] | undefined;
1521
1521
  } | undefined;
1522
1522
  }[] | undefined;
@@ -1535,16 +1535,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1535
1535
  sizeEstimate?: number | undefined;
1536
1536
  raw?: string | undefined;
1537
1537
  payload?: {
1538
- body?: {
1539
- size?: number | undefined;
1540
- data?: string | undefined;
1541
- attachmentId?: string | undefined;
1542
- } | undefined;
1543
1538
  mimeType?: string | undefined;
1544
1539
  headers?: {
1545
- value: string;
1546
1540
  name: string;
1541
+ value: string;
1547
1542
  }[] | undefined;
1543
+ body?: {
1544
+ data?: string | undefined;
1545
+ size?: number | undefined;
1546
+ attachmentId?: string | undefined;
1547
+ } | undefined;
1548
1548
  parts?: any[] | undefined;
1549
1549
  } | undefined;
1550
1550
  }[] | undefined;
@@ -1556,8 +1556,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1556
1556
  error: z.ZodString;
1557
1557
  }, "strip", z.ZodTypeAny, {
1558
1558
  operation: "list_threads";
1559
- error: string;
1560
1559
  success: boolean;
1560
+ error: string;
1561
1561
  next_page_token?: string | undefined;
1562
1562
  result_size_estimate?: number | undefined;
1563
1563
  threads?: {
@@ -1573,16 +1573,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1573
1573
  sizeEstimate?: number | undefined;
1574
1574
  raw?: string | undefined;
1575
1575
  payload?: {
1576
- body?: {
1577
- size?: number | undefined;
1578
- data?: string | undefined;
1579
- attachmentId?: string | undefined;
1580
- } | undefined;
1581
1576
  mimeType?: string | undefined;
1582
1577
  headers?: {
1583
- value: string;
1584
1578
  name: string;
1579
+ value: string;
1585
1580
  }[] | undefined;
1581
+ body?: {
1582
+ data?: string | undefined;
1583
+ size?: number | undefined;
1584
+ attachmentId?: string | undefined;
1585
+ } | undefined;
1586
1586
  parts?: any[] | undefined;
1587
1587
  } | undefined;
1588
1588
  }[] | undefined;
@@ -1591,8 +1591,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1591
1591
  }[] | undefined;
1592
1592
  }, {
1593
1593
  operation: "list_threads";
1594
- error: string;
1595
1594
  success: boolean;
1595
+ error: string;
1596
1596
  next_page_token?: string | undefined;
1597
1597
  result_size_estimate?: number | undefined;
1598
1598
  threads?: {
@@ -1608,16 +1608,16 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1608
1608
  sizeEstimate?: number | undefined;
1609
1609
  raw?: string | undefined;
1610
1610
  payload?: {
1611
- body?: {
1612
- size?: number | undefined;
1613
- data?: string | undefined;
1614
- attachmentId?: string | undefined;
1615
- } | undefined;
1616
1611
  mimeType?: string | undefined;
1617
1612
  headers?: {
1618
- value: string;
1619
1613
  name: string;
1614
+ value: string;
1620
1615
  }[] | undefined;
1616
+ body?: {
1617
+ data?: string | undefined;
1618
+ size?: number | undefined;
1619
+ attachmentId?: string | undefined;
1620
+ } | undefined;
1621
1621
  parts?: any[] | undefined;
1622
1622
  } | undefined;
1623
1623
  }[] | undefined;
@@ -1649,8 +1649,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1649
1649
  error: z.ZodString;
1650
1650
  }, "strip", z.ZodTypeAny, {
1651
1651
  operation: "list_labels";
1652
- error: string;
1653
1652
  success: boolean;
1653
+ error: string;
1654
1654
  labels?: {
1655
1655
  name: string;
1656
1656
  id: string;
@@ -1660,8 +1660,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1660
1660
  }[] | undefined;
1661
1661
  }, {
1662
1662
  operation: "list_labels";
1663
- error: string;
1664
1663
  success: boolean;
1664
+ error: string;
1665
1665
  labels?: {
1666
1666
  name: string;
1667
1667
  id: string;
@@ -1694,8 +1694,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1694
1694
  error: z.ZodString;
1695
1695
  }, "strip", z.ZodTypeAny, {
1696
1696
  operation: "create_label";
1697
- error: string;
1698
1697
  success: boolean;
1698
+ error: string;
1699
1699
  label?: {
1700
1700
  name: string;
1701
1701
  id: string;
@@ -1705,8 +1705,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1705
1705
  } | undefined;
1706
1706
  }, {
1707
1707
  operation: "create_label";
1708
- error: string;
1709
1708
  success: boolean;
1709
+ error: string;
1710
1710
  label?: {
1711
1711
  name: string;
1712
1712
  id: string;
@@ -1722,14 +1722,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1722
1722
  error: z.ZodString;
1723
1723
  }, "strip", z.ZodTypeAny, {
1724
1724
  operation: "modify_message_labels";
1725
- error: string;
1726
1725
  success: boolean;
1726
+ error: string;
1727
1727
  message_id?: string | undefined;
1728
1728
  label_ids?: string[] | undefined;
1729
1729
  }, {
1730
1730
  operation: "modify_message_labels";
1731
- error: string;
1732
1731
  success: boolean;
1732
+ error: string;
1733
1733
  message_id?: string | undefined;
1734
1734
  label_ids?: string[] | undefined;
1735
1735
  }>, z.ZodObject<{
@@ -1739,13 +1739,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1739
1739
  error: z.ZodString;
1740
1740
  }, "strip", z.ZodTypeAny, {
1741
1741
  operation: "modify_thread_labels";
1742
- error: string;
1743
1742
  success: boolean;
1743
+ error: string;
1744
1744
  thread_id?: string | undefined;
1745
1745
  }, {
1746
1746
  operation: "modify_thread_labels";
1747
- error: string;
1748
1747
  success: boolean;
1748
+ error: string;
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: "minimal" | "metadata" | "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;
@@ -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;
@@ -2073,14 +2073,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2073
2073
  error: z.ZodString;
2074
2074
  }, "strip", z.ZodTypeAny, {
2075
2075
  operation: "send_email";
2076
- error: string;
2077
2076
  success: boolean;
2077
+ error: string;
2078
2078
  message_id?: string | undefined;
2079
2079
  thread_id?: string | undefined;
2080
2080
  }, {
2081
2081
  operation: "send_email";
2082
- error: string;
2083
2082
  success: boolean;
2083
+ error: string;
2084
2084
  message_id?: string | undefined;
2085
2085
  thread_id?: string | undefined;
2086
2086
  }>, z.ZodObject<{
@@ -2102,49 +2102,49 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2102
2102
  name: z.ZodString;
2103
2103
  value: z.ZodString;
2104
2104
  }, "strip", z.ZodTypeAny, {
2105
- value: string;
2106
2105
  name: string;
2107
- }, {
2108
2106
  value: string;
2107
+ }, {
2109
2108
  name: string;
2109
+ value: string;
2110
2110
  }>, "many">>;
2111
2111
  body: z.ZodOptional<z.ZodObject<{
2112
2112
  data: z.ZodOptional<z.ZodString>;
2113
2113
  size: z.ZodOptional<z.ZodNumber>;
2114
2114
  attachmentId: z.ZodOptional<z.ZodString>;
2115
2115
  }, "strip", z.ZodTypeAny, {
2116
- size?: number | undefined;
2117
2116
  data?: string | undefined;
2117
+ size?: number | undefined;
2118
2118
  attachmentId?: string | undefined;
2119
2119
  }, {
2120
- size?: number | undefined;
2121
2120
  data?: string | undefined;
2121
+ size?: number | undefined;
2122
2122
  attachmentId?: string | undefined;
2123
2123
  }>>;
2124
2124
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2125
2125
  }, "strip", z.ZodTypeAny, {
2126
- body?: {
2127
- size?: number | undefined;
2128
- data?: string | undefined;
2129
- attachmentId?: string | undefined;
2130
- } | undefined;
2131
2126
  mimeType?: string | undefined;
2132
2127
  headers?: {
2133
- value: string;
2134
2128
  name: string;
2129
+ value: string;
2135
2130
  }[] | undefined;
2136
- parts?: any[] | undefined;
2137
- }, {
2138
2131
  body?: {
2139
- size?: number | undefined;
2140
2132
  data?: string | undefined;
2133
+ size?: number | undefined;
2141
2134
  attachmentId?: string | undefined;
2142
2135
  } | undefined;
2136
+ parts?: any[] | undefined;
2137
+ }, {
2143
2138
  mimeType?: string | undefined;
2144
2139
  headers?: {
2145
- value: string;
2146
2140
  name: string;
2141
+ value: string;
2147
2142
  }[] | undefined;
2143
+ body?: {
2144
+ data?: string | undefined;
2145
+ size?: number | undefined;
2146
+ attachmentId?: string | undefined;
2147
+ } | undefined;
2148
2148
  parts?: any[] | undefined;
2149
2149
  }>>;
2150
2150
  }, "strip", z.ZodTypeAny, {
@@ -2158,16 +2158,16 @@ 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
- size?: number | undefined;
2163
- data?: string | undefined;
2164
- attachmentId?: string | undefined;
2165
- } | undefined;
2166
2161
  mimeType?: string | undefined;
2167
2162
  headers?: {
2168
- value: string;
2169
2163
  name: string;
2164
+ value: string;
2170
2165
  }[] | undefined;
2166
+ body?: {
2167
+ data?: string | undefined;
2168
+ size?: number | undefined;
2169
+ attachmentId?: string | undefined;
2170
+ } | undefined;
2171
2171
  parts?: any[] | undefined;
2172
2172
  } | undefined;
2173
2173
  }, {
@@ -2181,16 +2181,16 @@ 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
- size?: number | undefined;
2186
- data?: string | undefined;
2187
- attachmentId?: string | undefined;
2188
- } | undefined;
2189
2184
  mimeType?: string | undefined;
2190
2185
  headers?: {
2191
- value: string;
2192
2186
  name: string;
2187
+ value: string;
2193
2188
  }[] | undefined;
2189
+ body?: {
2190
+ data?: string | undefined;
2191
+ size?: number | undefined;
2192
+ attachmentId?: string | undefined;
2193
+ } | undefined;
2194
2194
  parts?: any[] | undefined;
2195
2195
  } | undefined;
2196
2196
  }>, "many">>;
@@ -2199,8 +2199,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2199
2199
  error: z.ZodString;
2200
2200
  }, "strip", z.ZodTypeAny, {
2201
2201
  operation: "list_emails";
2202
- error: string;
2203
2202
  success: boolean;
2203
+ error: string;
2204
2204
  messages?: {
2205
2205
  id: string;
2206
2206
  threadId?: string | undefined;
@@ -2212,16 +2212,16 @@ 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
- size?: number | undefined;
2217
- data?: string | undefined;
2218
- attachmentId?: string | undefined;
2219
- } | undefined;
2220
2215
  mimeType?: string | undefined;
2221
2216
  headers?: {
2222
- value: string;
2223
2217
  name: string;
2218
+ value: string;
2224
2219
  }[] | undefined;
2220
+ body?: {
2221
+ data?: string | undefined;
2222
+ size?: number | undefined;
2223
+ attachmentId?: string | undefined;
2224
+ } | undefined;
2225
2225
  parts?: any[] | undefined;
2226
2226
  } | undefined;
2227
2227
  }[] | undefined;
@@ -2229,8 +2229,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2229
2229
  result_size_estimate?: number | undefined;
2230
2230
  }, {
2231
2231
  operation: "list_emails";
2232
- error: string;
2233
2232
  success: boolean;
2233
+ error: string;
2234
2234
  messages?: {
2235
2235
  id: string;
2236
2236
  threadId?: string | undefined;
@@ -2242,16 +2242,16 @@ 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
- size?: number | undefined;
2247
- data?: string | undefined;
2248
- attachmentId?: string | undefined;
2249
- } | undefined;
2250
2245
  mimeType?: string | undefined;
2251
2246
  headers?: {
2252
- value: string;
2253
2247
  name: string;
2248
+ value: string;
2254
2249
  }[] | undefined;
2250
+ body?: {
2251
+ data?: string | undefined;
2252
+ size?: number | undefined;
2253
+ attachmentId?: string | undefined;
2254
+ } | undefined;
2255
2255
  parts?: any[] | undefined;
2256
2256
  } | undefined;
2257
2257
  }[] | undefined;
@@ -2276,49 +2276,49 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2276
2276
  name: z.ZodString;
2277
2277
  value: z.ZodString;
2278
2278
  }, "strip", z.ZodTypeAny, {
2279
- value: string;
2280
2279
  name: string;
2281
- }, {
2282
2280
  value: string;
2281
+ }, {
2283
2282
  name: string;
2283
+ value: string;
2284
2284
  }>, "many">>;
2285
2285
  body: z.ZodOptional<z.ZodObject<{
2286
2286
  data: z.ZodOptional<z.ZodString>;
2287
2287
  size: z.ZodOptional<z.ZodNumber>;
2288
2288
  attachmentId: z.ZodOptional<z.ZodString>;
2289
2289
  }, "strip", z.ZodTypeAny, {
2290
- size?: number | undefined;
2291
2290
  data?: string | undefined;
2291
+ size?: number | undefined;
2292
2292
  attachmentId?: string | undefined;
2293
2293
  }, {
2294
- size?: number | undefined;
2295
2294
  data?: string | undefined;
2295
+ size?: number | undefined;
2296
2296
  attachmentId?: string | undefined;
2297
2297
  }>>;
2298
2298
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2299
2299
  }, "strip", z.ZodTypeAny, {
2300
- body?: {
2301
- size?: number | undefined;
2302
- data?: string | undefined;
2303
- attachmentId?: string | undefined;
2304
- } | undefined;
2305
2300
  mimeType?: string | undefined;
2306
2301
  headers?: {
2307
- value: string;
2308
2302
  name: string;
2303
+ value: string;
2309
2304
  }[] | undefined;
2310
- parts?: any[] | undefined;
2311
- }, {
2312
2305
  body?: {
2313
- size?: number | undefined;
2314
2306
  data?: string | undefined;
2307
+ size?: number | undefined;
2315
2308
  attachmentId?: string | undefined;
2316
2309
  } | undefined;
2310
+ parts?: any[] | undefined;
2311
+ }, {
2317
2312
  mimeType?: string | undefined;
2318
2313
  headers?: {
2319
- value: string;
2320
2314
  name: string;
2315
+ value: string;
2321
2316
  }[] | undefined;
2317
+ body?: {
2318
+ data?: string | undefined;
2319
+ size?: number | undefined;
2320
+ attachmentId?: string | undefined;
2321
+ } | undefined;
2322
2322
  parts?: any[] | undefined;
2323
2323
  }>>;
2324
2324
  }, "strip", z.ZodTypeAny, {
@@ -2332,16 +2332,16 @@ 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
- size?: number | undefined;
2337
- data?: string | undefined;
2338
- attachmentId?: string | undefined;
2339
- } | undefined;
2340
2335
  mimeType?: string | undefined;
2341
2336
  headers?: {
2342
- value: string;
2343
2337
  name: string;
2338
+ value: string;
2344
2339
  }[] | undefined;
2340
+ body?: {
2341
+ data?: string | undefined;
2342
+ size?: number | undefined;
2343
+ attachmentId?: string | undefined;
2344
+ } | undefined;
2345
2345
  parts?: any[] | undefined;
2346
2346
  } | undefined;
2347
2347
  }, {
@@ -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
- size?: number | undefined;
2360
- data?: string | undefined;
2361
- attachmentId?: string | undefined;
2362
- } | undefined;
2363
2358
  mimeType?: string | undefined;
2364
2359
  headers?: {
2365
- value: string;
2366
2360
  name: string;
2361
+ value: string;
2367
2362
  }[] | undefined;
2363
+ body?: {
2364
+ data?: string | undefined;
2365
+ size?: number | undefined;
2366
+ attachmentId?: string | undefined;
2367
+ } | undefined;
2368
2368
  parts?: any[] | undefined;
2369
2369
  } | undefined;
2370
2370
  }>>;
2371
2371
  error: z.ZodString;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
2373
  operation: "get_email";
2374
- error: string;
2375
2374
  success: boolean;
2375
+ error: string;
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
- size?: number | undefined;
2389
- data?: string | undefined;
2390
- attachmentId?: string | undefined;
2391
- } | undefined;
2392
2387
  mimeType?: string | undefined;
2393
2388
  headers?: {
2394
- value: string;
2395
2389
  name: string;
2390
+ value: string;
2396
2391
  }[] | undefined;
2392
+ body?: {
2393
+ data?: string | undefined;
2394
+ size?: number | undefined;
2395
+ attachmentId?: string | undefined;
2396
+ } | undefined;
2397
2397
  parts?: any[] | undefined;
2398
2398
  } | undefined;
2399
2399
  } | undefined;
2400
2400
  }, {
2401
2401
  operation: "get_email";
2402
- error: string;
2403
2402
  success: boolean;
2403
+ error: string;
2404
2404
  message?: {
2405
2405
  id: string;
2406
2406
  threadId?: string | undefined;
@@ -2412,16 +2412,16 @@ 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
- size?: number | undefined;
2417
- data?: string | undefined;
2418
- attachmentId?: string | undefined;
2419
- } | undefined;
2420
2415
  mimeType?: string | undefined;
2421
2416
  headers?: {
2422
- value: string;
2423
2417
  name: string;
2418
+ value: string;
2424
2419
  }[] | undefined;
2420
+ body?: {
2421
+ data?: string | undefined;
2422
+ size?: number | undefined;
2423
+ attachmentId?: string | undefined;
2424
+ } | undefined;
2425
2425
  parts?: any[] | undefined;
2426
2426
  } | undefined;
2427
2427
  } | undefined;
@@ -2444,49 +2444,49 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2444
2444
  name: z.ZodString;
2445
2445
  value: z.ZodString;
2446
2446
  }, "strip", z.ZodTypeAny, {
2447
- value: string;
2448
2447
  name: string;
2449
- }, {
2450
2448
  value: string;
2449
+ }, {
2451
2450
  name: string;
2451
+ value: string;
2452
2452
  }>, "many">>;
2453
2453
  body: z.ZodOptional<z.ZodObject<{
2454
2454
  data: z.ZodOptional<z.ZodString>;
2455
2455
  size: z.ZodOptional<z.ZodNumber>;
2456
2456
  attachmentId: z.ZodOptional<z.ZodString>;
2457
2457
  }, "strip", z.ZodTypeAny, {
2458
- size?: number | undefined;
2459
2458
  data?: string | undefined;
2459
+ size?: number | undefined;
2460
2460
  attachmentId?: string | undefined;
2461
2461
  }, {
2462
- size?: number | undefined;
2463
2462
  data?: string | undefined;
2463
+ size?: number | undefined;
2464
2464
  attachmentId?: string | undefined;
2465
2465
  }>>;
2466
2466
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2467
2467
  }, "strip", z.ZodTypeAny, {
2468
- body?: {
2469
- size?: number | undefined;
2470
- data?: string | undefined;
2471
- attachmentId?: string | undefined;
2472
- } | undefined;
2473
2468
  mimeType?: string | undefined;
2474
2469
  headers?: {
2475
- value: string;
2476
2470
  name: string;
2471
+ value: string;
2477
2472
  }[] | undefined;
2478
- parts?: any[] | undefined;
2479
- }, {
2480
2473
  body?: {
2481
- size?: number | undefined;
2482
2474
  data?: string | undefined;
2475
+ size?: number | undefined;
2483
2476
  attachmentId?: string | undefined;
2484
2477
  } | undefined;
2478
+ parts?: any[] | undefined;
2479
+ }, {
2485
2480
  mimeType?: string | undefined;
2486
2481
  headers?: {
2487
- value: string;
2488
2482
  name: string;
2483
+ value: string;
2489
2484
  }[] | undefined;
2485
+ body?: {
2486
+ data?: string | undefined;
2487
+ size?: number | undefined;
2488
+ attachmentId?: string | undefined;
2489
+ } | undefined;
2490
2490
  parts?: any[] | undefined;
2491
2491
  }>>;
2492
2492
  }, "strip", z.ZodTypeAny, {
@@ -2500,16 +2500,16 @@ 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
- size?: number | undefined;
2505
- data?: string | undefined;
2506
- attachmentId?: string | undefined;
2507
- } | undefined;
2508
2503
  mimeType?: string | undefined;
2509
2504
  headers?: {
2510
- value: string;
2511
2505
  name: string;
2506
+ value: string;
2512
2507
  }[] | undefined;
2508
+ body?: {
2509
+ data?: string | undefined;
2510
+ size?: number | undefined;
2511
+ attachmentId?: string | undefined;
2512
+ } | undefined;
2513
2513
  parts?: any[] | undefined;
2514
2514
  } | undefined;
2515
2515
  }, {
@@ -2523,16 +2523,16 @@ 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
- size?: number | undefined;
2528
- data?: string | undefined;
2529
- attachmentId?: string | undefined;
2530
- } | undefined;
2531
2526
  mimeType?: string | undefined;
2532
2527
  headers?: {
2533
- value: string;
2534
2528
  name: string;
2529
+ value: string;
2535
2530
  }[] | undefined;
2531
+ body?: {
2532
+ data?: string | undefined;
2533
+ size?: number | undefined;
2534
+ attachmentId?: string | undefined;
2535
+ } | undefined;
2536
2536
  parts?: any[] | undefined;
2537
2537
  } | undefined;
2538
2538
  }>, "many">>;
@@ -2540,8 +2540,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2540
2540
  error: z.ZodString;
2541
2541
  }, "strip", z.ZodTypeAny, {
2542
2542
  operation: "search_emails";
2543
- error: string;
2544
2543
  success: boolean;
2544
+ error: string;
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
- size?: number | undefined;
2558
- data?: string | undefined;
2559
- attachmentId?: string | undefined;
2560
- } | undefined;
2561
2556
  mimeType?: string | undefined;
2562
2557
  headers?: {
2563
- value: string;
2564
2558
  name: string;
2559
+ value: string;
2565
2560
  }[] | undefined;
2561
+ body?: {
2562
+ data?: string | undefined;
2563
+ size?: number | undefined;
2564
+ attachmentId?: string | undefined;
2565
+ } | undefined;
2566
2566
  parts?: any[] | undefined;
2567
2567
  } | undefined;
2568
2568
  }[] | undefined;
2569
2569
  result_size_estimate?: number | undefined;
2570
2570
  }, {
2571
2571
  operation: "search_emails";
2572
- error: string;
2573
2572
  success: boolean;
2573
+ error: string;
2574
2574
  messages?: {
2575
2575
  id: string;
2576
2576
  threadId?: string | undefined;
@@ -2582,16 +2582,16 @@ 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
- size?: number | undefined;
2587
- data?: string | undefined;
2588
- attachmentId?: string | undefined;
2589
- } | undefined;
2590
2585
  mimeType?: string | undefined;
2591
2586
  headers?: {
2592
- value: string;
2593
2587
  name: string;
2588
+ value: string;
2594
2589
  }[] | undefined;
2590
+ body?: {
2591
+ data?: string | undefined;
2592
+ size?: number | undefined;
2593
+ attachmentId?: string | undefined;
2594
+ } | undefined;
2595
2595
  parts?: any[] | undefined;
2596
2596
  } | undefined;
2597
2597
  }[] | undefined;
@@ -2603,13 +2603,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2603
2603
  error: z.ZodString;
2604
2604
  }, "strip", z.ZodTypeAny, {
2605
2605
  operation: "mark_as_read";
2606
- error: string;
2607
2606
  success: boolean;
2607
+ error: string;
2608
2608
  modified_messages?: string[] | undefined;
2609
2609
  }, {
2610
2610
  operation: "mark_as_read";
2611
- error: string;
2612
2611
  success: boolean;
2612
+ error: string;
2613
2613
  modified_messages?: string[] | undefined;
2614
2614
  }>, z.ZodObject<{
2615
2615
  operation: z.ZodLiteral<"mark_as_unread">;
@@ -2618,13 +2618,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2618
2618
  error: z.ZodString;
2619
2619
  }, "strip", z.ZodTypeAny, {
2620
2620
  operation: "mark_as_unread";
2621
- error: string;
2622
2621
  success: boolean;
2622
+ error: string;
2623
2623
  modified_messages?: string[] | undefined;
2624
2624
  }, {
2625
2625
  operation: "mark_as_unread";
2626
- error: string;
2627
2626
  success: boolean;
2627
+ error: string;
2628
2628
  modified_messages?: string[] | undefined;
2629
2629
  }>, z.ZodObject<{
2630
2630
  operation: z.ZodLiteral<"create_draft">;
@@ -2647,49 +2647,49 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2647
2647
  name: z.ZodString;
2648
2648
  value: z.ZodString;
2649
2649
  }, "strip", z.ZodTypeAny, {
2650
- value: string;
2651
2650
  name: string;
2652
- }, {
2653
2651
  value: string;
2652
+ }, {
2654
2653
  name: string;
2654
+ value: string;
2655
2655
  }>, "many">>;
2656
2656
  body: z.ZodOptional<z.ZodObject<{
2657
2657
  data: z.ZodOptional<z.ZodString>;
2658
2658
  size: z.ZodOptional<z.ZodNumber>;
2659
2659
  attachmentId: z.ZodOptional<z.ZodString>;
2660
2660
  }, "strip", z.ZodTypeAny, {
2661
- size?: number | undefined;
2662
2661
  data?: string | undefined;
2662
+ size?: number | undefined;
2663
2663
  attachmentId?: string | undefined;
2664
2664
  }, {
2665
- size?: number | undefined;
2666
2665
  data?: string | undefined;
2666
+ size?: number | undefined;
2667
2667
  attachmentId?: string | undefined;
2668
2668
  }>>;
2669
2669
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
- body?: {
2672
- size?: number | undefined;
2673
- data?: string | undefined;
2674
- attachmentId?: string | undefined;
2675
- } | undefined;
2676
2671
  mimeType?: string | undefined;
2677
2672
  headers?: {
2678
- value: string;
2679
2673
  name: string;
2674
+ value: string;
2680
2675
  }[] | undefined;
2681
- parts?: any[] | undefined;
2682
- }, {
2683
2676
  body?: {
2684
- size?: number | undefined;
2685
2677
  data?: string | undefined;
2678
+ size?: number | undefined;
2686
2679
  attachmentId?: string | undefined;
2687
2680
  } | undefined;
2681
+ parts?: any[] | undefined;
2682
+ }, {
2688
2683
  mimeType?: string | undefined;
2689
2684
  headers?: {
2690
- value: string;
2691
2685
  name: string;
2686
+ value: string;
2692
2687
  }[] | undefined;
2688
+ body?: {
2689
+ data?: string | undefined;
2690
+ size?: number | undefined;
2691
+ attachmentId?: string | undefined;
2692
+ } | undefined;
2693
2693
  parts?: any[] | undefined;
2694
2694
  }>>;
2695
2695
  }, "strip", z.ZodTypeAny, {
@@ -2703,16 +2703,16 @@ 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
- size?: number | undefined;
2708
- data?: string | undefined;
2709
- attachmentId?: string | undefined;
2710
- } | undefined;
2711
2706
  mimeType?: string | undefined;
2712
2707
  headers?: {
2713
- value: string;
2714
2708
  name: string;
2709
+ value: string;
2715
2710
  }[] | undefined;
2711
+ body?: {
2712
+ data?: string | undefined;
2713
+ size?: number | undefined;
2714
+ attachmentId?: string | undefined;
2715
+ } | undefined;
2716
2716
  parts?: any[] | undefined;
2717
2717
  } | undefined;
2718
2718
  }, {
@@ -2726,16 +2726,16 @@ 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
- size?: number | undefined;
2731
- data?: string | undefined;
2732
- attachmentId?: string | undefined;
2733
- } | undefined;
2734
2729
  mimeType?: string | undefined;
2735
2730
  headers?: {
2736
- value: string;
2737
2731
  name: string;
2732
+ value: string;
2738
2733
  }[] | undefined;
2734
+ body?: {
2735
+ data?: string | undefined;
2736
+ size?: number | undefined;
2737
+ attachmentId?: string | undefined;
2738
+ } | undefined;
2739
2739
  parts?: any[] | undefined;
2740
2740
  } | undefined;
2741
2741
  }>;
@@ -2751,16 +2751,16 @@ 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
- size?: number | undefined;
2756
- data?: string | undefined;
2757
- attachmentId?: string | undefined;
2758
- } | undefined;
2759
2754
  mimeType?: string | undefined;
2760
2755
  headers?: {
2761
- value: string;
2762
2756
  name: string;
2757
+ value: string;
2763
2758
  }[] | undefined;
2759
+ body?: {
2760
+ data?: string | undefined;
2761
+ size?: number | undefined;
2762
+ attachmentId?: string | undefined;
2763
+ } | undefined;
2764
2764
  parts?: any[] | undefined;
2765
2765
  } | undefined;
2766
2766
  };
@@ -2777,16 +2777,16 @@ 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
- size?: number | undefined;
2782
- data?: string | undefined;
2783
- attachmentId?: string | undefined;
2784
- } | undefined;
2785
2780
  mimeType?: string | undefined;
2786
2781
  headers?: {
2787
- value: string;
2788
2782
  name: string;
2783
+ value: string;
2789
2784
  }[] | undefined;
2785
+ body?: {
2786
+ data?: string | undefined;
2787
+ size?: number | undefined;
2788
+ attachmentId?: string | undefined;
2789
+ } | undefined;
2790
2790
  parts?: any[] | undefined;
2791
2791
  } | undefined;
2792
2792
  };
@@ -2795,8 +2795,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2795
2795
  error: z.ZodString;
2796
2796
  }, "strip", z.ZodTypeAny, {
2797
2797
  operation: "create_draft";
2798
- error: string;
2799
2798
  success: boolean;
2799
+ error: string;
2800
2800
  draft?: {
2801
2801
  message: {
2802
2802
  id: string;
@@ -2809,16 +2809,16 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2809
2809
  sizeEstimate?: number | undefined;
2810
2810
  raw?: string | undefined;
2811
2811
  payload?: {
2812
+ mimeType?: string | undefined;
2813
+ headers?: {
2814
+ name: string;
2815
+ value: string;
2816
+ }[] | undefined;
2812
2817
  body?: {
2813
- size?: number | undefined;
2814
2818
  data?: string | undefined;
2819
+ size?: number | undefined;
2815
2820
  attachmentId?: string | undefined;
2816
2821
  } | undefined;
2817
- mimeType?: string | undefined;
2818
- headers?: {
2819
- value: string;
2820
- name: string;
2821
- }[] | undefined;
2822
2822
  parts?: any[] | undefined;
2823
2823
  } | undefined;
2824
2824
  };
@@ -2826,8 +2826,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2826
2826
  } | undefined;
2827
2827
  }, {
2828
2828
  operation: "create_draft";
2829
- error: string;
2830
2829
  success: boolean;
2830
+ error: string;
2831
2831
  draft?: {
2832
2832
  message: {
2833
2833
  id: string;
@@ -2840,16 +2840,16 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2840
2840
  sizeEstimate?: number | undefined;
2841
2841
  raw?: string | undefined;
2842
2842
  payload?: {
2843
- body?: {
2844
- size?: number | undefined;
2845
- data?: string | undefined;
2846
- attachmentId?: string | undefined;
2847
- } | undefined;
2848
2843
  mimeType?: string | undefined;
2849
2844
  headers?: {
2850
- value: string;
2851
2845
  name: string;
2846
+ value: string;
2852
2847
  }[] | undefined;
2848
+ body?: {
2849
+ data?: string | undefined;
2850
+ size?: number | undefined;
2851
+ attachmentId?: string | undefined;
2852
+ } | undefined;
2853
2853
  parts?: any[] | undefined;
2854
2854
  } | undefined;
2855
2855
  };
@@ -2863,14 +2863,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2863
2863
  error: z.ZodString;
2864
2864
  }, "strip", z.ZodTypeAny, {
2865
2865
  operation: "send_draft";
2866
- error: string;
2867
2866
  success: boolean;
2867
+ error: string;
2868
2868
  message_id?: string | undefined;
2869
2869
  thread_id?: string | undefined;
2870
2870
  }, {
2871
2871
  operation: "send_draft";
2872
- error: string;
2873
2872
  success: boolean;
2873
+ error: string;
2874
2874
  message_id?: string | undefined;
2875
2875
  thread_id?: string | undefined;
2876
2876
  }>, z.ZodObject<{
@@ -2894,49 +2894,49 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2894
2894
  name: z.ZodString;
2895
2895
  value: z.ZodString;
2896
2896
  }, "strip", z.ZodTypeAny, {
2897
- value: string;
2898
2897
  name: string;
2899
- }, {
2900
2898
  value: string;
2899
+ }, {
2901
2900
  name: string;
2901
+ value: string;
2902
2902
  }>, "many">>;
2903
2903
  body: z.ZodOptional<z.ZodObject<{
2904
2904
  data: z.ZodOptional<z.ZodString>;
2905
2905
  size: z.ZodOptional<z.ZodNumber>;
2906
2906
  attachmentId: z.ZodOptional<z.ZodString>;
2907
2907
  }, "strip", z.ZodTypeAny, {
2908
- size?: number | undefined;
2909
2908
  data?: string | undefined;
2909
+ size?: number | undefined;
2910
2910
  attachmentId?: string | undefined;
2911
2911
  }, {
2912
- size?: number | undefined;
2913
2912
  data?: string | undefined;
2913
+ size?: number | undefined;
2914
2914
  attachmentId?: string | undefined;
2915
2915
  }>>;
2916
2916
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2917
2917
  }, "strip", z.ZodTypeAny, {
2918
- body?: {
2919
- size?: number | undefined;
2920
- data?: string | undefined;
2921
- attachmentId?: string | undefined;
2922
- } | undefined;
2923
2918
  mimeType?: string | undefined;
2924
2919
  headers?: {
2925
- value: string;
2926
2920
  name: string;
2921
+ value: string;
2927
2922
  }[] | undefined;
2928
- parts?: any[] | undefined;
2929
- }, {
2930
2923
  body?: {
2931
- size?: number | undefined;
2932
2924
  data?: string | undefined;
2925
+ size?: number | undefined;
2933
2926
  attachmentId?: string | undefined;
2934
2927
  } | undefined;
2928
+ parts?: any[] | undefined;
2929
+ }, {
2935
2930
  mimeType?: string | undefined;
2936
2931
  headers?: {
2937
- value: string;
2938
2932
  name: string;
2933
+ value: string;
2939
2934
  }[] | undefined;
2935
+ body?: {
2936
+ data?: string | undefined;
2937
+ size?: number | undefined;
2938
+ attachmentId?: string | undefined;
2939
+ } | undefined;
2940
2940
  parts?: any[] | undefined;
2941
2941
  }>>;
2942
2942
  }, "strip", z.ZodTypeAny, {
@@ -2950,16 +2950,16 @@ 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
- size?: number | undefined;
2955
- data?: string | undefined;
2956
- attachmentId?: string | undefined;
2957
- } | undefined;
2958
2953
  mimeType?: string | undefined;
2959
2954
  headers?: {
2960
- value: string;
2961
2955
  name: string;
2956
+ value: string;
2962
2957
  }[] | undefined;
2958
+ body?: {
2959
+ data?: string | undefined;
2960
+ size?: number | undefined;
2961
+ attachmentId?: string | undefined;
2962
+ } | undefined;
2963
2963
  parts?: any[] | undefined;
2964
2964
  } | undefined;
2965
2965
  }, {
@@ -2973,16 +2973,16 @@ 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
- size?: number | undefined;
2978
- data?: string | undefined;
2979
- attachmentId?: string | undefined;
2980
- } | undefined;
2981
2976
  mimeType?: string | undefined;
2982
2977
  headers?: {
2983
- value: string;
2984
2978
  name: string;
2979
+ value: string;
2985
2980
  }[] | undefined;
2981
+ body?: {
2982
+ data?: string | undefined;
2983
+ size?: number | undefined;
2984
+ attachmentId?: string | undefined;
2985
+ } | undefined;
2986
2986
  parts?: any[] | undefined;
2987
2987
  } | undefined;
2988
2988
  }>;
@@ -2998,16 +2998,16 @@ 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
- size?: number | undefined;
3003
- data?: string | undefined;
3004
- attachmentId?: string | undefined;
3005
- } | undefined;
3006
3001
  mimeType?: string | undefined;
3007
3002
  headers?: {
3008
- value: string;
3009
3003
  name: string;
3004
+ value: string;
3010
3005
  }[] | undefined;
3006
+ body?: {
3007
+ data?: string | undefined;
3008
+ size?: number | undefined;
3009
+ attachmentId?: string | undefined;
3010
+ } | undefined;
3011
3011
  parts?: any[] | undefined;
3012
3012
  } | undefined;
3013
3013
  };
@@ -3024,16 +3024,16 @@ 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
- size?: number | undefined;
3029
- data?: string | undefined;
3030
- attachmentId?: string | undefined;
3031
- } | undefined;
3032
3027
  mimeType?: string | undefined;
3033
3028
  headers?: {
3034
- value: string;
3035
3029
  name: string;
3030
+ value: string;
3036
3031
  }[] | undefined;
3032
+ body?: {
3033
+ data?: string | undefined;
3034
+ size?: number | undefined;
3035
+ attachmentId?: string | undefined;
3036
+ } | undefined;
3037
3037
  parts?: any[] | undefined;
3038
3038
  } | undefined;
3039
3039
  };
@@ -3044,8 +3044,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3044
3044
  error: z.ZodString;
3045
3045
  }, "strip", z.ZodTypeAny, {
3046
3046
  operation: "list_drafts";
3047
- error: string;
3048
3047
  success: boolean;
3048
+ error: string;
3049
3049
  next_page_token?: string | undefined;
3050
3050
  result_size_estimate?: number | undefined;
3051
3051
  drafts?: {
@@ -3060,16 +3060,16 @@ 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
- size?: number | undefined;
3065
- data?: string | undefined;
3066
- attachmentId?: string | undefined;
3067
- } | undefined;
3068
3063
  mimeType?: string | undefined;
3069
3064
  headers?: {
3070
- value: string;
3071
3065
  name: string;
3066
+ value: string;
3072
3067
  }[] | undefined;
3068
+ body?: {
3069
+ data?: string | undefined;
3070
+ size?: number | undefined;
3071
+ attachmentId?: string | undefined;
3072
+ } | undefined;
3073
3073
  parts?: any[] | undefined;
3074
3074
  } | undefined;
3075
3075
  };
@@ -3077,8 +3077,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3077
3077
  }[] | undefined;
3078
3078
  }, {
3079
3079
  operation: "list_drafts";
3080
- error: string;
3081
3080
  success: boolean;
3081
+ error: string;
3082
3082
  next_page_token?: string | undefined;
3083
3083
  result_size_estimate?: number | undefined;
3084
3084
  drafts?: {
@@ -3093,16 +3093,16 @@ 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
- size?: number | undefined;
3098
- data?: string | undefined;
3099
- attachmentId?: string | undefined;
3100
- } | undefined;
3101
3096
  mimeType?: string | undefined;
3102
3097
  headers?: {
3103
- value: string;
3104
3098
  name: string;
3099
+ value: string;
3105
3100
  }[] | undefined;
3101
+ body?: {
3102
+ data?: string | undefined;
3103
+ size?: number | undefined;
3104
+ attachmentId?: string | undefined;
3105
+ } | undefined;
3106
3106
  parts?: any[] | undefined;
3107
3107
  } | undefined;
3108
3108
  };
@@ -3115,13 +3115,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3115
3115
  error: z.ZodString;
3116
3116
  }, "strip", z.ZodTypeAny, {
3117
3117
  operation: "delete_email";
3118
- error: string;
3119
3118
  success: boolean;
3119
+ error: string;
3120
3120
  deleted_message_id?: string | undefined;
3121
3121
  }, {
3122
3122
  operation: "delete_email";
3123
- error: string;
3124
3123
  success: boolean;
3124
+ error: string;
3125
3125
  deleted_message_id?: string | undefined;
3126
3126
  }>, z.ZodObject<{
3127
3127
  operation: z.ZodLiteral<"trash_email">;
@@ -3130,13 +3130,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3130
3130
  error: z.ZodString;
3131
3131
  }, "strip", z.ZodTypeAny, {
3132
3132
  operation: "trash_email";
3133
- error: string;
3134
3133
  success: boolean;
3134
+ error: string;
3135
3135
  trashed_message_id?: string | undefined;
3136
3136
  }, {
3137
3137
  operation: "trash_email";
3138
- error: string;
3139
3138
  success: boolean;
3139
+ error: string;
3140
3140
  trashed_message_id?: string | undefined;
3141
3141
  }>, z.ZodObject<{
3142
3142
  operation: z.ZodLiteral<"list_threads">;
@@ -3160,49 +3160,49 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3160
3160
  name: z.ZodString;
3161
3161
  value: z.ZodString;
3162
3162
  }, "strip", z.ZodTypeAny, {
3163
- value: string;
3164
3163
  name: string;
3165
- }, {
3166
3164
  value: string;
3165
+ }, {
3167
3166
  name: string;
3167
+ value: string;
3168
3168
  }>, "many">>;
3169
3169
  body: z.ZodOptional<z.ZodObject<{
3170
3170
  data: z.ZodOptional<z.ZodString>;
3171
3171
  size: z.ZodOptional<z.ZodNumber>;
3172
3172
  attachmentId: z.ZodOptional<z.ZodString>;
3173
3173
  }, "strip", z.ZodTypeAny, {
3174
- size?: number | undefined;
3175
3174
  data?: string | undefined;
3175
+ size?: number | undefined;
3176
3176
  attachmentId?: string | undefined;
3177
3177
  }, {
3178
- size?: number | undefined;
3179
3178
  data?: string | undefined;
3179
+ size?: number | undefined;
3180
3180
  attachmentId?: string | undefined;
3181
3181
  }>>;
3182
3182
  parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3183
3183
  }, "strip", z.ZodTypeAny, {
3184
- body?: {
3185
- size?: number | undefined;
3186
- data?: string | undefined;
3187
- attachmentId?: string | undefined;
3188
- } | undefined;
3189
3184
  mimeType?: string | undefined;
3190
3185
  headers?: {
3191
- value: string;
3192
3186
  name: string;
3187
+ value: string;
3193
3188
  }[] | undefined;
3194
- parts?: any[] | undefined;
3195
- }, {
3196
3189
  body?: {
3197
- size?: number | undefined;
3198
3190
  data?: string | undefined;
3191
+ size?: number | undefined;
3199
3192
  attachmentId?: string | undefined;
3200
3193
  } | undefined;
3194
+ parts?: any[] | undefined;
3195
+ }, {
3201
3196
  mimeType?: string | undefined;
3202
3197
  headers?: {
3203
- value: string;
3204
3198
  name: string;
3199
+ value: string;
3205
3200
  }[] | undefined;
3201
+ body?: {
3202
+ data?: string | undefined;
3203
+ size?: number | undefined;
3204
+ attachmentId?: string | undefined;
3205
+ } | undefined;
3206
3206
  parts?: any[] | undefined;
3207
3207
  }>>;
3208
3208
  }, "strip", z.ZodTypeAny, {
@@ -3216,16 +3216,16 @@ 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
- size?: number | undefined;
3221
- data?: string | undefined;
3222
- attachmentId?: string | undefined;
3223
- } | undefined;
3224
3219
  mimeType?: string | undefined;
3225
3220
  headers?: {
3226
- value: string;
3227
3221
  name: string;
3222
+ value: string;
3228
3223
  }[] | undefined;
3224
+ body?: {
3225
+ data?: string | undefined;
3226
+ size?: number | undefined;
3227
+ attachmentId?: string | undefined;
3228
+ } | undefined;
3229
3229
  parts?: any[] | undefined;
3230
3230
  } | undefined;
3231
3231
  }, {
@@ -3239,16 +3239,16 @@ 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
- size?: number | undefined;
3244
- data?: string | undefined;
3245
- attachmentId?: string | undefined;
3246
- } | undefined;
3247
3242
  mimeType?: string | undefined;
3248
3243
  headers?: {
3249
- value: string;
3250
3244
  name: string;
3245
+ value: string;
3251
3246
  }[] | undefined;
3247
+ body?: {
3248
+ data?: string | undefined;
3249
+ size?: number | undefined;
3250
+ attachmentId?: string | undefined;
3251
+ } | undefined;
3252
3252
  parts?: any[] | undefined;
3253
3253
  } | undefined;
3254
3254
  }>, "many">>;
@@ -3266,16 +3266,16 @@ 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
- size?: number | undefined;
3271
- data?: string | undefined;
3272
- attachmentId?: string | undefined;
3273
- } | undefined;
3274
3269
  mimeType?: string | undefined;
3275
3270
  headers?: {
3276
- value: string;
3277
3271
  name: string;
3272
+ value: string;
3278
3273
  }[] | undefined;
3274
+ body?: {
3275
+ data?: string | undefined;
3276
+ size?: number | undefined;
3277
+ attachmentId?: string | undefined;
3278
+ } | undefined;
3279
3279
  parts?: any[] | undefined;
3280
3280
  } | undefined;
3281
3281
  }[] | undefined;
@@ -3294,16 +3294,16 @@ 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
- size?: number | undefined;
3299
- data?: string | undefined;
3300
- attachmentId?: string | undefined;
3301
- } | undefined;
3302
3297
  mimeType?: string | undefined;
3303
3298
  headers?: {
3304
- value: string;
3305
3299
  name: string;
3300
+ value: string;
3306
3301
  }[] | undefined;
3302
+ body?: {
3303
+ data?: string | undefined;
3304
+ size?: number | undefined;
3305
+ attachmentId?: string | undefined;
3306
+ } | undefined;
3307
3307
  parts?: any[] | undefined;
3308
3308
  } | undefined;
3309
3309
  }[] | undefined;
@@ -3315,8 +3315,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3315
3315
  error: z.ZodString;
3316
3316
  }, "strip", z.ZodTypeAny, {
3317
3317
  operation: "list_threads";
3318
- error: string;
3319
3318
  success: boolean;
3319
+ error: string;
3320
3320
  next_page_token?: string | undefined;
3321
3321
  result_size_estimate?: number | undefined;
3322
3322
  threads?: {
@@ -3332,16 +3332,16 @@ 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
- size?: number | undefined;
3337
- data?: string | undefined;
3338
- attachmentId?: string | undefined;
3339
- } | undefined;
3340
3335
  mimeType?: string | undefined;
3341
3336
  headers?: {
3342
- value: string;
3343
3337
  name: string;
3338
+ value: string;
3344
3339
  }[] | undefined;
3340
+ body?: {
3341
+ data?: string | undefined;
3342
+ size?: number | undefined;
3343
+ attachmentId?: string | undefined;
3344
+ } | undefined;
3345
3345
  parts?: any[] | undefined;
3346
3346
  } | undefined;
3347
3347
  }[] | undefined;
@@ -3350,8 +3350,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3350
3350
  }[] | undefined;
3351
3351
  }, {
3352
3352
  operation: "list_threads";
3353
- error: string;
3354
3353
  success: boolean;
3354
+ error: string;
3355
3355
  next_page_token?: string | undefined;
3356
3356
  result_size_estimate?: number | undefined;
3357
3357
  threads?: {
@@ -3367,16 +3367,16 @@ 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
- size?: number | undefined;
3372
- data?: string | undefined;
3373
- attachmentId?: string | undefined;
3374
- } | undefined;
3375
3370
  mimeType?: string | undefined;
3376
3371
  headers?: {
3377
- value: string;
3378
3372
  name: string;
3373
+ value: string;
3379
3374
  }[] | undefined;
3375
+ body?: {
3376
+ data?: string | undefined;
3377
+ size?: number | undefined;
3378
+ attachmentId?: string | undefined;
3379
+ } | undefined;
3380
3380
  parts?: any[] | undefined;
3381
3381
  } | undefined;
3382
3382
  }[] | undefined;
@@ -3408,8 +3408,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3408
3408
  error: z.ZodString;
3409
3409
  }, "strip", z.ZodTypeAny, {
3410
3410
  operation: "list_labels";
3411
- error: string;
3412
3411
  success: boolean;
3412
+ error: string;
3413
3413
  labels?: {
3414
3414
  name: string;
3415
3415
  id: string;
@@ -3419,8 +3419,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3419
3419
  }[] | undefined;
3420
3420
  }, {
3421
3421
  operation: "list_labels";
3422
- error: string;
3423
3422
  success: boolean;
3423
+ error: string;
3424
3424
  labels?: {
3425
3425
  name: string;
3426
3426
  id: string;
@@ -3453,8 +3453,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3453
3453
  error: z.ZodString;
3454
3454
  }, "strip", z.ZodTypeAny, {
3455
3455
  operation: "create_label";
3456
- error: string;
3457
3456
  success: boolean;
3457
+ error: string;
3458
3458
  label?: {
3459
3459
  name: string;
3460
3460
  id: string;
@@ -3464,8 +3464,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3464
3464
  } | undefined;
3465
3465
  }, {
3466
3466
  operation: "create_label";
3467
- error: string;
3468
3467
  success: boolean;
3468
+ error: string;
3469
3469
  label?: {
3470
3470
  name: string;
3471
3471
  id: string;
@@ -3481,14 +3481,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3481
3481
  error: z.ZodString;
3482
3482
  }, "strip", z.ZodTypeAny, {
3483
3483
  operation: "modify_message_labels";
3484
- error: string;
3485
3484
  success: boolean;
3485
+ error: string;
3486
3486
  message_id?: string | undefined;
3487
3487
  label_ids?: string[] | undefined;
3488
3488
  }, {
3489
3489
  operation: "modify_message_labels";
3490
- error: string;
3491
3490
  success: boolean;
3491
+ error: string;
3492
3492
  message_id?: string | undefined;
3493
3493
  label_ids?: string[] | undefined;
3494
3494
  }>, z.ZodObject<{
@@ -3498,13 +3498,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3498
3498
  error: z.ZodString;
3499
3499
  }, "strip", z.ZodTypeAny, {
3500
3500
  operation: "modify_thread_labels";
3501
- error: string;
3502
3501
  success: boolean;
3502
+ error: string;
3503
3503
  thread_id?: string | undefined;
3504
3504
  }, {
3505
3505
  operation: "modify_thread_labels";
3506
- error: string;
3507
3506
  success: boolean;
3507
+ error: string;
3508
3508
  thread_id?: string | undefined;
3509
3509
  }>]>;
3510
3510
  static readonly shortDescription = "Gmail integration for email management";