Built motion from commit eddce310.|2.6.12
[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 _0x0d23=['INTEGER','UserId','sequelize','warning','debug','ENUM','error','BOOLEAN','DATE'];(function(_0x2ba3c3,_0x43a558){var _0x12f920=function(_0x862e84){while(--_0x862e84){_0x2ba3c3['push'](_0x2ba3c3['shift']());}};_0x12f920(++_0x43a558);}(_0x0d23,0x1cd));var _0x30d2=function(_0x5e57d4,_0x126055){_0x5e57d4=_0x5e57d4-0x0;var _0x4aae74=_0x0d23[_0x5e57d4];return _0x4aae74;};'use strict';var Sequelize=require(_0x30d2('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0x30d2('0x1'),'info',_0x30d2('0x2')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0x30d2('0x3')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x30d2('0x4'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x30d2('0x5')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x30d2('0x6')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x30d2('0x7')],'unique':_0x30d2('0x8')}};