43cb797e5c39bc5cfc84df1219cb9279cd0888f1
[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 _0xd98f=['exports','ENUM','BOOLEAN','TEXT','DATE','INTEGER','UserId','error','warning','info','debug'];(function(_0x19d24c,_0x62bc50){var _0x2fae8d=function(_0x419856){while(--_0x419856){_0x19d24c['push'](_0x19d24c['shift']());}};_0x2fae8d(++_0x62bc50);}(_0xd98f,0x1bf));var _0xfd98=function(_0x21c66a,_0x5676e6){_0x21c66a=_0x21c66a-0x0;var _0x22485d=_0xd98f[_0x21c66a];return _0x22485d;};'use strict';var Sequelize=require('sequelize');const CLIENT_SIDE_LOG_LEVELS=[_0xfd98('0x0'),_0xfd98('0x1'),_0xfd98('0x2'),_0xfd98('0x3')];module[_0xfd98('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0xfd98('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xfd98('0x0'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xfd98('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xfd98('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xfd98('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xfd98('0x9')],'unique':_0xfd98('0xa')}};