Skip to main content

LegalConsentRecord

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Type alias
Package: @ovok/core

Import​

import { LegalConsentRecord } from '@ovok/core';

TypeScript shape​

type LegalConsentRecord = {
consentId: string;
status: "active" | "revoked";
termsUrl?: string | null;
termsUpdatedAt?: string | null;
acceptedAt?: string | null;
revokedAt?: string | null;
revokedReason?: "tos-updated" | "withdrawn" | null;
};

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
consentIdstring—
status"active" | "revoked"—
termsUrlstring | nullOptional. —
termsUpdatedAtstring | nullOptional. —
acceptedAtstring | nullOptional. —
revokedAtstring | nullOptional. —
revokedReason"tos-updated" | "withdrawn" | nullOptional. —

Learn the workflow​

Continue with Client Configuration for the workflow context and examples.

Source​

View the declaration in the SDK source.