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

import * as z from 'zod'

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

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

/**
 * Success
 */
export const zGetBillingInvoicesResponse = zBillingResponse

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
