Built motion from commit 47436d59.|2.6.7
[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 _0x9280=['UserId','sequelize','error','warning','info','debug','exports','ENUM','TEXT','DATE','INTEGER'];(function(_0x1ff233,_0x35a7f2){var _0x438259=function(_0x355977){while(--_0x355977){_0x1ff233['push'](_0x1ff233['shift']());}};_0x438259(++_0x35a7f2);}(_0x9280,0x161));var _0x0928=function(_0x38ce66,_0x28d895){_0x38ce66=_0x38ce66-0x0;var _0x4b1bc3=_0x9280[_0x38ce66];return _0x4b1bc3;};'use strict';var Sequelize=require(_0x0928('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x0928('0x1'),_0x0928('0x2'),_0x0928('0x3'),_0x0928('0x4')];module[_0x0928('0x5')]={'clientSideLoggingLevel':{'type':Sequelize[_0x0928('0x6')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x0928('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x0928('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x0928('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x0928('0x9')],'unique':_0x0928('0xa')}};