mailmeteor 0.0.48 → 0.0.50
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.cjs +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +47 -2
- package/dist/index.mjs +9 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/generated-sdk/sdk.gen.d.ts +7 -0
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +40 -2
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -898,6 +898,8 @@ type PipelineConversationsQuery = {
|
|
|
898
898
|
campaign?: string;
|
|
899
899
|
provider?: 'gmail' | 'outlook' | 'zohomail';
|
|
900
900
|
thread_id?: string;
|
|
901
|
+
last_activity_after?: number | null;
|
|
902
|
+
last_activity_before?: number | null;
|
|
901
903
|
limit?: number;
|
|
902
904
|
starting_after?: string;
|
|
903
905
|
ending_before?: string;
|
|
@@ -912,11 +914,13 @@ type PipelineConversationsResponse200 = {
|
|
|
912
914
|
provider: 'gmail' | 'outlook' | 'zohomail';
|
|
913
915
|
thread_id: string;
|
|
914
916
|
subject: string;
|
|
917
|
+
snippet: string | null;
|
|
915
918
|
recipient_emails: Array<string>;
|
|
916
919
|
from: {
|
|
917
920
|
name: string | null;
|
|
918
921
|
email: string;
|
|
919
922
|
};
|
|
923
|
+
mailbox: string;
|
|
920
924
|
status: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
921
925
|
status_updated_at: number;
|
|
922
926
|
campaign: string | null;
|
|
@@ -932,9 +936,18 @@ type CountQuery = {
|
|
|
932
936
|
owner?: string;
|
|
933
937
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
934
938
|
campaign?: string;
|
|
939
|
+
last_activity_after?: number | null;
|
|
940
|
+
last_activity_before?: number | null;
|
|
941
|
+
group_by?: 'status';
|
|
935
942
|
};
|
|
936
943
|
type CountResponse200 = {
|
|
937
|
-
|
|
944
|
+
total: number;
|
|
945
|
+
data?: {
|
|
946
|
+
to_reply: number;
|
|
947
|
+
to_follow_up: number;
|
|
948
|
+
waiting: number;
|
|
949
|
+
archived: number;
|
|
950
|
+
};
|
|
938
951
|
};
|
|
939
952
|
type PipelineConversationIdQuery = {
|
|
940
953
|
include_metrics?: string;
|
|
@@ -949,11 +962,13 @@ type PipelineConversationIdResponse200 = {
|
|
|
949
962
|
provider: 'gmail' | 'outlook' | 'zohomail';
|
|
950
963
|
thread_id: string;
|
|
951
964
|
subject: string;
|
|
965
|
+
snippet: string | null;
|
|
952
966
|
recipient_emails: Array<string>;
|
|
953
967
|
from: {
|
|
954
968
|
name: string | null;
|
|
955
969
|
email: string;
|
|
956
970
|
};
|
|
971
|
+
mailbox: string;
|
|
957
972
|
status: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
958
973
|
status_updated_at: number;
|
|
959
974
|
campaign: string | null;
|
|
@@ -998,6 +1013,7 @@ type MessagesResponse200 = {
|
|
|
998
1013
|
email: string;
|
|
999
1014
|
}>;
|
|
1000
1015
|
subject: string | null;
|
|
1016
|
+
snippet: string;
|
|
1001
1017
|
body: string;
|
|
1002
1018
|
attachments: Array<{
|
|
1003
1019
|
content_id: string | null;
|
|
@@ -1014,6 +1030,8 @@ type PipelineConversationIdBody = {
|
|
|
1014
1030
|
owner?: string;
|
|
1015
1031
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
1016
1032
|
is_read?: boolean;
|
|
1033
|
+
snippet?: string;
|
|
1034
|
+
last_activity_at?: number;
|
|
1017
1035
|
};
|
|
1018
1036
|
type PricesQuery = {
|
|
1019
1037
|
currency: string;
|
|
@@ -2640,6 +2658,8 @@ type PipelineConversationsListData = {
|
|
|
2640
2658
|
campaign?: string;
|
|
2641
2659
|
provider?: 'gmail' | 'outlook' | 'zohomail';
|
|
2642
2660
|
thread_id?: string;
|
|
2661
|
+
last_activity_after?: number | null;
|
|
2662
|
+
last_activity_before?: number | null;
|
|
2643
2663
|
limit?: number;
|
|
2644
2664
|
starting_after?: string;
|
|
2645
2665
|
ending_before?: string;
|
|
@@ -2667,11 +2687,13 @@ type PipelineConversationsListResponses = {
|
|
|
2667
2687
|
provider: 'gmail' | 'outlook' | 'zohomail';
|
|
2668
2688
|
thread_id: string;
|
|
2669
2689
|
subject: string;
|
|
2690
|
+
snippet: string | null;
|
|
2670
2691
|
recipient_emails: Array<string>;
|
|
2671
2692
|
from: {
|
|
2672
2693
|
name: string | null;
|
|
2673
2694
|
email: string;
|
|
2674
2695
|
};
|
|
2696
|
+
mailbox: string;
|
|
2675
2697
|
status: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
2676
2698
|
status_updated_at: number;
|
|
2677
2699
|
campaign: string | null;
|
|
@@ -2692,6 +2714,9 @@ type PipelineConversationsCountData = {
|
|
|
2692
2714
|
owner?: string;
|
|
2693
2715
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
2694
2716
|
campaign?: string;
|
|
2717
|
+
last_activity_after?: number | null;
|
|
2718
|
+
last_activity_before?: number | null;
|
|
2719
|
+
group_by?: 'status';
|
|
2695
2720
|
};
|
|
2696
2721
|
url: '/pipeline_conversations/count';
|
|
2697
2722
|
};
|
|
@@ -2707,7 +2732,13 @@ type PipelineConversationsCountResponses = {
|
|
|
2707
2732
|
* Response
|
|
2708
2733
|
*/
|
|
2709
2734
|
200: {
|
|
2710
|
-
|
|
2735
|
+
total: number;
|
|
2736
|
+
data?: {
|
|
2737
|
+
to_reply: number;
|
|
2738
|
+
to_follow_up: number;
|
|
2739
|
+
waiting: number;
|
|
2740
|
+
archived: number;
|
|
2741
|
+
};
|
|
2711
2742
|
};
|
|
2712
2743
|
};
|
|
2713
2744
|
type PipelineConversationsCountResponse = PipelineConversationsCountResponses[keyof PipelineConversationsCountResponses];
|
|
@@ -2740,11 +2771,13 @@ type PipelineConversationsRetrieveResponses = {
|
|
|
2740
2771
|
provider: 'gmail' | 'outlook' | 'zohomail';
|
|
2741
2772
|
thread_id: string;
|
|
2742
2773
|
subject: string;
|
|
2774
|
+
snippet: string | null;
|
|
2743
2775
|
recipient_emails: Array<string>;
|
|
2744
2776
|
from: {
|
|
2745
2777
|
name: string | null;
|
|
2746
2778
|
email: string;
|
|
2747
2779
|
};
|
|
2780
|
+
mailbox: string;
|
|
2748
2781
|
status: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
2749
2782
|
status_updated_at: number;
|
|
2750
2783
|
campaign: string | null;
|
|
@@ -2762,6 +2795,8 @@ type PipelineConversationsUpdateData = {
|
|
|
2762
2795
|
owner?: string;
|
|
2763
2796
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
2764
2797
|
is_read?: boolean;
|
|
2798
|
+
snippet?: string;
|
|
2799
|
+
last_activity_at?: number;
|
|
2765
2800
|
};
|
|
2766
2801
|
path: {
|
|
2767
2802
|
pipeline_conversation_id: string;
|
|
@@ -2789,11 +2824,13 @@ type PipelineConversationsUpdateResponses = {
|
|
|
2789
2824
|
provider: 'gmail' | 'outlook' | 'zohomail';
|
|
2790
2825
|
thread_id: string;
|
|
2791
2826
|
subject: string;
|
|
2827
|
+
snippet: string | null;
|
|
2792
2828
|
recipient_emails: Array<string>;
|
|
2793
2829
|
from: {
|
|
2794
2830
|
name: string | null;
|
|
2795
2831
|
email: string;
|
|
2796
2832
|
};
|
|
2833
|
+
mailbox: string;
|
|
2797
2834
|
status: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
2798
2835
|
status_updated_at: number;
|
|
2799
2836
|
campaign: string | null;
|
|
@@ -2855,6 +2892,7 @@ type PipelineConversationsListMessagesResponses = {
|
|
|
2855
2892
|
email: string;
|
|
2856
2893
|
}>;
|
|
2857
2894
|
subject: string | null;
|
|
2895
|
+
snippet: string;
|
|
2858
2896
|
body: string;
|
|
2859
2897
|
attachments: Array<{
|
|
2860
2898
|
content_id: string | null;
|
|
@@ -3758,6 +3796,8 @@ declare class PipelineConversations extends HeyApiClient {
|
|
|
3758
3796
|
campaign?: string;
|
|
3759
3797
|
provider?: 'gmail' | 'outlook' | 'zohomail';
|
|
3760
3798
|
thread_id?: string;
|
|
3799
|
+
last_activity_after?: number | null;
|
|
3800
|
+
last_activity_before?: number | null;
|
|
3761
3801
|
limit?: number;
|
|
3762
3802
|
starting_after?: string;
|
|
3763
3803
|
ending_before?: string;
|
|
@@ -3767,6 +3807,9 @@ declare class PipelineConversations extends HeyApiClient {
|
|
|
3767
3807
|
owner?: string;
|
|
3768
3808
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
3769
3809
|
campaign?: string;
|
|
3810
|
+
last_activity_after?: number | null;
|
|
3811
|
+
last_activity_before?: number | null;
|
|
3812
|
+
group_by?: 'status';
|
|
3770
3813
|
}, options?: Options<never, ThrowOnError>): RequestResult<PipelineConversationsCountResponses, PipelineConversationsCountErrors, ThrowOnError, "data">;
|
|
3771
3814
|
retrieve<ThrowOnError extends boolean = true>(pipeline_conversation_id: string, parameters?: {
|
|
3772
3815
|
owner?: string;
|
|
@@ -3777,6 +3820,8 @@ declare class PipelineConversations extends HeyApiClient {
|
|
|
3777
3820
|
owner?: string;
|
|
3778
3821
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
3779
3822
|
is_read?: boolean;
|
|
3823
|
+
snippet?: string;
|
|
3824
|
+
last_activity_at?: number;
|
|
3780
3825
|
}, options?: Options<never, ThrowOnError>): RequestResult<PipelineConversationsUpdateResponses, PipelineConversationsUpdateErrors, ThrowOnError, "data">;
|
|
3781
3826
|
listMessages<ThrowOnError extends boolean = true>(pipeline_conversation_id: string, parameters?: {
|
|
3782
3827
|
owner?: string;
|
package/dist/index.mjs
CHANGED
|
@@ -1593,6 +1593,8 @@ class PipelineConversations extends HeyApiClient {
|
|
|
1593
1593
|
{ in: 'query', key: 'campaign' },
|
|
1594
1594
|
{ in: 'query', key: 'provider' },
|
|
1595
1595
|
{ in: 'query', key: 'thread_id' },
|
|
1596
|
+
{ in: 'query', key: 'last_activity_after' },
|
|
1597
|
+
{ in: 'query', key: 'last_activity_before' },
|
|
1596
1598
|
{ in: 'query', key: 'limit' },
|
|
1597
1599
|
{ in: 'query', key: 'starting_after' },
|
|
1598
1600
|
{ in: 'query', key: 'ending_before' },
|
|
@@ -1609,7 +1611,10 @@ class PipelineConversations extends HeyApiClient {
|
|
|
1609
1611
|
const params = buildClientParams([parameters], [{ args: [
|
|
1610
1612
|
{ in: 'query', key: 'owner' },
|
|
1611
1613
|
{ in: 'query', key: 'status' },
|
|
1612
|
-
{ in: 'query', key: 'campaign' }
|
|
1614
|
+
{ in: 'query', key: 'campaign' },
|
|
1615
|
+
{ in: 'query', key: 'last_activity_after' },
|
|
1616
|
+
{ in: 'query', key: 'last_activity_before' },
|
|
1617
|
+
{ in: 'query', key: 'group_by' }
|
|
1613
1618
|
] }]);
|
|
1614
1619
|
return (options?.client ?? this.client).get({
|
|
1615
1620
|
responseStyle: 'data',
|
|
@@ -1632,7 +1637,9 @@ class PipelineConversations extends HeyApiClient {
|
|
|
1632
1637
|
{ in: 'query', key: 'include_metrics' },
|
|
1633
1638
|
{ in: 'body', key: 'owner' },
|
|
1634
1639
|
{ in: 'body', key: 'status' },
|
|
1635
|
-
{ in: 'body', key: 'is_read' }
|
|
1640
|
+
{ in: 'body', key: 'is_read' },
|
|
1641
|
+
{ in: 'body', key: 'snippet' },
|
|
1642
|
+
{ in: 'body', key: 'last_activity_at' }
|
|
1636
1643
|
] }]);
|
|
1637
1644
|
return (options?.client ?? this.client).patch({
|
|
1638
1645
|
responseStyle: 'data',
|