Skip to main content
Version: 57.2.0

ConsentAppOptions

Properties

aiConfig?

optional aiConfig?: 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?

optional auditTrail?: boolean


resolveConsentForms?

optional resolveConsentForms?: (user, forms) => ConsentFormDocument[] | Promise<ConsentFormDocument[]>

Parameters

user

User

forms

ConsentFormDocument[]

Returns

ConsentFormDocument[] | Promise<ConsentFormDocument[]>


supportedLocales?

optional supportedLocales?: string[]