function getAttendeePiiBlobForToken
getAttendeePiiBlobForToken(token: string): Promise<OwnerKeyEncrypted | null>

Get the encrypted PII blob for the attendee identified by a plaintext ticket token. Used to resolve a single-attendee bulk-email recipient. Ticket tokens are unique, so this matches at most one attendee; returns null when the token matches none, so a stale or unknown token resolves to no recipient rather than erroring.

Parameters

token: string

Return Type

Promise<OwnerKeyEncrypted | null>

Usage

import { getAttendeePiiBlobForToken } from "doc.ts";