0784236403c82e3e06db2b262ae9f613a58b0d80
[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 _0xdba3=['TEXT','DATE','INTEGER','UserId','error','warning','info','debug','exports','ENUM'];(function(_0x5e1a7c,_0x39c043){var _0x10cdbc=function(_0x12f1fb){while(--_0x12f1fb){_0x5e1a7c['push'](_0x5e1a7c['shift']());}};_0x10cdbc(++_0x39c043);}(_0xdba3,0x112));var _0x3dba=function(_0x43fb7a,_0x3807f1){_0x43fb7a=_0x43fb7a-0x0;var _0x1be693=_0xdba3[_0x43fb7a];return _0x1be693;};'use strict';var Sequelize=require('sequelize');const CLIENT_SIDE_LOG_LEVELS=[_0x3dba('0x0'),_0x3dba('0x1'),_0x3dba('0x2'),_0x3dba('0x3')];module[_0x3dba('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0x3dba('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x3dba('0x0'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x3dba('0x6')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x3dba('0x7')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x3dba('0x8')],'unique':_0x3dba('0x9')}};