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 _0x8d05=['define','UserSetting','clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes','exports'];(function(_0x4eb86f,_0x58f49b){var _0xe62daa=function(_0x13fbd9){while(--_0x13fbd9){_0x4eb86f['push'](_0x4eb86f['shift']());}};_0xe62daa(++_0x58f49b);}(_0x8d05,0xe8));var _0x58d0=function(_0x5440db,_0x285e97){_0x5440db=_0x5440db-0x0;var _0x5eeedb=_0x8d05[_0x5440db];return _0x5eeedb;};'use strict';var attributes=require(_0x58d0('0x0'));module[_0x58d0('0x1')]=function(_0x163911){return _0x163911[_0x58d0('0x2')](_0x58d0('0x3'),attributes,{'tableName':'user_settings','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x510dd7){if(!_0x510dd7[_0x58d0('0x4')])_0x510dd7[_0x58d0('0x5')]=null;else if(_0x510dd7[_0x58d0('0x5')]===null)_0x510dd7[_0x58d0('0x5')]=new Date();}}});};