@voiceflow/google-types
Version:
Google service types
9 lines (8 loc) • 366 B
JavaScript
import { Voice } from '../../constants/index.js';
import { VoiceVersion } from '@voiceflow/voice-types';
export const defaultSharedVoiceSettings = (settings = {}) => ({
...VoiceVersion.defaultSettings(settings, { defaultPromptVoice: Voice.DEFAULT }),
});
export const defaultVoiceSettings = (settings = {}) => ({
...defaultSharedVoiceSettings(settings),
});