mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-25 12:01:04 +02:00
feat: client gen default configurations (#499)
This commit is contained in:
parent
a9947cec04
commit
ceb01a16a3
14 changed files with 353 additions and 87 deletions
File diff suppressed because one or more lines are too long
|
|
@ -186,6 +186,21 @@ export type ActiveCallsResponse = {
|
|||
active_calls: number;
|
||||
};
|
||||
|
||||
/**
|
||||
* AmbientNoiseConfigurationDefaults
|
||||
*/
|
||||
export type AmbientNoiseConfigurationDefaults = {
|
||||
/**
|
||||
* Enabled
|
||||
*/
|
||||
enabled?: boolean;
|
||||
/**
|
||||
* Volume
|
||||
*/
|
||||
volume?: number;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
|
||||
/**
|
||||
* AmbientNoiseUploadRequest
|
||||
*/
|
||||
|
|
@ -1878,6 +1893,7 @@ export type DefaultConfigurationsResponse = {
|
|||
default_providers: {
|
||||
[key: string]: string;
|
||||
};
|
||||
workflow_configurations: WorkflowConfigurationDefaults;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -6523,6 +6539,50 @@ export type VonageConfigurationResponse = {
|
|||
*/
|
||||
export type WebhookCredentialType = 'none' | 'api_key' | 'bearer_token' | 'basic_auth' | 'custom_header';
|
||||
|
||||
/**
|
||||
* WorkflowConfigurationDefaults
|
||||
*/
|
||||
export type WorkflowConfigurationDefaults = {
|
||||
ambient_noise_configuration?: AmbientNoiseConfigurationDefaults;
|
||||
/**
|
||||
* Max Call Duration
|
||||
*/
|
||||
max_call_duration?: number;
|
||||
/**
|
||||
* Max User Idle Timeout
|
||||
*/
|
||||
max_user_idle_timeout?: number;
|
||||
/**
|
||||
* Smart Turn Stop Secs
|
||||
*/
|
||||
smart_turn_stop_secs?: number;
|
||||
/**
|
||||
* Turn Start Strategy
|
||||
*/
|
||||
turn_start_strategy?: 'default' | 'min_words' | 'provisional_vad';
|
||||
/**
|
||||
* Turn Start Min Words
|
||||
*/
|
||||
turn_start_min_words?: number;
|
||||
/**
|
||||
* Provisional Vad Pause Secs
|
||||
*/
|
||||
provisional_vad_pause_secs?: number;
|
||||
/**
|
||||
* Turn Stop Strategy
|
||||
*/
|
||||
turn_stop_strategy?: 'transcription' | 'turn_analyzer';
|
||||
/**
|
||||
* Dictionary
|
||||
*/
|
||||
dictionary?: string;
|
||||
/**
|
||||
* Context Compaction Enabled
|
||||
*/
|
||||
context_compaction_enabled?: boolean;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
|
||||
/**
|
||||
* WorkflowCountResponse
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue