Built motion from commit 42801a18.|2.6.28
[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 _0x6b4a=['info','debug','exports','ENUM','error','BOOLEAN','DATE','INTEGER','UserId','sequelize','warning'];(function(_0x3ccf89,_0x35df54){var _0x262314=function(_0x486043){while(--_0x486043){_0x3ccf89['push'](_0x3ccf89['shift']());}};_0x262314(++_0x35df54);}(_0x6b4a,0x1ab));var _0xa6b4=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6b4a[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0xa6b4('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0xa6b4('0x1'),_0xa6b4('0x2'),_0xa6b4('0x3')];module[_0xa6b4('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0xa6b4('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xa6b4('0x6'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xa6b4('0x7')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xa6b4('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xa6b4('0x9')],'unique':_0xa6b4('0xa')}};