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.

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

export const ClaimLineItemSchema = z.object({
  id: z.string(),
  quantity: z.number(),
  send_replacement: z.boolean(),
  description: z.string().nullable(),
  refund_amount: z.string().nullable(),
  paid_amount: z.string().nullable(),
  pre_tax_amount: z.string().nullable(),
  included_tax_total: z.string().nullable(),
  additional_tax_total: z.string().nullable(),
  tax_total: z.string().nullable(),
  display_refund_amount: z.string().nullable(),
  variant_id: z.string().nullable(),
  replacement_variant_id: z.string().nullable(),
  line_item_id: z.string().nullable(),
  variant: VariantSchema.optional(),
});

export type ClaimLineItem = z.infer<typeof ClaimLineItemSchema>;