fa0ef591ab1356507efb50a747949e3dcf0a2ce5
[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 _0x379d=['BOOLEAN','TEXT','DATE','UserId','sequelize','warning','info','exports','ENUM','error'];(function(_0x205852,_0x184d90){var _0x491d8d=function(_0x53f919){while(--_0x53f919){_0x205852['push'](_0x205852['shift']());}};_0x491d8d(++_0x184d90);}(_0x379d,0xea));var _0xd379=function(_0x3b7f30,_0x29eaf7){_0x3b7f30=_0x3b7f30-0x0;var _0x122557=_0x379d[_0x3b7f30];return _0x122557;};'use strict';var Sequelize=require(_0xd379('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0xd379('0x1'),_0xd379('0x2'),'debug'];module[_0xd379('0x3')]={'clientSideLoggingLevel':{'type':Sequelize[_0xd379('0x4')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xd379('0x5'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xd379('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xd379('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xd379('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize['INTEGER'],'unique':_0xd379('0x9')}};