dify/packages/contracts/generated/api/console/rule-structured-output-generate/orpc.gen.ts
Stephen Zhou a84c2d36a3
style: format with vp fmt (#38803)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 15:57:46 +00:00

32 lines
800 B
TypeScript

// This file is auto-generated by @hey-api/openapi-ts
import { oc } from '@orpc/contract'
import * as z from 'zod'
import {
zPostRuleStructuredOutputGenerateBody,
zPostRuleStructuredOutputGenerateResponse,
} from './zod.gen'
/**
* Generate structured output rules using LLM
*/
export const post = oc
.route({
description: 'Generate structured output rules using LLM',
inputStructure: 'detailed',
method: 'POST',
operationId: 'postRuleStructuredOutputGenerate',
path: '/rule-structured-output-generate',
tags: ['console'],
})
.input(z.object({ body: zPostRuleStructuredOutputGenerateBody }))
.output(zPostRuleStructuredOutputGenerateResponse)
export const ruleStructuredOutputGenerate = {
post,
}
export const contract = {
ruleStructuredOutputGenerate,
}