mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 21:01:18 -04:00
24 lines
449 B
TypeScript
24 lines
449 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
|
|
import { zPostRefreshTokenResponse } from './zod.gen'
|
|
|
|
export const post = oc
|
|
.route({
|
|
inputStructure: 'detailed',
|
|
method: 'POST',
|
|
operationId: 'postRefreshToken',
|
|
path: '/refresh-token',
|
|
tags: ['console'],
|
|
})
|
|
.output(zPostRefreshTokenResponse)
|
|
|
|
export const refreshToken = {
|
|
post,
|
|
}
|
|
|
|
export const contract = {
|
|
refreshToken,
|
|
}
|