ad5257a41ee1397d733ff0c7359178e3c3ab05f8
[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 _0xd0cb=['warning','info','debug','exports','error','BOOLEAN','TEXT','DATE','INTEGER','UserId','sequelize'];(function(_0x3ee7fd,_0x38b901){var _0xb0a7d2=function(_0x1ac398){while(--_0x1ac398){_0x3ee7fd['push'](_0x3ee7fd['shift']());}};_0xb0a7d2(++_0x38b901);}(_0xd0cb,0x1d8));var _0xbd0c=function(_0x249adc,_0x29376e){_0x249adc=_0x249adc-0x0;var _0x182a4e=_0xd0cb[_0x249adc];return _0x182a4e;};'use strict';var Sequelize=require(_0xbd0c('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0xbd0c('0x1'),_0xbd0c('0x2'),_0xbd0c('0x3')];module[_0xbd0c('0x4')]={'clientSideLoggingLevel':{'type':Sequelize['ENUM'](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xbd0c('0x5'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xbd0c('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xbd0c('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xbd0c('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xbd0c('0x9')],'unique':_0xbd0c('0xa')}};