Interface: VoiceConsentRecord
@kortexya/reasoninglayer / VoiceConsentRecord
Interface: VoiceConsentRecord
Section titled “Interface: VoiceConsentRecord”Defined in: src/types/speech.ts:33
The consent recorded for an enrolled voice.
Properties
Section titled “Properties”eraseAfter?
Section titled “eraseAfter?”
optionaleraseAfter?:string|null
Defined in: src/types/speech.ts:46
When a withdrawn voice is erased; it can be reinstated until then.
grantedAt?
Section titled “grantedAt?”
optionalgrantedAt?:string|null
Defined in: src/types/speech.ts:43
grantedBy
Section titled “grantedBy”grantedBy:
string
Defined in: src/types/speech.ts:34
legacy
Section titled “legacy”legacy:
boolean
Defined in: src/types/speech.ts:48
Enrolled before the consent lifecycle (or listed by an older server).
method
Section titled “method”method:
string
Defined in: src/types/speech.ts:35
purposes
Section titled “purposes”purposes:
VoicePurpose[]
Defined in: src/types/speech.ts:40
What the voice may be used for.
reference?
Section titled “reference?”
optionalreference?:string|null
Defined in: src/types/speech.ts:36
status
Section titled “status”status:
string
Defined in: src/types/speech.ts:42
granted or withdrawn. A withdrawn voice cannot speak.
subject?
Section titled “subject?”
optionalsubject?:string|null
Defined in: src/types/speech.ts:38
Whose voice it is: the enrolling principal (user:<id>), or synthetic.
withdrawnAt?
Section titled “withdrawnAt?”
optionalwithdrawnAt?:string|null
Defined in: src/types/speech.ts:44