cd600bdb1bc6b37c1842e81588e32062c483be00
[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 _0xd006=['UserId','sequelize','warning','ENUM','error','BOOLEAN','TEXT','DATE','INTEGER'];(function(_0x3f694b,_0x58653c){var _0x12063d=function(_0x58230f){while(--_0x58230f){_0x3f694b['push'](_0x3f694b['shift']());}};_0x12063d(++_0x58653c);}(_0xd006,0x19f));var _0x6d00=function(_0x54a761,_0x431fd4){_0x54a761=_0x54a761-0x0;var _0x37d1da=_0xd006[_0x54a761];return _0x37d1da;};'use strict';var Sequelize=require(_0x6d00('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0x6d00('0x1'),'info','debug'];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0x6d00('0x2')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x6d00('0x3'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x6d00('0x4')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x6d00('0x5')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x6d00('0x6')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x6d00('0x7')],'unique':_0x6d00('0x8')}};