6dabe0c58733ee78e712c89bc908a9587a95cec5
[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 _0x533b=['info','ENUM','BOOLEAN','TEXT','DATE','INTEGER','UserId','sequelize','error','warning'];(function(_0xfdf31,_0x1b04ce){var _0x559e27=function(_0x3ede1d){while(--_0x3ede1d){_0xfdf31['push'](_0xfdf31['shift']());}};_0x559e27(++_0x1b04ce);}(_0x533b,0x183));var _0xb533=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x533b[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0xb533('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xb533('0x1'),_0xb533('0x2'),_0xb533('0x3'),'debug'];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0xb533('0x4')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xb533('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xb533('0x5')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xb533('0x6')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xb533('0x7')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xb533('0x8')],'unique':_0xb533('0x9')}};