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 _0x2242=['exports','UserSetting','user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes'];(function(_0x4809f1,_0x1d05a1){var _0x543967=function(_0x258ca6){while(--_0x258ca6){_0x4809f1['push'](_0x4809f1['shift']());}};_0x543967(++_0x1d05a1);}(_0x2242,0x1a3));var _0x2224=function(_0x595826,_0x58c828){_0x595826=_0x595826-0x0;var _0xaf2d5f=_0x2242[_0x595826];return _0xaf2d5f;};'use strict';var attributes=require(_0x2224('0x0'));module[_0x2224('0x1')]=function(_0x34be5a){return _0x34be5a['define'](_0x2224('0x2'),attributes,{'tableName':_0x2224('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x4acc10){if(!_0x4acc10[_0x2224('0x4')])_0x4acc10[_0x2224('0x5')]=null;else if(_0x4acc10['clientSideLoggingEnabledSince']===null)_0x4acc10[_0x2224('0x5')]=new Date();}}});};