2b958aa9c171350810667c8b45c0c5c69069d8e2
[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 _0x3dbd=['ENUM','error','BOOLEAN','TEXT','DATE','INTEGER','UserId','sequelize','warning','debug'];(function(_0x13e4d6,_0x4d647f){var _0x395c06=function(_0x55ce7f){while(--_0x55ce7f){_0x13e4d6['push'](_0x13e4d6['shift']());}};_0x395c06(++_0x4d647f);}(_0x3dbd,0x151));var _0xd3db=function(_0x36a469,_0x59d84c){_0x36a469=_0x36a469-0x0;var _0x3347fc=_0x3dbd[_0x36a469];return _0x3347fc;};'use strict';var Sequelize=require(_0xd3db('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0xd3db('0x1'),'info',_0xd3db('0x2')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0xd3db('0x3')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xd3db('0x4'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xd3db('0x5')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xd3db('0x6')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xd3db('0x7')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xd3db('0x8')],'unique':_0xd3db('0x9')}};