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 _0x4483=['exports','UserSetting','user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes'];(function(_0x34c85e,_0x498ab8){var _0x5283ec=function(_0x33564e){while(--_0x33564e){_0x34c85e['push'](_0x34c85e['shift']());}};_0x5283ec(++_0x498ab8);}(_0x4483,0x1a3));var _0x3448=function(_0x3f28b0,_0x43777e){_0x3f28b0=_0x3f28b0-0x0;var _0x572267=_0x4483[_0x3f28b0];return _0x572267;};'use strict';var attributes=require(_0x3448('0x0'));module[_0x3448('0x1')]=function(_0x229c0c){return _0x229c0c['define'](_0x3448('0x2'),attributes,{'tableName':_0x3448('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x27ef60){if(!_0x27ef60[_0x3448('0x4')])_0x27ef60[_0x3448('0x5')]=null;else if(_0x27ef60['clientSideLoggingEnabledSince']===null)_0x27ef60[_0x3448('0x5')]=new Date();}}});};