101b6acf58410b5108b23034b3a17ea8666e43b6
[motion2.git] / server / api / user-setting / user-setting.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x9df5=['TEXT','DATE','INTEGER','UserId','sequelize','error','warning','info','debug','ENUM'];(function(_0x209ccf,_0x4f07ae){var _0x5454b4=function(_0x90cff8){while(--_0x90cff8){_0x209ccf['push'](_0x209ccf['shift']());}};_0x5454b4(++_0x4f07ae);}(_0x9df5,0x158));var _0x59df=function(_0x1a0eef,_0x463176){_0x1a0eef=_0x1a0eef-0x0;var _0x51ee6d=_0x9df5[_0x1a0eef];return _0x51ee6d;};'use strict';var Sequelize=require(_0x59df('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x59df('0x1'),_0x59df('0x2'),_0x59df('0x3'),_0x59df('0x4')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0x59df('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x59df('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x59df('0x6')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x59df('0x7')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x59df('0x8')],'unique':_0x59df('0x9')}};