import { z } from 'zod';

export const SupplierType = {
  NotSet: 0,
  Publisher: 1,
  Wholesaler: 2,
  Distributor: 4,
} as const;

export const SupplierTypeSchema = z.nativeEnum(SupplierType).describe('Supplier type');

export type SupplierType = z.infer<typeof SupplierTypeSchema>;
