8fd5ee691e7752880d4c26302f15372aca6bffae
[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 _0x2202=['debug','exports','ENUM','error','TEXT','DATE','INTEGER','UserId','sequelize','warning','info'];(function(_0xcf3fb4,_0x495be4){var _0x2bbf0d=function(_0xf9f986){while(--_0xf9f986){_0xcf3fb4['push'](_0xcf3fb4['shift']());}};_0x2bbf0d(++_0x495be4);}(_0x2202,0x1e1));var _0x2220=function(_0x580fa9,_0x4b6b83){_0x580fa9=_0x580fa9-0x0;var _0x1d298c=_0x2202[_0x580fa9];return _0x1d298c;};'use strict';var Sequelize=require(_0x2220('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0x2220('0x1'),_0x2220('0x2'),_0x2220('0x3')];module[_0x2220('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0x2220('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x2220('0x6'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x2220('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x2220('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x2220('0x9')],'unique':_0x2220('0xa')}};