// This file is auto-generated by @hey-api/openapi-ts

import { oc } from '@orpc/contract'

import { zGetMcpOauthCallbackResponse } 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 get = 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: 'GET',
    operationId: 'getMcpOauthCallback',
    path: '/mcp/oauth/callback',
    tags: ['console'],
  })
  .output(zGetMcpOauthCallbackResponse)

export const callback = {
  get,
}

export const oauth = {
  callback,
}

export const mcp = {
  oauth,
}

export const contract = {
  mcp,
}
