Built motion from commit 838c2833.|2.6.24
[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 _0x9716=['INTEGER','UserId','sequelize','error','warning','info','exports','ENUM','BOOLEAN','TEXT','DATE'];(function(_0xa1e3e3,_0x29fe0e){var _0xc980e9=function(_0x1f5adc){while(--_0x1f5adc){_0xa1e3e3['push'](_0xa1e3e3['shift']());}};_0xc980e9(++_0x29fe0e);}(_0x9716,0x141));var _0x6971=function(_0x3e52a3,_0x22c6b2){_0x3e52a3=_0x3e52a3-0x0;var _0x4b92e8=_0x9716[_0x3e52a3];return _0x4b92e8;};'use strict';var Sequelize=require(_0x6971('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x6971('0x1'),_0x6971('0x2'),_0x6971('0x3'),'debug'];module[_0x6971('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0x6971('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x6971('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x6971('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x6971('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x6971('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x6971('0x9')],'unique':_0x6971('0xa')}};