@knocklabs/node 0.6.14 → 0.6.16
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/package.json
CHANGED
|
@@ -4,6 +4,7 @@ exports.Grants = void 0;
|
|
|
4
4
|
var Grants;
|
|
5
5
|
(function (Grants) {
|
|
6
6
|
Grants["SlackChannelsRead"] = "slack/channels_read";
|
|
7
|
+
Grants["MsTeamsChannelsRead"] = "ms_teams/channels_read";
|
|
7
8
|
Grants["ChannelDataRead"] = "channel_data/read";
|
|
8
9
|
Grants["ChannelDataWrite"] = "channel_data/write";
|
|
9
10
|
Grants["UserFeedRead"] = "user/feed_read";
|
|
@@ -33,9 +33,15 @@ export interface ListMessagesOptions extends PaginationOptions {
|
|
|
33
33
|
source?: string;
|
|
34
34
|
tenant?: string;
|
|
35
35
|
status?: MessageStatus[];
|
|
36
|
+
engagement_status?: MessageEngagementStatusFilter[];
|
|
36
37
|
channel_id?: string;
|
|
38
|
+
message_ids?: string[];
|
|
37
39
|
trigger_data?: Record<string, any>;
|
|
38
40
|
workflow_categories?: String[];
|
|
41
|
+
"inserted_at.gt"?: string;
|
|
42
|
+
"inserted_at.gte"?: string;
|
|
43
|
+
"inserted_at.lt"?: string;
|
|
44
|
+
"inserted_at.lte"?: string;
|
|
39
45
|
}
|
|
40
46
|
export interface ListMessageActivitiesOptions extends PaginationOptions {
|
|
41
47
|
trigger_data?: Record<string, any>;
|
|
@@ -44,6 +50,7 @@ type WorkflowSource = {
|
|
|
44
50
|
version_id: string;
|
|
45
51
|
key: string;
|
|
46
52
|
};
|
|
47
|
-
type MessageStatus = "queued" | "sent" | "delivered" | "undelivered" | "not_sent";
|
|
53
|
+
type MessageStatus = "queued" | "sent" | "delivered" | "undelivered" | "not_sent" | "delivery_attempted" | "bounced";
|
|
48
54
|
export type MessageEngagementStatus = "seen" | "read" | "archived" | "interacted" | "link_clicked";
|
|
55
|
+
type MessageEngagementStatusFilter = MessageEngagementStatus | "unseen" | "unread" | "unarchived";
|
|
49
56
|
export {};
|