/** Supported action types. */ export enum ActionType { Accept = 'accept', Reject = 'reject', Unselected = 'unselected', } /** A consent Action represents a single input from a Subject. * * In the Cookie Consent flow, it might be opt-in/opt-out actions on a specific cookie. * * The Action is performed on a {@link target} object, which belongs to a {@link vendor}. */ export type Action = { /** Target object of this Action. */ target: string /** Vendor that owns the target object. */ vendor: string /** Type of action performed on the target object. */ action: ActionType }