mailmeteor 0.0.49 → 0.0.51
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 +14 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +135 -2
- package/dist/index.mjs +14 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/generated-sdk/sdk.gen.d.ts +16 -0
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +119 -2
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -382,6 +382,7 @@ type UserIdResponse200 = {
|
|
|
382
382
|
};
|
|
383
383
|
sendgrid?: {
|
|
384
384
|
api_key: string;
|
|
385
|
+
service?: string;
|
|
385
386
|
};
|
|
386
387
|
[key: string]: {
|
|
387
388
|
access_token?: string;
|
|
@@ -395,6 +396,17 @@ type UserIdResponse200 = {
|
|
|
395
396
|
service?: string;
|
|
396
397
|
} | {
|
|
397
398
|
api_key: string;
|
|
399
|
+
service?: string;
|
|
400
|
+
} | {
|
|
401
|
+
host: string;
|
|
402
|
+
port: number;
|
|
403
|
+
security: 'auto' | 'none' | 'ssl' | 'tls';
|
|
404
|
+
username: string;
|
|
405
|
+
password: string;
|
|
406
|
+
email: string;
|
|
407
|
+
service: 'smtp';
|
|
408
|
+
creation_date?: number;
|
|
409
|
+
update_date?: number;
|
|
398
410
|
} | {
|
|
399
411
|
access_token?: string;
|
|
400
412
|
refresh_token?: string;
|
|
@@ -427,6 +439,7 @@ type UserIdResponse200 = {
|
|
|
427
439
|
service?: string;
|
|
428
440
|
} | {
|
|
429
441
|
api_key: string;
|
|
442
|
+
service?: string;
|
|
430
443
|
} | undefined;
|
|
431
444
|
};
|
|
432
445
|
billing?: {
|
|
@@ -664,6 +677,9 @@ type ContactsResponse201 = {
|
|
|
664
677
|
blocked_at?: number;
|
|
665
678
|
unsubscribed?: boolean;
|
|
666
679
|
unsubscribed_at?: number;
|
|
680
|
+
consent?: {
|
|
681
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
682
|
+
};
|
|
667
683
|
contact_lists?: Array<string>;
|
|
668
684
|
properties?: {
|
|
669
685
|
[key: string]: string;
|
|
@@ -718,6 +734,9 @@ type ContactIdResponse200 = {
|
|
|
718
734
|
blocked_at?: number;
|
|
719
735
|
unsubscribed?: boolean;
|
|
720
736
|
unsubscribed_at?: number;
|
|
737
|
+
consent?: {
|
|
738
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
739
|
+
};
|
|
721
740
|
contact_lists?: Array<string>;
|
|
722
741
|
properties?: {
|
|
723
742
|
[key: string]: string;
|
|
@@ -732,6 +751,9 @@ type ContactIdResponse200 = {
|
|
|
732
751
|
type ContactIdBody = {
|
|
733
752
|
blocked?: boolean;
|
|
734
753
|
unsubscribed?: boolean;
|
|
754
|
+
consent?: {
|
|
755
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
756
|
+
};
|
|
735
757
|
contact_lists?: Array<string>;
|
|
736
758
|
properties?: {
|
|
737
759
|
[key: string]: string;
|
|
@@ -756,6 +778,9 @@ type BlockResponse200 = {
|
|
|
756
778
|
blocked_at?: number;
|
|
757
779
|
unsubscribed?: boolean;
|
|
758
780
|
unsubscribed_at?: number;
|
|
781
|
+
consent?: {
|
|
782
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
783
|
+
};
|
|
759
784
|
contact_lists?: Array<string>;
|
|
760
785
|
properties?: {
|
|
761
786
|
[key: string]: string;
|
|
@@ -782,6 +807,9 @@ type UnblockResponse200 = {
|
|
|
782
807
|
blocked_at?: number;
|
|
783
808
|
unsubscribed?: boolean;
|
|
784
809
|
unsubscribed_at?: number;
|
|
810
|
+
consent?: {
|
|
811
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
812
|
+
};
|
|
785
813
|
contact_lists?: Array<string>;
|
|
786
814
|
properties?: {
|
|
787
815
|
[key: string]: string;
|
|
@@ -808,6 +836,9 @@ type ResubscribeResponse200 = {
|
|
|
808
836
|
blocked_at?: number;
|
|
809
837
|
unsubscribed?: boolean;
|
|
810
838
|
unsubscribed_at?: number;
|
|
839
|
+
consent?: {
|
|
840
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
841
|
+
};
|
|
811
842
|
contact_lists?: Array<string>;
|
|
812
843
|
properties?: {
|
|
813
844
|
[key: string]: string;
|
|
@@ -840,6 +871,9 @@ type ContactsResponse200 = {
|
|
|
840
871
|
blocked_at?: number;
|
|
841
872
|
unsubscribed?: boolean;
|
|
842
873
|
unsubscribed_at?: number;
|
|
874
|
+
consent?: {
|
|
875
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
876
|
+
};
|
|
843
877
|
contact_lists?: Array<string>;
|
|
844
878
|
properties?: {
|
|
845
879
|
[key: string]: string;
|
|
@@ -898,6 +932,11 @@ type PipelineConversationsQuery = {
|
|
|
898
932
|
campaign?: string;
|
|
899
933
|
provider?: 'gmail' | 'outlook' | 'zohomail';
|
|
900
934
|
thread_id?: string;
|
|
935
|
+
last_activity_after?: number | null;
|
|
936
|
+
last_activity_before?: number | null;
|
|
937
|
+
followups?: {
|
|
938
|
+
exists: boolean;
|
|
939
|
+
};
|
|
901
940
|
limit?: number;
|
|
902
941
|
starting_after?: string;
|
|
903
942
|
ending_before?: string;
|
|
@@ -923,6 +962,7 @@ type PipelineConversationsResponse200 = {
|
|
|
923
962
|
status_updated_at: number;
|
|
924
963
|
campaign: string | null;
|
|
925
964
|
original_email: string | null;
|
|
965
|
+
followups: Array<string>;
|
|
926
966
|
opens_count: number;
|
|
927
967
|
clicks_count: number;
|
|
928
968
|
unsubscribed: boolean;
|
|
@@ -934,9 +974,22 @@ type CountQuery = {
|
|
|
934
974
|
owner?: string;
|
|
935
975
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
936
976
|
campaign?: string;
|
|
977
|
+
last_activity_after?: number | null;
|
|
978
|
+
last_activity_before?: number | null;
|
|
979
|
+
followups?: {
|
|
980
|
+
exists: boolean;
|
|
981
|
+
};
|
|
982
|
+
is_read?: boolean;
|
|
983
|
+
group_by?: 'status';
|
|
937
984
|
};
|
|
938
985
|
type CountResponse200 = {
|
|
939
|
-
|
|
986
|
+
total: number;
|
|
987
|
+
data?: {
|
|
988
|
+
to_reply: number;
|
|
989
|
+
to_follow_up: number;
|
|
990
|
+
waiting: number;
|
|
991
|
+
archived: number;
|
|
992
|
+
};
|
|
940
993
|
};
|
|
941
994
|
type PipelineConversationIdQuery = {
|
|
942
995
|
include_metrics?: string;
|
|
@@ -962,6 +1015,7 @@ type PipelineConversationIdResponse200 = {
|
|
|
962
1015
|
status_updated_at: number;
|
|
963
1016
|
campaign: string | null;
|
|
964
1017
|
original_email: string | null;
|
|
1018
|
+
followups: Array<string>;
|
|
965
1019
|
opens_count: number;
|
|
966
1020
|
clicks_count: number;
|
|
967
1021
|
unsubscribed: boolean;
|
|
@@ -1020,6 +1074,7 @@ type PipelineConversationIdBody = {
|
|
|
1020
1074
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
1021
1075
|
is_read?: boolean;
|
|
1022
1076
|
snippet?: string;
|
|
1077
|
+
last_activity_at?: number;
|
|
1023
1078
|
};
|
|
1024
1079
|
type PricesQuery = {
|
|
1025
1080
|
currency: string;
|
|
@@ -1293,6 +1348,7 @@ type UsersRetrieveResponses = {
|
|
|
1293
1348
|
};
|
|
1294
1349
|
sendgrid?: {
|
|
1295
1350
|
api_key: string;
|
|
1351
|
+
service?: string;
|
|
1296
1352
|
};
|
|
1297
1353
|
[key: string]: {
|
|
1298
1354
|
access_token?: string;
|
|
@@ -1306,6 +1362,17 @@ type UsersRetrieveResponses = {
|
|
|
1306
1362
|
service?: string;
|
|
1307
1363
|
} | {
|
|
1308
1364
|
api_key: string;
|
|
1365
|
+
service?: string;
|
|
1366
|
+
} | {
|
|
1367
|
+
host: string;
|
|
1368
|
+
port: number;
|
|
1369
|
+
security: 'auto' | 'none' | 'ssl' | 'tls';
|
|
1370
|
+
username: string;
|
|
1371
|
+
password: string;
|
|
1372
|
+
email: string;
|
|
1373
|
+
service: 'smtp';
|
|
1374
|
+
creation_date?: number;
|
|
1375
|
+
update_date?: number;
|
|
1309
1376
|
} | {
|
|
1310
1377
|
access_token?: string;
|
|
1311
1378
|
refresh_token?: string;
|
|
@@ -1338,6 +1405,7 @@ type UsersRetrieveResponses = {
|
|
|
1338
1405
|
service?: string;
|
|
1339
1406
|
} | {
|
|
1340
1407
|
api_key: string;
|
|
1408
|
+
service?: string;
|
|
1341
1409
|
} | undefined;
|
|
1342
1410
|
};
|
|
1343
1411
|
billing?: {
|
|
@@ -2096,6 +2164,9 @@ type ContactsListResponses = {
|
|
|
2096
2164
|
blocked_at?: number;
|
|
2097
2165
|
unsubscribed?: boolean;
|
|
2098
2166
|
unsubscribed_at?: number;
|
|
2167
|
+
consent?: {
|
|
2168
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
2169
|
+
};
|
|
2099
2170
|
contact_lists?: Array<string>;
|
|
2100
2171
|
properties?: {
|
|
2101
2172
|
[key: string]: string;
|
|
@@ -2152,6 +2223,9 @@ type ContactsCreateResponses = {
|
|
|
2152
2223
|
blocked_at?: number;
|
|
2153
2224
|
unsubscribed?: boolean;
|
|
2154
2225
|
unsubscribed_at?: number;
|
|
2226
|
+
consent?: {
|
|
2227
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
2228
|
+
};
|
|
2155
2229
|
contact_lists?: Array<string>;
|
|
2156
2230
|
properties?: {
|
|
2157
2231
|
[key: string]: string;
|
|
@@ -2262,6 +2336,9 @@ type ContactsDelResponses = {
|
|
|
2262
2336
|
blocked_at?: number;
|
|
2263
2337
|
unsubscribed?: boolean;
|
|
2264
2338
|
unsubscribed_at?: number;
|
|
2339
|
+
consent?: {
|
|
2340
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
2341
|
+
};
|
|
2265
2342
|
contact_lists?: Array<string>;
|
|
2266
2343
|
properties?: {
|
|
2267
2344
|
[key: string]: string;
|
|
@@ -2306,6 +2383,9 @@ type ContactsRetrieveResponses = {
|
|
|
2306
2383
|
blocked_at?: number;
|
|
2307
2384
|
unsubscribed?: boolean;
|
|
2308
2385
|
unsubscribed_at?: number;
|
|
2386
|
+
consent?: {
|
|
2387
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
2388
|
+
};
|
|
2309
2389
|
contact_lists?: Array<string>;
|
|
2310
2390
|
properties?: {
|
|
2311
2391
|
[key: string]: string;
|
|
@@ -2323,6 +2403,9 @@ type ContactsUpdateData = {
|
|
|
2323
2403
|
body: {
|
|
2324
2404
|
blocked?: boolean;
|
|
2325
2405
|
unsubscribed?: boolean;
|
|
2406
|
+
consent?: {
|
|
2407
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
2408
|
+
};
|
|
2326
2409
|
contact_lists?: Array<string>;
|
|
2327
2410
|
properties?: {
|
|
2328
2411
|
[key: string]: string;
|
|
@@ -2361,6 +2444,9 @@ type ContactsUpdateResponses = {
|
|
|
2361
2444
|
blocked_at?: number;
|
|
2362
2445
|
unsubscribed?: boolean;
|
|
2363
2446
|
unsubscribed_at?: number;
|
|
2447
|
+
consent?: {
|
|
2448
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
2449
|
+
};
|
|
2364
2450
|
contact_lists?: Array<string>;
|
|
2365
2451
|
properties?: {
|
|
2366
2452
|
[key: string]: string;
|
|
@@ -2405,6 +2491,9 @@ type ContactsBlockResponses = {
|
|
|
2405
2491
|
blocked_at?: number;
|
|
2406
2492
|
unsubscribed?: boolean;
|
|
2407
2493
|
unsubscribed_at?: number;
|
|
2494
|
+
consent?: {
|
|
2495
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
2496
|
+
};
|
|
2408
2497
|
contact_lists?: Array<string>;
|
|
2409
2498
|
properties?: {
|
|
2410
2499
|
[key: string]: string;
|
|
@@ -2449,6 +2538,9 @@ type ContactsUnblockResponses = {
|
|
|
2449
2538
|
blocked_at?: number;
|
|
2450
2539
|
unsubscribed?: boolean;
|
|
2451
2540
|
unsubscribed_at?: number;
|
|
2541
|
+
consent?: {
|
|
2542
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
2543
|
+
};
|
|
2452
2544
|
contact_lists?: Array<string>;
|
|
2453
2545
|
properties?: {
|
|
2454
2546
|
[key: string]: string;
|
|
@@ -2493,6 +2585,9 @@ type ContactsResubscribeResponses = {
|
|
|
2493
2585
|
blocked_at?: number;
|
|
2494
2586
|
unsubscribed?: boolean;
|
|
2495
2587
|
unsubscribed_at?: number;
|
|
2588
|
+
consent?: {
|
|
2589
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
2590
|
+
};
|
|
2496
2591
|
contact_lists?: Array<string>;
|
|
2497
2592
|
properties?: {
|
|
2498
2593
|
[key: string]: string;
|
|
@@ -2646,6 +2741,11 @@ type PipelineConversationsListData = {
|
|
|
2646
2741
|
campaign?: string;
|
|
2647
2742
|
provider?: 'gmail' | 'outlook' | 'zohomail';
|
|
2648
2743
|
thread_id?: string;
|
|
2744
|
+
last_activity_after?: number | null;
|
|
2745
|
+
last_activity_before?: number | null;
|
|
2746
|
+
followups?: {
|
|
2747
|
+
exists: boolean;
|
|
2748
|
+
};
|
|
2649
2749
|
limit?: number;
|
|
2650
2750
|
starting_after?: string;
|
|
2651
2751
|
ending_before?: string;
|
|
@@ -2684,6 +2784,7 @@ type PipelineConversationsListResponses = {
|
|
|
2684
2784
|
status_updated_at: number;
|
|
2685
2785
|
campaign: string | null;
|
|
2686
2786
|
original_email: string | null;
|
|
2787
|
+
followups: Array<string>;
|
|
2687
2788
|
opens_count: number;
|
|
2688
2789
|
clicks_count: number;
|
|
2689
2790
|
unsubscribed: boolean;
|
|
@@ -2700,6 +2801,13 @@ type PipelineConversationsCountData = {
|
|
|
2700
2801
|
owner?: string;
|
|
2701
2802
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
2702
2803
|
campaign?: string;
|
|
2804
|
+
last_activity_after?: number | null;
|
|
2805
|
+
last_activity_before?: number | null;
|
|
2806
|
+
followups?: {
|
|
2807
|
+
exists: boolean;
|
|
2808
|
+
};
|
|
2809
|
+
is_read?: boolean;
|
|
2810
|
+
group_by?: 'status';
|
|
2703
2811
|
};
|
|
2704
2812
|
url: '/pipeline_conversations/count';
|
|
2705
2813
|
};
|
|
@@ -2715,7 +2823,13 @@ type PipelineConversationsCountResponses = {
|
|
|
2715
2823
|
* Response
|
|
2716
2824
|
*/
|
|
2717
2825
|
200: {
|
|
2718
|
-
|
|
2826
|
+
total: number;
|
|
2827
|
+
data?: {
|
|
2828
|
+
to_reply: number;
|
|
2829
|
+
to_follow_up: number;
|
|
2830
|
+
waiting: number;
|
|
2831
|
+
archived: number;
|
|
2832
|
+
};
|
|
2719
2833
|
};
|
|
2720
2834
|
};
|
|
2721
2835
|
type PipelineConversationsCountResponse = PipelineConversationsCountResponses[keyof PipelineConversationsCountResponses];
|
|
@@ -2759,6 +2873,7 @@ type PipelineConversationsRetrieveResponses = {
|
|
|
2759
2873
|
status_updated_at: number;
|
|
2760
2874
|
campaign: string | null;
|
|
2761
2875
|
original_email: string | null;
|
|
2876
|
+
followups: Array<string>;
|
|
2762
2877
|
opens_count: number;
|
|
2763
2878
|
clicks_count: number;
|
|
2764
2879
|
unsubscribed: boolean;
|
|
@@ -2773,6 +2888,7 @@ type PipelineConversationsUpdateData = {
|
|
|
2773
2888
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
2774
2889
|
is_read?: boolean;
|
|
2775
2890
|
snippet?: string;
|
|
2891
|
+
last_activity_at?: number;
|
|
2776
2892
|
};
|
|
2777
2893
|
path: {
|
|
2778
2894
|
pipeline_conversation_id: string;
|
|
@@ -2811,6 +2927,7 @@ type PipelineConversationsUpdateResponses = {
|
|
|
2811
2927
|
status_updated_at: number;
|
|
2812
2928
|
campaign: string | null;
|
|
2813
2929
|
original_email: string | null;
|
|
2930
|
+
followups: Array<string>;
|
|
2814
2931
|
opens_count: number;
|
|
2815
2932
|
clicks_count: number;
|
|
2816
2933
|
unsubscribed: boolean;
|
|
@@ -3742,6 +3859,9 @@ declare class Contacts extends HeyApiClient {
|
|
|
3742
3859
|
update<ThrowOnError extends boolean = true>(contact_id: string, parameters?: {
|
|
3743
3860
|
blocked?: boolean;
|
|
3744
3861
|
unsubscribed?: boolean;
|
|
3862
|
+
consent?: {
|
|
3863
|
+
tracking?: 'none' | 'opt-in' | 'opt-out';
|
|
3864
|
+
};
|
|
3745
3865
|
contact_lists?: Array<string>;
|
|
3746
3866
|
properties?: {
|
|
3747
3867
|
[key: string]: string;
|
|
@@ -3772,6 +3892,11 @@ declare class PipelineConversations extends HeyApiClient {
|
|
|
3772
3892
|
campaign?: string;
|
|
3773
3893
|
provider?: 'gmail' | 'outlook' | 'zohomail';
|
|
3774
3894
|
thread_id?: string;
|
|
3895
|
+
last_activity_after?: number | null;
|
|
3896
|
+
last_activity_before?: number | null;
|
|
3897
|
+
followups?: {
|
|
3898
|
+
exists: boolean;
|
|
3899
|
+
};
|
|
3775
3900
|
limit?: number;
|
|
3776
3901
|
starting_after?: string;
|
|
3777
3902
|
ending_before?: string;
|
|
@@ -3781,6 +3906,13 @@ declare class PipelineConversations extends HeyApiClient {
|
|
|
3781
3906
|
owner?: string;
|
|
3782
3907
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
3783
3908
|
campaign?: string;
|
|
3909
|
+
last_activity_after?: number | null;
|
|
3910
|
+
last_activity_before?: number | null;
|
|
3911
|
+
followups?: {
|
|
3912
|
+
exists: boolean;
|
|
3913
|
+
};
|
|
3914
|
+
is_read?: boolean;
|
|
3915
|
+
group_by?: 'status';
|
|
3784
3916
|
}, options?: Options<never, ThrowOnError>): RequestResult<PipelineConversationsCountResponses, PipelineConversationsCountErrors, ThrowOnError, "data">;
|
|
3785
3917
|
retrieve<ThrowOnError extends boolean = true>(pipeline_conversation_id: string, parameters?: {
|
|
3786
3918
|
owner?: string;
|
|
@@ -3792,6 +3924,7 @@ declare class PipelineConversations extends HeyApiClient {
|
|
|
3792
3924
|
status?: 'to_reply' | 'to_follow_up' | 'waiting' | 'archived';
|
|
3793
3925
|
is_read?: boolean;
|
|
3794
3926
|
snippet?: string;
|
|
3927
|
+
last_activity_at?: number;
|
|
3795
3928
|
}, options?: Options<never, ThrowOnError>): RequestResult<PipelineConversationsUpdateResponses, PipelineConversationsUpdateErrors, ThrowOnError, "data">;
|
|
3796
3929
|
listMessages<ThrowOnError extends boolean = true>(pipeline_conversation_id: string, parameters?: {
|
|
3797
3930
|
owner?: string;
|
package/dist/index.mjs
CHANGED
|
@@ -1474,6 +1474,7 @@ class Contacts extends HeyApiClient {
|
|
|
1474
1474
|
const params = buildClientParams([contact_id, parameters], [{ in: 'path', key: 'contact_id' }, { args: [
|
|
1475
1475
|
{ in: 'body', key: 'blocked' },
|
|
1476
1476
|
{ in: 'body', key: 'unsubscribed' },
|
|
1477
|
+
{ in: 'body', key: 'consent' },
|
|
1477
1478
|
{ in: 'body', key: 'contact_lists' },
|
|
1478
1479
|
{ in: 'body', key: 'properties' },
|
|
1479
1480
|
{ in: 'body', key: 'notes' },
|
|
@@ -1593,12 +1594,16 @@ class PipelineConversations extends HeyApiClient {
|
|
|
1593
1594
|
{ in: 'query', key: 'campaign' },
|
|
1594
1595
|
{ in: 'query', key: 'provider' },
|
|
1595
1596
|
{ in: 'query', key: 'thread_id' },
|
|
1597
|
+
{ in: 'query', key: 'last_activity_after' },
|
|
1598
|
+
{ in: 'query', key: 'last_activity_before' },
|
|
1599
|
+
{ in: 'query', key: 'followups' },
|
|
1596
1600
|
{ in: 'query', key: 'limit' },
|
|
1597
1601
|
{ in: 'query', key: 'starting_after' },
|
|
1598
1602
|
{ in: 'query', key: 'ending_before' },
|
|
1599
1603
|
{ in: 'query', key: 'include_metrics' }
|
|
1600
1604
|
] }]);
|
|
1601
1605
|
return (options?.client ?? this.client).get({
|
|
1606
|
+
querySerializer: { parameters: { followups: { object: { style: 'form' } } } },
|
|
1602
1607
|
responseStyle: 'data',
|
|
1603
1608
|
url: '/pipeline_conversations',
|
|
1604
1609
|
...options,
|
|
@@ -1609,9 +1614,15 @@ class PipelineConversations extends HeyApiClient {
|
|
|
1609
1614
|
const params = buildClientParams([parameters], [{ args: [
|
|
1610
1615
|
{ in: 'query', key: 'owner' },
|
|
1611
1616
|
{ in: 'query', key: 'status' },
|
|
1612
|
-
{ in: 'query', key: 'campaign' }
|
|
1617
|
+
{ in: 'query', key: 'campaign' },
|
|
1618
|
+
{ in: 'query', key: 'last_activity_after' },
|
|
1619
|
+
{ in: 'query', key: 'last_activity_before' },
|
|
1620
|
+
{ in: 'query', key: 'followups' },
|
|
1621
|
+
{ in: 'query', key: 'is_read' },
|
|
1622
|
+
{ in: 'query', key: 'group_by' }
|
|
1613
1623
|
] }]);
|
|
1614
1624
|
return (options?.client ?? this.client).get({
|
|
1625
|
+
querySerializer: { parameters: { followups: { object: { style: 'form' } } } },
|
|
1615
1626
|
responseStyle: 'data',
|
|
1616
1627
|
url: '/pipeline_conversations/count',
|
|
1617
1628
|
...options,
|
|
@@ -1633,7 +1644,8 @@ class PipelineConversations extends HeyApiClient {
|
|
|
1633
1644
|
{ in: 'body', key: 'owner' },
|
|
1634
1645
|
{ in: 'body', key: 'status' },
|
|
1635
1646
|
{ in: 'body', key: 'is_read' },
|
|
1636
|
-
{ in: 'body', key: 'snippet' }
|
|
1647
|
+
{ in: 'body', key: 'snippet' },
|
|
1648
|
+
{ in: 'body', key: 'last_activity_at' }
|
|
1637
1649
|
] }]);
|
|
1638
1650
|
return (options?.client ?? this.client).patch({
|
|
1639
1651
|
responseStyle: 'data',
|