ConsentAppOptions
Properties
aiConfig?
optionalaiConfig?:object
generateContent
generateContent: (
params) =>Promise<string>
Parameters
params
description
string
locale
string
type
string
Returns
Promise<string>
translateContent
translateContent: (
params) =>Promise<string>
Parameters
params
content
string
fromLocale
string
toLocale
string
Returns
Promise<string>
auditTrail?
optionalauditTrail?:boolean
resolveConsentForms?
optionalresolveConsentForms?: (user,forms) =>ConsentFormDocument[] |Promise<ConsentFormDocument[]>
Parameters
user
forms
Returns
ConsentFormDocument[] | Promise<ConsentFormDocument[]>
supportedLocales?
optionalsupportedLocales?:string[]