@trycourier/courier
Advanced tools
Comparing version 4.7.0 to 4.8.0
@@ -6,6 +6,7 @@ export interface IAccount { | ||
parent_account_id?: string; | ||
preferences?: { | ||
topics: Array<{ | ||
defaultStatus: "OPTED_IN" | "OPTED_OUT" | "REQUIRED"; | ||
default_preferences?: { | ||
items: Array<{ | ||
id: string; | ||
status: "OPTED_IN" | "OPTED_OUT" | "REQUIRED"; | ||
type: "subscription_topic"; | ||
}>; | ||
@@ -12,0 +13,0 @@ }; |
@@ -203,5 +203,11 @@ export interface IBrandSnippet { | ||
}; | ||
export interface ListFilter { | ||
operator: "MEMBER_OF"; | ||
path: "account_id"; | ||
value: string; | ||
} | ||
export interface ListRecipient extends ListRecipientType { | ||
list_id?: string; | ||
data?: MessageData; | ||
filters?: ListFilter[]; | ||
} | ||
@@ -226,5 +232,11 @@ interface InvalidListPatternRecipient { | ||
}; | ||
export interface AudienceFilter { | ||
operator: "MEMBER_OF"; | ||
path: "account_id"; | ||
value: string; | ||
} | ||
export interface AudienceRecipient { | ||
audience_id: string; | ||
data?: MessageData; | ||
filters?: AudienceFilter[]; | ||
} | ||
@@ -231,0 +243,0 @@ export interface UserRecipient extends UserRecipientType { |
{ | ||
"name": "@trycourier/courier", | ||
"version": "4.7.0", | ||
"version": "4.8.0", | ||
"description": "A node.js module for communicating with the Courier REST API.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
162743
3248