Comparing version 1.18.0 to 1.19.0
@@ -51,2 +51,5 @@ import * as campaigns from './campaigns'; | ||
}>; | ||
update: (body: canvas.trigger.schedule.CanvasTriggerScheduleUpdateObject) => Promise<{ | ||
[x: string]: any; | ||
}>; | ||
}; | ||
@@ -53,0 +56,0 @@ send: (body: canvas.trigger.CanvasTriggerSendObject) => Promise<{ |
@@ -31,2 +31,3 @@ "use strict"; | ||
delete: (body) => canvas.trigger.schedule._delete(this.apiUrl, this.apiKey, body), | ||
update: (body) => canvas.trigger.schedule.update(this.apiUrl, this.apiKey, body), | ||
}, | ||
@@ -33,0 +34,0 @@ send: (body) => canvas.trigger.send(this.apiUrl, this.apiKey, body), |
export * from './create'; | ||
export * from './delete'; | ||
export * from './types'; | ||
export * from './update'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -20,2 +20,3 @@ "use strict"; | ||
__exportStar(require("./types"), exports); | ||
__exportStar(require("./update"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -20,2 +20,12 @@ import type { ScheduleObject } from '../../../common/types'; | ||
} | ||
/** | ||
* Request body for update scheduled API-triggered canvases. | ||
* | ||
* {@link https://www.braze.com/docs/api/endpoints/messaging/schedule_messages/post_update_scheduled_triggered_canvases/#request-body} | ||
*/ | ||
export interface CanvasTriggerScheduleUpdateObject { | ||
canvas_id: string; | ||
schedule_id: string; | ||
schedule: ScheduleObject; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "braze-api", | ||
"version": "1.18.0", | ||
"version": "1.19.0", | ||
"description": "Track users, send messages, export data, and more with Braze API.", | ||
@@ -5,0 +5,0 @@ "author": "Mark <mark@remarkablemark.org>", |
@@ -122,3 +122,3 @@ # braze-api | ||
- [x] /canvas/trigger/schedule/delete | ||
- [ ] /canvas/trigger/schedule/update | ||
- [x] /canvas/trigger/schedule/update | ||
- [ ] /messages/schedule/create | ||
@@ -125,0 +125,0 @@ - [ ] /messages/schedule/delete |
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
130681
215
2103