66fe7746db56532ca82142646b850c808ad34c7c
[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 _0xd003=['exports','BOOLEAN','DATE','INTEGER','UserId','sequelize','error','warning','info','debug'];(function(_0x408cc5,_0x21df00){var _0x187697=function(_0x1a306e){while(--_0x1a306e){_0x408cc5['push'](_0x408cc5['shift']());}};_0x187697(++_0x21df00);}(_0xd003,0x113));var _0x3d00=function(_0x55a523,_0x8ed653){_0x55a523=_0x55a523-0x0;var _0x75c98d=_0xd003[_0x55a523];return _0x75c98d;};'use strict';var Sequelize=require(_0x3d00('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x3d00('0x1'),_0x3d00('0x2'),_0x3d00('0x3'),_0x3d00('0x4')];module[_0x3d00('0x5')]={'clientSideLoggingLevel':{'type':Sequelize['ENUM'](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x3d00('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x3d00('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x3d00('0x7')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x3d00('0x8')],'unique':_0x3d00('0x9')}};