Built motion from commit 85f716e9.|2.6.8
[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 _0xea3d=['sequelize','error','warning','info','exports','ENUM','BOOLEAN','TEXT','INTEGER'];(function(_0x4b277c,_0x367655){var _0x12ffb2=function(_0x56f403){while(--_0x56f403){_0x4b277c['push'](_0x4b277c['shift']());}};_0x12ffb2(++_0x367655);}(_0xea3d,0x105));var _0xdea3=function(_0x1fa40a,_0x34c396){_0x1fa40a=_0x1fa40a-0x0;var _0x49a087=_0xea3d[_0x1fa40a];return _0x49a087;};'use strict';var Sequelize=require(_0xdea3('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xdea3('0x1'),_0xdea3('0x2'),_0xdea3('0x3'),'debug'];module[_0xdea3('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0xdea3('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xdea3('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xdea3('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xdea3('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xdea3('0x8')],'unique':'UserId'}};