4add6d3c9536abc3395e40de8ed96fcf44c474cd
[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 _0xe9b2=['warning','info','debug','ENUM','BOOLEAN','UserId','sequelize','error'];(function(_0x38a926,_0x34abc0){var _0x5e9b08=function(_0x43c790){while(--_0x43c790){_0x38a926['push'](_0x38a926['shift']());}};_0x5e9b08(++_0x34abc0);}(_0xe9b2,0xee));var _0x2e9b=function(_0x1d5d3f,_0x3a9d08){_0x1d5d3f=_0x1d5d3f-0x0;var _0x6f9221=_0xe9b2[_0x1d5d3f];return _0x6f9221;};'use strict';var Sequelize=require(_0x2e9b('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x2e9b('0x1'),_0x2e9b('0x2'),_0x2e9b('0x3'),_0x2e9b('0x4')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0x2e9b('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':'error','validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x2e9b('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize['INTEGER'],'unique':_0x2e9b('0x7')}};