f783227e084ef1b5d5d566092afec572eb00783a
[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 _0xf9dc=['sequelize','error','warning','info','exports','ENUM','BOOLEAN','DATE','INTEGER','UserId'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0xf9dc,0x8c));var _0xcf9d=function(_0x332a78,_0x4d38b3){_0x332a78=_0x332a78-0x0;var _0x537ac5=_0xf9dc[_0x332a78];return _0x537ac5;};'use strict';var Sequelize=require(_0xcf9d('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xcf9d('0x1'),_0xcf9d('0x2'),_0xcf9d('0x3'),'debug'];module[_0xcf9d('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0xcf9d('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xcf9d('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xcf9d('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xcf9d('0x7')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xcf9d('0x8')],'unique':_0xcf9d('0x9')}};