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
| Name | Type |
|---|---|
application | string |
consent | boolean |
createdAt | string |
id | string |
occurredAt | string |
purpose | "marketing" |
source | "loyalty_app" |
termsVersion | string |
updatedAt | string |
user | string |