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.

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

export const ShippingLabelSchema = z.object({
  id: z.string(),
  source: z.string(),
  status: z.string(),
  carrier: z.string().nullable(),
  carrier_name: z.string().nullable(),
  service: z.string().nullable(),
  tracking_number: z.string().nullable(),
  currency: z.string().nullable(),
  format: z.string().nullable(),
  external_id: z.string().nullable(),
  metadata: z.record(z.string(), z.unknown()),
  refunded_at: z.string().nullable(),
  created_at: z.string(),
  updated_at: z.string(),
  owner_id: z.string(),
  owner_type: z.string(),
  cost: z.string(),
  integration_id: z.string().nullable(),
  file_pending: z.boolean(),
  download_url: z.string().nullable(),
});

export type ShippingLabel = z.infer<typeof ShippingLabelSchema>;