Built motion from commit (unavailable).|2.0.70
[motion2.git] / server / api / chatWebsite / chatWebsite.attributes.js
index 6a7f99a..08d846d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8d0e=['Comments','offlineForm','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:','Your\x20request\x20has\x20not\x20been\x20processed.','website_alias','bottom_right','sequelize','randomstring','exports','STRING','address','email','Agent','#9f946a','#ffffff','BOOLEAN','ENUM','rounded','We\x20are\x20here!','Chat','Contact\x20us','INTEGER','TEXT','Do\x20you\x20want\x20to\x20close\x20the\x20interaction?','Form\x20properly\x20submitted','Form\x20submission\x20error','Note','Type\x20a\x20message','Send','Skip','star','stringify','input','name','text','getDataValue','onlineForm','setDataValue','textarea'];(function(_0x2de014,_0x70aeaa){var _0x2fdfff=function(_0x109838){while(--_0x109838){_0x2de014['push'](_0x2de014['shift']());}};_0x2fdfff(++_0x70aeaa);}(_0x8d0e,0x1d7));var _0xe8d0=function(_0x38e635,_0x430371){_0x38e635=_0x38e635-0x0;var _0x420182=_0x8d0e[_0x38e635];return _0x420182;};'use strict';var Sequelize=require(_0xe8d0('0x0'));var rs=require(_0xe8d0('0x1'));module[_0xe8d0('0x2')]={'name':{'type':Sequelize[_0xe8d0('0x3')],'allowNull':![]},'address':{'type':Sequelize[_0xe8d0('0x3')],'allowNull':![],'unique':_0xe8d0('0x4')},'description':{'type':Sequelize[_0xe8d0('0x3')]},'mapKey':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0x5')},'mapKeyOffline':{'type':Sequelize['STRING'],'defaultValue':_0xe8d0('0x5')},'key':{'type':Sequelize['STRING'],'allowNull':![]},'agentAlias':{'type':Sequelize['STRING'],'defaultValue':_0xe8d0('0x6')},'customerAlias':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':'Me'},'color':{'type':Sequelize[_0xe8d0('0x3')],'allowNull':![],'defaultValue':_0xe8d0('0x7'),'validate':{'notEmpty':!![]}},'color_button':{'type':Sequelize[_0xe8d0('0x3')],'allowNull':![],'defaultValue':_0xe8d0('0x7'),'validate':{'notEmpty':!![]}},'textColor':{'type':Sequelize[_0xe8d0('0x3')],'allowNull':![],'defaultValue':_0xe8d0('0x8'),'validate':{'notEmpty':!![]}},'fontSize':{'type':Sequelize['INTEGER'],'defaultValue':0xf},'remote':{'type':Sequelize[_0xe8d0('0x3')]},'animation':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':!![]},'header_shape':{'type':Sequelize[_0xe8d0('0xa')]('rounded','squared'),'defaultValue':_0xe8d0('0xb')},'header_online':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0xc')},'start_chat_button':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0xd')},'offline_chat_button':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':'Send'},'header_offline':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0xe')},'download_transcript':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'timeout':{'type':Sequelize[_0xe8d0('0xf')],'defaultValue':0x0},'whiteLabel':{'type':Sequelize['STRING'],'defaultValue':'Powered\x20by\x20xCALLY'},'defaultWhiteLabel':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':!![]},'sitepic':{'type':Sequelize[_0xe8d0('0x10')]},'closingQuestion':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0x11')},'formSubmitSuccessMessage':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0x12')},'formSubmitFailureMessage':{'type':Sequelize['STRING'],'defaultValue':_0xe8d0('0x13')},'noteTitle':{'type':Sequelize['STRING'],'defaultValue':_0xe8d0('0x14')},'placeholderMessage':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0x15')},'closingMessage':{'type':Sequelize['STRING'],'defaultValue':'Thanks\x20you\x20for\x20your\x20time!'},'closingMessageButton':{'type':Sequelize['STRING'],'defaultValue':_0xe8d0('0x16')},'skipMessageButton':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0x17')},'conditionAgreement':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':![]},'enableRating':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':![]},'enableFeedback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingType':{'type':Sequelize[_0xe8d0('0xa')](_0xe8d0('0x18'),'thumb'),'defaultValue':'star'},'ratingStarsNumber':{'type':Sequelize['INTEGER'],'defaultValue':0x5},'onlineForm':{'type':Sequelize[_0xe8d0('0x10')],'defaultValue':function(){return JSON[_0xe8d0('0x19')]({'items':[{'type':_0xe8d0('0x1a'),'variable':null,'config':{'placeholder':_0xe8d0('0x1b'),'type':_0xe8d0('0x1c'),'required':!![]},'props':{'title':_0xe8d0('0x1b'),'helpText':''}},{'type':_0xe8d0('0x1a'),'props':{'title':_0xe8d0('0x5'),'helpText':''},'config':{'required':!![],'placeholder':_0xe8d0('0x5'),'type':'email'},'variable':null}],'fromKey':0x1});},'get':function(){return this[_0xe8d0('0x1d')](_0xe8d0('0x1e'))?JSON['parse'](this[_0xe8d0('0x1d')](_0xe8d0('0x1e'))):{};},'set':function(_0x274cac){return this[_0xe8d0('0x1f')](_0xe8d0('0x1e'),JSON[_0xe8d0('0x19')](_0x274cac));}},'offlineForm':{'type':Sequelize[_0xe8d0('0x10')],'defaultValue':function(){return JSON[_0xe8d0('0x19')]({'items':[{'type':_0xe8d0('0x1a'),'props':{'title':_0xe8d0('0x5'),'helpText':''},'config':{'required':!![],'placeholder':_0xe8d0('0x5'),'type':'email'},'variable':null},{'type':_0xe8d0('0x20'),'config':{'placeholder':_0xe8d0('0x21')},'props':{'title':_0xe8d0('0x21'),'helpText':'Leave\x20your\x20comments'}}],'fromKey':0x0});},'get':function(){return this[_0xe8d0('0x1d')](_0xe8d0('0x22'))?JSON['parse'](this[_0xe8d0('0x1d')](_0xe8d0('0x22'))):{};},'set':function(_0x11fcf2){return this[_0xe8d0('0x1f')](_0xe8d0('0x22'),JSON['stringify'](_0x11fcf2));}},'token':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':function(){return rs['generate']();}},'autoclose':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'enableCustomerWriting':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'forwardTranscript':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':![]},'forwardTranscriptMessage':{'type':Sequelize[_0xe8d0('0x3')]},'forwardOffline':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':![]},'forwardOfflineAddress':{'type':Sequelize['STRING']},'waitingTitle':{'type':Sequelize['STRING'],'defaultValue':_0xe8d0('0x23')},'waitingMessage':{'type':Sequelize['STRING'],'defaultValue':_0xe8d0('0x24')},'offlineMessageSubject':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0x25')},'offlineMessageBody':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0x26')},'enableUnmanagedNote':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'unmanagedMessage':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0x27')},'skipUnmanaged':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0x17')},'sendUnmanaged':{'type':Sequelize['STRING'],'defaultValue':_0xe8d0('0x16')},'enableCustomerAttachment':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':![]},'agentAvatar':{'type':Sequelize['TEXT']},'showAgentAvatar':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':![]},'timezone':{'type':Sequelize['STRING']},'notificationTemplate':{'type':Sequelize[_0xe8d0('0x10')],'defaultValue':function(){return'Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}';}},'notificationSound':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'hideWhenOffline':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':![]},'agentIdentifier':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':_0xe8d0('0x28')},'waitForTheAssignedAgent':{'type':Sequelize[_0xe8d0('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'alignment':{'type':Sequelize['STRING'],'defaultValue':_0xe8d0('0x29')},'verticalAlignment':{'type':Sequelize[_0xe8d0('0xf')],'defaultValue':0x1e},'messagesAlignment':{'type':Sequelize[_0xe8d0('0x3')],'defaultValue':'alternate'},'defaultTitle':{'type':Sequelize[_0xe8d0('0x3')]},'customerAvatar':{'type':Sequelize[_0xe8d0('0x10')]},'showCustomerAvatar':{'type':Sequelize[_0xe8d0('0x9')],'defaultValue':![]},'messageFontSize':{'type':Sequelize[_0xe8d0('0xf')],'defaultValue':0xc},'backgroundColor':{'type':Sequelize[_0xe8d0('0x3')],'allowNull':![],'defaultValue':'#fafafa','validate':{'notEmpty':!![]}}};
\ No newline at end of file
+var _0x0e85=['offlineForm','generate','Please\x20hold\x20and\x20we\x20will\x20answer\x20your\x20request\x20as\x20soon\x20as\x20possible.','You\x20received\x20a\x20new\x20offline\x20message\x20from\x20websiteName.\x20Here\x20you\x20can\x20find\x20the\x20details\x20of\x20the\x20request:','Your\x20request\x20has\x20not\x20been\x20processed.','website_alias','alternate','sequelize','randomstring','STRING','email','Agent','#9f946a','#ffffff','BOOLEAN','ENUM','rounded','squared','We\x20are\x20here!','Send','INTEGER','Powered\x20by\x20xCALLY','TEXT','Do\x20you\x20want\x20to\x20close\x20the\x20interaction?','Form\x20submission\x20error','Note','Type\x20a\x20message','Skip','star','stringify','input','text','name','getDataValue','onlineForm','setDataValue','textarea','Comments','Leave\x20your\x20comments'];(function(_0xb95814,_0x21d0a5){var _0x3f755b=function(_0x4f123b){while(--_0x4f123b){_0xb95814['push'](_0xb95814['shift']());}};_0x3f755b(++_0x21d0a5);}(_0x0e85,0x7c));var _0x50e8=function(_0x45783c,_0x49c56d){_0x45783c=_0x45783c-0x0;var _0x1161da=_0x0e85[_0x45783c];return _0x1161da;};'use strict';var Sequelize=require(_0x50e8('0x0'));var rs=require(_0x50e8('0x1'));module['exports']={'name':{'type':Sequelize[_0x50e8('0x2')],'allowNull':![]},'address':{'type':Sequelize[_0x50e8('0x2')],'allowNull':![],'unique':'address'},'description':{'type':Sequelize['STRING']},'mapKey':{'type':Sequelize['STRING'],'defaultValue':_0x50e8('0x3')},'mapKeyOffline':{'type':Sequelize['STRING'],'defaultValue':_0x50e8('0x3')},'key':{'type':Sequelize[_0x50e8('0x2')],'allowNull':![]},'agentAlias':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0x4')},'customerAlias':{'type':Sequelize['STRING'],'defaultValue':'Me'},'color':{'type':Sequelize[_0x50e8('0x2')],'allowNull':![],'defaultValue':_0x50e8('0x5'),'validate':{'notEmpty':!![]}},'color_button':{'type':Sequelize[_0x50e8('0x2')],'allowNull':![],'defaultValue':_0x50e8('0x5'),'validate':{'notEmpty':!![]}},'textColor':{'type':Sequelize[_0x50e8('0x2')],'allowNull':![],'defaultValue':_0x50e8('0x6'),'validate':{'notEmpty':!![]}},'fontSize':{'type':Sequelize['INTEGER'],'defaultValue':0xf},'remote':{'type':Sequelize[_0x50e8('0x2')]},'animation':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':!![]},'header_shape':{'type':Sequelize[_0x50e8('0x8')](_0x50e8('0x9'),_0x50e8('0xa')),'defaultValue':_0x50e8('0x9')},'header_online':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0xb')},'start_chat_button':{'type':Sequelize['STRING'],'defaultValue':'Chat'},'offline_chat_button':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0xc')},'header_offline':{'type':Sequelize['STRING'],'defaultValue':'Contact\x20us'},'download_transcript':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':!![]},'timeout':{'type':Sequelize[_0x50e8('0xd')],'defaultValue':0x0},'whiteLabel':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0xe')},'defaultWhiteLabel':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sitepic':{'type':Sequelize[_0x50e8('0xf')]},'closingQuestion':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0x10')},'formSubmitSuccessMessage':{'type':Sequelize['STRING'],'defaultValue':'Form\x20properly\x20submitted'},'formSubmitFailureMessage':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0x11')},'noteTitle':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0x12')},'placeholderMessage':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0x13')},'closingMessage':{'type':Sequelize['STRING'],'defaultValue':'Thanks\x20you\x20for\x20your\x20time!'},'closingMessageButton':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0xc')},'skipMessageButton':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0x14')},'conditionAgreement':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':![]},'enableRating':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':![]},'enableFeedback':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':![]},'ratingType':{'type':Sequelize['ENUM'](_0x50e8('0x15'),'thumb'),'defaultValue':_0x50e8('0x15')},'ratingStarsNumber':{'type':Sequelize[_0x50e8('0xd')],'defaultValue':0x5},'onlineForm':{'type':Sequelize[_0x50e8('0xf')],'defaultValue':function(){return JSON[_0x50e8('0x16')]({'items':[{'type':_0x50e8('0x17'),'variable':null,'config':{'placeholder':'name','type':_0x50e8('0x18'),'required':!![]},'props':{'title':_0x50e8('0x19'),'helpText':''}},{'type':'input','props':{'title':_0x50e8('0x3'),'helpText':''},'config':{'required':!![],'placeholder':_0x50e8('0x3'),'type':'email'},'variable':null}],'fromKey':0x1});},'get':function(){return this[_0x50e8('0x1a')](_0x50e8('0x1b'))?JSON['parse'](this['getDataValue']('onlineForm')):{};},'set':function(_0x3e1234){return this[_0x50e8('0x1c')](_0x50e8('0x1b'),JSON[_0x50e8('0x16')](_0x3e1234));}},'offlineForm':{'type':Sequelize[_0x50e8('0xf')],'defaultValue':function(){return JSON[_0x50e8('0x16')]({'items':[{'type':'input','props':{'title':_0x50e8('0x3'),'helpText':''},'config':{'required':!![],'placeholder':_0x50e8('0x3'),'type':'email'},'variable':null},{'type':_0x50e8('0x1d'),'config':{'placeholder':_0x50e8('0x1e')},'props':{'title':_0x50e8('0x1e'),'helpText':_0x50e8('0x1f')}}],'fromKey':0x0});},'get':function(){return this['getDataValue'](_0x50e8('0x20'))?JSON['parse'](this[_0x50e8('0x1a')](_0x50e8('0x20'))):{};},'set':function(_0x42bbef){return this['setDataValue'](_0x50e8('0x20'),JSON[_0x50e8('0x16')](_0x42bbef));}},'token':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':function(){return rs[_0x50e8('0x21')]();}},'autoclose':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':!![]},'enableCustomerWriting':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':![]},'forwardTranscript':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':![]},'forwardTranscriptMessage':{'type':Sequelize['STRING']},'forwardOffline':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':![]},'forwardOfflineAddress':{'type':Sequelize[_0x50e8('0x2')]},'waitingTitle':{'type':Sequelize['STRING'],'defaultValue':'All\x20of\x20our\x20agents\x20are\x20busy\x20at\x20this\x20time.\x20Your\x20chat\x20is\x20very\x20important\x20to\x20us.'},'waitingMessage':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0x22')},'offlineMessageSubject':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':'New\x20offline\x20message\x20from\x20websiteName'},'offlineMessageBody':{'type':Sequelize['STRING'],'defaultValue':_0x50e8('0x23')},'enableUnmanagedNote':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':!![]},'unmanagedMessage':{'type':Sequelize['STRING'],'defaultValue':_0x50e8('0x24')},'skipUnmanaged':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0x14')},'sendUnmanaged':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':'Send'},'enableCustomerAttachment':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':![]},'agentAvatar':{'type':Sequelize['TEXT']},'showAgentAvatar':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':![]},'timezone':{'type':Sequelize[_0x50e8('0x2')]},'notificationTemplate':{'type':Sequelize[_0x50e8('0xf')],'defaultValue':function(){return'Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}';}},'notificationSound':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':![]},'hideWhenOffline':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentIdentifier':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0x25')},'waitForTheAssignedAgent':{'type':Sequelize[_0x50e8('0xd')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'alignment':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':'bottom_right'},'verticalAlignment':{'type':Sequelize[_0x50e8('0xd')],'defaultValue':0x1e},'messagesAlignment':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':_0x50e8('0x26')},'defaultTitle':{'type':Sequelize[_0x50e8('0x2')]},'customerAvatar':{'type':Sequelize['TEXT']},'showCustomerAvatar':{'type':Sequelize[_0x50e8('0x7')],'defaultValue':![]},'messageFontSize':{'type':Sequelize[_0x50e8('0xd')],'defaultValue':0xc},'backgroundColor':{'type':Sequelize[_0x50e8('0x2')],'allowNull':![],'defaultValue':'#fafafa','validate':{'notEmpty':!![]}}};
\ No newline at end of file