import type { BentoEvent } from './events'; /** * Batch Method Parameter Types */ export type BatchImportSubscribersParameter = { subscribers: ({ email: string; } & Partial)[]; }; export type BatchImportEventsParameter = { events: BentoEvent[]; }; export type TransactionalEmail = { to: string; from: string; subject: string; html_body: string; transactional: boolean; personalizations?: { [key: string]: string | number | boolean; }; }; export type BatchSendTransactionalEmailsParameter = { emails: TransactionalEmail[]; }; /** * Batch Method Response Types */ export type BatchImportSubscribersResponse = { results: number; }; export type BatchImportEventsResponse = { results: number; }; export type BatchsendTransactionalEmailsResponse = { results: number; };