import { s__ } from '~/locale';

export const ALERT_STATUSES = {
  ACKNOWLEDGED: s__('AlertManagement|Acknowledged'),
  RESOLVED: s__('AlertManagement|Resolved'),
};

export const DEFAULT_ACTION = 'EMAIL_ONCALL_SCHEDULE_USER';

export const ACTIONS = {
  [DEFAULT_ACTION]: s__('EscalationPolicies|Email on-call user in schedule'),
};

export const DEFAULT_ESCALATION_RULE = {
  status: 'ACKNOWLEDGED',
  elapsedTimeSeconds: 0,
  action: 'EMAIL_ONCALL_SCHEDULE_USER',
  oncallScheduleIid: null,
};

export const addEscalationPolicyModalId = 'addEscalationPolicyModal';
export const editEscalationPolicyModalId = 'editEscalationPolicyModal';
