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

export type ClientOptions = {
  baseUrl: `${string}://${string}/console/api` | (string & {})
}

export type PartnerTenantsPayload = {
  click_id: string
}

export type GetBillingInvoicesData = {
  body?: never
  path?: never
  query?: never
  url: '/billing/invoices'
}

export type GetBillingInvoicesResponses = {
  200: {
    [key: string]: unknown
  }
}

export type GetBillingInvoicesResponse
  = GetBillingInvoicesResponses[keyof GetBillingInvoicesResponses]

export type PutBillingPartnersByPartnerKeyTenantsData = {
  body: PartnerTenantsPayload
  path: {
    partner_key: string
  }
  query?: never
  url: '/billing/partners/{partner_key}/tenants'
}

export type PutBillingPartnersByPartnerKeyTenantsErrors = {
  400: {
    [key: string]: unknown
  }
}

export type PutBillingPartnersByPartnerKeyTenantsError
  = PutBillingPartnersByPartnerKeyTenantsErrors[keyof PutBillingPartnersByPartnerKeyTenantsErrors]

export type PutBillingPartnersByPartnerKeyTenantsResponses = {
  200: {
    [key: string]: unknown
  }
}

export type PutBillingPartnersByPartnerKeyTenantsResponse
  = PutBillingPartnersByPartnerKeyTenantsResponses[keyof PutBillingPartnersByPartnerKeyTenantsResponses]

export type GetBillingSubscriptionData = {
  body?: never
  path?: never
  query?: never
  url: '/billing/subscription'
}

export type GetBillingSubscriptionResponses = {
  200: {
    [key: string]: unknown
  }
}

export type GetBillingSubscriptionResponse
  = GetBillingSubscriptionResponses[keyof GetBillingSubscriptionResponses]
