mirror of
https://github.com/langgenius/dify.git
synced 2026-05-26 11:57:40 +08:00
32 lines
846 B
TypeScript
32 lines
846 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
|
|
import { zPostRefreshTokenResponse } 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: 'postRefreshToken',
|
|
path: '/refresh-token',
|
|
tags: ['console'],
|
|
})
|
|
.output(zPostRefreshTokenResponse)
|
|
|
|
export const refreshToken = {
|
|
post,
|
|
}
|
|
|
|
export const contract = {
|
|
refreshToken,
|
|
}
|