import { z } from 'zod';

export const OrderType = {
  NotSet: 0,
  Branch: 1,
  Mail: 2,
  Download: 4,
  BranchAndDownload: 5, // Branch | Download
  MailAndDownload: 6, // Mail | Download
} as const;

export const OrderTypeSchema = z.nativeEnum(OrderType).describe('Order type');

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