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.

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

export const SellerRequirementSchema = z.object({
  id: z.string(),
  position: z.number(),
  active: z.boolean(),
  required: z.boolean(),
  metadata: z.record(z.string(), z.unknown()).nullable(),
  created_at: z.string(),
  updated_at: z.string(),
  kind: z.string(),
  name: z.string(),
  description: z.string().nullable(),
  preferences: z.record(z.string(), z.unknown()),
  custom_field_definition_ids: z.array(z.string()),
  allow_multiple: z.boolean(),
  accepts_submissions: z.boolean(),
  reviewed_by_operator: z.boolean(),
});

export type SellerRequirement = z.infer<typeof SellerRequirementSchema>;