mailmeteor 0.0.48 → 0.0.49

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.
package/dist/index.d.ts CHANGED
@@ -912,11 +912,13 @@ type PipelineConversationsResponse200 = {
912
912
  provider: 'gmail' | 'outlook' | 'zohomail';
913
913
  thread_id: string;
914
914
  subject: string;
915
+ snippet: string | null;
915
916
  recipient_emails: Array<string>;
916
917
  from: {
917
918
  name: string | null;
918
919
  email: string;
919
920
  };
921
+ mailbox: string;
920
922
  status: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
921
923
  status_updated_at: number;
922
924
  campaign: string | null;
@@ -949,11 +951,13 @@ type PipelineConversationIdResponse200 = {
949
951
  provider: 'gmail' | 'outlook' | 'zohomail';
950
952
  thread_id: string;
951
953
  subject: string;
954
+ snippet: string | null;
952
955
  recipient_emails: Array<string>;
953
956
  from: {
954
957
  name: string | null;
955
958
  email: string;
956
959
  };
960
+ mailbox: string;
957
961
  status: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
958
962
  status_updated_at: number;
959
963
  campaign: string | null;
@@ -998,6 +1002,7 @@ type MessagesResponse200 = {
998
1002
  email: string;
999
1003
  }>;
1000
1004
  subject: string | null;
1005
+ snippet: string;
1001
1006
  body: string;
1002
1007
  attachments: Array<{
1003
1008
  content_id: string | null;
@@ -1014,6 +1019,7 @@ type PipelineConversationIdBody = {
1014
1019
  owner?: string;
1015
1020
  status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
1016
1021
  is_read?: boolean;
1022
+ snippet?: string;
1017
1023
  };
1018
1024
  type PricesQuery = {
1019
1025
  currency: string;
@@ -2667,11 +2673,13 @@ type PipelineConversationsListResponses = {
2667
2673
  provider: 'gmail' | 'outlook' | 'zohomail';
2668
2674
  thread_id: string;
2669
2675
  subject: string;
2676
+ snippet: string | null;
2670
2677
  recipient_emails: Array<string>;
2671
2678
  from: {
2672
2679
  name: string | null;
2673
2680
  email: string;
2674
2681
  };
2682
+ mailbox: string;
2675
2683
  status: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
2676
2684
  status_updated_at: number;
2677
2685
  campaign: string | null;
@@ -2740,11 +2748,13 @@ type PipelineConversationsRetrieveResponses = {
2740
2748
  provider: 'gmail' | 'outlook' | 'zohomail';
2741
2749
  thread_id: string;
2742
2750
  subject: string;
2751
+ snippet: string | null;
2743
2752
  recipient_emails: Array<string>;
2744
2753
  from: {
2745
2754
  name: string | null;
2746
2755
  email: string;
2747
2756
  };
2757
+ mailbox: string;
2748
2758
  status: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
2749
2759
  status_updated_at: number;
2750
2760
  campaign: string | null;
@@ -2762,6 +2772,7 @@ type PipelineConversationsUpdateData = {
2762
2772
  owner?: string;
2763
2773
  status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
2764
2774
  is_read?: boolean;
2775
+ snippet?: string;
2765
2776
  };
2766
2777
  path: {
2767
2778
  pipeline_conversation_id: string;
@@ -2789,11 +2800,13 @@ type PipelineConversationsUpdateResponses = {
2789
2800
  provider: 'gmail' | 'outlook' | 'zohomail';
2790
2801
  thread_id: string;
2791
2802
  subject: string;
2803
+ snippet: string | null;
2792
2804
  recipient_emails: Array<string>;
2793
2805
  from: {
2794
2806
  name: string | null;
2795
2807
  email: string;
2796
2808
  };
2809
+ mailbox: string;
2797
2810
  status: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
2798
2811
  status_updated_at: number;
2799
2812
  campaign: string | null;
@@ -2855,6 +2868,7 @@ type PipelineConversationsListMessagesResponses = {
2855
2868
  email: string;
2856
2869
  }>;
2857
2870
  subject: string | null;
2871
+ snippet: string;
2858
2872
  body: string;
2859
2873
  attachments: Array<{
2860
2874
  content_id: string | null;
@@ -3777,6 +3791,7 @@ declare class PipelineConversations extends HeyApiClient {
3777
3791
  owner?: string;
3778
3792
  status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
3779
3793
  is_read?: boolean;
3794
+ snippet?: string;
3780
3795
  }, options?: Options<never, ThrowOnError>): RequestResult<PipelineConversationsUpdateResponses, PipelineConversationsUpdateErrors, ThrowOnError, "data">;
3781
3796
  listMessages<ThrowOnError extends boolean = true>(pipeline_conversation_id: string, parameters?: {
3782
3797
  owner?: string;
package/dist/index.mjs CHANGED
@@ -1632,7 +1632,8 @@ class PipelineConversations extends HeyApiClient {
1632
1632
  { in: 'query', key: 'include_metrics' },
1633
1633
  { in: 'body', key: 'owner' },
1634
1634
  { in: 'body', key: 'status' },
1635
- { in: 'body', key: 'is_read' }
1635
+ { in: 'body', key: 'is_read' },
1636
+ { in: 'body', key: 'snippet' }
1636
1637
  ] }]);
1637
1638
  return (options?.client ?? this.client).patch({
1638
1639
  responseStyle: 'data',