Built motion from commit 6a92c2cd.|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 _0x4cf5=['debug','BOOLEAN','DATE','INTEGER','UserId','sequelize','error','warning','info'];(function(_0x7abdba,_0x3aac45){var _0x46b521=function(_0x4d79bc){while(--_0x4d79bc){_0x7abdba['push'](_0x7abdba['shift']());}};_0x46b521(++_0x3aac45);}(_0x4cf5,0x188));var _0x54cf=function(_0x463c38,_0x562392){_0x463c38=_0x463c38-0x0;var _0x17304f=_0x4cf5[_0x463c38];return _0x17304f;};'use strict';var Sequelize=require(_0x54cf('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x54cf('0x1'),_0x54cf('0x2'),_0x54cf('0x3'),_0x54cf('0x4')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize['ENUM'](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x54cf('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x54cf('0x5')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x54cf('0x6')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x54cf('0x7')],'unique':_0x54cf('0x8')}};