mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-04 10:52:17 +02:00
feat: allow multiple API keys (#186)
* feat: allow multiple API keys * chore: cleanup * chore: upgrade pipecat * feat: make default api_key as list
This commit is contained in:
parent
162bfabac3
commit
57e8768e0b
10 changed files with 174 additions and 137 deletions
File diff suppressed because one or more lines are too long
|
|
@ -202,10 +202,10 @@ export type CircuitBreakerConfigRequest = {
|
|||
};
|
||||
|
||||
export type CircuitBreakerConfigResponse = {
|
||||
enabled: boolean;
|
||||
failure_threshold: number;
|
||||
window_seconds: number;
|
||||
min_calls_in_window: number;
|
||||
enabled?: boolean;
|
||||
failure_threshold?: number;
|
||||
window_seconds?: number;
|
||||
min_calls_in_window?: number;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -1150,16 +1150,16 @@ export type UsageHistoryResponse = {
|
|||
|
||||
export type UserConfigurationRequestResponseSchema = {
|
||||
llm?: {
|
||||
[key: string]: string | number;
|
||||
[key: string]: string | number | Array<string>;
|
||||
} | null;
|
||||
tts?: {
|
||||
[key: string]: string | number;
|
||||
[key: string]: string | number | Array<string>;
|
||||
} | null;
|
||||
stt?: {
|
||||
[key: string]: string | number;
|
||||
[key: string]: string | number | Array<string>;
|
||||
} | null;
|
||||
embeddings?: {
|
||||
[key: string]: string | number;
|
||||
[key: string]: string | number | Array<string>;
|
||||
} | null;
|
||||
test_phone_number?: string | null;
|
||||
timezone?: string | null;
|
||||
|
|
@ -1599,35 +1599,6 @@ export type HandleCloudonixStatusCallbackApiV1TelephonyCloudonixStatusCallbackWo
|
|||
200: unknown;
|
||||
};
|
||||
|
||||
export type HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostData = {
|
||||
body?: never;
|
||||
path: {
|
||||
workflow_run_id: number;
|
||||
};
|
||||
query?: never;
|
||||
url: '/api/v1/telephony/cloudonix/amd-callback/{workflow_run_id}';
|
||||
};
|
||||
|
||||
export type HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostErrors = {
|
||||
/**
|
||||
* Not found
|
||||
*/
|
||||
404: unknown;
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostError = HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostErrors[keyof HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostErrors];
|
||||
|
||||
export type HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: unknown;
|
||||
};
|
||||
|
||||
export type HandleVobizHangupCallbackByWorkflowApiV1TelephonyVobizHangupCallbackWorkflowWorkflowIdPostData = {
|
||||
body?: never;
|
||||
headers?: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue