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 _0x8868=['user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes','exports','define','UserSetting'];(function(_0x108c27,_0x241271){var _0x38fef9=function(_0x9592c){while(--_0x9592c){_0x108c27['push'](_0x108c27['shift']());}};_0x38fef9(++_0x241271);}(_0x8868,0x1ca));var _0x8886=function(_0x3373d3,_0x1d3abc){_0x3373d3=_0x3373d3-0x0;var _0x8b0a4d=_0x8868[_0x3373d3];return _0x8b0a4d;};'use strict';var attributes=require(_0x8886('0x0'));module[_0x8886('0x1')]=function(_0xb1c240){return _0xb1c240[_0x8886('0x2')](_0x8886('0x3'),attributes,{'tableName':_0x8886('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x34cd50){if(!_0x34cd50[_0x8886('0x5')])_0x34cd50[_0x8886('0x6')]=null;else if(_0x34cd50[_0x8886('0x6')]===null)_0x34cd50[_0x8886('0x6')]=new Date();}}});};