import { z } from 'zod';

export const EnvironmentChannel = {
  NotSet: 0,
  System: 1,
  Branch: 2,
  CallCenter: 4,
  WWW: 8,
  Mobile: 16,
  BackOffice: 32,
} as const;

export const EnvironmentChannelSchema = z.nativeEnum(EnvironmentChannel).describe('Environment channel');

export type EnvironmentChannel = z.infer<typeof EnvironmentChannelSchema>;
