Variable: RestConnectionParamsSchema
const RestConnectionParamsSchema: ZodObject<{
multi_turn_supported: ZodOptional<ZodBoolean>;
api_endpoint: ZodOptional<ZodNullable<ZodString>>;
request_headers: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
request_json: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
response_json: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
response_key: ZodOptional<ZodNullable<ZodString>>;
target_connection_config: ZodOptional<ZodNullable<ZodType<TargetConnectionConfig, ZodTypeDef, TargetConnectionConfig>>>;
curl: ZodOptional<ZodNullable<ZodString>>;
multi_turn_config: ZodOptional<ZodNullable<ZodType<MultiTurnConfig, ZodTypeDef, MultiTurnConfig>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
multi_turn_supported: ZodOptional<ZodBoolean>;
api_endpoint: ZodOptional<ZodNullable<ZodString>>;
request_headers: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
request_json: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
response_json: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
response_key: ZodOptional<ZodNullable<ZodString>>;
target_connection_config: ZodOptional<ZodNullable<ZodType<TargetConnectionConfig, ZodTypeDef, TargetConnectionConfig>>>;
curl: ZodOptional<ZodNullable<ZodString>>;
multi_turn_config: ZodOptional<ZodNullable<ZodType<MultiTurnConfig, ZodTypeDef, MultiTurnConfig>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
multi_turn_supported: ZodOptional<ZodBoolean>;
api_endpoint: ZodOptional<ZodNullable<ZodString>>;
request_headers: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
request_json: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
response_json: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
response_key: ZodOptional<ZodNullable<ZodString>>;
target_connection_config: ZodOptional<ZodNullable<ZodType<TargetConnectionConfig, ZodTypeDef, TargetConnectionConfig>>>;
curl: ZodOptional<ZodNullable<ZodString>>;
multi_turn_config: ZodOptional<ZodNullable<ZodType<MultiTurnConfig, ZodTypeDef, MultiTurnConfig>>>;
}, ZodTypeAny, "passthrough">>;
Defined in: src/models/red-team.ts:209