Built motion from commit ffdca78c.|2.6.24
[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 _0xd1ec=['BOOLEAN','INTEGER','UserId','warning','info','debug','error'];(function(_0x2c0bbf,_0x22ce39){var _0x50c6c5=function(_0x838eb6){while(--_0x838eb6){_0x2c0bbf['push'](_0x2c0bbf['shift']());}};_0x50c6c5(++_0x22ce39);}(_0xd1ec,0x1ae));var _0xcd1e=function(_0x7d4efe,_0x1cd66e){_0x7d4efe=_0x7d4efe-0x0;var _0x6a7b43=_0xd1ec[_0x7d4efe];return _0x6a7b43;};'use strict';var Sequelize=require('sequelize');const CLIENT_SIDE_LOG_LEVELS=['error',_0xcd1e('0x0'),_0xcd1e('0x1'),_0xcd1e('0x2')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize['ENUM'](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xcd1e('0x3'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xcd1e('0x4')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xcd1e('0x5')],'unique':_0xcd1e('0x6')}};