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

import * as z from 'zod'

/**
 * WebsiteCrawlPayload
 */
export const zWebsiteCrawlPayload = z.object({
  options: z.record(z.string(), z.unknown()),
  provider: z.enum(['firecrawl', 'jinareader', 'watercrawl']),
  url: z.string(),
})

export const zPostWebsiteCrawlBody = zWebsiteCrawlPayload

/**
 * Website crawl initiated successfully
 */
export const zPostWebsiteCrawlResponse = z.record(z.string(), z.unknown())

export const zGetWebsiteCrawlStatusByJobIdPath = z.object({
  job_id: z.string(),
})

export const zGetWebsiteCrawlStatusByJobIdQuery = z.object({
  provider: z.enum(['firecrawl', 'jinareader', 'watercrawl']),
})

/**
 * Crawl status retrieved successfully
 */
export const zGetWebsiteCrawlStatusByJobIdResponse = z.record(z.string(), z.unknown())
