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

import * as z from 'zod'

/**
 * BillingInvoiceResponse
 */
export const zBillingInvoiceResponse = z.object({
  url: z.string(),
})

/**
 * PartnerTenantsPayload
 */
export const zPartnerTenantsPayload = z.object({
  click_id: z.string(),
})

/**
 * BillingResponse
 */
export const zBillingResponse = z.record(z.string(), z.unknown())

/**
 * Success
 */
export const zGetBillingInvoicesResponse = zBillingInvoiceResponse

export const zPutBillingPartnersByPartnerKeyTenantsBody = zPartnerTenantsPayload

export const zPutBillingPartnersByPartnerKeyTenantsPath = z.object({
  partner_key: z.string(),
})

/**
 * Tenants synced to partner successfully
 */
export const zPutBillingPartnersByPartnerKeyTenantsResponse = zBillingResponse

export const zGetBillingSubscriptionQuery = z.object({
  interval: z.enum(['month', 'year']),
  plan: z.enum(['professional', 'team']),
})

/**
 * Success
 */
export const zGetBillingSubscriptionResponse = zBillingResponse
