594dc03019216393a950c4a3fc407ce32d0816f2
[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 _0xeb5f=['ENUM','error','BOOLEAN','TEXT','DATE','sequelize','info','debug','exports'];(function(_0x484a7f,_0x134958){var _0x22d8e1=function(_0x587f43){while(--_0x587f43){_0x484a7f['push'](_0x484a7f['shift']());}};_0x22d8e1(++_0x134958);}(_0xeb5f,0xef));var _0xfeb5=function(_0x3a70c9,_0x56e6c5){_0x3a70c9=_0x3a70c9-0x0;var _0x3b185d=_0xeb5f[_0x3a70c9];return _0x3b185d;};'use strict';var Sequelize=require(_0xfeb5('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error','warning',_0xfeb5('0x1'),_0xfeb5('0x2')];module[_0xfeb5('0x3')]={'clientSideLoggingLevel':{'type':Sequelize[_0xfeb5('0x4')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xfeb5('0x5'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xfeb5('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xfeb5('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xfeb5('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize['INTEGER'],'unique':'UserId'}};