HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/buyercall/assets/vue/widgets/CommWidget/InitialConfig.js
export default {};

export const chatConfig = {
  load: false,
  TYPE: 'CHAT',
  title: 'Chat',
  requiredLeadFields: [
    'FIRST_NAME',
    'LAST_NAME',
    'PHONE_NUMBER',
    'EMAIL_ADDRESS',
  ],
  subTitle: 'Please complete all fields below to send us a message.',
  leadSubmitButtonName: 'Continue',
  icon: 'chat-sml',
  avatarIcon: '',
  avatarName: '',
  chatOptions: ['Opt in', 'Trade'],
  chatWelcomeMessage: 'Hi welcome',
  doingInitializeChatAPI: false,
  errorInitializeChatAPI: null,
  leadId: null,
  leadData: null,
  chatSessionId: localStorage.getItem('bc_chat_sessionID'),
  chatMessages: [],
  channel_id: null,
  source_id: null,
};

export const callConfig = {
  load: false,
  TYPE: 'CALL',
  title: 'Call',
  subTitle:
    "We can't wait to talk to you. But first, please take a moment to tell us a bit of yourself.",
  requiredLeadFields: [
    'FIRST_NAME',
    'LAST_NAME',
    'PHONE_NUMBER',
    'EMAIL_ADDRESS',
  ],
  leadSubmitButtonName: 'Send Call',
  icon: 'ph-sml',
  doingStartCallAPI: false,
  errorStartCallAPI: null,
  doingCallStatusAPI: false,
  errorCallStatusAPI: null,
  callStatusTimerID: null,
  leadID: null,
  callConnected: false,
};

export const textMessageConfig = {
  load: false,
  TYPE: 'TEXT_MESSAGE',
  title: 'Message',
  subTitle: 'Please complete all fields below to send us a message.',
  requiredLeadFields: [
    'FIRST_NAME',
    'LAST_NAME',
    'PHONE_NUMBER',
    'EMAIL_ADDRESS',
    'MESSAGE',
  ],
  leadSubmitButtonName: 'Send Message',
  icon: 'snd-sm',
  doingSendMessageAPI: false,
  errorSendMessageAPI: null,
  messageSend: false,
};

export const emailConfig = {
  load: false,
  TYPE: 'EMAIL',
  title: 'Email',
  subTitle: 'Please complete all fields below to send us an email.',
  requiredLeadFields: [
    'FIRST_NAME',
    'LAST_NAME',
    'PHONE_NUMBER',
    'EMAIL_ADDRESS',
    'MESSAGE',
  ],
  leadSubmitButtonName: 'Send Mail',
  icon: 'msg-sml',
  doingSendEmailAPI: false,
  errorSendEmailAPI: null,
  emailSend: false,
  channel_id: null,
  source_id: null,
};