import { z } from 'zod';

export const ShippingType = {
  NotSet: 0,
  Parcel: 1,
  Letter: 2,
  Pallet: 4,
  Freight: 8,
  Digital: 16,
  InStore: 32,
  ClickAndCollect: 64,
  Dropship: 128,
} as const;

export const ShippingTypeSchema = z.nativeEnum(ShippingType).describe('Shipping type');

export type ShippingType = z.infer<typeof ShippingTypeSchema>;
