Built motion from commit 013e4bb4.|2.6.18
[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 _0xe12f=['INTEGER','UserId','sequelize','error','warning','info','debug','exports','ENUM','BOOLEAN','TEXT','DATE'];(function(_0x47e7cb,_0x4c1b8d){var _0x2a8874=function(_0x36498f){while(--_0x36498f){_0x47e7cb['push'](_0x47e7cb['shift']());}};_0x2a8874(++_0x4c1b8d);}(_0xe12f,0x1be));var _0xfe12=function(_0x441668,_0x2ae87b){_0x441668=_0x441668-0x0;var _0x3cbf26=_0xe12f[_0x441668];return _0x3cbf26;};'use strict';var Sequelize=require(_0xfe12('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xfe12('0x1'),_0xfe12('0x2'),_0xfe12('0x3'),_0xfe12('0x4')];module[_0xfe12('0x5')]={'clientSideLoggingLevel':{'type':Sequelize[_0xfe12('0x6')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xfe12('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xfe12('0x7')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xfe12('0x8')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xfe12('0x9')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xfe12('0xa')],'unique':_0xfe12('0xb')}};