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

braze-api

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

braze-api - npm Package Compare versions

Comparing version 1.7.0 to 1.8.0

lib/sends/id/create.d.ts

14

lib/Braze.d.ts
import * as campaigns from './campaigns';
import * as canvas from './canvas';
import * as messages from './messages';
import * as sends from './sends';
import * as transactional from './transactional';

@@ -42,2 +43,10 @@ import * as users from './users';

};
sends: {
id: {
create: (body: sends.id.SendsIdCreateObject) => Promise<{
message: string;
send_id: string;
}>;
};
};
transactional: {

@@ -48,6 +57,3 @@ v1: {

dispatch_id: string;
status: "aborted" | "sent" | "processed" | "delivered" | "bounced"; /**
* @param apiUrl - Braze REST endpoint.
* @param apiKey - Braze API key.
*/
status: "aborted" | "sent" | "processed" | "delivered" | "bounced";
metadata: {

@@ -54,0 +60,0 @@ external_send_id: string;

@@ -7,2 +7,3 @@ "use strict";

const messages = require("./messages");
const sends = require("./sends");
const transactional = require("./transactional");

@@ -29,2 +30,7 @@ const users = require("./users");

};
this.sends = {
id: {
create: (body) => sends.id.create(this.apiUrl, this.apiKey, body),
},
};
this.transactional = {

@@ -31,0 +37,0 @@ v1: {

@@ -6,2 +6,3 @@ export * from './Braze';

export * from './messages/types';
export * from './sends/id/types';
export * from './transactional/v1/campaigns/types';

@@ -8,0 +9,0 @@ export * from './users/alias/types';

@@ -22,2 +22,3 @@ "use strict";

__exportStar(require("./messages/types"), exports);
__exportStar(require("./sends/id/types"), exports);
__exportStar(require("./transactional/v1/campaigns/types"), exports);

@@ -24,0 +25,0 @@ __exportStar(require("./users/alias/types"), exports);

{
"name": "braze-api",
"version": "1.7.0",
"version": "1.8.0",
"description": "Track users, send messages, export data, and more with Braze API.",

@@ -5,0 +5,0 @@ "author": "Mark <mark@remarkablemark.org>",

@@ -112,3 +112,3 @@ # braze-api

- [x] /messages/send
- [ ] /sends/id/create
- [x] /sends/id/create
- [x] /transactional/v1/campaigns/{{CAMPAIGN_ID}}/send

@@ -115,0 +115,0 @@

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

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