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

import { oc } from '@orpc/contract'
import * as z from 'zod'
import { zGetComplianceDownloadQuery, zGetComplianceDownloadResponse } from './zod.gen'

/**
 * Get compliance document download link
 */
export const get = oc
  .route({
    description: 'Get compliance document download link',
    inputStructure: 'detailed',
    method: 'GET',
    operationId: 'getComplianceDownload',
    path: '/compliance/download',
    tags: ['console'],
  })
  .input(z.object({ query: zGetComplianceDownloadQuery }))
  .output(zGetComplianceDownloadResponse)

export const download = {
  get,
}

export const compliance = {
  download,
}

export const contract = {
  compliance,
}
