Built motion from commit b5996064.|2.6.21
[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 _0x8d4b=['debug','BOOLEAN','TEXT','INTEGER','error','warning','info'];(function(_0x22dfb8,_0xae25dc){var _0x3d12b6=function(_0x48b5db){while(--_0x48b5db){_0x22dfb8['push'](_0x22dfb8['shift']());}};_0x3d12b6(++_0xae25dc);}(_0x8d4b,0x1c4));var _0xb8d4=function(_0x5e19f8,_0x587012){_0x5e19f8=_0x5e19f8-0x0;var _0x30839b=_0x8d4b[_0x5e19f8];return _0x30839b;};'use strict';var Sequelize=require('sequelize');const CLIENT_SIDE_LOG_LEVELS=[_0xb8d4('0x0'),_0xb8d4('0x1'),_0xb8d4('0x2'),_0xb8d4('0x3')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize['ENUM'](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xb8d4('0x0'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xb8d4('0x4')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xb8d4('0x5')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xb8d4('0x6')],'unique':'UserId'}};