Comparing version 1.21.0 to 1.22.0
@@ -71,2 +71,5 @@ import * as campaigns from './campaigns'; | ||
}>; | ||
update: (body: messages.schedule.MessagesScheduleUpdateObject) => Promise<{ | ||
[x: string]: any; | ||
}>; | ||
}; | ||
@@ -73,0 +76,0 @@ send: (body: messages.MessagesSendObject) => Promise<{ |
@@ -40,2 +40,3 @@ "use strict"; | ||
delete: (body) => messages.schedule._delete(this.apiUrl, this.apiKey, body), | ||
update: (body) => messages.schedule.update(this.apiUrl, this.apiKey, body), | ||
}, | ||
@@ -42,0 +43,0 @@ send: (body) => messages.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 |
import type { ScheduleObject } from '../../common/types'; | ||
import type { MessagesSendObject } from '../types'; | ||
import type { MessagesObject, MessagesSendObject } from '../types'; | ||
/** | ||
@@ -20,2 +20,12 @@ * Request body for create scheduled messages. | ||
} | ||
/** | ||
* Request body for update scheduled messages. | ||
* | ||
* {@link https://www.braze.com/docs/api/endpoints/messaging/schedule_messages/post_update_scheduled_messages/#request-body} | ||
*/ | ||
export interface MessagesScheduleUpdateObject { | ||
schedule_id: string; | ||
schedule?: ScheduleObject; | ||
messages?: MessagesObject; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "braze-api", | ||
"version": "1.21.0", | ||
"version": "1.22.0", | ||
"description": "Track users, send messages, export data, and more with Braze API.", | ||
@@ -5,0 +5,0 @@ "author": "Mark <mark@remarkablemark.org>", |
@@ -125,3 +125,3 @@ # braze-api | ||
- [x] /messages/schedule/delete | ||
- [ ] /messages/schedule/update | ||
- [x] /messages/schedule/update | ||
- [ ] /messages/scheduled_broadcasts | ||
@@ -128,0 +128,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
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
142378
235
2306