33de3c5fdd36b9fe081737b98c0cee9a63dd3f74
[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 _0x6990=['exports','ENUM','BOOLEAN','DATE','UserId','sequelize','error','info','debug'];(function(_0x43a2d7,_0x2cb5ef){var _0x4bb5f2=function(_0x5b4e8e){while(--_0x5b4e8e){_0x43a2d7['push'](_0x43a2d7['shift']());}};_0x4bb5f2(++_0x2cb5ef);}(_0x6990,0x191));var _0x0699=function(_0x34fa30,_0x40aad1){_0x34fa30=_0x34fa30-0x0;var _0x414b4d=_0x6990[_0x34fa30];return _0x414b4d;};'use strict';var Sequelize=require(_0x0699('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0x0699('0x1'),'warning',_0x0699('0x2'),_0x0699('0x3')];module[_0x0699('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0x0699('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x0699('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x0699('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize['TEXT'],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x0699('0x7')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize['INTEGER'],'unique':_0x0699('0x8')}};