export enum ServiceManagementRole {
  ADMIN = 'ADMIN',
  INITIATOR = 'INITIATOR',
  AGENT = 'AGENT',
  COORDINATOR = 'COORDINATOR',
  APPROVER = 'APPROVER',
  USER = 'USER',
}

export enum RequestStatus {
  UNASSIGNED = 'SIN ASIGNAR',
  CANCELED = 'CANCELADA',
  ASSIGNED = 'ASIGNADA',
  IN_PROGRESS = 'EN PROCESO',
  ON_HOLD = 'EN ESPERA',
  CLOSED = 'CERRADA',
}

export enum BannerColor {
  BLUE = 'BLUE',
  PURPLE = 'PURPLE',
  VIOLET = 'VIOLET',
  PINK = 'PINK',
  RED = 'RED',
  ORANGE = 'ORANGE',
  YELLOW = 'YELLOW',
  GREEN = 'GREEN',
  AQUA = 'AQUA',
  GREY = 'GREY',
}

export enum PlatformType {
  WEB = 'WEB',
  MOBILE = 'MOBILE',
}

export type SmSortDirection = 'ASC' | 'DESC';
export type SmSortField = 'CREATED_AT' | 'UPDATED_AT';

export type ServiceManagementError = {
  code: string;
  message: string;
  moreInformation?: string;
};

export type DateOption = {
  name: string;
  label: string;
};

export type DateRange = {
  start: Date | null;
  end: Date | null;
};

export type DateRangeOptions = {
  lastSevenDays: boolean;
  lastFourteenDays: boolean;
  lastThirtyDays: boolean;
  dateRange: boolean;
};
