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

37 lines
1.0 KiB
TypeScript

// This file is auto-generated by @hey-api/openapi-ts
import { oc } from '@orpc/contract'
import { zGetFeaturesResponse } from './zod.gen'
/**
* Get feature configuration for current tenant
*
* Get feature configuration for current tenant
*
* 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 get = oc
.route({
deprecated: true,
description:
'Get feature configuration for current tenant\n\nGenerated contract types may be inaccurate because backend OpenAPI annotations are incomplete. Do not migrate callers until the generated contract is accurate.',
inputStructure: 'detailed',
method: 'GET',
operationId: 'getFeatures',
path: '/features',
summary: 'Get feature configuration for current tenant',
tags: ['console'],
})
.output(zGetFeaturesResponse)
export const features = {
get,
}
export const contract = {
features,
}