Skip to content

Interface: VoiceConsentRecord

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VoiceConsentRecord

Defined in: src/types/speech.ts:33

The consent recorded for an enrolled voice.

optional eraseAfter?: string | null

Defined in: src/types/speech.ts:46

When a withdrawn voice is erased; it can be reinstated until then.


optional grantedAt?: string | null

Defined in: src/types/speech.ts:43


grantedBy: string

Defined in: src/types/speech.ts:34


legacy: boolean

Defined in: src/types/speech.ts:48

Enrolled before the consent lifecycle (or listed by an older server).


method: string

Defined in: src/types/speech.ts:35


purposes: VoicePurpose[]

Defined in: src/types/speech.ts:40

What the voice may be used for.


optional reference?: string | null

Defined in: src/types/speech.ts:36


status: string

Defined in: src/types/speech.ts:42

granted or withdrawn. A withdrawn voice cannot speak.


optional subject?: string | null

Defined in: src/types/speech.ts:38

Whose voice it is: the enrolling principal (user:<id>), or synthetic.


optional withdrawnAt?: string | null

Defined in: src/types/speech.ts:44