dify/packages/contracts/generated/api/console/trial-models/orpc.gen.ts
非法操作 ec5404cc9d
chore: split trial models to a single API (#36796)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-31 13:09:13 +00:00

31 lines
724 B
TypeScript

// This file is auto-generated by @hey-api/openapi-ts
import { oc } from '@orpc/contract'
import { zGetTrialModelsResponse } from './zod.gen'
/**
* Get hosted trial model provider configuration for model-provider pages
*
* Get hosted trial model provider configuration
*/
export const get = oc
.route({
description: 'Get hosted trial model provider configuration',
inputStructure: 'detailed',
method: 'GET',
operationId: 'getTrialModels',
path: '/trial-models',
summary: 'Get hosted trial model provider configuration for model-provider pages',
tags: ['console'],
})
.output(zGetTrialModelsResponse)
export const trialModels = {
get,
}
export const contract = {
trialModels,
}