import { CustServiceMessage } from '@spiffy-ai/commerce-api-client';

export enum ChatState {
  INITIAL = 'initial',
  FORM = 'form',
  CHAT = 'chat',
}

export type OutsideHoursFormData = {
  subject: string;
  name?: string;
  email: string;
  question: string;
};

export type Message = CustServiceMessage;

export enum CustomerServiceOverrides {
  LEGAL_MESSAGE = 'spiffy-customer-service-legal-message',
  DARK_BUTTON_CONTAINER = 'spiffy-customer-service-dark-button-container',
  DARK_BUTTON = 'spiffy-customer-service-dark-button',
  DARK_BUTTON_HOVER_TEXT = 'spiffy-customer-service-dark-button-hover-text',
  DARK_BUTTON_TEXT = 'spiffy-customer-service-dark-button-text',
  FORM_FIELD = 'spiffy-customer-service-form-field',
  AI_NAME = 'spiffy-customer-service-ai-name',
  WAITING_MESSAGE = 'spiffy-customer-service-waiting-message',
  WAITING_MESSAGE_ICON = 'spiffy-customer-service-waiting-message-icon',
}
