Built motion from commit 87cd5f02.|2.5.48
[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 _0x7fae=['sequelize','error','warning','info','debug','ENUM','BOOLEAN','TEXT','INTEGER','UserId'];(function(_0x1f7eaf,_0x59a6f8){var _0x1ad7a7=function(_0x58687d){while(--_0x58687d){_0x1f7eaf['push'](_0x1f7eaf['shift']());}};_0x1ad7a7(++_0x59a6f8);}(_0x7fae,0x15e));var _0xe7fa=function(_0xdea41a,_0x552987){_0xdea41a=_0xdea41a-0x0;var _0x15d0d8=_0x7fae[_0xdea41a];return _0x15d0d8;};'use strict';var Sequelize=require(_0xe7fa('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xe7fa('0x1'),_0xe7fa('0x2'),_0xe7fa('0x3'),_0xe7fa('0x4')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0xe7fa('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xe7fa('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xe7fa('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xe7fa('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xe7fa('0x8')],'unique':_0xe7fa('0x9')}};