Skip to main content

Variable: ListIntegrationsResponseSchema

const ListIntegrationsResponseSchema: ZodObject<{
object: ZodString;
total: ZodNumber;
success: ZodOptional<ZodBoolean>;
has_more: ZodOptional<ZodBoolean>;
data: ZodArray<ZodObject<{
id: ZodString;
organisation_id: ZodOptional<ZodString>;
name: ZodString;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodNullable<ZodString>;
slug: ZodString;
tags: ZodNullable<ZodUnknown>;
description: ZodNullable<ZodString>;
workspaces_count: ZodOptional<ZodNumber>;
type: ZodOptional<ZodString>;
workspace_id: ZodNullable<ZodString>;
ai_provider_id: ZodString;
object: ZodString;
masked_key: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodNullable<ZodUnion<[ZodType<... | ... | ... | ... | ... | ... | ... | ... | ... | ..., ZodTypeDef, ... | ... | ... | ... | ... | ... | ... | ... | ... | ...>, ZodString]>>>;
global_workspace_access_settings: ZodOptional<ZodNullable<ZodLazy<ZodObject<{
enabled: ZodBoolean;
rate_limits: ZodOptional<...>;
usage_limits: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
enabled: ...;
rate_limits: ...;
usage_limits: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
enabled: ...;
rate_limits: ...;
usage_limits: ...;
}, ZodTypeAny, "passthrough">>>>>;
allow_all_models: ZodOptional<ZodBoolean>;
workspace_count: ZodOptional<ZodNumber>;
secret_mappings: ZodOptional<ZodNullable<ZodArray<ZodType<{
[key: string]: unknown;
target_field: string;
secret_reference_id: string;
secret_key?: ... | ... | ...;
value_format?: ... | ... | ...;
}, ZodTypeDef, {
[key: string]: unknown;
target_field: string;
secret_reference_id: string;
secret_key?: ... | ... | ...;
value_format?: ... | ... | ...;
}>, "many">>>;
pricing_adjustments: ZodOptional<ZodNullable<ZodType<
| {
multiplier?: ... | ...;
}
| null, ZodTypeDef,
| {
multiplier?: ... | ...;
}
| null>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
organisation_id: ZodOptional<ZodString>;
name: ZodString;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodNullable<ZodString>;
slug: ZodString;
tags: ZodNullable<ZodUnknown>;
description: ZodNullable<ZodString>;
workspaces_count: ZodOptional<ZodNumber>;
type: ZodOptional<ZodString>;
workspace_id: ZodNullable<ZodString>;
ai_provider_id: ZodString;
object: ZodString;
masked_key: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodNullable<ZodUnion<[ZodType<..., ..., ...>, ZodString]>>>;
global_workspace_access_settings: ZodOptional<ZodNullable<ZodLazy<ZodObject<{
enabled: ...;
rate_limits: ...;
usage_limits: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>>;
allow_all_models: ZodOptional<ZodBoolean>;
workspace_count: ZodOptional<ZodNumber>;
secret_mappings: ZodOptional<ZodNullable<ZodArray<ZodType<{
[key: ...]: ...;
target_field: ...;
secret_reference_id: ...;
secret_key?: ...;
value_format?: ...;
}, ZodTypeDef, {
[key: ...]: ...;
target_field: ...;
secret_reference_id: ...;
secret_key?: ...;
value_format?: ...;
}>, "many">>>;
pricing_adjustments: ZodOptional<ZodNullable<ZodType<
| {
multiplier?: ...;
}
| null, ZodTypeDef,
| {
multiplier?: ...;
}
| null>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
organisation_id: ZodOptional<ZodString>;
name: ZodString;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodNullable<ZodString>;
slug: ZodString;
tags: ZodNullable<ZodUnknown>;
description: ZodNullable<ZodString>;
workspaces_count: ZodOptional<ZodNumber>;
type: ZodOptional<ZodString>;
workspace_id: ZodNullable<ZodString>;
ai_provider_id: ZodString;
object: ZodString;
masked_key: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodNullable<ZodUnion<[ZodType<..., ..., ...>, ZodString]>>>;
global_workspace_access_settings: ZodOptional<ZodNullable<ZodLazy<ZodObject<{
enabled: ...;
rate_limits: ...;
usage_limits: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>>;
allow_all_models: ZodOptional<ZodBoolean>;
workspace_count: ZodOptional<ZodNumber>;
secret_mappings: ZodOptional<ZodNullable<ZodArray<ZodType<{
[key: ...]: ...;
target_field: ...;
secret_reference_id: ...;
secret_key?: ...;
value_format?: ...;
}, ZodTypeDef, {
[key: ...]: ...;
target_field: ...;
secret_reference_id: ...;
secret_key?: ...;
value_format?: ...;
}>, "many">>>;
pricing_adjustments: ZodOptional<ZodNullable<ZodType<
| {
multiplier?: ...;
}
| null, ZodTypeDef,
| {
multiplier?: ...;
}
| null>>>;
}, ZodTypeAny, "passthrough">>, "many">;
}, "passthrough", ZodTypeAny, objectOutputType<{
object: ZodString;
total: ZodNumber;
success: ZodOptional<ZodBoolean>;
has_more: ZodOptional<ZodBoolean>;
data: ZodArray<ZodObject<{
id: ZodString;
organisation_id: ZodOptional<ZodString>;
name: ZodString;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodNullable<ZodString>;
slug: ZodString;
tags: ZodNullable<ZodUnknown>;
description: ZodNullable<ZodString>;
workspaces_count: ZodOptional<ZodNumber>;
type: ZodOptional<ZodString>;
workspace_id: ZodNullable<ZodString>;
ai_provider_id: ZodString;
object: ZodString;
masked_key: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodNullable<ZodUnion<[ZodType<..., ..., ...>, ZodString]>>>;
global_workspace_access_settings: ZodOptional<ZodNullable<ZodLazy<ZodObject<{
enabled: ...;
rate_limits: ...;
usage_limits: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>>;
allow_all_models: ZodOptional<ZodBoolean>;
workspace_count: ZodOptional<ZodNumber>;
secret_mappings: ZodOptional<ZodNullable<ZodArray<ZodType<{
[key: ...]: ...;
target_field: ...;
secret_reference_id: ...;
secret_key?: ...;
value_format?: ...;
}, ZodTypeDef, {
[key: ...]: ...;
target_field: ...;
secret_reference_id: ...;
secret_key?: ...;
value_format?: ...;
}>, "many">>>;
pricing_adjustments: ZodOptional<ZodNullable<ZodType<
| {
multiplier?: ...;
}
| null, ZodTypeDef,
| {
multiplier?: ...;
}
| null>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
organisation_id: ZodOptional<ZodString>;
name: ZodString;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodNullable<ZodString>;
slug: ZodString;
tags: ZodNullable<ZodUnknown>;
description: ZodNullable<ZodString>;
workspaces_count: ZodOptional<ZodNumber>;
type: ZodOptional<ZodString>;
workspace_id: ZodNullable<ZodString>;
ai_provider_id: ZodString;
object: ZodString;
masked_key: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodNullable<ZodUnion<[..., ...]>>>;
global_workspace_access_settings: ZodOptional<ZodNullable<ZodLazy<ZodObject<..., ..., ..., ..., ...>>>>;
allow_all_models: ZodOptional<ZodBoolean>;
workspace_count: ZodOptional<ZodNumber>;
secret_mappings: ZodOptional<ZodNullable<ZodArray<ZodType<..., ..., ...>, "many">>>;
pricing_adjustments: ZodOptional<ZodNullable<ZodType<... | ..., ZodTypeDef, ... | ...>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
organisation_id: ZodOptional<ZodString>;
name: ZodString;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodNullable<ZodString>;
slug: ZodString;
tags: ZodNullable<ZodUnknown>;
description: ZodNullable<ZodString>;
workspaces_count: ZodOptional<ZodNumber>;
type: ZodOptional<ZodString>;
workspace_id: ZodNullable<ZodString>;
ai_provider_id: ZodString;
object: ZodString;
masked_key: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodNullable<ZodUnion<[..., ...]>>>;
global_workspace_access_settings: ZodOptional<ZodNullable<ZodLazy<ZodObject<..., ..., ..., ..., ...>>>>;
allow_all_models: ZodOptional<ZodBoolean>;
workspace_count: ZodOptional<ZodNumber>;
secret_mappings: ZodOptional<ZodNullable<ZodArray<ZodType<..., ..., ...>, "many">>>;
pricing_adjustments: ZodOptional<ZodNullable<ZodType<... | ..., ZodTypeDef, ... | ...>>>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">, objectInputType<{
object: ZodString;
total: ZodNumber;
success: ZodOptional<ZodBoolean>;
has_more: ZodOptional<ZodBoolean>;
data: ZodArray<ZodObject<{
id: ZodString;
organisation_id: ZodOptional<ZodString>;
name: ZodString;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodNullable<ZodString>;
slug: ZodString;
tags: ZodNullable<ZodUnknown>;
description: ZodNullable<ZodString>;
workspaces_count: ZodOptional<ZodNumber>;
type: ZodOptional<ZodString>;
workspace_id: ZodNullable<ZodString>;
ai_provider_id: ZodString;
object: ZodString;
masked_key: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodNullable<ZodUnion<[ZodType<..., ..., ...>, ZodString]>>>;
global_workspace_access_settings: ZodOptional<ZodNullable<ZodLazy<ZodObject<{
enabled: ...;
rate_limits: ...;
usage_limits: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>>;
allow_all_models: ZodOptional<ZodBoolean>;
workspace_count: ZodOptional<ZodNumber>;
secret_mappings: ZodOptional<ZodNullable<ZodArray<ZodType<{
[key: ...]: ...;
target_field: ...;
secret_reference_id: ...;
secret_key?: ...;
value_format?: ...;
}, ZodTypeDef, {
[key: ...]: ...;
target_field: ...;
secret_reference_id: ...;
secret_key?: ...;
value_format?: ...;
}>, "many">>>;
pricing_adjustments: ZodOptional<ZodNullable<ZodType<
| {
multiplier?: ...;
}
| null, ZodTypeDef,
| {
multiplier?: ...;
}
| null>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
organisation_id: ZodOptional<ZodString>;
name: ZodString;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodNullable<ZodString>;
slug: ZodString;
tags: ZodNullable<ZodUnknown>;
description: ZodNullable<ZodString>;
workspaces_count: ZodOptional<ZodNumber>;
type: ZodOptional<ZodString>;
workspace_id: ZodNullable<ZodString>;
ai_provider_id: ZodString;
object: ZodString;
masked_key: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodNullable<ZodUnion<[..., ...]>>>;
global_workspace_access_settings: ZodOptional<ZodNullable<ZodLazy<ZodObject<..., ..., ..., ..., ...>>>>;
allow_all_models: ZodOptional<ZodBoolean>;
workspace_count: ZodOptional<ZodNumber>;
secret_mappings: ZodOptional<ZodNullable<ZodArray<ZodType<..., ..., ...>, "many">>>;
pricing_adjustments: ZodOptional<ZodNullable<ZodType<... | ..., ZodTypeDef, ... | ...>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
organisation_id: ZodOptional<ZodString>;
name: ZodString;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodNullable<ZodString>;
slug: ZodString;
tags: ZodNullable<ZodUnknown>;
description: ZodNullable<ZodString>;
workspaces_count: ZodOptional<ZodNumber>;
type: ZodOptional<ZodString>;
workspace_id: ZodNullable<ZodString>;
ai_provider_id: ZodString;
object: ZodString;
masked_key: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodNullable<ZodUnion<[..., ...]>>>;
global_workspace_access_settings: ZodOptional<ZodNullable<ZodLazy<ZodObject<..., ..., ..., ..., ...>>>>;
allow_all_models: ZodOptional<ZodBoolean>;
workspace_count: ZodOptional<ZodNumber>;
secret_mappings: ZodOptional<ZodNullable<ZodArray<ZodType<..., ..., ...>, "many">>>;
pricing_adjustments: ZodOptional<ZodNullable<ZodType<... | ..., ZodTypeDef, ... | ...>>>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/ai-gateway.ts:882