function buildTicketAttachments
buildTicketAttachments(
groups: readonly BuyerEntryGroup[],
currency: string,
): Promise<EmailAttachment[]>

Generate SVG ticket attachments for the buyer's row groups: each HIDDEN package collapses to a single package-level SVG so the attachments don't reveal the member listings the email body hides — whatever else the order carries beside the bundle. Callers without package rows pass one group per entry (buyerEntryGroups builds the real thing).

Parameters

groups: readonly BuyerEntryGroup[]
currency: string

Return Type

Promise<EmailAttachment[]>

Usage

import { buildTicketAttachments } from "doc.ts";