function decryptAttendeeFields
decryptAttendeeFields(
row: Attendee,
privateKey: CryptoKey,
paidEvent?: boolean
): Promise<Attendee>

Decrypt attendee fields from the PII blob. Requires migration to be complete (admin is gated behind migration). When paidEvent is false, payment_id and refunded are skipped.

Parameters

privateKey: CryptoKey
optional
paidEvent: boolean = true

Return Type

Promise<Attendee>

Usage

import { decryptAttendeeFields } from "doc.ts";