Built motion from commit 85328c08.|2.5.50
[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 _0xfd72=['UserId','error','info','debug','exports','BOOLEAN','TEXT','DATE','INTEGER'];(function(_0x16b248,_0x5eba31){var _0x53105b=function(_0x4a6413){while(--_0x4a6413){_0x16b248['push'](_0x16b248['shift']());}};_0x53105b(++_0x5eba31);}(_0xfd72,0xac));var _0x2fd7=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0xfd72[_0x2d7f0e];return _0x110b07;};'use strict';var Sequelize=require('sequelize');const CLIENT_SIDE_LOG_LEVELS=[_0x2fd7('0x0'),'warning',_0x2fd7('0x1'),_0x2fd7('0x2')];module[_0x2fd7('0x3')]={'clientSideLoggingLevel':{'type':Sequelize['ENUM'](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x2fd7('0x0'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x2fd7('0x4')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x2fd7('0x5')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x2fd7('0x6')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x2fd7('0x7')],'unique':_0x2fd7('0x8')}};