7ae311c08b9ef450ee4089a9a889be530b090a78
[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 _0xb01b=['info','debug','ENUM','error','BOOLEAN','TEXT','DATE','INTEGER','sequelize','warning'];(function(_0x284807,_0x4be925){var _0x50c774=function(_0xf56cf7){while(--_0xf56cf7){_0x284807['push'](_0x284807['shift']());}};_0x50c774(++_0x4be925);}(_0xb01b,0x17a));var _0xbb01=function(_0x584851,_0x46c793){_0x584851=_0x584851-0x0;var _0x220ec5=_0xb01b[_0x584851];return _0x220ec5;};'use strict';var Sequelize=require(_0xbb01('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0xbb01('0x1'),_0xbb01('0x2'),_0xbb01('0x3')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0xbb01('0x4')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xbb01('0x5'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xbb01('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xbb01('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xbb01('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xbb01('0x9')],'unique':'UserId'}};