Built motion from commit b5413ace.|2.6.9
[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 _0xc517=['DATE','INTEGER','UserId','sequelize','error','info','debug','ENUM','BOOLEAN','TEXT'];(function(_0x1167f1,_0x1d851b){var _0x2fd3db=function(_0xb0fd93){while(--_0xb0fd93){_0x1167f1['push'](_0x1167f1['shift']());}};_0x2fd3db(++_0x1d851b);}(_0xc517,0x11b));var _0x7c51=function(_0x2c9506,_0x3f05a9){_0x2c9506=_0x2c9506-0x0;var _0x2febcc=_0xc517[_0x2c9506];return _0x2febcc;};'use strict';var Sequelize=require(_0x7c51('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x7c51('0x1'),'warning',_0x7c51('0x2'),_0x7c51('0x3')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0x7c51('0x4')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x7c51('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x7c51('0x5')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x7c51('0x6')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x7c51('0x7')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x7c51('0x8')],'unique':_0x7c51('0x9')}};