feat: send mail notifications of sale transactions

This commit is contained in:
Ahmed Bouhuolia
2023-12-24 21:53:37 +02:00
parent 13c6e7a62d
commit 6356cb5e63
9 changed files with 195 additions and 36 deletions

View File

@@ -124,3 +124,11 @@ export interface ISaleEstimateApprovedEvent {
saleEstimate: ISaleEstimate;
trx: Knex.Transaction;
}
export interface SaleEstimateMailOptions {
to: string;
from: string;
subject: string;
body: string;
attachInvoice?: boolean;
}