1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x9532=['./user-setting.attributes','exports','define','UserSetting','user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince'];(function(_0x4a761d,_0x34e23e){var _0x3776a4=function(_0x4e855e){while(--_0x4e855e){_0x4a761d['push'](_0x4a761d['shift']());}};_0x3776a4(++_0x34e23e);}(_0x9532,0x8c));var _0x2953=function(_0x585d39,_0x27705f){_0x585d39=_0x585d39-0x0;var _0x575bd7=_0x9532[_0x585d39];return _0x575bd7;};'use strict';var attributes=require(_0x2953('0x0'));module[_0x2953('0x1')]=function(_0x74bdd6){return _0x74bdd6[_0x2953('0x2')](_0x2953('0x3'),attributes,{'tableName':_0x2953('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x51aa45){if(!_0x51aa45[_0x2953('0x5')])_0x51aa45[_0x2953('0x6')]=null;else if(_0x51aa45['clientSideLoggingEnabledSince']===null)_0x51aa45[_0x2953('0x6')]=new Date();}}});};