import sendTemplate from '.' export default sendTemplate( 'accounts@interval.com', { message: 'A charge of $10 has been refunded.', title: 'Refund over threshold', metadata: { orgSlug: 'demo', actionName: 'Refund charge', transactionId: 'transaction_id', actionRunner: 'example@interval.com', createdAt: 'Apr 18, 2022, 11:11 AM', }, failedDetails: [ { error: 'No such Slack user in your workspace: @not_a_person', to: '@not_a_person', method: 'SLACK', }, { error: 'The Interval app is not installed in this Slack channel: #interval-notifications', to: '#interval-notifications', method: 'SLACK', }, ], }, { preview: true } )