120010636aa6d84629ec55bc7dcee2c7ad97a4c4
[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 _0xf983=['warning','info','debug','exports','ENUM','TEXT','DATE','INTEGER','UserId','sequelize','error'];(function(_0x3b1854,_0x53f461){var _0x1a5eb8=function(_0x153dbf){while(--_0x153dbf){_0x3b1854['push'](_0x3b1854['shift']());}};_0x1a5eb8(++_0x53f461);}(_0xf983,0xb9));var _0x3f98=function(_0x102881,_0x58d723){_0x102881=_0x102881-0x0;var _0x5c63d0=_0xf983[_0x102881];return _0x5c63d0;};'use strict';var Sequelize=require(_0x3f98('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x3f98('0x1'),_0x3f98('0x2'),_0x3f98('0x3'),_0x3f98('0x4')];module[_0x3f98('0x5')]={'clientSideLoggingLevel':{'type':Sequelize[_0x3f98('0x6')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':'error','validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x3f98('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x3f98('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x3f98('0x9')],'unique':_0x3f98('0xa')}};