feat: add voice selector for Dograh model configs

This commit is contained in:
Abhishek Kumar 2026-06-23 18:33:04 +05:30
parent 40e34994fd
commit 0956157029
10 changed files with 694 additions and 86 deletions

File diff suppressed because one or more lines are too long

View file

@ -6294,6 +6294,26 @@ export type VobizConfigurationResponse = {
from_numbers: Array<string>;
};
/**
* VoiceFacets
*
* Distinct selector values across a provider's full voice catalog.
*/
export type VoiceFacets = {
/**
* Genders
*/
genders?: Array<string>;
/**
* Accents
*/
accents?: Array<string>;
/**
* Languages
*/
languages?: Array<string>;
};
/**
* VoiceInfo
*/
@ -6340,6 +6360,7 @@ export type VoicesResponse = {
* Voices
*/
voices: Array<VoiceInfo>;
facets?: VoiceFacets | null;
};
/**
@ -9208,6 +9229,18 @@ export type GetVoicesApiV1UserConfigurationsVoicesProviderGetData = {
* Language
*/
language?: string | null;
/**
* Q
*/
q?: string | null;
/**
* Gender
*/
gender?: string | null;
/**
* Accent
*/
accent?: string | null;
};
url: '/api/v1/user/configurations/voices/{provider}';
};