dify/packages/contracts/generated/api/console/trial-models/orpc.gen.ts
林玮 (Jade Lin) 70a513fc62
fix(api): scope hosted credits by tenant plan (#41131)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-24 06:35:42 +00:00

30 lines
769 B
TypeScript

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