Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trycourier/courier

Package Overview
Dependencies
Maintainers
3
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trycourier/courier - npm Package Compare versions

Comparing version 4.7.0 to 4.8.0

7

lib/accounts/types.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc