feat(F-152): completed feature
This commit is contained in:
@@ -18,7 +18,7 @@ export interface NotificationsRoutesDeps {
|
||||
const dispatchSchema = z
|
||||
.object({
|
||||
eventId: z.string().min(1).max(120),
|
||||
template: z.enum(['order_confirmation', 'payment_failed', 'order_shipped']),
|
||||
template: z.enum(['order_confirmation', 'payment_failed', 'order_shipped', 'account_created']),
|
||||
recipient: z.string().email(),
|
||||
subject: z.string().min(1).max(200),
|
||||
body: z.string().min(1).max(5000),
|
||||
|
||||
Reference in New Issue
Block a user