Comparing version 2.2.2 to 2.3.0
@@ -111,2 +111,8 @@ import * as campaigns from './campaigns'; | ||
}; | ||
email_templates: { | ||
get: (body: templates.email_templates.EmailTemplateBody) => Promise<templates.email_templates.EmailTemplateResponse>; | ||
list: (body: templates.email_templates.EmailTemplateListBody) => Promise<templates.email_templates.EmailTemplateListResponse>; | ||
create: (body: templates.email_templates.CreateEmailTemplateBody) => Promise<templates.email_templates.PostEmailTemplateResponse>; | ||
update: (body: templates.email_templates.UpdateEmailTemplateBody) => Promise<templates.email_templates.PostEmailTemplateResponse>; | ||
}; | ||
}; | ||
@@ -113,0 +119,0 @@ transactional: { |
@@ -85,2 +85,8 @@ "use strict"; | ||
}, | ||
email_templates: { | ||
get: (body) => templates.email_templates.getEmailTemplate(this.apiUrl, this.apiKey, body), | ||
list: (body) => templates.email_templates.getEmailTemplateList(this.apiUrl, this.apiKey, body), | ||
create: (body) => templates.email_templates.createEmailTemplate(this.apiUrl, this.apiKey, body), | ||
update: (body) => templates.email_templates.updateEmailTemplate(this.apiUrl, this.apiKey, body), | ||
}, | ||
}; | ||
@@ -87,0 +93,0 @@ this.transactional = { |
export * as content_blocks from './content-blocks'; | ||
export * as email_templates from './email-templates'; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.content_blocks = void 0; | ||
exports.email_templates = exports.content_blocks = void 0; | ||
exports.content_blocks = require("./content-blocks"); | ||
exports.email_templates = require("./email-templates"); | ||
//# sourceMappingURL=index.js.map |
@@ -111,2 +111,8 @@ import * as campaigns from './campaigns'; | ||
}; | ||
email_templates: { | ||
get: (body: templates.email_templates.EmailTemplateBody) => Promise<templates.email_templates.EmailTemplateResponse>; | ||
list: (body: templates.email_templates.EmailTemplateListBody) => Promise<templates.email_templates.EmailTemplateListResponse>; | ||
create: (body: templates.email_templates.CreateEmailTemplateBody) => Promise<templates.email_templates.PostEmailTemplateResponse>; | ||
update: (body: templates.email_templates.UpdateEmailTemplateBody) => Promise<templates.email_templates.PostEmailTemplateResponse>; | ||
}; | ||
}; | ||
@@ -113,0 +119,0 @@ transactional: { |
@@ -108,2 +108,8 @@ "use strict"; | ||
}, | ||
email_templates: { | ||
get: (body) => templates.email_templates.getEmailTemplate(this.apiUrl, this.apiKey, body), | ||
list: (body) => templates.email_templates.getEmailTemplateList(this.apiUrl, this.apiKey, body), | ||
create: (body) => templates.email_templates.createEmailTemplate(this.apiUrl, this.apiKey, body), | ||
update: (body) => templates.email_templates.updateEmailTemplate(this.apiUrl, this.apiKey, body), | ||
}, | ||
}; | ||
@@ -110,0 +116,0 @@ this.transactional = { |
export * as content_blocks from './content-blocks'; | ||
export * as email_templates from './email-templates'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -26,4 +26,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.content_blocks = void 0; | ||
exports.email_templates = exports.content_blocks = void 0; | ||
exports.content_blocks = __importStar(require("./content-blocks")); | ||
exports.email_templates = __importStar(require("./email-templates")); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "braze-api", | ||
"version": "2.2.2", | ||
"version": "2.3.0", | ||
"description": "Track users, send messages, export data, and more with Braze API.", | ||
@@ -47,8 +47,8 @@ "author": "Mark <mark@remarkablemark.org>", | ||
"devDependencies": { | ||
"@commitlint/cli": "17.6.6", | ||
"@commitlint/config-conventional": "17.6.6", | ||
"@commitlint/cli": "17.6.7", | ||
"@commitlint/config-conventional": "17.6.7", | ||
"@types/jest": "29.5.3", | ||
"@types/node": "20.4.2", | ||
"@typescript-eslint/eslint-plugin": "6.0.0", | ||
"@typescript-eslint/parser": "6.0.0", | ||
"@types/node": "20.4.5", | ||
"@typescript-eslint/eslint-plugin": "6.2.0", | ||
"@typescript-eslint/parser": "6.2.0", | ||
"eslint": "8.45.0", | ||
@@ -55,0 +55,0 @@ "eslint-plugin-prettier": "5.0.0", |
@@ -14,3 +14,3 @@ <!-- readme-start --> | ||
Node.js library for [Braze](https://www.braze.com/) (see [demo](https://replit.com/@remarkablemark/braze-api)). The types are inspired by [Braze's Postman collection](https://documenter.getpostman.com/view/4689407/SVYrsdsG). | ||
Node.js library for [Braze](https://www.braze.com/). See [docs](https://b.remarkabl.org/braze-api) and [demo](https://replit.com/@remarkablemark/braze-api). The types are from [Braze's Postman collection](https://documenter.getpostman.com/view/4689407/SVYrsdsG). | ||
@@ -38,3 +38,5 @@ ## Quick Start | ||
See [Braze API guide](https://www.braze.com/docs/api/basics/) and [Braze's Postman collection](https://documenter.getpostman.com/view/4689407/SVYrsdsG). | ||
- [TypeDoc](https://b.remarkabl.org/braze-api) | ||
- [Braze API Guide](https://www.braze.com/docs/api/) | ||
- [Braze's Postman collection](https://documenter.getpostman.com/view/4689407/SVYrsdsG) | ||
@@ -227,3 +229,3 @@ ## Prerequisites | ||
We encourage contributions! Check out the [contributing guide](https://github.com/remarkablemark/braze-api/blob/master/.github/CONTRIBUTING.md) on how to proceed. | ||
Contributions are welcome! See our [contributing guide](https://github.com/remarkablemark/braze-api/blob/master/.github/CONTRIBUTING.md) on how to proceed. :wave: | ||
@@ -230,0 +232,0 @@ ## License |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
479530
811
7761
238
0