Skip to main content

Variable: McpIntegrationDetailSchema

const McpIntegrationDetailSchema: ZodObject<{
id: ZodString;
name: ZodString;
description: ZodNullable<ZodString>;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodString;
configurations: ZodType<{
[key: string]: unknown;
custom_headers?: {
[key: string]: unknown;
};
passthrough_header?: {
[key: string]: unknown;
};
}, ZodTypeDef, {
[key: string]: unknown;
custom_headers?: {
[key: string]: unknown;
};
passthrough_header?: {
[key: string]: unknown;
};
}>;
global_workspace_access: ZodNullable<ZodObject<{
enabled: ZodBoolean;
}, "passthrough", ZodTypeAny, objectOutputType<{
enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">, objectInputType<{
enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">>>;
workspace_id: ZodNullable<ZodString>;
slug: ZodString;
url: ZodString;
auth_type: ZodString;
transport: ZodString;
type: ZodString;
secret_mappings: ZodNullable<ZodArray<ZodType<{
[key: string]: unknown;
target_field: string;
secret_reference_id: string;
secret_key?: string | null;
value_format?: string | null;
}, ZodTypeDef, {
[key: string]: unknown;
target_field: string;
secret_reference_id: string;
secret_key?: string | null;
value_format?: string | null;
}>, "many">>;
object: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
name: ZodString;
description: ZodNullable<ZodString>;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodString;
configurations: ZodType<{
[key: string]: unknown;
custom_headers?: {
[key: string]: unknown;
};
passthrough_header?: {
[key: string]: unknown;
};
}, ZodTypeDef, {
[key: string]: unknown;
custom_headers?: {
[key: string]: unknown;
};
passthrough_header?: {
[key: string]: unknown;
};
}>;
global_workspace_access: ZodNullable<ZodObject<{
enabled: ZodBoolean;
}, "passthrough", ZodTypeAny, objectOutputType<{
enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">, objectInputType<{
enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">>>;
workspace_id: ZodNullable<ZodString>;
slug: ZodString;
url: ZodString;
auth_type: ZodString;
transport: ZodString;
type: ZodString;
secret_mappings: ZodNullable<ZodArray<ZodType<{
[key: string]: unknown;
target_field: string;
secret_reference_id: string;
secret_key?: string | null;
value_format?: string | null;
}, ZodTypeDef, {
[key: string]: unknown;
target_field: string;
secret_reference_id: string;
secret_key?: string | null;
value_format?: string | null;
}>, "many">>;
object: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
name: ZodString;
description: ZodNullable<ZodString>;
owner_id: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodString;
configurations: ZodType<{
[key: string]: unknown;
custom_headers?: {
[key: string]: unknown;
};
passthrough_header?: {
[key: string]: unknown;
};
}, ZodTypeDef, {
[key: string]: unknown;
custom_headers?: {
[key: string]: unknown;
};
passthrough_header?: {
[key: string]: unknown;
};
}>;
global_workspace_access: ZodNullable<ZodObject<{
enabled: ZodBoolean;
}, "passthrough", ZodTypeAny, objectOutputType<{
enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">, objectInputType<{
enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">>>;
workspace_id: ZodNullable<ZodString>;
slug: ZodString;
url: ZodString;
auth_type: ZodString;
transport: ZodString;
type: ZodString;
secret_mappings: ZodNullable<ZodArray<ZodType<{
[key: string]: unknown;
target_field: string;
secret_reference_id: string;
secret_key?: string | null;
value_format?: string | null;
}, ZodTypeDef, {
[key: string]: unknown;
target_field: string;
secret_reference_id: string;
secret_key?: string | null;
value_format?: string | null;
}>, "many">>;
object: ZodString;
}, ZodTypeAny, "passthrough">>;

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

MCP integration detail. Its configurations field is an object, unlike list rows.