Skip to content

Interface: VoiceConsent

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VoiceConsent

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

Consent given when enrolling a cloned voice. Only the person whose voice it is may give it.

grantedBy: string

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

Who granted permission (a person’s name, or an account identifier).


method: string

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

How it was obtained (e.g. "written", "recorded-statement", "contract"), or "synthetic" / "synthetic-…" for a reference that is not a person’s voice.


optional purposes?: VoicePurpose[]

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

What the voice may be used for. The server defaults to ['assistant_answers']. Without 'shared_in_tenant', only the person who enrolled it can use it.


optional reference?: string | null

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

Pointer to the evidence — a document id, ticket, or URI. Optional.


optional selfAttested?: boolean

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

The enrolling user states this is their own voice and that they consent. Required by servers with the consent lifecycle, unless method is synthetic.