Skip to main content

Variable: McpIntegrationUpdateRequestSchema

const McpIntegrationUpdateRequestSchema: ZodEffects<ZodObject<{
name: ZodOptional<ZodString>;
description: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodIntersection<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;
};
}>, ZodType<GatewayJsonObject, ZodTypeDef, GatewayJsonObject>>>;
url: ZodOptional<ZodString>;
auth_type: ZodOptional<ZodType<GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">, ZodTypeDef, GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">>>;
transport: ZodOptional<ZodType<GatewayOpenValue<"http" | "interactive" | "sse">, ZodTypeDef, GatewayOpenValue<"http" | "interactive" | "sse">>>;
secret_mappings: ZodOptional<ZodArray<ZodObject<{
target_field: ZodString;
secret_reference_id: ZodString;
secret_key: ZodOptional<ZodNullable<ZodString>>;
value_format: ZodOptional<ZodNullable<ZodEnum<[..., ...]>>>;
}, "strict", ZodTypeAny, {
target_field: string;
secret_reference_id: string;
secret_key?: string | null;
value_format?: "string" | "json" | null;
}, {
target_field: string;
secret_reference_id: string;
secret_key?: string | null;
value_format?: "string" | "json" | null;
}>, "many">>;
}, "strict", ZodTypeAny, {
name?: string;
description?: string | null;
configurations?: {
[key: string]: unknown;
custom_headers?: {
[key: string]: unknown;
};
passthrough_header?: {
[key: string]: unknown;
};
} & GatewayJsonObject;
url?: string;
auth_type?: GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">;
transport?: GatewayOpenValue<"http" | "interactive" | "sse">;
secret_mappings?: {
target_field: string;
secret_reference_id: string;
secret_key?: string | null;
value_format?: "string" | "json" | null;
}[];
}, {
name?: string;
description?: string | null;
configurations?: {
[key: string]: unknown;
custom_headers?: {
[key: string]: unknown;
};
passthrough_header?: {
[key: string]: unknown;
};
} & GatewayJsonObject;
url?: string;
auth_type?: GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">;
transport?: GatewayOpenValue<"http" | "interactive" | "sse">;
secret_mappings?: {
target_field: string;
secret_reference_id: string;
secret_key?: string | null;
value_format?: "string" | "json" | null;
}[];
}>, {
[key: string]: any;
}, {
[key: string]: any;
}>;

Defined in: src/models/ai-gateway-requests.ts:431