Built motion from commit e02f907f.|2.6.14
[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 _0x9f1a=['debug','ENUM','error','TEXT','INTEGER','sequelize','warning','info'];(function(_0x2f32ad,_0x41a394){var _0xe5e48c=function(_0x14bc4d){while(--_0x14bc4d){_0x2f32ad['push'](_0x2f32ad['shift']());}};_0xe5e48c(++_0x41a394);}(_0x9f1a,0x75));var _0xa9f1=function(_0x5e618e,_0xf803fe){_0x5e618e=_0x5e618e-0x0;var _0x2987cb=_0x9f1a[_0x5e618e];return _0x2987cb;};'use strict';var Sequelize=require(_0xa9f1('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0xa9f1('0x1'),_0xa9f1('0x2'),_0xa9f1('0x3')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0xa9f1('0x4')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xa9f1('0x5'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xa9f1('0x6')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xa9f1('0x7')],'unique':'UserId'}};