From bcbc3b0715a4f26fd84bca40d721ac35b3b2a9dd Mon Sep 17 00:00:00 2001 From: chance Date: Wed, 26 Jan 2022 19:05:38 -0800 Subject: [PATCH] Adding send_at to Transactional API args. --- lib/api/requests.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/api/requests.ts b/lib/api/requests.ts index c62e9f8..9a067f4 100644 --- a/lib/api/requests.ts +++ b/lib/api/requests.ts @@ -18,6 +18,7 @@ type SendEmailRequestOptionalOptions = Partial<{ send_to_unsubscribed: boolean; tracked: boolean; queue_draft: boolean; + send_at: number; }>; type SendEmailRequestWithTemplate = SendEmailRequestRequiredOptions & @@ -57,6 +58,7 @@ export class SendEmailRequest { send_to_unsubscribed: opts.send_to_unsubscribed, tracked: opts.tracked, queue_draft: opts.queue_draft, + send_at: opts.send_at, }; if ('transactional_message_id' in opts) {