bc818683e74bb021568d0cdc2011eb021b4d8cbd
[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 _0x3d48=['debug','ENUM','BOOLEAN','TEXT','DATE','sequelize','error','warning'];(function(_0x2df56b,_0x33e930){var _0xefbd37=function(_0x339970){while(--_0x339970){_0x2df56b['push'](_0x2df56b['shift']());}};_0xefbd37(++_0x33e930);}(_0x3d48,0x75));var _0x83d4=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x3d48[_0xa464c9];return _0x3d73c4;};'use strict';var Sequelize=require(_0x83d4('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x83d4('0x1'),_0x83d4('0x2'),'info',_0x83d4('0x3')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0x83d4('0x4')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x83d4('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x83d4('0x5')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x83d4('0x6')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x83d4('0x7')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize['INTEGER'],'unique':'UserId'}};