File tree 2 files changed +16
-2
lines changed
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @knocklabs/node" ,
3
- "version" : " 0.6.14 " ,
3
+ "version" : " 0.6.15 " ,
4
4
"description" : " Library for interacting with the Knock API" ,
5
5
"homepage" : " https://github.com/knocklabs/knock-node" ,
6
6
"author" : " @knocklabs" ,
Original file line number Diff line number Diff line change @@ -41,9 +41,15 @@ export interface ListMessagesOptions extends PaginationOptions {
41
41
source ?: string ;
42
42
tenant ?: string ;
43
43
status ?: MessageStatus [ ] ;
44
+ engagement_status ?: MessageEngagementStatusFilter [ ] ;
44
45
channel_id ?: string ;
46
+ message_ids ?: string [ ] ;
45
47
trigger_data ?: Record < string , any > ;
46
48
workflow_categories ?: String [ ] ;
49
+ "inserted_at.gt" ?: string ;
50
+ "inserted_at.gte" ?: string ;
51
+ "inserted_at.lt" ?: string ;
52
+ "inserted_at.lte" ?: string ;
47
53
}
48
54
49
55
export interface ListMessageActivitiesOptions extends PaginationOptions {
@@ -60,11 +66,19 @@ type MessageStatus =
60
66
| "sent"
61
67
| "delivered"
62
68
| "undelivered"
63
- | "not_sent" ;
69
+ | "not_sent"
70
+ | "delivery_attempted"
71
+ | "bounced" ;
64
72
65
73
export type MessageEngagementStatus =
66
74
| "seen"
67
75
| "read"
68
76
| "archived"
69
77
| "interacted"
70
78
| "link_clicked" ;
79
+
80
+ type MessageEngagementStatusFilter =
81
+ | MessageEngagementStatus
82
+ | "unseen"
83
+ | "unread"
84
+ | "unarchived" ;
You can’t perform that action at this time.
0 commit comments