Comparing version 1.14.0 to 1.15.0
@@ -25,2 +25,6 @@ import * as campaigns from './campaigns'; | ||
create: (body: campaigns.trigger.schedule.CampaignsTriggerScheduleCreateObject) => Promise<{ | ||
dispatch_id: string; | ||
schedule_id: string; | ||
}>; | ||
delete: (body: campaigns.trigger.schedule.CampaignsTriggerScheduleDeleteObject) => Promise<{ | ||
[x: string]: any; | ||
@@ -27,0 +31,0 @@ }>; |
@@ -20,2 +20,3 @@ "use strict"; | ||
create: (body) => campaigns.trigger.schedule.create(this.apiUrl, this.apiKey, body), | ||
delete: (body) => campaigns.trigger.schedule._delete(this.apiUrl, this.apiKey, body), | ||
}, | ||
@@ -22,0 +23,0 @@ send: (body) => campaigns.trigger.send(this.apiUrl, this.apiKey, body), |
@@ -15,4 +15,5 @@ import type { CampaignsTriggerScheduleCreateObject } from './types'; | ||
export declare function create(apiUrl: string, apiKey: string, body: CampaignsTriggerScheduleCreateObject): Promise<{ | ||
[x: string]: any; | ||
dispatch_id: string; | ||
schedule_id: string; | ||
}>; | ||
//# sourceMappingURL=create.d.ts.map |
export * from './create'; | ||
export * from './delete'; | ||
export * from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,3 +18,4 @@ "use strict"; | ||
__exportStar(require("./create"), exports); | ||
__exportStar(require("./delete"), exports); | ||
__exportStar(require("./types"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -9,3 +9,3 @@ import type { CampaignsTriggerSendObject } from '../types'; | ||
schedule: { | ||
time?: string; | ||
time: string; | ||
in_local_time?: boolean; | ||
@@ -15,2 +15,11 @@ at_optimal_time?: boolean; | ||
} | ||
/** | ||
* Request body for delete scheduled API-triggered campaigns. | ||
* | ||
* {@link https://www.braze.com/docs/api/endpoints/messaging/schedule_messages/post_delete_scheduled_triggered_messages/#request-body} | ||
*/ | ||
export interface CampaignsTriggerScheduleDeleteObject { | ||
campaign_id: string; | ||
schedule_id: string; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "braze-api", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"description": "Track users, send messages, export data, and more with Braze API.", | ||
@@ -5,0 +5,0 @@ "author": "Mark <mark@remarkablemark.org>", |
@@ -118,3 +118,3 @@ # braze-api | ||
- [x] /campaigns/trigger/schedule/create | ||
- [ ] /campaigns/trigger/schedule/delete | ||
- [x] /campaigns/trigger/schedule/delete | ||
- [ ] /campaigns/trigger/schedule/update | ||
@@ -121,0 +121,0 @@ - [ ] /canvas/trigger/schedule/create |
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
114587
191
1833