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.

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

export const ProductSubmissionSchema = z.object({
  id: z.string(),
  status: z.string(),
  review_note: z.string().nullable(),
  reviewed_at: z.string().nullable(),
  created_at: z.string(),
  product_id: z.string(),
  metadata: z.record(z.string(), z.unknown()).nullable(),
  updated_at: z.string(),
  submitted_by_id: z.string().nullable(),
  reviewed_by_id: z.string().nullable(),
  reviewed_by_name: z.string().nullable(),
  auto_approved: z.boolean(),
});

export type ProductSubmission = z.infer<typeof ProductSubmissionSchema>;