Built motion from commit 25580385.|2.6.2
[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 _0x0006=['BOOLEAN','TEXT','UserId','sequelize','error','warning','info','debug','exports','ENUM'];(function(_0x83c12,_0x117a40){var _0x116d8b=function(_0x339f90){while(--_0x339f90){_0x83c12['push'](_0x83c12['shift']());}};_0x116d8b(++_0x117a40);}(_0x0006,0x111));var _0x6000=function(_0x2a9b58,_0x31bede){_0x2a9b58=_0x2a9b58-0x0;var _0x3478c7=_0x0006[_0x2a9b58];return _0x3478c7;};'use strict';var Sequelize=require(_0x6000('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x6000('0x1'),_0x6000('0x2'),_0x6000('0x3'),_0x6000('0x4')];module[_0x6000('0x5')]={'clientSideLoggingLevel':{'type':Sequelize[_0x6000('0x6')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x6000('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x6000('0x7')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x6000('0x8')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize['INTEGER'],'unique':_0x6000('0x9')}};