Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / api / chatWebsite / chatWebsite.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x5ad3=['Form\x20submission\x20error','Note','Type\x20a\x20message','Thanks\x20you\x20for\x20your\x20time!','Feedback','star','thumb','stringify','input','name','text','getDataValue','onlineForm','setDataValue','textarea','Comments','Leave\x20your\x20comments','offlineForm','parse','All\x20of\x20our\x20agents\x20are\x20busy\x20at\x20this\x20time.\x20Your\x20chat\x20is\x20very\x20important\x20to\x20us.','Please\x20hold\x20and\x20we\x20will\x20answer\x20your\x20request\x20as\x20soon\x20as\x20possible.','New\x20offline\x20message\x20from\x20websiteName','You\x20received\x20a\x20new\x20offline\x20message\x20from\x20websiteName.\x20Here\x20you\x20can\x20find\x20the\x20details\x20of\x20the\x20request:','Skip','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','website_alias','alternate','#fafafa','System','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDisposition','sequelize','randomstring','exports','STRING','address','email','Agent','#011F6A','#ffffff','BOOLEAN','ENUM','squared','rounded','Chat','Send','INTEGER','Powered\x20by\x20xCALLY','TEXT'];(function(_0x53d2d4,_0x1f63eb){var _0x2128d2=function(_0x5e9f21){while(--_0x5e9f21){_0x53d2d4['push'](_0x53d2d4['shift']());}};_0x2128d2(++_0x1f63eb);}(_0x5ad3,0x1e2));var _0x35ad=function(_0x90e3d5,_0x3eea2b){_0x90e3d5=_0x90e3d5-0x0;var _0x5c2252=_0x5ad3[_0x90e3d5];return _0x5c2252;};'use strict';var Sequelize=require(_0x35ad('0x0'));var rs=require(_0x35ad('0x1'));module[_0x35ad('0x2')]={'name':{'type':Sequelize[_0x35ad('0x3')],'allowNull':![]},'address':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x35ad('0x4')},'description':{'type':Sequelize[_0x35ad('0x3')]},'mapKey':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x5')},'mapKeyOffline':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x5')},'key':{'type':Sequelize[_0x35ad('0x3')],'allowNull':![]},'agentAlias':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x6')},'customerAlias':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':'Me'},'color':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x35ad('0x7'),'validate':{'notEmpty':!![]}},'color_button':{'type':Sequelize[_0x35ad('0x3')],'allowNull':![],'defaultValue':_0x35ad('0x7'),'validate':{'notEmpty':!![]}},'textColor':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x35ad('0x8'),'validate':{'notEmpty':!![]}},'fontSize':{'type':Sequelize['INTEGER'],'defaultValue':0xf},'remote':{'type':Sequelize['STRING']},'animation':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':!![]},'header_shape':{'type':Sequelize[_0x35ad('0xa')]('rounded',_0x35ad('0xb')),'defaultValue':_0x35ad('0xc')},'header_online':{'type':Sequelize['STRING'],'defaultValue':'We\x20are\x20here!'},'start_chat_button':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0xd')},'offline_chat_button':{'type':Sequelize['STRING'],'defaultValue':_0x35ad('0xe')},'header_offline':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':'Contact\x20us'},'download_transcript':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'timeout':{'type':Sequelize[_0x35ad('0xf')],'defaultValue':0x0},'whiteLabel':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x10')},'defaultWhiteLabel':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sitepic':{'type':Sequelize[_0x35ad('0x11')]},'closingQuestion':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':'Do\x20you\x20want\x20to\x20close\x20the\x20interaction?'},'formSubmitSuccessMessage':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':'Form\x20properly\x20submitted'},'formSubmitFailureMessage':{'type':Sequelize['STRING'],'defaultValue':_0x35ad('0x12')},'noteTitle':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x13')},'placeholderMessage':{'type':Sequelize['STRING'],'defaultValue':_0x35ad('0x14')},'closingMessage':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x15')},'closingMessageButton':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0xe')},'skipMessageButton':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':'Skip'},'conditionAgreement':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'enableRating':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'enableFeedback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'enableSendButton':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'feedbackTitle':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x16')},'ratingType':{'type':Sequelize['ENUM'](_0x35ad('0x17'),_0x35ad('0x18')),'defaultValue':'star'},'ratingStarsNumber':{'type':Sequelize[_0x35ad('0xf')],'defaultValue':0x5},'onlineForm':{'type':Sequelize[_0x35ad('0x11')],'defaultValue':function(){return JSON[_0x35ad('0x19')]({'items':[{'type':_0x35ad('0x1a'),'variable':null,'config':{'placeholder':_0x35ad('0x1b'),'type':_0x35ad('0x1c'),'required':!![]},'props':{'title':_0x35ad('0x1b'),'helpText':''}},{'type':_0x35ad('0x1a'),'props':{'title':_0x35ad('0x5'),'helpText':''},'config':{'required':!![],'placeholder':_0x35ad('0x5'),'type':'email'},'variable':null}],'fromKey':0x1});},'get':function(){return this[_0x35ad('0x1d')](_0x35ad('0x1e'))?JSON['parse'](this[_0x35ad('0x1d')](_0x35ad('0x1e'))):{};},'set':function(_0xa3cb9f){return this[_0x35ad('0x1f')](_0x35ad('0x1e'),JSON['stringify'](_0xa3cb9f));}},'offlineForm':{'type':Sequelize[_0x35ad('0x11')],'defaultValue':function(){return JSON[_0x35ad('0x19')]({'items':[{'type':_0x35ad('0x1a'),'props':{'title':_0x35ad('0x5'),'helpText':''},'config':{'required':!![],'placeholder':_0x35ad('0x5'),'type':_0x35ad('0x5')},'variable':null},{'type':_0x35ad('0x20'),'config':{'placeholder':_0x35ad('0x21')},'props':{'title':'Comments','helpText':_0x35ad('0x22')}}],'fromKey':0x0});},'get':function(){return this[_0x35ad('0x1d')](_0x35ad('0x23'))?JSON[_0x35ad('0x24')](this[_0x35ad('0x1d')]('offlineForm')):{};},'set':function(_0x571ad6){return this[_0x35ad('0x1f')]('offlineForm',JSON[_0x35ad('0x19')](_0x571ad6));}},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs['generate']();}},'autoclose':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'enableCustomerWriting':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'forwardTranscript':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'forwardTranscriptMessage':{'type':Sequelize['STRING']},'forwardOffline':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'forwardOfflineAddress':{'type':Sequelize[_0x35ad('0x3')]},'waitingTitle':{'type':Sequelize['STRING'],'defaultValue':_0x35ad('0x25')},'waitingMessage':{'type':Sequelize['STRING'],'defaultValue':_0x35ad('0x26')},'offlineMessageSubject':{'type':Sequelize['STRING'],'defaultValue':_0x35ad('0x27')},'offlineMessageBody':{'type':Sequelize['STRING'],'defaultValue':_0x35ad('0x28')},'enableUnmanagedNote':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':!![]},'unmanagedMessage':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':'Your\x20request\x20has\x20not\x20been\x20processed.'},'skipUnmanaged':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x29')},'sendUnmanaged':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0xe')},'enableCustomerAttachment':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'enableCustomerCheckmarks':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentAvatar':{'type':Sequelize['TEXT']},'showAgentAvatar':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'timezone':{'type':Sequelize[_0x35ad('0x3')]},'notificationTemplate':{'type':Sequelize[_0x35ad('0x11')],'defaultValue':function(){return _0x35ad('0x2a');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'hideWhenOffline':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'agentIdentifier':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x2b')},'waitForTheAssignedAgent':{'type':Sequelize[_0x35ad('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'alignment':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':'bottom_right'},'verticalAlignment':{'type':Sequelize['INTEGER'],'defaultValue':0x1e},'messagesAlignment':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x2c')},'defaultTitle':{'type':Sequelize[_0x35ad('0x3')]},'customerAvatar':{'type':Sequelize[_0x35ad('0x11')]},'showCustomerAvatar':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'messageFontSize':{'type':Sequelize[_0x35ad('0xf')],'defaultValue':0xc},'backgroundColor':{'type':Sequelize[_0x35ad('0x3')],'allowNull':![],'defaultValue':_0x35ad('0x2d'),'validate':{'notEmpty':!![]}},'queueTransfer':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'systemAlias':{'type':Sequelize[_0x35ad('0x3')],'defaultValue':_0x35ad('0x2e')},'systemAvatar':{'type':Sequelize[_0x35ad('0x11')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0x35ad('0xf')],'comment':_0x35ad('0x2f')},'mandatoryDisposition':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![],'comment':_0x35ad('0x30'),'set':function(_0x1bfd91){if(!_0x1bfd91)this[_0x35ad('0x1f')]('mandatoryDispositionPauseId',null);this[_0x35ad('0x1f')](_0x35ad('0x31'),_0x1bfd91);}},'vidaooEscalation':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![]},'vidaooApiKey':{'type':Sequelize['STRING'],'defaultValue':![]},'openNewInteraction':{'type':Sequelize[_0x35ad('0x9')],'defaultValue':![],'allowNull':!![]},'subjectOffline':{'type':Sequelize[_0x35ad('0x11')]}};