import { z } from 'zod';

export const BuyerType = {
  NotSet: 0,
  ContactCustomer: 1,
  BranchCustomer: 2,
  Staff: 4,
  B2C: 8,
  B2B: 16,
} as const;

export const BuyerTypeSchema = z.nativeEnum(BuyerType).describe('Buyer type');

export type BuyerType = z.infer<typeof BuyerTypeSchema>;
