786aa02e3a5935f26037b049b9f5f8ab1a3501ae
[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 _0x674f=['error','ENUM','BOOLEAN','DATE','INTEGER','sequelize'];(function(_0x42f318,_0x336c90){var _0x4aa72a=function(_0xfce356){while(--_0xfce356){_0x42f318['push'](_0x42f318['shift']());}};_0x4aa72a(++_0x336c90);}(_0x674f,0x113));var _0xf674=function(_0xc5211a,_0x6e2931){_0xc5211a=_0xc5211a-0x0;var _0x2313ed=_0x674f[_0xc5211a];return _0x2313ed;};'use strict';var Sequelize=require(_0xf674('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xf674('0x1'),'warning','info','debug'];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0xf674('0x2')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xf674('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xf674('0x3')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xf674('0x4')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xf674('0x5')],'unique':'UserId'}};