2024-02-07 17:43:11 +01:00
|
|
|
import { option, AuthDefinition } from '@typebot.io/forge'
|
|
|
|
|
|
|
|
export const auth = {
|
|
|
|
type: 'encryptedCredentials',
|
|
|
|
name: 'ElevenLabs account',
|
|
|
|
schema: option.object({
|
|
|
|
apiKey: option.string.layout({
|
|
|
|
label: 'API key',
|
|
|
|
isRequired: true,
|
|
|
|
inputType: 'password',
|
|
|
|
helperText:
|
|
|
|
'You can generate an API key in your ElevenLabs dashboard in the Profile menu.',
|
2024-03-15 14:28:12 +01:00
|
|
|
isDebounceDisabled: true,
|
2024-02-07 17:43:11 +01:00
|
|
|
}),
|
|
|
|
}),
|
|
|
|
} satisfies AuthDefinition
|