mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-13 11:22:14 +02:00
feat: add voice selectors in elevenlabs (#88)
This commit is contained in:
parent
480e8a5f60
commit
45c5b7c304
22 changed files with 978 additions and 166 deletions
File diff suppressed because one or more lines are too long
|
|
@ -650,6 +650,21 @@ export type VobizConfigurationResponse = {
|
|||
from_numbers: Array<string>;
|
||||
};
|
||||
|
||||
export type VoiceInfo = {
|
||||
voice_id: string;
|
||||
name: string;
|
||||
description?: string | null;
|
||||
accent?: string | null;
|
||||
gender?: string | null;
|
||||
language?: string | null;
|
||||
preview_url?: string | null;
|
||||
};
|
||||
|
||||
export type VoicesResponse = {
|
||||
provider: string;
|
||||
voices: Array<VoiceInfo>;
|
||||
};
|
||||
|
||||
/**
|
||||
* Request schema for Vonage configuration.
|
||||
*/
|
||||
|
|
@ -1828,6 +1843,40 @@ export type ReactivateApiKeyApiV1UserApiKeysApiKeyIdReactivatePutResponses = {
|
|||
|
||||
export type ReactivateApiKeyApiV1UserApiKeysApiKeyIdReactivatePutResponse = ReactivateApiKeyApiV1UserApiKeysApiKeyIdReactivatePutResponses[keyof ReactivateApiKeyApiV1UserApiKeysApiKeyIdReactivatePutResponses];
|
||||
|
||||
export type GetVoicesApiV1UserConfigurationsVoicesProviderGetData = {
|
||||
body?: never;
|
||||
headers?: {
|
||||
authorization?: string | null;
|
||||
};
|
||||
path: {
|
||||
provider: 'elevenlabs' | 'deepgram' | 'sarvam' | 'cartesia' | 'dograh';
|
||||
};
|
||||
query?: never;
|
||||
url: '/api/v1/user/configurations/voices/{provider}';
|
||||
};
|
||||
|
||||
export type GetVoicesApiV1UserConfigurationsVoicesProviderGetErrors = {
|
||||
/**
|
||||
* Not found
|
||||
*/
|
||||
404: unknown;
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type GetVoicesApiV1UserConfigurationsVoicesProviderGetError = GetVoicesApiV1UserConfigurationsVoicesProviderGetErrors[keyof GetVoicesApiV1UserConfigurationsVoicesProviderGetErrors];
|
||||
|
||||
export type GetVoicesApiV1UserConfigurationsVoicesProviderGetResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: VoicesResponse;
|
||||
};
|
||||
|
||||
export type GetVoicesApiV1UserConfigurationsVoicesProviderGetResponse = GetVoicesApiV1UserConfigurationsVoicesProviderGetResponses[keyof GetVoicesApiV1UserConfigurationsVoicesProviderGetResponses];
|
||||
|
||||
export type CreateCampaignApiV1CampaignCreatePostData = {
|
||||
body: CreateCampaignRequest;
|
||||
headers?: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue