Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

621 B
Raw Blame
// This file is auto-generated. Do not edit directly.
import { z } from 'zod';

export const TaxRateSchema = z.object({
  id: z.string(),
  name: z.string(),
  show_rate_in_label: z.boolean(),
  metadata: z.record(z.string(), z.unknown()).nullable(),
  created_at: z.string(),
  updated_at: z.string(),
  deleted_at: z.string().nullable(),
  rate: z.string().nullable(),
  rate_percent: z.string().nullable(),
  tax_category_id: z.string().nullable(),
  store_id: z.string().nullable(),
  country_code: z.string().nullable(),
  state_code: z.string().nullable(),
});

export type TaxRate = z.infer<typeof TaxRateSchema>;