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 _0x407f=['UserSetting','user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince','define'];(function(_0xe74ab3,_0x3c339f){var _0xf9d75a=function(_0x2eb551){while(--_0x2eb551){_0xe74ab3['push'](_0xe74ab3['shift']());}};_0xf9d75a(++_0x3c339f);}(_0x407f,0xc2));var _0xf407=function(_0x2690a9,_0x49ec81){_0x2690a9=_0x2690a9-0x0;var _0xff234e=_0x407f[_0x2690a9];return _0xff234e;};'use strict';var attributes=require('./user-setting.attributes');module['exports']=function(_0x5e211d){return _0x5e211d[_0xf407('0x0')](_0xf407('0x1'),attributes,{'tableName':_0xf407('0x2'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x1ec297){if(!_0x1ec297[_0xf407('0x3')])_0x1ec297[_0xf407('0x4')]=null;else if(_0x1ec297[_0xf407('0x4')]===null)_0x1ec297[_0xf407('0x4')]=new Date();}}});};