Comparing version 1.27.0 to 1.28.0
import * as campaigns from './campaigns'; | ||
import * as canvas from './canvas'; | ||
import * as email from './email'; | ||
import * as messages from './messages'; | ||
@@ -63,2 +64,7 @@ import * as sends from './sends'; | ||
}; | ||
email: { | ||
blacklist: (body: email.EmailBlacklistObject) => Promise<{ | ||
[x: string]: any; | ||
}>; | ||
}; | ||
messages: { | ||
@@ -65,0 +71,0 @@ schedule: { |
@@ -6,2 +6,3 @@ "use strict"; | ||
const canvas = require("./canvas"); | ||
const email = require("./email"); | ||
const messages = require("./messages"); | ||
@@ -39,2 +40,5 @@ const sends = require("./sends"); | ||
}; | ||
this.email = { | ||
blacklist: (body) => email.blacklist(this.apiUrl, this.apiKey, body), | ||
}; | ||
this.messages = { | ||
@@ -41,0 +45,0 @@ schedule: { |
@@ -7,2 +7,3 @@ export * from './Braze'; | ||
export * from './common/types'; | ||
export * from './email/types'; | ||
export * from './messages/schedule/types'; | ||
@@ -9,0 +10,0 @@ export * from './messages/types'; |
@@ -23,2 +23,3 @@ "use strict"; | ||
__exportStar(require("./common/types"), exports); | ||
__exportStar(require("./email/types"), exports); | ||
__exportStar(require("./messages/schedule/types"), exports); | ||
@@ -25,0 +26,0 @@ __exportStar(require("./messages/types"), exports); |
{ | ||
"name": "braze-api", | ||
"version": "1.27.0", | ||
"version": "1.28.0", | ||
"description": "Track users, send messages, export data, and more with Braze API.", | ||
@@ -5,0 +5,0 @@ "author": "Mark <mark@remarkablemark.org>", |
@@ -137,3 +137,3 @@ # braze-api | ||
- [ ] /email/blacklist | ||
- [x] /email/blacklist | ||
- [ ] /email/bounce/remove | ||
@@ -140,0 +140,0 @@ - [ ] /email/spam/remove |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
176128
307
2866