import { z } from 'zod';

export const TypeOfDelivery = {
  NotSet: 0,
  Standard: 1,
  Express: 2,
  SameDay: 4,
  Pickup: 8,
  Economy: 16,
  Overnight: 32,
  International: 64,
} as const;

export const TypeOfDeliverySchema = z.nativeEnum(TypeOfDelivery).describe('Type of delivery');

export type TypeOfDelivery = z.infer<typeof TypeOfDeliverySchema>;
