Built motion from commit ff426b3f.|2.6.29
[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 _0xce3f=['DATE','INTEGER','UserId','sequelize','error','warning','info','debug','exports','ENUM','TEXT'];(function(_0x1e8dd5,_0x571f6d){var _0x9aa844=function(_0x21dee6){while(--_0x21dee6){_0x1e8dd5['push'](_0x1e8dd5['shift']());}};_0x9aa844(++_0x571f6d);}(_0xce3f,0xb3));var _0xfce3=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0xce3f[_0x5b644e];return _0x49c6bf;};'use strict';var Sequelize=require(_0xfce3('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xfce3('0x1'),_0xfce3('0x2'),_0xfce3('0x3'),_0xfce3('0x4')];module[_0xfce3('0x5')]={'clientSideLoggingLevel':{'type':Sequelize[_0xfce3('0x6')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xfce3('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xfce3('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xfce3('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xfce3('0x9')],'unique':_0xfce3('0xa')}};