mailmeteor 0.0.49 → 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 +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +32 -2
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/generated-sdk/sdk.gen.d.ts +6 -0
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +26 -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;
|
|
@@ -934,9 +936,18 @@ type CountQuery = {
|
|
|
934
936
|
owner?: string;
|
|
935
937
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
936
938
|
campaign?: string;
|
|
939
|
+
last_activity_after?: number | null;
|
|
940
|
+
last_activity_before?: number | null;
|
|
941
|
+
group_by?: 'status';
|
|
937
942
|
};
|
|
938
943
|
type CountResponse200 = {
|
|
939
|
-
|
|
944
|
+
total: number;
|
|
945
|
+
data?: {
|
|
946
|
+
to_reply: number;
|
|
947
|
+
to_follow_up: number;
|
|
948
|
+
waiting: number;
|
|
949
|
+
archived: number;
|
|
950
|
+
};
|
|
940
951
|
};
|
|
941
952
|
type PipelineConversationIdQuery = {
|
|
942
953
|
include_metrics?: string;
|
|
@@ -1020,6 +1031,7 @@ type PipelineConversationIdBody = {
|
|
|
1020
1031
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
1021
1032
|
is_read?: boolean;
|
|
1022
1033
|
snippet?: string;
|
|
1034
|
+
last_activity_at?: number;
|
|
1023
1035
|
};
|
|
1024
1036
|
type PricesQuery = {
|
|
1025
1037
|
currency: string;
|
|
@@ -2646,6 +2658,8 @@ type PipelineConversationsListData = {
|
|
|
2646
2658
|
campaign?: string;
|
|
2647
2659
|
provider?: 'gmail' | 'outlook' | 'zohomail';
|
|
2648
2660
|
thread_id?: string;
|
|
2661
|
+
last_activity_after?: number | null;
|
|
2662
|
+
last_activity_before?: number | null;
|
|
2649
2663
|
limit?: number;
|
|
2650
2664
|
starting_after?: string;
|
|
2651
2665
|
ending_before?: string;
|
|
@@ -2700,6 +2714,9 @@ type PipelineConversationsCountData = {
|
|
|
2700
2714
|
owner?: string;
|
|
2701
2715
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
2702
2716
|
campaign?: string;
|
|
2717
|
+
last_activity_after?: number | null;
|
|
2718
|
+
last_activity_before?: number | null;
|
|
2719
|
+
group_by?: 'status';
|
|
2703
2720
|
};
|
|
2704
2721
|
url: '/pipeline_conversations/count';
|
|
2705
2722
|
};
|
|
@@ -2715,7 +2732,13 @@ type PipelineConversationsCountResponses = {
|
|
|
2715
2732
|
* Response
|
|
2716
2733
|
*/
|
|
2717
2734
|
200: {
|
|
2718
|
-
|
|
2735
|
+
total: number;
|
|
2736
|
+
data?: {
|
|
2737
|
+
to_reply: number;
|
|
2738
|
+
to_follow_up: number;
|
|
2739
|
+
waiting: number;
|
|
2740
|
+
archived: number;
|
|
2741
|
+
};
|
|
2719
2742
|
};
|
|
2720
2743
|
};
|
|
2721
2744
|
type PipelineConversationsCountResponse = PipelineConversationsCountResponses[keyof PipelineConversationsCountResponses];
|
|
@@ -2773,6 +2796,7 @@ type PipelineConversationsUpdateData = {
|
|
|
2773
2796
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
2774
2797
|
is_read?: boolean;
|
|
2775
2798
|
snippet?: string;
|
|
2799
|
+
last_activity_at?: number;
|
|
2776
2800
|
};
|
|
2777
2801
|
path: {
|
|
2778
2802
|
pipeline_conversation_id: string;
|
|
@@ -3772,6 +3796,8 @@ declare class PipelineConversations extends HeyApiClient {
|
|
|
3772
3796
|
campaign?: string;
|
|
3773
3797
|
provider?: 'gmail' | 'outlook' | 'zohomail';
|
|
3774
3798
|
thread_id?: string;
|
|
3799
|
+
last_activity_after?: number | null;
|
|
3800
|
+
last_activity_before?: number | null;
|
|
3775
3801
|
limit?: number;
|
|
3776
3802
|
starting_after?: string;
|
|
3777
3803
|
ending_before?: string;
|
|
@@ -3781,6 +3807,9 @@ declare class PipelineConversations extends HeyApiClient {
|
|
|
3781
3807
|
owner?: string;
|
|
3782
3808
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
3783
3809
|
campaign?: string;
|
|
3810
|
+
last_activity_after?: number | null;
|
|
3811
|
+
last_activity_before?: number | null;
|
|
3812
|
+
group_by?: 'status';
|
|
3784
3813
|
}, options?: Options<never, ThrowOnError>): RequestResult<PipelineConversationsCountResponses, PipelineConversationsCountErrors, ThrowOnError, "data">;
|
|
3785
3814
|
retrieve<ThrowOnError extends boolean = true>(pipeline_conversation_id: string, parameters?: {
|
|
3786
3815
|
owner?: string;
|
|
@@ -3792,6 +3821,7 @@ declare class PipelineConversations extends HeyApiClient {
|
|
|
3792
3821
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
3793
3822
|
is_read?: boolean;
|
|
3794
3823
|
snippet?: string;
|
|
3824
|
+
last_activity_at?: number;
|
|
3795
3825
|
}, options?: Options<never, ThrowOnError>): RequestResult<PipelineConversationsUpdateResponses, PipelineConversationsUpdateErrors, ThrowOnError, "data">;
|
|
3796
3826
|
listMessages<ThrowOnError extends boolean = true>(pipeline_conversation_id: string, parameters?: {
|
|
3797
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',
|
|
@@ -1633,7 +1638,8 @@ class PipelineConversations extends HeyApiClient {
|
|
|
1633
1638
|
{ in: 'body', key: 'owner' },
|
|
1634
1639
|
{ in: 'body', key: 'status' },
|
|
1635
1640
|
{ in: 'body', key: 'is_read' },
|
|
1636
|
-
{ in: 'body', key: 'snippet' }
|
|
1641
|
+
{ in: 'body', key: 'snippet' },
|
|
1642
|
+
{ in: 'body', key: 'last_activity_at' }
|
|
1637
1643
|
] }]);
|
|
1638
1644
|
return (options?.client ?? this.client).patch({
|
|
1639
1645
|
responseStyle: 'data',
|