Built motion from commit e38a297d.|2.6.18
[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 _0xaa6c=['TEXT','DATE','INTEGER','sequelize','info','debug','ENUM','BOOLEAN'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0xaa6c,0x15b));var _0xcaa6=function(_0x1762b4,_0x33d836){_0x1762b4=_0x1762b4-0x0;var _0x29beda=_0xaa6c[_0x1762b4];return _0x29beda;};'use strict';var Sequelize=require(_0xcaa6('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error','warning',_0xcaa6('0x1'),_0xcaa6('0x2')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0xcaa6('0x3')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':'error','validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xcaa6('0x4')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xcaa6('0x5')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xcaa6('0x6')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xcaa6('0x7')],'unique':'UserId'}};