29079c4aee5a221a2dc99f3f71be049d11262a50
[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 _0x32cd=['BOOLEAN','DATE','UserId','sequelize','error','warning','info','debug','exports','ENUM'];(function(_0x5d68ba,_0x33be44){var _0x17cee3=function(_0x14e9ed){while(--_0x14e9ed){_0x5d68ba['push'](_0x5d68ba['shift']());}};_0x17cee3(++_0x33be44);}(_0x32cd,0x193));var _0xd32c=function(_0x266a3b,_0x2ec7d9){_0x266a3b=_0x266a3b-0x0;var _0x3db3ed=_0x32cd[_0x266a3b];return _0x3db3ed;};'use strict';var Sequelize=require(_0xd32c('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xd32c('0x1'),_0xd32c('0x2'),_0xd32c('0x3'),_0xd32c('0x4')];module[_0xd32c('0x5')]={'clientSideLoggingLevel':{'type':Sequelize[_0xd32c('0x6')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xd32c('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xd32c('0x7')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xd32c('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize['INTEGER'],'unique':_0xd32c('0x9')}};