Comparing version 1.26.0 to 1.27.0
@@ -110,2 +110,7 @@ import * as campaigns from './campaigns'; | ||
}; | ||
user: { | ||
status: (body: subscription.user.SubscriptionUserStatusObject) => Promise<{ | ||
[x: string]: any; | ||
}>; | ||
}; | ||
}; | ||
@@ -112,0 +117,0 @@ transactional: { |
@@ -57,2 +57,5 @@ "use strict"; | ||
}, | ||
user: { | ||
status: (body) => subscription.user.status(this.apiUrl, this.apiKey, body), | ||
}, | ||
}; | ||
@@ -59,0 +62,0 @@ this.transactional = { |
@@ -11,2 +11,3 @@ export * from './Braze'; | ||
export * from './subscription/status/types'; | ||
export * from './subscription/user/types'; | ||
export * from './transactional/v1/campaigns/types'; | ||
@@ -13,0 +14,0 @@ export * from './users/alias/types'; |
@@ -27,2 +27,3 @@ "use strict"; | ||
__exportStar(require("./subscription/status/types"), exports); | ||
__exportStar(require("./subscription/user/types"), exports); | ||
__exportStar(require("./transactional/v1/campaigns/types"), exports); | ||
@@ -29,0 +30,0 @@ __exportStar(require("./users/alias/types"), exports); |
export * as status from './status'; | ||
export * as user from './user'; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.status = void 0; | ||
exports.user = exports.status = void 0; | ||
exports.status = require("./status"); | ||
exports.user = require("./user"); | ||
//# sourceMappingURL=index.js.map |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
export declare type SubscriptionStatusGetObject = { | ||
export interface SubscriptionStatusGetObject { | ||
subscription_group_id: string; | ||
@@ -18,3 +18,3 @@ external_id?: string | string[]; | ||
phone?: string | string[]; | ||
}; | ||
} | ||
interface SubscriptionStatusSet { | ||
@@ -21,0 +21,0 @@ subscription_group_id: string; |
{ | ||
"name": "braze-api", | ||
"version": "1.26.0", | ||
"version": "1.27.0", | ||
"description": "Track users, send messages, export data, and more with Braze API.", | ||
@@ -39,3 +39,3 @@ "author": "Mark <mark@remarkablemark.org>", | ||
"@commitlint/config-conventional": "^17.0.3", | ||
"@types/jest": "^28.1.4", | ||
"@types/jest": "^29.0.0", | ||
"@types/node": "^18.0.1", | ||
@@ -42,0 +42,0 @@ "@typescript-eslint/eslint-plugin": "^5.30.5", |
@@ -133,3 +133,3 @@ # braze-api | ||
- [x] /subscription/status/get | ||
- [ ] /subscription/user/status | ||
- [x] /subscription/user/status | ||
@@ -136,0 +136,0 @@ ### Email and email templates |
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
171478
295
2782