import React from 'react';
import { Settings } from './types';

interface WizardSettingsContextProps extends Settings {}

const SettingsContext = React.createContext<WizardSettingsContextProps>({
  language: 'nl-BE',
  token: '',
  generatePaymentUrl: false,
  officeId: 1,
  tagIds: [],
  hideAgentSelection: false,
  agentAdressId: undefined,
  affiliateSlug: undefined,
  productPath: '/',
  basePath: '/boeken',
  skipBasePathInRouting: false,
  roomOptions: {
    pathSuffix: '/'
  },
  flightOptions: {
    pathSuffix: '/vluchten'
  },
  options: {
    pathSuffix: '/opties',
    reportPrintActionId: null
  },
  travellers: {
    pathSuffix: '/reizigers',
    travelersFirstStep: false,
    showAllCountries: false
  },
  summary: {
    pathSuffix: '/samenvatting',
    checkboxes: null
  },
  confirmation: {
    pathSuffix: '/bevestiging'
  },
  error: {
    pathSuffix: '/mislukt'
  },
  companyContactEmail: 'info@tidesoftware.be',
  companyContactPhone: '093362299',
  showProductCardRating: false,
  showSidebarDeposit: false,
  sidebarHeaderComponent: null,
  sidebarFooterComponent: null,
  loaderComponent: null,
  icons: null,
  bookingOptions: {
    b2b: {
      entryStatus: 0
    },
    b2b2c: {
      entryStatus: 0
    },
    b2c: {
      entryStatus: 0
    }
  }
});

export default SettingsContext;
