d07b6f434fa652f20d1c94290652cbbf9ca56faf
[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 _0xfc54=['TEXT','DATE','INTEGER','sequelize','error','warning','info','debug','exports','ENUM','BOOLEAN'];(function(_0x276e0a,_0xfa4f3f){var _0x1f2970=function(_0x338a0d){while(--_0x338a0d){_0x276e0a['push'](_0x276e0a['shift']());}};_0x1f2970(++_0xfa4f3f);}(_0xfc54,0x92));var _0x4fc5=function(_0x3e451f,_0x10500d){_0x3e451f=_0x3e451f-0x0;var _0x57978f=_0xfc54[_0x3e451f];return _0x57978f;};'use strict';var Sequelize=require(_0x4fc5('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x4fc5('0x1'),_0x4fc5('0x2'),_0x4fc5('0x3'),_0x4fc5('0x4')];module[_0x4fc5('0x5')]={'clientSideLoggingLevel':{'type':Sequelize[_0x4fc5('0x6')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':'error','validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x4fc5('0x7')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x4fc5('0x8')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x4fc5('0x9')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x4fc5('0xa')],'unique':'UserId'}};