import { z } from 'zod';

// OrderType is a union of specific string literals
export const OrderTypeSchema = z.union([
  z.literal('Rücklage'),
  z.literal('Abholung'),
  z.literal('Versand'),
  z.literal('DIG-Versand'),
  z.literal('B2B-Versand'),
  z.literal('Download'),
]).describe('Order type');

export type OrderType = z.infer<typeof OrderTypeSchema>;
