import {SDE} from '../lp-types';

export const getSDEs = async (): Promise<SDE[]> => {
  const customerInfoSDE: SDE = {
    type: 'ctmrinfo',
    info: {customerId: '1234', accountName: 'user'},
  };

  const leadSDE: SDE = {
    type: 'lead',
    lead: {topic: 'topic'},
  };

  return [customerInfoSDE, leadSDE];
};

export const getLpLocale = (locale = '') => locale.split('-')[0];
