File

projects/core/src/model/consent.model.ts

Index

Properties

Properties

consentState
consentState: ANONYMOUS_CONSENT_STATUS
Type : ANONYMOUS_CONSENT_STATUS
Optional
templateCode
templateCode: string
Type : string
Optional
templateVersion
templateVersion: number
Type : number
Optional
export interface ConsentTemplate {
  id?: string;
  name?: string;
  description?: string;
  version?: number;
  currentConsent?: Consent;
}

export interface Consent {
  code?: string;
  consentGivenDate?: Date;
  consentWithdrawnDate?: Date;
}

export interface AnonymousConsent {
  templateCode?: string;
  templateVersion?: number;
  consentState?: ANONYMOUS_CONSENT_STATUS;
}

export enum ANONYMOUS_CONSENT_STATUS {
  GIVEN = 'GIVEN',
  WITHDRAWN = 'WITHDRAWN',
}

export const ANONYMOUS_CONSENTS_HEADER = 'X-Anonymous-Consents';

result-matching ""

    No results matching ""