Variable: GatewayIntegrationWorkspacesBulkUpdateRequestSchema
const GatewayIntegrationWorkspacesBulkUpdateRequestSchema: ZodEffects<ZodObject<{
workspaces: ZodOptional<ZodArray<ZodObject<{
id: ZodString;
enabled: ZodBoolean;
usage_limits: ZodOptional<ZodNullable<ZodArray<ZodEffects<..., ..., ...>, "many">>>;
rate_limits: ZodOptional<ZodNullable<ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">>>;
reset_usage: ZodOptional<ZodBoolean>;
create_default_provider: ZodOptional<ZodBoolean>;
default_provider_slug: ZodOptional<ZodString>;
}, "strict", ZodTypeAny, {
id: string;
enabled: boolean;
usage_limits?: | {
[key: string]: any;
}[]
| null;
rate_limits?: | {
type: GatewayOpenValue<...>;
unit: GatewayOpenValue<...>;
value: number;
}[]
| null;
reset_usage?: boolean;
create_default_provider?: boolean;
default_provider_slug?: string;
}, {
id: string;
enabled: boolean;
usage_limits?: | {
[key: string]: any;
}[]
| null;
rate_limits?: | {
type: GatewayOpenValue<...>;
unit: GatewayOpenValue<...>;
value: number;
}[]
| null;
reset_usage?: boolean;
create_default_provider?: boolean;
default_provider_slug?: string;
}>, "many">>;
global_workspace_access: ZodOptional<ZodObject<{
enabled: ZodBoolean;
usage_limits: ZodOptional<ZodNullable<ZodArray<ZodEffects<ZodEffects<..., ..., ...>, {
[key: ...]: ...;
}, {
[key: ...]: ...;
}>, "many">>>;
rate_limits: ZodOptional<ZodNullable<ZodArray<ZodObject<{
type: ...;
unit: ...;
value: ...;
}, "strict", ZodTypeAny, {
type: ...;
unit: ...;
value: ...;
}, {
type: ...;
unit: ...;
value: ...;
}>, "many">>>;
}, "strict", ZodTypeAny, {
enabled: boolean;
usage_limits?: | {
[key: string]: any;
}[]
| null;
rate_limits?: | {
type: GatewayOpenValue<... | ...>;
unit: GatewayOpenValue<... | ... | ... | ... | ...>;
value: number;
}[]
| null;
}, {
enabled: boolean;
usage_limits?: | {
[key: string]: any;
}[]
| null;
rate_limits?: | {
type: GatewayOpenValue<... | ...>;
unit: GatewayOpenValue<... | ... | ... | ... | ...>;
value: number;
}[]
| null;
}>>;
override_existing_workspace_access: ZodOptional<ZodBoolean>;
create_default_provider: ZodOptional<ZodBoolean>;
default_provider_slug: ZodOptional<ZodString>;
}, "strict", ZodTypeAny, {
workspaces?: {
id: string;
enabled: boolean;
usage_limits?: | {
[key: string]: any;
}[]
| null;
rate_limits?: | {
type: GatewayOpenValue<... | ...>;
unit: GatewayOpenValue<... | ... | ... | ... | ...>;
value: number;
}[]
| null;
reset_usage?: boolean;
create_default_provider?: boolean;
default_provider_slug?: string;
}[];
global_workspace_access?: {
enabled: boolean;
usage_limits?: | {
[key: string]: any;
}[]
| null;
rate_limits?: | {
type: GatewayOpenValue<"requests" | "tokens">;
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
value: number;
}[]
| null;
};
override_existing_workspace_access?: boolean;
create_default_provider?: boolean;
default_provider_slug?: string;
}, {
workspaces?: {
id: string;
enabled: boolean;
usage_limits?: | {
[key: string]: any;
}[]
| null;
rate_limits?: | {
type: GatewayOpenValue<... | ...>;
unit: GatewayOpenValue<... | ... | ... | ... | ...>;
value: number;
}[]
| null;
reset_usage?: boolean;
create_default_provider?: boolean;
default_provider_slug?: string;
}[];
global_workspace_access?: {
enabled: boolean;
usage_limits?: | {
[key: string]: any;
}[]
| null;
rate_limits?: | {
type: GatewayOpenValue<"requests" | "tokens">;
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
value: number;
}[]
| null;
};
override_existing_workspace_access?: boolean;
create_default_provider?: boolean;
default_provider_slug?: string;
}>, {
[key: string]: any;
}, {
[key: string]: any;
}>;
Defined in: src/models/ai-gateway-requests.ts:398