// 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,
}
