Files
dify/packages/contracts/generated/api/console/info/orpc.gen.ts
2026-05-18 07:41:23 +00:00

32 lines
797 B
TypeScript

// This file is auto-generated by @hey-api/openapi-ts
import { oc } from '@orpc/contract'
import { zPostInfoResponse } from './zod.gen'
/**
* Generated contract types may be inaccurate because backend OpenAPI annotations are incomplete. Do not migrate callers until the generated contract is accurate.
*
* @deprecated
*/
export const post = oc
.route({
deprecated: true,
description:
'Generated contract types may be inaccurate because backend OpenAPI annotations are incomplete. Do not migrate callers until the generated contract is accurate.',
inputStructure: 'detailed',
method: 'POST',
operationId: 'postInfo',
path: '/info',
tags: ['console'],
})
.output(zPostInfoResponse)
export const info = {
post,
}
export const contract = {
info,
}