ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: суточные квоты Voice Tasker по workspace и контурам
This commit is contained in:
@@ -43,6 +43,9 @@ export type TWorkspaceAISettings = {
|
||||
max_audio_duration_seconds: number;
|
||||
per_user_hourly_limit: number;
|
||||
workspace_hourly_limit: number;
|
||||
per_user_daily_limit: number;
|
||||
workspace_daily_limit: number;
|
||||
project_daily_limit: number;
|
||||
credential: TWorkspaceAICredentialStatus;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
@@ -61,6 +64,9 @@ export type TWorkspaceAISettingsPayload = Partial<
|
||||
| "max_audio_duration_seconds"
|
||||
| "per_user_hourly_limit"
|
||||
| "workspace_hourly_limit"
|
||||
| "per_user_daily_limit"
|
||||
| "workspace_daily_limit"
|
||||
| "project_daily_limit"
|
||||
>
|
||||
> & {
|
||||
openai_api_key?: string;
|
||||
@@ -192,12 +198,16 @@ export type TVoiceTaskUploadResult = {
|
||||
size: number;
|
||||
};
|
||||
client_context?: Record<string, unknown>;
|
||||
limit_scope?: "user" | "workspace";
|
||||
limit_scope?: "user" | "workspace" | "project";
|
||||
limit_window?: "hour" | "day";
|
||||
limit?: number;
|
||||
used?: number;
|
||||
window_seconds?: number;
|
||||
retry_after?: number;
|
||||
reset_at?: string;
|
||||
project_id?: string | null;
|
||||
project_identifier?: string | null;
|
||||
project_name?: string | null;
|
||||
code?: string;
|
||||
error?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user