fd5ef071ed2309b228f018a53d78d75834a397fb
[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 _0x722b=['debug','exports','ENUM','error','BOOLEAN','TEXT','DATE','INTEGER','UserId','sequelize','warning','info'];(function(_0x5eb39d,_0x210ac3){var _0x200a2e=function(_0x10893f){while(--_0x10893f){_0x5eb39d['push'](_0x5eb39d['shift']());}};_0x200a2e(++_0x210ac3);}(_0x722b,0xed));var _0xb722=function(_0x291964,_0x53a984){_0x291964=_0x291964-0x0;var _0x411e8b=_0x722b[_0x291964];return _0x411e8b;};'use strict';var Sequelize=require(_0xb722('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0xb722('0x1'),_0xb722('0x2'),_0xb722('0x3')];module[_0xb722('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0xb722('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xb722('0x6'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xb722('0x7')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xb722('0x8')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xb722('0x9')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xb722('0xa')],'unique':_0xb722('0xb')}};