Built motion from commit ddca4d0d.|2.5.47
[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 _0x2faa=['DATE','INTEGER','UserId','sequelize','error','warning','info','debug','exports','ENUM'];(function(_0x4d82c4,_0x37ffdf){var _0x234d67=function(_0x65830c){while(--_0x65830c){_0x4d82c4['push'](_0x4d82c4['shift']());}};_0x234d67(++_0x37ffdf);}(_0x2faa,0x143));var _0xa2fa=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x2faa[_0x4b369d];return _0x571a98;};'use strict';var Sequelize=require(_0xa2fa('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xa2fa('0x1'),_0xa2fa('0x2'),_0xa2fa('0x3'),_0xa2fa('0x4')];module[_0xa2fa('0x5')]={'clientSideLoggingLevel':{'type':Sequelize[_0xa2fa('0x6')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xa2fa('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xa2fa('0x7')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xa2fa('0x8')],'unique':_0xa2fa('0x9')}};