f94c5fca68bd4ad43f809d0a6ee0b7b00862c30b
[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 _0x5eab=['error','BOOLEAN','TEXT','UserId','sequelize','warning','debug','ENUM'];(function(_0x14aacd,_0x5d57a3){var _0x47b98f=function(_0x3123df){while(--_0x3123df){_0x14aacd['push'](_0x14aacd['shift']());}};_0x47b98f(++_0x5d57a3);}(_0x5eab,0x1c4));var _0xb5ea=function(_0x5e05fd,_0x498153){_0x5e05fd=_0x5e05fd-0x0;var _0x24a1bc=_0x5eab[_0x5e05fd];return _0x24a1bc;};'use strict';var Sequelize=require(_0xb5ea('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0xb5ea('0x1'),'info',_0xb5ea('0x2')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0xb5ea('0x3')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xb5ea('0x4'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xb5ea('0x5')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xb5ea('0x6')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize['INTEGER'],'unique':_0xb5ea('0x7')}};