Skip to main content

PurchaseConfirmationEmailModel

Version: v2.0.0

Supporting model

A request/response or nested model — not a stored DynamoDB entity.

Overview

PurchaseConfirmationEmailModel model

Fields

FieldTypeRequiredDefaultDescription
vehicle_purchase_idstr
email_toList[str]
subjectstr
bodystr
send_user_copyboolFalse
sender_emailstr
include_pdf_attachmentboolTrue
tenant_accounts_emailstr
tenant_business_namestr
form_linkstr

APIs / Triggers

TriggerEndpoint / SourceDetailHandler
APIPOST /newvehiclePurchase/email/confirmationsrc/email/purchase_send_confirmation_email.py
EventEventBridgeVehiclePurchaseCreatedsrc/email/purchase_send_confirmation_email.py

Change history

v2.0.0 · 2026-02-07 · Olaniyi Ajayi · 85b6d68d1

Refactor PurchaseConfirmationEmailModel and enhance email handling logic

  • Field body type changed: str → Optional[str] (breaking).
  • Field body became optional.
  • Field email_to type changed: List[str] → Optional[List[str]] (breaking).
  • Field email_to became optional.
  • Field subject type changed: str → Optional[str] (breaking).
  • Field subject became optional.
v1.0.1 · 2026-01-26 · Olaniyi Ajayi · 753e4d95c

fix(email): Update PDF attachment handling in PurchaseConfirmationEmailModel

  • Field include_pdf_attachment default changed: False → True.
v1.0.0 · 2026-01-24 · Olaniyi Ajayi · 19d2836bd

feat(email): Introduce PurchaseConfirmationEmailModel and update email handling

  • Initial version.

Generated from dismantly-backend/Microservices/Purchase/dependencies/models.py. Do not edit by hand.

Models last synced: 2026-06-23 13:21 UTC