7dc9556df8ce7b0b9fde5dc663d9da5822386229
[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 _0xa5ba=['BOOLEAN','TEXT','sequelize','error','warning','debug','ENUM'];(function(_0x1df0ef,_0x14c39e){var _0x52bce0=function(_0x4a1c1a){while(--_0x4a1c1a){_0x1df0ef['push'](_0x1df0ef['shift']());}};_0x52bce0(++_0x14c39e);}(_0xa5ba,0x8e));var _0xaa5b=function(_0x4d967b,_0x2fb7d4){_0x4d967b=_0x4d967b-0x0;var _0x5f3b0d=_0xa5ba[_0x4d967b];return _0x5f3b0d;};'use strict';var Sequelize=require(_0xaa5b('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xaa5b('0x1'),_0xaa5b('0x2'),'info',_0xaa5b('0x3')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0xaa5b('0x4')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xaa5b('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xaa5b('0x5')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xaa5b('0x6')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize['INTEGER'],'unique':'UserId'}};