Skip to main content

TypeAlias.ConsentLogEntry

type ConsentLogEntry = {
application: string;
consent: boolean | null;
createdAt: string;
id: string;
occurredAt: string;
purpose: "marketing";
source: "loyalty_app" | "admin" | "service";
termsVersion: string | null;
updatedAt: string;
user: string;
};

One immutable entry of a customer's consent history for a given application and purpose (GDPR proof of consent, art. 7.1), returned by the consent-log endpoint, newest first.

Type Declaration

NameType
applicationstring
consentboolean
createdAtstring
idstring
occurredAtstring
purpose"marketing"
source"loyalty_app"
termsVersionstring
updatedAtstring
userstring