import { z } from 'zod';

export const PayerStatus = {
  NotSet: 0,
  Blocked: 1,
  Check: 2,
  LowDegreeOfCreditworthiness: 4,
  Dunning1: 8,
  Dunning2: 16,
} as const;

export const PayerStatusSchema = z.nativeEnum(PayerStatus).describe('Payer status');

export type PayerStatus = z.infer<typeof PayerStatusSchema>;
