Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/cookie-consent-web-client/src/types/tcf"

Index

Type aliases

Tcf

Tcf: Omit<VendorList, keyof TcfMetadata | "lastUpdated"> & { unused: Omit<Declarations, "stacks">; vendorConfigurations: Record<string, TcfVendorConfigurationMeta> }

TcfDeclarationFilter

TcfDeclarationFilter: "consent" | "legInt"

TcfGvlAdditionalInformation

TcfGvlAdditionalInformation: { contact: string; environments: string[]; internationalTransfers: boolean; legalAddress: string; name: string; serviceTypes: string[]; territorialScope: string[]; transferMechanisms?: string[] }

Type declaration

  • contact: string
  • environments: string[]
  • internationalTransfers: boolean
  • legalAddress: string
  • name: string
  • serviceTypes: string[]
  • territorialScope: string[]
  • Optional transferMechanisms?: string[]

TcfGvlDeviceStorageDisclosure

TcfGvlDeviceStorageDisclosure: { disclosures: Array<{ cookieRefresh?: boolean; domain?: string; domains?: string[]; identifier: string; maxAgeSeconds?: number; purposes: number[]; type: "cookie" | "web" | "app" }> }

Type declaration

  • disclosures: Array<{ cookieRefresh?: boolean; domain?: string; domains?: string[]; identifier: string; maxAgeSeconds?: number; purposes: number[]; type: "cookie" | "web" | "app" }>

TcfMetadata

TcfMetadata: { gvlSpecificationVersion: VendorList["gvlSpecificationVersion"]; language: string; latestGvlDownload: string; publisherCc: string; scope: TcfScope; tcfPolicyVersion: VendorList["tcfPolicyVersion"]; vendorListVersion: VendorList["vendorListVersion"] }

Type declaration

  • gvlSpecificationVersion: VendorList["gvlSpecificationVersion"]
  • language: string
  • latestGvlDownload: string
  • publisherCc: string
  • scope: TcfScope
  • tcfPolicyVersion: VendorList["tcfPolicyVersion"]
  • vendorListVersion: VendorList["vendorListVersion"]

TcfScope

TcfScope: "service-specific" | "global"

TcfVendorConfigurationMeta

TcfVendorConfigurationMeta: { ePrivacyUSA: 0 | 1 | 2; restrictivePurposes: TcfVendorConfigurationRestrictivePurposes; vendorId: number }

Type declaration

TcfVendorConfigurationRestrictivePurposes

TcfVendorConfigurationRestrictivePurposes: Record<"normal", Record<string, { enabled: true; legInt?: "yes" | "no" }>>

Generated using TypeDoc