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 _0x16d2=['UserSetting','user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes','exports','define'];(function(_0x1b62b8,_0x3e78d9){var _0x47a5a0=function(_0x479a5b){while(--_0x479a5b){_0x1b62b8['push'](_0x1b62b8['shift']());}};_0x47a5a0(++_0x3e78d9);}(_0x16d2,0x123));var _0x216d=function(_0x47b5e0,_0x273723){_0x47b5e0=_0x47b5e0-0x0;var _0x128d60=_0x16d2[_0x47b5e0];return _0x128d60;};'use strict';var attributes=require(_0x216d('0x0'));module[_0x216d('0x1')]=function(_0x398c34){return _0x398c34[_0x216d('0x2')](_0x216d('0x3'),attributes,{'tableName':_0x216d('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x34cf5b){if(!_0x34cf5b[_0x216d('0x5')])_0x34cf5b[_0x216d('0x6')]=null;else if(_0x34cf5b['clientSideLoggingEnabledSince']===null)_0x34cf5b[_0x216d('0x6')]=new Date();}}});};